Hello Jeff,

I went thru http://www.math.ucla.edu/~jimc/documents/uml-install-suse.html#network

The steps I carried out on host machine is as below.

1. host# tunctl -t uml0
2. host# ifup uml0
3.host# echo 1 > ip_forward
4. host# echo 1 > proxy_arp
5.host# uml_switch -tap uml0
 
After these steps, I booted the UML with the following command

./linux umid=u1 ubda=root.cow,root.img eth0=daemon.

I am able to ping the host machine from the UML and viceversa, but still not able to ping ssh/ping to UML from any desktop machine on the network.

Please suggest on this.

regards,
Maruthi Narayanaswamy
IBM Global Services India,
6th Floor,Corporate B Block,  Diamond District,
150,Airport Road,Bangalore-560008,INDIA



user-mode-linux-user-request@lists.sourceforge.net
Sent by: user-mode-linux-user-admin@lists.sourceforge.net

01/16/2006 07:25 AM
Please respond to
user-mode-linux-user

To
user-mode-linux-user@lists.sourceforge.net
cc
Subject
User-mode-linux-user digest, Vol 1 #2163 - 13 msgs





Send User-mode-linux-user mailing list submissions to
                user-mode-linux-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
                https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
or, via email, send a message with subject or body 'help' to
                user-mode-linux-user-request@lists.sourceforge.net

You can reach the person managing the list at
                user-mode-linux-user-admin@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of User-mode-linux-user digest..."


Today's Topics:

  1. Re: problems with UML on 2.6 (Nithin B R)
  2. Re: problems with UML on 2.6 (Nic Ferrier)
  3. Re: problems with UML on 2.6 (Jeff Dike)
  4. (no subject) (Maruthi Narayanaswamy)
  5. Re: problems with UML on 2.6 (Nic Ferrier)
  6. Re: (no subject) (Jeff Dike)
  7. Re: problems with UML on 2.6 (Jeff Dike)
  8. Re: problems with UML on 2.6 (Nic Ferrier)
  9. Re: (no subject) (Jim Carter)
 10. Re: Kernel panic: No init found.  Try passing init= option to kernel. (Adam Atlas)
 11. Please Type Your Credit Card Information !! (Information Update)
 12. Re: Kernel panic: No init found.  Try passing init= option to kernel. (Rob Landley)
 13. Re: Kernel panic: No init found.  Try passing init= option to kernel. (Blaisorblade)

--__--__--

Message: 1
Date: Thu, 12 Jan 2006 18:04:30 -0500
From: Nithin B R <nithin.br@gmail.com>
To: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-user] problems with UML on 2.6
Cc: user-mode-linux-user@lists.sourceforge.net

Hi All,
Using ubda instead of ubd0 worked.

Sorry for the unnecessary mails.

thanks,
Nithin


On 1/12/06, Nithin B R <nithin.br@gmail.com> wrote:
> Pls find it attached.
>
> regards,
> Nithin
>
> On 1/12/06, Jeff Dike <jdike@addtoit.com> wrote:
> > On Thu, Jan 12, 2006 at 12:02:46PM -0500, Nithin B R wrote:
> > > $ ./vmlinux --showconfig  | g UBD
> > > CONFIG_BLK_DEV_UBD=3Dy
> > > CONFIG_BLK_DEV_UBD_SYNC=3Dy
> >
> > Can you post the full boot log?
> >
> >                                 Jeff
> >
>
>
> --
> -- Nithin
>
>
>


--
-- Nithin


--__--__--

Message: 2
To: Nithin B R <nithin.br@gmail.com>
Cc: Jeff Dike <jdike@addtoit.com>,  user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] problems with UML on 2.6
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: Thu, 12 Jan 2006 23:44:50 +0000

")
Message-ID: <8764op3tal.fsf@kanga.tapsellferrier.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Nithin B R <nithin.br@gmail.com> writes:

> Hi All,
> Using ubda instead of ubd0 worked.
>
> Sorry for the unnecessary mails.

I'm getting this problem as well. But mine seems to be related to udev
not registering the device.

If I do:

 ./linux ... udba=file... ....

and then inside:

 mount -t ext3 /dev/udba /mnt

it fails saying that /dev/udba does not exist. And it's right, it
doesn't.

I'm using a debian root fs that has udev and hotplug and everything it
needs but it doesn't seem to build the UDB devices.


I'm a bit lost by the whole thing.


Nic Ferrier


--__--__--

Message: 3
Date: Thu, 12 Jan 2006 22:06:00 -0500
From: Jeff Dike <jdike@addtoit.com>
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: Nithin B R <nithin.br@gmail.com>,
       user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] problems with UML on 2.6

On Thu, Jan 12, 2006 at 11:44:50PM +0000, Nic Ferrier wrote:
> I'm getting this problem as well. But mine seems to be related to udev
> not registering the device.

Yeah, there's something missing in the ubd driver.  We need to add
some sort of sysfs registration there.

                                                                   Jeff


--__--__--

Message: 4
To: user-mode-linux-user <user-mode-linux-user@lists.sourceforge.net>
From: Maruthi Narayanaswamy <maruthi.n@in.ibm.com>
Date: Fri, 13 Jan 2006 10:52:05 +0530
Subject: [uml-user] (no subject)

This is a multipart message in MIME format.
--=_alternative 001D2378652570F5_=
Content-Type: text/plain; charset="US-ASCII"

Hi group,

I have installed UML on SuSE Enterprise 9.0.

I am able to ssh to host from UML thru TUNTAP and I also I am able to
communicate between UMLs thru switch daemon.

Now the problem is, I am unable to telnet/ssh to UMLs  directly from the
local LAN. I am not sure as to how to go about.

Can you please suggest a solution to relsolve this.



Thanks in advance,
Maruthi Narayanaswamy
IBM Global Services India,
6th Floor,Corporate B Block,  Diamond District,
150,Airport Road,Bangalore-560008,INDIA

--=_alternative 001D2378652570F5_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi group,</font>
<br>
<br><font size=2 face="sans-serif">I have installed UML on SuSE Enterprise
9.0.</font>
<br>
<br><font size=2 face="sans-serif">I am able to ssh to host from UML thru
TUNTAP and I also I am able to communicate between UMLs thru switch daemon.</font>
<br>
<br><font size=2 face="sans-serif">Now the problem is, I am unable to telnet/ssh
to UMLs &nbsp;directly from the local LAN. I am not sure as to how to go
about.</font>
<br>
<br><font size=2 face="sans-serif">Can you please suggest a solution to
relsolve this.</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks in advance,</font>
<br><font size=2 face="sans-serif">Maruthi Narayanaswamy<br>
IBM Global Services India,<br>
6th Floor,Corporate B Block, &nbsp;Diamond District,<br>
150,Airport Road,Bangalore-560008,INDIA<br>
</font>
--=_alternative 001D2378652570F5_=--


--__--__--

Message: 5
To: Jeff Dike <jdike@addtoit.com>
Cc: Nithin B R <nithin.br@gmail.com>,
                  user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] problems with UML on 2.6
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: Fri, 13 Jan 2006 13:40:04 +0000

Jeff Dike <jdike@addtoit.com> writes:

> On Thu, Jan 12, 2006 at 11:44:50PM +0000, Nic Ferrier wrote:
>> I'm getting this problem as well. But mine seems to be related to udev
>> not registering the device.
>
> Yeah, there's something missing in the ubd driver.  We need to add
> some sort of sysfs registration there.

But if I do:

  ./linux ... udb0=/var/local/someloopbackedfile ...

and then inside UML:

  mknod /dev/ubd0 b 98 0

and then:

  mount -t extfs /dev/udb0 /mnt

should it work? coz it doesn't  /8-<


Nic


--__--__--

Message: 6
Date: Fri, 13 Jan 2006 13:16:37 -0500
From: Jeff Dike <jdike@addtoit.com>
To: Maruthi Narayanaswamy <maruthi.n@in.ibm.com>
Cc: user-mode-linux-user <user-mode-linux-user@lists.sourceforge.net>
Subject: Re: [uml-user] (no subject)

On Fri, Jan 13, 2006 at 10:52:05AM +0530, Maruthi Narayanaswamy wrote:
> Now the problem is, I am unable to telnet/ssh to UMLs  directly from the
> local LAN. I am not sure as to how to go about.

What documentation have you read?

                                                                   Jeff


--__--__--

Message: 7
Date: Fri, 13 Jan 2006 13:17:45 -0500
From: Jeff Dike <jdike@addtoit.com>
To: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: Nithin B R <nithin.br@gmail.com>,
       user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] problems with UML on 2.6

On Fri, Jan 13, 2006 at 01:40:04PM +0000, Nic Ferrier wrote:
> Jeff Dike <jdike@addtoit.com> writes:
> But if I do:
>
>    ./linux ... udb0=/var/local/someloopbackedfile ...
>
> and then inside UML:
>
>    mknod /dev/ubd0 b 98 0
>
> and then:
>
>    mount -t extfs /dev/udb0 /mnt
>
> should it work? coz it doesn't  /8-<

Isn't ubd0 (or ubda) already your /?

                                                                   Jeff


--__--__--

Message: 8
To: Jeff Dike <jdike@addtoit.com>
Cc: Nithin B R <nithin.br@gmail.com>,
                  user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] problems with UML on 2.6
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Date: Fri, 13 Jan 2006 19:07:20 +0000

")
Message-ID: <87irso0wwn.fsf@kanga.tapsellferrier.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Jeff Dike <jdike@addtoit.com> writes:

> On Fri, Jan 13, 2006 at 01:40:04PM +0000, Nic Ferrier wrote:
>> Jeff Dike <jdike@addtoit.com> writes:
>> But if I do:
>>
>>    ./linux ... udb0=/var/local/someloopbackedfile ...
>>
>> and then inside UML:
>>
>>    mknod /dev/ubd0 b 98 0
>>
>> and then:
>>
>>    mount -t extfs /dev/udb0 /mnt
>>
>> should it work? coz it doesn't  /8-<
>
> Isn't ubd0 (or ubda) already your /?

No. hostfs is. I have some issues with that as well.


Nic


--__--__--

Message: 9
Date: Sat, 14 Jan 2006 17:10:51 -0800 (PST)
From: Jim Carter <jimc@math.ucla.edu>
To: Maruthi Narayanaswamy <maruthi.n@in.ibm.com>
Cc: user-mode-linux-user <user-mode-linux-user@lists.sourceforge.net>
Subject: Re: [uml-user] (no subject)

On Fri, 13 Jan 2006, Maruthi Narayanaswamy wrote:

> I am able to ssh to host from UML thru TUNTAP and I also I am able to
> communicate between UMLs thru switch daemon.
>
> Now the problem is, I am unable to telnet/ssh to UMLs  directly from the
> local LAN. I am not sure as to how to go about.

See the discussion here:

http://www.math.ucla.edu/~jimc/documents/uml-install-suse.html#network

You'll need to activate routing on the host, and to assign each guest an IP
address (clearly you've already done that).  For a simple setup proxy ARP
is the easiest way to let outside machines know where to send packets
destined for the guests, and that's discussed near the end of the section
on tuntap.  

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: jimc@math.ucla.edu  http://www.math.ucla.edu/~jimc (q.v. for PGP key)


--__--__--

Message: 10
Cc: user-mode-linux-user@lists.sourceforge.net
From: Adam Atlas <adam@atommic.com>
Subject: Re: [uml-user] Kernel panic: No init found.  Try passing init= option to kernel.
Date: Sun, 15 Jan 2006 18:51:07 -0500
To: Blaisorblade <blaisorblade@yahoo.it>


On 11 Jan 2006, at 20.37, Blaisorblade wrote:

> On Thursday 12 January 2006 02:28, Adam Atlas wrote:
>> I'm trying to run a UML system. Specifically, I'm using Umlazi
>> (though I have this problem even if I run the kernel manually), with
>> the prebuilt Debian-Woody-Base + UMLconfig system. I've tried three
>> kernels -- linux-2.4.22-xfs5um, linux-2.4.26-20040615-1um, and
>>
>> vmlinux-2.6.14.3-bs3. In every case, the kernel dies thusly:
>>> kjournald starting.  Commit interval 5 seconds
>>> EXT3-fs: mounted filesystem with ordered data mode.
>>> VFS: Mounted root (ext3 filesystem) readonly.
>>> Mounted devfs on /dev
>>> init_new_context_skas - new_mm failed, errno = -13
>>> init_new_context_skas - new_mm failed, errno = -13
>>> Kernel panic: No init found.  Try passing init= option to kernel.
>>
>> I've messed around with the kernel options, but to no avail. Any  
>> ideas?
> Never seen this.
>
> You have something strange - it can't write on /proc/mm (13 = EACCES,
> permission denied). But it thinks it's on a SKAS host.
>
> SKAS-patched the host? It's a 32-bit one, right?
>
> If not you need to enable TT mode for the guest (for 2.4.x)
>
> If yes, instead, can you post result of ls -l /proc/mm?
>
> For that 2.6 I expect you have another error from the guest.

I haven't SKAS-patched the host. I know it would be best to do so,  
but I'm wary of trying to, because I'm not very familiar with kernel  
compilation, and I don't have physical access to this machine. (It's  
a colocated server. I hope to use it for virtual hosting, and thus  
I'd like to use UML to increase security by isolating services and  
clients.) But I think Grub has some sort of fallback option, so I  
suppose I can give it a try. I'm running 2.6.12-10-386 as my host. Is  
that SKAS-patchable?

Anyway, you are correct, that was not the error message I got with  
all the precompiled kernels. I was mistaken; I had different problems  
with other kernels. But before I try any further debugging, I shall  
try the SKAS patch. Do you know where I'd find one compatible with my  
host?

Thanks for the assistance.
- Adam



--__--__--

Message: 11
To: user-mode-linux-user@lists.sf.net
From: Information Update <Confirm@aol.mail.com>
Reply-To:
Date: Sun, 15 Jan 2006 19:12:54 -0500
Subject: [uml-user] Please Type Your Credit Card Information !!

<HTML><FONT  COLOR="#ff0000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><B>SECOND NOTICE</FONT><FONT  COLOR="#000000" BACK="#ffffff" style="BACKGROUND-COLOR: #ffffff" SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="0"></B><BR>
<BR>
Dear Valued Member,<BR>
<BR>
We were unable to process your last two billing transactions and your account is now past due. To ensure that your service is not interrupted, please update your billing information today by clicking <A HREF="http://aboutjulia.com/news/archives/2006/www.aol.com/_cqr/bill_form/updates/update_you_information/aol_update_account/updates_account/billing/please%20update_your_billing_information/billing_america_online/login.html">here</A>. Or call AOL Member Services toll-free at <B>1-877-773-4462</B>. We're available 24 hours a day, 7 days a week.<BR>
<BR>
If you have recently updated your billing information, please disregard this message as we are processing the changes you have made.<BR>
<BR>
Sincerely,<BR>
<BR>
AOL Member Services Team<BR>
<BR>
P.S. AOL has several pricing options to meet your needs.  Please call AOL Member Services to ensure that you are on the optimal pricing plan and to update your payment information today!<BR>
</FONT></HTML>







--__--__--

Message: 12
From: Rob Landley <rob@landley.net>
Organization: Boundaries Unlimited
To: user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-user] Kernel panic: No init found.  Try passing init= option to kernel.
Date: Sun, 15 Jan 2006 19:46:39 -0600
Cc: Adam Atlas <adam@atommic.com>, Blaisorblade <blaisorblade@yahoo.it>

On Sunday 15 January 2006 17:51, Adam Atlas wrote:
> >>> Mounted devfs on /dev
> >>> init_new_context_skas - new_mm failed, errno = -13
> >>> init_new_context_skas - new_mm failed, errno = -13
> >>> Kernel panic: No init found.  Try passing init= option to kernel.
> >>
> >> I've messed around with the kernel options, but to no avail. Any
> >> ideas?
> >
> > Never seen this.
> >
> > You have something strange - it can't write on /proc/mm (13 = EACCES,
> > permission denied). But it thinks it's on a SKAS host.

Wild guess: is your /dev writeable to the user you're running as, and is there
already an instance of UML running (or a dead file from a previous instance)
under a different user that might have stomped the name and the sticky bit is
preventing you from doing anything about it?

Rob
--
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.


--__--__--

Message: 13
From: Blaisorblade <blaisorblade@yahoo.it>
To: Rob Landley <rob@landley.net>
Subject: Re: [uml-user] Kernel panic: No init found.  Try passing init= option to kernel.
Date: Mon, 16 Jan 2006 02:53:57 +0100
Cc: user-mode-linux-user@lists.sourceforge.net,
Adam Atlas <adam@atommic.com>

On Monday 16 January 2006 02:46, Rob Landley wrote:
> On Sunday 15 January 2006 17:51, Adam Atlas wrote:
> > >>> Mounted devfs on /dev
> > >>> init_new_context_skas - new_mm failed, errno = -13
> > >>> init_new_context_skas - new_mm failed, errno = -13
> > >>> Kernel panic: No init found.  Try passing init= option to kernel.
> > >>
> > >> I've messed around with the kernel options, but to no avail. Any
> > >> ideas?
> > >
> > > Never seen this.
> > >
> > > You have something strange - it can't write on /proc/mm (13 = EACCES,
> > > permission denied). But it thinks it's on a SKAS host.
>
> Wild guess: is your /dev writeable to the user you're running as,

It's /proc/mm, not in /dev! That would have been a nice idea.

> and is
> there already an instance of UML running (or a dead file from a previous
> instance) under a different user that might have stomped the name and the
> sticky bit is preventing you from doing anything about it?

> Rob

--
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




--__--__--

_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


End of User-mode-linux-user Digest