Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Nelson Castillo
> machine (for instance, mysql will bind a tcp port > and will allow 127.0.0.1 by default on Debian). > > For instance, I tried: > > uml$ mysql -u root -h 10.0.2.2 > and I got: > > Error 1130: Host 'localhost.localdomain' is not allowed > to connect to this MySQL server. Well, I think Debian allow

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 11:59:28PM -0500, Nelson Castillo wrote: > > At this point, I have utterly failed to get UML up and working > > with networking, and I'm at a loss as to how to continue. > > It would be nice to debug the sshd issue, and I hope you do it. > While you do that, you could get n

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Nelson Castillo
> Are there any security implications on the host to using SLIRP? Well, the UML can connect to any port in the host And also to anywhere in the Internet pretending to be your host. I think most programs in your host won't be able to tell if a connection comes from the host of from the UML mac

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Nelson Castillo
> And you should be able to ping your host > (your host's ip is aliased to 10.0.2.2). > > # ping 10.0.2.2 This won't work. This is ICMP You can browse a web page, telnet to a given port, etc. Sorry! > Checkpoint : you should be able to ping google now > and do something with networking. Not

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 10:13:59PM -0700, Robin Lee Powell wrote: > On Tue, Sep 27, 2005 at 11:59:28PM -0500, Nelson Castillo wrote: > > While you do that, you could get networking using slirp[1], so > > that you don't get bored while you find the issue. I liked slirp > > because it's quite simple.

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 11:59:28PM -0500, Nelson Castillo wrote: > > At this point, I have utterly failed to get UML up and working > > with networking, and I'm at a loss as to how to continue. > > It would be nice to debug the sshd issue, and I hope you do it. I don't think I have the skills to

Re: [uml-user] Crash with SKAS

2005-09-27 Thread Nelson Castillo
> > I was there more than one week ago. Check this thread. > > > > http://thread.gmane.org/gmane.linux.uml.user/8318 > > Tried adding LD_ASSUME_KERNEL=2.4.1 to the kernel line: In the UML filesystem, try: mv /lib/tls/ /lib/tls.away And start the UML again. There's a path against the current faq

Re: [uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Nelson Castillo
> At this point, I have utterly failed to get UML up and working with > networking, and I'm at a loss as to how to continue. It would be nice to debug the sshd issue, and I hope you do it. While you do that, you could get networking using slirp[1], so that you don't get bored while you find the is

Re: [uml-user] Crash with SKAS

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 11:22:21PM -0500, Nelson Castillo wrote: > On 9/27/05, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > > In my quest to get a working UML, I've tried compiling a version > > of 2.6.13.2 with SKAS. I get: > > > > VFS: Mounted root (ext3 filesystem) readonly. cannot set up > >

Re: [uml-user] Crash with SKAS

2005-09-27 Thread Nelson Castillo
On 9/27/05, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > In my quest to get a working UML, I've tried compiling a version of > 2.6.13.2 with SKAS. I get: > > VFS: Mounted root (ext3 filesystem) readonly. > cannot set up thread-local storage: cannot set up >LDT for thread-local storage I was ther

[uml-user] Crash vs. hang vs. no network == no UML

2005-09-27 Thread Robin Lee Powell
Thus far, I have tried the following things: 1. The Debian-provided version of UML, which hangs on starting sshd (and in some other cases, that's just an easy one to replicate). 2. Various versions I've found on the 'net, such as linux-2.4.27-um24271-netfilter2004 and linux-2.6.11-rc3-bk2-u

[uml-user] Crash with SKAS

2005-09-27 Thread Robin Lee Powell
In my quest to get a working UML, I've tried compiling a version of 2.6.13.2 with SKAS. I get: VFS: Mounted root (ext3 filesystem) readonly. cannot set up thread-local storage: cannot set up LDT for thread-local storage Kernel panic - not syncing: Attempted to kill init! <6>Stopping all CPUs...

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Nelson Castillo
On 9/27/05, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > On Tue, Sep 27, 2005 at 06:49:04PM -0400, Jeff Dike wrote: > > On Tue, Sep 27, 2005 at 03:15:55PM -0700, Robin Lee Powell wrote: > > > ./um-linux-local-2.6.13.2 mem=128M ubd0=Debian-3.0r2.ext3 > > > con=null con0=fd:0,fd:1 con1=none eth0=dae

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 06:33:25PM -0500, Nelson Castillo wrote: > > mooix:~# /usr/sbin/sshd -D -d > > debug1: sshd version OpenSSH_3.8.1p1 Debian-8.sarge.4 > > debug1: read PEM private key done: type RSA > > debug1: private host key: #0 type 1 RSA > > debug1: read PEM private key done: type DSA >

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Nelson Castillo
> mooix:~# /usr/sbin/sshd -D -d > debug1: sshd version OpenSSH_3.8.1p1 Debian-8.sarge.4 > debug1: read PEM private key done: type RSA > debug1: private host key: #0 type 1 RSA > debug1: read PEM private key done: type DSA > debug1: private host key: #1 type 2 DSA > > Then the UML guest hangs. > > N

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 06:23:34PM -0500, Nelson Castillo wrote: > On 9/27/05, Robin Lee Powell <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 27, 2005 at 06:49:04PM -0400, Jeff Dike wrote: > > > On Tue, Sep 27, 2005 at 03:15:55PM -0700, Robin Lee Powell > > > wrote: > > > > ./um-linux-local-2.6.13.2 m

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 06:49:04PM -0400, Jeff Dike wrote: > On Tue, Sep 27, 2005 at 03:15:55PM -0700, Robin Lee Powell wrote: > > ./um-linux-local-2.6.13.2 mem=128M ubd0=Debian-3.0r2.ext3 > > con=null con0=fd:0,fd:1 con1=none eth0=daemon single > > You have a uml_switch running? Yes: uml-net 1

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Jeff Dike
On Tue, Sep 27, 2005 at 03:15:55PM -0700, Robin Lee Powell wrote: > ./um-linux-local-2.6.13.2 mem=128M ubd0=Debian-3.0r2.ext3 con=null > con0=fd:0,fd:1 con1=none eth0=daemon single You have a uml_switch running? Jeff -

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 05:19:47PM -0400, Jeff Dike wrote: > On Tue, Sep 27, 2005 at 01:10:41PM -0700, Robin Lee Powell wrote: > > mooix:~# ifconfig eth0 up > > SIOCSIFFLAGS: No such file or directory > > What's in dmesg? Nothing seems to get added for this error. Here's the second half or so of

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Jeff Dike
On Tue, Sep 27, 2005 at 01:10:41PM -0700, Robin Lee Powell wrote: > mooix:~# ifconfig eth0 up > SIOCSIFFLAGS: No such file or directory What's in dmesg? Jeff --- This SF.Net email is sponsored by: Power Architec

Re: [uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On Tue, Sep 27, 2005 at 01:10:41PM -0700, Robin Lee Powell wrote: > On the system I was having the sshd hang on, I'm trying again with > http://www.stearns.org/uml/linux-2.4.27-um24271-netfilter2004.bz2 > instead of what Debian unstable has. With the "linux" from UML > from Debian unstable, ne

Re: [uml-user] UML/SKAS3 broken in 2.6.13-bs1, fixed up, sorry

2005-09-27 Thread Joel Palmius
Whups, wrong script. Well, it works with 2.6.13.2-bs2 too: Checking for /proc/mm...found Checking for the skas3 patch in the host...found UML running in SKAS3 mode Checking PROT_EXEC mmap in /tmp...OK Linux version 2.6.13.2-bs2 ([EMAIL PROTECTED]) (gcc version 3.3.5-20050130 (Gentoo 3.3.5.200501

[uml-user] SIOCSIFFLAGS: No such file or directory

2005-09-27 Thread Robin Lee Powell
On the system I was having the sshd hang on, I'm trying again with http://www.stearns.org/uml/linux-2.4.27-um24271-netfilter2004.bz2 instead of what Debian unstable has. With the "linux" from UML from Debian unstable, networking works (until it hangs), but with this version I get: mooix:~# if

[uml-user] Which UML to use?

2005-09-27 Thread Robin Lee Powell
Where is the best place to get a 2.4.x UML? I just need the "linux" command itself. Were is it most up-to-date? -Robin -- http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ Reason #237 To Learn Lojban: "Homonyms: Their Grate!" Proud Supporter of the Singularity Institute - htt

Re: [uml-user] More gentoo

2005-09-27 Thread Joel Palmius
I always start the uml/skas0 test case via a script, which contains: nice linux32 ./linux-2613-2 ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.10.254 mode=skas0 mem=256m rw (Isn't this the right way to ask for skas0 mode?) // Joel On Tue, 27 Sep 2005, Blaisorblade wrote: On Tuesday 27

Re: [uml-user] UML/SKAS3 broken in 2.6.13-bs1, fixed up, sorry

2005-09-27 Thread Joel Palmius
Well, excepting I might have been doing something wrong... ligur usermode # uname -a Linux ligur.student.mh.se 2.6.13.1-skas3-v9-pre7 #1 SMP Sat Sep 10 14:19:29 CEST 2005 x86_64 AMD Opteron(tm) Processor 244 AuthenticAMD GNU/Linux ligur usermode # cat slack.bash #!/bin/bash linux32 ./linux ubd0

Re: [uml-user] UML guest hangs on sshd

2005-09-27 Thread Robin Lee Powell
On Mon, Sep 26, 2005 at 09:30:53PM -0700, Robin Lee Powell wrote: > On Mon, Sep 26, 2005 at 09:13:15PM -0400, Jeff Dike wrote: > > On Mon, Sep 26, 2005 at 05:24:30PM -0700, Robin Lee Powell > > wrote: > > > However, as soon as I run sshd by any means, the guest hangs. > > > I have no idea what to d

[uml-user] Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)

2005-09-27 Thread Alasdair G Kergon
On Mon, Sep 26, 2005 at 05:03:01PM +0200, Blaisorblade wrote: > You also "fixed" my assertion that snapshot-origin "base device" (parameter > n.1) must be a DM device. Should I readd it too? That parameter does not need to be a DM device if you are able to use the start of an existing block devi

Re: [uml-user] More gentoo

2005-09-27 Thread Blaisorblade
On Tuesday 27 September 2005 16:02, Joel Palmius wrote: > Lengthy.. Summary is that on an amd64 host, uml hangs on skas0 mode if the > host kernel has been patched with -v9-pre7. > Using an unpatched vanilla > host kernel, skas0 boots. Why this is so I have no clue, ask someone else. Have you cor

Re: [uml-user] Cannot move COW backing file

2005-09-27 Thread Blaisorblade
On Tuesday 27 September 2005 12:24, [EMAIL PROTECTED] wrote: > Hi, > Any clue where to look for this problem? I guess it must be possible > for me to write some suitable "printf" in some part of the kernel > where the check is made Ok, will debug this. However the relevant source files should

Re: [uml-user] UML/SKAS3 broken in 2.6.13-bs1, fixed up, sorry

2005-09-27 Thread Blaisorblade
On Monday 26 September 2005 15:08, Joel Palmius wrote: > Update: I've now tested -bs2, and the same thing happens with skas0 and > skas3 on my root_fs, ie I get a busy hang at mounting root. Again - forgot skas3 on a 64-bit host. Doesn't work. > However, I also downloaded the slack 8.1 root from th

[uml-user] Re: [uml-devel] Re: Writing on DM snapshots, and having no "mainstream" device (was: Re: Fw: [PATCH 1/7] Add dm-snapshot tutorial in Documentation)

2005-09-27 Thread Blaisorblade
On Friday 23 September 2005 23:19, Alasdair G Kergon wrote: > On Fri, Sep 23, 2005 at 10:11:31PM +0200, Blaisorblade wrote: > > you can create snapshots *WITHOUT* having a snapshot-origin device > Checking the code, yes you're correct. > When that LVM2 code was developed you'd get an oops but it's

Re: [uml-user] More gentoo

2005-09-27 Thread Joel Palmius
As an addition: The stage tarball is a x86 (i386) one. Trying to use for example an athlon-xp stage tarball crashes with "cannot set up LDT for thread-local storage" // Joel On Tue, 27 Sep 2005, Joel Palmius wrote: Lengthy.. Summary is that on an amd64 host, uml hangs on skas0 mode if the

[uml-user] More gentoo

2005-09-27 Thread Joel Palmius
Lengthy.. Summary is that on an amd64 host, uml hangs on skas0 mode if the host kernel has been patched with -v9-pre7. Using an unpatched vanilla host kernel, skas0 boots. Why this is so I have no clue, ask someone else. :-) Further, 2.6.12-bs11 refuses to attempt running in skas0 on an unpatc

Re: [uml-user] Cannot move COW backing file

2005-09-27 Thread mjreed
Hi, Have checked my scripts quite thoroughly and run the exact following without doing anything to the filesystems except rebooting (yes I created a /somewhere and /new dir just to double check!): cd /usr/local/uml/test/ ./linux ubda=/somewhere/root_fs_cow,/somewhere/root_fs stderr=1 con=null c