Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
A message that is not in the archive (sent off-list or not yet received): E1ALez7-0007q5-Of@frankenstein
Quoted 11 lines · Daniel Burton
Package: user-mode-linux
Version: 2.4.22-5um-1
Severity: normal
Followup-For: Bug #220679The root filesystem doesn't get mounted when I reboot running the following script:
#!/bin/sh
linux ubd0=root_fs ubd1=swap eth0=daemon ssl0=tty:/dev/ttyS4 mem=4000M \
umid=vdialup root=/dev/ubd0 devfs=mount
So you are saying that specifying ubd0= explicitly does _not_, in fact, fix your problem? Your previous message seems to have said that it did.
Quoted 3 lines
F_SETLKfailed, file already locked by pid 26263
Failed to lock 'root_fs', err = 11
unable to openroot_fsfor validation
And this is the problem. Presumably pid 26263 is the UML itself, and for some reason the file isn't getting unlocked.
Signature · 12 lines
- mdz ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 14 lines · Matt Zimmerman
Quoted 11 lines · Daniel Burton
Package: user-mode-linux
Version: 2.4.22-5um-1
Severity: normal
Followup-For: Bug #220679The root filesystem doesn't get mounted when I reboot running the following script:
#!/bin/sh
linux ubd0=root_fs ubd1=swap eth0=daemon ssl0=tty:/dev/ttyS4 mem=4000M \
umid=vdialup root=/dev/ubd0 devfs=mount
Quoted 6 lines
Quoted 3 lines
F_SETLKfailed, file already locked by pid 26263
Failed to lock 'root_fs', err = 11
unable to openroot_fsfor validationAnd this is the problem. Presumably pid 26263 is the UML itself, and for some reason the file isn't getting unlocked.
You may have another UML using that file. Perhaps you killed some of the UML processes, but not all of them?
"ps aux | grep linux" will probably show a UML still running.
(This has always been the case for me, when I get the "F_SETLK failed" message.)
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 10 lines · On Mon, Nov 17, 2003 at 01:55:35PM -0500, [email protected]…
Quoted 7 lines · Matt Zimmerman
Quoted 3 lines · Daniel Burton
F_SETLKfailed, file already locked by pid 26263
Failed to lock 'root_fs', err = 11
unable to openroot_fsfor validationAnd this is the problem. Presumably pid 26263 is the UML itself, and for some reason the file isn't getting unlocked.
Quoted 7 lines
You may have another UML using that file. Perhaps you killed some of the UML processes, but not all of them?
"ps aux | grep linux" will probably show a UML still running.
(This has always been the case for me, when I get the "
F_SETLKfailed" message.)
This was after a reboot, not killing UML, so this same UML was able to lock the file earlier, and no other UML could have locked it during that time.
Signature · 12 lines
- mdz ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 11 lines · Matt Zimmerman
Quoted 7 lines · Daniel Burton
Package: user-mode-linux
Version: 2.4.22-5um-1
Severity: normal
Followup-For: Bug #220679The root filesystem doesn't get mounted when I reboot running the following script:
Quoted 10 lines
Quoted 5 lines
#!/bin/sh
linux ubd0=root_fs ubd1=swap eth0=daemon ssl0=tty:/dev/ttyS4 mem=4000M \
umid=vdialup root=/dev/ubd0 devfs=mountSo you are saying that specifying ubd0= explicitly does _not_, in fact, fix your problem? Your previous message seems to have said that it did.
All previous command lines I tried with ubd0=root_fs did allow it to reboot. For some reason, this command line didn't work. I have no idea why.
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 8 lines · Daniel Burton
Quoted 2 lines · Matt Zimmerman
So you are saying that specifying ubd0= explicitly does _not_, in fact, fix your problem? Your previous message seems to have said that it did.
All previous command lines I tried with ubd0=root_fs did allow it to reboot. For some reason, this command line didn't work. I have no idea why.
In that case, are you sure no other process was locking the file?
Signature · 12 lines
- mdz ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 12 lines · Matt Zimmerman
Quoted 8 lines · Daniel Burton
Quoted 4 lines · Matt Zimmerman
So you are saying that specifying ubd0= explicitly does _not_, in fact, fix your problem? Your previous message seems to have said that it did.
Quoted 8 lines
Quoted 3 lines
All previous command lines I tried with ubd0=root_fs did allow it to reboot. For some reason, this command line didn't work. I have no idea why.
In that case, are you sure no other process was locking the file?
I'm pretty sure not. Nothing else was mounting that filesystem, and nothing else should have been accessing the file.
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel