[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -> Kernel 2.4 problem.



Stefan Deling wrote:
> Hi there!
> I just got another problem here. I downloaded the mips cvs kernel tree
> for the 2.4.x-series. The whole compiling process went allright. 
> Converting it to ecoff wasn?t a problem... but when i now try too boot
> that kernel it crashes after initialzing the scsi disk. Is this driver 
> broken?

Yes. Use this patch.


Thiemo


Index: drivers/scsi/sgiwd93.c
===================================================================
RCS file: /home/cvs/linux/drivers/scsi/sgiwd93.c,v
retrieving revision 1.28.2.8
diff -a -d -u -p -r1.28.2.8 sgiwd93.c
--- drivers/scsi/sgiwd93.c      14 Aug 2003 15:32:13 -0000      1.28.2.8
+++ drivers/scsi/sgiwd93.c      9 Oct 2003 21:44:57 -0000
@@ -141,7 +141,7 @@ static int dma_setup(Scsi_Cmnd *cmd, int
        DPRINTK(" HPCGO\n");

        /* Start up the HPC. */
-       hregs->ndptr = virt_to_bus(hdata->dma_bounce_buffer);
+       hregs->ndptr = PHYSADDR(hdata->dma_bounce_buffer);
        if (datainp) {
                dma_cache_inv((unsigned long) cmd->SCp.ptr,
                              cmd->SCp.this_residual);



Reply to: