* Re: IDE initialization on AU1500? [not found] <3E873DA0.A8B9B807@ekner.info> @ 2003-03-30 19:35 ` Pete Popov 2003-03-31 5:29 ` Lyle Bainbridge 2003-04-02 12:13 ` Maciej W. Rozycki 0 siblings, 2 replies; 5+ messages in thread From: Pete Popov @ 2003-03-30 19:35 UTC (permalink / raw) To: Hartvig Ekner; +Cc: linux-mips Hi Hartvig, I added the mailing list to the CC because someone else might have a better answer. On Sun, 2003-03-30 at 10:55, Hartvig Ekner wrote: > Hi Pete, > > I upgraded to the latest 2.4, and all the end_irq warnings which were there a few > weeks back are gone. Yep, I got rid of the debug print :). I had put that print in irq.c a long time ago, and it never caused any problems. But back then, the irq probing routines were null in MIPS, so we never saw the print. > Now it looks like this: > > Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > PDC20268: IDE controller at PCI slot 00:0d.0 > PDC20268: chipset revision 2 > PDC20268: not 100% native mode: will probe irqs later > PDC20268: ROM enabled at 0x000dc000 > ide0: BM-DMA at 0x0520-0x0527, BIOS settings: hda:pio, hdb:pio > ide1: BM-DMA at 0x0528-0x052f, BIOS settings: hdc:pio, hdd:pio > hdc: IBM-DTLA-307030, ATA DISK drive > blk: queue 802f7a58, I/O limit 4095Mb (mask 0xffffffff) > hdg: IRQ probe failed (0xfffbfffe) > hdg: IRQ probe failed (0xfffbbffe) > hdi: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > hdi: IRQ probe failed (0xfffbfffe) > hdi: IRQ probe failed (0xfffbbffe) > hdk: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > ide1 at 0x510-0x517,0x51a on irq 1 > hdc: host protected area => 1 > hdc: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(100) > Partition check: > hdc: hdc1 hdc2 hdc3 hdc4 > > Are the "IRQ probe failed" and "probing with ..." messages expected and ok? Well, since the ide subsystem is probing all the drives, and there are no drives to be found, I would have to say that the failures are to be expected. > Is there something platform > specific which tells the IDE driver to look for 11 drives (hda-hdk) or what is > going on here? include/asm-mips/ide.h defines MAX_HWIFS 10, if not already defined. > As you can probably tell, I don't have any specific knowledge about > how the IDE initialization works and how it interacts with the > platform specific code (if at all), but I would somehow imagine that > unless the IDE drivers detect an IDE controller (as done above: ide0, > ide1) no probing should be performed for drives outside the possible > range of the detected IDE controllers (hda-hdd in this case). That's a good point. I don't know what's going on, which is why I added the mailing list to the CC. Something seems not quite right. Pete ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: IDE initialization on AU1500? 2003-03-30 19:35 ` IDE initialization on AU1500? Pete Popov @ 2003-03-31 5:29 ` Lyle Bainbridge 2003-03-31 8:30 ` Pete Popov 2003-03-31 10:50 ` Juan Quintela 2003-04-02 12:13 ` Maciej W. Rozycki 1 sibling, 2 replies; 5+ messages in thread From: Lyle Bainbridge @ 2003-03-31 5:29 UTC (permalink / raw) To: 'linux-mips' Hi, I can say much about the IRQ probe failure, but I do have an issue with the scanning of drives. Pete is correct that the MAX_HWIFS definition determines the number of ide interfaces, and ide code will scan for drives on all of them, even if most interfaces are not present. In my case I know that I have only one hw interface and was able to set this to one (1). That way no time is wasted in scanning non-existent interfaces. Saves a few 10s of milliseconds at boot time :-) It won't 'fix' the IRQ probe failure you are seeing, but you'll certainly avoid it. Still, I can't explain why the scanning of non-existent hwifs was ever done this way. I wonder if this was rectified when the IDE subsystem was refactored in the 2.5 kernel. I know this new IDE code was back ported to 2.4.21 also. Let's hope things are a done a little bit better in this new code. Lyle > -----Original Message----- > From: linux-mips-bounce@linux-mips.org > [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Pete Popov > Sent: Sunday, March 30, 2003 1:35 PM > To: Hartvig Ekner > Cc: linux-mips > Subject: Re: IDE initialization on AU1500? > > > Hi Hartvig, > > I added the mailing list to the CC because someone else might > have a better answer. > > On Sun, 2003-03-30 at 10:55, Hartvig Ekner wrote: > > Hi Pete, > > > > I upgraded to the latest 2.4, and all the end_irq warnings > which were > > there a few weeks back are gone. > > Yep, I got rid of the debug print :). I had put that print in > irq.c a long time ago, and it never caused any problems. But > back then, the irq probing routines were null in MIPS, so we > never saw the print. > > > Now it looks like this: > > > > Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 > > ide: Assuming 33MHz system bus speed for PIO modes; override with > > idebus=xx > > PDC20268: IDE controller at PCI slot 00:0d.0 > > PDC20268: chipset revision 2 > > PDC20268: not 100% native mode: will probe irqs later > > PDC20268: ROM enabled at 0x000dc000 > > ide0: BM-DMA at 0x0520-0x0527, BIOS settings: hda:pio, hdb:pio > > ide1: BM-DMA at 0x0528-0x052f, BIOS settings: hdc:pio, hdd:pio > > hdc: IBM-DTLA-307030, ATA DISK drive > > blk: queue 802f7a58, I/O limit 4095Mb (mask 0xffffffff) > > hdg: IRQ probe failed (0xfffbfffe) > > hdg: IRQ probe failed (0xfffbbffe) > > hdi: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > hdi: IRQ probe failed (0xfffbfffe) > > hdi: IRQ probe failed (0xfffbbffe) > > hdk: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > ide1 at 0x510-0x517,0x51a on irq 1 > > hdc: host protected area => 1 > > hdc: 60036480 sectors (30739 MB) w/1916KiB Cache, > CHS=59560/16/63, UDMA(100) > > Partition check: > > hdc: hdc1 hdc2 hdc3 hdc4 > > > > Are the "IRQ probe failed" and "probing with ..." messages expected > > and ok? > > Well, since the ide subsystem is probing all the drives, and > there are no drives to be found, I would have to say that the > failures are to be expected. > > > Is there something platform > > specific which tells the IDE driver to look for 11 drives > (hda-hdk) or > > what is > > going on here? > > include/asm-mips/ide.h defines MAX_HWIFS 10, if not already defined. > > > As you can probably tell, I don't have any specific knowledge about > > how the IDE initialization works and how it interacts with the > > platform specific code (if at all), but I would somehow > imagine that > > unless the IDE drivers detect an IDE controller (as done > above: ide0, > > ide1) no probing should be performed for drives outside the > possible > > range of the detected IDE controllers (hda-hdd in this case). > > That's a good point. I don't know what's going on, which is > why I added the mailing list to the CC. Something seems not > quite right. > > Pete > ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: IDE initialization on AU1500? 2003-03-31 5:29 ` Lyle Bainbridge @ 2003-03-31 8:30 ` Pete Popov 2003-03-31 10:50 ` Juan Quintela 1 sibling, 0 replies; 5+ messages in thread From: Pete Popov @ 2003-03-31 8:30 UTC (permalink / raw) To: Lyle Bainbridge; +Cc: 'linux-mips' On Sun, 2003-03-30 at 21:29, Lyle Bainbridge wrote: > Hi, > > I can say much about the IRQ probe failure, but I do have an issue > with the scanning of drives. Pete is correct that the MAX_HWIFS > definition determines the number of ide interfaces, and ide code > will scan for drives on all of them, even if most interfaces are > not present. In my case I know that I have only one hw interface > and was able to set this to one (1). That way no time is wasted > in scanning non-existent interfaces. Saves a few 10s of milliseconds > at boot time :-) It won't 'fix' the IRQ probe failure you are > seeing, but you'll certainly avoid it. > > Still, I can't explain why the scanning of non-existent hwifs was > ever done this way. If I'm not mistaken, this appears to be something new in 2.4.21-pre4, where the ide subsystem is a backport of 2.5. It would be interesting to boot an x86 2.4.21-pre-something with the same ide subsystem and see if it behaves the same way. Pete > I wonder if this was rectified when the IDE > subsystem was refactored in the 2.5 kernel. I know this new IDE > code was back ported to 2.4.21 also. Let's hope things are a done > a little bit better in this new code. > > Lyle > > > > > -----Original Message----- > > From: linux-mips-bounce@linux-mips.org > > [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Pete Popov > > Sent: Sunday, March 30, 2003 1:35 PM > > To: Hartvig Ekner > > Cc: linux-mips > > Subject: Re: IDE initialization on AU1500? > > > > > > Hi Hartvig, > > > > I added the mailing list to the CC because someone else might > > have a better answer. > > > > On Sun, 2003-03-30 at 10:55, Hartvig Ekner wrote: > > > Hi Pete, > > > > > > I upgraded to the latest 2.4, and all the end_irq warnings > > which were > > > there a few weeks back are gone. > > > > Yep, I got rid of the debug print :). I had put that print in > > irq.c a long time ago, and it never caused any problems. But > > back then, the irq probing routines were null in MIPS, so we > > never saw the print. > > > > > Now it looks like this: > > > > > > Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 > > > ide: Assuming 33MHz system bus speed for PIO modes; override with > > > idebus=xx > > > PDC20268: IDE controller at PCI slot 00:0d.0 > > > PDC20268: chipset revision 2 > > > PDC20268: not 100% native mode: will probe irqs later > > > PDC20268: ROM enabled at 0x000dc000 > > > ide0: BM-DMA at 0x0520-0x0527, BIOS settings: hda:pio, hdb:pio > > > ide1: BM-DMA at 0x0528-0x052f, BIOS settings: hdc:pio, hdd:pio > > > hdc: IBM-DTLA-307030, ATA DISK drive > > > blk: queue 802f7a58, I/O limit 4095Mb (mask 0xffffffff) > > > hdg: IRQ probe failed (0xfffbfffe) > > > hdg: IRQ probe failed (0xfffbbffe) > > > hdi: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > > hdi: IRQ probe failed (0xfffbfffe) > > > hdi: IRQ probe failed (0xfffbbffe) > > > hdk: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > > ide1 at 0x510-0x517,0x51a on irq 1 > > > hdc: host protected area => 1 > > > hdc: 60036480 sectors (30739 MB) w/1916KiB Cache, > > CHS=59560/16/63, UDMA(100) > > > Partition check: > > > hdc: hdc1 hdc2 hdc3 hdc4 > > > > > > Are the "IRQ probe failed" and "probing with ..." messages expected > > > and ok? > > > > Well, since the ide subsystem is probing all the drives, and > > there are no drives to be found, I would have to say that the > > failures are to be expected. > > > > > Is there something platform > > > specific which tells the IDE driver to look for 11 drives > > (hda-hdk) or > > > what is > > > going on here? > > > > include/asm-mips/ide.h defines MAX_HWIFS 10, if not already defined. > > > > > As you can probably tell, I don't have any specific knowledge about > > > how the IDE initialization works and how it interacts with the > > > platform specific code (if at all), but I would somehow > > imagine that > > > unless the IDE drivers detect an IDE controller (as done > > above: ide0, > > > ide1) no probing should be performed for drives outside the > > possible > > > range of the detected IDE controllers (hda-hdd in this case). > > > > That's a good point. I don't know what's going on, which is > > why I added the mailing list to the CC. Something seems not > > quite right. > > > > Pete > > > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IDE initialization on AU1500? 2003-03-31 5:29 ` Lyle Bainbridge 2003-03-31 8:30 ` Pete Popov @ 2003-03-31 10:50 ` Juan Quintela 1 sibling, 0 replies; 5+ messages in thread From: Juan Quintela @ 2003-03-31 10:50 UTC (permalink / raw) To: Lyle Bainbridge; +Cc: 'linux-mips' >>>>> "lyle" == Lyle Bainbridge <lyle@zevion.com> writes: Hi lyle> Still, I can't explain why the scanning of non-existent hwifs was lyle> ever done this way. I wonder if this was rectified when the IDE lyle> subsystem was refactored in the 2.5 kernel. I know this new IDE lyle> code was back ported to 2.4.21 also. Let's hope things are a done lyle> a little bit better in this new code. Just nick-pitting, it is the other way around: - 2.4.X (X < 20 ide code) - 2.4.X Andrew Hendrik code, lately adopted by Alan Cox. - 2.5.X refactoring (jsut dropped) Now 2.4.21-preX and 2.5.X (where X is something new), have the Andrew Hendrik/Alan Cox IDE code. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IDE initialization on AU1500? 2003-03-30 19:35 ` IDE initialization on AU1500? Pete Popov 2003-03-31 5:29 ` Lyle Bainbridge @ 2003-04-02 12:13 ` Maciej W. Rozycki 1 sibling, 0 replies; 5+ messages in thread From: Maciej W. Rozycki @ 2003-04-02 12:13 UTC (permalink / raw) To: Pete Popov; +Cc: Hartvig Ekner, linux-mips On 30 Mar 2003, Pete Popov wrote: > > Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 > > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > > PDC20268: IDE controller at PCI slot 00:0d.0 > > PDC20268: chipset revision 2 > > PDC20268: not 100% native mode: will probe irqs later > > PDC20268: ROM enabled at 0x000dc000 > > ide0: BM-DMA at 0x0520-0x0527, BIOS settings: hda:pio, hdb:pio > > ide1: BM-DMA at 0x0528-0x052f, BIOS settings: hdc:pio, hdd:pio > > hdc: IBM-DTLA-307030, ATA DISK drive > > blk: queue 802f7a58, I/O limit 4095Mb (mask 0xffffffff) > > hdg: IRQ probe failed (0xfffbfffe) > > hdg: IRQ probe failed (0xfffbbffe) > > hdi: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > hdi: IRQ probe failed (0xfffbfffe) > > hdi: IRQ probe failed (0xfffbbffe) > > hdk: probing with STATUS(0x24) instead of ALTSTATUS(0x00) > > ide1 at 0x510-0x517,0x51a on irq 1 > > hdc: host protected area => 1 > > hdc: 60036480 sectors (30739 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(100) > > Partition check: > > hdc: hdc1 hdc2 hdc3 hdc4 > > > > Are the "IRQ probe failed" and "probing with ..." messages expected and ok? > > Well, since the ide subsystem is probing all the drives, and there are > no drives to be found, I would have to say that the failures are to be > expected. The IRQ probes shouldn't happen for hdg and hdi (the shift of names resulting in hdk is probably another bug), just like they don't happen for hda. There is no point from probing inexistent drives for IRQs as it won't work. And probing for drives themselves uses polled I/O. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-02 12:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3E873DA0.A8B9B807@ekner.info>
2003-03-30 19:35 ` IDE initialization on AU1500? Pete Popov
2003-03-31 5:29 ` Lyle Bainbridge
2003-03-31 8:30 ` Pete Popov
2003-03-31 10:50 ` Juan Quintela
2003-04-02 12:13 ` Maciej W. Rozycki
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.