Dell Latitude D620 - FreeBSD

Hardware info on main page.

This machine runs the amd64 version of FreeBSD.

Primary drive (ada0, 250 GB)

root@d620:~ # gpart show -p ada0
=>       34  488397101    ada0  GPT  (233G)
         34        128  ada0p1  freebsd-boot  (64K)
        162  104857472  ada0p2  freebsd-ufs  (50G)
  104857634   16777216  ada0p3  freebsd-swap  (8.0G)
  121634850  366762285          - free -  (175G)

History / work log

2015-01-29: ada0p2 - ports install ports-mgmt/portupgrade,

2015-01-29: ada0p2 - dmidecode, bios info:

root@kg-d620# dmidecode --type bios
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
    Vendor: Dell Inc.
    Version: A10
    Release Date: 05/16/2008
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 576 kB
    Characteristics:
        ISA is supported
        PCI is supported
        PC Card (PCMCIA) is supported
        PNP is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        3.5"/720 kB floppy services are supported (int 13h)
        Print screen service is supported (int 5h)
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        CGA/mono video services are supported (int 10h)
        ACPI is supported
        USB legacy is supported
        AGP is supported
        Smart battery is supported
        BIOS boot specification is supported
        Function key-initiated network boot is supported
        Targeted content distribution is supported
    BIOS Revision: 1.0
    Firmware Revision: 1.0

Handle 0x0D00, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 1
        en|US|iso8859-1
    Currently Installed Language: en|US|iso8859-1

cool. baseboard info:

root@kg-d620# dmidecode --type baseboard
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0200, DMI type 2, 9 bytes
Base Board Information
    Manufacturer: Dell Inc.
    Product Name: 0FT292
    Version:   
    Serial Number: .3F7RT2J.CN1296172R4404.
    Asset Tag:          

Handle 0x0A00, DMI type 10, 6 bytes
On Board Device Information
    Type: Video
    Status: Enabled
    Description: Intel 945GM Graphics         

Handle 0x0A01, DMI type 10, 6 bytes
On Board Device Information
    Type: Sound
    Status: Enabled
    Description: Sigmatel 9200

chassis info:

root@kg-d620# dmidecode --type chassis
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
    Manufacturer: Dell Inc.
    Type: Portable
    Lock: Not Present
    Version: Not Specified
    Serial Number: 3F7RT2J
    Asset Tag: Not Specified
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: None

connector info:

root@kg-d620# dmidecode --type connector
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0801, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: SERIAL1
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: DB-9 male
    Port Type: Serial Port 16550A Compatible

Handle 0x0804, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: USB
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x0806, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: MONITOR
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: DB-15 female
    Port Type: Video Port

Handle 0x0809, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: IrDA
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: Infrared
    Port Type: Other

Handle 0x080C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: Modem
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: RJ-11
    Port Type: Modem Port

Handle 0x080D, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: Ethernet
    Internal Connector Type: None
    External Reference Designator: Not Specified
    External Connector Type: RJ-45
    Port Type: Network Port

slot info:

root@kg-d620# dmidecode --type slot
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0900, DMI type 9, 13 bytes
System Slot Information
    Designation: PCMCIA 0
    Type: 32-bit PC Card (PCMCIA)
    Current Usage: Available
    Length: Other
    ID: Adapter 0, Socket 0
    Characteristics:
        5.0 V is provided
        3.3 V is provided
        PC Card-16 is supported
        Cardbus is supported
        Zoom Video is supported
        Modem ring resume is supported

system info:

root@kg-d620# dmidecode --type system
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0100, DMI type 1, 27 bytes
System Information
    Manufacturer: Dell Inc.
    Product Name: Latitude D620                  
    Version: Not Specified
    Serial Number: 3F7RT2J
    UUID: 44454C4C-4600-1037-8052-B3C04F54324A
    Wake-up Type: Power Switch
    SKU Number: Not Specified
    Family: 

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
    Status: No errors detected

cache info:

root@kg-d620# dmidecode --type cache
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0700, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 32 kB
    Maximum Size: 32 kB
    Supported SRAM Types:
        Unknown
    Installed SRAM Type: Unknown
    Speed: Unknown
    Error Correction Type: None
    System Type: Data
    Associativity: 4-way Set-associative

Handle 0x0701, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Varies With Memory Address
    Location: Internal
    Installed Size: 2048 kB
    Maximum Size: 2048 kB
    Supported SRAM Types:
        Pipeline Burst
    Installed SRAM Type: Pipeline Burst
    Speed: 15 ns
    Error Correction Type: None
    System Type: Unified
    Associativity: Other

processor info:

