Opened 5 weeks ago

Last modified 3 weeks ago

#15020 new bug

did not find any boot partition with 2 disks attached

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev53081 x86_64 in VMware 15.0.4.

Haiku books ok with one nvme disk attached, however once I add my 20GB data disk haiku panics with "did not find any boot partition".

Attaching it as ide (instead of nvme) allows Haiku to boot and see both disks.

Change History (11)

comment:1 Changed 5 weeks ago by waddlesplash

Almost certainly a dupe of #14475 -- also occurs under SATA when there is a BFS partition on said disk, it seems.

comment:2 Changed 5 weeks ago by waddlesplash

Please retest after hrev53082.

comment:3 Changed 5 weeks ago by CodeforEvolution

I found this same sort of behavior too under Virtualbox with a version beyond hrev53082, except I was mounting two nvme devices for data storage, and only one would show up as mountable when booting Haiku from its own device under SATA. Looking at the driver, does this have to do with the lack of multiple nvme namespaces support?

comment:4 Changed 5 weeks ago by waddlesplash

Possibly, but that would be strange, as my understanding is that NVMe namespaces are supposed to be modifiable by the operating system. So if VirtualBox exposed each disk as its own namespace, this would kind of defeat the entire purpose of namespaces in NVMe.

comment:5 Changed 5 weeks ago by waddlesplash

I also note that VirtualBox's NVMe support is unacceptably broken: https://twitter.com/waddlesplash/status/1118710794831781888

So it may be that the drive is really there, in /dev/disk/nvme, and we simply are not exposing it.

comment:6 Changed 4 weeks ago by diver

Just tried again with hrev53092 and got the same "did not find any boot partition" error.

comment:7 Changed 4 weeks ago by waddlesplash

Component: Drivers/Disk/NVMeSystem
Owner: changed from waddlesplash to nobody
Summary: [nvme] did not find any boot partition with 2 disks attacheddid not find any boot partition with 2 disks attached

According to diver on IRC, occurs with other disk types too. So this is probably not an NVMe bug.

comment:8 Changed 4 weeks ago by tqh

Is this UEFI booting?

comment:9 Changed 4 weeks ago by diver

Nope.

comment:10 Changed 3 weeks ago by diver

Judging from syslog, only one disk is found which happen to be my data disk.

comment:11 Changed 3 weeks ago by waddlesplash

You still have not attached the syslog. I keep saying I can't debug this without it.

Note: See TracTickets for help on using tickets.