Skip to contentSkip to conversation

BeOS R5 boot failure

Qemu-devel François Revol 2 participants 3 messages Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

I've been trying for some time to get an old BeOS R5 image to boot, but it seems it doesn't like QEMU's IDE controller:

Trying /dev/disk/ide/ata/0/master/0/raw
IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80 found boot device: /dev/disk/ide/ata/0/master/0/raw
IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80 IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80
warning: fs blocks fa000 larger than device blocks 0
bad super block
KERNEL PANIC: was unable to mount /dev/disk/ide/ata/0/master/0/0_0 type bfs on /boot

Anyone has a clue ?

It seems VirtualBox has the same issue. Older versions (ZETA) seem to work fine, but they have a totally different IDE subsystem.

The warning suggest the block device is seen as having a size of 0, though oddly it seems to be able to read from it since it gets the size of the BFS in the superblock...

I've rebuilt with DEBUG_IDE and put a log here:
http://revolf.free.fr/beos/qemu-beosr5-bad-ide-20100323.log

Note disabling DMA in the boot menu (space bar, Select safe mode options) doesn't help either...
Use F1 at boot to get serial output.

The image is available here:
http://bebits.com/app/2680
(BeOS R5 Personal Edition for Linux)

François.

#1 lore raw
Quoted 26 lines · François Revol

I've been trying for some time to get an old BeOS R5 image to boot, but it seems it doesn't like QEMU's IDE controller:

Trying /dev/disk/ide/ata/0/master/0/raw
IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80 found boot device: /dev/disk/ide/ata/0/master/0/raw
IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80 IDE PCI -- find_devices: intel 82371SB (PIIX3) chipset
IDE PCI -- find_devices: controller supports DMA
IDE ATA -- configure_device: selected dma mode bad,
disable dma for this device
IDE ATA -- get_bios_driveinfo: ata/0/0 match bios drive 0x80
warning: fs blocks fa000 larger than device blocks 0
bad super block
KERNEL PANIC: was unable to mount /dev/disk/ide/ata/0/master/0/0_0 type bfs on /boot

Quoted 1 line

Anyone has a clue ?

It's a known bug but nobody knows or has time to apply a solution.

Bochs had the same bug and corrected it about November 2009, maybe checking their commit will make light to correct QEMU.

Quoted 2 lines

It seems VirtualBox has the same issue. Older versions (ZETA) seem to work fine, but they have a totally different IDE subsystem.

VirtualPC had the same fail also.
Zeta however is not an older version but a newer one. Considering Zeta is a non-authorized hack, who knows what have they changed. The bug is present on BeOS R3, R4, R4.5 and R5.

Quoted 18 lines

The warning suggest the block device is seen as having a size of 0, though oddly it seems to be able to read from it since it gets the size of the BFS in the superblock...

I've rebuilt with DEBUG_IDE and put a log here:
http://revolf.free.fr/beos/qemu-beosr5-bad-ide-20100323.log

Note disabling DMA in the boot menu (space bar, Select safe mode options) doesn't help either...
Use F1 at boot to get serial output.

The image is available here:
http://bebits.com/app/2680
(BeOS R5 Personal Edition for Linux)

François.

#2 lore raw
Quoted 4 lines

It's a known bug but nobody knows or has time to apply a solution.

Bochs had the same bug and corrected it about November 2009, maybe checking their commit will make light to correct QEMU.

Ok, I might have a look at it, thanks.

Quoted 6 lines
Quoted 3 lines

It seems VirtualBox has the same issue. Older versions (ZETA) seem to
work fine, but they have a totally different IDE subsystem.

VirtualPC had the same fail also.
Zeta however is not an older version but a newer one.

Yes I messed up, I meant newer of course.

Quoted 2 lines

Considering Zeta is a non-authorized hack, who knows what have they changed.

I do, I worked at yellowTAB for a while. :p

ZETA switched to a customized version of the "IDE Replacement" stack from Thomas Kurschel at some point:
http://bebits.com/app/2625

This whole FUD about ZETA not being legal has nothing to do in here. Besides, if PalmSource/Palm/ACCESS loose documents in their cupboards it's not my fault.

François.