Subject: ACPI vs. a "legacy free" notebook... :/
To: None <port-i386@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: port-i386
Date: 04/04/2003 01:26:56
The dmesg output below is from a Toshiba Satellite 5100-503, which has no
traditional BIOS ("legacy free" is what they call it), and where aparently
_everything_ has to be done in ACPI, even switching off the TFT when the
lid's closed etc.

What I wonder is if there are so many "not configured" devices, esp. ones
that I'd expect to be in the kernel (I have all "at acpi" devices in a
-current kernel). I cannot even "poweroff" or "reboot" the machine.

Is there some way to at least make the machine DTRT on "reboot", instead
of just hang?

There's also said to be a wavelan card in the machine, but I cannot even
see that either - it should be behind some cardbus bridge, but I wonder
where that one's too. (the two cardbus[01] are the externally visible
slots, the wavelan is on a builtin-slot).


 - Hubert

NetBSD 1.6Q (NOON) #12: Fri Apr  4 01:10:38 CEST 2003
	feyrer@noon:/sys/arch/i386/compile/NOON
total memory = 511 MB
avail memory = 470 MB
using 6144 buffers containing 26284 KB of memory
BIOS32 rev. 0 found at 0xfb7fd
PCI BIOS rev. 2.1 found at 0xfcd8a
pcibios: config mechanism [1][x], special cycles [x][x], last bus 5
PCI IRQ Routing Table rev. 1.0 found at 0xf01a0, size 176 bytes (9 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:29:0 0x8086 0x2482   A  0x00  11  0    already assigned
000:29:1 0x8086 0x2484   B  0x03   7  0    already assigned
000:29:2 0x8086 0x2487   C  0x02   6  0    fixed up
000:31:1 0x8086 0x248a   A  0x02   6  0    already assigned
000:31:5 0x8086 0x2485   B  0x01  11  1    fixed up
000:31:6 0x8086 0x2486   B  0x01  11  1    fixed up
002:07:0 0x104c 0x8023   A  0x02   6  0    fixed up
002:08:0 0x8086 0x1031   A  0x01  11  1    WARNING: preserving irq 4
002:11:0 0x1179 0x0617   A  0x00  11  0    fixed up
002:11:1 0x1179 0x0617   B  0x01  11  1    fixed up
002:12:0 0x1179 0x0804   B  0x01  11  1    fixed up
002:13:0 0x1179 0x0805   A  0x00  11  0    fixed up
------------------------------------------
PCI fixup examining 8086:1a30
PCI fixup examining 8086:1a31
PCI fixup examining 10de:174
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:2482
PCI fixup examining 8086:2484
PCI fixup examining 8086:2487
PCI fixup examining 8086:2448
PCI fixup examining 104c:8023
PCI fixup examining 8086:1031
PCI fixup examining 1179:617
PCI bridge 2: primary 2, secondary 3, subordinate 3
PCI fixup examining 1179:617
PCI bridge 3: primary 2, secondary 4, subordinate 4
PCI fixup examining 1179:804
PCI fixup examining 1179:805
PCI bridge 1: primary 0, secondary 2, subordinate 4
PCI fixup examining 8086:248c
PCI fixup examining 8086:248a
PCI fixup examining 8086:2485
PCI fixup examining 8086:2486
PCI bus #4 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x1a30
	10h mem  0xe0000000 0x10000000
		[OK]
000:01:0 0x8086 0x1a31
		[OK]
000:29:0 0x8086 0x2482
	20h port 0x0000efe0 0x00000020
		[OK]
000:29:1 0x8086 0x2484
	20h port 0x0000ef80 0x00000020
		[OK]
000:29:2 0x8086 0x2487
	20h port 0x00000000 0x00000020
		[NG]
000:30:0 0x8086 0x2448
		[OK]
000:31:0 0x8086 0x248c
		[OK]
000:31:1 0x8086 0x248a
	10h port 0x0000cff8 0x00000008
	14h port 0x0000cff4 0x00000004
	18h port 0x0000cfe8 0x00000008
	1ch port 0x0000cfe4 0x00000004
	20h port 0x0000cfa0 0x00000010
	24h mem  0x00000000 0x00000400
		[NG]
000:31:5 0x8086 0x2485
	10h port 0x00000000 0x00000100
	14h port 0x00000000 0x00000040
		[NG]
000:31:6 0x8086 0x2486
	10h port 0x00000000 0x00000100
	14h port 0x00000000 0x00000080
		[NG]
001:00:0 0x10de 0x0174
	10h mem  0xfd000000 0x01000000
	14h mem  0xd8000000 0x08000000
	18h mem  0xd7f80000 0x00080000
		[OK]
002:07:0 0x104c 0x8023
	10h mem  0x00000000 0x00000800
	14h mem  0x00000000 0x00004000
		[NG]
002:08:0 0x8086 0x1031
	10h mem  0xfceff000 0x00001000
	14h port 0x0000df40 0x00000040
		[OK]
002:11:0 0x1179 0x0617
	10h mem  0x00000000 0x00001000
		[NG]
002:11:1 0x1179 0x0617
	10h mem  0x00000000 0x00001000
		[NG]
002:12:0 0x1179 0x0804
	10h mem  0x00000000 0x00000020
		[NG]
002:13:0 0x1179 0x0805
	10h mem  0x00000000 0x00000200
		[NG]
--------------------------[  9 devices bogus]
 Physical memory end: 0x1ffcc000
 PCI memory mapped I/O space start: 0x20000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x1a30
	10h mem  0xe0000000 0x10000000
		[OK]
000:01:0 0x8086 0x1a31
		[OK]
000:29:0 0x8086 0x2482
	20h port 0x0000efe0 0x00000020
		[OK]
000:29:1 0x8086 0x2484
	20h port 0x0000ef80 0x00000020
		[OK]
000:29:2 0x8086 0x2487
	20h port 0x00005800 0x00000020
		[OK]
000:30:0 0x8086 0x2448
		[OK]
000:31:0 0x8086 0x248c
		[OK]
000:31:1 0x8086 0x248a
	10h port 0x0000cff8 0x00000008
	14h port 0x0000cff4 0x00000004
	18h port 0x0000cfe8 0x00000008
	1ch port 0x0000cfe4 0x00000004
	20h port 0x0000cfa0 0x00000010
	24h mem  0x20000000 0x00000400
		[OK]
000:31:5 0x8086 0x2485
	10h port 0x00005900 0x00000100
	14h port 0x00005840 0x00000040
		[OK]
000:31:6 0x8086 0x2486
	10h port 0x00005a00 0x00000100
	14h port 0x00005880 0x00000080
		[OK]
001:00:0 0x10de 0x0174
	10h mem  0xfd000000 0x01000000
	14h mem  0xd8000000 0x08000000
	18h mem  0xd7f80000 0x00080000
		[OK]
002:07:0 0x104c 0x8023
	10h mem  0x20000800 0x00000800
	14h mem  0x20004000 0x00004000
		[OK]
002:08:0 0x8086 0x1031
	10h mem  0xfceff000 0x00001000
	14h port 0x0000df40 0x00000040
		[OK]
002:11:0 0x1179 0x0617
	10h mem  0x20001000 0x00001000
		[OK]
002:11:1 0x1179 0x0617
	10h mem  0x20002000 0x00001000
		[OK]
002:12:0 0x1179 0x0804
	10h mem  0x20000400 0x00000020
		[OK]
002:13:0 0x1179 0x0805
	10h mem  0x20000600 0x00000200
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 1794.28 MHz, id 0xf24
cpu0: features 3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 3febf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febf9ff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
acpi0 at mainbus0
acpi0: X/RSDT: OemId <TOSHIB,5100    ,20020408>, AslId <TASM,04010000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi_allocate_resources: res=1
acpi: activate failed for SMCF010
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xff irq 13
npx1: using exception 16
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
TOS6205 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
TOS6200 at acpi0 not configured
TOS6201 at acpi0 not configured
TOS6202 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C0B [ACPI Fan] at acpi0 not configured
PNP0C0B [ACPI Fan] at acpi0 not configured
acpitz0 at acpi0 (): ACPI Thermal Zone
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: unable to establish interrupt 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 82845 Host (rev. 0x04)
agp0 at pchb0: aperture at 0xe0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation product 0x0174 (rev. 0xa3)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: Intel 82801CA/CAM USB Controller (rev. 0x02)
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 82801CA/CAM USB Controller (rev. 0x02)
uhci1: interrupting at irq 7
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 82801CA/CAM USB Controller (rev. 0x02)
uhci2: interrupting at irq 6
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
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x42)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fwohci0 at pci2 dev 7 function 0: Texas Instruments TSB43AA22/A OHCI IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 6
fwohci0: OHCI 165.165, ff:ff:ff:ff:ff:ff:ff:ff, unknown speed 7, 65536 max_rec, 32 ir_ctx, 32 it_ctx
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE Network Controller, rev 66
fxp0: interrupting at irq 4
fxp0: Ethernet address 00:00:39:a5:8a:c4
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: i82562ET 10/100 media interface (OUI 0x005500, model 0x0033), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0 at pci2 dev 11 function 0: Toshiba ToPIC100 CardBus-PCI Bridge (rev. 0x32)
cbb1 at pci2 dev 11 function 1: Toshiba ToPIC100 CardBus-PCI Bridge (rev. 0x32)
Toshiba product 0x0804 (miscellaneous system, revision 0x03) at pci2 dev 12 function 0 not configured
Toshiba product 0x0805 (miscellaneous system, revision 0x03) at pci2 dev 13 function 0 not configured
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 4 device 0
pcmcia1 at cardslot1
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CAM LPC Interface (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801CA IDE Controller (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4019GAX>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 16383 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)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <UJDA730 DVD/CDRW, , 1.00> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
auich0: interrupting at irq 11
auich0: Yamaha YMF753-S codec; 18 bit DAC, no 3D stereo
auich0: S/PDIF
audio0 at auich0: full duplex, independent
Intel 82801CA/CAM Modem (modem communications, revision 0x02) at pci0 dev 31 function 6 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ACPI: WARNING: Callback scheduled before thread present.
fw0 at fwohci0: ff:ff:ff:ff:ff:ff:ff:ff:0f:07:ff:ff:f0:01:00:00
uhidev0 at uhub1 port 2 configuration 1 interface 0
uhidev0: Synaptics Inc. Synaptics Touchpad, rev 1.10/0.04, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse1 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
fw0: can't handle af0
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)
fw0: DAD detected duplicate IPv6 address fe80:0005::0200:39ff:fea5:8ac4: NS in/out=1/1, NA in=0
fw0: DAD complete for fe80:0005::0200:39ff:fea5:8ac4 - duplicate found
fw0: manual intervention required
Accounting started

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/