Sata HD stopped booting
#1
I have a RockPro64 running Ubuntu 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310. It boots from emmc and has a hard disk attached via SATA.

After working fine for a long time, since last week the hard disk doesn't seem to be recognized. It doesn't show up in `fdisk -l` for example and isn't mounted anymore.

If I plug it into another laptop the drive mounts and is visible so I don't think it's dead. dmesg contains `PCIe link training gen 1 timeout!` which may be related and the last time it successfully mounted the linux-firmware package was updated via apt from 1.187.25 to 1.187.26. The older version no longer seems to be available to rollback to so unsure if related.

Anybody seen this before or know what to do here?
  Reply
#2
(03-10-2022, 05:11 PM)db579 Wrote: I have a RockPro64 running Ubuntu 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310. It boots from emmc and has a hard disk attached via SATA.

After working fine for a long time, since last week the hard disk doesn't seem to be recognized. It doesn't show up in `fdisk -l` for example and isn't mounted anymore.

If I plug it into another laptop the drive mounts and is visible so I don't think it's dead. dmesg contains `PCIe link training gen 1 timeout!` which may be related and the last time it successfully mounted the linux-firmware package was updated via apt from 1.187.25 to 1.187.26. The older version no longer seems to be available to rollback to so unsure if related.

Anybody seen this before or know what to do here?

Not sure how familiar you are with Linux but a bit of googling should yield some answers. In the meantime have a read up on this https://www.maketecheasier.com/downgrade-kernel-linux/
  Reply
#3
(03-10-2022, 08:42 PM)Rocklobster Wrote:
(03-10-2022, 05:11 PM)db579 Wrote: I have a RockPro64 running Ubuntu 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310. It boots from emmc and has a hard disk attached via SATA.

After working fine for a long time, since last week the hard disk doesn't seem to be recognized. It doesn't show up in `fdisk -l` for example and isn't mounted anymore.

If I plug it into another laptop the drive mounts and is visible so I don't think it's dead. dmesg contains `PCIe link training gen 1 timeout!` which may be related and the last time it successfully mounted the linux-firmware package was updated via apt from 1.187.25 to 1.187.26. The older version no longer seems to be available to rollback to so unsure if related.

Anybody seen this before or know what to do here?

Not sure how familiar you are with Linux but a bit of googling should yield some answers. In the meantime have a read up on this https://www.maketecheasier.com/downgrade-kernel-linux/

@Rocklobster  thanks very much for the hint. I'd completely missed that there was a kernel upgrade in there as well. Downgrading was slightly different than in your link since it's u-boot rather than grub I commented the running kernel out of `/boot/extlinux/extlinux.conf` and rebooted and the drive is mounted again fine.

So it seems `4.4.167-1213-rockchip-ayufan-g34ae07687fce` works fine but ` 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310` does not.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mainline U-Boot with SPI, NVMe and SATA boot support sigmaris 108 138,779 09-25-2023, 12:46 AM
Last Post: ChriChri
  RockPro64 Stopped working WarpLover 5 3,588 02-06-2023, 10:10 AM
Last Post: diizzy
  Booting my RockPro64 from NVMe drive PsySc0rpi0n 4 6,567 05-11-2022, 02:35 PM
Last Post: PsySc0rpi0n
Exclamation need help booting off USB 3.0 HDD/SSD idontgetit 1 3,508 10-29-2020, 04:50 AM
Last Post: t4_4t
  Rockpro64 with PCI FC Card - Not booting (Sometimes) MSteam 1 3,222 10-25-2020, 07:42 PM
Last Post: MSteam
  fan continously runs on kernel 5.8 but I need to use 5. kernel for PCIe sata card GreyLinux 4 6,405 10-20-2020, 10:52 AM
Last Post: GreyLinux
  RockPro64 SSD Expansion Board/SATA Shield as0zial 5 8,445 10-18-2020, 08:05 PM
Last Post: revoman
  4pin Connector for dual SATA m.ekstrom 4 6,854 07-28-2020, 07:07 AM
Last Post: mabs
  Defective? PCI-E -> SATA card no work good unregisteredidiot 11 15,448 02-19-2020, 09:08 AM
Last Post: fysa
  RockPro64 not booting jekohk 10 14,267 06-09-2019, 01:53 PM
Last Post: Davidos

Forum Jump:


Users browsing this thread: 1 Guest(s)