* Cobalt IDE fix
@ 2006-01-22 23:50 Peter Horton
2006-01-23 0:42 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Peter Horton @ 2006-01-22 23:50 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Fix long IDE detection delay by not scanning non-existent channels.
P.
Index: linux.git/include/asm-mips/mach-cobalt/ide.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ linux.git/include/asm-mips/mach-cobalt/ide.h 2006-01-22 23:17:03.000000000 +0000
@@ -0,0 +1,8 @@
+#ifndef __ASM_COBALT_IDE_H
+#define __ASM_COBALT_IDE_H
+
+#define MAX_HWIFS 2
+
+#include <asm/mach-generic/ide.h>
+
+#endif
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cobalt IDE fix
2006-01-22 23:50 Cobalt IDE fix Peter Horton
@ 2006-01-23 0:42 ` Alan Cox
2006-01-23 1:10 ` Stuart Longland
0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2006-01-23 0:42 UTC (permalink / raw)
To: Peter Horton; +Cc: linux-mips, ralf
On Sul, 2006-01-22 at 23:50 +0000, Peter Horton wrote:
> Fix long IDE detection delay by not scanning non-existent channels.
That just changes the number of interfaces that can be registered. The
right fix is to change the list of non-PCI addresses scanned for the
system in question and not blindly copy x86 I suspect.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cobalt IDE fix
2006-01-23 0:42 ` Alan Cox
@ 2006-01-23 1:10 ` Stuart Longland
2006-01-23 15:06 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Stuart Longland @ 2006-01-23 1:10 UTC (permalink / raw)
To: Alan Cox; +Cc: Peter Horton, linux-mips, ralf
[-- Attachment #1: Type: text/plain, Size: 2496 bytes --]
Alan Cox wrote:
> On Sul, 2006-01-22 at 23:50 +0000, Peter Horton wrote:
>
>>Fix long IDE detection delay by not scanning non-existent channels.
>
>
> That just changes the number of interfaces that can be registered. The
> right fix is to change the list of non-PCI addresses scanned for the
> system in question and not blindly copy x86 I suspect.
Actually... could a configure option in Kconfig be added to disable
probing particular IDE busses?
Or at least, it should probe once then stop when it finds nothing. At
the moment, both my Qube2 and my x86 desktop hangs momentarily while
via82cxxx loads:
> Linux video capture interface: v1.00
> bttv: driver version 0.9.16 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller at PCI slot 0000:00:04.1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:04.1
> ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
> Probing IDE interface ide0...
> hda: IRQ probe failed (0xfff0f5fc)
> hda: IRQ probe failed (0xfff0f5fc)
> hda: no response (status = 0x0a), resetting drive
> hda: IRQ probe failed (0xfff0f5fc)
> hda: no response (status = 0x0a)
> hdb: IRQ probe failed (0xfff0f5fc)
> hdb: IRQ probe failed (0xfff0f5fc)
> hdb: no response (status = 0x0a), resetting drive
> hdb: IRQ probe failed (0xfff0f5fc)
> hdb: no response (status = 0x0a)
> Probing IDE interface ide1...
> hdc: DVD-ROM DDU1621, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Yep... you guessed it... nothing is plugged into the primary interface
... my HDDs are SCSI. It would be nice to be able to turn off probing
ide0, either at compile time, or better still, on the kernel commandline.
I think this would be a better fix... as the problem doesn't just exist
on Cobalt, it's any machine with only one IDE bus in use.
--
Stuart Longland (aka Redhatter) .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer '.'` :
. . . . . . . . . . . . . . . . . . . . . . .'.'
http://dev.gentoo.org/~redhatter :.'
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cobalt IDE fix
2006-01-23 1:10 ` Stuart Longland
@ 2006-01-23 15:06 ` Alan Cox
0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2006-01-23 15:06 UTC (permalink / raw)
To: Stuart Longland; +Cc: Peter Horton, linux-mips, ralf
On Llu, 2006-01-23 at 11:10 +1000, Stuart Longland wrote:
> Actually... could a configure option in Kconfig be added to disable
> probing particular IDE busses?
ide0=noprobe
> > VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:04.1
> > ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:pio, hdb:pio
> > ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:pio
> > Probing IDE interface ide0...
> > hda: IRQ probe failed (0xfff0f5fc)
This is probing beause the IDE enable bits have not been set correctly
by the BIOS I think. Not much we can do if the BIOS says "yes there is a
drive" and there is not.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-23 15:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22 23:50 Cobalt IDE fix Peter Horton
2006-01-23 0:42 ` Alan Cox
2006-01-23 1:10 ` Stuart Longland
2006-01-23 15:06 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.