-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
device-helper blocking #8
Comments
First of all thanks for kind words!
That's main reason why i wrote tinyramfs. I was always hated how dracut or mkinitcpio complicates their configurations. Second reason is portability issues. Mkinitcpio always was unportable due to udev dependency and gnuisms...Same thing for dracut, it contains millions of unnecessary bashism. Their claim about "Init script written in POSIX shell" is false because they(developers) uses
Thank you for very detailed bug report. I'm currently a little bit busy because i'm working on a huge update for tinyramfs(see #7 ) and another one project for community... I will include fix for this issue in next update |
Welcome! I'll be eagerly looking forward to when you're satisfied enough with this to include it in community, or perhaps even extras. |
Should be fixed, can you confirm? |
Yup, thank you so much, it's working perfectly now! BTW was root filesystem autodetection removed intentionally? The config still says it will be done, but it isn't anymore :P |
Nope, it should work. At least it works for me (f2fs) |
Ah nevermind, my bad, it is working :P Thanks again! |
Hello creator!
First of all, let me thank you for this project. I'm new to kernel DIYing, and the whole initramfs thing was almost incomprehensible because of all of the convoluted things mainstream distros do, almost too scary to dabble in. It's been nice to have this system you can look at and tinker with yourself.
While setting it up for myself, I found a blocking bug in the
device-helper
script along with a potential false failure in theinit
.How to reproduce: have a CD drive in your system
Procedure: After running for about one or two minutes, the
init
script got anEXIT
signal (thepanic
message was unexpected error) and it dropped me into an interactive shell. I played around a bit and used the cmdline breakpoints to figure out that it was failing somewhere insetup_devmgr
. Played around some more, entered the commands in the init script by hand and saw thatdevice-helper
was going into a infinite waiting loop on/dev/sr0
. It never got a successfulblkid
read on it, which is expected, it doesn't even give one on booted systems.Solution: added a special case exit in
device-helper
forsr*
dev_name (probably a very dirty hack)Also worth looking into is the
EXIT
signalinit
was getting about 2 minutes after boot. While no (working) boot process should ever last this long, it may be symptomatic of another problem. All I could figure out was that at the time I was thrown into the interactive shell,device-helper
forsr0
was still running, and some time later,udevadm
got tired of it and killed it itself.Thanks and good luck!
The text was updated successfully, but these errors were encountered: