Kernel panic with HP Compaq dc7800 and ACPI (with attachement)

View: New views
2 Messages — Rating Filter:   Alert me  

Kernel panic with HP Compaq dc7800 and ACPI (with attachement)

by Aurélien-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oups... Correct version with attachement. Sorry.

When booting a 4.2-current kernel on a HP Compaq dc7800, the system crashes if ACPI is enabled (this is by default with current).

Attached a dmesg. I can test patches if necessary.
The same problem arises on Linux 2.6, so this might be related to the BIOS.

Sincerely,

Aurelien.

OpenBSD 4.2-current (GENERIC) #657: Mon Feb 11 19:17:03 MST 2008
    pvalchev@...:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem  = 2116313088 (2018MB)
avail mem = 2038419456 (1943MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/18/07, BIOS32 rev. 0 @ 0xe8790, SMBIOS rev. 2.5 @ 0xea0c0 (76 entries)
bios0: vendor Hewlett-Packard version "786F1 v01.04" date 07/18/2007
bios0: Hewlett-Packard HP Compaq dc7800 Convertible Minitower
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET DMAR
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) PEG2(S4) IGBE(S4) PCX1(S4) PCX2(S4) PCX5(S4) PCX6(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) EUS1(S3) EUS2(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0 [\DCHM] 0xd28b6544 cnt:02 stk:00 field: bitpos=19f8 bitlen=0120 ref1:d28a6004 ref2:0 [Field]
 [\BIOS] 0xd28a6004 cnt:99 stk:00 opregion: 00,000e5c40,1fcb
wrong setbufint type 5

216f Called: \GDBF
  arg0:  0xd286e710 cnt:01 stk:00 objref: 0xd28b6544 index:ffffffff
 [\DCHM] 0xd28b6544 cnt:02 stk:00 field: bitpos=19f8 bitlen=0120 ref1:d28a6004 ref2:0 [Field]
 [\BIOS] 0xd28a6004 cnt:99 stk:00 opregion: 00,000e5c40,1fcb
  arg1:  0xd286e73c cnt:01 stk:00 objref: 0xd28dbc3c index:ffffffff
 0xd28dbc3c cnt:00 stk:61 integer: 0
2487 Called: \_SB_.PCI0._CRS
  local0:  0xd28dbc10 cnt:00 stk:60 integer: d0
  local1:  0xd28dbc3c cnt:00 stk:61 integer: 0
panic: aml_die aml_setbufint:988
Stopped at      Debugger+0x4:   leave
Debugger(d0789a90,d28c2e90,d090b578,8,160) at Debugger+0x4
panic(d077d955,d077da34,3dc,d28dbc10,d28a6004) at panic+0x63
_aml_die(d077da34,3dc,d077da1b,5,d28b6544,0,d090b5d8,d0445ca9) at _aml_die+0x46

aml_setbufint(d28dd9d0,0,20,d28b6544) at aml_setbufint+0x38
aml_fieldio(d28ddc04,d28ddb84,d28dd9d0,0,d28ddc04) at aml_fieldio+0x5f
aml_derefvalue(d28ddc04,d28ddb84,0,d28dda10,d28dda50) at aml_derefvalue+0xcb
aml_evalterm(d28ddc04,d28dda10,d28dda50,d0672eb1,38) at aml_evalterm+0x20
aml_parseterm(d28ddc04,d28dda50,d090b738,d05ce28d,d28ddc04) at aml_parseterm+0x37
aml_parseref(d28ddc04,a4,d28dda90,7d) at aml_parseref+0x27e
aml_parseop(d28ddc04,d28dda90,74) at aml_parseop+0xe6
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
*    0     -1      0      0  7     0x80200                swapper

ddb> trace
Debugger(d0789a90,d28c2e90,d090b578,8,160) at Debugger+0x4
panic(d077d955,d077da34,3dc,d28dbc10,d28a6004) at panic+0x63
_aml_die(d077da34,3dc,d077da1b,5,d28b6544,0,d090b5d8,d0445ca9) at _aml_die+0x46
aml_setbufint(d28dd9d0,0,20,d28b6544) at aml_setbufint+0x38
aml_fieldio(d28ddc04,d28ddb84,d28dd9d0,0,d28ddc04) at aml_fieldio+0x5f
aml_derefvalue(d28ddc04,d28ddb84,0,d28dda10,d28dda50) at aml_derefvalue+0xcb
aml_evalterm(d28ddc04,d28dda10,d28dda50,d0672eb1,38) at aml_evalterm+0x20
aml_parseterm(d28ddc04,d28dda50,d090b738,d05ce28d,d28ddc04) at aml_parseterm+0x37
aml_parseref(d28ddc04,a4,d28dda90,7d) at aml_parseref+0x27e
aml_parseop(d28ddc04,d28dda90,74) at aml_parseop+0xe6
aml_parseterm(d28ddc04,d286e768,390,d05ce28d,d28ddc04) at aml_parseterm+0x2c
aml_callmethod(d28ddc04,d286e768,d28ab19b,d28c1644,d28da244) at aml_callmethod+0x26
aml_evalmethod(d28da244,d28c1644,2,d286e710,d286e768,d286e73c,74,d286e710) at aml_evalmethod+0x41
aml_derefvalue(d28da244,d28c1604,1,101) at aml_derefvalue+0x8d
aml_derefvalue(d28da244,d28ddc50,0,d28ddc50,d28ddcd0) at aml_derefvalue+0xf6
aml_evalterm(d28da244,d28ddc50,d28ddcd0,d0672eb1,38) at aml_evalterm+0x20
aml_parseterm(d28da244,d28ddcd0,d090b8f8) at aml_parseterm+0x37
aml_parseref(d28da244,70,d28ddcd0,a9) at aml_parseref+0xeb
aml_parseop(d28da244,d28ddcd0,74) at aml_parseop+0xe6
aml_parseterm(d28da244,d090ba20,390,30,d28da244) at aml_parseterm+0x2c
aml_callmethod(d28da244,d090ba20,d28ab540,d28c2e84,d077eae2) at aml_callmethod+0x26
aml_evalmethod(0,d28c2e84,0,0,d090ba20) at aml_evalmethod+0x41
aml_evalnode(d28a7e00,d28c2e84,0,0,d090ba20,d090ba20,64,d2894110) at aml_evalnode+0xc7
acpiprt_getpcibus(d28d95c0,d28bca44,d090bac8,d2894120,0) at acpiprt_getpcibus+0x30
acpiprt_attach(d28a7e00,d28d95c0,d090bb50,d28a7e00,d28a7e00) at acpiprt_attach+0x22
config_attach(d28a7e00,d0784288,d090bb50,d0670af4) at config_attach+0xfd
acpi_foundprt(d28bca44,d28a7e00,d06702f8,d28a7e00,0) at acpi_foundprt+0x95
aml_find_node(d28b9844,d077d357,d06702f8,d28a7e00) at aml_find_node+0x6e
aml_find_node(d28b9944,d077d357,d06702f8,d28a7e00) at aml_find_node+0x5f
aml_find_node(d28a6e04,d077d357,d06702f8,d28a7e00,d28a6e04,d077d352,d0670270,d28a7e00) at aml_find_node+0x5f
acpi_attach(d28a6f80,d28a7e00,d090bd50,d28a6f80,0) at acpi_attach+0x431
config_attach(d28a6f80,d0784144,d090bd50,d0602824) at config_attach+0xfd
biosattach(d28a6fc0,d28a6f80,d090be80,d28a6fc0,d0202251) at biosattach+0x33a
config_attach(d28a6fc0,d07833a0,d090be80,d04a4200,d06d1518) at config_attach+0xfd
mainbus_attach(0,d28a6fc0,0,e605a000,d090a334) at mainbus_attach+0x3d
config_attach(0,d0780cf4,0,0,0) at config_attach+0xfd
config_rootfound(d06cfd8b,0,d090bf38,d0477ca2) at config_rootfound+0x27
cpu_configure(d0877b60,1,3,0,2) at cpu_configure+0x29
main(0,0,0,0,0) at main+0x389
ddb>


Re: Kernel panic with HP Compaq dc7800 and ACPI (with attachement)

by Nicolas Legrand-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aurelien <aurelien26@...> writes:

> Oups... Correct version with attachement. Sorry.
>
> When booting a 4.2-current kernel on a HP Compaq dc7800, the system crashes
if ACPI is enabled (this is by default with current).
>
> Attached a dmesg. I can test patches if necessary.
> The same problem arises on Linux 2.6, so this might be related to the BIOS.

I have the same trouble on a dc7700, i have to disable acpiprt* to
avoid the panic. It is like this since i have upgraded from -release
to current. Since i have built the GENERIC kernel with updated source
from CVS, and i still have the trouble, last cvs checkout and build
was yesterday.

On the panic, in ddb, i typed trace, ps, boot dump or boot crash. I
failed to find the kernel panic in /var/log/messages*. I have space in
all partitions, read http://www.openbsd.org/report.html, crash(4),
savecore(8) have ddb.log=1 in sysctl. In /var/crash, i only have B :

$more /var/crash/minfree
4096

The panic message first showB : panic : aml_die aml_setbufint : 988

(Note that disabling the acpiprt is not enough in GENERIC.MP, no panic
but the kernel seems to hang on the hard disk detection. I did not
investigate more.)

I'm sorry not to report the whole message, but i didn't understood how
to get it. I'd be glad to report it if someone is kind enough to tell
me how to do it.

Anyway here is my dmesg with acpiprt disabled with the -c option on bootB :

OpenBSD 4.2-current (GENERIC) #2: Mon Feb 18 12:36:58 CET 2008
    root@xxx:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz ("GenuineIntel" 686-class) 1.87
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SS
E3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 4291720151040 (15021961547293392896MB)
avail mem = 4115583893504 (15021961550783053824MB)
User Kernel Config
UKC> disable 426
426 acpiprt* disabled
UKC> exit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xea130,
SMBIOS rev. 2.4 @ 0xeb9f0 (69 entries)
bios0: vendor Hewlett-Packard version "786E1 v01.05" date 08/30/2006
bios0: Hewlett-Packard HP Compaq dc7700p Convertible Minitower
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC
acpi0: wakeup devices COM1(S4) COM2(S4) PCI0(S4) PEG1(S4) IGBE(S4) PCX1(S4)
PCX2(S4) HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S
3) USB5(S3) EUS1(S3) EUS2(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpiprt at acpi0 not configured
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc0000/0xb000! 0xcb000/0x1000 0xcc000/0x1000
0xe7600/0x8a00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02
agp0 at pchb0: aperture at 0xe0000000, size 0x8000000
vga1 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 "Intel 82Q965 PT IDER" rev 0x02: DMA
(unsupported), channel 0 wired to native-PCI, channel 1 w
ired to native-PCI
pciide0: using irq 10 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
"Intel 82Q965 KT" rev 0x02 at pci0 dev 3 function 3 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: irq 5, address
00:0f:fe:6f:4f:46
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: irq 10
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: irq 11
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: irq 5
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: irq 11
azalia0: codec[s]: Realtek/0x0262
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
pci1 at ppb0 bus 32
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: irq 10
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2
pci2 at ppb1 bus 7
pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC" rev 0x02
pciide1 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0
configured to native-PCI, channel 1 configured t
o native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3160812AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD+-RW GSA-H31L, 1.05> SCSI0 5/cdrom
removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ed6d netmask ed6d ttymask ffef
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

LightInTheBox - Buy quality products at wholesale price!