Raspberry pie 3B+

Raspberry Pi related support

Re: Raspberry pie 3B+

Postby cmh714 » 11 Feb 2019, 18:28

andre_chang wrote:
cmh714 wrote:so not to throw any wrinkles in.....and I didnt want to search the thread so sorry if this was potentially addressed.....

I am curious if this is an externally powered USB or if its getting it from the Pi? because I would think it does need to be externally powered AND already powered up and spinning when the pi boots.....

just some random thoughts.....GL!!!


Hi cmh714:
The power supply of usb-hdd is obtained from pi3b + USB port.
The power supply I supply to pi3b + is 5v/5a. Voltage and current are absolutely sufficient.
Andre


if you think so....cheers and GL!
cmh714
 
Posts: 353
Joined: 04 May 2014, 03:06

Re: Raspberry pie 3B+

Postby R101 » 11 Feb 2019, 19:16

Andre,

The power supply might be 5V, but have you checked at the Pi and the HDD? Unless the lead is very short, you are probably losing at least a volt in it.
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 201
Joined: 29 Apr 2016, 16:16

Re: Raspberry pie 3B+

Postby janui » 11 Feb 2019, 22:16

Hi R101 & cmh714,
Thanks for your posts. Didn’t give power a thought until now. It is a known issue on the 3B+, boot power peaks cause problems, this happens even when a 3B in the same configuration had no problems.
A short HDD cable is potentially a very smart and simple solution.
Lets see if we can verify/clarify what is going on. Any other suggestions are very welcome.
janui
User avatar
janui
 
Posts: 564
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry pie 3B+

Postby janui » 11 Feb 2019, 22:19

Hi andre_chang,
Lets look at the logging for sda1 and sda2. Could you post the output of
Code: Select all
journalctl | grep sda
And also post the output of this:
Code: Select all
systemd-analyze blame

I would recommend using a very short cable for the HDD as suggested by R101. This will improve reliability even if power is not causing the current problems.

What also is worth a try is modifying the file /boot/config.txt to increase the boot delay time. If power is the problem this modification may allow the HDD to fully start up before actually starting the boot process. This is the line to modify:
Code: Select all
boot_delay=2
A value between 5 and 10 should be fine, a larger will have no real effect.
janui
User avatar
janui
 
Posts: 564
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry pie 3B+

Postby andre_chang » 12 Feb 2019, 08:45

Hi janui:
Modifying the value of config. txt - > boot_delay = 2 < - - - 5-10 is not helpful... Sda1. device is still wrong after restart. Penultimate 1 minute 30 seconds..

PS. These problems will not happen on moode system. He can use usb-hdd to boot normally. There are no errors.

Andre
Attachments
journalctl.png
journalctl.png (49.51 KiB) Viewed 216 times
analyze blame.png
analyze blame.png (40.08 KiB) Viewed 216 times
andre_chang
 
Posts: 72
Joined: 01 Feb 2016, 13:27

Re: Raspberry pie 3B+

Postby andre_chang » 12 Feb 2019, 10:46

Hi janui & cmh714 & R101:
It took me a little time to test the above questions in other ways.. The USB power supply problem of PI3B & PI3B +.

I use 3.5 inch HDD - > connect SATA to USB card... 3.5 inch hard disk fully uses a separate 12V & 5V power supply!

SATA to USB Card Connecting to PI's USB Port & PI Hardware Supplied by Another 5V/4 Amp Power Supply

This method can completely eliminate the impact of power supply shortage.

Unfortunately.. RUNE will still prompt sda1. devie to wait 1:30 seconds in the boot process.

PS. Hard disk boot in Rune 0.3bata + PI3B environment. There is no such problem!

Testing these faults over and over again is time-consuming and very hard. Please give more praise to the rune team for their hard work.

Look forward to Janui reviewing the logs of sda1 & sda2...

Andre
andre_chang
 
Posts: 72
Joined: 01 Feb 2016, 13:27

Re: Raspberry pie 3B+

Postby janui » 13 Feb 2019, 11:00

Hi andre_chang,
I think your explanation concerning how you power the HDD plus the output of 'journalctl | grep sda' and 'systemd-analyze blame' just about eliminate the potential power problems. What I see in the output is that sda1 takes far too long mount, it should be 4 or 5 seconds. Could you post the output of:
Code: Select all
cat /etc/fstab
And:
Code: Select all
cat /etc/crypttab
And:
Code: Select all
cat /etc/default/grub
And:
Code: Select all
cat /boot/grub*.cfg
And:
Code: Select all
dir -l /etc/udev/rules.d/
And:
Code: Select all
dir -l /etc/grub.d/
Could be that some commands give no output, this is fine. Then finally post the output of this command:
Code: Select all
systemd-analyze critical-chain
janui
User avatar
janui
 
Posts: 564
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry pie 3B+

Postby andre_chang » 13 Feb 2019, 16:48

Hi janui:
This is the output you need:

Andre
Attachments
cat.png
cat.png (85.92 KiB) Viewed 128 times
andre_chang
 
Posts: 72
Joined: 01 Feb 2016, 13:27

Re: Raspberry pie 3B+

Postby cmh714 » 13 Feb 2019, 17:17

does vfat = ext4???
cmh714
 
Posts: 353
Joined: 04 May 2014, 03:06

Re: Raspberry pie 3B+

Postby janui » 14 Feb 2019, 12:21

Hi andre_chang & cmh714,
cmh714 wrote:does vfat = ext4???
No. The first partition is vfat (DOS), This is the boot partition /boot. Files on this are editable/modifiable when the HDD (or Micro-SD card) is plugged into a Windows or Linux/Unix machine. For example, this makes it possible to modify config.txt or cmdline.txt if it will not boot. The second partition is ext4 (Linux) and this contains /root.
andre_chang wrote:This is the output you need:
Thanks for the information, but nothing wrong here. I am now interested in the output of these commands:
Code: Select all
cat /etc/udev/rules.d/rune_usb-audio.rules
cat /etc/udev/rules.d/raspberrypi.rules
cat /etc/udev/rules.d/60-schedulers.rules
cat /etc/udev/rules.d/rune_usb-stor.rules
janui
User avatar
janui
 
Posts: 564
Joined: 20 Dec 2014, 12:55
Location: Ollanda

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest
cron