Re: Cobalt IDE fix

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

 



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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux