Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -current on 7600-type machine



Hi,

On 9/2/08, John Klos <john%ziaspace.com@localhost> wrote:
>> I think I found where the problem is.
>>
>> Could you try the following patch for src/sys/arch/macppc/dev/if_mc.c ?
>>
>> --- if_mc.c.orig        2008-09-02 01:33:10.000000000 +0200
>> +++ if_mc.c     2008-09-02 01:32:54.000000000 +0200
>
> Yep. That fixes the problem,

Nice :-)

> and now I get all the way to "boot device:"
> before it hangs. Not sure if this is a problem with the IDE card, as I
> have no SCSI drives from which to try to boot... One step at a time!
>
[...]
> acardide0 at pci0 dev 13 function 0
> acardide0: Acard ATP860-A Ultra66 IDE Controller (rev. 0x01)
> acardide0: using irq 23 for native-PCI interrupt
> atabus0 at acardide0 channel 0
> atabus1 at acardide0 channel 1
[...]
> wd0 at atabus0 drive 0: <ST3400633A>
> wd0: quirks 2<FORCE_LBA48>
> wd0: 372 GB, 775221 cyl, 16 head, 63 sec, 512 bytes/sect x 781422768 sectors
> boot device: <unknown>

Hmm... could you try the following patch for
src/sys/arch/powerpc/oea/ofw_autoconf.c ?

Index: ofw_autoconf.c
===================================================================
RCS file: /cvsroot/src/sys/arch/powerpc/oea/ofw_autoconf.c,v
retrieving revision 1.7
diff -u -r1.7 ofw_autoconf.c
--- ofw_autoconf.c      11 Jan 2008 05:11:18 -0000      1.7
+++ ofw_autoconf.c      2 Sep 2008 09:12:49 -0000
@@ -322,6 +322,8 @@
                        return;
        } else if (device_is_a(device_parent(device_parent(dev)), "pciide") ||
                   device_is_a(device_parent(device_parent(dev)), "viaide") ||
+                  device_is_a(device_parent(device_parent(dev)), "acardide") ||
+                  device_is_a(device_parent(device_parent(dev)), "cmdide") ||
                   device_is_a(device_parent(device_parent(dev)), "slide")) {
                struct ata_device *adev = aux;

It adds 'acardide' to the list of controllers to match the boot device.
It also adds 'cmdide' since it is needed on B&W G3s.

Hope that helps.

Regards,
Marco.


Home | Main Index | Thread Index | Old Index