On Monday 15 April 2002 04:16 pm, Alan wrote:
> On Sunday 14 April 2002 09:09 am, Borsenkow Andrej wrote:
> > � ���, 12.04.2002, � 21:59, Alan �������:
> > > I believe it is the zip drive that it is choking in.  The oops happens
> > > in scan_dir_for_removable().  (The only removable devices are two scsi
> > > cd-rom drives and an ide Zip drive. The zip drive is the only one that
> > > gets classed as "removable" to my knowledge.)
> > >
> > > I assume it is supermounted as read/write. It is a fresh install of 8.2
> > > with no real changes to devices.  (I have been too busy coding to
> > > modify the system too much.)
> >
> > If you can reliably reproduce the oops, could you please test the
> > following:
> >
> > - get current kernel-source
> >
> > - backout ide-floppy patch. It is available either in CVS,
> > <http://www.linux-mandrake.com/cgi-bin/cvsweb.cgi/SPECS/kernel/linux-2.4.
> >19
> > -pre4-ide-floppy-devfs-fix.patch?rev=1.1&content-type=text/x-cvsweb-marku
> >p> or in kernel SRPM of course.
> >
> > - apply ide-floppy patches from
> > <http://members.cox.net/kpfleming/ide-floppy/>
> >
> > there may be conflicts of course, they are against vanilla kernel.
> > Still  I hope it should apply.
> >
> > - test with these patches if it works.
> >
> > Please, test _standard_ Mandrake config without any modifications. We
> > are chasing bug in mandrake kernel :-)
>
> The ide-probe.diff goes in correctly, as does the ide-floppy-1.diff.  The
> other ones fail on one part around the same chunk of code.  I am going to
> look at the rejects and see if I can figure out what they failed.

I really wish that these patches were merged.  They overlap in this one 
section repeatedly.  (ide-floppy-2.diff makes changes that get deleted in 
ide-floppy-3.diff, for example.)

> All failures are in modifying drivers/ide/ide-floppy.c
>
> ide-floppy-2.diff failed hunk #14 at line 1740.

This is due to a function called "ungrok_partitions" that exists in the code.  
I am not certain what patch added this function.  I have left it in place as 
much as I can.

> ide-floppy-3.diff failed hunk #2 at line 1755.

This is the same chunk of code that failed in the previous patch.  It is a 
cascade from the previous failed chunk.

> ide-floppy-4.diff failed hunk #7 at line 1778.

Another cascade from previous code.

> The test was against linux-2.4.18-11mdk.

I will post a completed patch if this works. (I am not certain if it will 
compile.  We will see.)

SUGGESTION:  Could the patches to the kernel source please be included in the 
kernel-source rpm?  It would make fixing these problems so much easier.

Also, I need to know which default config file is used in the build.  I am 
going to guess at it, but I would like to know for certain.

Thanks!



Reply via email to