On 04/30/10 14:47, Markus Bergkvist wrote:
Hi!
This looks same as problem on my hp 6930p. According to Jordan it's some
reference counting bug somewhere. This makes it boot...
Index: dsdt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.157
diff -u -p -r1.157 dsdt.c
--- dsdt.c 5 Dec 2009 02:38:11 -0000 1.157
+++ dsdt.c 23 Jan 2010 23:49:46 -0000
@@ -3629,7 +3629,7 @@ aml_xparse(struct aml_scope *scope, int
aml_freevalue(opargs[1]);
/* Create Object Reference */
- _aml_setvalue(opargs[1], AML_OBJTYPE_OBJREF, opcode, opargs[0]);
+ _aml_setvalue(opargs[1], AML_OBJTYPE_INTEGER, 0xDEADBEEF, opargs[0]);
aml_xaddref(opargs[1], "CondRef");
/* Mark that we found it */
Looks like the same problem I have on my hp 6730b. The diff makes it
boot, but if I plug or unplug the ac I get the panic below and the only
way to leave ddb is hard reboot.
Disabled acpiec makes it boot too and I've not seen any crashes yet.
With acpiec disabled, I get the following panic kernel whenever I unplug
bge0 or booting with unplugged bge0:
panic: config_detach: forced detach of bge0 failed (45)
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger() at Debugger+0x5
panic() at panic+0x122
config_detach() at config_detach+0x27f
config_detach_children() at config_detach_children+0x45
pci_detach_devices() at pci_detach_devices+0x19
ppb_hotplug_remove() at ppb_hotplug_remove+0x25
workq_thread() at workq_thread+0x33
end trace frame: 0x0, count: -7
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
14415 1 14415 0 3 0x2040180 select sendmail
17029 1 17029 0 3 0x2004082 ttyin getty
7293 1 7293 0 3 0x2004082 ttyin getty
22691 1 22691 0 3 0x2004082 ttyin getty
19269 1 19269 0 3 0x2004082 ttyin getty
15093 1 15093 0 3 0x2004082 ttyin getty
21361 1 21361 0 3 0x2000080 select cron
27431 1 27431 0 3 0x2000180 select inetd
19108 1 19108 0 3 0x2000080 select sshd
78 8648 8648 74 7 0x2000580 pflogd
8648 1 8648 0 3 0x2000080 netio pflogd
27424 24257 24257 73 3 0x2000180 poll syslogd
24257 1 24257 0 3 0x2000088 netio syslogd
29527 1 29527 77 3 0x2000180 poll dhclient
8188 1 23013 0 3 0x2000082 poll dhclient
21 0 0 0 3 0x2100200 bored crypto
20 0 0 0 3 0x2100200 aiodoned aiodoned
19 0 0 0 3 0x2100200 syncer update
18 0 0 0 3 0x2100200 cleaner cleaner
17 0 0 0 3 0x100200 reaper reaper
16 0 0 0 3 0x2100200 pgdaemon pagedaemon
15 0 0 0 3 0x2100200 pftm pfpurge
14 0 0 0 3 0x2100200 usbevt usb7
13 0 0 0 3 0x2100200 usbevt usb6
12 0 0 0 3 0x2100200 usbevt usb5
11 0 0 0 3 0x2100200 usbevt usb4
10 0 0 0 3 0x2100200 usbevt usb3
9 0 0 0 3 0x2100200 usbevt usb2
8 0 0 0 3 0x2100200 usbevt usb1
7 0 0 0 3 0x2100200 usbtsk usbtask
6 0 0 0 3 0x2100200 usbevt usb0
5 0 0 0 3 0x2100200 asleep acpi0
4 0 0 0 3 0x40100200 idle1
* 3 0 0 0 7 0x2100200 syswq
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
ddb{0}> mach ddbcpu 1
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND ge0LUPEYOUePd timEN Rut
TING THI: PANIre
IF RUNNING
SMP, bgS0 'mac rdabcpu <# outND 'trbace' OP YTHeR ROCESSout
TOO.bge0: NOT Eead BOmed ouE
ORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{1}> bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
... goes on "forever"