* Promise 20267 can't recognize IDE device or freezes
@ 2002-11-26 22:29 Nicholas Riley
2002-11-26 22:57 ` Benjamin Herrenschmidt
2002-11-26 22:59 ` Benjamin Herrenschmidt
0 siblings, 2 replies; 4+ messages in thread
From: Nicholas Riley @ 2002-11-26 22:29 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I have an ATAPI Seagate (Conner) Travan tape drive which I recently
removed from my Power Mac G4 running OS X. It worked fine with
Retrospect on the internal ATA bus and through a FireWire bridge.
I want to use the drive for backups on my Power Mac 9500 running
Linux. I bought a Promise Ultra100 card as it appeared to be
supported under PowerPC Linux, and installed the card and tape drive
into the machine. For obvious reasons (no driver support) I can't
test whether it works under Mac OS.
I was using kernel 2.4.18-ben0 compiled in March, with IDE as a module
I compiled yesterday. According to what I read either ide-scsi or
ide-tape should work, but I couldn't get the device to show up.
The output I saw was exactly as this message discusses:
<http://lists.linuxppc.org/linuxppc-dev/200105/msg00130.html>
Here is the dmesg output:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20267: IDE controller on PCI bus 00 dev 70
PCI: Enabling device 00:0e.0 (0004 -> 0007)
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0x80820000
PDC20267: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
ide2: BM-DMA at 0x0400-0x0407, BIOS settings: hde:pio, hdf:DMA
ide3: BM-DMA at 0x0408-0x040f, BIOS settings: hdg:pio, hdh:pio
In the following thread:
<http://lists.linuxppc.org/linuxppc-user/199907/msg01838.html>
when someone had the same problem in a 2.2 kernel, they were able to
fix it by building with ide-pmac even though internal IDE is not used.
I updated to the latest 2.4.20-rc3-ben0 from yesterday and tried
compiling with ide-pmac and the other options recommended by Andre
Hedrick in his message in that thread (CONFIG_BLK_DEV_OFFBOARD). Now
I get the following on boot:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20267: IDE controller on PCI bus 00 dev 70
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0x80820000
PDC20267: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
ide0: BM-DMA at 0x0400-0x0407, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0x0408-0x040f, BIOS settings: hdc:pio, pdd:pio
Probing IDE interface ide0...
disabling irq 24 defensively
hdb: CONNER CTT8000-A, ATAPI TAPE drive
Probing IDE interface ide1...
[freeze]
If I disable IDE completely, then the 2.4.20-pre3-ben0 kernel usually
boots correctly (sporadically it doesn't, but much earlier than the
IDE kernel dies, so I don't think it's related).
The kernel configuration that works for me is here:
<http://web.sabi.net/promise/config-no-ide-boots.txt>
and the configuration which failed here:
<http://web.sabi.net/promise/config-ide.txt>
Any suggestions on how to troubleshoot (or fix) this problem would be
much appreciated. Do I need another kernel, different options,
another IDE driver?
Thanks,
--
=Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Promise 20267 can't recognize IDE device or freezes
2002-11-26 22:29 Promise 20267 can't recognize IDE device or freezes Nicholas Riley
@ 2002-11-26 22:57 ` Benjamin Herrenschmidt
2002-11-26 23:42 ` Nicholas Riley
2002-11-26 22:59 ` Benjamin Herrenschmidt
1 sibling, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2002-11-26 22:57 UTC (permalink / raw)
To: Nicholas Riley; +Cc: linuxppc-dev
On Tue, 2002-11-26 at 23:29, Nicholas Riley wrote:
>
> Hi,
>
> I have an ATAPI Seagate (Conner) Travan tape drive which I recently
> removed from my Power Mac G4 running OS X. It worked fine with
> Retrospect on the internal ATA bus and through a FireWire bridge.
>
> I want to use the drive for backups on my Power Mac 9500 running
> Linux. I bought a Promise Ultra100 card as it appeared to be
> supported under PowerPC Linux, and installed the card and tape drive
> into the machine. For obvious reasons (no driver support) I can't
> test whether it works under Mac OS.
>
> I was using kernel 2.4.18-ben0 compiled in March, with IDE as a module
> I compiled yesterday. According to what I read either ide-scsi or
> ide-tape should work, but I couldn't get the device to show up.
>
> The output I saw was exactly as this message discusses:
>
> <http://lists.linuxppc.org/linuxppc-dev/200105/msg00130.html>
>
> Here is the dmesg output:
>
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PDC20267: IDE controller on PCI bus 00 dev 70
> PCI: Enabling device 00:0e.0 (0004 -> 0007)
> PDC20267: chipset revision 2
> PDC20267: not 100% native mode: will probe irqs later
> PDC20267: ROM enabled at 0x80820000
> PDC20267: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
> ide2: BM-DMA at 0x0400-0x0407, BIOS settings: hde:pio, hdf:DMA
> ide3: BM-DMA at 0x0408-0x040f, BIOS settings: hdg:pio, hdh:pio
>
> In the following thread:
>
> <http://lists.linuxppc.org/linuxppc-user/199907/msg01838.html>
>
> when someone had the same problem in a 2.2 kernel, they were able to
> fix it by building with ide-pmac even though internal IDE is not used.
>
> I updated to the latest 2.4.20-rc3-ben0 from yesterday and tried
> compiling with ide-pmac and the other options recommended by Andre
> Hedrick in his message in that thread (CONFIG_BLK_DEV_OFFBOARD). Now
> I get the following on boot:
>
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> PDC20267: IDE controller on PCI bus 00 dev 70
> PDC20267: chipset revision 2
> PDC20267: not 100% native mode: will probe irqs later
> PDC20267: ROM enabled at 0x80820000
> PDC20267: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
> ide0: BM-DMA at 0x0400-0x0407, BIOS settings: hda:pio, hdb:DMA
> ide1: BM-DMA at 0x0408-0x040f, BIOS settings: hdc:pio, pdd:pio
> Probing IDE interface ide0...
> disabling irq 24 defensively
> hdb: CONNER CTT8000-A, ATAPI TAPE drive
> Probing IDE interface ide1...
> [freeze]
>
> If I disable IDE completely, then the 2.4.20-pre3-ben0 kernel usually
> boots correctly (sporadically it doesn't, but much earlier than the
> IDE kernel dies, so I don't think it's related).
>
> The kernel configuration that works for me is here:
>
> <http://web.sabi.net/promise/config-no-ide-boots.txt>
>
> and the configuration which failed here:
>
> <http://web.sabi.net/promise/config-ide.txt>
>
> Any suggestions on how to troubleshoot (or fix) this problem would be
> much appreciated. Do I need another kernel, different options,
> another IDE driver?
Promise controllers are giving me headaches everyday...
Currently, I have the 20270 of the Xserve working properly, the
driver in my tree is a mix of the old driver and the one in alan's
kernel (latest from Andre). But it still seem to not be quite right
with all controllers.
Do you have a way to prevent probing of ide1 ? (ide1=noprobe maybe)
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Promise 20267 can't recognize IDE device or freezes
2002-11-26 22:29 Promise 20267 can't recognize IDE device or freezes Nicholas Riley
2002-11-26 22:57 ` Benjamin Herrenschmidt
@ 2002-11-26 22:59 ` Benjamin Herrenschmidt
1 sibling, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2002-11-26 22:59 UTC (permalink / raw)
To: Nicholas Riley; +Cc: linuxppc-dev
Also, when you say it freeze, can you make sure you wait up to one
minute ? I have a timeout in there that may trigger...
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Promise 20267 can't recognize IDE device or freezes
2002-11-26 22:57 ` Benjamin Herrenschmidt
@ 2002-11-26 23:42 ` Nicholas Riley
0 siblings, 0 replies; 4+ messages in thread
From: Nicholas Riley @ 2002-11-26 23:42 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
On Tue, Nov 26, 2002 at 11:57:53PM +0100, Benjamin Herrenschmidt wrote:
> Promise controllers are giving me headaches everyday...
>
> Currently, I have the 20270 of the Xserve working properly, the
> driver in my tree is a mix of the old driver and the one in alan's
> kernel (latest from Andre). But it still seem to not be quite right
> with all controllers.
I could send you a 20267 if that would be of any use, they're cheap...
> Do you have a way to prevent probing of ide1 ? (ide1=noprobe maybe)
Typing "ide1=noprobe" in the args field in BootX has no effect. Nor
does "ide0=noprobe", the tape drive is still identified.
On Tue, Nov 26, 2002 at 11:59:10PM +0100, Benjamin Herrenschmidt wrote:
> Also, when you say it freeze, can you make sure you wait up to one
> minute ? I have a timeout in there that may trigger...
I waited almost 10 minutes and there was no change.
On Tue, Nov 26, 2002 at 11:59:47PM +0100, Benjamin Herrenschmidt wrote:
> Can you tell me more about that freeze too ?
As ide0 is probed, the tape drive makes noises like it does when the
machine is powered on. About 0.5 second after the ide1 probe message
is displayed, the cursor stops flashing and the machine stops booting.
Thank you *so* much for your help.
--
=Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-26 23:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 22:29 Promise 20267 can't recognize IDE device or freezes Nicholas Riley
2002-11-26 22:57 ` Benjamin Herrenschmidt
2002-11-26 23:42 ` Nicholas Riley
2002-11-26 22:59 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).