View Single Post
Old 05-31-2024, 06:15 PM   #6
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 910
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
I finally got around to looking into this a bit more. I did ssh into the PW4 and confirmed that I could dmesg | tail there, but I found that after plugged in the USB connection that the session froze and I later got a "[root@kindle root]# client_loop: send disconnect: Broken pipe" and was unable to retrieve anything from there. Here is what I saw on the linux side:

Code:
dhdurgee@z560:~/Downloads$ dmesg | tail
[29683.225009] scsi host6: usb-storage 2-1.1:1.0
[29684.239152] scsi 6:0:0:0: Direct-Access     Kindle   Internal Storage 0401 PQ: 0 ANSI: 2
[29684.240379] sd 6:0:0:0: Attached scsi generic sg3 type 0
[29684.241729] sd 6:0:0:0: Power-on or device reset occurred
[29684.242626] sd 6:0:0:0: [sdc] Media removed, stopped polling
[29684.253800] sd 6:0:0:0: [sdc] 13090733 512-byte logical blocks: (6.70 GB/6.24 GiB)
[29684.466062] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[29684.466120] sdc: detected capacity change from 0 to 13090733
[29684.466130] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[29684.688948]  sdc:
[29785.419318] FAT-fs (sdc): error, corrupted directory (invalid entries)
[29785.419369] FAT-fs (sdc): Filesystem has been set read-only
[29786.926014] FAT-fs (sdc): error, corrupted directory (invalid entries)
dhdurgee@z560:~/Downloads$ dmesg | tail
[30026.765434] scsi 6:0:0:0: Direct-Access     Kindle   Internal Storage 0401 PQ: 0 ANSI: 2
[30026.766542] sd 6:0:0:0: Attached scsi generic sg3 type 0
[30026.767067] sd 6:0:0:0: Power-on or device reset occurred
[30026.767901] sd 6:0:0:0: [sdc] Media removed, stopped polling
[30026.776464] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[30026.888270] sd 6:0:0:0: [sdc] 13090733 512-byte logical blocks: (6.70 GB/6.24 GiB)
[30027.109915] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[30027.109952] sdc: detected capacity change from 0 to 13090733
[30027.111816]  sdc:
[30027.548698] FAT-fs (sdc): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
The first delay was when I opened Calibre and received the read-only error. The second was when I unplugged in hope of getting the PW4 side and then plugged in again.

So it seems I have some corruption, which I assume should be fixed via the PW4 ssh terminal and not using fsck on linux. What is the appropriate command to issue there?

Dave

PS:

Taking a quick look at mounts on the PW4 I assume that /mnt/base-us is the system to check, but the appropriate options for the fsck command are needed.

Last edited by dhdurgee; 05-31-2024 at 06:51 PM. Reason: add a PS
dhdurgee is offline   Reply With Quote