Re: [USB-Storage : i386] Oops with an adaptor for laptop hard disk.

From: Stephane Wirtel
Date: Mon Aug 15 2005 - 13:30:42 EST


Le Monday 15 August 2005 a 09:08, Greg KH ecrivait:
> On Mon, Aug 15, 2005 at 01:21:22PM +0200, Stephane Wirtel wrote:
> > Le Monday 15 August 2005 a 15:08, Alexey Dobriyan ecrivait:
> > > On Mon, Aug 15, 2005 at 12:29:25PM +0200, Stephane Wirtel wrote:
> > > > With a laptop hard disk adaptop to usb, I do a modprobe with the
> > > > usb-storage module. If I disconnect my hard disk, I get an oops.
> > >
> > > > nvidia 3711688 14 - Live 0xe10f1000
> > >
> > > > EIP: 0060:[<c019710b>] Tainted: P VLI
> > >
> > > Is it reproducable without nvidia module loaded?
> > Yes :(
>
> Can you do so with 2.6.13-rc6 and without the nvidia module? If so,
> please let us know.
I try to patch a 2.6.12.4 with the 2.6.13-rc6 prepatch, but I get some
Hunks

Kernel base : 2.6.12.3 from http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.4.tar.bz2
Prepatch : 2.6.13-rc6 from http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.13-rc6.bz2

So, here is the commands :
mkdir ~/kernel && cd ~/kernel
tar xfj ~/linux-2.6.12.4.tar.bz2
bunzip patch-2.6.13-rc6.bz2
cd linux-2.6.12.4
patch -p1 < ../patch-2.6.13-rc6


patching file arch/ia64/kernel/perfmon.c
patching file arch/ia64/kernel/process.c
patching file arch/ia64/kernel/ptrace.c
Hunk #2 succeeded at 972 with fuzz 1 (offset 7 lines).
Hunk #3 FAILED at 1030.
Hunk #4 FAILED at 1265.
Hunk #5 FAILED at 1298.
Hunk #6 FAILED at 1396.
4 out of 6 hunks FAILED -- saving rejects to file
arch/ia64/kernel/ptrace.c.rej
patching file arch/ia64/kernel/setup.c
patching file arch/ia64/kernel/signal.c
Reversed (or previously applied) patch detected! Assume -R? [n]

Thanks,

Stephane Wirtel

--
Stephane Wirtel <stephane.wirtel@xxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/