Subject: NetBSD-CURRENT on IBM Thinkpad X40
To: None <port-i386@netbsd.org>
From: Claes Leufven <rinsan@lysator.liu.se>
List: port-i386
Date: 12/07/2004 20:21:19
Hi!
Just wanted to report that NetBSD-CURRENT works fine on IBM Thinkpad
X40, the wireless card is working but doesnt survive suspends. I have
tried APM on it and it works fine (suspends and such),Xfree86 works
fine,but I havent tried ACPI,how do I write suspends scripts for
powerd? Powerd anyway registers the suspend buttons and when I close
the lid. Attaches dmesg-output

Regards
Claes Leufven

NetBSD 2.99.10 (EIN_ACPI) #1: Mon Dec  6 10:54:55 CET 2004
root@ein.outherlimits.org:/usr/src/sys/arch/i386/compile/EIN_ACPI
total memory = 502 MB
avail memory = 488 MB
BIOS32 rev. 0 found at 0xfd740
PCI BIOS rev. 2.1 found at 0xfd8c8
pcibios: config mechanism [1][x], special cycles [x][x], last bus 5
PCI IRQ Routing Table rev. 1.0 found at 0xfdeb0, size 256 bytes (14
entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB (PIIX) PCI-ISA Bridge
compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x8086 0x3582   A  0x00  11  0    already assigned
000:29:0 0x8086 0x24c2   A  0x00  11  0    already assigned
000:29:1 0x8086 0x24c4   B  0x03  11  0    already assigned
000:29:2 0x8086 0x24c7   C  0x02  11  0    already assigned
000:29:7 0x8086 0x24cd   D  0x07  11  0    already assigned
000:31:1 0x8086 0x24ca   A  0x02  11  0    fixed up
000:31:3 0x8086 0x24c3   B  0x01  11  0    already assigned
000:31:5 0x8086 0x24c5   B  0x01  11  0    already assigned
000:31:6 0x8086 0x24c6   B  0x01  11  0    already assigned
002:00:0 0x1180 0x0476   A  0x00  11  0    already assigned
002:00:1 0x1180 0x0822   B  0x01  11  0    already assigned
002:01:0 0x8086 0x1077   A  0x04  11  0    already assigned
002:02:0 0x8086 0x1043   A  0x05  11  0    already assigned
------------------------------------------
PCI fixup examining 8086:3580
PCI fixup examining 8086:3584
PCI fixup examining 8086:3585
PCI fixup examining 8086:3582
PCI fixup examining 8086:3582
PCI fixup examining 8086:24c2
PCI fixup examining 8086:24c4
PCI fixup examining 8086:24c7
PCI fixup examining 8086:24cd
PCI fixup examining 8086:2448
PCI fixup examining 1180:476
PCI bridge 1: primary 1, secondary 2, subordinate 2
PCI fixup examining 1180:822
PCI fixup examining 8086:1077
PCI fixup examining 8086:1043
PCI bridge 0: primary 0, secondary 1, subordinate 2
PCI fixup examining 8086:24cc
PCI fixup examining 8086:24ca
PCI fixup examining 8086:24c3
PCI fixup examining 8086:24c5
PCI fixup examining 8086:24c6
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580 
[OK]
000:00:1 0x8086 0x3584 
[OK]
000:00:3 0x8086 0x3585 
[OK]
000:02:0 0x8086 0x3582 
10h mem  0xe0000000 0x08000000
14h mem  0xd0000000 0x00080000
18h port 0x00001800 0x00000008
[OK]
000:02:1 0x8086 0x3582 
10h mem  0xe8000000 0x08000000
14h mem  0xd0080000 0x00080000
[OK]
000:29:0 0x8086 0x24c2 
20h port 0x00001820 0x00000020
[OK]
000:29:1 0x8086 0x24c4 
20h port 0x00001840 0x00000020
[OK]
000:29:2 0x8086 0x24c7 
20h port 0x00001860 0x00000020
[OK]
000:29:7 0x8086 0x24cd 
10h mem  0xd0100000 0x00000400
[OK]
000:30:0 0x8086 0x2448 
[OK]
000:31:0 0x8086 0x24cc 
[OK]
000:31:1 0x8086 0x24ca 
10h port 0x00000000 0x00000008
14h port 0x00000000 0x00000004
18h port 0x00000000 0x00000008
1ch port 0x00000000 0x00000004
20h port 0x00001810 0x00000010
24h mem  0x00000000 0x00000400
[NG]
000:31:3 0x8086 0x24c3 
20h port 0x00001880 0x00000020
[OK]
000:31:5 0x8086 0x24c5 
10h port 0x00001c00 0x00000100
14h port 0x000018c0 0x00000040
18h mem  0xd0100c00 0x00000200
1ch mem  0xd0100800 0x00000100
[OK]
000:31:6 0x8086 0x24c6 
10h port 0x00002400 0x00000100
14h port 0x00002000 0x00000080
[OK]
001:00:0 0x1180 0x0476 
10h mem  0xb0000000 0x00001000
[OK]
001:00:1 0x1180 0x0822 
10h mem  0xd0221000 0x00000100
[OK]
001:01:0 0x8086 0x1077 
10h mem  0xd0200000 0x00020000
18h port 0x00007000 0x00000040
[OK]
001:02:0 0x8086 0x1043 
10h mem  0xd0220000 0x00001000
[OK]
--------------------------[  1 devices bogus]
Physical memory end: 0x1f6dc000
PCI memory mapped I/O space start: 0x1f700000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x3580 
[OK]
000:00:1 0x8086 0x3584 
[OK]
000:00:3 0x8086 0x3585 
[OK]
000:02:0 0x8086 0x3582 
10h mem  0xe0000000 0x08000000
14h mem  0xd0000000 0x00080000
18h port 0x00001800 0x00000008
[OK]
000:02:1 0x8086 0x3582 
10h mem  0xe8000000 0x08000000
14h mem  0xd0080000 0x00080000
[OK]
000:29:0 0x8086 0x24c2 
20h port 0x00001820 0x00000020
[OK]
000:29:1 0x8086 0x24c4 
20h port 0x00001840 0x00000020
[OK]
000:29:2 0x8086 0x24c7 
20h port 0x00001860 0x00000020
[OK]
000:29:7 0x8086 0x24cd 
10h mem  0xd0100000 0x00000400
[OK]
000:30:0 0x8086 0x2448 
[OK]
000:31:0 0x8086 0x24cc 
[OK]
000:31:1 0x8086 0x24ca 
10h port 0x00005800 0x00000008
14h port 0x00005808 0x00000004
18h port 0x00005810 0x00000008
1ch port 0x0000580c 0x00000004
20h port 0x00001810 0x00000010
24h mem  0x1f700000 0x00000400
[OK]
000:31:3 0x8086 0x24c3 
20h port 0x00001880 0x00000020
[OK]
000:31:5 0x8086 0x24c5 
10h port 0x00001c00 0x00000100
14h port 0x000018c0 0x00000040
18h mem  0xd0100c00 0x00000200
1ch mem  0xd0100800 0x00000100
[OK]
000:31:6 0x8086 0x24c6 
10h port 0x00002400 0x00000100
14h port 0x00002000 0x00000080
[OK]
001:00:0 0x1180 0x0476 
10h mem  0xb0000000 0x00001000
[OK]
001:00:1 0x1180 0x0822 
10h mem  0xd0221000 0x00000100
[OK]
001:01:0 0x8086 0x1077 
10h mem  0xd0200000 0x00020000
18h port 0x00007000 0x00000040
[OK]
001:02:0 0x8086 0x1043 
10h mem  0xd0220000 0x00001000
[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Banias) (686-class), 598.09 MHz, id 0x695
cpu0: features a7e9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR>
cpu0: features a7e9fbbf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9fbbf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1200MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 600 MHz (956 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1200 1100 1000
900 800 600
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <IBM   ,TP-1U   ,00001420>, AslId < LTP,00000000>
acpi0: found ECDT, GPE 28
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C01 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0800 at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0 irq 13
npx1: using exception 16
PNP0B00 at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (IBM3780): aux port
pckbc2: irq 12
acpiec0 at acpi0 (PNP0C09-0): ACPI Embedded Controller
acpiec0: io 0x62,0x66
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003-0): ACPI AC Adapter
IBM0068 at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 95.0C passive 26.0C
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82855GM Host-Hub Controller (rev. 0x02)
agp0 at pchb0: detected 8060k stolen memory
agp0: aperture at 0xe0000000, size 0x8000000
Intel 82855GM GMCH Memory Controller (miscellaneous system, revision
0x02) at pci0 dev 0 function 1 not configured
Intel 82855GM GMCH Configuration Process (miscellaneous system,
revision 0x02) at pci0 dev 0 function 3 not configured
vga0 at pci0 dev 2 function 0: Intel 82855GM GMCH Integrated Graphics
Device (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using
wskbd0
wsmux1: connecting to wsdisplay0
Intel 82855GM GMCH Integrated Graphics Device (miscellaneous display,
revision 0x02) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB USB UHCI Controller
(rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801DB USB UHCI Controller
(rev. 0x01)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB USB UHCI Controller
(rev. 0x01)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB USB EHCI Controller
(rev. 0x01)
ehci0: interrupting at irq 11
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev.
0x81)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
cbb0 at pci1 dev 0 function 0: Ricoh 5C476 PCI-CardBus bridge (rev.
0x8d)
Ricoh product 0x0822 (system subclass 0x05, revision 0x13) at pci1 dev
0 function 1 not configured
wm0 at pci1 dev 1 function 0: Intel i82541GI Mobile 1000BASE-T
Ethernet, rev. 0
wm0: interrupting at irq 11
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0a:e4:2a:0b:e5
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
wm0: MDIC write timed out: phy 1 reg 31
wm0: MDIC write timed out: phy 1 reg 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX,
1000baseT, 1000baseT-FDX, auto
OUI 0x000000 model 0x0000 rev 0 at wm0 phy 2 not configured
ipw0 at pci1 dev 2 function 0: Intel PRO/Wireless LAN 2100 3B Mini-PCI
Adapter (rev. 0x04)
ipw0: interrupting at irq 11
ipw0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801DB ISA Bridge (rev. 0x01)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
Intel 82801DB SMBus Controller (SMBus serial bus, revision 0x01) at
pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97
Audio
auich0: interrupting at irq 11
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no
3D stereo
auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
Intel 82801DB AC97 Modem Controller (modem communications, revision
0x01) at pci0 dev 31 function 6 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
WARNING: Callback scheduled before sysmon task queue thread present.
auich0: measured ac97 link rate at 48002 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
wd0 at atabus0 drive 0: <HITACHI_DK13FA-40B>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
(Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)