View previous topic :: View next topic |
Author |
Message |
carfentanyl n00b
Joined: 28 Dec 2023 Posts: 8
|
Posted: Thu Dec 28, 2023 3:54 pm Post subject: |
|
|
Bit of an update - I installed RaspiOS to a SSD via USB adapter and got same issue with loss of external disk.
Quite a few input/output errors before system slowly becomes unresponsive.
Likey not to be an issue with Gentoo - rather the use of SSDs with the RPi5
Last edited by carfentanyl on Thu Dec 28, 2023 7:39 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Thu Dec 28, 2023 3:58 pm Post subject: |
|
|
carfentanyl,
Quote: | The new RPi 5 runs at 3.1GHz ... |
If you don't overclock, is the problem solved?
Raspberry Pi OS is not Pi5 optimised. Its one 64 bit user space image for the Pi3/4/5.
Gentoo will be optimised which will make everything work harder, so overclocking is riskier. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Thu Dec 28, 2023 4:01 pm Post subject: |
|
|
carfentanyl,
Post your config.txt please. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
carfentanyl n00b
Joined: 28 Dec 2023 Posts: 8
|
Posted: Thu Dec 28, 2023 7:36 pm Post subject: |
|
|
Thanks for replying so quickly.
After your suggestion I tried the stock latest RaspPi OS on the RPi5 with my SSD via a USB adapter and got the same issues without overclocking. I wonder is some issue related to SSD power saving?
Here is config.txt as requested;
Code: | #Gentoo 6.5-zfsroot-docker-zram
#HDMI
hdmi_enable_4kp60=1
hdmi_group=2
hdmi_drive=2
disable_overscan=1
hdmi_pixel_encoding=2
#Allow EDID from monitor
bootcode_delay=1
#extended firmware
#start_x=1
#RF
dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
disable_fw_kms_setup=1
# Run in 64-bit mode
arm_64bit=1
#kernel=kernel-6.5.7.img
#initramfs initramfs-6.5.7.img followkernel
kernel=kernel-6.1.69.img
initramfs initramfs-6.1.69-v8-16k+.img followkernel
[rpi5]
#over_voltage=15
#over_voltage_delta=50000
#initial_turbo=60
#force_turbo=1
#arm_freq=3100
#gpu_freq=700
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
dtparm=i2c_vc=on
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi
[all]
#COMPILATION BOOT
#arm_freq=2100
#gpu_freq=850
#core_freq=920
#h264_freq=500
#isp_freq=500
#v3d_freq=900
#hevc_freq=500
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
#Turn off dither to reduce hiss
#disable_audio_dither=1
pwm_sample_bits=24
# Automatically load overlays for detected cameras
#camera_auto_detect=0
# Automatically load overlays for detected DSI displays
#display_auto_detect=0 |
Code tags added by NeddySeagoon |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Thu Dec 28, 2023 7:57 pm Post subject: |
|
|
carfentanyl,
See Powering Raspberry Pi 5. The Pi5 is the first Pi that needs a PSU/Cable that can do the USB-C PD standard.
If that not used, power to peripherals is restricted to 600mA.
A SSD may struggle on just 600mA.
As the page says, there is a Code: | usb_max_current_enable=1 | knob in config.txt that defeats that power limit. However, that will only move the power problem elsewhere.
A powered hub may help too. - Not to power the Pi, just the USB HDD. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
carfentanyl n00b
Joined: 28 Dec 2023 Posts: 8
|
Posted: Sat Dec 30, 2023 11:24 am Post subject: |
|
|
thanks again Neddy, I had not come across that update on the Pi site.
I'm using the new 25W PS, and the USB hub has a 4A supply, it all works with the 3 SSDs and my Pi4 with gentoo.
Interestingly when trying to use vcgencmd on my gentoo setup the Pi5 gives a VCHI initialization failure, as I was trying to read usb_max_current (/opt/vc/bin/vcgencmd) |
|
Back to top |
|
|
carfentanyl n00b
Joined: 28 Dec 2023 Posts: 8
|
Posted: Sun Dec 31, 2023 11:56 am Post subject: Fixed issue with RPi 5 and input/output errors |
|
|
I fixed what appeared to be a power supply issue with a switch in drivers from the UAS driver to the usb-storage driver
As its needed to load the root filesystem it has to be added to the cmdline.txt
usb-storage.quirks=aaaa:bbbb:u
a= idVendor b= idProduct (dont forget the :u) you can place a comma and list further drives if needed
In my case I got these from lsusb -t
The Realtek Semiconductor RTL 9210 USB3 to NVMe SSD adaptor used to work great with my RPi4 but not I have to force the inferior driver use with the RPi5. I don't think it will affect performance that much as you never really saturate SSD performance with either drive.
So for me cmdline.txt;
usb-storage.quirks=0bda:9210:u |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Sun Dec 31, 2023 1:04 pm Post subject: |
|
|
carfentanyl,
If that turns off UAS support, you only have 'bulk mode'.
That's like PIO mode on old IDE HDD.
For a speed test, try it on the Pi4 with both modes. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Thu Jan 04, 2024 12:41 am Post subject: |
|
|
For those of you compiling/building on your Pi 5, what form of cooling are you using?
Active? My concern is noise.
Passive? Is there a solution that stays cool enough to not throttle?
Opinions? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Thu Jan 04, 2024 9:23 am Post subject: |
|
|
flysideways,
The official active cooler. The fan never goes above its lowest speed and its still silent. The hottest I've seen the CPU is 62 deg C.
Its not in a case and I'm still building on an SD card.
I have the geekworm armour case too. That's passive. It worked well on the Pi4.
I need to find some down time for the swap, or get another Pi5. I found a UK source. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Thu Jan 04, 2024 5:27 pm Post subject: |
|
|
Thanks, Neddy.
I had to order the official cooler and power supply. None to be found in stock locally. I didn't really expect to find the Pi 5 so soon, but I got lucky.
A long time ago I had people that would have milled a copper copy of one of the passive aluminum cases for me if I asked, but they're long gone. That would've been '83 to '89.
I really want passive like my Pi 4's, but, that can wait. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Thu Jan 04, 2024 5:59 pm Post subject: |
|
|
It seems I might have found a new hobby, a nearby library has a makerspace with a desktop CNC mill appropriate to the task. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Tue Jan 30, 2024 8:23 am Post subject: |
|
|
Cooling thoughts, I was concerned about the Factory active cooler, but they got it right. Late at night, when all is quiet, yes I hear it. During the day, with any ambient background noise, it blends in. Then there is the reality that it rarely is needed to run full out.
The passive cooler seems OK too, but I'll keep the Factory active cooler for the Gentoo Pi. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Tue Jan 30, 2024 10:45 am Post subject: |
|
|
flysideways,
The Geekworm passive cooler hit 85C and thermal trotting here.
The fix is to take an original Pentium passive cooler and jam its fins into the case fins :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 508 Location: San Diego, California USA
|
Posted: Fri Feb 02, 2024 6:22 am Post subject: |
|
|
Finally got RPi5 hardware. I've been running Gentoo on a RPi4b with kernel 6.7.1. I'm happy to say that I successfully moved my SDCard from the 4b into the new 5 and it started up without a problem! I just had to make sure I had the RPi5 firmware files in place. Wifi, ethernet, and BT all seem to work. I have an SSD and an SSD Hat coming in a couple days. Looking forward to seeing if I can get that to work and hopefully see a good speed increase on I/O. It's awesome that the transition seems to be pretty easy. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 501
|
Posted: Sat Feb 03, 2024 6:21 pm Post subject: |
|
|
NeddySeagoon wrote: | flysideways,
The Geekworm passive cooler hit 85C and thermal trotting here.
The fix is to take an original Pentium passive cooler and jam its fins into the case fins |
I got one of the Geekworm passive coolers, it was next day Amazon here, go figure. It seems fine running RPiOS as a desktop. I am quite impressed with the Pi 5 in that application. It works for all of my normal browsing, far better than a 4.
I'm going to stick with the RPi active cooler for building and updating Gentoo. |
|
Back to top |
|
|
|