--- Day changed --- Log opened Sun Aug 10 00:00:02 2003 00:21 -!- Lathiat [~Lathiat@203.30.45.89] has quit [Quit: Lost terminal] 01:31 -!- Jax [~Nimaj@148.100.212.51] has quit [Quit: sleep] 02:11 -!- clever_jeff [~clever_je@24.199.13.10] has joined #uml 02:13 < clever_jeff> hey, I can boot fine into my UML Environment, but it doesn't seem to launch "login" (ie, no login prompt), is this a problem with the root-filesystem? I'm using the 6.2 server image from the site.... 02:13 < clever_jeff> anyone that can shed a tid-bit of light on my problem? 02:13 < caker> clever_jeff: what's your uml command line? 02:14 < clever_jeff> ./uml-linux 3 ubd0=root_fs.rh-6.2-server.pristine.20020312 02:14 < clever_jeff> i was playing with runlevels, without the 3, same thing, but 'single' does perform as expected 02:15 < caker> try adding: "con=null con0=fd:0,fd:1" and make sure a getty is listing on tty0 (/etc/inittab) 02:15 < clever_jeff> hmm, thanks, lemme try 02:21 < clever_jeff> grr, no such luck... 02:22 < caker> try this then 02:22 < clever_jeff> does it have something to do with: 02:22 < clever_jeff> INIT: Id "0" respawning too fast: disabled for 5 minutesINIT: Id "1" respawning too fast: disabled for 5 minutesINIT: Id "2" respawning too fast: disabled for 5 minutesINIT: Id "c" respawning too fast: disabled for 5 minutesINIT: no more processes left in this runlevel 02:22 < caker> con=null con1=fd:0,fd:1 02:23 < clever_jeff> con=null con1=fd:0,fd:1 just stops at: 02:23 < clever_jeff> Initializing software serial port version 1mconsole (version 2) initialized on /home/p06/.uml/AYmYw8/mconsolePartition check: ubda: unknown partition tableInitializing stdio console driver 02:32 < caker> use the first one I gave you, and make sure you've got a getty listening on tty0 in your UML's /etc/inittab 02:32 < caker> that will fix it 02:39 < clever_jeff> ahh, i found it...inittab was referencing ttys/0 instead of tty0 .... 02:39 < clever_jeff> thanks a bunch man...really appriciate it 02:39 < caker> np! 03:01 -!- clever_jeff [~clever_je@24.199.13.10] has left #uml [] 03:43 < com4> to answer my own question from a few hours ago 03:43 < com4> you have to compile allowing nat on the nat box in the netfilter options 04:56 -!- AquaJo [~torbofh@pD9559801.dip.t-dialin.net] has joined #uml 05:16 * BB stabs postnuke 05:31 -!- shak [~shak@pc1-hudd2-6-cust166.hudd.cable.ntl.com] has joined #uml 05:31 -!- shak is now known as rob 05:31 < rob> morning all 05:33 < AquaJo> moin 05:34 < BB> morn 05:35 < rob> back to work on my UMLs after my holiday, still haven't found an ideal way of policing their bandwidth :/ 05:41 < wojci> rob: You can do QoS with linux .. that is not enough? 05:42 < rob> that's more traffic shaping, I'd prefer it if I could have real rate limiting, like you can get on the Cisco routers. Im not sure if its possible though in the way that I want to do it 05:44 < AquaJo> isn't there a shaper for linux 05:45 < rob> there are plenty of shapers, I want policing though 05:45 < AquaJo> you'll route the traffik through the shaper and everything will be fine 05:46 < rob> hmm, so with that approach, I understand that I can't tell it that it can't have more than 1mbit 05:52 < AquaJo> I have understood ist so, the UML can't make more than x k/MBit traffik 05:53 < AquaJo> a ddos of cource could fill up the connection to the server, and the uml would only get x k/Mbit 05:53 < rob> I think its all in the way that the traffic is limited, there's a good cisco document on it, I can;t find it at the moment 07:34 -!- mistral [mistral@jstevenson.plus.com] has joined #uml 07:51 -!- shak_ [~shak@81.111.93.166] has joined #uml 07:56 -!- shak__ [~shak@pc1-hudd2-6-cust166.hudd.cable.ntl.com] has joined #uml 07:56 -!- shak_ [~shak@81.111.93.166] has quit [Write error: connection closed] 07:56 -!- rob [~shak@pc1-hudd2-6-cust166.hudd.cable.ntl.com] has quit [Ping timeout: 501 seconds] 07:58 -!- shak_ [~shak@81.111.93.166] has joined #uml 07:58 -!- mistral [mistral@jstevenson.plus.com] has quit [Ping timeout: 501 seconds] 08:02 -!- shak__ [~shak@pc1-hudd2-6-cust166.hudd.cable.ntl.com] has quit [Read error: Connection reset by peer] 08:53 -!- radical [~kernet@202.88.184.39] has joined #uml 09:13 -!- mistral [mistral@212.159.71.212] has joined #uml 09:23 -!- mistral [mistral@212.159.71.212] has quit [Ping timeout: 488 seconds] 09:25 -!- radical [~kernet@202.88.184.39] has quit [Remote host closed the connection] 11:06 -!- mistral [mistral@jstevenson.plus.com] has joined #uml 11:17 -!- mistral [mistral@jstevenson.plus.com] has quit [Ping timeout: 480 seconds] 15:34 -!- frediz [~frediz@81.49.126.7] has joined #uml 15:35 < frediz> Hi 15:35 < frediz> me again :) 15:35 < frediz> Ive build a gentoo file-system, but booting uml on it, this what it says : 15:35 < frediz> * Mounting proc at /proc...Child 32152 exited with signal 11 15:36 < caker> whoa -- what UML kernel are you using? 15:36 < frediz> 2.6.0-test2 15:37 < caker> I have no idea then -- does UML even work with 2.6 yet? 15:37 < frediz> Yep 15:37 < frediz> I successfully run it on a Debian fs (dled on sf.net) 15:37 < caker> well here's a dumb question -- is there a proc option in .config even? 15:37 < caker> ie: can you even turn proc off? (I don't think so ..) 15:37 < frediz> CONFIG_PROC_FS=y 15:38 < frediz> should I turn it off . 15:38 < frediz> ? 15:38 < caker> No, was going to ask if it was on :-) 15:38 < frediz> :)) 15:39 < caker> is there a /proc folder inside your uml fs? 15:40 < frediz> yes 15:40 < frediz> drwxr-xr-x 2 root root 4096 Aug 7 04:23 proc 15:41 < caker> did you forget something, like the "mount" binary? 15:41 < frediz> -rws--x--x 1 root root 95512 Aug 10 19:39 bin/mount 15:42 < caker> tried booting into single user mode and trying it manually? 15:42 < caker> I think single mounts proc, too, not sure.. 15:43 < caker> gotta run, good luck 15:43 < frediz> thx for your help caker 15:43 < frediz> Ill try that 15:43 < frediz> the kernel option for single mode ? 15:52 < BB> just put single on the startup line 15:53 < frediz> ok thats the same pb... 15:53 < frediz> :\ 16:04 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has joined #uml 16:21 -!- AquaJo [~torbofh@pD9559801.dip.t-dialin.net] has quit [Quit: Das Schicksal kommt, wenn's niemand merkt - Publius Syrus] 16:30 -!- clever_jeff [~clever_je@rrcs-west-24-199-13-10.biz.rr.com] has left #uml [] 16:41 -!- Jax [~Nimaj@148.100.215.209] has joined #uml 16:44 -!- BB [~chris@home.burtyb.org] has quit [Ping timeout: 501 seconds] 16:45 < caker> frediz strace the uml kernel 16:47 < frediz> too late, Ive formatted root_fs :) 16:48 < frediz> should /proc be empty ? 16:48 < caker> Yes, before you mount it 16:48 < caker> I think it is something with your kernel (but that's just my guess) ... it shouldn't exit 16:48 < frediz> mmm 16:49 < frediz> In fact keeping the same .config but changing the way I built the root_fs 16:49 < frediz> things go further 16:49 < caker> same .config between 2.4 and a 2.6 kernel? 16:49 < caker> hmm 16:49 < frediz> nope same .config and 2 differents root_fs 16:50 < caker> weird :-) 16:50 < frediz> yep 16:50 < caker> strace might still help you, next time .. 16:50 < frediz> yes, thx 16:55 -!- G2 [~gdive23@212.159.59.85] has joined #uml 17:07 -!- frediz [~frediz@81.49.126.7] has quit [Quit: reboot] 17:09 -!- BB [~chris@home.burtyb.org] has joined #uml 17:34 -!- frediz [~frediz@81.49.126.7] has joined #uml 17:58 -!- slh__ [~chatzilla@adsl-17-227-229.jax.bellsouth.net] has quit [Read error: Connection timed out] 17:59 -!- mistral [mistral@212.159.71.212] has joined #uml 18:04 -!- zanshin [~zanshin@212.187.21.137] has joined #uml 18:04 < zanshin> hello everybody...Does anyone know if the test series of uml work with a different root filesystem. If I try a 2.4 uml it works with the filesystem and a test2 uml doesn't. 18:05 -!- com4 [~com4@12-209-152-183.client.attbi.com] has quit [Remote host closed the connection] 18:06 < frediz> "test series" ? 18:07 < frediz> what do you mean ? 18:08 < BB> 2.6.0 test2 at a guess 18:08 < zanshin> yes 18:09 < zanshin> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. 18:09 < zanshin> /dev/ubd/disc0: unknown partition table 18:09 < zanshin> VFS: Cannot open root device "ubd0" or unknown-block(0,0) 18:09 < zanshin> Please append a correct "root=" boot option 18:09 < zanshin> Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0) 18:09 < zanshin> I get this error 18:09 -!- mistral [mistral@212.159.71.212] has quit [Ping timeout: 488 seconds] 18:09 < frediz> zanshin: yes it works 18:09 < zanshin> 2.4 which I downloaded works fine 18:09 < frediz> zanshin: add : root=/dev/ubd/0 18:09 < zanshin> well why do I get this error 18:09 < zanshin> k 18:10 < zanshin> grrrr thanks 18:10 < zanshin> It works :0) 18:10 < frediz> :) 18:10 < frediz> got the same with 2.6test2 18:11 < frediz> Im now trying to configure the network now but after ifconfig 18:11 < zanshin> well thanks anyway. Now I can start experimenting :) 18:11 < frediz> :) 18:11 < frediz> ping 192.168.1.25 18:11 < frediz> PING 192.168.1.25 (192.168.1.25): 56 data bytes 18:11 < frediz> ping: sendto: Invalid argument 18:11 < frediz> ping: wrote 192.168.1.25 64 chars, ret=-1 18:12 < frediz> Once again hints welcomed 18:12 < frediz> 192.168.1.25=uml 18:12 < zanshin> routing table? 18:12 < frediz> mmm its said to use : ifconfig eth0 192.168.1.25 up 18:13 < frediz> and give eth0=ethertap,tap0,fe:fd:0:0:0:1,192.168.1.2 to the kernel 18:13 < frediz> tap0 is brought up in gkrellm 18:15 < zanshin> dunno...I just got this up. So that wil be the next thing I gues. 18:16 < frediz> :) let me know 18:16 < zanshin> I will :) 18:23 < frediz> One question before going further : 18:23 < frediz> should the host's kernel be patched ? 18:23 < G2> can grsecurity be used with uml? 18:23 < frediz> G2: simpler one :) 18:24 < G2> No sorry. Hard ones are all I've got 18:24 < G2> :-) 18:24 < frediz> ;) 18:24 < G2> Brad Spenlger says it's hard, so I won't bother then. 18:25 < G2> Spengler 18:25 < frediz> My original kernel dont need special patch or so (except skas which is not mandatory) 18:25 < frediz> ? 18:25 < frediz> doesnt 18:25 < frediz> grrr 18:26 < G2> What are you trying to say here? 18:26 < frediz> yes sorry... a bit messy 18:27 < frediz> Do I need to patch my host's kernel in order to run an uml ? 18:27 < G2> no, just compile uml or get the rpm dep and ./linux 18:27 < Jax> there is a skas patch that makes it cleaner, but uml will run without it 18:28 < frediz> fine 18:28 < G2> off to bed now 18:28 < G2> later guys 18:28 < frediz> gn G2 18:28 -!- G2 [~gdive23@212.159.59.85] has quit [Quit: Client exiting] 18:30 < frediz> Concerning the host's kernel, where can I find the list of mandatory features that should be compiled so that uml+networking works ? 18:32 < frediz> ping 127.0.0.1 doesnt work either :\ 18:33 -!- slh__ [~chatzilla@adsl-17-245-33.jax.bellsouth.net] has joined #uml 18:33 -!- slh___ [~chatzilla@68.17.245.33] has joined #uml 18:34 -!- slh___ [~chatzilla@68.17.245.33] has left #uml [] 18:35 < zanshin> frediz: have you rtied this: http://uml.openconsultancy.com/#network I don't have my own kernel ok yet for bridging. 18:36 < frediz> nope... gonna; but for instance I didnt add "netlink_dev" in my kernel which was one pb 18:36 < frediz> I fear I dont have other features missing 18:36 < frediz> I fear I have other features missing 18:39 -!- zanshin is now known as zanshin[afk] 18:46 -!- ticallion [~ticallion@194.126.0.72] has joined #uml 18:49 -!- zanshin[afk] is now known as zanshin 18:57 -!- shak_ [~shak@81.111.93.166] has quit [Quit: shak_] 19:01 -!- frediz [~frediz@81.49.126.7] has quit [Quit: dodo] 19:17 -!- ticallion [~ticallion@194.126.0.72] has quit [Quit: food time] 19:30 -!- clever_jeff [~clever_je@24.199.13.10] has joined #uml 19:31 < clever_jeff> anyone here have any experience running SELinux inside UML ?? know if any of the patches clash or anything is broken? 19:52 -!- ticallion [~ticallion@213.175.160.31] has joined #uml 19:52 -!- clever_jeff [~clever_je@24.199.13.10] has left #uml [] 19:59 -!- zanshin [~zanshin@212.187.21.137] has left #uml [Client exiting] 21:00 -!- Jax [~Nimaj@148.100.215.209] has quit [Read error: Connection reset by peer] 21:00 -!- gig2k1s [~Nimaj@148.100.215.209] has joined #uml 21:00 -!- gig2k1s is now known as Jax 21:23 -!- clever_jeff [~clever_je@24.199.13.10] has joined #uml 21:23 < clever_jeff> 'ello 21:23 < clever_jeff> I feel stupid, eveytime I'm in here, I'm the only one asking any questions, but here's another if anyones listening: 21:24 < clever_jeff> during my uml kernel compile, I get: 21:24 < clever_jeff> make: *** No rule to make target `/usr/src/uml/linux-2.4.20-r1/include/asm/vm86.h', needed by `/usr/src/uml/linux-2.4.20-r1/include/asm/processor.h'. Stop. 21:34 < Jax> this is when you run make linux ARCH=um? 21:36 < clever_jeff> correct 21:37 < Jax> did you do make ARCH=um , like make ARCH=um menuconfig 21:38 < Jax> i haven't played with kernels much, but I have gotten that before when I tried to compile a kernel without running through a config 21:38 < clever_jeff> host system is gentoo, however, when I emerged the usermode-kernel, it didn't appear to apply the patch (ARCH=um would say no target), so I manually applied the patch 'bzcat patch.bz2 | patch -p1' and make menuconfig ARCH=um worked 21:38 < clever_jeff> (obtained path directly from /usr/poratage/distfiles, it downloaded, but didn't apply) 21:39 < clever_jeff> yes, I did a 'make menuconfig ARCH=um' and it ran fine 21:39 < clever_jeff> s,path,patch 21:43 < clever_jeff> also, has anyone ever heard of someone using the SELinux kernel patches with UML? 21:50 < caker> will a 2.6 UML kernel utilize skas in the host? 21:53 -!- clever_jeff [~clever_je@24.199.13.10] has left #uml [] 22:18 -!- ticallion is now known as ticallion[]a 22:18 -!- ticallion[]a is now known as ticallion[a] 23:26 -!- ticallion[a] is now known as ticallion 23:56 -!- ticallion [~ticallion@213.175.160.31] has quit [Ping timeout: 488 seconds] --- Log closed Mon Aug 11 00:00:00 2003