Subject: Re: T60 status report with current
To: Pierre Pronchery <khorben@defora.org>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: port-i386
Date: 03/26/2007 10:14:32
On 2007.03.25 17:56:11 +0200, Pierre Pronchery wrote:
> Pierre Pronchery wrote:
> > Today I looked at the ACPI DSDT tables from my former and updated
> > BIOSes. I could not get either of them to compile back (they want
> > \_SB_.PCI0.SATA.SCND.MSTR, which is not defined?!?) but otherwise I
> > don't see anything weird there.
> 
> This could be related after all. I would appreciate any hint :)
> I attach my latest dmesg, and the DSDT stuff is found at:
> http://people.defora.org/~khorben/projects/netbsd/kern/acpi/t60/

Comparing the ASLs, my ACPI descriptions are an older revision,
listed as Revision=0x2030 as compared to your Revision=0x2110.

Here's the diffs between my dmesg and your own.  Have you tried
a kernel with PCI_ADDR_FIXUP and PCI_BUS_FIXUP?

--- /var/run/dmesg.boot	2007-03-26 09:28:52.000000000 -0600
+++ dm	2007-03-26 10:09:07.000000000 -0600
@@ -1,24 +1,24 @@
-Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-    2006, 2007
+Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
-NetBSD 4.99.9 (LAPTOP.MPACPI) #2: Fri Feb 23 15:31:05 CST 2007
-	bsd@monolith:/usr/obj/sys/arch/i386/compile/LAPTOP.MPACPI
+NetBSD 4.0_BETA2 (GENERIC.MP) #0: Sun Mar 18 00:05:54 CET 2007
+	khorben@syn:/usr/obj/sys/arch/i386/compile/GENERIC.MP
+multiboot: Information structure flags: 0x000003e7
+multiboot: Boot loader: GNU GRUB 0.97
+multiboot: Command line: /netbsd
+multiboot: 636 KB lower memory, 1046336 KB upper memory
+multiboot: Symbol table at 0xc0a403b8, length 436464 bytes
+multiboot: String table at 0xc0aaaca8, length 417757 bytes
 total memory = 1022 MB
-rbus: rbus_min_start set to 0x40000000
 avail memory = 994 MB
 timecounter: Timecounters tick every 10.000 msec
 timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 BIOS32 rev. 0 found at 0xfd6b0
 mainbus0 (root)
-pci_addr_fixup: 000:31:1 0x8086 0x27df new address 0x00005800
-pci_addr_fixup: 000:31:1 0x8086 0x27df new address 0x00005808
-pci_addr_fixup: 000:31:1 0x8086 0x27df new address 0x00005810
-pci_addr_fixup: 000:31:1 0x8086 0x27df new address 0x0000580c
 cpu0 at mainbus0: apid 0 (boot processor)
-cpu0: Intel Pentium M (Yonah) (686-class), 1995.14 MHz, id 0x6e8
+cpu0: Intel Pentium M (Yonah) (686-class), 1995.18 MHz, id 0x6e8
 cpu0: features bfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu0: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
 cpu0: features bfe9fbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
@@ -27,7 +27,7 @@
 cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
 cpu0: L2 cache 2 MB 64B/line 8-way
 cpu0: using thermal monitor 1
-cpu0: Enhanced SpeedStep (1404 mV) 2000 MHz
+cpu0: Enhanced SpeedStep (1004 mV) 1000 MHz
 cpu0: unknown Enhanced SpeedStep CPU.
 cpu0: using only highest and lowest power states.
 cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 1000
@@ -36,7 +36,7 @@
 cpu0: 64 page colors
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: starting
-cpu1: Intel Pentium M (Yonah) (686-class), 1995.00 MHz, id 0x6e8
+cpu1: Intel Pentium M (Yonah) (686-class), 1995.01 MHz, id 0x6e8
 cpu1: features bfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu1: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
 cpu1: features bfe9fbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
@@ -45,7 +45,7 @@
 cpu1: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
 cpu1: L2 cache 2 MB 64B/line 8-way
 cpu1: using thermal monitor 1
-cpu1: Enhanced SpeedStep (1404 mV) 2000 MHz
+cpu1: Enhanced SpeedStep (1004 mV) 1000 MHz
 cpu1: unknown Enhanced SpeedStep CPU.
 cpu1: using only highest and lowest power states.
 cpu1: Enhanced SpeedStep frequencies available (MHz): 2000 1000
@@ -55,7 +55,7 @@
 ioapic0: remapped to apic 1
 acpi0 at mainbus0: Advanced Configuration and Power Interface
 acpi0: using Intel ACPI CA subsystem version 20060217
-acpi0: X/RSDT: OemId <LENOVO,TP-79   ,00002030>, AslId < LTP,00000000>
+acpi0: X/RSDT: OemId <LENOVO,TP-79   ,00002110>, AslId < LTP,00000000>
 acpi0: found ECDT, GPE 28
 acpi0: SCI interrupting at int 9
 acpi0: fixed-feature power button present
@@ -83,39 +83,39 @@
 PNP0200 [AT DMA Controller] at acpi0 not configured
 pcppi1 at acpi0 (PNP0800)
 pcppi1: io 0x61
+pcppi1: children must have an explicit unit
 midi0 at pcppi1: PC speaker (CPU-intensive output)
 sysbeep0 at pcppi1
-npx0 at acpi0 (PNP0C04)
-npx0: io 0xf0 irq 13
-npx0: reported by CPUID; using exception 16
+npx1 at acpi0 (PNP0C04)
+npx1: io 0xf0 irq 13
+npx1: reported by CPUID; using exception 16
 PNP0B00 [AT Real-Time Clock] at acpi0 not configured
-pckbc0 at acpi0 (PNP0303): kbd port
-pckbc0: io 0x60,0x64 irq 1
-pckbc1 at acpi0 (IBM0057): aux port
-pckbc1: irq 12
-lpt0 at acpi0 (PNP0400-1)
-lpt0: io 0x3bc-0x3be irq 7
-ATM1200 at acpi0 not configured
+pckbc1 at acpi0 (PNP0303): kbd port
+pckbc1: io 0x60,0x64 irq 1
+pckbc2 at acpi0 (IBM0057): aux port
+pckbc2: irq 12
+com3 at acpi0 (IBM0071)
+com3: io 0x2f8-0x2ff irq 3 drq 3
+com3: ns16550a, working fifo
 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
-IBM0079 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 127.0C
 acpitz1 at acpi0: ACPI Thermal Zone
 acpitz1: unable to get polling interval; using default of 30.0s
-acpitz1: critical 99.0C passive 42.0C
+acpitz1: critical 99.0C passive 60.0C
 pcppi1: attached to attimer1
-pckbd0 at pckbc0 (kbd slot)
-pckbc0: using irq 1 for kbd slot
+pckbd0 at pckbc1 (kbd slot)
+pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
-pms0 at pckbc0 (aux slot)
-pckbc0: using irq 12 for aux slot
+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
@@ -125,8 +125,8 @@
 ppb0 at pci0 dev 1 function 0: Intel product 0x27a1 (rev. 0x03)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled, rd/line, wr/inv ok
-vga0 at pci1 dev 0 function 0: ATI Technologies product 0x7145 (rev. 0x00)
-wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
+vga1 at pci1 dev 0 function 0: ATI Technologies product 0x7145 (rev. 0x00)
+wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
 wsmux1: connecting to wsdisplay0
 azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
 azalia0: interrupting at ioapic0 pin 17 (irq 11)
@@ -139,23 +139,23 @@
 wm0: interrupting at ioapic0 pin 16 (irq 11)
 wm0: PCI-Express bus
 wm0: 256 word (8 address bits) SPI EEPROM
-wm0: Ethernet address 00:16:41:53:a7:2f
+wm0: Ethernet address 00:15:58:2c:02:cb
 makphy0 at wm0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
 makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 ppb2 at pci0 dev 28 function 1: Intel 82801GB/GR PCI Express Port #2 (rev. 0x02)
 pci3 at ppb2 bus 3
 pci3: i/o space, memory space enabled, rd/line, wr/inv ok
-ath0 at pci3 dev 0 function 0
-ath0: interrupting at ioapic0 pin 17 (irq 11)
-ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
-ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
-ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
-ath0: mac 10.3 phy 6.1 radio 10.2
+wpi0 at pci3 dev 0 function 0: Intel PRO/Wireless LAN 3945ABG Mini-PCI Adapter (rev. 0x02)
+wpi0: interrupting at ioapic0 pin 17 (irq 11)
+wpi0: 802.11 address 00:13:02:4e:1c:45
+wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
+wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
+wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 ppb3 at pci0 dev 28 function 2: Intel 82801GB/GR PCI Express Port #3 (rev. 0x02)
 pci4 at ppb3 bus 4
 pci4: i/o space, memory space enabled, rd/line, wr/inv ok
 ppb4 at pci0 dev 28 function 3: Intel 82801GB/GR PCI Express Port #4 (rev. 0x02)
-pci5 at ppb4 bus 5
+pci5 at ppb4 bus 12
 pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
 uhci0: interrupting at ioapic0 pin 16 (irq 11)
@@ -191,12 +191,15 @@
 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub4: 8 ports with 8 removable, self powered
 ppb5 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xe2)
-pci6 at ppb5 bus 6
-pci6: i/o space, memory space enabled
+pci6 at ppb5 bus 21
+pci6: i/o space enabled
 cbb0 at pci6 dev 0 function 0: Texas Instruments PCI1510 PCI-CardBus Bridge (rev. 0x00)
+cbb0: can't map socket base address 0xe4300000
+pci_io_find: expected type i/o, found mem
+cbb0: can't map socket base address 0xc1c3c700: io mode
 cbb0: interrupting at ioapic0 pin 16 (irq 11)
 cardslot0 at cbb0 slot 0 flags 0
-cardbus0 at cardslot0: bus 7
+cardbus0 at cardslot0: bus 22
 pcmcia0 at cardslot0
 pcib0 at pci0 dev 31 function 0
 pcib0: Intel 82801GBM LPC Interface Bridge (rev. 0x02)
@@ -233,31 +236,25 @@
 audio0 at azalia0: full duplex, independent
 Kernelized RAIDframe activated
 atapibus0 at atabus0: 2 targets
-cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4083N, 0139599DAE72, 1.08> cdrom removable
+cd0 at atapibus0 drive 0: <MATSHITADVD-RAM UJ-842, , RB01> cdrom removable
 cd0: 32-bit data port
 cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
 cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
 ahcisata0 port 0: device present, speed: 1.5Gb/s
-wd0 at atabus1 drive 0: <FUJITSU MHV2100BH>
+wd0 at atabus1 drive 0: <HTS541010G9SA00>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
-uhub5 at uhub4 port 6
-uhub5: IBM product 0x4485, class 9/0, rev 2.00/0.01, addr 2
-uhub5: multiple transaction translators
-uhub5: 4 ports with 4 removable, self powered
-ehci0: handing over full speed device on port 7 to uhci3
-uhub4: port 7, device disappeared after reset
-ehci0: handing over full speed device on port 8 to uhci3
-uhub4: port 8, device disappeared after reset
 boot device: wd0
 root on wd0a dumps on wd0b
 root file system type: ffs
 cpu1: CPU 1 running
-ubt0 at uhub3 port 1 configuration 1 interface 0
-ubt0: Broadcom Corp BCM2045B, rev 2.00/1.00, addr 2
 ugen0 at uhub3 port 2
-ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 3
+ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
 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)
+Accounting started
+acpibat0: battery info: SANYO, LION, 92P1137,  1816

-- 
  Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
      "Amusement to an observing mind is study." - Benjamin Disraeli