Gigabyte GA-K8NF-9 - FreeBSD

Hardware info on main page. This machine runs the amd64 version of FreeBSD.

The first PATA hard drive (ad0 - Samsung SP0822N - 80 GB) is sliced up as follows:

slice 1 - 18 GB - FreeBSD 6.2-stable
slice 2 - 18 GB - FreeBSD 8.0-stable (RELENG_8)
slice 3 - 18 GB - FreeBSD 7.2-stable (RELENG_7)
slice 4 - xx GB -

Work log

2011-05-03: slice 1 - the backup mirror broke. From /var/log/messages:

May  3 19:22:11 kg-fil kernel: ad10: FAILURE - device detached
May  3 19:22:11 kg-fil kernel: subdisk10: detached
May  3 19:22:11 kg-fil kernel: ad10: detached
May  3 19:22:11 kg-fil kernel: GEOM_MIRROR: Device backup: provider ad10 disconnected.
May  3 19:22:11 kg-fil smartd[828]: Device: /dev/ad10, failed to read SMART Attribute Data

gmirror says:

root@kg-fil# gmirror status
          Name    Status  Components
mirror/storage  COMPLETE  ad6
 mirror/backup  DEGRADED  ad8
root@kg-fil# gmirror list storage
Geom name: storage
State: COMPLETE
Components: 1
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2881399426
Providers:
1. Name: mirror/storage
   Mediasize: 250059349504 (233G)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: ad6
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 526532534
root@kg-fil# gmirror list backup
Geom name: backup
State: DEGRADED
Components: 2
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 2
ID: 3804279872
Providers:
1. Name: mirror/backup
   Mediasize: 250059349504 (233G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad8
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 2
   ID: 795357479

Time to replace disks, I think.

2010-12-08: slice 2 - i tested the updated pvr250 port (multimedia/pvr250) which is now pvr250-20101010_1, but it didn't detect the tuners on my PVR-500. From /var/log/messages:

Dec  8 23:51:16 kg-fil kernel: cxm0: <Conexant iTVC16 MPEG Coder> mem 0xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2
Dec  8 23:51:16 kg-fil kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
Dec  8 23:51:16 kg-fil kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
Dec  8 23:51:16 kg-fil kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
Dec  8 23:51:16 kg-fil kernel: cxm0: unknown tuner code 0x65
Dec  8 23:51:16 kg-fil kernel: cxm0: could not initialize tuner
Dec  8 23:51:16 kg-fil kernel: iicbus0: detached
Dec  8 23:51:16 kg-fil kernel: iicbb0: detached
Dec  8 23:51:16 kg-fil kernel: cxm_iic0: detached
Dec  8 23:51:16 kg-fil kernel: device_attach: cxm0 attach returned 6
Dec  8 23:51:16 kg-fil kernel: cxm1: <Conexant iTVC16 MPEG Coder> mem 0xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2
Dec  8 23:51:16 kg-fil kernel: cxm_iic1: <Conexant iTVC15 / iTVC16 I2C controller> on cxm1
Dec  8 23:51:16 kg-fil kernel: iicbb0: <I2C bit-banging driver> on cxm_iic1
Dec  8 23:51:16 kg-fil kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
Dec  8 23:51:16 kg-fil kernel: cxm1: unknown tuner code 0x65
Dec  8 23:51:16 kg-fil kernel: cxm1: could not initialize tuner
Dec  8 23:51:16 kg-fil kernel: iicbus0: detached
Dec  8 23:51:16 kg-fil kernel: iicbb0: detached
Dec  8 23:51:16 kg-fil kernel: cxm_iic1: detached
Dec  8 23:51:16 kg-fil kernel: device_attach: cxm1 attach returned 6

That's all.

2010-12-08: slice 2 - I updated the ports installed on the machine, which took a long time. MythTV is now at version 0.23.1.

2010-05-23: slice 2 - installed mysql-server (50), changed root password with mysqladmin. Installed MythTV 0.23 (mythtv-cft-20100520.tar.gz), installed the database.

2010-05-22: slice 2 - with this patch, the pvrxxx port from http://usleepless.110mb.com/pvrxxx_port.tgz works on FreeBSD 8.x. Note: you will have to do make WERROR= followed by make install for it to work. From /var/log/messages:

May 22 15:21:01 kg-fil kernel: cxm0: <Conexant iTVC16 MPEG Coder> mem 0xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2
May 22 15:21:01 kg-fil kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
May 22 15:21:01 kg-fil kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
May 22 15:21:01 kg-fil kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
May 22 15:21:01 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 101
May 22 15:21:01 kg-fil kernel: <2>tveeprom: ivtv version
May 22 15:21:01 kg-fil kernel: <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584
May 22 15:21:01 kg-fil kernel: <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
May 22 15:21:01 kg-fil kernel: <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
May 22 15:21:01 kg-fil kernel: <2>tveeprom: audio processor = CX25843 (type = 25)
May 22 15:21:01 kg-fil kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e)
May 22 15:21:01 kg-fil kernel: tuner type: 56
May 22 15:21:01 kg-fil kernel: cxm0: Eeprom PAL
May 22 15:21:01 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm
May 22 15:21:01 kg-fil kernel: tuner: switching to v4l2
May 22 15:21:01 kg-fil kernel: before tuner_command!
May 22 15:21:01 kg-fil kernel: tuner: tv freq set to 55.25
May 22 15:21:01 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Video signal:              not present
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Detected format:           NTSC-M
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Detected audio mode:       forced mode
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Detected audio standard:   forced audio standard
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Audio muted:               yes
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller:     running
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Configured audio standard: A2-BG
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Configured audio mode:     undefined
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Specified standard:        PAL-BDGHI
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Specified input:           Tuner
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Specified audio input:     Tuner
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode:      stereo
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format:    autodetect
May 22 15:21:12 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format:    chroma
May 22 15:21:12 kg-fil kernel: cxm0: [ITHREAD]
May 22 15:21:14 kg-fil kernel: cxm0: encoder firmware version 0x2060039
May 22 15:21:14 kg-fil kernel: cxm1: <Conexant iTVC16 MPEG Coder> mem 0xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2
May 22 15:21:14 kg-fil kernel: cxm_iic1: <Conexant iTVC15 / iTVC16 I2C controller> on cxm1
May 22 15:21:14 kg-fil kernel: iicbb1: <I2C bit-banging driver> on cxm_iic1
May 22 15:21:14 kg-fil kernel: iicbus1: <Philips I2C bus> on iicbb1 master-only
May 22 15:21:14 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 101
May 22 15:21:14 kg-fil kernel: <2>tveeprom: ivtv version
May 22 15:21:14 kg-fil kernel: <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584
May 22 15:21:14 kg-fil kernel: <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
May 22 15:21:14 kg-fil kernel: <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
May 22 15:21:14 kg-fil kernel: <2>tveeprom: audio processor = CX25843 (type = 25)
May 22 15:21:14 kg-fil kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e)
May 22 15:21:14 kg-fil kernel: tuner type: 56
May 22 15:21:14 kg-fil kernel: cxm1: Eeprom PAL
May 22 15:21:14 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm
May 22 15:21:14 kg-fil kernel: tuner: switching to v4l2
May 22 15:21:14 kg-fil kernel: before tuner_command!
May 22 15:21:14 kg-fil kernel: tuner: tv freq set to 55.25
May 22 15:21:14 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Video signal:              not present
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Detected format:           NTSC-M
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Detected audio mode:       forced mode
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Detected audio standard:   forced audio standard
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Audio muted:               yes
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller:     running
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Configured audio standard: A2-BG
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Configured audio mode:     undefined
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Specified standard:        PAL-BDGHI
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Specified input:           Tuner
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Specified audio input:     Tuner
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode:      stereo
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format:    autodetect
May 22 15:21:24 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format:    chroma
May 22 15:21:24 kg-fil kernel: cxm1: [ITHREAD]
May 22 15:21:26 kg-fil kernel: cxm1: encoder firmware version 0x2060039

2010-05-21: slice 1 - recover the mirrors in FreeBSD 6.2-stable: gmirror label storage ad6, gmirror label backup ad8 ad10. Nice!

2010-05-21: slice 2 - I upgraded to FreeBSD 8.1-prerelease. dmesg output: normal, verbose.

2010-01-25: slice 3 - I created a script (cxmload) for /usr/local/etc/rc.d/ to load the cxm kmod. Setting cxmload_enable="YES" in /etc/rc.conf, and voila - cxm loads at boot. I just need to make sure that this script executes before the mythbackend script.

2010-01-01: slice 1 - recover the backup mirror in FreeBSD 6.2-stable: gmirror label backup ad8 ad10. From /var/log/messages:

Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup created (id=979833177).
Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup: provider ad8 detected.
Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup: provider ad10 detected.
Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup: provider ad10 activated.
Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup: provider ad8 activated.
Jan  2 01:21:33 kg-fil kernel: GEOM_MIRROR: Device backup: provider mirror/backup launched.

After that, I did fsck /backup (after uncommenting the right line in /etc/fstab) - everything was ok. Wicked!

2010-01-01: slice 3 - pvrxxx - if I try to load the cxm_iic and cxm modules from /boot/loader.conf, the machine panics during boot.

2010-01-01: slice 3 - I am installing usleep's pvrxxx port (the 09042008 version). when I cd /usr/ports/multimedia/pvrxxx; make patch-iicbb, I get this:

root@kg-fil# pwd
/usr/ports/multimedia/pvrxxx
root@kg-fil# make patch-iicbb
echo 702106
702106
/usr/src/sys/dev/iicbus/iicbb.c was already patched

Ok, so that means that the GENERIC kernel is ready for the cxm driver. We'll see. First I kldload cxm_iic, then I kldload cxm. Here is what /var/log/messages say:

Jan  1 23:43:18 kg-fil kernel: cxm0: <Conexant iTVC16 MPEG Coder> mem 0xe0000000-0xe3ffffff irq 18 at device 8.0 on pci2
Jan  1 23:43:18 kg-fil kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
Jan  1 23:43:18 kg-fil kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
Jan  1 23:43:18 kg-fil kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only
Jan  1 23:43:18 kg-fil kernel: iicbus0: <unknown card> at addr 0
Jan  1 23:43:18 kg-fil kernel: iicbus0: <unknown card> at addr 0
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 101
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: ivtv version
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: audio processor = CX25843 (type = 25)
Jan  1 23:43:18 kg-fil kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e)
Jan  1 23:43:18 kg-fil kernel: tuner type: 56
Jan  1 23:43:18 kg-fil kernel: cxm0: Eeprom PAL
Jan  1 23:43:18 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm
Jan  1 23:43:18 kg-fil kernel: tuner: switching to v4l2
Jan  1 23:43:18 kg-fil kernel: before tuner_command!
Jan  1 23:43:18 kg-fil kernel: tuner: tv freq set to 55.25
Jan  1 23:43:18 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Video signal:              not present
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Detected format:           NTSC-M
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Detected audio mode:       forced mode
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Detected audio standard:   forced audio standard
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Audio muted:               yes
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller:     running
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Configured audio standard: A2-BG
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Configured audio mode:     undefined
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Specified standard:        PAL-BDGHI
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Specified input:           Tuner
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Specified audio input:     Tuner
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode:      stereo
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format:    autodetect
Jan  1 23:43:30 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format:    chroma
Jan  1 23:43:30 kg-fil kernel: cxm0: [ITHREAD]
Jan  1 23:43:30 kg-fil kernel: cxm0: encoder firmware version 0x2060039
Jan  1 23:43:30 kg-fil kernel: cxm1: <Conexant iTVC16 MPEG Coder> mem 0xe4000000-0xe7ffffff irq 19 at device 9.0 on pci2
Jan  1 23:43:30 kg-fil kernel: cxm_iic1: <Conexant iTVC15 / iTVC16 I2C controller> on cxm1
Jan  1 23:43:30 kg-fil kernel: iicbb1: <I2C bit-banging driver> on cxm_iic1
Jan  1 23:43:30 kg-fil kernel: iicbus1: <Philips I2C bus> on iicbb1 master-only
Jan  1 23:43:30 kg-fil kernel: iicbus1: <unknown card> at addr 0
Jan  1 23:43:30 kg-fil kernel: iicbus1: <unknown card> at addr 0
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: Second (radio) tuner idx 101
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: ivtv version
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: Hauppauge: model = 23559, rev = D591, serial# = 2990584
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: audio processor = CX25843 (type = 25)
Jan  1 23:43:30 kg-fil kernel: <2>tveeprom: decoder processor = CX25843 (type = 1e)
Jan  1 23:43:30 kg-fil kernel: tuner type: 56
Jan  1 23:43:30 kg-fil kernel: cxm1: Eeprom PAL
Jan  1 23:43:30 kg-fil kernel: tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by cxm
Jan  1 23:43:30 kg-fil kernel: tuner: switching to v4l2
Jan  1 23:43:30 kg-fil kernel: before tuner_command!
Jan  1 23:43:30 kg-fil kernel: tuner: tv freq set to 55.25
Jan  1 23:43:30 kg-fil kernel: tuner: tv 0x05 0xe3 0xce 0x01
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Video signal:              not present
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Detected format:           NTSC-M
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Detected audio mode:       forced mode
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Detected audio standard:   forced audio standard
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Audio muted:               yes
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Audio microcontroller:     running
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Configured audio standard: A2-BG
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Configured audio mode:     undefined
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Specified standard:        PAL-BDGHI
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Specified input:           Tuner
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Specified audio input:     Tuner
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Preferred audio mode:      stereo
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Selected 65 MHz format:    autodetect
Jan  1 23:43:42 kg-fil kernel: <2>cxm 0-0000: Selected 45 MHz format:    chroma
Jan  1 23:43:42 kg-fil kernel: cxm1: [ITHREAD]
Jan  1 23:43:42 kg-fil kernel: cxm1: encoder firmware version 0x2060039

2010-01-01: slice 3 - I quickly upgraded to latest FreeBSD 7.2-stable. dmesg output: normal, verbose. Note: the k8temp module changed name, it is now the amdtemp module. /boot/loader.conf updated accordingly.

2010-01-01: I created slice 3 and installed FreeBSD 7.2-release on it. dmesg output: normal, verbose. The integrated nic is nfe0.

2009-12-30: slice 2 - I installed dmidecode-2.10, portupgrade-2.4.6_3,2, xorg-7.4_2, and xfce-4.6.1. Around 330 ports total. Sheesh.

2009-12-30: slice 2 - upgraded to latest FreeBSD 8.0-stable. dmesg output: normal, verbose.I noticed that the integrated SMbus controller needs the nfsmb driver, so I added nfsmb_load="YES" to /boot/loader.conf. pciconf -lv output:

root@kg-fil# pciconf -lv | grep -A 4 nfsmb
nfsmb0@pci0:0:1:1:    class=0x0c0500 card=0x0c111458 chip=0x005210de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce4 SMBus'
    class      = serial bus
    subclass   = SMBus

2009-12-29: I created slice 2 and installed FreeBSD 8.0-release on it. dmesg output: normal, verbose. The integrated NIC is now nfe0.

2009-12-29: preparing to upgrade. First, document a few things.

root@kg-fil# uptime
 6:08PM  up 210 days, 20:13, 7 users, load averages: 0.00, 0.00, 0.00

root@kg-fil# cat /boot/loader.conf
snd_ich_load="YES"
geom_mirror_load="YES"

root@kg-fil# more /etc/rc.conf
font8x14="iso-8x14"
font8x16="iso-8x16"
font8x8="iso-8x8"
hostname="kg-fil.kg4.no"
defaultrouter="10.1.10.1"
ifconfig_nve0="inet 10.1.10.4 netmask 255.255.0.0"
inetd_enable="YES"
keymap="norwegian.iso"
moused_enable="YES"
saver="blank"
devfs_system_ruleset="devfsrules_standard"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
# SMART monitoring
smartd_pidfile="/var/run/smartd.pid"
smartd_enable="YES"
#boinc_enable="YES"
compat5x_enable="YES"
# MySQL database
mysql_enable="YES"
# MythTV
mythbackend_enable="YES"
# Apache and MythWeb
apache2_enable="YES"

root@kg-fil# kldstat
Id Refs Address            Size     Name
 1   13 0xffffffff80100000 8fb178   kernel
 2    1 0xffffffff809fc000 21e38    geom_mirror.ko
 3    1 0xffffffff80a1e000 68d0     snd_ich.ko
 4    2 0xffffffff80a25000 348b0    sound.ko
 5    1 0xffffffffa89ed000 1cd      blank_saver.ko
 6    2 0xffffffffa8ade000 895      cxm_iic.ko
 7    1 0xffffffffa8adf000 1524d    cxm.ko
 8    3 0xffffffffa8af5000 1296     firmware.ko
 9    1 0xffffffffa8af7000 417d     cxm_cx25840fw.ko
10    1 0xffffffffa8b7c000 5c18d    cxm_encfw.ko
Hmm, it seems I load snd_ich, cxm_iic and cxm manually. The last two had to do with a crash during boot sometimes.

root@kg-fil# more /etc/devfs.rules
[devfsrules_standard=5]
add path 'ugen*' mode 0664
add path 'umidi*' mode 0664
add path 'cxm*' mode 0666

root@kg-fil# cat /etc/fstab
# Device        Mountpoint    FStype    Options        Dump    Pass#
/dev/ad0s1b        none        swap    sw        0    0
/dev/ad0s1a        /        ufs    rw        1    1
/dev/ad0s1e        /tmp        ufs    rw        2    2
/dev/ad0s1f        /usr        ufs    rw        2    2
/dev/ad0s1d        /var        ufs    rw        2    2
/dev/acd0        /cdrom        cd9660    ro,noauto    0    0
#/dev/mirror/storage    /storage    ufs    rw        2    2
/dev/mirror/backup    /backup        ufs    rw        2    2

Currently I use the backup mirror for data, simce the storage mirror broke.
root@kg-fil# gmirror status
         Name    Status  Components
mirror/backup  COMPLETE  ad8
                         ad10
root@kg-fil# gmirror list
Geom name: backup
State: COMPLETE
Components: 2
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2160496819
Providers:
1. Name: mirror/backup
   Mediasize: 250059349504 (233G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad8
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2641044883
2. Name: ad10
   Mediasize: 250059350016 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 1
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1522717611

root@kg-fil# more /etc/ntp.conf
server kg-omni1.kg4.no
driftfile /var/db/ntp.drift

root@kg-fil# more /etc/periodic.conf
# NTP status
daily_status_ntpd_enable="YES"
# gmirror stats
daily_status_gmirror_enable="YES"
# rkhunter
daily_rkhunter_update_enable="YES"
daily_rkhunter_check_enable="YES"
# bsdstats
monthly_statistics_enable="YES"
monthly_statistics_report_devices="YES"
monthly_statistics_report_ports="YES"

root@kg-fil# more /etc/resolv.conf
domain  kg4.no
nameserver      10.1.10.1

root@kg-fil# pciconf -lv
none0@pci0:0:0:    class=0x058000 card=0x50001458 chip=0x005e10de rev=0xa3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 Memory Controller'
    class      = memory
isab0@pci0:1:0:    class=0x060100 card=0x0c111458 chip=0x005010de rev=0xa3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI to ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
none1@pci0:1:1:    class=0x0c0500 card=0x0c111458 chip=0x005210de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 SMBus'
    class      = serial bus
    subclass   = SMBus
ohci0@pci0:2:0:    class=0x0c0310 card=0x50041458 chip=0x005a10de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 USB Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:2:1:    class=0x0c0320 card=0x50041458 chip=0x005b10de rev=0xa3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 USB 2.0 Controller'
    class      = serial bus
    subclass   = USB
pcm0@pci0:4:0:    class=0x040100 card=0xae011458 chip=0x005910de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
atapci0@pci0:6:0:    class=0x01018a card=0x50021458 chip=0x005310de rev=0xf2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 Parallel ATA Controller'
    class      = mass storage
    subclass   = ATA
atapci1@pci0:7:0:    class=0x010185 card=0xb0031458 chip=0x005410de rev=0xf3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 Serial ATA Controller'
    class      = mass storage
    subclass   = ATA
atapci2@pci0:8:0:    class=0x010185 card=0xb0031458 chip=0x005510de rev=0xf3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 Serial ATA Controller'
    class      = mass storage
    subclass   = ATA
pcib1@pci0:9:0:    class=0x060401 card=0x00000000 chip=0x005c10de rev=0xa2 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
nve0@pci0:10:0:    class=0x068000 card=0xe0001458 chip=0x005710de rev=0xa3 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 Ethernet Controller'
    class      = bridge
pcib3@pci0:11:0:    class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:12:0:    class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib5@pci0:13:0:    class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib6@pci0:14:0:    class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
    vendor     = 'NVIDIA Corporation'
    device     = 'nForce4 PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
hostb0@pci0:24:0:    class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon 64 / Opteron HyperTransport Technology Configuration'
    class      = bridge
    subclass   = HOST-PCI
hostb1@pci0:24:1:    class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon 64 / Opteron Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:24:2:    class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon 64 / Opteron DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:24:3:    class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = 'Athlon 64 / Opteron Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
pcib2@pci1:6:0:    class=0x060400 card=0x00000000 chip=0x00213388 rev=0x11 hdr=0x01
    vendor     = 'PLX Technology (Was: HiNT Corp)'
    device     = 'PCI 6140/52/6254 HB1/1-SE/HB6 Universal PCI to PCI Bridge (non-transparent mode)'
    class      = bridge
    subclass   = PCI-PCI
re0@pci1:7:0:    class=0x020000 card=0x434e1371 chip=0x816910ec rev=0x10 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8169 Gigabit Ethernet Adapter'
    class      = network
    subclass   = ethernet
fwohci0@pci1:10:0:    class=0x0c0010 card=0x10001458 chip=0x8025104c rev=0x01 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'TSB82AA2 1394b OHCI-Lynx IEEE 1394 Host Controller'
    class      = serial bus
    subclass   = FireWire
cxm0@pci2:8:0:    class=0x040000 card=0xe8070070 chip=0x00164444 rev=0x01 hdr=0x00
    vendor     = 'Conexant Inc (Was: Globespan, ICompression Inc)'
    device     = 'iTVC16/CX23416 MPEG Codec'
    class      = multimedia
    subclass   = video
cxm1@pci2:9:0:    class=0x040000 card=0xe8170070 chip=0x00164444 rev=0x01 hdr=0x00
    vendor     = 'Conexant Inc (Was: Globespan, ICompression Inc)'
    device     = 'iTVC16/CX23416 MPEG Codec'
    class      = multimedia
    subclass   = video
none2@pci6:0:0:    class=0x030000 card=0x81ae1043 chip=0x016110de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GeForce 6200 TurboCache(TM)'
    class      = display
    subclass   = VGA

root@kg-fil# pv | egrep myth\|pvr\|xmltv
mythtv-0.20                 =  up-to-date with port
p5-xmltv-0.5.45             =  up-to-date with port
pvrxxx-20060822             =  up-to-date with port

2009-02-11: I booted FreeBSD 7.1-stable / i386 off an external (usb) hard drive. dmesg: normal, verbose. The nVidia network adapter now is named nfe0 (previously it was nve0). For completeness, I also booted FreeBSD 6.4-stable / i386 off the external hard drive. dmesg: normal, verbose. In 6.4-stable, the nVidia network adapter is still named nve0.

2007-02-27: upgraded to FreeBSD 6.2-stable. Normal dmesg.

2006-12-29: upgraded to FreeBSD 6.2-prerelease. Normal dmesg.

2006-05-07: upgraded to FreeBSD 6.1-stable. Normal dmesg.

2006-04-07: upgraded to FreeBSD 6.1-prerelease. Normal dmesg.

2006-03-11: upgraded to FreeBSD 6.1-prerelease. Normal dmesg.

2006-02-05: upgraded to FreeBSD 6.1-prerelease. Normal dmesg.

2006-02-04: upgraded to FreeBSD 6.0-stable. Normal dmesg.