I'm just stepping from one error to another.....And I have no idea why
So, I just switched from kernel 2.4.4 to 2.4.6 on the UML-side, because I
read that the helper applications are first supported in 2.4.5.
And I get other errors, but the network still isn't working. And I need the
network badly, because I have to debug kernel network code.....
So, here my new errors:
When I try to use SLIP or daemon (just to be complete), either with
commandline "./linux eth0=daemon" or "./linux eth0=slip,192.168.42.2", the
kernel just paniks if I fire up "ifconfig eth0 up" or "ifconfig umn up".
The complete error is:
usermode kernel: Kernel panic: Kernel mode fault at addr 0x10, ip
in either case.
The using of ethertap gets other results.
I have started UML with "sudo ./linux eth0=ethertap,tap0,,192.168.42.1" and
if I look at "ifconfig eth0", I see the device, just without assigned
addresses. If I now just do "ifconfig eth0 up", I just get the same
result as above, the kernel panic with exactly the same line.
But if I do "ifconfig eth0 192.168.42.2 up", it assigns an ethernet address
and an ip address to that interface, but it doesn't start the
interface up. I get an error like this:
SIOCADDRT. File exists
arp: cant get HW-Adress for 'eth0': no such device
open: no such device
etap_tramp failed - errno = 22
SIOCSIFFLAGS: Invalid argument.
The dmesg just shows the etap_tramp failed - errno = 22 line.
Has anyone a clue why this happens? Can I provide a trace or so? Or will
somebody assists me debugging it? I have no problem in debugging it,
but I don't know where to start.
Thus spake Jens Hoffrichter:
> Has anyone a clue why this happens? Can I provide a trace or so? Or will
> somebody assists me debugging it? I have no problem in debugging
> it, but I don't know where to start.
I went through this recently, and here are a couple things that
weren't obvious to me at first 1) Do you have uml_net installed on
the host? (It looks like you're running your UM client as root,
so it's okay if it's not SUID.) 2) Do the versions of UML and
uml_net match? They're closely tied, so if one's out of sync this
W. Reilly Cooley wcooley@...
Naked Ape Consulting http://nakedape.cc
LNXS: Get 0.2.0-devel at http://sourceforge.net/projects/lnxs/
The verdict of a jury is the a priori opinion of that juror who smokes
the worst cigars.
-- H. L. Mencken