[PLUG] uml probs - networking and skas 2.4.20 kernel

Derek Loree drl at drloree.com
Sat Jun 21 15:47:01 UTC 2003


On Sat, 2003-06-21 at 11:28, Steve Jorgensen wrote:
> On Saturday, June 21, 2003 10:08 AM, Derek Loree [SMTP:drl at drloree.com] 
> wrote:
> > On Sat, 2003-06-21 at 02:00, Steve Jorgensen wrote:
> > > Hi,
> > >
> > > Ok, on Debian Sarge (Testing), I got the user-mode-linux stuff 
> installed,
> > > built an umage using rootstrap (first try failed w/ ext3, but works 
> setting
> > > up ext2), and with the help of a friend, got it to actually load and 
> run
> > > the image (contrary to the help, one must specify ubd0=<image>), but I
> > > still have a few problems, issues, and questions.
> > >
> > The uml kernel will load a file named "root_fs" if it is present in the
> > directory that you invoked linux from, and you don't specify ubd0.
> 
> Ah, it mist be called root_fs.  I'm sure I read that, and then blithely 
> wondered why it didn't magically find and load test-uml.img.
> 
> > >
> > > 1.  Networking (besides lo) doesn't work.  During the startup process, 
> the
> > > uml says...
> > > Configuring network interfaces... SOICSIFADDR: No such device
> > > eth0: ERROR while getting interface flags: No such device
> > > SOICSIFADDR: No such device
> > > eth0: ERROR while getting interface flags: No such device
> > > done.
> >
> > There a few pieces that need to be in place for this to work.  What
> > pieces do you have in place?
> 
> Before I ran rootstrap, I set the following in the [rootstrap] section of 
> /etc/rootstrap/rootstrap.conf:
> interface=eth0
> transport=tuntap
> host=192.168.2.3
> uml=192.168.2.4
> netmask=255.255.255.248
> gateway=192.168.2.1
> domain=syhome.local
> nameserver=192.168.2.2

I assume that tuntap is working, or else rootstrap wouldn't have gotten
you this far.

Did you add yourself to the "uml-net" group?

Did you add this information to the /etc/network/interfaces file inside
the uml?

> According to instructions for proxy arp setup (I'll be wanting to run the 
> switch daemon later, but thought I'd try this first), I set the host 
> address to be the same as the ip address of eth0 on the host.
> 
> > >
> > > 2.  For good uml performace, I have been trying to build a new host 
> kernel
> > > with the skas patch, but I can't seem to get the Debian Kernel 2.4.20
> > > package to build.  From the very little I'm finding on th the Web about 
> the
> > > errors I'm getting, these look like bugs with 2.4.20 building under gcc 
> > > 3.3.  Does anyone know how to fix or get around this besides waiting 
> for a
> > > Sarge 2.4.21 package or trying to make do with a stock Kernel instead 
> of an
> > > official Debian-patched one?
> >
> > I'm just using the Debian image.
> 
> I''m not sure what you're saying on this.  Are you using the skas patch? 
>  If so, what Debian version are you running, and which kernel source 
> package did you grab?

Sorry about being unclear, I'm not using the skas patch.  If it is any
consolation, I'm having all kinds of problems compiling 2.4.20, too.


Good Luck,

Derek Loree






More information about the PLUG mailing list