Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:
Hi all. I always seem to get impossible problems....
Take a pi4 and two disks - both sata connected by a sata to usb
adapter. One is a small real disk drive, the other a Kingston
SSD. Both have been in the spares cupboard for a while.
I put an old arm64 version of bookworm onto the spinner. Works fine.
I put the exact same onto the ssd. Won't boot, with messages like
timed out waiting for udev to be empty
or
read error on /dev/sda [details not recorded]
Boot the Pi from the spinning disk (or an SD card) and connect the SSD
to the Pi. See if you can access it and if not, have a look at the
kernel log.
Hi all. I always seem to get impossible problems....
Take a pi4 and two disks - both sata connected by a sata to usb
adapter. One is a small real disk drive, the other a Kingston
SSD. Both have been in the spares cupboard for a while.
I put an old arm64 version of bookworm onto the spinner. Works fine.
I put the exact same onto the ssd. Won't boot, with messages like
timed out waiting for udev to be empty
or
read error on /dev/sda [details not recorded]
On 28/05/2026 16:27, Mike Scott wrote:
there seems to be no obvious fault with the ssd as such - it was
working as expected when put into storage, and a scan with badblock -w
is currently at 80% with no errors.
I should add, the pi4 is running from the spinner, while checking the
ssd. 89% checked, 0 errors as I write.
Also, a second pi4 has the same issue, so it's not a faulty pi4.
there seems to be no obvious fault with the ssd as such - it was working
as expected when put into storage, and a scan with badblock -w is
currently at 80% with no errors.
On 28/05/2026 17:39, Richard Kettlewell wrote:
Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:Already did - I ran one full pass with baddisk -w which completed with
Hi all. I always seem to get impossible problems....
Take a pi4 and two disks - both sata connected by a sata to usb
adapter. One is a small real disk drive, the other a Kingston
SSD. Both have been in the spares cupboard for a while.
I put an old arm64 version of bookworm onto the spinner. Works fine.
I put the exact same onto the ssd. Won't boot, with messages like
timed out waiting for udev to be empty
or
read error on /dev/sda [details not recorded]
Boot the Pi from the spinning disk (or an SD card) and connect the SSD
to the Pi. See if you can access it and if not, have a look at the
kernel log.
zero errors.
On 28/05/2026 16:38, Mike Scott wrote:
On 28/05/2026 16:27, Mike Scott wrote:Some disks with some USB adapters simply do not work
there seems to be no obvious fault with the ssd as such - it was
working as expected when put into storage, and a scan with badblock -w
is currently at 80% with no errors.
I should add, the pi4 is running from the spinner, while checking the
ssd. 89% checked, 0 errors as I write.
Also, a second pi4 has the same issue, so it's not a faulty pi4.
Richard Kettlewell wrote:
Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:
Hi all. I always seem to get impossible problems....
Take a pi4 and two disks - both sata connected by a sata to usb
adapter. One is a small real disk drive, the other a Kingston
SSD. Both have been in the spares cupboard for a while.
I put an old arm64 version of bookworm onto the spinner. Works fine.
I put the exact same onto the ssd. Won't boot, with messages like
timed out waiting for udev to be empty
or
read error on /dev/sda [details not recorded]
Boot the Pi from the spinning disk (or an SD card) and connect the
SSD to the Pi. See if you can access it and if not, have a look at
the kernel log.
Already did - I ran one full pass with baddisk -w which completed with
zero errors.
Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:
Richard Kettlewell wrote:
Mike Scott <usenet.16@scottsonline.org.uk.invalid> writes:
Hi all. I always seem to get impossible problems....
Take a pi4 and two disks - both sata connected by a sata to usb
adapter. One is a small real disk drive, the other a Kingston
SSD. Both have been in the spares cupboard for a while.
I put an old arm64 version of bookworm onto the spinner. Works fine.
I put the exact same onto the ssd. Won't boot, with messages like
timed out waiting for udev to be empty
or
read error on /dev/sda [details not recorded]
Boot the Pi from the spinning disk (or an SD card) and connect the
SSD to the Pi. See if you can access it and if not, have a look at
the kernel log.
Already did - I ran one full pass with baddisk -w which completed with
zero errors.
Never heard of baddisk, what is that?
Anyway from what you?ve said, Linux on the Pi can?t see the SSD during
early boot, but can see it when attached to the Pi later. That?s hard to explain, since it?s the same hardware and the same code looking for it
in each case.
Just to check, did you run your ?full pass with baddisk? _on the Pi_, as requested above?
My bad - I meant 'badblocks'.
The problem does look as though it was down to a combo of the ssd plus
one particular sata/usb adapter (I have 3).
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 28/05/2026 16:38, Mike Scott wrote:
On 28/05/2026 16:27, Mike Scott wrote:Some disks with some USB adapters simply do not work
there seems to be no obvious fault with the ssd as such - it was
working as expected when put into storage, and a scan with badblock -w >>>> is currently at 80% with no errors.
I should add, the pi4 is running from the spinner, while checking the
ssd. 89% checked, 0 errors as I write.
Also, a second pi4 has the same issue, so it's not a faulty pi4.
Two thoughts:
Try a different USB bridge on the SSD.
Some behave better than others.
On 5/29/26 04:42, bp@www.zefox.net wrote:
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 28/05/2026 16:38, Mike Scott wrote:
On 28/05/2026 16:27, Mike Scott wrote:Some disks with some USB adapters simply do not work
there seems to be no obvious fault with the ssd as such - it was
working as expected when put into storage, and a scan with badblock -w >>>>> is currently at 80% with no errors.
I should add, the pi4 is running from the spinner, while checking the
ssd. 89% checked, 0 errors as I write.
Also, a second pi4 has the same issue, so it's not a faulty pi4.
Two thoughts:
Try a different USB bridge on the SSD.
Some behave better than others.
+1
My rpi4 UBS 3 sockets failed, I suspect due to feeding power back into
the port from a powered SATA to USB connector.
The USB 2 ports still work fine.
This USB failure was slow. USB 3failure started as occasional SSD write errors, gradually becoming more regular.
It took me a while to diagnose as the problem was intermittent and there
was nothing wrong with the disk itself.
On 31/05/2026 23:57, Pancho wrote:
On 5/29/26 04:42, bp@www.zefox.net wrote:
The Natural Philosopher <tnp@invalid.invalid> wrote:
On 28/05/2026 16:38, Mike Scott wrote:
On 28/05/2026 16:27, Mike Scott wrote:Some disks with some USB adapters simply do not work
there seems to be no obvious fault with the ssd as such - it was
working as expected when put into storage, and a scan with
badblock -w
is currently at 80% with no errors.
I should add, the pi4 is running from the spinner, while checking the >>>>> ssd. 89% checked, 0 errors as I write.
Also, a second pi4 has the same issue, so it's not a faulty pi4.
Two thoughts:
Try a different USB bridge on the SSD.
Some behave better than others.
+1
My rpi4 UBS 3 sockets failed, I suspect due to feeding power back into
the port from a powered SATA to USB connector.
The USB 2 ports still work fine.
This USB failure was slow. USB 3failure started as occasional SSD
write errors, gradually becoming more regular.
It took me a while to diagnose as the problem was intermittent and
there was nothing wrong with the disk itself.
I would be surprised if the fault was caused by back powering.ÿ The superspeed signals are capacitor coupled.ÿ The client end of the
connection does not transmit anything until the host has
completed a probe operation to look for the correct termination
resistance at the client end.ÿ Therefore there would never
be any attempt at superspeed data transmission if the host was
unpowered.
John
My rpi4 UBS 3 sockets failed, I suspect due to feeding power back intoI use a Pi for a PVR, recording TV programmes to a spinning USB HDD that
the port from a powered SATA to USB connector.
On 31/05/2026 23:57, Pancho wrote:
My rpi4 UBS 3 sockets failed, I suspect due to feeding power backI use a Pi for a PVR, recording TV programmes to a spinning USB HDD
into the port from a powered SATA to USB connector.
that is connected to a powered USB hub (so the HDD is not being
powered by the Pi's USB).
When I used a Pi3, this worked perfectly. When I switched to using a
Pi4, with the same HDD and hub, the Pi consistently hung very early in
the boot process. As soon as I unplugged the hub from the Pi (or
removed the hub's PSU) the Pi continued the boot process. (*)
It was a problem mainly if there had been a power cut and the power to
both the Pi and the hub was turned on at the same time (when the
power came back).
Someone suggested back-powering might be the cause, so I made up a
special cable which had its +5V line cut and connected it between the
Pi and the hub. Sadly this made no difference.
Powering the HDD from the Pi's power, via USB, worked fine - but I was
uneasy about drawing so much current from the Pi's PSU in case the
voltage ever sagged to the point that the Pi started to misbehave.
I solved the problem by changing to use a SATA HDD in a caddy that had
a powered SATA-USB interface.
So the Pi4 seems to be more sensitive to powered devices than the Pi3.
I'm not sure about the Pi5 as I've only used USB-powered SD cards as
slave drives.
All of this is talking about an HDD that is used as a data disk. I
still boot off an SD card plugged into the Pi's motherboard, in the
standard way.
(*) I forget how far the boot got before it hung. It might have been
before there was *any* image on a monitor connected to the HDMI port,
which isn't a great deal of help...
When I used a Pi3, this worked perfectly. When I switched to using a
Pi4, with the same HDD and hub, the Pi consistently hung very early
in the boot process. As soon as I unplugged the hub from the Pi (or
removed the hub's PSU) the Pi continued the boot process. (*)
| Sysop: | Dave Parker |
|---|---|
| Location: | Redhill, Surrey |
| Users: | 14 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 16:41:38 |
| Calls: | 167 |
| Calls today: | 1 |
| Files: | 12 |
| D/L today: |
4 files (348K bytes) |
| Messages: | 32,482 |