Opened 9 years ago

Last modified 2 years ago

#5160 assigned bug

ppc: boot_loader_openfirmware hangs with SATA controller connected

Reported by: andreasf Owned by: nobody
Priority: normal Milestone:
Component: System/Boot Loader Version: R1/Development
Keywords: Cc:
Blocked By: #4385 Blocking:
Has a Patch: no Platform: PowerPC

Description

I boot from the OpenFirmware prompt with: boot cd:,\ppc\boot_loader_openfirmware

The bootloader hangs after printing this:

Welcome to the Haiku boot loader!
boot path = "/pci/@d/mac-io/ata-3@20000/disk@0:2,\ppc\boot_loader_openfirmware"
boot type = block
add_partitions_for(0x800004028, mountFS = no)
add_partitions_for(fd = 0, mountFS = no)
0x80004060 Partition::Partition
0x80004060 Partition::Scan()
check for partitioning_system: Amiga Partition Map
check for partitioning_system: Intel Partition Map
check for partitioning_system: Intel Extended Partition
check for partitioning_system: Apple Extended Map
0x80004060 Partition::_Mount check for file_system: BFS Filesystem
0x80004060 Partition::_Mount check for file_system: AmigaFFS Filesystem
0x80004060 Partition::_Mount check for file_system: TAR Filesystem
0x80004060 Partition::~Partition
        no boot path found, scan for all partitions...

        /pci@80000000/pci-bridge@d/mac-io@5/scsi@10000/disk:0
                (failed)
        /pci@80000000/pci-bridge@d/mac-io@5/fdc@15000/disk@0:0
NO DRIVE                (failed)
        /pci@80000000/pci-bridge@d/mac-io@5/ata-3@20000/disk:0
                (could open device, handle = 0xff9d0c80, node = 0x80004044)
        /pci@80000000/pci-bridge@d/Seri-Tek1S2@3/sd:0

My PowerMac G3 Blue & White has a Sonnet Tempo Serial ATA PCI adapter card installed. If I boot with the card physically removed, I get to the Haiku boot menu.

Just disconnecting the SATA cable of the hard drive makes no difference.

Attachments (1)

sonnet-sata-workaround.diff (610 bytes) - added by andreasf 9 years ago.
workaround: skip this device

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by axeld

This could very well be an OpenFirmware problem. What OF version does it have? Can you boot MacOS from that drive?

comment:2 in reply to:  1 Changed 9 years ago by andreasf

Replying to axeld:

This could very well be an OpenFirmware problem. What OF version does it have?

Apple PowerMac1,1 1.1f4 BootROM built on 04/09/99 at 13:57:32
Copyright 1994-1999 Apple Computer, Inc.
All Rights Reserved.

OpenFirmware 3.1.1

Can you boot MacOS from that drive?

Of course! Mac OS X v10.3.9 boots and runs without problems.

comment:3 Changed 9 years ago by andreasf

Blocked By: 4385 added

This appears to be a duplicate of #4385. of_open does not return.

Changed 9 years ago by andreasf

Attachment: sonnet-sata-workaround.diff added

workaround: skip this device

comment:4 Changed 9 years ago by andreasf

With the attached local commit I bypass the of_open call for this device and can still boot into kernel debugging land okay.

comment:5 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.