linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Etay Meiri <etay.meiri@gmail.com>
Subject: Re: [uml-devel] swap problem
Date: Wed, 12 Oct 2005 16:49:54 +0200	[thread overview]
Message-ID: <200510121649.54816.blaisorblade@yahoo.it> (raw)
In-Reply-To: <229e70f20510120701r3d5698ccy992263fac8a8082a@mail.gmail.com>

On Wednesday 12 October 2005 16:01, Etay Meiri wrote:
> Hi,
>
> I'm unable to get the swap file working with uml (2.6.13-bs2).
> I created a 512Mb file using dd and formatted it using 'mkswap ./swap'.
> I start uml with the command:

> vmlinux mem=128m ubd0d=root_fs.fc4 ubd1d=swap
> eth0=tuntap,,,10.10.20.6<http://10.10.20.6>
> I've got 8 devices under /dev/ubd and only /dev/ubd/0 seems to be working
> and used for the root partition.
> I see the following messages during the boot:
> .
> .
> [42949373.340000] ubda: unknown partition table
> [42949373.340000] ubdb: unknown partition table
That's normal, as there's no partition table on /dev/ubd0 (or let's call 
it /dev/ubda, it's the same thing). You normally mount /dev/hda1, 
not /dev/hda, but mount /dev/ubda, not /dev/ubda1.
> .
> .
> Enabling swap space: swapon: /dev/ubd/1: No such device or address [FAILED]

> Any idea?
Check the minor number. It should be 16, but there are around root_fs with 
number 1 (which was correct when UBD didn't support partitions). This would 
explain everything in your setup.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-10-12 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 14:01 [uml-devel] swap problem Etay Meiri
2005-10-12 14:49 ` Blaisorblade [this message]
2005-10-12 15:03   ` Etay Meiri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510121649.54816.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=etay.meiri@gmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox