Back to Home / #uml / 2007 / 11 / Prev Day | Next Day
#uml IRC Logs for 2007-11-18

---Logopened Sun Nov 18 00:00:54 2007
00:48|-|aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has joined #uml
01:24|-|aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has quit [Quit: aroscha]
05:20|-|tyler29 [~tyler@ARennes-257-1-75-225.w81-53.abo.wanadoo.fr] has joined #uml
05:35|-|tyler29 [~tyler@ARennes-257-1-75-225.w81-53.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
05:52|-|tyler29 [~tyler@ARennes-257-1-14-185.w81-250.abo.wanadoo.fr] has joined #uml
06:06|-|tyler29 [~tyler@ARennes-257-1-14-185.w81-250.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
06:17|-|tyler29 [~tyler@ARennes-257-1-134-22.w86-210.abo.wanadoo.fr] has joined #uml
06:46|-|aroscha [~aroscha@85.109.2.68] has joined #uml
06:47|-|Infinito [~argos@201-2-52-235.gnace701.dsl.brasiltelecom.net.br] has joined #uml
06:56|-|tyler29 [~tyler@ARennes-257-1-134-22.w86-210.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
06:56|-|aroscha [~aroscha@85.109.2.68] has quit [Read error: Connection reset by peer]
06:57|-|aroscha [~aroscha@85.109.2.68] has joined #uml
07:05|-|aroscha [~aroscha@85.109.2.68] has quit [Read error: Connection reset by peer]
07:08|-|tyler29 [~tyler@ARennes-257-1-121-6.w86-210.abo.wanadoo.fr] has joined #uml
07:13|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has joined #uml
07:38|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
07:55|-|linux__alien [~linux__al@59.92.35.21] has joined #uml
07:56<linux__alien-#uml->>I am new to User Mode Linux and ve installed User Mode Linux in Ubuntu from the Ubuntu Repositories. Now if i need to start it where do i download the filesystem from ? I am using Ubuntu 7.10
07:56<linux__alien-#uml->>I would prefer a file system which has got the basic stuff like gcc, etc ..
07:57<linux__alien-#uml->>will it be available? please let me know
08:04|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has joined #uml
08:21|-|tyler29 [~tyler@ARennes-257-1-121-6.w86-210.abo.wanadoo.fr] has quit [Remote host closed the connection]
08:23|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has quit [Quit: aroscha]
08:42|-|Magotari [~karol@abgp10.neoplus.adsl.tpnet.pl] has joined #uml
08:44|-|Magotari_ [~karol@abij60.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 480 seconds]
09:11|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has joined #uml
09:22<linux__alien-#uml->>is anyone here?
09:22<linux__alien-#uml->>could someone tell me how do i start UML in Ubuntu . I dont see any latest Debian File systems available. could some one help me ? I am using Ubuntu 7.10
09:26<peterz-#uml->>grab the kernel sources, compile ARCH=um and start the thing
09:26<peterz-#uml->>if you want a root image, you can either grab one or make one using dd, losetup and debootstrap
09:29<linux__alien-#uml->>peterz, thanks for replying. I installed UML from Ubuntu repositories and tried the following tutorial
09:29<linux__alien-#uml->>http://cosi.clarkson.edu/docs/kernel/setup/uml/uml.html#preqrequisites
09:29<linux__alien-#uml->>and i did dd and created the file system too
09:29<linux__alien-#uml->>but i was not able to mount it though i followed the tutorial
09:30<peterz-#uml->>let me have a quick look at that
09:30<linux__alien-#uml->>this command does not work
09:30<linux__alien-#uml->>mount -o loop /opt/uml/debian-root /mnt/debian
09:30<linux__alien-#uml->>ya thanks
09:31<peterz-#uml->>right, that looks fairly complete
09:31<peterz-#uml->>so what happens?
09:31<linux__alien-#uml->>mount command fails
09:31<linux__alien-#uml->>it says i ve to specify a type
09:31<linux__alien-#uml->>if i specify auto it does not work
09:32<peterz-#uml->>oh, right, you did do the mkfs.ext3 thing?
09:32<peterz-#uml->>point 6
09:32<linux__alien-#uml->>yes
09:32<linux__alien-#uml->>i did
09:32<linux__alien-#uml->> mkfs.ext3 /opt/uml/debian-root
09:32<linux__alien-#uml->>mke2fs 1.40.2 (12-Jul-2007)
09:32<linux__alien-#uml->>/opt/uml/debian-root is not a block special device.
09:32<linux__alien-#uml->>Proceed anyway? (y,n)
09:32<linux__alien-#uml->>i gave yes
09:32<linux__alien-#uml->>is it ok?
09:32<peterz-#uml->>yes
09:33<peterz-#uml->>and if you add -t ext3 to your mount command?
09:33<linux__alien-#uml->>ok now it works i did the same time last time but now it works
09:33<peterz-#uml->>ok, great, so now you can continue with the debootstrap thing
09:33<linux__alien-#uml->>now i ve installed debootstrap
09:33<linux__alien-#uml->>too
09:34[~]peterz #uml wanders off again, good luck!#uml-> wanders off again, good luck!
09:34<linux__alien-#uml->>now how do i start it when i try starting uml it crahses
09:34<Magotari-#uml->>What is the crash message?
09:34<linux__alien-#uml->>is this command right?
09:34<linux__alien-#uml->>linux ubd0=/opt/uml/debian-root.ext3 mem=128M eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl ssl=port:9000 con=xterm
09:36<Magotari-#uml->>Does not look bad, not really.
09:36<Magotari-#uml->>A lot of people preffer using ubda instead of ubd0, but it should work fine. What is the crash message?
09:36<linux__alien-#uml->>this is what i get
09:36<linux__alien-#uml->>Core dump limits :
09:36<linux__alien-#uml->> soft - 0
09:36<linux__alien-#uml->> hard - NONE
09:36<linux__alien-#uml->>Checking that ptrace can change system call numbers...OK
09:36<linux__alien-#uml->>Checking syscall emulation patch for ptrace...OK
09:36<linux__alien-#uml->>Checking advanced syscall emulation patch for ptrace...OK
09:36<linux__alien-#uml->>Checking for tmpfs mount on /dev/shm...OK
09:36<linux__alien-#uml->>Checking PROT_EXEC mmap in /dev/shm/...OK
09:36<linux__alien-#uml->>Checking for the skas3 patch in the host:
09:36<linux__alien-#uml->> - /proc/mm...not found: No such file or directory
09:36<linux__alien-#uml->> - PTRACE_FAULTINFO...not found
09:36<linux__alien-#uml->> - PTRACE_LDT...not found
09:36<Magotari-#uml->>Oh noes.
09:36<linux__alien-#uml->>UML running in SKAS0 mode
09:36<linux__alien-#uml->>Segmentation fault (core dumped)
09:36<linux__alien-#uml->>an other window opens but lot of addresses get printed in that screen
09:37<linux__alien-#uml->>But the important ones in that are these
09:37<linux__alien-#uml->>[42949374.270000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
09:37<linux__alien-#uml->>[42949374.270000]
09:37<linux__alien-#uml->>[42949374.270000] EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP: 007b:b7db1fb4 EFLAGS: 00000246
09:37<Magotari-#uml->>Please use pastebin next time when you post something long.
09:37<linux__alien-#uml->>ok sorry
09:37<linux__alien-#uml->>will do it next time
09:37<Magotari-#uml->>Try replacing ubd0 with ubda and adding root=/dev/ubda to the commandline.
09:38<linux__alien-#uml->>the same thing
09:38<linux__alien-#uml->>again
09:38<linux__alien-#uml->>linux ubda=/opt/uml/debian-root.ext3 mem=128M eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl root= /dev/ubda ssl=port:9000 con=xterm
09:38<linux__alien-#uml->>right?
09:39<Magotari-#uml->>Looks good.
09:39<linux__alien-#uml->>but crashes again
09:39<Magotari-#uml->>Did you compile in block device support and ext3?
09:39<linux__alien-#uml->>i downloaded and installed UML from Ubuntu Repositories
09:39<linux__alien-#uml->>using synaptic
09:40<Magotari-#uml->>Right. Ok. Can you boot an image from the UML website to see if the problem lies with your image?
09:40<linux__alien-#uml->>but it has got only a Debian Image
09:40<linux__alien-#uml->>is that ok?
09:40<linux__alien-#uml->>that too a ext2 image
09:41<Magotari-#uml->>Erm... No. The user mode linux website has a fedora 5 image, I think.
09:41<linux__alien-#uml->>yes
09:41<Magotari-#uml->>So try booting that.
09:41<linux__alien-#uml->>but i am using ubuntu that does not matter is it?
09:41<Magotari-#uml->>No, it does not matter at all.
09:41<Magotari-#uml->>You can run anything inside UML.
09:41<Magotari-#uml->>Slackware, Gentoo... Any distro.
09:42<Magotari-#uml->>It won't impact your real distro at all.
09:42<linux__alien-#uml->>Oh
09:42<linux__alien-#uml->>let me start downloading the file system
09:42<linux__alien-#uml->>the Fedora 5 file system
09:43<Magotari-#uml->>This is a computer inside a computer. Independant. You can wreck it, tear it to bits, reinstall it, and your real system won't care.
09:43<linux__alien-#uml->>Oh
09:43<linux__alien-#uml->>Ok
09:44<linux__alien-#uml->>i basically want to install this and play with Quagga routing software
09:44<Magotari-#uml->>UML will work fine for you then.
09:44<linux__alien-#uml->>i want to have multiple sessions and have routing daemons
09:44<linux__alien-#uml->>but i also want something thats easy to set up too :) in terms of installation
09:45<Magotari-#uml->>You may want to find a site called nagafix. There are lots of premade images there, some might have the tools you need already installed.
09:45<Magotari-#uml->>Another two projects which might be interesting to you are VNUML and Netkit, both arrange many UMLs into a network.
09:54<Magotari-#uml->>linux__alien: I have to leave for an hour or two. I will be back. Is that ok, or do you need help right now?
09:54<linux__alien-#uml->>The problem
09:55<Magotari-#uml->>?
09:55<linux__alien-#uml->>is with UML/other softwares is that i need to install too many packages in that for example GCC, etc and the problem i feel is that i cannot have too many windows infact i tried UML in my friend's machine and we were using screen command
09:55<linux__alien-#uml->>and it was painful
09:57<Magotari-#uml->>So is the problem too many windows, or not enough?
09:57<linux__alien-#uml->>i dont know how to start many windows something like you know one window having a telnet session the other window compiling the code
09:57<linux__alien-#uml->>something like that
09:58<Magotari-#uml->>Hmm. Right. Let me see.
09:58<Magotari-#uml->>Are you using X?
09:58<Magotari-#uml->>Ubuntu, right?
09:58<linux__alien-#uml->>yes
09:58<linux__alien-#uml->>7.10
09:58<Magotari-#uml->>Open a few gnome terminals then.
09:58<linux__alien-#uml->>i meant it in UML
09:59<Magotari-#uml->>You can telnet to port 9000 to take over one of the UML's serial consoles.
09:59<linux__alien-#uml->>oh is it
09:59<linux__alien-#uml->>telnet 127.0.0.1 9900
09:59<linux__alien-#uml->>is it/
09:59<Magotari-#uml->>No, 9000.
09:59<Magotari-#uml->>Yes, it should do the trick.
09:59|-|tyler29 [~tyler@ARennes-257-1-129-124.w86-210.abo.wanadoo.fr] has joined #uml
10:00<Magotari-#uml->>The other idea is to install xterm, if you don't have it installed.
10:00<linux__alien-#uml->>Hey my downlaod is over
10:00<linux__alien-#uml->>now what do i do
10:00<linux__alien-#uml->>the filesystem is downloaded
10:00<Magotari-#uml->>Many windows will open at uml bootup if you have xterm.
10:00<Magotari-#uml->>Try booting the fs.
10:01<linux__alien-#uml->>i am untarrign it
10:04<linux__alien-#uml->>Magotari, i think its booting now its waiting in starting UDev
10:04<linux__alien-#uml->>Its booting but i get this error
10:04<linux__alien-#uml->>modprobe: FATAL: Could not load /lib/modules/2.6.22-rc5/modules.dep: No such file or directory
10:04<Magotari-#uml->>That message is fine. No need for modules in UML most of the time.
10:05<Magotari-#uml->>So if it booted that means that your rootfs is the problem.
10:05<linux__alien-#uml->>Magotari, i ve got it now 2 things i desparately need
10:05<Magotari-#uml->>Yes?
10:05<linux__alien-#uml->>if you dont mind can you help me please?
10:05<Magotari-#uml->>Yes, I will try although I have to go soon.
10:05<Magotari-#uml->>I'm listening.
10:06<linux__alien-#uml->>one thing is that I am using Ubuntu and i ve set up a PPPOE internet connection in my Ubuntu so i need to set up internet connection in the UML and the second one is that for starting an other instance should i copy the image the file system image and rename it and then use it for the second instance?
10:06<linux__alien-#uml->>how do i do these two
10:07<Magotari-#uml->>Ok. First let us do the UML<->Internet link.
10:07<linux__alien-#uml->>Ok Sure
10:07<Magotari-#uml->>Sec.
10:08<linux__alien-#uml->>One quick question currently i ve virtual console 0 running so i want an other instance i should use virtual console 1 as command line params?
10:08<Magotari-#uml->>I don't understand.
10:08|-|apic [~andi@paranerd-geekophren.name] has left #uml [so long]
10:08<Magotari-#uml->>Do you have a LAN of some kind, or just you and the ISP?
10:09<linux__alien-#uml->>me and my ISP
10:09<linux__alien-#uml->>linux ubda=/home/XXX/Desktop/UML/FedoraCore5-x86-root_fs mem=128M eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl root=/dev/ubda ssl=port:9000 con=xterm
10:10<Magotari-#uml->>Ok. Try booting with eth0=tuntap,,,192.168.0.254.
10:10<Magotari-#uml->>Then inside uml login as root.
10:10<Magotari-#uml->>And do "ifconfig eth0 192.168.0.253 up"
10:11<linux__alien-#uml->>i gave this and i get Virtual Console 0 and i am able to use it perfectly now just imagine i do the same thing by giving an other image (by renaming it) so whats that i ve to give for the port here can i open an other virtual console for the next instance of UML that i might run
10:11<linux__alien-#uml->>ok will do it
10:11<Magotari-#uml->>And then route add default gw 192.168.0.254
10:11<Magotari-#uml->>I have never done that before, but it might work. I suck at networking.
10:13<Magotari-#uml->>Finally, the two UMLs using one rootfs... Try booting one uml with ubda=first.cow,<your_root_fs> and the second one with ubda=second.cow,<your_root_fs>
10:13<linux__alien-#uml->>i should give first.cow in the command is it?
10:13<Magotari-#uml->>whateveryouwant.cow
10:14<linux__alien-#uml->>ifconfig 192.168.0.253 up
10:14<linux__alien-#uml->>192.168.0.253: unknown interface: No such device
10:14<linux__alien-#uml->>i get this now
10:14<linux__alien-#uml->>in UML
10:14<Magotari-#uml->>Hmm. No idea about that. I was never any good at networking, sorry. I cannot help you there.
10:14<linux__alien-#uml->>ok
10:16<Magotari-#uml->>THe method for running many UML I gave you saves space on the hard drive, but you must never run uml without a .cow file as the first thing after ubda=. If you do that, all your cow files will become invalid.
10:16<Magotari-#uml->>However, you save LOTS of disk space over the copying idea, as only the changes from the original are written down into the .cow file.
10:17<linux__alien-#uml->>Magotari, i thought i ve to copy the file system image that many number of times equal to me running unique UML instances
10:17<Magotari-#uml->>You can, sure.
10:17<Magotari-#uml->>It would work, but I think cow files are a better way.
10:18<Magotari-#uml->>However, if you don't feel like doing the cow stuff, you can just copy the image.
10:18<Magotari-#uml->>It will work just fine.
10:19<linux__alien-#uml->>eth0=tuntap,,,192.168.0.253,unix,/var/run/uml-utilities/uml_switch.ctl root=/dev/ubda ssl=port:9000 con=xterm
10:19<linux__alien-#uml->>i gave this but does not work for networking
10:19<Magotari-#uml->>Yeah. Remove everything after 192.168.0.253
10:20<Magotari-#uml->>THen keep the root= and ssl= and con=
10:20|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has quit [Quit: aroscha]
10:20<linux__alien-#uml->>Oh Ok
10:20<Magotari-#uml->>But from the eth0 line you have way too much stuff.
10:21<linux__alien-#uml->>:)
10:21<linux__alien-#uml->>I ve removed what ever you said
10:21<linux__alien-#uml->>let me try
10:21<Magotari-#uml->>Also, take a look at numbers. On the commandline you have number A. In ifconfig eth0 you have number A - 1. And in route default gw you have A again.
10:22<linux__alien-#uml->>thats how you want me to set it up is it?
10:22<Magotari-#uml->>That is the only way I know. I suck at networking.
10:23<linux__alien-#uml->>Magotari, now it does not boot at all its just waiting
10:23<linux__alien-#uml->>Enabling swap space: [ OK ]
10:23<linux__alien-#uml->>modprobe: FATAL: Could not load /lib/modules/2.6.22-rc5/modules.dep: No such file or directory
10:23<linux__alien-#uml->>after this
10:23<linux__alien-#uml->>linux ubda=/home/XXX/Desktop/UML/FedoraCore5-x86-root_fs mem=128M eth0=tuntap,,,192.168.0.253,root=/dev/ubda ssl=port:9000 con=xterm
10:23<linux__alien-#uml->>this is what i gave
10:24<Magotari-#uml->>Erm. You have a , between the eth0= and root= lines...
10:24<Magotari-#uml->>It should be a space.
10:24<linux__alien-#uml->>This time it boots just pressed Ctrl C and tried again
10:24<linux__alien-#uml->>ifconfig eth0 192.168.1.254
10:24<linux__alien-#uml->>SIOCSIFADDR: No such device
10:24<linux__alien-#uml->>eth0: unknown interface: No such device
10:25<linux__alien-#uml->>i ve only lo in my UML instance
10:25<Magotari-#uml->>Yes, you have an extra comma there.
10:25<Magotari-#uml->>You want eth0=tuntap,,,<ip> root=/dev/udba
10:26<linux__alien-#uml->>Oh Ok Thanks
10:26<Magotari-#uml->>I have to go, I am already 25 minutes late. Back in two hours. Hope I could help a bit.
10:26<linux__alien-#uml->>Sure thanks a lot
10:26<linux__alien-#uml->>for your help
10:26<linux__alien-#uml->>:)
10:26<Magotari-#uml->>This is the last window I have open. :)
10:26<Magotari-#uml->>See you in two hours.
10:26<linux__alien-#uml->>sure
10:26<linux__alien-#uml->>:)
10:26|-|Magotari [~karol@abgp10.neoplus.adsl.tpnet.pl] has quit [Quit: Lost terminal]
10:43|-|tyler29 [~tyler@ARennes-257-1-129-124.w86-210.abo.wanadoo.fr] has quit [Remote host closed the connection]
10:47|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has joined #uml
10:48|-|tyler29 [~tyler@ARennes-257-1-129-124.w86-210.abo.wanadoo.fr] has joined #uml
11:57|-|linux__alien [~linux__al@59.92.35.21] has quit [Quit: Leaving]
12:28|-|tyler29 [~tyler@ARennes-257-1-129-124.w86-210.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
12:31|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has quit [Quit: aroscha]
12:41|-|tyler29 [~tyler@ARennes-257-1-83-165.w86-199.abo.wanadoo.fr] has joined #uml
12:50|-|Magotari [~karol@chello089076073025.chello.pl] has joined #uml
13:08|-|steve_ [~steve@cpc2-nfds1-0-0-cust827.lei3.cable.ntl.com] has joined #uml
13:16|-|steve_ [~steve@cpc2-nfds1-0-0-cust827.lei3.cable.ntl.com] has quit [Remote host closed the connection]
13:47|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has quit [Remote host closed the connection]
13:49|-|Baltam [~WIKIMOKI@tor-irc.dnsbl.oftc.net] has joined #uml
14:48|-|tyler29 [~tyler@ARennes-257-1-83-165.w86-199.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
15:04|-|tyler29 [~tyler@ARennes-257-1-161-230.w86-214.abo.wanadoo.fr] has joined #uml
15:22|-|tyler29 [~tyler@ARennes-257-1-161-230.w86-214.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
15:35|-|tyler29 [~tyler@ARennes-257-1-119-199.w86-210.abo.wanadoo.fr] has joined #uml
15:58|-|Infinito [~argos@201-2-52-235.gnace701.dsl.brasiltelecom.net.br] has quit [Quit: Leaving]
16:19|-|tyler29 [~tyler@ARennes-257-1-119-199.w86-210.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
17:24|-|kos_tom [~thomas@humanoidz.org] has quit [Quit: I like core dumps]
19:27|-|mgross [~mgross@pool-71-117-236-31.ptldor.fios.verizon.net] has joined #uml
23:17|-|Netsplit synthon.oftc.net <-> xenon.oftc.net quits: dang, krau
23:25|-|dang [~dang@nemesis.fprintf.net] has joined #uml
23:26|-|krau [~cktakahas@200.184.118.132] has joined #uml
23:58|-|VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs]
23:59|-|VS_ChanLog [~stats@ns.theshore.net] has joined #uml
---Logclosed Mon Nov 19 00:00:32 2007