Re: IDE disk invisible to linux, claimed to be SCSI by MacOS


Subject: Re: IDE disk invisible to linux, claimed to be SCSI by MacOS
From: Iain Stevenson (iain@iainstevenson.com)
Date: Sat Feb 23 2002 - 09:11:55 MST


Dieter,

--On Saturday, February 23, 2002 3:32 pm +0100 dab <dab@flaez.ch> wrote:

>
> I installed YDL, kernel 2.4.10 on an old Powermac 7300 with one scsi
> and one ide drive. Linux is on /dev/sda, MacOs 9.1 is on a partition of
> the ide drive.
>

So, you're using BootX to start Linux from sda?

> However, the ide drive is totally invisible to linux.
> the drive is on an AEC6280M PCI IDE card.
>

What sort of card is it? I have a Sonnet IDE card with the AEC62xx chipset
working perfectly in my 9600

> The drive is recognized by MacOS without any trouble
> (indeed, it is where BootX boots from).
> However, Drive Setup claims it is a SCSI drive and
> pdisk (on MacOs) calls it /dev/scsi2.0 = /dev/sdb
>

This is because the IDE boards sold for Macs often implement SCSI emulation
for compatibility with old MacOS. However, this is not used for Linux - at
least I haven't used it.

>
> I recompiled the kernel, enabling "AEC62xx support" and "AEC62xx tuning",
> but again, nothing.
>

Have you enabled the generic PCI support as well?

> I found one guy had the exact same problem in June 2000, but he never
> got a reply:
> http://lists.yellowdoglinux.com/yellowdog-general/June00/0526.html
> in fact, I'm having quite a hard time finding any info in this
>

Not EXACTLY the same problem because the dmesg info he posted shows the
driver starting up. I've attached the messages I get from my IDE discs at
the end of this message. From your post it seems as though the IDE driver
starts and then gives up. You could try moving the card to another slot -
that has solved problems for me before.

>
> I spent a day on this and now I'm at my wits' end.
>

That's Linux I'm afraid. It took me a while of changing kernel options to
make any real progress.

> do I need a newer kernel? an older kernel? do I need to mess with the
> drivers more?
>

Things have worked for me throughout the 2.4 kernel series. I'm currently
on Ben's 2.4.28 pre kernel.

  Iain

Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 66MHz system bus speed for PIO modes
AEC6260R: IDE controller on PCI bus 01 dev 68
AEC6260R: chipset revision 1
AEC6260R: not 100% native mode: will probe irqs later
AEC6260R: ROM enabled at 0x90010000
    ide0: BM-DMA at 0xff7fe420-0xff7fe427, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xff7fe428-0xff7fe42f, BIOS settings: hdc:pio, hdd:pio
disabling irq 27 defensively
hda: QUANTUM FIREBALLP AS30.0, ATA DISK drive
disabling irq 27 defensively
disabling irq 27 defensively
disabling irq 27 defensively
hdc: Maxtor 4D060H3, ATA DISK drive
disabling irq 27 defensively
disabling irq 27 defensively
ide0 at 0xff7fe460-0xff7fe467,0xff7fe452 on irq 27
ide1 at 0xff7fe440-0xff7fe447,0xff7fe432 on irq 27
hda: 58633344 sectors (30020 MB) w/1902KiB Cache, CHS=58168/16/63, UDMA(66)
hdc: 120069936 sectors (61476 MB) w/2048KiB Cache, CHS=119117/16/63,
UDMA(66)
Partition check:
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9
 hdc: [mac] hdc1 hdc2 hdc3 hdc4 hdc5 hdc6 hdc7 hdc8 hdc9 hdc10 hdc11



This archive was generated by hypermail 2a24 : Sat Feb 23 2002 - 09:30:44 MST