On 04/05/19 18:49, Andrei POPESCU wrote:
On Sb, 04 mai 19, 06:57:43, Andrei POPESCU wrote:
I'm ready to start a second try where I will be using manual
partitioning (without GPT), hoping I will get a bootable system.
This worked, see
https://wiki.debian.org/InstallingDebianOn/PINE64/PINEA64
This prompted me to reinstall my pine64 which has been sitting idle for a 
while, since the old install (based on a vendor image) on it stopped booting. 
Your instructions worked fine and after installation the system sucessfully 
rebooted to a login prompt.

At that point I got distracted, when I came back a day or so later I found that 
the Ethernet interface had stopped working. It appeared to be up and had an IP 
address (meaning it must have passed some packets since the reboot), but no 
traffic was getting through. Downing and re-upping the interface brought it 
back to life. I also rebooted the system and found the network interface had 
come up successfully after the reboot.

Then I ran into another problem. I have a SATA hard disk connected by a 
startech USB to SATA/IDE adapter (I belive its 
https://www.startech.com/uk/HDD/Adapters/USB-20-to-IDE-or-SATA-Adapter-Cable~USB2SATAIDE
 though I'm not using the PSU that came with it). When I tried to rsync a large 
file (an image of the pre-reinstall SD card contents) to said drive it dropped 
out. I unmounted and re-mounted the drive (which had renamed itself from sda to 
sdb after the dropout) and tried again, but the same happened again. I have a 
dmesg log from the second dropout at the bottom of the mail. The running kernel 
at the time was

Linux pine64 4.19.0-4-arm64 #1 SMP Debian 4.19.28-2 (2019-03-15) aarch64 
GNU/Linux

I then decided to upgrade to linux-image-5.0.0-trunk-arm64_5.0.2-1~exp1, 
unfortunately that didn't seem to improve things much, rather than the usb SATA 
dropping out and rsync returning an error, rsync just seemed to hang in 
uninterruptable sleep with no disk or network IO.




[  987.717823] sd 1:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 01 44 e3 c0 00 00 
f0 00
[  987.717830] print_req_error: 256 callbacks suppressed
[  987.717836] print_req_error: I/O error, dev sdb, sector 21291968
[  988.062499] usb 1-1: USB disconnect, device number 3
[  988.077085] print_req_error: I/O error, dev sdb, sector 21292208
[  988.083176] print_req_error: I/O error, dev sdb, sector 21292448
[  988.089258] print_req_error: I/O error, dev sdb, sector 495192064
[  988.095381] Buffer I/O error on dev sdb2, logical block 59277312, lost sync 
page write
[  988.103338] JBD2: Error -5 detected when updating journal superblock for 
sdb2-8.
[  988.103347] print_req_error: I/O error, dev sdb, sector 21292688
[  988.110743] Aborting journal on device sdb2-8.
[  988.121233] print_req_error: I/O error, dev sdb, sector 21292928
[  988.127268] EXT4-fs warning (device sdb2): ext4_end_bio:323: I/O error 10 
writing to inode 13 (offset 16777216 size 5246976 starting block 2661632)
[  988.127276] buffer_io_error: 7414 callbacks suppressed
[  988.127285] Buffer I/O error on device sdb2, logical block 39680
[  988.133319] Buffer I/O error on device sdb2, logical block 39681
[  988.139341] Buffer I/O error on device sdb2, logical block 39682
[  988.145368] Buffer I/O error on device sdb2, logical block 39683
[  988.151390] Buffer I/O error on device sdb2, logical block 39684
[  988.157416] Buffer I/O error on device sdb2, logical block 39685
[  988.163438] Buffer I/O error on device sdb2, logical block 39686
[  988.169467] Buffer I/O error on device sdb2, logical block 39687
[  988.175489] Buffer I/O error on device sdb2, logical block 39688
[  988.181516] Buffer I/O error on device sdb2, logical block 39689
[  988.188059] print_req_error: I/O error, dev sdb, sector 495192064
[  988.194161] Buffer I/O error on dev sdb2, logical block 59277312, lost sync 
page write
[  988.202106] JBD2: Error -5 detected when updating journal superblock for 
sdb2-8.
[  988.202120] print_req_error: I/O error, dev sdb, sector 21293056
[  988.215542] print_req_error: I/O error, dev sdb, sector 21293296
[  988.221578] print_req_error: I/O error, dev sdb, sector 21293536
[  988.228521] EXT4-fs warning (device sdb2): ext4_end_bio:323: I/O error 10 
writing to inode 13 (offset 16777216 size 6295552 starting block 2661888)
[  988.230033] EXT4-fs warning (device sdb2): ext4_end_bio:323: I/O error 10 
writing to inode 13 (offset 16777216 size 7344128 starting block 2662144)
[  988.231395] EXT4-fs error (device sdb2) in ext4_do_update_inode:5331: 
Journal has aborted
[  988.239701] EXT4-fs warning (device sdb2): ext4_end_bio:323: I/O error 10 
writing to inode 13 (offset 16777216 size 8388608 starting block 2662400)
[  988.240263] Buffer I/O error on dev sdb2, logical block 0, lost sync page 
write
[  988.247618] EXT4-fs (sdb2): I/O error while writing superblock
[  988.253478] EXT4-fs error (device sdb2): mpage_map_and_submit_extent:2568: 
comm kworker/u8:1: Failed to mark inode 13 dirty
[  988.264719] Buffer I/O error on dev sdb2, logical block 0, lost sync page 
write
[  988.272091] EXT4-fs (sdb2): I/O error while writing superblock
[  988.272114] EXT4-fs (sdb2): previous I/O error to superblock detected
[  988.277966] EXT4-fs error (device sdb2) in ext4_writepages:2878: IO failure
[  988.284720] Buffer I/O error on dev sdb2, logical block 0, lost sync page 
write
[  988.298719] EXT4-fs (sdb2): I/O error while writing superblock
[  988.298723] EXT4-fs (sdb2): previous I/O error to superblock detected
[  988.298797] Buffer I/O error on dev sdb2, logical block 0, lost sync page 
write
[  988.304571] EXT4-fs error (device sdb2): ext4_journal_check_start:61: 
Detected aborted journal
[  988.304575] EXT4-fs (sdb2): Remounting filesystem read-only
[  988.332516] EXT4-fs (sdb2): I/O error while writing superblock
[  988.332520] EXT4-fs (sdb2): previous I/O error to superblock detected
[  988.332592] Buffer I/O error on dev sdb2, logical block 0, lost sync page 
write
[  988.352151] EXT4-fs (sdb2): I/O error while writing superblock
[  988.352401] EXT4-fs warning (device sdb2): ext4_end_bio:323: I/O error 10 
writing to inode 13 (offset 16777216 size 8388608 starting block 2662656)
[  988.358941] JBD2: Detected IO errors while flushing file data on sdb2-8
[  996.160894] usb 1-1: new high-speed USB device number 4 using ehci-platform
[  996.318094] usb 1-1: New USB device found, idVendor=152d, idProduct=2338, 
bcdDevice= 1.00
[  996.318106] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[  996.318112] usb 1-1: Product: USB to ATA/ATAPI bridge
[  996.318117] usb 1-1: Manufacturer: JMicron
[  996.318123] usb 1-1: SerialNumber: 000000000005
[  996.319206] usb-storage 1-1:1.0: USB Mass Storage device detected

Reply via email to