Bug 10902
Summary: | "Write Protect is on" error | ||
---|---|---|---|
Product: | Drivers | Reporter: | Peter Teoh (htmldeveloper) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bunk, htmldeveloper |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.26-rc5 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Peter Teoh
2008-06-12 22:40:24 UTC
Does 2.6.25 work? Thank you Adrian, I just attempted reboot over the last few kernels I have in the past, and the result is that the problem started to arise in between the two version: Jun 15 22:39:59 funnyman kernel: Linux version 2.6.26-rc2 (root@funnyman) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)) #8 SMP Sun May 18 11:12:23 SGT 2008 Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] Write Protect is on Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] Write Protect is on Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through Jun 15 22:40:00 funnyman kernel: sdc: sdc1 sdc2 sdc3 < sdc5 > sdc4 Jun 15 22:40:00 funnyman kernel: sd 6:0:0:0: [sdc] Attached SCSI disk And the earlier non-problematic kernel is 2.6.25-rc7. Jun 15 22:44:07 funnyman kernel: Linux version 2.6.25-rc7 (root@funnyman) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)) #3 SMP Thu Apr 3 18:46:16 SGT 2008 Jun 15 22:44:08 funnyman kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 15 22:44:08 funnyman kernel: sd 6:0:0:0: [sdc] Write Protect is off Jun 15 22:44:08 funnyman kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through Jun 15 22:44:08 funnyman kernel: sd 6:0:0:0: [sdc] 312581808 512-byte hardware sectors (160042 MB) Jun 15 22:44:08 funnyman kernel: sd 6:0:0:0: [sdc] Write Protect is off Further testing revealed: 1. v2.6.25-rc9--->Write Protect is Off. 2. v2.6.26-rc1 ---> Write Protect is On. I have yet to compile 2.6.25. Thanks. Peter, can you confirm that 2.6.25 works fine? If yes, then this is a known regression. Sorry for the delay....yes it is working!!! Linux version 2.6.25 (root@xentiger) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)) #10 SMP Thu May 8 16:29:49 SGT 2008 Using APIC driver default BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw vendor) BIOS bug, APIC version is 0 for CPU#0! fixing up to 0x10. (tell your hw vendor) scsi 3:0:0:0: Direct-Access WD 1600BEAExternal 1.02 PQ: 0 ANSI: 0 sd 3:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB) sd 3:0:0:0: [sdd] Write Protect is off sd 3:0:0:0: [sdd] Mode Sense: 00 00 00 00 sd 3:0:0:0: [sdd] Assuming drive cache: write through sd 3:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB) sd 3:0:0:0: [sdd] Write Protect is off sd 3:0:0:0: [sdd] Mode Sense: 00 00 00 00 sd 3:0:0:0: [sdd] Assuming drive cache: write through sdd: sdd1 sdd2 sdd3 < sdd5 > sdd4 sd 3:0:0:0: [sdd] Attached SCSI disk Thank you for the follow up Adrian. |