MSI Hermes 845GV - FreeBSD

Hardware description on main page. FreeBSD is installed on slice 1 of ad0.

this machine runs the i386 version of FreeBSD. The win bootloader is used for booting.

The primary drive (ad0) is sliced up as follows:

ad0s1  -  30 GB  - FreeBSD
ad0s2  -  25 GB  - Linux (Xubuntu)
ad0s3  -   1.8 GB  - Linux swap
ad0s4  -  54 GB  - WinXP

work log

2018-09-10: ad0s1a - CP/M - try to image some CP/M floppies. The floppies are labeled "S/D Intel MDS" and "CP/M". Based on that, I guessed at the format:

root@kg-htpc# fdcontrol -s 26,128,0x80,0x2,77,500,1,0x10,,,-mfm /dev/fd0
root@kg-htpc# fdcontrol -vF /dev/fd0 
/dev/fd0: 250 KB media type
Format: 26,128,0x80,0x2,77,500,1,0x10,1,0
Sector size: 128
Sectors/track: 26
Heads/cylinder: 1
Cylinders/disk: 77
Transfer rate: 500 kbps
Sector gap: 2
Format gap: 16
Interleave: 1
Side offset: 0
Flags <>

seems to work ok, I can image it at least

tingo@kg-htpc$ dd if=/dev/fd0 of=./test.image bs=128
2002+0 records in
2002+0 records out
256256 bytes transferred in 25.763674 secs (9946 bytes/sec)

and when I look at the image with hexdump, there is data there rename image

tingo@kg-htpc$ mv test.image cpm22_altos.image

ok. The other images are in a different format. Hmmm, try this

root@kg-htpc# fdcontrol -s 8,512,0xff,40,77,500,1,80,0,0,-mfm /dev/fd0
root@kg-htpc# fdcontrol -vF /dev/fd0                       /dev/fd0: 308 KB media type
 Format: 8,512,0xff,0x28,77,500,1,0x50,0,0
 Sector size: 512
 Sectors/track: 8
 Heads/cylinder: 1
 Cylinders/disk: 77
 Transfer rate: 500 kbps
 Sector gap: 40
 Format gap: 80
 Interleave: 0
 Side offset: 0
 Flags <>

image

dd: /dev/fd0: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 3.326090 secs (0 bytes/sec)

nope. Try

root@kg-htpc# fdcontrol -s  15,256,0x80,0x2,77,500,1,0x10,,,-mfm /dev/fd0
root@kg-htpc# fdcontrol -vF /dev/fd0                       /dev/fd0: 288 KB media type
 Format: 15,256,0x80,0x2,77,500,1,0x10,0,0
 Data length: 128
 Sector size: 256
 Sectors/track: 15
 Heads/cylinder: 1
 Cylinders/disk: 77
 Transfer rate: 500 kbps
 Sector gap: 2
 Format gap: 16
 Interleave: 0
 Side offset: 0
 Flags <>

no - still no go

tingo@kg-htpc$ dd if=/dev/fd0 of=./cpmug_25.image bs=256
dd: /dev/fd0: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 3.255880 secs (0 bytes/sec)

oh well.

2018-09-10: ad0s1a - image more floppies

tingo@kg-htpc$ cd ..
tingo@kg-htpc$ mkdir b_B_870507
tingo@kg-htpc$ cd b_B_870507

start imaging, 01 - 13

tingo@kg-htpc$ dd if=/dev/fd0 of=./01.image bs=1024
1232+0 records in
1232+0 records out
1261568 bytes transferred in 38.478368 secs (32786 bytes/sec)

repeat for the rest of the floppies.

2018-09-10: ad0s1a - image more floppies

tingo@kg-htpc$ cd ~/work/nd/SAT-9/
tingo@kg-htpc$ mkdir b_A_860829
tingo@kg-htpc$ cd b_A_860829
the floppies look like DS/DD, try the normal format
root@kg-htpc# fdcontrol -f 1232 /dev/fd0
fdcontrol: open(/dev/fd0): Device not configured
root@kg-htpc# fdcontrol -f 1232 /dev/fd0
root@kg-htpc# fdcontrol -vF /dev/fd0
/dev/fd0: 1232 KB media type
 Format: 8,1024,0xff,0x35,77,500,2,0x74,1,0,+mfm
 Sector size: 1024
 Sectors/track: 8
 Heads/cylinder: 2
 Cylinders/disk: 77
 Transfer rate: 500 kbps
 Sector gap: 53
 Format gap: 116
 Interleave: 1
 Side offset: 0
 Flags <MFM>

image it

tingo@kg-htpc$ dd if=/dev/fd0 of=./14.image bs=1024
1232+0 records in
1232+0 records out
1261568 bytes transferred in 42.746238 secs (29513 bytes/sec)

repeat for the remaining 13 floppies. All imaged without errors.

2018-07-02: ad0s1a - try another DS/DD floppy. fdcontrol (as root)

ndfs

tingo@kg-htpc$ ndfs -t /dev/fd0
Directory name            : LAGER-2
Object file index pointer : 508 SI: 0x1 (indexed)
User file index pointer   : 510 SI: 0x1 (indexed)
Bit file pointer          : 308 SI: 0x0 (contiguous)
No. of unreserved pages   : 1
Files:
  0   0: I        1 page        212 bytes 1984-02-08 10:22:36 (3T-FS)NOTIS-WP-NOR-J:INIT
  0   1: I        3 pages      4794 bytes 1985-01-13 13:44:20 (3T-FS)PERFORM-LIBRARY:MCRO
  0   3: I       99 pages    202752 bytes 1983-09-06 08:50:07 (3T-FS)NOTIS-WP-NOR-J:HELP
  0   4: I       12 pages     23040 bytes 1983-09-06 08:50:47 (3T-FS)NOTIS-WP-NOR-J:ERR
  0   5: I       14 pages     28672 bytes 1983-11-05 15:08:28 (3T-FS)MAC:PROG
  0   6: I       65 pages    133120 bytes 1983-12-12 09:59:07 (3T-FS)PASCAL:PROG
  0   8: I       11 pages     20583 bytes 1981-07-16 14:50:20 (3T-FS)PASCAL-LIB-2351G:BRF
  0   9: I        4 pages      6990 bytes 1981-07-16 14:51:20 (3T-FS)PASCAL-ERR-2350G:SYMB
  0  10: I        6 pages     10418 bytes 1984-01-09 20:13:01 (3T-FS)FTN-MON-CALLS:TEXT
  0  11: I       18 pages     35092 bytes 1983-09-18 14:42:57 (3T-FS)FTNLIBR-2091F:BRF
  0  12: I       14 pages     27648 bytes 1983-12-18 20:12:26 (3T-FS)KOMSYS-TI:PROG
  0  13: I        2 pages      2146 bytes 1984-01-12 22:28:57 (3T-FS)LISTFILER:MODE
  0  14: I        2 pages      2224 bytes 1984-01-12 22:42:24 (3T-FS)PRINTFILER:MODE
  0  15: I       32 pages     64498 bytes 1984-02-21 12:18:13 (3T-FS)FTN:PROG
  0  16: I        1 page        163 bytes 1983-12-18 19:00:16 (3T-FS)COMP-KOM-T:MODE
  0  17: I        1 page         38 bytes 1984-05-13 19:01:00 (3T-FS)FONT:MODE
  0  21: I        1 page        126 bytes 1983-12-18 16:07:52 (3T-FS)START-KOMSYS:MODE
  0  24: I        9 pages     17609 bytes 1984-04-09 13:02:58 (3T-FS)COURIER-S-NV1:FONT
  0  25: I       10 pages     20480 bytes 1984-06-05 17:52:06 (3T-FS)FILE-DATA:PROG
  0  26: I        1 page        514 bytes 1984-12-01 20:59:57 (3T-FS)LOOK-FILE-2244D:PROG
  0  27: I       11 pages     20738 bytes 1984-12-01 21:40:19 (3T-FS)NRL-1935I:PROG
  0  28: I       47 pages     94382 bytes 1984-12-01 21:44:50 (3T-FS)BACKUP-SYSTEM-D:PROG
  0  29: I       15 pages     30720 bytes 1984-12-01 21:50:31 (3T-FS)PERFORM-E:PROG
  0  30: I        9 pages     17468 bytes 1984-12-01 21:58:25 (3T-FS)QED-1644L:PROG
  0  31: I       17 pages     32946 bytes 1984-12-05 15:28:36 (3T-FS)KRYMP:PROG
Directory size: 611 pages
Bit file size : 1 page

get image

tingo@kg-htpc$ dd if=/dev/fd0 of=./LAGER-2.image bs=1024
1232+0 records in
1232+0 records out
1261568 bytes transferred in 38.808246 secs (32508 bytes/sec)

worked nicely, and the image can be verified with ndfs.

2018-07-02: ad0s1a - insert a DS/DD floppy. fdcontrol

root@kg-htpc# fdcontrol -f 1232 /dev/fd0

verify

root@kg-htpc# fdcontrol -vF /dev/fd0
/dev/fd0: 1232 KB media type
    Format:        8,1024,0xff,0x35,77,500,2,0x74,1,0,+mfm
    Sector size:    1024
    Sectors/track:    8
    Heads/cylinder:    2
    Cylinders/disk:    77
    Transfer rate:    500 kbps
    Sector gap:    53
    Format gap:    116
    Interleave:    1
    Side offset:    0
    Flags        <MFM>

ndfs

root@kg-htpc# ndfs -t /dev/fd0
Directory name            : LAGER-1
Object file index pointer : 509 SI: 0x1 (indexed)
User file index pointer   : 510 SI: 0x1 (indexed)
Bit file pointer          : 308 SI: 0x0 (contiguous)
No. of unreserved pages   : 1
Files:
  0   0: I        2 pages      2071 bytes 1985-01-13 13:33:27 (3T-FS)FTN-LISTERUD:SYMB
  0   1: I        1 page        378 bytes 1984-05-05 16:24:48 (3T-FS)TITG-INNFIL:SYMB
  0   2: I        2 pages      3030 bytes 1984-02-05 18:29:11 (3T-FS)KOMMANDER-TI:SYMB
  0   3: I        6 pages     11004 bytes 1984-03-07 15:37:38 (3T-FS)TITG-MIKRO-PROSJ:TEXT
  0   4: I       12 pages     24064 bytes 1984-08-16 19:08:15 (3T-FS)CACTUS-CITY:PROG
  0   5: I        1 page        804 bytes 1984-01-11 20:47:17 (3T-FS)EDEN-COMPILE:BRF
  0   6: I       63 pages    127057 bytes 1984-01-11 19:23:31 (3T-FS)MACMAN:PROG
  0   7: I        4 pages      7640 bytes 1983-12-05 17:28:12 (3T-FS)MACMANLAB:SYMB
  0   8: I        1 page        722 bytes 1983-12-05 17:28:39 (3T-FS)MACMANDATA:DATA
  0   9: I        1 page        768 bytes 1983-12-05 18:36:32 (3T-FS)CACTUSDATA:DATA
  0  10: I        1 page       1541 bytes 1983-12-05 18:37:41 (3T-FS)CACTUSLAB:SYMB
  0  11: I       24 pages     49152 bytes 1984-01-11 20:19:27 (3T-FS)EDEN:PROG
  0  12: I        7 pages     12453 bytes 1983-12-05 17:23:06 (3T-FS)EDEN-MAPS:SYMB
  0  13: I        7 pages     12679 bytes 1984-03-11 17:01:21 (3T-FS)TRON:SYMB
  0  14: I        6 pages      1838 bytes 1984-02-05 18:00:18 (3T-FS)SUBRUT-K-TI:SYMB
  0  15: I        2 pages      2299 bytes 1985-01-13 13:34:50 (3T-FS)MENY-I-PASC:SYMB
  0  16: I        2 pages      2048 bytes 1984-02-06 21:25:22 (3T-FS)KOM-TI-INFO:TEXT
  0  17: I        7 pages     12759 bytes 1984-05-05 17:26:24 (3T-FS)TITG-TEST:SYMB
  0  18: I        4 pages      6578 bytes 1985-01-13 13:36:00 (3T-FS)PUSH-K-LOAD-PASC:SYMB
  0  19: I        2 pages      2848 bytes 1984-02-15 11:54:55 (3T-FS)SORTERING-BRUK:TEXT
  0  20: I        6 pages     11581 bytes 1984-05-21 19:42:07 (3T-FS)PUSH-2:SYMB
  0  21: I        1 page        870 bytes 1983-12-05 17:24:11 (3T-FS)EDEN-LIST:SYMB
  0  22: I        3 pages      5906 bytes 1984-05-19 14:44:51 (3T-FS)SIII-ASSM-DIV:TEXT
  0  23: I        4 pages      7588 bytes 1984-02-18 22:02:23 (3T-FS)RT-PROG-FTN:TEXT
  0  24: I       50 pages    100864 bytes 1984-02-19 11:46:06 (3T-FS)EVENTYR:PROG
  0  25: I        1 page       1104 bytes 1984-02-28 18:00:54 (3T-FS)INIT-TRON:SYMB
  0  26: I        2 pages      2343 bytes 1984-03-04 17:48:07 (3T-FS)TRON-RETTING:SYMB
  0  27: I        1 page       1307 bytes 1984-01-27 14:44:48 (3T-FS)TOREPLOT:BRF
  0  28: I        1 page        288 bytes 1984-02-27 20:11:10 (3T-FS)TRON:DATA
  0  29: I        1 page        992 bytes 1984-02-28 18:37:41 (3T-FS)PASC-BREV-1-TI:SYMB
  0  30: I        1 page       1588 bytes 1984-02-28 18:40:15 (3T-FS)PASC-BREV-2-TI:SYMB
  0  31: I        4 pages      6634 bytes 1985-01-13 13:36:55 (3T-FS)TRAFO-REGN:SYMB
  0  32: I        1 page        826 bytes 1985-01-13 13:38:16 (3T-FS)NPL-EKSEMPEL:SYMB
  0  33: I       12 pages     23628 bytes 1984-09-29 22:42:39 (3T-FS)ABC-80-INFO:TEXT
  0  34: I       15 pages     29552 bytes 1984-03-18 13:50:37 (3T-FS)TIMER-PROSJ-TI:TEXT
  0  35: I       39 pages     78794 bytes 1985-01-13 12:24:46 (3T-FS)NOTIS-TF-DIVERSE:TEXT
  0  37: I        1 page       1396 bytes 1984-03-16 13:15:12 (3T-FS)TI-BATCH-INFO:TEXT
  0  38: I        4 pages      6294 bytes 1984-03-15 19:34:29 (3T-FS)TITG-RAPPORT:TEXT
  0  39: I        1 page       1806 bytes 1984-03-15 20:14:59 (3T-FS)TITG-FILER:TEXT
  0  41: I        1 page       1722 bytes 1984-04-01 11:04:35 (3T-FS)A3-PHILIPS:TEXT
  0  42: I       21 pages     42644 bytes 1984-11-22 14:03:48 (3T-FS)EVENTYR-BESKRIV:TEXT
  0  44: I        5 pages      8494 bytes 1993-05-25 05:08:55 (3T-FS)BIBLIOTEK:TEXT
  0  45: I        1 page       1486 bytes 1984-04-09 22:44:57 (3T-FS)PASC-BREV-3-TI:SYMB
  0  46: I        2 pages      3633 bytes 1985-01-13 13:53:35 (3T-FS)LESINN-K-TI:SYMB
  0  47: I        1 page       1826 bytes 1984-06-03 14:16:28 (3T-FS)PASC-BREV-4-TI:SYMB
  0  48: I        2 pages      2740 bytes 1984-06-03 17:50:21 (3T-FS)PASC-BREV-5-TI:SYMB
  0  49: I        1 page         44 bytes 1983-12-05 17:24:36 (3T-FS)EDEN-PASS:SYMB
  0  50: I        1 page        631 bytes 1983-12-05 17:25:16 (3T-FS)EDEN-COMPILE:SYMB
  0  51: I        1 page        797 bytes 1983-12-05 17:25:46 (3T-FS)EDEN-COMP:BRF
  0  52: I        8 pages     16000 bytes 1984-02-22 09:15:29 (3T-FS)PARADIS:DATA
  0  54: I        1 page       1402 bytes 1984-01-11 09:58:27 (3T-FS)MAC-EXAMPLE:SYMB
  0  55: I        7 pages     10027 bytes 1984-05-05 14:39:54 (3T-FS)TITG-PROSJ:SYMB
  0  56: I       19 pages     36054 bytes 1984-09-25 13:43:26 (3T-FS)NOTIS-TF-NOR-J:LIB
  0  59: I        1 page        750 bytes 1984-01-12 19:13:46 (3T-FS)MUSIC-TI:TEXT
  0  60: I        6 pages     12288 bytes 1984-01-13 14:00:22 (3T-FS)MULTI-DISP-INFO:TEXT
  0  62: I        2 pages      3900 bytes 1984-11-08 16:29:41 (3T-FS)REPORT:SYMB
  0  63: I        3 pages      6046 bytes 1984-02-05 17:57:36 (3T-FS)TI-LIB:SYMB
  0  66: I       58 pages    163840 bytes 1984-05-24 14:52:10 (3T-FS)NOTIS-CALC-A:PROG
  0  67: I       14 pages     27798 bytes 1984-05-24 14:52:33 (3T-FS)NOTIS-CALC-A:HELP
  0  68: I        2 pages      3180 bytes 1984-06-11 00:34:49 (3T-FS)MAC-CPM-EMULATOR:SYMB
  0  69: I        3 pages      5272 bytes 1984-06-24 17:17:42 (3T-FS)PASC-BREV-6-TI:SYMB
  0  70: I        3 pages      4598 bytes 1984-06-24 18:51:48 (3T-FS)PASC-BREV-7-TI:SYMB
  0  71: I        5 pages      9208 bytes 1984-07-24 22:35:48 (3T-FS)PASC-BREV-8-TI:SYMB
