2003-08-13 19:38:55

by Felipe Alfaro Solana

[permalink] [raw]
Subject: 2.6.0-test3-mm2: Badness in class_dev_release at drivers/base/class.c

Hi!

I've seen the following oops when I was unplugging my HP Deskjet 970Cxi
USB printer from its USB socket:

usb 1-1: USB disconnect, address 2
Device class 'lp0' does not have a release() function, it is broken and
must be fixed.
Badness in class_dev_release at drivers/base/class.c:201

The complete "dmesg" output is attached to this message.
Thanks!


Attachments:
dmesg.compaq (11.40 kB)

2003-08-13 23:54:54

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.0-test3-mm2: Badness in class_dev_release at drivers/base/class.c

On Wed, Aug 13, 2003 at 09:38:34PM +0200, Felipe Alfaro Solana wrote:
> Hi!
>
> I've seen the following oops when I was unplugging my HP Deskjet 970Cxi
> USB printer from its USB socket:
>
> usb 1-1: USB disconnect, address 2
> Device class 'lp0' does not have a release() function, it is broken and
> must be fixed.
> Badness in class_dev_release at drivers/base/class.c:201

I have a fix for this in my tree, it will get sent to Linus in a few
days.

thanks for the report.

greg k-h

2003-08-14 07:02:00

by Maciej Soltysiak

[permalink] [raw]
Subject: Re: 2.6.0-test3-mm2: Badness in class_dev_release at drivers/base/class.c

> I have a fix for this in my tree, it will get sent to Linus in a few
> days.
>
> thanks for the report.
Great if so, it would resolve bugzilla #1094 & #700.
Both reported by me.

> greg k-h
Maciej

2003-08-14 08:21:27

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.6.0-test3-mm2: Badness in class_dev_release at drivers/base/class.c

On Thu, 2003-08-14 at 01:42, Greg KH wrote:

> I have a fix for this in my tree, it will get sent to Linus in a few
> days.
>
> thanks for the report.

And thank you for the fix :-)

2003-08-14 15:44:50

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.0-test3-mm2: Badness in class_dev_release at drivers/base/class.c

On Thu, Aug 14, 2003 at 09:01:56AM +0200, Maciej Soltysiak wrote:
> > I have a fix for this in my tree, it will get sent to Linus in a few
> > days.
> >
> > thanks for the report.
> Great if so, it would resolve bugzilla #1094 & #700.
> Both reported by me.

No, both of those are scsi bugs/issues, which have nothing to do with
this report/fix. Sorry. Your bugs should be fixed by some patches
already in the scsi tree, which haven't made it into Linus's yet.

thanks,

greg k-h