For four days i've been experiencing random complete deadlocks of amd64 8.0-RELASE or 8.0-STABLE on a brand new system.
Now it seems i've found the problem.
On a motherboard with EFI (all latest Intel boards), enabling USB legacy support causes random lockups of FreeBSD.
I found sort-of-a-solution here:
http://lists.freebsd.org/pipermail/freebsd-current/2009-August/010778.html
and i'got no idea how to modify this fix (what to put in sysenv?) for my problem.
A couple of strange things:
hangs were completely random, not in any way related to load or connected devices.
I can make it hang by just opening ddb with c-a-esc and typing continue.
ddb won't open after it hangs
it locks with debug kernel (developers-handbook/kerneldebug-deadlocks.html), i.e. no coredump, no panic, frozen and dead.
get this panic with boot -d:
AP #2 (PHY# 2) failed!
Dmidecode: http://pastebin.com/XwUWRDpn
dmesg: http://pastebin.com/vCyePKXg
uname -a:
M/B: INTEL DG43GT, latest bios
8.0-Stable as of today (11.03.2010)
I'm currently going to wait couple days to be sure I found the cause of a deadlock correctly.
The question:
What do i put into machdep.c so I can enable usb legacy in bios to get my keyboard at boot time?
Will there be a more general solution for this problem in the future? It seems now it simply looks for mac hardware with efi.
Now it seems i've found the problem.
On a motherboard with EFI (all latest Intel boards), enabling USB legacy support causes random lockups of FreeBSD.
I found sort-of-a-solution here:
http://lists.freebsd.org/pipermail/freebsd-current/2009-August/010778.html
and i'got no idea how to modify this fix (what to put in sysenv?) for my problem.
A couple of strange things:
hangs were completely random, not in any way related to load or connected devices.
I can make it hang by just opening ddb with c-a-esc and typing continue.
ddb won't open after it hangs
it locks with debug kernel (developers-handbook/kerneldebug-deadlocks.html), i.e. no coredump, no panic, frozen and dead.
get this panic with boot -d:
AP #2 (PHY# 2) failed!
Dmidecode: http://pastebin.com/XwUWRDpn
dmesg: http://pastebin.com/vCyePKXg
uname -a:
Code:
FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #2: Thu Mar 11 23:50:33 MSK 2010 root@c:/usr/obj/usr/src/sys/ml amd64
8.0-Stable as of today (11.03.2010)
I'm currently going to wait couple days to be sure I found the cause of a deadlock correctly.
The question:
What do i put into machdep.c so I can enable usb legacy in bios to get my keyboard at boot time?
Will there be a more general solution for this problem in the future? It seems now it simply looks for mac hardware with efi.