IBM ThinkPad 380ED - FreeBSD

Hardware description on main page.

This machine runs the i386 version of FreeBSD.

The internal hard drive (ad0) is sliced up as follows:

slice 1 -  509 MB - root partition for FreeBSD 7.x (currently 7.0-release)
slice 2 -   18 GB - FreeBSD (4.11-release)
slice 3 -   19 GB - rest of partitions for slice 1 (var, tmp, usr)

Work log

2011-11-13: slice 1 + 3 - I did a binary upgrade from the FreeBSD 7.4-release CD. dmesg output: normal. verbose. uname -a (transcribed):

$ uname -a
FreeBSD kg-omni2.kg4.no 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Thu Feb 17 03:51:56 UTC 2011
     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC   i386

With no network card, this is less useful. More info:

# swapinfo
Device            1K-blocks      Used     Avail Capacity
/dev/ad0s1b    262144              0    262144       0%
# df -h
Filesystem    Size   Used   Avail Capacity Mounted on
/dev/ad0s1a   494M   264M    190M    58%   /
devfs         1.0K   1.0K      0B   100%   /dev
/dev/ad0s3e   496M    44K    456M     0%   /tmp
/dev/ad0s3f    16G   1.0G     14G     7%   /usr
/dev/ad0s3d   1.0G   2.8M    965M     0%   /var

That's all.

2011-11-13: I booted FreeBSD 8.2-release off a CD. dmesg output: normal, verbose. Trouble with bridges and PC Card controller here too. Relevant parts of output from pciconf -lv (transcribed):

none0@pci:0:0:1:0  class=0x068000 card=0x00000000 chip=0x12348086 rev=0x03 hdr=0x00
    class      = bridge

none1@pci0:0:19:0  class=0x030000 card=0x00000000 chip=0x000310c8 rev=0x02 hdr=0x00
    class      = bridge
    subclass   = PCI-PCMCIA

That's all.

2011-11-13: I booted FreeBSD 7.4-release off a CD (the machine boots automatically from a CD if a bootable one is inserted). Unfortunately, both dmesg and pciconf -lv confirms that the PC Card controller / bridge isn't detected properly. Relevant parts of output from pciconf -lv (transcribed):

none0@pci:0:0:1:0  class=0x068000 card=0x00000000 chip=0x12348086 rev=0x03 hdr=0x00
    class      = bridge

none1@pci0:0:19:0  class=0x030000 card=0x00000000 chip=0x000310c8 rev=0x02 hdr=0x00
    class      = bridge
    subclass   = PCI-PCMCIA

That's all.

2011-11-13: slice 2 - I booted FreeBSD 4.11-release with a Billionton 10Base-T Ethernet PCCard (LNTC-10T2B) network card in the bottom slot. It shows up as (from dmesg):

pccard: card inserted, slot 1
ed1 at port 0x300-0x31f irq 3 slot 1 on pccard1
ed1: address 00:10:60:08:1d:00, type NE2000 (16 bit)

when booted with the card in the upper slot, I get this:

pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
ed1: address 00:10:60:08:1d:00, type NE2000 (16 bit)

That's all. Oh, and the card get's an IP address (via DHCP) in both cases. Good. Here is a Billionton 10/100Base FastEthernet PC Card (LNA-100B3) in the upper slot:

pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
ed1: address 00:10:60:f3:31:04, type NE2000 (16 bit)

More info:

$ uname -a
FreeBSD kg-omni2.kg4.no 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005
     root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
$ swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s3b        262016        0   262016     0%    Interleaved
$ df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/ad0s2a   126M    36M    80M    31%    /
/dev/ad0s2f   252M    42K   232M     0%    /tmp
/dev/ad0s2g    17G   578M    15G     4%    /usr
/dev/ad0s2e   252M   282K   232M     0%    /var
procfs        4.0K   4.0K     0B   100%    /proc

That's all.

2008-03-29: slice 1 + slice 3: Installed FreeBSD 7.0-release. dmesg output (normal, verbose). Output from pciconf -lv:

hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x12358086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82437MX 430MX Mobile Chipset System Controller'
class = bridge
subclass = HOST-PCI
none0@pci0:0:1:0: class=0x068000 card=0x00000000 chip=0x12348086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82371MX 430MX Mobile Chipset MPIIX + EIDE + I/O'
class = bridge
vgapci0@pci0:0:3:0: class=0x030000 card=0x00000000 chip=0x000310c8 rev=0x02 hdr=0x00
vendor = 'Neomagic Corporation'
device = 'NM2093 MagicGraph 128ZV Video Controller'
class = display
subclass = VGA
none1@pci0:0:19:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0x07 hdr=0x00
vendor = 'Cirrus Logic'
device = 'CL-PD6729 PCI-to-PC Card host adapter'
class = bridge
subclass = PCI-PCMCIA

Hmm, pc card controller not recognized. Not good.

2008-03-29: slice 2 - I installed FreeBSD 4.11-release on the machine. dmesg output (normal, verbose).

pccard config (in /etc/rc.conf):
pccard_enable="YES"
pccard_ifconfig="inet 10.1.10.2 netmask 255.255.0.0"
pciconf -lv output:
root@kg-omni2# pciconf -lv
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x12358086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82437MX 430MX Mobile Chipset System Controller'
class = bridge
subclass = HOST-PCI
chip1@pci0:1:0: class=0x068000 card=0x00000000 chip=0x12348086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82371MX 430MX Mobile Chipset MPIIX + EIDE + I/O'
class = bridge
subclass = PCI-unknown
none0@pci0:3:0: class=0x030000 card=0x00000000 chip=0x000310c8 rev=0x02 hdr=0x00
vendor = 'Neomagic Corporation'
device = 'NM2093 MagicGraph 128ZV Video Controller'
class = display
subclass = VGA
pcic0@pci0:19:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0x07 hdr=0x00
vendor = 'Cirrus Logic'
device = 'CL-PD6729 PCI-to-PC Card host adapter'
class = bridge
subclass = PCI-PCMCIA

2003-10-03: dmesg output (normal, verbose) from FreeBSD 4.8-stable. Output from pciconf -lv:

root@kg-omni2# pciconf -lv
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x12358086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82437MX 430MX Mobile Chipset System Controller'
class = bridge
subclass = HOST-PCI
chip1@pci0:1:0: class=0x068000 card=0x00000000 chip=0x12348086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82371MX 430MX Mobile Chipset MPIIX + EIDE + I/O'
class = bridge
subclass = PCI-unknown
none0@pci0:3:0: class=0x030000 card=0x00000000 chip=0x000310c8 rev=0x02 hdr=0x00
vendor = 'Neomagic Corporation'
device = 'NM2093 MagicGraph 128ZV Video Controller'
class = display
subclass = VGA
pcic0@pci0:19:0: class=0x060500 card=0x00000000 chip=0x11001013 rev=0x07 hdr=0x00
vendor = 'Cirrus Logic'
device = 'CL-PD6729 PCI-to-PC Card host adapter'
class = bridge
subclass = PCI-PCMCIA

2003-10-03: Configuration of pccardd: I used the following lines in /etc/rc.conf to get pccardd to work:

pccard_enable="YES"
pccard_ifconfig="inet 10.1.10.2 netmask 255.255.0.0"
pccard_mem="DEFAULT"
pccardd_flags=" -i 3 -i 5"

Here is the output from /var/log/messages:

pcic0: <Cirrus Logic PD6729/6730 PCI-PCMCIA Bridge> port 0x3e0-0x3e3 at device 19.0 on pci0
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pccard1: <PC Card 16-bit bus (classic)> on pcic

2003-10-03: disk layout:

ad0s1a / 128MB
ad0s1b swap 144MB
ad0s1e /var 256MB
ad0s1f /tmp 256MB
ad0s1g /usr 37369MB