#4439 closed bug (fixed)
Alpha ISO will not boot in VMWare Fusion 2.05
Reported by: | nicholas | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/alpha1 |
Component: | - General | Version: | R1/alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
The haiku-alpha.iso from haiku-r1a1-rc-hrev32945-x86gcc2hybrid-iso.zip does not boot in VMWare Fusion 2.05 yet boots perfectly well in VirtualBox 3.04 on the same machine.
I've tried a couple of earlier builds and the same problem occurs.
I've attached the serial debug output to this ticket.
Attachments (8)
Change History (25)
by , 15 years ago
Attachment: | Haiku Alpha VMWFusion.jpg added |
---|
comment:1 by , 15 years ago
Same problem here, with the same Fusion version.
Some comments:
- It is not just about booting: any ISO image attached to the VM will not be recognized by Haiku.
- Booting and using reals CDs works without problems in my case.
comment:2 by , 15 years ago
I just noticed that this ticket is assigned to Axel D who is on vacation until 23rd September.
The Alpha 1 release slated for 14th September so unless it is re-assigned to someone else the bug will stop anyone who uses VMWare Fusion from testing Haiku on release day.
Is it possible to have this re-assigned?
comment:3 by , 15 years ago
Milestone: | R1 → R1/alpha1 |
---|---|
Owner: | changed from | to
This appears to be a problem with partition scanning. Perhaps Ingo can look into it. Adding to alpha1 milestone.
comment:4 by , 15 years ago
Owner: | changed from | to
---|
From the disk device manager perspective the log looks OK:
KDiskDeviceManager::_ScanPartition(/dev/disk/atapi/0/slave/0) [...] trying: file_systems/cdda/v1 [...] returned: 0.6 [...] scanning with: file_systems/iso9660/v1
Whatever goes wrong, it's either in the scan_partition() hook of the ISO9660 module (given how chatty it is earlier, the lack of output is probably not a good sign) or later.
I don't have the time to look into this, so whoever wants to examine the problem, feel free.
comment:5 by , 15 years ago
It looks basically OK. The disk is recognized and the session module is picked up. But the partition offset and size are off limits. Also note the "failed to publish partition 2: Invalid Argument", which is probably caused by the messed up negative size. The session partitioning_system module uses the disc Table Of Contents (TOC) to determine session offsets and sizes, so most probably the TOC data returned is invalid. It is possible that reading the TOC failed due to problems in ATA, that the TOC data returned is in a format we do not support/account for, or that the emulation is broken. The problem with the CD TOC is that it is on a part of the CD that is not included with the ISO images. Therefore the emulation has to come up with a guess as to how the CD is layouted (usually they assume a single session with the size of the image). This killed off the dual track BeOS CD images, as they relayed on this information but couldn't provide it as part of the image. BeOS CD images could therefore not be booted in emulators unless you had a way to specify this extra information (I've added the -cdtoc option to QEMU to do that for example, other emulators may have had support for the CUE sheets that essentially only exist to contain that information). To verify any of this you'd need a version of the session partitioning_system module that has debugging enabled and dumps the TOC information it reads. I will upload and provide a link to a minimal CD image that only contains the boot floppy image with the debugging added. Please try this image and post a new serial log from that.
comment:6 by , 15 years ago
Please try http://haiku.mlotz.ch/haiku-boot-only.iso.zip and attach another serial log. Under QEMU btw. the session module fails with an invalid TOC as well, but it then simply detects the ISO9660 filesystem directly and publishes that as a partition directly.
by , 15 years ago
Attachment: | HaikuAlphaSerialDebug.2.txt added |
---|
Serial debug log for haiku-boot-only.iso
by , 15 years ago
Attachment: | HaikuAlphaSerialDebug.txt added |
---|
Serial debug log for haiku-boot-only.iso
comment:8 by , 15 years ago
Re-attached FULL serial debug lof for VMWare Fusion 2.05 using haiku-boot-only.iso
comment:9 by , 15 years ago
The problem is that the TOC returned by VMWare has an incorrect track start value. It has pseconds set to 0, but it really should be 2 to yield an LBA of 0. This seems to be a bug in VMWare. Still we could be smart about it and recover/warn about this case. Using LBA 0 if all p values are 0 should be sensible.
comment:10 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:11 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Same thing happens with the haiku-r1a1-rc-hrev32998-x86gcc2hybrid-iso
Attaching debug log for this version.
by , 15 years ago
Attachment: | HaikuAlphaSerialDebug.3.txt added |
---|
Serial debug log for haiku-r1a1-rc-hrev32998-x86gcc2hybrid-iso
comment:12 by , 15 years ago
That's sadly not a full log. I think serial debug output has been disabled for the alpha, so you need to manually enable it from the boot loader (pressing space at the start of the boot process). Can you please post a full log?
comment:13 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Should be fixed in hrev33003
comment:14 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Sorry, i forgot to enable the boot option.
Attaching full log now.
by , 15 years ago
Attachment: | HaikuAlphaSerialDebug.4.txt added |
---|
Serial debug log for haiku-r1a1-rc-hrev32998-x86gcc2hybrid-iso FULL DEBUG
comment:15 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Applied in alpha branch in hrev33013. Closing it, please test when images become available and reopen if still present.
comment:16 by , 15 years ago
Works perfectly with Alpha1 build hrev33023.
Thanks for fixing it so quickly! :)
comment:17 by , 15 years ago
Version: | R1 alpha1 → R1/alpha1 |
---|
Screengrab of failed boot process