public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux 2.6.9-rc3: ub oops on device removal
@ 2004-10-06 19:50 Soeren Sonnenburg
  0 siblings, 0 replies; 2+ messages in thread
From: Soeren Sonnenburg @ 2004-10-06 19:50 UTC (permalink / raw)
  To: Linux Kernel

Hi,
I get this oops on kernel 2.6.9-rc3 on a 15" powerbook.

xmon trace screenshot is at:
http://fortknox.dyndns.org/pics/oopses/ub.jpg

Any ideas ?

Soeren
-- 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." Benjamin Franklin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux 2.6.9-rc3: ub oops on device removal
       [not found] <mailman.1097092751.17005.linux-kernel2news@redhat.com>
@ 2004-10-07  1:53 ` Pete Zaitcev
  0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2004-10-07  1:53 UTC (permalink / raw)
  To: Soeren Sonnenburg, linux-kernel

On Wed, 06 Oct 2004 21:50:06 +0200
Soeren Sonnenburg <kernel@nn7.de> wrote:

> I get this oops on kernel 2.6.9-rc3 on a 15" powerbook.
> 
> xmon trace screenshot is at:
> http://fortknox.dyndns.org/pics/oopses/ub.jpg

First you need to use -rc3-mm2 (it has some fixes), and then
add the appended patch which fixes your problem specifically.
The ub in 2.6.9-rc3 is not useable without these fixes.

-- Pete

--- linux-2.6.9-rc3-mm2/drivers/block/ub.c	2004-10-04 16:59:35.000000000 -0700
+++ linux-2.6.9-rc3-mm2-ub/drivers/block/ub.c	2004-10-04 17:01:08.000000000 -0700
@@ -842,7 +842,6 @@
 {
 	struct ub_dev *sc = urb->context;
 
-	del_timer(&sc->work_timer);
 	ub_complete(&sc->work_done);
 	tasklet_schedule(&sc->tasklet);
 }
@@ -853,6 +852,7 @@
 	unsigned long flags;
 
 	spin_lock_irqsave(&sc->lock, flags);
+	del_timer(&sc->work_timer);
 	ub_scsi_dispatch(sc);
 	spin_unlock_irqrestore(&sc->lock, flags);
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-07  1:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 19:50 linux 2.6.9-rc3: ub oops on device removal Soeren Sonnenburg
     [not found] <mailman.1097092751.17005.linux-kernel2news@redhat.com>
2004-10-07  1:53 ` Pete Zaitcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox