All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
       [not found] <E1ALez7-0007q5-Of@frankenstein>
@ 2003-11-17 16:14 ` Matt Zimmerman
  2003-11-17 18:55   ` user-mode-linux
  2003-11-18  1:30   ` Daniel Burton
  0 siblings, 2 replies; 6+ messages in thread
From: Matt Zimmerman @ 2003-11-17 16:14 UTC (permalink / raw)
  To: Daniel Burton, 220679; +Cc: user-mode-linux-devel

On Mon, Nov 17, 2003 at 12:43:49AM -0800, Daniel Burton wrote:

> Package: user-mode-linux
> Version: 2.4.22-5um-1
> Severity: normal
> Followup-For: Bug #220679
> 
> The 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.

> F_SETLK failed, file already locked by pid 26263
> Failed to lock 'root_fs', err = 11
> unable to open root_fs for validation

And this is the problem.  Presumably pid 26263 is the UML itself, and for
some reason the file isn't getting unlocked.

-- 
 - 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
  2003-11-17 16:14 ` [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot Matt Zimmerman
@ 2003-11-17 18:55   ` user-mode-linux
  2003-11-17 18:59     ` Matt Zimmerman
  2003-11-18  1:30   ` Daniel Burton
  1 sibling, 1 reply; 6+ messages in thread
From: user-mode-linux @ 2003-11-17 18:55 UTC (permalink / raw)
  To: Daniel Burton; +Cc: Matt Zimmerman, 220679, user-mode-linux-devel

On Mon, 17 Nov 2003, Matt Zimmerman wrote:

> On Mon, Nov 17, 2003 at 12:43:49AM -0800, Daniel Burton wrote:
>
> > Package: user-mode-linux
> > Version: 2.4.22-5um-1
> > Severity: normal
> > Followup-For: Bug #220679
> >
> > The 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

> > F_SETLK failed, file already locked by pid 26263
> > Failed to lock 'root_fs', err = 11
> > unable to open root_fs for validation
>
> And 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
  2003-11-17 18:55   ` user-mode-linux
@ 2003-11-17 18:59     ` Matt Zimmerman
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Zimmerman @ 2003-11-17 18:59 UTC (permalink / raw)
  To: user-mode-linux; +Cc: Daniel Burton, 220679, user-mode-linux-devel

On Mon, Nov 17, 2003 at 01:55:35PM -0500, user-mode-linux@mukesh.agrawals.org wrote:

> On Mon, 17 Nov 2003, Matt Zimmerman wrote:
> 
> > On Mon, Nov 17, 2003 at 12:43:49AM -0800, Daniel Burton wrote:
> > > F_SETLK failed, file already locked by pid 26263
> > > Failed to lock 'root_fs', err = 11
> > > unable to open root_fs for validation
> >
> > And 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 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.

-- 
 - 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
  2003-11-17 16:14 ` [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot Matt Zimmerman
  2003-11-17 18:55   ` user-mode-linux
@ 2003-11-18  1:30   ` Daniel Burton
  2003-11-18  4:06     ` Matt Zimmerman
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Burton @ 2003-11-18  1:30 UTC (permalink / raw)
  To: Matt Zimmerman; +Cc: 220679, user-mode-linux-devel

Matt Zimmerman wrote:

>On Mon, Nov 17, 2003 at 12:43:49AM -0800, Daniel Burton wrote:
>
>  
>
>>Package: user-mode-linux
>>Version: 2.4.22-5um-1
>>Severity: normal
>>Followup-For: Bug #220679
>>
>>The 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.
>  
>

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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
  2003-11-18  1:30   ` Daniel Burton
@ 2003-11-18  4:06     ` Matt Zimmerman
  2003-11-18  8:19       ` Daniel Burton
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Zimmerman @ 2003-11-18  4:06 UTC (permalink / raw)
  To: Daniel Burton; +Cc: 220679, user-mode-linux-devel

On Mon, Nov 17, 2003 at 05:30:30PM -0800, Daniel Burton wrote:

> Matt Zimmerman wrote:
> 
> >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?

-- 
 - 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot
  2003-11-18  4:06     ` Matt Zimmerman
@ 2003-11-18  8:19       ` Daniel Burton
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Burton @ 2003-11-18  8:19 UTC (permalink / raw)
  To: Matt Zimmerman; +Cc: 220679, user-mode-linux-devel

Matt Zimmerman wrote:

>On Mon, Nov 17, 2003 at 05:30:30PM -0800, Daniel Burton wrote:
>
>  
>
>>Matt Zimmerman wrote:
>>
>>    
>>
>>>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?
>
>  
>
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-11-18  8:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1ALez7-0007q5-Of@frankenstein>
2003-11-17 16:14 ` [uml-devel] Re: Bug#220679: user-mode-linux: Fails to Mount Root Filesystem on Reboot Matt Zimmerman
2003-11-17 18:55   ` user-mode-linux
2003-11-17 18:59     ` Matt Zimmerman
2003-11-18  1:30   ` Daniel Burton
2003-11-18  4:06     ` Matt Zimmerman
2003-11-18  8:19       ` Daniel Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.