Directory size: 606 pages
Bit file size : 1 page

yes, that worked. From a different shell, get an image off that floppy

tingo@kg-htpc$ dd if=/dev/fd0 of=./LAGER-1.image bs=1024
dd: /dev/fd0: Input/output error
1129+0 records in
1129+0 records out
1156096 bytes transferred in 44.189424 secs (26162 bytes/sec)

ok, error on that floppy.

2018-07-02: ad0s1a - 8 inch floppy drive - interesting, the fdcontrol parmeters are reset (or changed) every time I change a floppy. So I need to run fdcontrol withe the correct parameters each time I have inserted a floppy in the drive.

2018-07-02: ad0s1a - test the 8 inch floppy drive. I insert one of my old 8-inch floppies, labeled SS/SD. first try a fdcontrol (with floppy in the drive)

root@kg-htpc# fdcontrol -vF /dev/fd0
fdcontrol: open(/dev/fd0): Device not configured

next, try to set format 0b

root@kg-htpc# fdcontrol -s 8,512,0xff,40,77,500,1,80,0,0,-mfm /dev/fd0

and verify

root@kg-htpc# fdcontrol -vF /dev/fd0
/dev/fd0: 308 KB media type
    Format:        8,512,0xff,0x28,77,500,1,0x50,0,0,+auto
    Sector size:    512
    Sectors/track:    8
    Heads/cylinder:    1
    Cylinders/disk:    77
    Transfer rate:    500 kbps
    Sector gap:    40
    Format gap:    80
    Interleave:    0
    Side offset:    0
    Flags        <AUTO>

looks better. Try to read the floppy with ndfs

root@kg-htpc# ndfs -t /dev/fd0
Directory name            : MEM-1
Object file index pointer : 150 SI: 0x1 (indexed)
User file index pointer   : 152 SI: 0x1 (indexed)
Bit file pointer          : 77 SI: 0x0 (contiguous)
No. of unreserved pages   : 1
Files:
  0   0: I       39 pages     79098 bytes 1985-01-13 12:38:29 (3T-FS)TDV-2215-DIVERSE:TEXT
  0   1: I        1 page        886 bytes 1984-01-16 21:35:47 (3T-FS)DYKKING:TEXT
  0   2: I        1 page       1046 bytes 1984-01-16 21:42:19 (3T-FS)JUL-83:TEXT
  0   3: I        4 pages      6686 bytes 1984-12-06 18:38:12 (3T-FS)TI-MON-DIV:TEXT
  0   6: I        5 pages      8564 bytes 1984-01-12 20:48:27 (3T-FS)DAME-DATA:DATA
  0   7: I       11 pages     20522 bytes 1984-06-09 13:58:09 (3T-FS)SINTRAN-KOM:TEXT
  0   8: I       38 pages     77136 bytes 1984-10-06 19:49:43 (3T-FS)ORIC:TEXT
  0  10: I       17 pages     32770 bytes 1985-01-13 13:15:12 (3T-FS)MAC-STD-KALL:TEXT
  0  15: I        2 pages      3480 bytes 1984-02-26 17:33:39 (3T-FS)IDEER-DIVERSE:TEXT
  0  16: I        5 pages      8698 bytes 1984-02-26 18:38:31 (3T-FS)KODER-DIVERSE:TEXT
  0  17: I        4 pages      7426 bytes 1984-02-26 19:34:43 (3T-FS)FODS-U-DAG:TEXT
Directory size: 149 pages
Bit file size : 1 page

it worked. From a different shell, try to read an image off the floppy:

tingo@kg-htpc$ dd if=/dev/fd0 of=./MEM-1.image bs=512
616+0 records in
616+0 records out
315392 bytes transferred in 26.077178 secs (12095 bytes/sec)

verify the image

tingo@kg-htpc$ ndfs -t ./MEM-1.image
Directory name            : MEM-1
Object file index pointer : 150 SI: 0x1 (indexed)
User file index pointer   : 152 SI: 0x1 (indexed)
Bit file pointer          : 77 SI: 0x0 (contiguous)
No. of unreserved pages   : 1
Files:
  0   0: I       39 pages     79098 bytes 1985-01-13 12:38:29 (3T-FS)TDV-2215-DIVERSE:TEXT
  0   1: I        1 page        886 bytes 1984-01-16 21:35:47 (3T-FS)DYKKING:TEXT
  0   2: I        1 page       1046 bytes 1984-01-16 21:42:19 (3T-FS)JUL-83:TEXT
  0   3: I        4 pages      6686 bytes 1984-12-06 18:38:12 (3T-FS)TI-MON-DIV:TEXT
  0   6: I        5 pages      8564 bytes 1984-01-12 20:48:27 (3T-FS)DAME-DATA:DATA
  0   7: I       11 pages     20522 bytes 1984-06-09 13:58:09 (3T-FS)SINTRAN-KOM:TEXT
  0   8: I       38 pages     77136 bytes 1984-10-06 19:49:43 (3T-FS)ORIC:TEXT
  0  10: I       17 pages     32770 bytes 1985-01-13 13:15:12 (3T-FS)MAC-STD-KALL:TEXT
  0  15: I        2 pages      3480 bytes 1984-02-26 17:33:39 (3T-FS)IDEER-DIVERSE:TEXT
  0  16: I        5 pages      8698 bytes 1984-02-26 18:38:31 (3T-FS)KODER-DIVERSE:TEXT
  0  17: I        4 pages      7426 bytes 1984-02-26 19:34:43 (3T-FS)FODS-U-DAG:TEXT
Directory size: 149 pages
Bit file size : 1 page

nice.

2018-07-02: ad0s1a - test ndfs

tingo@kg-htpc$ ./ndfs
Usage: ./ndfs [-t | -x [-d] | other options] <Sintran filesystem image>
Options:
-h    Print this help and exit
-i    Info mode: Show more info from directory entry
-t    List files in image
-u    List user entries (-v also sets this)
-x    Extract files from image
-d    If used with -x, also extract directories
-l    Convert names to lower case letters
    (This also changes ':' to '.' for extracted files)
-c    Ignore bytepointer for contiguous files
-v    Verbose output when extracting files
-V    Show version number and exit
tingo@kg-htpc$ ./ndfs -V
ndfs: Sintran Filesystem tool version 1.2

ok

2018-07-02: ad0s1a - compiled ndfs:

tingo@kg-htpc$ tar xvf ndfs-tool-1.2.tar.gz
x ndfs-tool/
x ndfs-tool/ndfs.c
x ndfs-tool/Makefile.ndfs
x ndfs-tool/gpl.txt
tingo@kg-htpc$ cd ndfs-tool/
tingo@kg-htpc$ gmake -f Makefile.ndfs
cc  -o ndfs ndfs.o

ok.

2018-07-02: ad0s1a - ports - installed mtools.

2018-07-01: ad0s1a - reboot, the the latest FreeBSD 8.4-stable is in. dmesg output: normal, verbose.

tingo@kg-htpc$ uname -a
FreeBSD kg-htpc.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #0 r335840: Sun Jul 1 19:46:09 CEST 2018 root@kg-htpc.kg4.no:/usr/obj/usr/src/sys/GENERIC i386

ok.

2018-07-01: building latest FreeBSD 8.4-stable, via make world procedure

root@kg-htpc# cd /usr/src
root@kg-htpc# make buildworld
[..]
--------------------------------------------------------------
>>> World build completed on Sun Jul  1 18:12:48 CEST 2018
--------------------------------------------------------------

make kernel

root@kg-htpc# make kernel
[..]
install -o root -g wheel -m 555   zlib.ko /boot/kernel
install -o root -g wheel -m 555   zlib.ko.symbols /boot/kernel
kldxref /boot/kernel

mergemaster PRE

root@kg-htpc# mergemaster -p
[..]

make installworld

root@kg-htpc# make installworld
[..]
makewhatis /usr/share/openssl/man

delete old stuff

