Re: 7.0.3-beta2 won't boot

Erich Titl <[email protected]>
Newsgroups gmane.linux.leaf.user
Message-ID <[email protected]>
Hi Tim

Am 26.05.2021 um 21:01 schrieb Timothy Wegner:
>   KP and Erich,
> 
> The links at the bottom show the output of dmesg from both the working
> beta1 and the not working beta2
> 
> blkid on the working leaf shows only /dev/zram0 and /dev/sda1

And those are USB attached, I guess.

> 
> If I boot the non-working beta2 and go to the console, I can mount the usb
> as /dev/sda1!

So the test for the block device appears to return a false value.

Can you check from the console

> Editing leaf.cfg and syslinux.cfg to say sdb1 instead of sda1 doesn't help,
> and blkid from the console still shows /dev/sda1

OK, we can assume that from the working software.

Can you run something like this from the console

[ -b /dev/sda1 ] && echo "/dev/sda1 is a block device" || echo 
"/dev/sda1 is not a block device"

We are calling mdev very early in the init process to populate the /dev 
directory, then give the kernel a bit of time, e.g. the value of 
usb_wait in seconds to finish its job.

Do you set the usb_wait parameter in syslinux.cfg? If not could you 
please try to set it to maybe 5 or even 10 so the init process would 
wait a little longer to initially populate the /dev directory? The mdev 
utility just makes the kernel spawn quite a number of processes to 
populate the /dev directory and it might just not have finished yet.

cheers

ET

------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.