Opened 10 months ago

Last modified 8 months ago

#16358 new bug

Boot from CD Fails With "PANIC: did not find any boot partitions!"

Reported by: petal Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/ATA Version: R1/Development
Keywords: Cc:
Blocked By: #6558 Blocking:
Platform: All

Description

Summary

When booting from CD on my x86 system, all proceeds as expected through the fifth icon, at which point a kernel panic occurs with the error PANIC: did not find any boot partitions!

Tested on both R1/beta2 and Nightly hrev54384-x86_gcc2h.

Details

The system is a Compaq Presario 3000 (Model: 3045us) Pentium 4 laptop (an ancient machine, circa 2003; the best remaining online source for some specs is available here: https://www.cnet.com/products/hp-compaq-presario-3045us/specs/).

It is a stock machine, except for the HDD which has been replaced with a generic PATA-to-mSATA board and a 256GiB mSATA drive; and an upgrade to 1GiB of PC3200 RAM. The conversion board board (like many of these conversion boards, I'm told) doas not handle DMA correctly. Booting with IDE DMA disabled did not fix the problem. If it helps to inspire any confidence, this board has worked with other operating systems with IDE DMA disabled.

Various combinations of debugging options (Safe mode, Disable IDE DMA, Disable ACPI, etc.) did not get me any further.

Attachments

My apologies for the the pic attachments. Even with a USB drive plugged in, no "Display syslog from previous session" or "Save syslog from previous session" message appeared in the debug menu. The attached pics are of the panic message, and the last few screens of the syslog. I would be happy to photograph more and send it along if it would help. (At 640x480, the syslog is about 20 screens long).

Attachments (30)

IMG_20200704_122232.jpg (2.3 MB ) - added by petal 10 months ago.
Kernel Panic Message
IMG_20200704_122324.jpg (2.2 MB ) - added by petal 10 months ago.
Syslog Tail, p1/4
IMG_20200704_122339.jpg (2.1 MB ) - added by petal 10 months ago.
Syslog Tail, p2/4
IMG_20200704_122358.jpg (2.3 MB ) - added by petal 10 months ago.
Syslog Tail, p3/4
IMG_20200704_122419.jpg (2.3 MB ) - added by petal 10 months ago.
Syslog Tail, p4/4
IMG_20200704_161743.jpg (2.6 MB ) - added by petal 10 months ago.
syslog Middle, 1/5
IMG_20200704_161757.jpg (2.9 MB ) - added by petal 10 months ago.
syslog Middle, 2/5
IMG_20200704_161820.jpg (2.3 MB ) - added by petal 10 months ago.
syslog Middle, 3/5
IMG_20200704_161835.jpg (2.5 MB ) - added by petal 10 months ago.
syslog Middle, 4/5
IMG_20200704_161850.jpg (2.3 MB ) - added by petal 10 months ago.
syslog Middle, 5/5
IMG_20200712_171333.jpg (2.6 MB ) - added by petal 9 months ago.
hrev54418 syslog, 1/20
IMG_20200712_171350.jpg (2.5 MB ) - added by petal 9 months ago.
hrev54418 syslog, 2/20
IMG_20200712_171421.jpg (2.5 MB ) - added by petal 9 months ago.
hrev54418 syslog, 3/20
IMG_20200712_171434.jpg (2.8 MB ) - added by petal 9 months ago.
hrev54418 syslog, 4/20
IMG_20200712_171511.jpg (2.9 MB ) - added by petal 9 months ago.
hrev54418 syslog, 5/20
IMG_20200712_171529.jpg (2.9 MB ) - added by petal 9 months ago.
hrev54418 syslog, 6/20
IMG_20200712_171544.jpg (2.8 MB ) - added by petal 9 months ago.
hrev54418 syslog, 7/20
IMG_20200712_171605.jpg (3.0 MB ) - added by petal 9 months ago.
hrev54418 syslog, 8/20
IMG_20200712_171621.jpg (3.0 MB ) - added by petal 9 months ago.
hrev54418 syslog, 9/20
IMG_20200712_171641.jpg (2.7 MB ) - added by petal 9 months ago.
hrev54418 syslog, 10/20
IMG_20200712_171659.jpg (2.7 MB ) - added by petal 9 months ago.
hrev54418 syslog, 11/20
IMG_20200712_171716.jpg (2.7 MB ) - added by petal 9 months ago.
hrev54418 syslog, 12/20
IMG_20200712_171738.jpg (2.3 MB ) - added by petal 9 months ago.
hrev54418 syslog, 13/20
IMG_20200712_171753.jpg (2.5 MB ) - added by petal 9 months ago.
hrev54418 syslog, 14/20
IMG_20200712_171813.jpg (2.4 MB ) - added by petal 9 months ago.
hrev54418 syslog, 15/20
IMG_20200712_171831.jpg (2.3 MB ) - added by petal 9 months ago.
hrev54418 syslog, 16/20
IMG_20200712_171906.jpg (2.3 MB ) - added by petal 9 months ago.
hrev54418 syslog, 17/20
IMG_20200712_171924.jpg (2.3 MB ) - added by petal 9 months ago.
hrev54418 syslog, 18/20
IMG_20200712_171943.jpg (2.2 MB ) - added by petal 9 months ago.
hrev54418 syslog, 19/20
IMG_20200712_172001.jpg (2.0 MB ) - added by petal 9 months ago.
hrev54418 syslog, 20/20

Change History (43)

by petal, 10 months ago

Attachment: IMG_20200704_122232.jpg added

Kernel Panic Message

by petal, 10 months ago

Attachment: IMG_20200704_122324.jpg added

Syslog Tail, p1/4

by petal, 10 months ago

Attachment: IMG_20200704_122339.jpg added

Syslog Tail, p2/4

by petal, 10 months ago

Attachment: IMG_20200704_122358.jpg added

Syslog Tail, p3/4

by petal, 10 months ago

Attachment: IMG_20200704_122419.jpg added

Syslog Tail, p4/4

comment:1 by diver, 10 months ago

Component: - GeneralDrivers/Disk/ATA
Platform: x86All

comment:2 by mmlr, 10 months ago

It's a bit odd, as the last part of the syslog clearly shows that the right partition was found. Offsets and sizes look sane, so the actual error has to be earlier. Can you attach screenshots from before the very verbose disk dump starts?

Can you also check whether or not the boot volume shows up in the boot loader menu and try selecting it explicitly?

Regarding the "previous syslog", did you reboot via button or by running the "reboot" command in KDL? The latter should soft reset the machine so that the debug syslog remains intact.

by petal, 10 months ago

Attachment: IMG_20200704_161743.jpg added

syslog Middle, 1/5

by petal, 10 months ago

Attachment: IMG_20200704_161757.jpg added

syslog Middle, 2/5

by petal, 10 months ago

Attachment: IMG_20200704_161820.jpg added

syslog Middle, 3/5

by petal, 10 months ago

Attachment: IMG_20200704_161835.jpg added

syslog Middle, 4/5

by petal, 10 months ago

Attachment: IMG_20200704_161850.jpg added

syslog Middle, 5/5

comment:3 by petal, 10 months ago

Please find the requested pics attached. I started taking photos when ACPI and usb messages started showing up; please let me know if I should still go further back.

No boot volume shows up in the boot loader menu. My apologies for not saying so earlier: the disk is entirely blank (formatted "cleared" with GParted) with a 1MB offset from the start of the disk. This error is entirely pre-installation. (The same result occurs when formatted with "unformatted," and whether the boot flag is active or not seems to make no difference).

My reboots have all been via "reboot" in KDL, with no luck, I'm sorry to say =/.

comment:4 by mmlr, 10 months ago

The boot message dump tells that it uses the hard disk boot method, which is unexpected. As you're running from a CD, the CD boot method should be used. This affects how the boot device and boot volume are selected and probably leads to this. I have not yet checked how the device type is detected, but I would expect the BIOS to report the CD as a hard disk, possibly because it has an MBR due to the anyboot layout.

comment:5 by bitigchi, 9 months ago

Maybe duplicate of #6558?

comment:6 by waddlesplash, 9 months ago

Blocked By: 6558 added

Seems probable.

comment:7 by mmlr, 9 months ago

The syslog there shows that it got a boot method CD, so this seems different.

In both cases the boot partition is indeed readable and identified properly, but then not used. In this case, due to the wrong boot method, the selection is probably too strict.

One could argue that in both cases it should maybe try harder and boot the most probable target if none can be exactly determined. There is only a single possible boot source in this case. This would then possibly lead to a case where firmware is able to read a volume and make it available to the bootloader that we don't actually have a driver for. In such a case we would then maybe boot a wrong partition. This would probably still be better than failing also in straight forward cases like the one here.

comment:8 by mmlr, 9 months ago

Can you retry with >= hrev54418? This might be affected by the PCI 64 bit detection bug that caused IO ports to be skipped.

From the first "middle" picture it also shows all USB controllers failing to init and a PCI read failure. So there may be a more fundamental PCI init issue at hand.

comment:9 by petal, 9 months ago

Sorry for the delay! It took me a bit to find some time to give this a go.

The bottom line

Booting still fails with the same error message.

No USB stick is detected, and the option to save the previous syslog is not displayed in the debug options of the boot loader options menu. So... a series of syslog pics will again be attached. I'm sorry for this!

Some Details

  • In the meantime, I've installed another OS on this system, so there's no empty partition to install to. I assume this shouldn't make a difference, but I thought it be worth mentioning.
  • These boot attempts were made on hrev54418-x86_gcc2h
  • Attepmts were made both as-is, and with the "Safe Mode" and "Disable IDE DMA" boot options at 640x480 switched on.
  • A complete syslog in pics will be attached following this message.

Thanks for your continuing help! Please let me know if I'm forgetting anything or can contribute further.

by petal, 9 months ago

Attachment: IMG_20200712_171333.jpg added

hrev54418 syslog, 1/20

by petal, 9 months ago

Attachment: IMG_20200712_171350.jpg added

hrev54418 syslog, 2/20

by petal, 9 months ago

Attachment: IMG_20200712_171421.jpg added

hrev54418 syslog, 3/20

comment:10 by waddlesplash, 9 months ago

Please do not attach all 20 syslogs here. If you can, make an Imgur album with them or upload them elsewhere, and we can then select only the relevant ones.

by petal, 9 months ago

Attachment: IMG_20200712_171434.jpg added

hrev54418 syslog, 4/20

by petal, 9 months ago

Attachment: IMG_20200712_171511.jpg added

hrev54418 syslog, 5/20

by petal, 9 months ago

Attachment: IMG_20200712_171529.jpg added

hrev54418 syslog, 6/20

by petal, 9 months ago

Attachment: IMG_20200712_171544.jpg added

hrev54418 syslog, 7/20

by petal, 9 months ago

Attachment: IMG_20200712_171605.jpg added

hrev54418 syslog, 8/20

by petal, 9 months ago

Attachment: IMG_20200712_171621.jpg added

hrev54418 syslog, 9/20

by petal, 9 months ago

Attachment: IMG_20200712_171641.jpg added

hrev54418 syslog, 10/20

by petal, 9 months ago

Attachment: IMG_20200712_171659.jpg added

hrev54418 syslog, 11/20

by petal, 9 months ago

Attachment: IMG_20200712_171716.jpg added

hrev54418 syslog, 12/20

by petal, 9 months ago

Attachment: IMG_20200712_171738.jpg added

hrev54418 syslog, 13/20

by petal, 9 months ago

Attachment: IMG_20200712_171753.jpg added

hrev54418 syslog, 14/20

by petal, 9 months ago

Attachment: IMG_20200712_171813.jpg added

hrev54418 syslog, 15/20

by petal, 9 months ago

Attachment: IMG_20200712_171831.jpg added

hrev54418 syslog, 16/20

by petal, 9 months ago

Attachment: IMG_20200712_171906.jpg added

hrev54418 syslog, 17/20

by petal, 9 months ago

Attachment: IMG_20200712_171924.jpg added

hrev54418 syslog, 18/20

by petal, 9 months ago

Attachment: IMG_20200712_171943.jpg added

hrev54418 syslog, 19/20

by petal, 9 months ago

Attachment: IMG_20200712_172001.jpg added

hrev54418 syslog, 20/20

comment:11 by mmlr, 8 months ago

I've finally been able to look through the pictures here and at least why the USB stick isn't seen in the bootloader and USB init fails is now clear: The firmware apparently doesn't initialize the USB controllers on the PCI side. Their interrupt configuration and BARs are all unconfigured, so they are unusable (due to #3 and #5). Can you check if there's a USB legacy support or "boot from USB" setting to turn on in the BIOS? Might also be a "PnP OS installed" setting that you could turn off. If that'd work you could possibly try a USB boot instead of using the CD.

There are no other errors or indications that something else is going wrong, so to me the CD boot issue still looks like one of having the wrong boot method and therefore disregarding the valid looking CD.

comment:12 by petal, 8 months ago

Thanks once again for following up on this! Unfortunately, this laptop is *just* a bit too old (circa 2003) for a Boot from USB option (in fact, it came bundled with the first flash drive I'd ever seen, at a whopping 16MB!); only booting from Floppy, Hard Drive, or CD are supported.

There *is* a Legacy USB option in the BIOS, but the stick is not detected for logging purposes whether this option is enabled or not.

No "PnP OS installed" option is available.

So, unfortunately, I'm stuck with CD for the time being =].

comment:13 by diver, 8 months ago

IIRC there is a Plop Boot Manager (https://www.plop.at/en/bootmanager/usbinfo.html) that can be used to boot from USB drives even if BIOS doesn't support USB booting.

Note: See TracTickets for help on using tickets.