UML question
Net Llama!
netllama
Mon May 17 11:57:46 PDT 2004
On Sat, 3 Jan 2004, David A. Bandel wrote:
> On Fri, 2 Jan 2004 20:50:23 -0500 (EST)
> Net Llama! <netllama at linux-sxs.org> wrote:
>
> [snip]
> > > First, where did you find that (referring to the udb7 <-> swap)?
> >
> > I'm pretty sure its buried in the official documentation on the UML
> > website.
> >
> > > Second, it doesn't work any differently:
> > >
> > > Kernel command line: ubd7=swap2
> > > eth0=daemon,,,/var/run/uml-utilities/uml_switch.ctl ubd0=uml2
> > > root=/dev/ubd0
> > >
> > > uml2:~# swapon /dev/ubd7
> > > swapon: /dev/ubd7: No such device
> > > uml2:~# ls -al /dev/ubd7
> > > brw-rw---- 1 root disk 98, 7 Dec 30 18:09 /dev/ubd7
> >
> > You already have an entry for swap in your fstab? Inside the UML
> > instance it should be /dev/ubd/7. Perhaps try:
> > swapon /dev/ubd/7
>
> I don't have a /dev/ubd/<anything> only /dev/ubd#[#].
>
> >
> > Does kswapd get started when you boot the UML instance?
>
> yep.
Otay, where did you get the UML kernel & filesystem that you're using?
And is swap just not getting turned on at bootup?
I have both /dev/ubd7 and /dev/ubd/7, with the same perms, ownership &
major,minor:
brw-r--r-- 1 root root 98, 112
What do you have for yours?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list