From owner-freebsd-current Mon Jul 8 7:45:47 2002 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 6A6A337B400 for ; Mon, 8 Jul 2002 07:45:05 -0700 (PDT) Received: from porthos.spock.org (alb-66-67-128-5.nycap.rr.com [66.67.128.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6ACE43E09 for ; Mon, 8 Jul 2002 07:45:03 -0700 (PDT) (envelope-from jon@porthos.spock.org) Received: from porthos.spock.org (foouser@localhost [127.0.0.1]) by porthos.spock.org with ESMTP serial EF600Q3T-B7F8823g68Ej2S8027643F7T for ; Mon, 8 Jul 2002 10:45:02 -0400 (EDT) (envelope-from jon@porthos.spock.org) X-OrigTo: Received: (from jon@localhost) by porthos.spock.org (8.12.4/8.12.3/Submit) id g68Ej27L027642 for freebsd-current@freebsd.org; Mon, 8 Jul 2002 10:45:02 -0400 (EDT) (envelope-from jon) Date: Mon, 8 Jul 2002 10:45:02 -0400 From: Jonathan Chen To: freebsd-current@freebsd.org Subject: -CURRENT bootup panics (ACPI related?) Message-ID: <20020708104502.A26973@porthos.spock.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline User-Agent: telnet/1.1x Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I just got myself an IBM Thinkpad T30, most things work fine on -STABLE (trying to get specs from IBM for the rest), but -CURRENT won't boot with ACPI enabled. I'd be glad to track that down, but I have no clue where to start, nor do I have any more than a passing knowledge of ACPI. I could disable it and boot -CURRENT (and install works fine since there's no ACPI there), but things go wrong as soon as the kernel touches UFS. This happens on very recent -CURRENT as well as from two months ago (I tried GENERIC kernel as well as customized). I'm including boot -v output here, nothing jumped out at me except the bad wi0 memory range (works fine on -stable) and the existence of sio1 (I don't have one, and -stable doesn't give me one, though -current without acpi shows it as well). Please tell me what I need to do or where I can start digging to get acpi working. Thanks. Yes, I know I can unset acpi_load, but where's the fun in that? [boot -v output as attachments] -Jon --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=20020707-panic OK unload OK boot -v /boot/kernel/kernel text=0x327710 data=0x4e3d4+0x82c2c syms=[0x4+0x463b0+0x4+0x53717] /boot/kernel/acpi.ko text=0x2c71c data=0x1744+0x6e0 syms=[0x4+0x4f40+0x4+0x6780] SMAP type=01 base=00000000 00000000 len=00000000 0009f000 SMAP type=02 base=00000000 0009f000 len=00000000 00001000 SMAP type=02 base=00000000 000d2000 len=00000000 00002000 SMAP type=02 base=00000000 000dc000 len=00000000 00024000 SMAP type=01 base=00000000 00100000 len=00000000 1fe60000 SMAP type=03 base=00000000 1ff60000 len=00000000 0001a000 SMAP type=04 base=00000000 1ff7a000 len=00000000 00002000 SMAP type=02 base=00000000 1ff7c000 len=00000000 00004000 SMAP type=02 base=00000000 1ff80000 len=00000000 00080000 SMAP type=02 base=00000000 ff800000 len=00000000 00400000 SMAP type=02 base=00000000 ffc00000 len=00000000 00400000 Copyright (c) 1992-2002 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-20020707-JPSNAP #0: Sat Jul 6 22:52:25 GMT 2002 root@ushi.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc05d0000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05d00b4. Calibrating clock(s) ... TSC clock: 1794138564 Hz, i8254 clock: 1193155 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 1794188376 Hz CPU: Pentium 4 (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536215552 (523648K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x005f7000 - 0x1ff57fff, 529928192 bytes (129377 pages) avail memory = 514093056 (502044K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f7000 bios32: Entry = 0xfd7e0 (c00fd7e0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd770+0x18e pnpbios: Found PnP BIOS data at 0xc00f7060 pnpbios: Entry = f0000:9d6a Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: null: random: mem: pci_open(1): mode 1 addr port (0x0cf8) is 0x8000f904 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=1a308086) Using $PIR table, 14 entries at 0xc00fdeb0 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST acpi0: power button is handled as a fixed feature programming model. ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 ACPI timer looks GOOD min = 3, max = 4, width = 2 Timecounter "ACPI-fast" frequency 3579545 Hz ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST ACPI-1351: *** Error: Method execution failed, AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_tz0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base e0000000, size 26, enabled found-> vendor=0x8086, dev=0x1a30, revid=0x04 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x1a31, revid=0x04 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 map[20]: type 4, range 32, base 00001800, size 5, enabled found-> vendor=0x8086, dev=0x2482, revid=0x02 bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 intpin=a, irq=11 map[20]: type 4, range 32, base 00001820, size 5, enabled found-> vendor=0x8086, dev=0x2484, revid=0x02 bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[20]: type 4, range 32, base 00001840, size 5, enabled found-> vendor=0x8086, dev=0x2487, revid=0x02 bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=c, irq=11 found-> vendor=0x8086, dev=0x2448, revid=0x42 bus=0, slot=30, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 found-> vendor=0x8086, dev=0x248c, revid=0x02 bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 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 found-> vendor=0x8086, dev=0x248a, revid=0x02 bus=0, slot=31, func=1 class=01-01-8a, hdrtype=0x00, mfdev=0 intpin=a, irq=255 map[20]: type 4, range 32, base 00001880, size 5, enabled found-> vendor=0x8086, dev=0x2483, revid=0x02 bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[10]: type 4, range 32, base 00001c00, size 8, enabled map[14]: type 4, range 32, base 000018c0, size 6, enabled found-> vendor=0x8086, dev=0x2485, revid=0x02 bus=0, slot=31, func=5 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 map[10]: type 4, range 32, base 00002400, size 8, enabled map[14]: type 4, range 32, base 00002000, size 7, enabled found-> vendor=0x8086, dev=0x2486, revid=0x02 bus=0, slot=31, func=6 class=07-03-00, hdrtype=0x00, mfdev=0 intpin=b, irq=11 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x3000-0x3fff pcib1: memory decode 0xd0100000-0xd01fffff pcib1: prefetched decode 0xe8000000-0xefffffff pci1: physical bus=1 map[10]: type 3, range 32, base e8000000, size 27, enabled map[14]: type 4, range 32, base 00003000, size 8, enabled map[18]: type 1, range 32, base d0100000, size 16, enabled found-> vendor=0x1002, dev=0x4c57, revid=0x00 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) uhci0: port 0x1800-0x181f irq 11 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 11 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 11 at device 29.2 on pci0 uhci2: (New UHCI DeviceId=0x24878086) usb2: on uhci2 usb2: USB revision 1.0 uhub2: (0x24878086) UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pcib2: secondary bus 2 pcib2: subordinate bus 8 pcib2: I/O decode 0x4000-0x8fff pcib2: memory decode 0xd0200000-0xdfffffff pcib2: prefetched decode 0xf0000000-0xf80fffff pci2: physical bus=2 map[10]: type 1, range 32, base 50000000, size 12, enabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 51000000, size 12, enabled found-> vendor=0x104c, dev=0xac55, revid=0x01 bus=2, slot=0, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 intpin=b, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base f8000000, size 12, enabled found-> vendor=0x1260, dev=0x3873, revid=0x01 bus=2, slot=2, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base d0200000, size 12, enabled map[14]: type 4, range 32, base 00008000, size 6, enabled found-> vendor=0x8086, dev=0x1031, revid=0x42 bus=2, slot=8, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 2 supports D0 D1 D2 D3 current D0 pci2: on pcib2 Found unknown YENTA PCI-CardBus Bridge devid 0xac55104c pcic0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 pcib2: device pcic0 requested unsupported memory range 0x50000000-0x50000fff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) pcic0: Could not map register memory device_probe_and_attach: pcic0 attach returned 12 Found unknown YENTA PCI-CardBus Bridge devid 0xac55104c pcic0: mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2 pcib2: device pcic0 requested unsupported memory range 0x51000000-0x51000fff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) pcic0: Could not map register memory device_probe_and_attach: pcic0 attach returned 12 wi0: mem 0xf8000000-0xf8000fff irq 11 at device 2.0 on pci2 pcib2: device wi0 requested unsupported memory range 0x0-0xdfffffff (decoding 0xd0200000-0xdfffffff, 0xf0000000-0xf80fffff) wi0: No Mem space on prism2.5? device_probe_and_attach: wi0 attach returned 6 fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 pcib2: device fxp0 requested decoded memory range 0xd0200000-0xd0200fff fxp0: using memory space register mapping fxp0: Ethernet address 00:09:6b:10:6e:10 fxp0: PCI IDs: 8086 1031 1014 0209 0042 fxp0: Dynamic Standby mode is disabled inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: fxp0 attached isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1860 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1868 ata1: mask=03 ostat0=50 ostat2=00 ata1-master: ATAPI 14 eb ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) pci0: at device 31.6 (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 0x54ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000 psm0: unable to allocate IRQ 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 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console ppc0: using extended I/O port range ppc0: SPP ppc0 port 0x3bc-0x3c3 irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 unknown: not probed (disabled) sio1: irq maps: 0x41 0x49 0x41 0x41 sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A acpi_ec0: port 0x66,0x62 on acpi0 unknown: not probed (disabled) acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) unknown: not probed (disabled) eisa0: on motherboard eisa0: unknown card @@@0000 (0x00000000) at slot 1 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 sio: sio1 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: