View previous topic :: View next topic |
Author |
Message |
Progman3K l33t
Joined: 03 Jan 2004 Posts: 787
|
Posted: Mon Jul 10, 2023 4:10 pm Post subject: arm64 6.1.21 raspberrypi waiting for root dev [SOLVED] |
|
|
Hi!
I've been running kernel arm64 5.15.84_p20230106-raspberrypi
with no problems for months.
During the last update. kernel arm64 6.1.21_p20230405-raspberrypi became available.
I performed the normal update, which consisted of
copying the .config of the previous kernel to the new kernel's directory
running make oldconfig
When prompted for new kernel items, I mostly went with the default suggested value, but sometimes I explicitly chose N for items that I either did not have the hardware for or did not think was necessary.
Normally, after doing this, and then building and installing the new sources, booting is successful.
But not this time. Instead, the raspberry pi seems to be waiting for the root device
Here's the output at boot:
4 raspberry icons
[ 1.227433] Console: switching to colour frame buffer device 170x48
[ 1.23153?] simple-framebuffer 3e7fe000.framebuffer: fb0: simplefb registered!
[ 1.23494?] vc-mem: phys_addr:Ox00000000 mem_base.0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.235718] gplomem-bcm2835 fe200000.gpiomem: Initialised: Registers at OxfeZ00000
[ 1.248580] brd: module loaded
[ 1.257428] loop: module loaded
[ 1.257849] Loading iSCSI transport class u2.0-870.
[ 1.263030] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: Ox0000
[ 1.324049] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.325338] usbcore: registered new interface driver r8152
[ 1.325465] usbcore: registered new interface driver lan78xx
[ 1.325588] usbcore: registered new interface driver smsc95xx
[ 1.326131] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.327064] usbcore: registered new interface driver uas
[ 1.327192] usbcore: registered new interface driver usb-storage
[ 1.327501] mousedev: PS/2 mouse device common for all mice
[ 1.329091] sdhci: Secure Digital Host Controller Interface driver
[ 1.329156] sdhci: Copyright(c) Pierre Ossman
[ 1.329206] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.331556] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.333250] hid: raw HID events driver (C) Jiri Kosina
[ 1.3348251 usbcore: registered new interface driver usbhid
[ 1.336351] usbhid: USB HID core driver
[ 1.338196] Initializing XFRM netlink socket
[ 1.340285] NET: Registered PF_INET6 protocol family
[ 1.343564] Segment Routing with IPv6
[ 1.345067] In-situ OAM (IOAM) with IPv6
[ 1.346550] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.348695] NET: Registered PF_PACKET protocol family
[ 1.3502201 Key type dns_resolver registered
[ 1.352880] registered taskstats version 1
[ 1.3543551 Loading compiled-in X.509 certificates
[ 1.356532] Key type .fscrypt registered
[ 1.357926] Key type fscrypt-provisioning registered
[ 1.365967] of_cfs_init
[ 1.367489] of_cfs_init: OK
[ 1.369649] Waiting for root device /dev/mmcblk0p3...
[ 11.490020] amba fe201000.serial: deferred probe pending
[ 11.491429] platform cam1_regulator: deferred probe pending
[ 11.4928211 platform sd_vcc_reg: deferred probe pending
[ 11.494158] platform sd_io_1v8_reg: deferred probe pending
[ 11.495486] platform leds: deferred probe pending
What did I miss?
Should I run a make clean, erase the .config and repeat the kernel upgrade procedure, this time accepting ALL new default options? The reason I hesitate to do this is because compiling the kernel takes about a day and a half, and I'd like to avoid this if possible
Thank you in advance for any insight
Last edited by Progman3K on Wed Sep 06, 2023 3:27 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54744 Location: 56N 3W
|
Posted: Mon Jul 10, 2023 4:24 pm Post subject: |
|
|
Progman3K,
What Pi do you have?
Late Pi 2s and later can run 64 bit?
Quote: | compiling the kernel takes about a day and a half | A Pi4 can do in in an hour, so not one of those.
Why not cross compile the kernel?
Its probably the easiest package to cross compile.
I don't see the mmc card or its partitions detected by the kernel but the GPU loaded the kernel, so its probably there.
That suggests that one of the sdhci options is missing. There are three. I usually make all three built in. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ShorTie Tux's lil' helper
Joined: 12 Feb 2006 Posts: 101
|
Posted: Mon Jul 10, 2023 5:23 pm Post subject: |
|
|
Quote: | copying the .config of the previous kernel to the new kernel's directory |
Wrong !!
a fresh make deconfig.... always, when dealing with a pi at least |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54744 Location: 56N 3W
|
Posted: Mon Jul 10, 2023 5:26 pm Post subject: |
|
|
ShorTie,
Why?
The traditional method has always worked for me. _________________ 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: 54744 Location: 56N 3W
|
Posted: Mon Jul 10, 2023 5:33 pm Post subject: |
|
|
Moved from Kernel & Hardware to Gentoo on ARM.
Its one of these _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
erg_samowzbudnik Apprentice
Joined: 09 Sep 2011 Posts: 229 Location: European sticks
|
Posted: Thu Aug 03, 2023 3:57 pm Post subject: |
|
|
I got hit by a similar issue with the same kernel.
I wonder if it is related at all though.
Here kernel does find root device but shortly after it hangs forever with:
Code: | random: crng init done
platform 3f202000.mmc: deferred probe pending |
I suppose in my case I have incorrect mmc modules.
Mine is Raspberry Pi 3B+
Tried with a few combinations, looked here: https://forums.raspberrypi.com/viewtopic.php?t=210225
but so far failed to solve it. |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1427 Location: Richmond Hill, Canada
|
Posted: Thu Aug 03, 2023 4:55 pm Post subject: |
|
|
I wonder if you missing platform firmware, for example on my pi4 I have this message Code: | [ 0.103713] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-01-08T14:31:34, variant start_cd
[ 0.107066] raspberrypi-firmware soc:firmware: Firmware hash is 194a85abd768c7334bbadc3f1911c10a7d18ed14 |
You posted "messages" is at later stage of boot, so I don't know if you missing anything else.
Do you use initrd(initramfs)?
Do you have MMC stuff build into kernel? for example on my pi4 I got Code: | [ 4.263692] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 4.270631] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 4.304004] of_cfs_init
[ 4.307406] of_cfs_init: OK
[ 4.329941] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 4.337895] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 4.340020] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 4.358034] Freeing unused kernel memory: 3712K
[ 4.363583] Run /init as init process
[ 4.368167] with arguments:
[ 4.368172] /init
[ 4.368177] with environment:
[ 4.368182] HOME=/
[ 4.368186] TERM=linux
[ 4.368191] rootwait=10
[ 4.368464] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 4.377781] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 4.386002] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 4.415068] random: fast init done
[ 4.453891] mmc1: new high speed SDIO card at address 0001
[ 4.456965] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[ 4.468534] mmcblk0: mmc0:aaaa SN64G 59.5 GiB
[ 4.471507] mmcblk0: p1 p2 |
I have a very old kernel, so I really could not tell you where MMC kernel configurations. |
|
Back to top |
|
|
Progman3K l33t
Joined: 03 Jan 2004 Posts: 787
|
Posted: Wed Sep 06, 2023 3:26 am Post subject: |
|
|
ShorTie wrote: | Quote: | copying the .config of the previous kernel to the new kernel's directory |
Wrong !!
a fresh make deconfig.... always, when dealing with a pi at least |
That was the key. Thank you |
|
Back to top |
|
|
|