Opened 16 years ago
Closed 16 years ago
#2776 closed bug (fixed)
Regression: r27752 broke booting
Reported by: | luroh | Owned by: | bonefish |
---|---|---|---|
Priority: | critical | Milestone: | R1/alpha1 |
Component: | System | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Attachments (6)
Change History (23)
by , 16 years ago
by , 16 years ago
Attachment: | haiku-serial-port.txt added |
---|
comment:1 by , 16 years ago
by , 16 years ago
Attachment: | serial_r27758.txt.zip added |
---|
comment:3 by , 16 years ago
Thanks! I fixed a bug in hrev27760 that might be related or even cause this bug. If the problem still persists, please provide a new serial output, since I also added some more debug output.
by , 16 years ago
Attachment: | serial_r27761.txt.zip added |
---|
comment:5 by , 16 years ago
Summary: | Regression: r27752 broke booting in VMware → Regression: r27752 broke booting |
---|
FWIW, same happens on real hw as well.
comment:6 by , 16 years ago
I've no idea what's wrong. Everything works fine here, in VMware as well as on real hardware, gcc 2 and gcc 4. The module debug output from your syslog looks as it should.
The stack crawl suggests that gUSBStack in the USB bus manager module is NULL. According to the module debug output the initialization function that should set it is invoked, it is not uninitialized later, nor is a second image with the USB bus manager loaded. So everything should be fine.
You could try to also enable USB tracing (uncomment the #define TRACE_USB
in src/add-ons/kernel/bus_managers/usb/usb_p.h). Maybe Michael has an idea.
comment:7 by , 16 years ago
It's like deja vue all over again. ;)
Thanks for the advice, USB tracing enabled in serial_r27763.txt.
by , 16 years ago
Attachment: | serial_r27763.txt.zip added |
---|
comment:8 by , 16 years ago
bonefish: Reading a recent commit log of yours, I guess you might be building Haiku with -j2 or some such option, correct? Now, I'll be the first to admit that I don't know the first thing about jam, but I do know that I have had problems with concurrent jam jobs in the past, i.e., ending up with various degrees of different program behaviour. This prompted me to go back to jam -q and the occasional jam -aq. Could this be the cause of what we're seeing here? You not being able to repeat the problem, I mean.
comment:9 by , 16 years ago
Milestone: | R1 → R1/alpha1 |
---|---|
Priority: | normal → critical |
Hi luroh,
Just curious, when it KDLs, can you grab the output of team_images 1
from the kernel debugger? I'm wondering if the same thing is happening that happened to me where the PCI bus manager's image was loaded twice, which resulted in a NULL ptr due to the second image not having been completely initialized. I can't test myself right now due to systems being packed for moving.
comment:10 by , 16 years ago
anevilyak: Hi! Doesn't look like it, team_images_1.txt excerpt attached.
by , 16 years ago
Attachment: | team_images_1.txt added |
---|
comment:11 by , 16 years ago
Hi,
for me it's a bit different, i don't get that kdl really over here. My vmx file has been changed to use 2 cpu's and 512 mb ram. Reverting this back gives the KDL as in the panic.png screenshot, but having two cpus it simply stops, no kdl. About the jam thing, I'm using it like jam -aqj 4 without any problems since months.
Karsten
comment:12 by , 16 years ago
julun: I can confirm, numvcpus = "2" makes it hang at the red rocket, pressing F12 does nothing.
comment:13 by , 16 years ago
Hi,
I've uploaded such an unbootable image, one can get get it here:
www.julun.de/haiku/haiku.tar.bz2
Karsten
comment:14 by , 16 years ago
Blocking: | 2778 removed |
---|---|
Owner: | changed from | to
Status: | new → assigned |
My VMware is already configured for 1 CPU, but I can reproduce the problem with qemu.
comment:15 by , 16 years ago
There is (broken) code in the USB module to handle R5 where the module is loaded multiple times. If that was the case and one of the modules would get unloaded afterwards (which never happens in case of R5) a crash would occure. But from the supplied syslogs here, it doesn't look like this is happening at all, because the corresponding message "usb_module: uninit" is not present and also it doesn't look like the module is loaded multiple times at all. I'll #ifdef that code out anyway though.
If you build your images yourself, please update to hrev27758 and enable tracing in src/system/kernel/module.cpp (uncomment the
#define TRACE_MODULE
line).