On Saturday 2017-01-28 16:06, Paul Neuwirth wrote:
On Saturday 2017-01-28 14:45, Paul Neuwirth wrote:
The filesystem size (according to the superblock) is 1767649 blocks
The physical size of the device is 1765641 blocks
Either the superblock or the partition table is likely to be corrupt!
good start :-/
Seems like the resizing of the filesystem (so the whole sd is used),
that is done on the first (or second?) boot, did not run through.
Johannes
no luck at all with 32GB cards (one definitely bad.. the other at 2nd
boot with errors)
but I was lucky with trying the 8GB card tried again, first boot ok, 2nd
boot.. nothing also after waiting more than half an hour.
back in my usb cardreader:
[1975418.300887] scsi 7:0:0:3: Direct-Access Generic STORAGE DEVICE
9602 PQ: 0 ANSI: 0
[1975418.300980] sd 7:0:0:2: [sdf] 1024 512-byte logical blocks: (524
kB/512 KiB)
[1975418.302672] sd 7:0:0:3: Attached scsi generic sg10 type 0
[1975418.305784] sd 7:0:0:2: [sdf] Write Protect is off
[1975418.305792] sd 7:0:0:2: [sdf] Mode Sense: 03 00 00 00
[1975418.308753] sd 7:0:0:2: [sdf] No Caching mode page found
[1975418.308757] sd 7:0:0:2: [sdf] Assuming drive cache: write through
[1975418.320886] sd 7:0:0:3: [sdg] Attached SCSI removable disk
[1975418.391649] sd 7:0:0:2: [sdf] Attached SCSI removable disk
[1975427.644100] usb 1-5: reset high-speed USB device number 29 using
ehci-pci
[1975428.832775] sd 7:0:0:2: [sdf] tag#0 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[1975428.832783] sd 7:0:0:2: [sdf] tag#0 Sense Key : Unit Attention
[current]
[1975428.832788] sd 7:0:0:2: [sdf] tag#0 Add. Sense: Not ready to ready
change, medium may have changed
[1975428.832792] sd 7:0:0:2: [sdf] tag#0 CDB: Read(10) 28 00 00 00 03 f9
00 00 01 00
[1975428.832803] blk_update_request: I/O error, dev sdf, sector 1017
[1975442.600056] usb 1-5: reset high-speed USB device number 29 using
ehci-pci
[1975442.962493] sd 7:0:0:2: [sdf] tag#0 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[1975442.962502] sd 7:0:0:2: [sdf] tag#0 Sense Key : Unit Attention
[current]
[1975442.962506] sd 7:0:0:2: [sdf] tag#0 Add. Sense: Not ready to ready
change, medium may have changed
[1975442.962511] sd 7:0:0:2: [sdf] tag#0 CDB: Read(10) 28 00 00 00 03 f8
00 00 01 00
[1975442.962518] blk_update_request: I/O error, dev sdf, sector 1016
[1975442.969747] sd 7:0:0:2: [sdf] 15562752 512-byte logical blocks:
(7.97 GB/7.42 GiB)
[1975442.995646] sdf: sdf1 sdf2 sdf3
# fsck.ext4 -cf /dev/sdf2
e2fsck 1.42.11 (09-Jul-2014)
The filesystem size (according to the superblock) is 1767649 blocks
The physical size of the device is 1765641 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? no
Checking for bad blocks (read-only test): badblocks: Invalid argument
during seekrs)
badblocks: Invalid argument during seek
[...]
ROOT: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
ROOT: ***** FILE SYSTEM WAS MODIFIED *****
ROOT: 28546/427680 files (0.1% non-contiguous), 269372/1767649 blocks
# resize2fs /dev/sdf2
resize2fs 1.42.11 (09-Jul-2014)
Resizing the filesystem on /dev/sdf2 to 1765641 (4k) blocks.
The filesystem on /dev/sdf2 is now 1765641 blocks long.
# fsck.ext4 -f /dev/sdf2
e2fsck 1.42.11 (09-Jul-2014)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -4625 -(12237--12238)
Fix<y>? yes
Free blocks count wrong for group #0 (20529, counted=20532).
Fix<y>? yes
Free blocks count wrong (1498277, counted=1498280).
Fix<y>? yes
ROOT: ***** FILE SYSTEM WAS MODIFIED *****
ROOT: 28546/427680 files (0.1% non-contiguous), 267361/1765641 blocks
and I'll try again..
a working system :)
now back to topic :)
Paul
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]