Opened 15 years ago

Last modified 4 years ago

#5160 assigned bug

ppc: boot_loader_openfirmware hangs with SATA controller connected

Reported by: andreasf Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Boot Loader/Open Firmware Version: R1/Development
Keywords: Cc:
Blocked By: #4385 Blocking:
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 15 years ago.
workaround: skip this device

Download all attachments as: .zip

Change History (8)

comment:1 by axeld, 15 years ago

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

in reply to:  1 comment:2 by andreasf, 15 years ago

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 by andreasf, 15 years ago

Blocked By: 4385 added

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

by andreasf, 15 years ago

Attachment: sonnet-sata-workaround.diff added

workaround: skip this device

comment:4 by andreasf, 15 years ago

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 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:6 by pulkomandy, 5 years ago

Component: System/Boot LoaderSystem/Boot Loader/Open Firmware

comment:7 by pulkomandy, 4 years ago

Milestone: Unscheduled
Note: See TracTickets for help on using tickets.