* [uml-devel] mounting filesystems - mount crashes
@ 2003-09-21 18:30 Terry
2003-09-21 19:35 ` David Coulson
0 siblings, 1 reply; 7+ messages in thread
From: Terry @ 2003-09-21 18:30 UTC (permalink / raw)
To: user-mode-linux-devel
Hello,
I am trying to create a filesystem and have it mounted
during boot. The virtual machine is redhat 9.
I created the filesystem on the host os with dd. I
boot up my vm with ubd3=/uml/new_fs as a kernel
argument. WHen inside the VM, I create an ext2
filesystem on it. I am then able to mount it normally
from there. When I add it to fstab as:
/dev/ubd/3 /usr ext2 defaults 1 1
It blows chunks.
It also did this for my home filesystem and I have to
mount that from rc.local and it works fine but I need
/usr before that. Any ideas?
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-21 18:30 [uml-devel] mounting filesystems - mount crashes Terry
@ 2003-09-21 19:35 ` David Coulson
2003-09-22 9:56 ` stian
2003-09-25 18:45 ` Terry
0 siblings, 2 replies; 7+ messages in thread
From: David Coulson @ 2003-09-21 19:35 UTC (permalink / raw)
To: Terry; +Cc: user-mode-linux-devel
Terry wrote:
> I created the filesystem on the host os with dd. I
> boot up my vm with ubd3=/uml/new_fs as a kernel
> argument. WHen inside the VM, I create an ext2
> filesystem on it. I am then able to mount it normally
> from there. When I add it to fstab as:
> /dev/ubd/3 /usr ext2 defaults 1 1
> It blows chunks.
What's the error message? What command line are you starting UML with?
You need to give us some information to actually debug the problem.
David
--
David Coulson email: d@vidcoulson.com
Linux Developer / web: http://davidcoulson.net/
Network Engineer phone: (216) 533-6967
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-21 19:35 ` David Coulson
@ 2003-09-22 9:56 ` stian
2003-09-25 18:45 ` Terry
1 sibling, 0 replies; 7+ messages in thread
From: stian @ 2003-09-22 9:56 UTC (permalink / raw)
To: user-mode-linux-devel
> Terry wrote:
>> I created the filesystem on the host os with dd. I
>> boot up my vm with ubd3=/uml/new_fs as a kernel
>> argument. WHen inside the VM, I create an ext2
>> filesystem on it. I am then able to mount it normally
>> from there. When I add it to fstab as:
>> /dev/ubd/3 /usr ext2 defaults 1 1
>> It blows chunks.
>
> What's the error message? What command line are you starting UML with?
> You need to give us some information to actually debug the problem.
Do you get a kernel crashing, or just rc stuff failing due to most of all
shell-tools and stuff lies under /usr/bin, and therefor needs to be
mounted very early during the boot.
Stian
This mail has been scanned for known viruses on an open, Linux-based mailsystem
developed by http://Knowledge-Network.no and http://Nixia.no.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-25 18:45 ` Terry
@ 2003-09-25 17:07 ` stian
2003-09-25 19:24 ` David Coulson
2003-09-25 21:30 ` Jeff Dike
2 siblings, 0 replies; 7+ messages in thread
From: stian @ 2003-09-25 17:07 UTC (permalink / raw)
To: Terry; +Cc: user-mode-linux-devel
> Or Manually with fstab:
> mount /usr.new
> Child 23701 exited with signal 11
>
> I can get it mounted in the following ways:
> mount /dev/ubd/3 /usr
> mount -a (if its in fstab)
Since you are able to trigger the fault now, you can take a peek behind
the sceenes and play with strace.
strace mount /dev/ubd/3 /usr
and
strace mount /usr.new
normally should produce the same output and outfall for you.
Stian
This mail has been scanned for known viruses on an open, Linux-based mailsystem
developed by http://Knowledge-Network.no and http://Nixia.no.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-21 19:35 ` David Coulson
2003-09-22 9:56 ` stian
@ 2003-09-25 18:45 ` Terry
2003-09-25 17:07 ` stian
` (2 more replies)
1 sibling, 3 replies; 7+ messages in thread
From: Terry @ 2003-09-25 18:45 UTC (permalink / raw)
To: user-mode-linux-devel
--- David Coulson <david@davidcoulson.net> wrote:
> Terry wrote:
> > I created the filesystem on the host os with dd.
> I
> > boot up my vm with ubd3=/uml/new_fs as a kernel
> > argument. WHen inside the VM, I create an ext2
> > filesystem on it. I am then able to mount it
> normally
> > from there. When I add it to fstab as:
> > /dev/ubd/3 /usr ext2 defaults 1
> 1
> > It blows chunks.
>
> What's the error message? What command line are you
> starting UML with?
> You need to give us some information to actually
> debug the problem.
>
> David
During the boot process:
Mounting local filesystems: Child 28884 exited with
signal 11
Or Manually with fstab:
mount /usr.new
Child 23701 exited with signal 11
I can get it mounted in the following ways:
mount /dev/ubd/3 /usr
mount -a (if its in fstab)
I start UML with:
./linux ubd0=/home/td/uml/root_fs
ubd1=/home/td/uml/home_fs ubd2=/home/td/uml/swap
ubd3=/home/td/uml/usr_fs eth0=tuntap,,,192.168.0.254
mem=512M
I took a peek at the script that mounts filesystems
and it is pretty basic.
Any ideas on how to get around this? It works if I
put the mount command in rc.local but I need the
filesystem way before that gets ran.
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-25 18:45 ` Terry
2003-09-25 17:07 ` stian
@ 2003-09-25 19:24 ` David Coulson
2003-09-25 21:30 ` Jeff Dike
2 siblings, 0 replies; 7+ messages in thread
From: David Coulson @ 2003-09-25 19:24 UTC (permalink / raw)
To: Terry; +Cc: user-mode-linux-devel
Terry wrote:
> Mounting local filesystems: Child 28884 exited with
> signal 11
Sig 11 is usually bad RAM.
David
--
David Coulson email: d@vidcoulson.com
Linux Developer / web: http://davidcoulson.net/
Network Engineer phone: (216) 533-6967
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
* Re: [uml-devel] mounting filesystems - mount crashes
2003-09-25 18:45 ` Terry
2003-09-25 17:07 ` stian
2003-09-25 19:24 ` David Coulson
@ 2003-09-25 21:30 ` Jeff Dike
2 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-09-25 21:30 UTC (permalink / raw)
To: Terry; +Cc: user-mode-linux-devel
td3201@yahoo.com said:
> Child 23701 exited with signal 11
> Any ideas on how to get around this? It works if I put the mount
> command in rc.local but I need the filesystem way before that gets
> ran.
This is fixed in recent patches.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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] 7+ messages in thread
end of thread, other threads:[~2003-09-25 21:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-21 18:30 [uml-devel] mounting filesystems - mount crashes Terry
2003-09-21 19:35 ` David Coulson
2003-09-22 9:56 ` stian
2003-09-25 18:45 ` Terry
2003-09-25 17:07 ` stian
2003-09-25 19:24 ` David Coulson
2003-09-25 21:30 ` Jeff Dike
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.