All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: + elevator-init-fixes.patch added to -mm tree
       [not found] <200511080351.jA83psjw016612@shell0.pdx.osdl.net>
@ 2005-11-08 18:38 ` Zachary Amsden
  2005-11-09  7:39   ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary Amsden @ 2005-11-08 18:38 UTC (permalink / raw)
  To: akpm; +Cc: axboe, htejun, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

akpm@osdl.org wrote:

>The patch titled
>
>     Elevator init fixes
>
>has been added to the -mm tree.  Its filename is
>
>     elevator-init-fixes.patch
>  
>

In addition to the first patch, which is probably goodness, I found the 
cause of my panic - applying this patch fixes it and now I am booting.


[-- Attachment #2: elevator-obviously-broken-fix --]
[-- Type: text/plain, Size: 600 bytes --]


Index: linux-2.6.14/drivers/block/elevator.c
===================================================================
--- linux-2.6.14.orig/drivers/block/elevator.c	2005-11-07 08:07:15.000000000 -0800
+++ linux-2.6.14/drivers/block/elevator.c	2005-11-08 02:14:35.727328656 -0800
@@ -155,9 +155,10 @@
  	/*
  	 * If the given scheduler is not available, fall back to no-op.
  	 */
- 	if (!(e = elevator_find(chosen_elevator)))
+ 	if ((e = elevator_find(chosen_elevator)))
+		elevator_put(e);
+	else
  		strcpy(chosen_elevator, "noop");
-	elevator_put(e);
 }
 
 static int __init elevator_setup(char *str)

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

* Re: + elevator-init-fixes.patch added to -mm tree
  2005-11-08 18:38 ` + elevator-init-fixes.patch added to -mm tree Zachary Amsden
@ 2005-11-09  7:39   ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2005-11-09  7:39 UTC (permalink / raw)
  To: Zachary Amsden; +Cc: akpm, htejun, Linux Kernel Mailing List

On Tue, Nov 08 2005, Zachary Amsden wrote:
> akpm@osdl.org wrote:
> 
> >The patch titled
> >
> >    Elevator init fixes
> >
> >has been added to the -mm tree.  Its filename is
> >
> >    elevator-init-fixes.patch
> > 
> >
> 
> In addition to the first patch, which is probably goodness, I found the 
> cause of my panic - applying this patch fixes it and now I am booting.

I'm guessing you hit the same problem as Marcelo, not configuring the
chosen io scheduler as builtin?

But both patches look fine, I've applied them to the 'for-linus' branch
for 2.6.15. Thanks!

-- 
Jens Axboe


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

end of thread, other threads:[~2005-11-09  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200511080351.jA83psjw016612@shell0.pdx.osdl.net>
2005-11-08 18:38 ` + elevator-init-fixes.patch added to -mm tree Zachary Amsden
2005-11-09  7:39   ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.