Lenovo ThinkPad T420 - FreeBSD

Hardware info on main page.

History

2020-01-11: ada0p2 - more info usbconfig

root@t420-1:~ # usbconfig
ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.1: <Intel EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <vendor 0x8087 product 0x0024> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <vendor 0x8087 product 0x0024> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: <UPEK Biometric Coprocessor> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.3: <Lenovo F5521gw> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA)
ugen0.4: <Broadcom Corp Broadcom Bluetooth Device> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA)

pciconf

root@t420-1:~ # pciconf -lv
hostb0@pci0:0:0:0:    class=0x060000 card=0x21ce17aa chip=0x01048086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 card=0x21ce17aa chip=0x01268086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated Graphics Controller'
    class      = display
    subclass   = VGA
none0@pci0:0:22:0:    class=0x078000 card=0x21ce17aa chip=0x1c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family MEI Controller'
    class      = simple comms
uart2@pci0:0:22:3:    class=0x070002 card=0x21ce17aa chip=0x1c3d8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family KT Controller'
    class      = simple comms
    subclass   = UART
em0@pci0:0:25:0:    class=0x020000 card=0x21ce17aa chip=0x15028086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82579LM Gigabit Network Connection (Lewisville)'
    class      = network
    subclass   = ethernet
ehci0@pci0:0:26:0:    class=0x0c0320 card=0x21ce17aa chip=0x1c2d8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
hdac0@pci0:0:27:0:    class=0x040300 card=0x21ce17aa chip=0x1c208086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:    class=0x060400 card=0x21ce17aa chip=0x1c108086 rev=0xb4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:    class=0x060400 card=0x21ce17aa chip=0x1c128086 rev=0xb4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:3:    class=0x060400 card=0x21ce17aa chip=0x1c168086 rev=0xb4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 4'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:4:    class=0x060400 card=0x21ce17aa chip=0x1c188086 rev=0xb4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family PCI Express Root Port 5'
    class      = bridge
    subclass   = PCI-PCI
ehci1@pci0:0:29:0:    class=0x0c0320 card=0x21ce17aa chip=0x1c268086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family USB Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
isab0@pci0:0:31:0:    class=0x060100 card=0x21ce17aa chip=0x1c4f8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'QM67 Express Chipset LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:    class=0x010601 card=0x21ce17aa chip=0x1c038086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
none1@pci0:0:31:3:    class=0x0c0500 card=0x21ce17aa chip=0x1c228086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 Series/C200 Series Chipset Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
iwn0@pci0:3:0:0:    class=0x028000 card=0x13118086 chip=0x00858086 rev=0x34 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Centrino Advanced-N 6205 [Taylor Peak]'
    class      = network
sdhci_pci0@pci0:13:0:0:    class=0x088001 card=0x21ce17aa chip=0xe8231180 rev=0x05 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'PCIe SDXC/MMC Host Controller'
    class      = base peripheral
none2@pci0:13:0:3:    class=0x0c0010 card=0x21ce17aa chip=0xe8321180 rev=0x04 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'R5C832 PCIe IEEE 1394 Controller'
    class      = serial bus
    subclass   = FireWire

ok

2020-01-11: ada0p2 - the storage device is a Kingston 240G ssd - ada0

root@t420-1:~ # camcontrol devlist
<KINGSTON SHFS37A240G 583ABBF0>    at scbus0 target 0 lun 0 (ada0,pass0)
<Optiarc DVD RW AD-7740H 1.S1>     at scbus1 target 0 lun 0 (cd0,pass1)

currently, it is partitioned like this

root@t420-1:~ # gpart show -p ada0
=>       34  468862061    ada0  GPT  (224G)
         34          6          - free -  (3.0K)
         40     409600  ada0p1  efi  (200M)
     409640  115343360  ada0p2  freebsd-ufs  (55G)
  115753000   16777216  ada0p3  freebsd-swap  (8.0G)
  132530216  336331879          - free -  (160G)

ok

2020-01-11: ada0p2 - reboot, and FreeBSD 12.1-release-p1 is in. dmesg output: [normal], [verbose].

root@t420-1:~ # freebsd-version -ku
12.1-RELEASE-p1
12.1-RELEASE-p1

kernel

root@t420-1:~ # uname -a
FreeBSD t420-1.kg4.no 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64

ok

2020-01-11: ada0p2 - freebsd-update fetch

root@t420-1:~ # freebsd-update fetch
[..]
The following files will be updated as part of updating to
12.1-RELEASE-p1:
/bin/freebsd-version
/boot/kernel/cpuctl.ko
/boot/kernel/efirt.ko
/boot/kernel/kernel
/boot/loader.efi
/boot/loader_4th.efi
/boot/loader_lua.efi
/boot/loader_simp.efi
/usr/include/machine/pmap.h
/usr/include/x86/specialreg.h
/usr/lib/debug/boot/kernel/cpuctl.ko.debug
/usr/lib/debug/boot/kernel/efirt.ko.debug
/usr/lib/debug/boot/kernel/kernel.debug

install

root@t420-1:~ # freebsd-update install
src component not installed, skipped
Installing updates... done.

ok

2020-01-11: ada0p2 - I installed FreeBSD 12.1-release. dmesg output: [normal], verbose.

root@t420-1:~ # freebsd-version -ku
12.1-RELEASE
12.1-RELEASE

kernel

root@t420-1:~ # uname -a
FreeBSD t420-1.kg4.no 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

ok

2020-01-10: booting FreeBSD 12.1-release off a usb stick - if in usb port on the right side it fails. dmesg says something about a usb error. if the usb stick is in usb port on the left side it works.

2020-01-10: booting FreeBSD 11.3-release off a usb stick - works