On Sun, 16 May 2004 [EMAIL PROTECTED] wrote:

> I downloaded linux-2.6.6.tar.bz2 from www.kernel.org. I compiled it with 
> both usb and usb-storage debug info. The problem is still here. Please 
> find attached a new report from /var/log/kernel/info and /var/log/messages.

I did exactly the same thing: downloaded linux-2.6.6.tar.bz2 from 
www.kernel.org and compiled it with usb and usb-storage debug info.  My 
log does not show the problem that's in your log.

Do you want to go to the trouble of trying to find out the reason your
system isn't working right?  This patch will provide some extra
information.

Alan Stern


===== drivers/scsi/sd.c 1.63 vs edited =====
--- 1.63/drivers/scsi/sd.c      Wed Apr 14 13:12:45 2004
+++ edited/drivers/scsi/sd.c    Mon May 17 11:22:40 2004
@@ -1120,6 +1120,9 @@
        int res;
        struct scsi_mode_data data;
 
+       printk(KERN_INFO "%s: flags skip_ms_page_8=%d, skip_ms_page_3f=%d\n",
+                       __FUNCTION__, sdkp->device->skip_ms_page_8,
+                       sdkp->device->skip_ms_page_3f);
        set_disk_ro(sdkp->disk, 0);
        if (sdkp->device->skip_ms_page_3f) {
                printk(KERN_NOTICE "%s: assuming Write Enabled\n", diskname);
===== drivers/scsi/scsi_scan.c 1.58 vs edited =====
--- 1.58/drivers/scsi/scsi_scan.c       Wed Apr 14 13:12:45 2004
+++ edited/drivers/scsi/scsi_scan.c     Mon May 17 11:21:59 2004
@@ -641,6 +641,9 @@
 
        if (*bflags & BLIST_USE_10_BYTE_MS)
                sdev->use_10_for_ms = 1;
+       printk(KERN_INFO "%s: flags skip_ms_page_8=%d, skip_ms_page_3f=%d\n",
+                       __FUNCTION__, sdev->skip_ms_page_8,
+                       sdev->skip_ms_page_3f);
 
        /* set the device running here so that slave configure
         * may do I/O */




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to