Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#357 closed bug (invalid)

Recent boot changes broke booting

Reported by: johndrinkwater Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

boot_loader shows "PANIC: could not mount boot device!"

serial output attached

Attachments (3)

faultyboot (18.6 KB) - added by johndrinkwater 13 years ago.
serial
faultyboottracediff (2.3 KB) - added by johndrinkwater 13 years ago.
serial output with trace on; diffed to the previous
faultybootfulldiff (6.5 KB) - added by johndrinkwater 13 years ago.
After the additional changes the vfs_boot

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by axeld

The log didn't tell me that much, though. Could you try again with hrev16917? I've made the boot device recognition less strict, maybe this fixes it already.

If not, could you add some more debug output to the boot loader and kernel if I tell you where?

Changed 13 years ago by johndrinkwater

Attachment: faultyboot added

serial

comment:2 Changed 13 years ago by johndrinkwater

Status: newclosed

comment:3 Changed 13 years ago by johndrinkwater

Yup, 16917 fixed it :) If you'd still like some additional output (would probably be useful for reference?), i'd be happy to help.

thanks

comment:4 Changed 13 years ago by johndrinkwater

Resolution: worksforme

comment:5 Changed 13 years ago by axeld

You could turn on tracing in the src/system/boot/platform/bios_ia32/devices.cpp (by defining TRACE_DEVICES), as well as either dumping the device via KDiskDevice::Dump() or printing out its size via KDiskDevice::Size() in src/system/kernel/fs/vfs_boot.cpp:is_boot_device(). Just for reference, and thanks :-)

comment:6 Changed 13 years ago by axeld

You didn't make the change to src/system/kernel/fs/vfs_boot.cpp - only having one side of the story isn't that helpful in this case, though.

Changed 13 years ago by johndrinkwater

Attachment: faultyboottracediff added

serial output with trace on; diffed to the previous

comment:7 Changed 13 years ago by johndrinkwater

attachments.isobsolete: 01

Changed 13 years ago by johndrinkwater

Attachment: faultybootfulldiff added

After the additional changes the vfs_boot

Note: See TracTickets for help on using tickets.