root@kg-htpc# make delete-old
>>> Removing old files (only deletes safe to delete libs)
remove /usr/share/man/man9/sleepq_calc_signal_retval.9.gz? y
remove /usr/share/man/man9/sleepq_catch_signals.9.gz? y
remove /usr/share/man/man9/vfs_mount.9.gz? y
remove /usr/share/man/man8/sticky.8.gz? y
remove /usr/share/man/man9/chooseproc.9.gz? y
remove /usr/share/man/man9/net_add_domain.9.gz? y
>>> Old files removed
>>> Removing old directories
>>> Old directories removed
To remove old libraries run 'make delete-old-libs'.
root@kg-htpc# make delete-old-libs
>>> Removing old libraries
Please be sure no application still uses those libraries, else you
can not start such an application. Consult UPDATING for more
information regarding how to cope with the removal/revision bump
of a specific library.
>>> Old libraries removed

mergemaster

root@kg-htpc# mergemaster -iUP
[..]
*** You chose the automatic upgrade option for files that you did
    not alter on your system.  The following were upgraded for you:
      /.cshrc
      /COPYRIGHT
      /boot/device.hints
      /etc/amd.map
      /etc/apmd.conf
      /etc/auth.conf
      /etc/bluetooth/hcsecd.conf
      /etc/bluetooth/hosts
      /etc/bluetooth/protocols
      /etc/crontab
      /etc/csh.cshrc
      /etc/csh.login
      /etc/csh.logout
      /etc/ddb.conf
      /etc/defaults/bluetooth.device.conf
      /etc/defaults/devfs.rules
      /etc/defaults/periodic.conf
      /etc/defaults/rc.conf
      /etc/devd/asus.conf
      /etc/devd/uath.conf
      /etc/devfs.conf
      /etc/dhclient.conf
      /etc/disktab
      /etc/fbtab
      /etc/freebsd-update.conf
      /etc/ftpusers
      /etc/gettytab
      /etc/gnats/freefall
      /etc/gss/mech
      /etc/gss/qop
      /etc/hosts
      /etc/hosts.allow
      /etc/hosts.equiv
      /etc/hosts.lpd
      /etc/inetd.conf
      /etc/libalias.conf
      /etc/locate.rc
      /etc/login.access
      /etc/login.conf
      /etc/mac.conf
      /etc/mail/Makefile
      /etc/mail/README
      /etc/mail/access.sample
      /etc/mail/aliases
      /etc/mail/freebsd.cf
      /etc/mail/freebsd.mc
      /etc/mail/freebsd.submit.cf
      /etc/mail/freebsd.submit.mc
      /etc/mail/helpfile
      /etc/mail/mailer.conf
      /etc/mail/mailertable.sample
      /etc/mail/sendmail.cf
      /etc/mail/submit.cf
      /etc/mail/virtusertable.sample
      /etc/mtree/BIND.chroot.dist
      /etc/mtree/BSD.include.dist
      /etc/mtree/BSD.local.dist
      /etc/mtree/BSD.root.dist
      /etc/mtree/BSD.sendmail.dist
      /etc/mtree/BSD.usr.dist
      /etc/mtree/BSD.var.dist
      /etc/mtree/BSD.x11-4.dist
      /etc/mtree/BSD.x11.dist
      /etc/netconfig
      /etc/netstart
      /etc/network.subr
      /etc/networks
      /etc/newsyslog.conf
      /etc/nscd.conf
      /etc/nsmb.conf
      /etc/nsswitch.conf
      /etc/opieaccess
      /etc/pam.d/README
      /etc/pam.d/atrun
      /etc/pam.d/cron
      /etc/pam.d/ftp
      /etc/pam.d/ftpd
      /etc/pam.d/imap
      /etc/pam.d/kde
      /etc/pam.d/login
      /etc/pam.d/other
      /etc/pam.d/passwd
      /etc/pam.d/pop3
      /etc/pam.d/rsh
      /etc/pam.d/sshd
      /etc/pam.d/su
      /etc/pam.d/system
      /etc/pam.d/telnetd
      /etc/pam.d/xdm
      /etc/pccard_ether
      /etc/periodic/daily/100.clean-disks
      /etc/periodic/daily/110.clean-tmps
      /etc/periodic/daily/120.clean-preserve
      /etc/periodic/daily/130.clean-msgs
      /etc/periodic/daily/140.clean-rwho
      /etc/periodic/daily/150.clean-hoststat
      /etc/periodic/daily/200.backup-passwd
      /etc/periodic/daily/210.backup-aliases
      /etc/periodic/daily/300.calendar
      /etc/periodic/daily/310.accounting
      /etc/periodic/daily/330.news
      /etc/periodic/daily/400.status-disks
      /etc/periodic/daily/404.status-zfs
      /etc/periodic/daily/405.status-ata-raid
      /etc/periodic/daily/406.status-gmirror
      /etc/periodic/daily/407.status-graid3
      /etc/periodic/daily/408.status-gstripe
      /etc/periodic/daily/409.status-gconcat
      /etc/periodic/daily/420.status-network
      /etc/periodic/daily/430.status-rwho
      /etc/periodic/daily/440.status-mailq
      /etc/periodic/daily/450.status-security
      /etc/periodic/daily/460.status-mail-rejects
      /etc/periodic/daily/470.status-named
      /etc/periodic/daily/480.status-ntpd
      /etc/periodic/daily/500.queuerun
      /etc/periodic/daily/800.scrub-zfs
      /etc/periodic/daily/999.local
      /etc/periodic/monthly/200.accounting
      /etc/periodic/monthly/999.local
      /etc/periodic/security/100.chksetuid
      /etc/periodic/security/200.chkmounts
      /etc/periodic/security/300.chkuid0
      /etc/periodic/security/400.passwdless
      /etc/periodic/security/410.logincheck
      /etc/periodic/security/460.chkportsum
      /etc/periodic/security/500.ipfwdenied
      /etc/periodic/security/510.ipfdenied
      /etc/periodic/security/520.pfdenied
      /etc/periodic/security/550.ipfwlimit
      /etc/periodic/security/700.kernelmsg
      /etc/periodic/security/800.loginfail
      /etc/periodic/security/900.tcpwrap
      /etc/periodic/security/security.functions
      /etc/periodic/weekly/310.locate
      /etc/periodic/weekly/320.whatis
      /etc/periodic/weekly/330.catman
      /etc/periodic/weekly/340.noid
      /etc/periodic/weekly/400.status-pkg
      /etc/periodic/weekly/999.local
      /etc/pf.os
      /etc/phones
      /etc/portsnap.conf
      /etc/ppp/ppp.conf
      /etc/printcap
      /etc/protocols
      /etc/rc
      /etc/rc.bsdextended
      /etc/rc.d/DAEMON
      /etc/rc.d/FILESYSTEMS
      /etc/rc.d/LOGIN
      /etc/rc.d/NETWORKING
      /etc/rc.d/SERVERS
      /etc/rc.d/abi
      /etc/rc.d/accounting
      /etc/rc.d/addswap
      /etc/rc.d/adjkerntz
      /etc/rc.d/amd
      /etc/rc.d/apm
      /etc/rc.d/apmd
      /etc/rc.d/archdep
      /etc/rc.d/atm1
      /etc/rc.d/atm2
      /etc/rc.d/atm3
      /etc/rc.d/auditd
      /etc/rc.d/auto_linklocal
      /etc/rc.d/bgfsck
      /etc/rc.d/bluetooth
      /etc/rc.d/bootparams
      /etc/rc.d/bridge
      /etc/rc.d/bsnmpd
      /etc/rc.d/bthidd
      /etc/rc.d/ccd
      /etc/rc.d/cleanvar
      /etc/rc.d/cleartmp
      /etc/rc.d/cron
      /etc/rc.d/ddb
      /etc/rc.d/defaultroute
      /etc/rc.d/devd
      /etc/rc.d/devfs
      /etc/rc.d/dhclient
      /etc/rc.d/dmesg
      /etc/rc.d/dumpon
      /etc/rc.d/encswap
      /etc/rc.d/fsck
      /etc/rc.d/ftp-proxy
      /etc/rc.d/ftpd
      /etc/rc.d/gbde
      /etc/rc.d/geli
      /etc/rc.d/geli2
      /etc/rc.d/gptboot
      /etc/rc.d/gssd
      /etc/rc.d/hastd
      /etc/rc.d/hcsecd
      /etc/rc.d/hostapd
      /etc/rc.d/hostid
      /etc/rc.d/hostid_save
      /etc/rc.d/hostname
      /etc/rc.d/inetd
      /etc/rc.d/initrandom
      /etc/rc.d/ip6addrctl
      /etc/rc.d/ipfilter
      /etc/rc.d/ipfs
      /etc/rc.d/ipfw
      /etc/rc.d/ipmon
      /etc/rc.d/ipnat
      /etc/rc.d/ipsec
      /etc/rc.d/ipxrouted
      /etc/rc.d/jail
      /etc/rc.d/kadmind
      /etc/rc.d/kerberos
      /etc/rc.d/keyserv
      /etc/rc.d/kldxref
      /etc/rc.d/kpasswdd
      /etc/rc.d/ldconfig
      /etc/rc.d/local
      /etc/rc.d/localpkg
      /etc/rc.d/lockd
      /etc/rc.d/lpd
      /etc/rc.d/mdconfig
      /etc/rc.d/mdconfig2
      /etc/rc.d/mixer
      /etc/rc.d/motd
      /etc/rc.d/mountcritlocal
      /etc/rc.d/mountcritremote
      /etc/rc.d/mountd
      /etc/rc.d/mountlate
      /etc/rc.d/moused
      /etc/rc.d/mroute6d
      /etc/rc.d/mrouted
      /etc/rc.d/msgs
      /etc/rc.d/named
      /etc/rc.d/natd
      /etc/rc.d/netif
      /etc/rc.d/netoptions
      /etc/rc.d/network_ipv6
      /etc/rc.d/newsyslog
      /etc/rc.d/nfscbd
      /etc/rc.d/nfsclient
      /etc/rc.d/nfsd
      /etc/rc.d/nfsserver
      /etc/rc.d/nfsuserd
      /etc/rc.d/nisdomain
      /etc/rc.d/nscd
      /etc/rc.d/nsswitch
      /etc/rc.d/ntpd
      /etc/rc.d/ntpdate
      /etc/rc.d/othermta
      /etc/rc.d/pf
      /etc/rc.d/pflog
      /etc/rc.d/pfsync
      /etc/rc.d/power_profile
      /etc/rc.d/powerd
      /etc/rc.d/ppp
      /etc/rc.d/pppoed
      /etc/rc.d/pwcheck
      /etc/rc.d/quota
      /etc/rc.d/random
      /etc/rc.d/rarpd
      /etc/rc.d/resolv
      /etc/rc.d/rfcomm_pppd_server
      /etc/rc.d/root
      /etc/rc.d/route6d
      /etc/rc.d/routed
      /etc/rc.d/routing
      /etc/rc.d/rpcbind
      /etc/rc.d/rtadvd
      /etc/rc.d/rtsold
      /etc/rc.d/rwho
      /etc/rc.d/savecore
      /etc/rc.d/sdpd
      /etc/rc.d/securelevel
      /etc/rc.d/sendmail
      /etc/rc.d/serial
      /etc/rc.d/sppp
      /etc/rc.d/sshd
      /etc/rc.d/statd
      /etc/rc.d/static_arp
      /etc/rc.d/swap1
      /etc/rc.d/syscons
      /etc/rc.d/sysctl
      /etc/rc.d/syslogd
      /etc/rc.d/timed
      /etc/rc.d/tmp
      /etc/rc.d/ubthidhci
      /etc/rc.d/ugidfw
      /etc/rc.d/var
      /etc/rc.d/virecover
      /etc/rc.d/watchdogd
      /etc/rc.d/wpa_supplicant
      /etc/rc.d/ypbind
      /etc/rc.d/yppasswdd
      /etc/rc.d/ypserv
      /etc/rc.d/ypset
      /etc/rc.d/ypupdated
      /etc/rc.d/ypxfrd
      /etc/rc.d/zfs
      /etc/rc.d/zvol
      /etc/rc.firewall
      /etc/rc.initdiskless
      /etc/rc.resume
      /etc/rc.sendmail
      /etc/rc.shutdown
      /etc/rc.subr
      /etc/rc.suspend
      /etc/regdomain.xml
      /etc/remote
      /etc/rpc
      /etc/security/audit_class
      /etc/security/audit_control
      /etc/security/audit_event
      /etc/security/audit_user
      /etc/security/audit_warn
      /etc/services
      /etc/shells
      /etc/snmpd.config
      /etc/ssh/moduli
      /etc/ssh/ssh_config
      /etc/ssh/sshd_config
      /etc/ssl/openssl.cnf
      /etc/sysctl.conf
      /etc/syslog.conf
      /etc/termcap.small
      /etc/ttys
      /root/.k5login
      /root/.login
      /var/named/etc/namedb/master/empty.db
      /var/named/etc/namedb/master/localhost-forward.db
      /var/named/etc/namedb/master/localhost-reverse.db
      /var/named/etc/namedb/named.conf
      /var/named/etc/namedb/named.root
[..]
*** You installed a new aliases file, so make sure that you run
    '/usr/bin/newaliases' to rebuild your aliases database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/newaliases

/etc/mail/aliases: 29 aliases, longest 10 bytes, 297 bytes total

*** You installed a login.conf file, so make sure that you run
    '/usr/bin/cap_mkdb /etc/login.conf'
     to rebuild your login.conf database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/cap_mkdb /etc/login.conf


*** You installed a services file, so make sure that you run
    '/usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services'
     to rebuild your services database

    Would you like to run it now? y or n [n] y
    Running /usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services


*** There is no /var/db/zoneinfo file to update /etc/localtime.
    You should run tzsetup

    Would you like to run it now? y or n [n] y
    Running tzsetup

only a reboot remains.

2018-07-01: before building, I removed everything below /usr/obj.

2018-07-01: get latest stable/8 source onto the machine. I renamed the existing /usr/src, and created a new one. check out new source via subversion:

root@kg-htpc# svn checkout https://svn.FreeBSD.org/base/stable/8 /usr/src
Error validating server certificate for 'https://svn.freebsd.org:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: svn.freebsd.org
 - Valid: from Sat, 30 Jun 2018 19:26:53 GMT until Fri, 28 Sep 2018 19:26:53 GMT
 - Issuer: Let's Encrypt, US
 - Fingerprint: f9:12:8c:0e:54:d4:4e:15:49:d0:51:bb:e4:65:da:8e:b3:0c:34:e4
(R)eject, accept (t)emporarily or accept (p)ermanently? p
(I had to run it again, the first time I got an error)
 U   /usr/src
Checked out revision 335840.

what we got

root@kg-htpc# egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh
REVISION="8.4"
BRANCH="STABLE"

ok

2018-07-01: ports - installed subversion.

2011-01-08: I upgraded to latest FreeBSD 8.2-prerelease, using cvsup. dmesg output: normal, verbose.

2010-12-11: I upgraded to FreeBSD 8.2-prerelease. dmesg output: normal, verbose.

2009-12-20: I upgraded to latest FreeBSD 8.0-stable. dmesg output: normal, verbose.

2009-11-29: installed FreeBSD 8.0-release from cd onto slice 1 ( ad0s1) on this machine. dmesg output: normal, verbose. After the install, ad0s1 was active, so I had to set s4 active again: sysctl kern.geom.debugflags=0x10, and fdisk -a -4. I copied /boot/boot1 onto a memory stick (as freebsd8.bsd) and used that as an update in the win boot loader setup. Added the following to /boot/loader.conf:

ichsmb_load="YES"
snd_ich_load="YES"

2008-09-16: upgraded to FreeBSD 6.4-prerelease. Normal dmesg output.

2008-02-05: FreeBSD 6.3-stable dmesg output.

2007-10-29: FreeBSD 6.3-prerelease dmesg output.

2007-04-15: FreeBSD 6.2-stabledmesg output.