Date: Sat, 3 May 2003 09:43:11 +0200 (CEST) From: Blaz Zupan <blaz@si.FreeBSD.org> To: freebsd-current@freebsd.org Subject: [PATCH] ACPI fix for HP Omnibook battery status Message-ID: <20030503091505.F41707@titanic.medinet.si>
next in thread | raw e-mail | index | archive | help
My HP Omnibook XE3-GF apparently has a broken BIOS which has a off-by-one error in the AML so neither FreeBSD nor Linux can display the battery status, not even when using APM instead of ACPI. I stumbled upon a patch that fixes it on one of the Linux mailing lists and made the neccesary changes so it patches cleanly with the latest -current kernel. I'm told this hardware is reused by many manufacturers and that this patch also fixes some Toshiba notebooks. With this patch, "apm" can display the battery status just fine: APM version: 1.2 APM Management: Enabled AC Line status: on-line Battery status: charging Remaining battery life: 91% Remaining battery time: unknown Number of batteries: 1 Battery 0: Battery status: charging Remaining battery life: 91% Remaining battery time: 0:00:00 Resume timer: Thu Jan 1 00:59:59 1970 Resume on ring indicator: disabled APM Capabilities: unknown Without the patch, here is what happens: ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.LPCB.ACAD._PSR] (N ode 0xc2533ca0), AE_AML_REGION_LIMIT ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.LPCB.BAT1._BST] (N ode 0xc2535e60), AE_AML_REGION_LIMIT APM version: 1.2 APM Management: Enabled AC Line status: invalid value (0xffffffff) Battery status: unknown Remaining battery life: 0% Remaining battery time: unknown Number of batteries: 1 ACPI-1287: *** Error: Method execution failed [\_SB_.PCI0.LPCB.ACAD._PSR] (N ode 0xc2533ca0), AE_AML_REGION_LIMIT Battery 0: Battery status: unknown Remaining battery life: 0% Remaining battery time: 0:00:00 Resume timer: Thu Jan 1 00:59:59 1970 Resume on ring indicator: disabled APM Capabilities: unknown The kernel supplied with RedHat 9 adds a simmilar patch, although covered under a kernel option (CONFIG_ACPI_RELAXED_AML) and their version also whines that the user should inform the laptop manufacturer that they should fix their BIOS. I don't really think HP and Toshiba will ever fix their BIOS, as the laptop works just fine with Windows XP and only Windows is officially supported. I think FreeBSD (or Intel) should add this to their code, it might help with some other problem laptops and doesn't harm other machines (my desktop with Intel Pentium 4 motherboard seems to work just fine with it). Here is the patch: --- /sys/contrib/dev/acpica/exfldio.c.orig Wed Apr 30 20:44:08 2003 +++ /sys/contrib/dev/acpica/exfldio.c Fri May 2 19:13:04 2003 @@ -220,7 +220,29 @@ FieldDatumByteOffset, ObjDesc->CommonField.AccessByteWidth, RgnDesc->Region.Node->Name.Ascii, RgnDesc->Region.Length)); +#if 1 /* ACPI_RELAXED_AML */ + { + /* + * Allow access to the field if it is within the region size + * rounded up to a multiple of the access byte width. This + * overcomes "off-by-one" programming errors in the AML often + * found in Toshiba laptops. These errors were allowed by + * the Microsoft ASL compiler. + */ + UINT32 rounded_length = ACPI_ROUND_UP(RgnDesc->Region.Length, + ObjDesc->CommonField.AccessByteWidth); + + if (rounded_length < (ObjDesc->CommonField.BaseByteOffset + + FieldDatumByteOffset + + ObjDesc->CommonField.AccessByteWidth)) { + return_ACPI_STATUS (AE_AML_REGION_LIMIT); + } else { + return_ACPI_STATUS (AE_OK); + } + } +#else return_ACPI_STATUS (AE_AML_REGION_LIMIT); +#endif } return_ACPI_STATUS (AE_OK); Below is a full verbose dmesg from my Omnibook with the patch applied: Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #0: Fri May 2 18:36:43 CEST 2003 root@gold.home.inlimbo.org:/usr/src/sys/i386/compile/DISKLESS Preloaded elf kernel "/boot/kernel/kernel" at 0xc072a000. Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc072a2c8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc072a37c. Preloaded elf module "/boot/kernel/uftdi.ko" at 0xc072a428. Preloaded elf module "/boot/kernel/ucom.ko" at 0xc072a4d4. Preloaded elf module "/boot/kernel/smbios.ko" at 0xc072a580. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc072a62c. Calibrating clock(s) ... i8254 clock: 1193109 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz Calibrating TSC clock ... TSC clock: 1063129086 Hz Timecounter "TSC" frequency 1063129086 Hz CPU: Intel(R) Pentium(R) III Mobile CPU 1066MHz (1063.13-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b1 Stepping = 1 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 259522560 (247 MB) Physical memory chunk(s): 0x0000000000001000 - 0x0000000000088fff, 557056 bytes (136 pages) 0x0000000000751000 - 0x000000000f277fff, 246575104 bytes (60199 pages) 0x000000000f700000 - 0x000000000f777fff, 491520 bytes (120 pages) avail memory = 244187136 (232 MB) bios32: Found BIOS32 Service Directory header at 0xc00f61e0 bios32: Entry = 0xfd850 (c00fd850) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd800+0x18a pnpbios: Found PnP BIOS data at 0xc00f6210 pnpbios: Entry = f0000:9c33 Rev = 1.0 Other BIOS signatures found: wlan: <802.11 Link Layer> null: <null device, zero device> random: <entropy source> mem: <memory & I/O> Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface smbios0: <System Management BIOS> at iomem 0xf61c0-0xf61de on motherboard smbios0: Version: 2.03, Revision: 0.08 acpi0: <HP-MCD RSDT > on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x8002402c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=35758086) pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdf10 PCI-Only Interrupts: none Location Bus Device Pin Link IRQs embedded 0 30 A 0x60 3 4 5 9 10 11 embedded 0 30 B 0x61 3 4 5 9 10 11 embedded 0 30 C 0x62 3 4 5 9 10 11 embedded 0 30 D 0x63 3 4 5 9 10 11 embedded 2 8 A 0x68 10 embedded 2 0 A 0x60 9 slot 1 2 2 A 0x62 5 embedded 2 3 A 0x63 5 embedded 2 4 A 0x60 9 embedded 2 4 B 0x61 9 slot 2 2 6 A 0x63 5 embedded 0 0 A 0x60 3 4 5 9 10 11 embedded 0 0 B 0x61 3 4 5 9 10 11 embedded 0 0 C 0x62 3 4 5 9 10 11 embedded 0 0 D 0x63 3 4 5 9 10 11 embedded 0 31 A 0x62 5 embedded 0 31 B 0x61 9 embedded 0 29 A 0x60 9 embedded 0 29 B 0x63 5 embedded 0 29 C 0x62 5 embedded 0 2 A 0x60 3 4 5 9 10 11 embedded 0 2 B 0x61 3 4 5 9 10 11 AcpiOsDerivePciId: bus 0 dev 31 func 0 AcpiOsDerivePciId: bus 2 dev 8 func 0 AcpiOsDerivePciId: bus 2 dev 4 func 0 AcpiOsDerivePciId: bus 2 dev 4 func 1 AcpiOsDerivePciId: bus 2 dev 2 func 0 AcpiOsDerivePciId: bus 2 dev 6 func 0 AcpiOsDerivePciId: bus 2 dev 0 func 0 AcpiOsDerivePciId: bus 0 dev 31 func 0 acpi0: power button is handled as a fixed feature programming model. ACPI timer looks GOOD min = 2, max = 3, width = 1 May 3 09:35:38 test last message repeated 9 times Timecounter "ACPI-fast" frequency 3579545 Hz AcpiOsDerivePciId: bus 0 dev 0 func 0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.2.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.2.1 \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.0 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.1 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.2 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.31.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.31.1 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.2.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.2.1 \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.0 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.1 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.29.2 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.31.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 0.31.1 pci0: <ACPI PCI bus> on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base 00000000, size 0, enabled found-> vendor=0x8086, dev=0x3575, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0106, statreg=0x2010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 3, range 32, base e8000000, size 27, enabled map[14]: type 1, range 32, base e0000000, size 19, enabled found-> vendor=0x8086, dev=0x3577, revid=0x03 bus=0, slot=2, func=0 class=03-00-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 powerspec 1 supports D0 D1 D3 current D0 map[10]: type 3, range 32, base f0000000, size 27, enabled map[14]: type 1, range 32, base e0080000, size 19, enabled found-> vendor=0x8086, dev=0x3577, revid=0x00 bus=0, slot=2, func=1 class=03-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x09 (2250 ns) powerspec 1 supports D0 D1 D3 current D0 map[20]: type 4, range 32, base 00001800, size 5, enabled found-> vendor=0x8086, dev=0x2482, revid=0x01 bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=9 map[20]: type 4, range 32, base 00001820, size 5, enabled found-> vendor=0x8086, dev=0x2484, revid=0x01 bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=5 map[20]: type 4, range 32, base 00001840, size 5, enabled found-> vendor=0x8086, dev=0x2487, revid=0x01 bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=5 found-> vendor=0x8086, dev=0x2448, revid=0x41 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0107, statreg=0x0080, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x248c, revid=0x01 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 4, range 32, base 000001f0, size 3, enabled map[14]: type 4, range 32, base 000003f4, size 2, enabled map[18]: type 4, range 32, base 00000170, size 3, enabled map[1c]: type 4, range 32, base 00000374, size 2, enabled map[20]: type 4, range 32, base 00001860, size 4, enabled map[24]: type 1, range 32, base e0100000, size 10, enabled found-> vendor=0x8086, dev=0x248a, revid=0x01 bus=0, slot=31, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 map[20]: type 4, range 32, base 00001880, size 5, enabled found-> vendor=0x8086, dev=0x2483, revid=0x01 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=9 agp0: <Intel 82830M (830M GMCH) SVGA controller> mem 0xe0000000-0xe007ffff,0xe8000000-0xefffffff irq 9 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: <display> at device 2.1 (no driver attached) uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 9 at device 29.0 on pci0 usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 5 at device 29.1 on pci0 usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 5 at device 29.2 on pci0 usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pcib1: secondary bus 2 pcib1: subordinate bus 2 pcib1: I/O decode 0x2000-0x2fff pcib1: memory decode 0xe0200000-0xe02fffff pcib1: prefetched decode 0xfff00000-0xfffff ---- initial configuration ------------------------ \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.0.0 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.2.0 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.3.0 \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.4.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.4.1 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.6.0 \_SB_.PCI0.LPCB.LNKE irq 10: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.8.0 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.0.0 \_SB_.PCI0.LPCB.LNKC irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.2.0 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.3.0 \_SB_.PCI0.LPCB.LNKA irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.4.0 \_SB_.PCI0.LPCB.LNKB irq 9: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.4.1 \_SB_.PCI0.LPCB.LNKD irq 5: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.6.0 \_SB_.PCI0.LPCB.LNKE irq 10: [ 3 4 5 7 9 10 11 12 14 15] low,level,sharable 2.8.0 pci2: <ACPI PCI bus> on pcib1 pci2: physical bus=2 map[10]: type 1, range 32, base e0205000, size 11, enabled map[14]: type 1, range 32, base e0200000, size 14, enabled found-> vendor=0x104c, dev=0x8023, revid=0x00 bus=2, slot=0, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0112, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns) intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 4, range 32, base 00002440, size 4, enabled found-> vendor=0x125d, dev=0x2838, revid=0x01 bus=2, slot=2, func=0 class=07-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0001, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 2 supports D0 D2 D3 current D0 map[10]: type 4, range 32, base 00002000, size 8, enabled found-> vendor=0x125d, dev=0x1988, revid=0x12 bus=2, slot=3, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x18 (6000 ns) intpin=a, irq=5 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x1217, dev=0x6933, revid=0x01 bus=2, slot=4, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0087, statreg=0x0410, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x1217, dev=0x6933, revid=0x01 bus=2, slot=4, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0087, statreg=0x0410, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base e0204000, size 12, enabled map[14]: type 4, range 32, base 00002400, size 6, enabled found-> vendor=0x8086, dev=0x1031, revid=0x41 bus=2, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns) intpin=a, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 fwohci0: <Texas Instruments TSB43AB22/A> mem 0xe0200000-0xe0203fff,0xe0205000-0xe02057ff irq 9 at device 0.0 on pci2 fwohci0: latency timer 64 -> 64. fwohci0: cache size 8 -> 8. pcib1: device fwohci0 requested decoded memory range 0xe0205000-0xe02057ff fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:02:3f:ff:0c:ff:99:cc fwohci0: resetting OHCI...done (loop=0) fwohci0: fwphy_rddata: loop=0, retry=0 fwohci0: fwphy_rddata: loop=0, retry=0 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: fwphy_rddata: loop=0, retry=0 fwohci0: Enable 1394a Enhancements fwohci0: fwphy_rddata: loop=0, retry=0 May 3 09:35:38 test last message repeated 4 times fwohci0: Link S400, max_rec 2048 bytes. fwohci0: BUS_OPT 0xa002 -> 0xf800a002 fwohci0: fwohci_set_intr: 1 firewire0: <IEEE1394(FireWire) bus> on fwohci0 if_fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:02:3f:ff:99:cc fwe0: bpf attached sbp0: <SBP2/SCSI over firewire> on firewire0 sbp_attach (cold=1) fwohci0: Initiate bus reset fwohci0: fwphy_rddata: loop=0, retry=0 fwohci0: fwphy_rddata: loop=0, retry=0 pci2: <simple comms> at device 2.0 (no driver attached) pcm0: <ESS Technology Allegro-1> port 0x2000-0x20ff irq 5 at device 3.0 on pci2 pcm0: failed to enable memory mapping! pcib1: device pcm0 requested decoded I/O range 0x2000-0x20ff pcm0: <ESS Technology ES1988 AC97 Codec (id = 0x45838308)> pcm0: Codec features 20 bit DAC, 20 bit ADC, 5 bit master volume, ESS Technology Stereo Enhancement pcm0: Primary codec extended features double rate PCM pcm0: sndbuf_setmap 93c000, 1000; 0xd5700000 -> 93c000 pcm0: sndbuf_setmap 94f000, 1000; 0xd5701000 -> 94f000 pcm0: sndbuf_setmap 951000, 1000; 0xd5702000 -> 951000 pcm0: sndbuf_setmap 95a000, 1000; 0xd5703000 -> 95a000 pcm0: sndbuf_setmap 95c000, 1000; 0xd5704000 -> 95c000 malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 malloc() of "16" with the following non-sleepablelocks held: exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc25e6180) locked @ /usr/src/sys/dev/sound/pcm/mixer.c:322 cbb0: <O2Micro OZ6933 PCI-CardBus Bridge> at device 4.0 on pci2 pcib1: device cbb0 requested decoded memory range 0xe0200000-0xe02fffff cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: matched entry for 2.4.INTA (source \_SB_.PCI0.LPCB.LNKA) pcib1: slot 4 INTA is routed to irq 9 cbb1: <O2Micro OZ6933 PCI-CardBus Bridge> at device 4.1 on pci2 pcib1: device cbb1 requested decoded memory range 0xe0200000-0xe02fffff cardbus1: <CardBus bus> on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib1: matched entry for 2.4.INTB (source \_SB_.PCI0.LPCB.LNKB) pcib1: slot 4 INTB is routed to irq 9 fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x2400-0x243f mem 0xe0204000-0xe0204fff irq 10 at device 8.0 on pci2 pcib1: device fxp0 requested decoded memory range 0xe0204000-0xe0204fff fxp0: using memory space register mapping fxp0: Ethernet address 00:02:3f:36:ef:8b fxp0: PCI IDs: 8086 1031 103c 0021 0041 fxp0: Dynamic Standby mode is disabled miibus0: <MII bus> on fxp0 inphy0: <i82562ET 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH3 UDMA100 controller> port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe0100000-0xe01003ff at device 31.1 on pci0 ata0: pre reset mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: after reset mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: pre reset mask=03 ostat0=50 ostat2=00 ata1-master: ATAPI 14 eb ata1-slave: ATAPI ff ff ata1: after reset mask=03 stat0=00 stat1=00 ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) unknown: not probed (disabled) unknown: not probed (disabled) atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: unable to allocate IRQ psmcpnp0 irq 12 on acpi0 psm0: current command byte:0047 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: using extended I/O port range ppc0: ECP SPP ECP+EPP SPP ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lp0: bpf attached lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 unknown: not probed (disabled) sio0: irq maps: 0x1 0x9 0x1 0x1 sio0 port 0x3f8-0x3ff irq 3 drq 1 on acpi0 sio0: type 16550A acpi_acad0: <AC adapter> on acpi0 acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0 acpi_cmbat0: <Control method Battery> on acpi0 unknown: not probed (disabled) May 3 09:35:38 test last message repeated 4 times ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 ex_isa_identify() sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: <Option ROMs> at iomem 0xe0000-0xe3fff,0xdf800-0xdffff,0xd8000-0xdc7ff,0xd0000-0xd0fff on isa0 pmtimer0 on isa0 adv0 failed to probe on isa0 aha0: status reg test failed ff May 3 09:35:38 test last message repeated 5 times aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 cs0 failed to probe at port 0x300-0x31f on isa0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0 pcic1: not probed (disabled) sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0x1 0x1 0x1 0x1 sio1: probe failed test(s): 0 1 2 4 6 7 9 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: Cannot allocate irq sn0 failed to probe at port 0x300-0x30f irq 10 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 02 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 00 00 03 00 02 67 5f 4f 50 02 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff vt0 failed to probe on isa0 isa_probe_children: probing PnP devices Device configuration finished. procfs registered Timecounters tick every 10.000 msec lo0: bpf attached fwohci0: BUS reset sbp_post_busreset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) fwohci0: fw_set_bus_manager: 0->0 (loop=0) send phy_config root_node=-1 gap_count=1 fwohci0: maxdesc: 2 fwohci0: start AT DMA status=0 acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times acpi_cmbat0: battery initialization start cbb0: Unsupported card type detected cbb1: Unsupported card type detected ad0: success setting UDMA100 on Intel ICH3 chip GEOM: new disk ad0 acpi_cmbat0: battery initialization done, tried 1 times bus_explore done sbp_post_explore (sbp_cold=2) ar: FreeBSD check1 failed ad0: <IC25N030ATCS04-0/CA3OA71A> ATA-5 disk at ata0-master ad0: 28615MB (58605120 sectors), 58140 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ad0: piomode=12 dmamode=34 udmamode=69 cblid=1 ata1-master: piomode=12 dmamode=34 udmamode=66 dmaflag=1 ata1-master: success setting PIO4 on Intel ICH3 chip acd0: <TOSHIBA DVD-ROM SD-R2102/1018> CD-RW drive at ata1 as master acd0: read 4134KB/s (34515KB/s) write 1377KB/s (1377KB/s), 2048KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet acd0: Writes: CD-R, CD-RW, test write, burnproof acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc [0] f:00 typ:160 s(CHS):0/1/1 e(CHS):47/12/63 s:63 l:48132 [1] f:80 typ:7 s(CHS):47/13/1 e(CHS):1023/15/63 s:48195 l:41945715 [2] f:00 typ:131 s(CHS):1023/15/63 e(CHS):1023/15/63 s:41994288 l:15995952 [3] f:00 typ:15 s(CHS):1023/15/63 e(CHS):1023/15/63 s:57990240 l:614880 GEOM: Configure ad0s1, start 32256 length 24643584 end 24675839 GEOM: Configure ad0s2, start 24675840 length 21476206080 end 21500881919 GEOM: Configure ad0s3, start 21501075456 length 8189927424 end 29691002879 GEOM: Configure ad0s4, start 29691002880 length 314818560 end 30005821439 MBREXT Slice 5 on ad0s4: [0] f:00 typ:130 s(CHS):1023/15/63 e(CHS):1023/15/63 s:63 l:614817 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure ad0s5, start 32256 length 314786304 end 314818559 (probe0:sbp0:0:0:0): error 22 (probe0:sbp0:0:0:0): Unretryable Error (probe1:sbp0:0:1:0): error 22 (probe1:sbp0:0:1:0): Unretryable Error (probe2:sbp0:0:2:0): error 22 (probe2:sbp0:0:2:0): Unretryable Error (probe3:sbp0:0:3:0): error 22 (probe3:sbp0:0:3:0): Unretryable Error (probe4:sbp0:0:4:0): error 22 (probe4:sbp0:0:4:0): Unretryable Error (probe5:sbp0:0:5:0): error 22 (probe5:sbp0:0:5:0): Unretryable Error (probe6:sbp0:0:6:0): error 22 (probe6:sbp0:0:6:0): Unretryable Error malloc() of "4096" with the following non-sleepablelocks held: exclusive sleep mutex ifnet r = 0 (0xc05c79c0) locked @ nfsclient/bootp_subr.c:1696 malloc() of "4096" with the following non-sleepablelocks held: exclusive sleep mutex ifnet r = 0 (0xc05c79c0) locked @ nfsclient/bootp_subr.c:1696 start IR DMA 0x0 Sending DHCP Discover packet from interface fwe0 (02:02:3f:ff:99:cc) fwohci0: maxdesc: 4 Sending DHCP Discover packet from interface fxp0 (00:02:3f:36:ef:8b) Received DHCP Offer packet on fxp0 from 192.168.176.1 (accepted) (no root path) Sending DHCP Request packet from interface fxp0 (00:02:3f:36:ef:8b) Received DHCP Ack packet on fxp0 from 192.168.176.1 (accepted) (got root path) DHCP timeout for interface fwe0 fxp0 at 192.168.176.10 server 192.168.176.1 server name DHCPserver boot file pxeboot subnet mask 255.255.255.0 router 192.168.176.1 rootfs 192.168.176.1:/ hostname test.home.inlimbo.org Shutdown interface fwe0 Adjusted interface fxp0 Mounting root from nfs: NFS ROOT: 192.168.176.1:/ start_init: trying /sbin/init
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030503091505.F41707>