-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Firmware update breaks 2B with USB/SATA HD root filesystem #374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you narrow it down to a firmware (start.elf) or kernel change? |
I'll give that a go tonight. |
I've run the tests. It doesn't matter which kernel7 I try it hangs waiting for the rootfs. So it looks like a firmware bug. |
Are you saying with latest rpi-update, if you downgrade start.elf/fixup.dat to |
Yes. I've now downgraded everything to |
No, not everything at |
I did the test with the latest kernel and old start.elf and the system booted. That's going to happen when it reboots at 02:00, because I'm currently running a smartctl test against my HD right now.
|
I've re-run the tests this morning.
from 8ddfa1f |
So are you saying with the latest kernel, and gpu firmware from 8ddfa1f that mounting by uuid works? Can you report output of
for the working and non working cases? |
Working case:vcgencmd get_config intarm_freq=900 vcgencmd get_config strramfsfile=initrd.sda vcgencmd versionFeb 21 2015 18:40:51 cat /proc/cmdlinedma.dmachans=0x7f35 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5a67d427 smsc95xx.macaddr=B8:27:EB:67:D4:27 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=UUID=296e7e22-8bb1-4970-8dfd-c24fd4f03346 rootfstype=ext4 elevator=deadline rootwait rootdelay=5 Broken case(note I've had to change the cmdline to use a rootfs on the SDCard because otherwise I can't login):vcgencmd get_config intarm_control=0xa5800010 vcgencmd get_config strdevice_tree=- vcgencmd versionFeb 26 2015 16:02:45 cat /proc/cmdlinedma.dmachans=0x7f35 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5a67d427 smsc95xx.macaddr=B8:27:EB:67:D4:27 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait |
Thanks. Looks like ramfsfile=initrd.sda is missing, which could explain your symptoms. |
Can you try this test firmware: |
Thanks. That booted OK. vcgencmd get_config intarm_control=0xa5800010 vcgencmd get_config strdevice_tree=- vcgencmd versionFeb 27 2015 13:45:40 cat /proc/cmdlinedma.dmachans=0x7f35 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5a67d427 smsc95xx.macaddr=B8:27:EB:67:D4:27 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=UUID=296e7e22-8bb1-4970-8dfd-c24fd4f03346 rootfstype=ext4 elevator=deadline rootwait rootdelay=5 |
kernel: staging: add FBTFT drivers See: raspberrypi/linux#836 kernel: dts: overlay: add support for various displays See: raspberrypi/linux#853 kernel: BCM2835-V4L2: Fix compliance test failures See: raspberrypi/linux#856 firmware: ldconfig: Fix for off by one on config list count See: #374 See: #381 See: #378
kernel: staging: add FBTFT drivers See: raspberrypi/linux#836 kernel: dts: overlay: add support for various displays See: raspberrypi/linux#853 kernel: BCM2835-V4L2: Fix compliance test failures See: raspberrypi/linux#856 firmware: ldconfig: Fix for off by one on config list count See: raspberrypi/firmware#374 See: raspberrypi/firmware#381 See: raspberrypi/firmware#378
Can you confirm latest rpi-update firmware fixes the issue. |
Thank you very much. That's working just fine right now. uname -aLinux apollo 3.18.8-v7+ #761 SMP PREEMPT Fri Feb 27 15:48:09 GMT 2015 armv7l GNU/Linux vcgencmd get_config intarm_control=0xa5800010 vcgencmd get_config strdevice_tree=- vcgencmd versionFeb 27 2015 15:31:31 cat /proc/cmdlinedma.dmachans=0x7f35 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5a67d427 smsc95xx.macaddr=B8:27:EB:67:D4:27 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=UUID=296e7e22-8bb1-4970-8dfd-c24fd4f03346 rootfstype=ext4 elevator=deadline rootwait rootdelay=5 |
Good to hear. |
kernel: staging: add FBTFT drivers See: raspberrypi/linux#836 kernel: dts: overlay: add support for various displays See: raspberrypi/linux#853 kernel: BCM2835-V4L2: Fix compliance test failures See: raspberrypi/linux#856 firmware: ldconfig: Fix for off by one on config list count See: raspberrypi#374 See: raspberrypi#381 See: raspberrypi#378
The latest two commits fail to boot when the rootfs is on a 160GB USB/SATA HD.
9e69b79f484fe005d7eca698962f3ee27fa00aaf broke my 2B
ff93337300068d3cddd7f823bc77c4eb954357c9 boots OK if the root is on /dev/mmcblk0pX
8ddfa1f9eba8a207724644b22255597757dbcb75 books OK with root on /dev/disk/by-uuid/296e7e22-8bb1-4970-8dfd-c24fd4f03346 and is what I'm running right now with the USB/SATA rootfs.
cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=UUID=296e7e22-8bb1-4970-8dfd-c24fd4f03346 rootfstype=ext4 elevator=deadline rootwait rootdelay=5
I've tried setting rootdelay to 15, it makes no difference the boot waits forever for the root filesystem to come up ready.
config.txt
Current uname -a
/etc/fstab
The text was updated successfully, but these errors were encountered: