Patch for initrd on 2.4.21-pre5
The initrd refuses to work for me without the attached patch (actually, initrd works, but nothing else does: console is hosed). I did not see anything on the list. Am I the only one who uses initrd?
-- Pete
init/do_mounts.c +2 -0
@@ -813,6 +813,8 @@sys_fchdir (root_fd);sys_chroot ("." );sys_umount ("/old/dev" ,0 ); +close (old_fd); +close (root_fd);if (real_root_dev == ram0) {sys_chdir ("/old" );
Quoted 4 lines · Pete Zaitcev
The initrd refuses to work for me without the attached patch (actually, initrd works, but nothing else does: console is hosed). I did not see anything on the list. Am I the only one who uses initrd?
No, you're not :)
I found that out just yesterday, but I think your patch is more elegant than mine (just do close(0,1,2) buefore exit from handle_initrd()).
Jan
Signature · 3 lines
Jan Rękorajski | ALL SUSPECTS ARE GUILTY. PERIOD! baggins<at>mimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio
Quoted 4 lines · Pete Zaitcev
The initrd refuses to work for me without the attached patch (actually, initrd works, but nothing else does: console is hosed). I did not see anything on the list. Am I the only one who uses initrd?
Hello Pete,
the same patch was send on 22 Jan by Russell Coker, but apparently got ignored. Perhaps other people are used to only use patched 2.4.21pre kernels.
Cheers,
Willy
Marcelo Tosatti
AppliedQuoted 4 lines · Pete Zaitcev
The initrd refuses to work for me without the attached patch (actually, initrd works, but nothing else does: console is hosed). I did not see anything on the list. Am I the only one who uses initrd?
Applied.
Danke