From owner-freebsd-current@FreeBSD.ORG Sat May 3 00:43:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 160AE37B404 for ; Sat, 3 May 2003 00:43:16 -0700 (PDT) Received: from stingray.amis.net (stingray.amis.net [212.18.32.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F8343FCB for ; Sat, 3 May 2003 00:43:13 -0700 (PDT) (envelope-from blaz@si.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by stingray.amis.net (Postfix) with ESMTP id 9CBD43865B2 for ; Sat, 3 May 2003 09:43:12 +0200 (CEST) Received: from stingray.amis.net ([127.0.0.1]) by localhost (stingray.amis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06447-01 for ; Sat, 3 May 2003 09:43:11 +0200 (CEST) Received: from titanic.medinet.si (titanic.medinet.si [212.18.42.5]) by stingray.amis.net (Postfix) with ESMTP id E5E7E3865B0 for ; Sat, 3 May 2003 09:43:11 +0200 (CEST) Date: Sat, 3 May 2003 09:43:11 +0200 (CEST) From: Blaz Zupan X-X-Sender: blaz@titanic.medinet.si To: freebsd-current@freebsd.org Message-ID: <20030503091505.F41707@titanic.medinet.si> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by Amis Safe Mail Subject: [PATCH] ACPI fix for HP Omnibook battery status X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 07:43:16 -0000 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 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: random: mem: Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface smbios0: at iomem 0xf61c0-0xf61de on motherboard smbios0: Version: 2.03, Revision: 0.08 acpi0: 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: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: 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: 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: mem 0xe0000000-0xe007ffff,0xe8000000-0xefffffff irq 9 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0x1800-0x181f irq 9 at device 29.0 on pci0 usb0: 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: port 0x1820-0x183f irq 5 at device 29.1 on pci0 usb1: 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: port 0x1840-0x185f irq 5 at device 29.2 on pci0 usb2: 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: 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: 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: 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: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:02:3f:ff:99:cc fwe0: bpf attached sbp0: 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: at device 2.0 (no driver attached) pcm0: 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: 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: at device 4.0 on pci2 pcib1: device cbb0 requested decoded memory range 0xe0200000-0xe02fffff cardbus0: 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: at device 4.1 on pci2 pcib1: device cbb1 requested decoded memory range 0xe0200000-0xe02fffff cardbus1: 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: 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: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: bpf attached isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: at device 31.3 (no driver attached) unknown: not probed (disabled) unknown: not probed (disabled) atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: 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: 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: 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: on ppc0 plip0: on ppbus0 lp0: bpf attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: 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: on acpi0 acpi_ec0: port 0x66,0x62 on acpi0 acpi_cmbat0: 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: