Re: Bug#345067: My understanding of the IDE mess, and why it does not make sense to apply the proposed patch
-----BEGIN PGP SIGNED MESSAGE-----
(Looks like the two days rest is getting irrelevant...)
On Fri, 10 Mar 2006 00:00:50 -0800 (PST)
Jurij Smakov <email@example.com> wrote:
> On Thu, 9 Mar 2006, Steve Langasek wrote:
> > What version of the kernel was this analysis done with? The
> > workaround in yaird is explicitly commented as existing for the
> > benefit of older kernel versions; can you assure us that this
> > aspect of the driver design is unchanged from 2.6.8 through 2.6.15?
> My testing confirms, that 2.6.8 from Debian fails to boot if
> ide-generic module is not included in initrd:
Thanks alot for investigating this, Jurij.
> When ide-generic is included (it is loaded after all the native ide
> modules), the kernel boots fine. The reason is that in the Debian
> 2.6.8 sources the ide-generic initialization procedure contains the
> call to ide_scan_pcibus(), which actually does the detection of PCI
> IDE devices. Function probe_for_hwifs() in ide.c contains a call to
> ide_scan_pcibus() as well, but there it is only called if ide.c is
> built-in, and not a part of a module (it normally goes into
So my "wild guess" of the problem having to do with ide-core being
modular (which it isn't on powerpc due to builtin ide-pmac) was not
> So, in Debian's 2.6.8 loading of ide-generic is really
> essential, [...] this situation is the result of Debian-specific
> patches, in particular modular IDE patch, originally introduced by
> Herbert Xu.
> That patch has been dropped starting with the release of 2.6.15-1
> Debian kernel packages, according to changelog.
Yes. It is also noted as being dropped in 2.6.14-6.
The first of my collected Bugreports indicated problems with
2.6.14-5, however, so I suspect either both changelog entries are wrong
or there's more to it than the modular-ide patch.
I am not trying to escape facts here (I'd be happy for a simple
solution) - just trying to asure they are in fact - eh - facts.
 Bugs #343042 & #343048
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-----END PGP SIGNATURE-----