Dieter Nützel wrote:
> 
> Am Mittwoch, 20. November 2002 19:44 schrieb Alan Cox:
> > On Wed, 2002-11-20 at 17:30, Dieter Nützel wrote:
> > > System lookup immediately when I try to start "ipers", "isosurf" or
> > > switch the screen. Sadly even when I try the Mesa-4-1-branch with
> > > 2.5.47-mm1 or 2.4.19-ck5 (radeon.o 1.6.0).
> >
> > Are you using scsi - any measuable amount of scsi I/O also hangs 2.5.48
> > 8(

Here's James's fix:

 drivers/scsi/scsi_lib.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

--- 25/drivers/scsi/scsi_lib.c~jejb-scsi-fix    Wed Nov 20 09:45:08 2002
+++ 25-akpm/drivers/scsi/scsi_lib.c     Wed Nov 20 09:45:08 2002
@@ -1021,10 +1021,11 @@ void scsi_request_fn(request_queue_t * q
                        break;
 
                if(!req) {
-                       /* can happen if the prep fails 
-                        * FIXME: elv_next_request() should be plugging the
-                        * queue */
-                       blk_plug_device(q);
+                       /* If the device is busy, a returning I/O
+                        * will restart the queue.  Otherwise, we have
+                        * to plug the queue */
+                       if(SDpnt->device_busy == 0)
+                               blk_plug_device(q);
                        break;
                }
 

> Yes, didn't have ATA at all.
> Only if some friends have problems with bad Win disks (bad sectors etc. =>
> dd_rescue)...;-)
> 
> No hangs but slower.
> I'll have a second look at it.
> 2.5.48-mm1 have additional IO scheduler hacks.

It has a different fix to the scsi thing.

> Some progress with KDE (3.1 beta/rc) and shared pagetables.
> Normal startup hangs but I had some luck with running the KDE progs by hand.
> 
> More about it in another post.
> So that we can take DRI-Devel out.
> 

(wonders what this email is really about.  oh well)


-------------------------------------------------------
This sf.net email is sponsored by:
Battle your brains against the best in the Thawte Crypto
Challenge. Be the first to crack the code - register now:
http://www.gothawte.com/rd521.html
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to