root@kg-d620# dmidecode --type processor
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0400, DMI type 4, 40 bytes
Processor Information
    Socket Designation: Microprocessor
    Type: Central Processor
    Family: Pentium M
    Manufacturer: Intel
    ID: F6 06 00 00 FF FB EB BF
    Signature: Type 0, Family 6, Model 15, Stepping 6
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        APIC (On-chip APIC hardware supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        PAT (Page attribute table)
        PSE-36 (36-bit page size extension)
        CLFSH (CLFLUSH instruction supported)
        DS (Debug store)
        ACPI (ACPI supported)
        MMX (MMX technology supported)
        FXSR (FXSAVE and FXSTOR instructions supported)
        SSE (Streaming SIMD extensions)
        SSE2 (Streaming SIMD extensions 2)
        SS (Self-snoop)
        HTT (Multi-threading)
        TM (Thermal monitor supported)
        PBE (Pending break enabled)
    Version: Not Specified
    Voltage: 3.3 V
    External Clock: 166 MHz
    Max Speed: 1800 MHz
    Current Speed: 1000 MHz
    Status: Populated, Enabled
    Upgrade: None
    L1 Cache Handle: 0x0700
    L2 Cache Handle: 0x0701
    L3 Cache Handle: Not Provided
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified
    Core Count: 2
    Core Enabled: 2
    Thread Count: 2
    Characteristics:
        64-bit capable

memory info:

root@kg-d620# dmidecode --type memory
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 4 GB
    Error Information Handle: Not Provided
    Number Of Devices: 2

Handle 0x1100, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_A
    Bank Locator: Not Specified
    Type: DDR
    Type Detail: Synchronous
    Speed: 667 MHz
    Manufacturer: AD00000000000000
    Serial Number: 00002251
    Asset Tag: 410704
    Part Number: HYMP512S64BP8-Y5 

Handle 0x1101, DMI type 17, 27 bytes
Memory Device
    Array Handle: 0x1000
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 2048 MB
    Form Factor: DIMM
    Set: None
    Locator: DIMM_B
    Bank Locator: Not Specified
    Type: DDR
    Type Detail: Synchronous
    Speed: 667 MHz
    Manufacturer: AD00000000000000
    Serial Number: 04008011
    Asset Tag: 410832
    Part Number: HYMP125S64CP8-S6 

That was all.

2015-01-29: ada0p2 - ports install sysutils/dmidecode,

2015-01-29: ada0p2 - pciconf info:

root@kg-d620# pciconf -lv
hostb0@pci0:0:0:0:    class=0x060000 card=0x01c21028 chip=0x27a08086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 card=0x01c21028 chip=0x27a28086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:    class=0x038000 card=0x01c21028 chip=0x27a68086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller'
    class      = display
hdac0@pci0:0:27:0:    class=0x040300 card=0x01c21028 chip=0x27d88086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:    class=0x060400 card=0x01c21028 chip=0x27d08086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:    class=0x060400 card=0x01c21028 chip=0x27d28086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:2:    class=0x060400 card=0x01c21028 chip=0x27d48086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family PCI Express Port 3'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:    class=0x0c0300 card=0x01c21028 chip=0x27c88086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:    class=0x0c0300 card=0x01c21028 chip=0x27c98086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:    class=0x0c0300 card=0x01c21028 chip=0x27ca8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family USB UHCI Controller'
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:3:    class=0x0c0300 card=0x01c21028 chip=0x27cb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family USB UHCI Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:    class=0x0c0320 card=0x01c21028 chip=0x27cc8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib4@pci0:0:30:0:    class=0x060401 card=0x01c21028 chip=0x24488086 rev=0xe1 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Mobile PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 card=0x01c21028 chip=0x27b98086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM (ICH7-M) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:2:    class=0x010180 card=0x01c21028 chip=0x27c48086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM/GHM (ICH7-M Family) SATA Controller [IDE mode]'
    class      = mass storage
    subclass   = ATA
none0@pci0:0:31:3:    class=0x0c0500 card=0x01c21028 chip=0x27da8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'NM10/ICH7 Family SMBus Controller'
    class      = serial bus
    subclass   = SMBus
wpi0@pci0:12:0:0:    class=0x028000 card=0x10218086 chip=0x42228086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 3945ABG [Golan] Network Connection'
    class      = network
bge0@pci0:9:0:0:    class=0x020000 card=0x01c21028 chip=0x160014e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'NetXtreme BCM5752 Gigabit Ethernet PCI Express'
    class      = network
    subclass   = ethernet
cbb0@pci0:3:1:0:    class=0x060700 card=0x01c21028 chip=0x69721217 rev=0x40 hdr=0x02
    vendor     = 'O2 Micro, Inc.'
    device     = 'OZ601/6912/711E0 CardBus/SmartCardBus Controller'
    class      = bridge
    subclass   = PCI-CardBus

usbconfig info:

root@kg-d620# usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0xa005 vendor 0x413c> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (2mA)
ugen0.3: <product 0x7761 vendor 0x0b97> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (200mA)
ugen0.4: <O2Micro CCID SC Reader O2> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA)
ugen0.5: <product 0x8103 vendor 0x413c> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA)

that's it.

2015-01-29: ada0p2 - put a ports tree on the machine via portsnap fetch; portsnap extract.

2015-01-29: ada0p2 - battery test. the battery is full:

root@kg-d620# acpiconf -i 0
Design capacity:    4400 mAh
Last full capacity:    4400 mAh
Technology:        secondary (rechargeable)
Design voltage:        11100 mV
Capacity (warn):    440 mAh
Capacity (low):        133 mAh
Low/warn granularity:    44 mAh
Warn/full granularity:    44 mAh
Model number:        DELL GD7756
Serial number:        1944
Type:            LION
OEM info:        SMP
State:            high
Remaining capacity:    100%
Remaining time:        unknown
Present rate:        157 mA (1970 mW)
Present voltage:    12549 mV

and I unplug the charger and wait a bit:

root@kg-d620# acpiconf -i 0
Design capacity:    4400 mAh
Last full capacity:    4400 mAh
Technology:        secondary (rechargeable)
Design voltage:        11100 mV
Capacity (warn):    440 mAh
Capacity (low):        133 mAh
Low/warn granularity:    44 mAh
Warn/full granularity:    44 mAh
Model number:        DELL GD7756
Serial number:        1944
Type:            LION
OEM info:        SMP
State:            discharging
Remaining capacity:    100%
Remaining time:        2:46
Present rate:        1588 mA (19411 mW)
Present voltage:    12224 mV

ok, so 2 hours and 45 minutes, if that is to be believed.

2015-01-29: ada0p2 - temperature monitoring. temperature from ACPI is already supported:

root@kg-d620# atemp
hw.acpi.thermal.tz0.temperature: 50.5C

to get CPU temp, I load to coretemp module in /boot/loader.conf:

coretemp_load="YES"

and now I have temp for both cores:

root@kg-d620# temp
dev.cpu.0.temperature: 49.0C
dev.cpu.1.temperature: 50.0C

good.

2015-01-29: ada0p2 - fixing ntp setup. I had ntpd enabled in /etc/rc.conf:

ntpd_enable="YES"

but sync-on-start was missing, so I added it:

ntpd_sync_on_start="YES"

better now.

2015-01-29: ada0p2 - battery info. After inserting the new battery, and plugging in the charger, acipconf reports:

root@kg-d620# acpiconf -i 0
Design capacity:    4400 mAh
Last full capacity:    4400 mAh
Technology:        secondary (rechargeable)
Design voltage:        11100 mV
Capacity (warn):    440 mAh
Capacity (low):        133 mAh
Low/warn granularity:    44 mAh
Warn/full granularity:    44 mAh
Model number:        DELL GD7756
Serial number:        1944
Type:            LION
OEM info:        SMP
State:            charging
Remaining capacity:    97%
Remaining time:        unknown
Present rate:        431 mA (5399 mW)
Present voltage:    12527 mV

which is nice.

2015-01-29: ada0p2 - wireless network setup - the machine still runs FreeBSD 10.0-release:

$ uname -a
FreeBSD kg-d620.kg4.no 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
in /etc/rc.conf:
wlans_wpi0="wlan0"
ifconfig_wlan0="WPA DHCP"

and wpa_supplicant.conf contains:

$ more /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
        ssid="NetworkName"
        psk="key"
}

no - that's not the real values. ifconfig network info:

root@kg-d620# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 00:19:d2:6c:79:48
    inet 10.1.150.51 netmask 0xffff0000 broadcast 10.1.255.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g
    status: associated
    ssid kg4 channel 6 (2437 MHz 11g) bssid 74:44:01:36:4b:68
    country US authmode WPA privacy ON deftxkey UNDEF AES-CCM 3:128-bit
    txpower 0 bmiss 7 scanvalid 60 protmode CTS roaming MANUAL

nothing more.

2014-06-26: ada0p2 - the primary drive currently looks like this:

root@d620:~ # gpart show -p ada0
=>       34  488397101    ada0  GPT  (233G)
         34        128  ada0p1  freebsd-boot  (64K)
        162  104857472  ada0p2  freebsd-ufs  (50G)
  104857634   16777216  ada0p3  freebsd-swap  (8.0G)
  121634850  366762285          - free -  (175G)

that is it.

2014-06-26: ada0p2 - I installed FreeBSD 10.0-release onto the primary drive, wiping everything first.

$ uname -a
FreeBSD d620 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Fix the root shell:

root@d620:~ # chsh -s /bin/sh
chsh: user information updated

check my user:

root@d620:~ # pw usershow tingo
tingo:*:1001:1001::0:0:Torfinn Ingolfsen:/home/tingo:/bin/sh
root@d620:~ # pw groupshow tingo
tingo:*:1001:

change the name of the primary group:

root@d620:~ # pw groupmod -n tingo -l users
pw: group disappeared during update

check

root@d620:~ # pw groupshow tingo
pw: unknown group `tingo'
root@d620:~ # pw groupshow users
users:*:1001:

good. id:

root@d620:~ # id tingo
uid=1001(tingo) gid=1001(users) groups=1001(users),0(wheel),5(operator)

that's it.

2014-06-26: I booted FreeBSD 10.0-release from a usb stick. dmesg output: normal, verbose.