Thanks! That worked. I was able to read & write. How to make that
permanent?
On 12/03/2015 10:00 AM, Alan Stern wrote:
On Thu, 3 Dec 2015, brad wrote:
dt1:uname -a
Linux dt1 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
See attached for relevant kernel log.
The log was short enough to be included directly in the email message
rather than as an attachment. Here are the interesting parts:
Dec 3 09:06:50 dt1 kernel: [ 2388.047701] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
Dec 3 09:06:50 dt1 kernel: [ 2388.140693] usb 1-1.4: New USB device found, idVendor=0d49, idProduct=7110
...
Dec 3 09:06:52 dt1 kernel: [ 2389.354586] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Dec 3 09:06:52 dt1 kernel: [ 2389.535697] sdb: unknown partition table
Dec 3 09:06:52 dt1 kernel: [ 2389.716201] sd 5:0:0:0: [sdb] Attached SCSI disk
Dec 3 09:06:54 dt1 kernel: [ 2391.632947] blk_update_request: critical target error, dev sdb, sector 0
Dec 3 09:06:54 dt1 kernel: [ 2391.632991] JBD2: recovery failed
Dec 3 09:06:54 dt1 kernel: [ 2391.632997] EXT4-fs (sdb): error loading journal
I have the error:
blk_update_request: critical target error, dev sdb, sector 0
JBD2: recovery failed
EXT4-fs (sdb): error loading journal
which is the same as here:
https://bugzilla.kernel.org/show_bug.cgi?id=89511#c2
https://bugzilla.kernel.org/show_bug.cgi?id=89511#c4
Just because the error message is the same doesn't mean the bug has to
be the same.
sudo echo 'temporary write through'
/sys/block/sdb/device/scsi_disk/6\:0\:0\:0/cache_type
and I'm getting an operation not permitted error no matter how I try it.
sudo and output redirection don't mix well. Instead of doing it like
that, do this:
$ sudo -s
# echo 'temporary write through' >/sys/block/sdb/device/scsi_disk/*/cache_type
# exit
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html