kernel BUG at ll_rw_blk.c:1336 using RAW IO

From: Badari Pulavarty (pbadari@us.ibm.com)
Date: Wed Feb 06 2002 - 16:03:48 EST


Hi,

I and ran into following BUG() while doing RAW IO (2.5.3-pre6).

         kernel BUG at ll_rw_blk.c:1336

Actual code is:

        BUG_ON(bio_sectors(bio) > q->max_sectors);

I am doing 64k IOs on QLOGIC SCSI controller/disks.
So
        bio_sectors(bio) is 128
        q->max_sectors is 64

Is this a QLOGIC driver bug ? I changed qlogicisp.c and set
host->max_sectors to 128. Now RAW IO seem to work fine. But
I get system hangs and filesystem gets corrupted. Any idea
on how to fix it ?

Thanks,
Badari
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:53 EST