| --- | Log | opened Tue Dec 09 00:00:12 2008 |
| 00:30 | -!- | balbir_ [~balbir@59.145.136.1] has joined #uml |
| 02:54 | -!- | duraperidol [~nohost@205.207.102.195] has quit [Read error: Connection reset by peer] |
| 02:56 | -!- | duraperidol [~nohost@205.207.102.195] has joined #uml |
| 02:57 | -!- | duraperidol is now known as Guest424 |
| 03:18 | -!- | tchan1 [~tchan@c-67-173-9-133.hsd1.il.comcast.net] has joined #uml |
| 03:20 | -!- | tchan [~tchan@67.173.9.133] has quit [Ping timeout: 480 seconds] |
| 03:44 | -!- | Guest424 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 03:49 | -!- | kd394817175 [~nohost@205.207.102.195] has joined #uml |
| 04:29 | -!- | camby [~root@60.205.82.146] has joined #uml |
| 04:30 | -!- | kd394817175 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 04:36 | -!- | duraperidol [~nohost@205.207.102.195] has joined #uml |
| 04:36 | -!- | duraperidol is now known as Guest438 |
| 05:20 | -!- | Guest438 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 05:23 | -!- | kd394817175 [~nohost@205.207.102.195] has joined #uml |
| 05:52 | -!- | balbir_ [~balbir@59.145.136.1] has quit [Remote host closed the connection] |
| 05:55 | -!- | camby [~root@60.205.82.146] has left #uml [Ex-Chat] |
| 06:07 | -!- | kd394817175 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 06:12 | -!- | duraperidol [~nohost@205.207.102.195] has joined #uml |
| 06:13 | -!- | duraperidol is now known as Guest448 |
| 06:44 | -!- | _11 [~11@122.201.69.199] has joined #uml |
| 06:45 | <_11:#uml> | hi |
| 06:46 | <_11:#uml> | I was hoping somebody here might be able to help me with problems I've been having creating my own filesystem to use in uml |
| 06:48 | <_11:#uml> | my first question is if it's possible to install the operating system from a cd via uml? (most things i've seen out there rely on archbootstrap/debootstrap, which have worked for me *just*, but dont seem to co-operate well as /dev only has null/zero/console) |
| 06:49 | <_11:#uml> | i've tried fiddling around with different boot parameters pointing to my /dev/cdrom but i'm not having any luck |
| 06:51 | -!- | Guest448 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 06:55 | -!- | kd394817175 [~nohost@205.207.102.195] has joined #uml |
| 07:37 | -!- | kd394817175 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 07:43 | -!- | duraperidol [~nohost@205.207.102.195] has joined #uml |
| 07:43 | -!- | duraperidol is now known as Guest455 |
| 08:28 | -!- | Guest455 [~nohost@205.207.102.195] has quit [Read error: Connection reset by peer] |
| 08:34 | -!- | kd394817175 [~nohost@205.207.102.195] has joined #uml |
| 08:39 | -!- | kd394817175 [~nohost@205.207.102.195] has quit [Remote host closed the connection] |
| 10:31 | -!- | tchan1 [~tchan@c-67-173-9-133.hsd1.il.comcast.net] has quit [Quit: WeeChat 0.2.7-dev] |
| 10:36 | -!- | tchan [~tchan@c-67-173-9-133.hsd1.il.comcast.net] has joined #uml |
| 10:41 | -!- | jdike [~jdike@pool-96-237-60-64.bstnma.fios.verizon.net] has joined #uml |
| 10:41 | <jdike:#uml> | hi guys |
| 10:57 | <rob0:#uml> | morning |
| 10:58 | <rob0:#uml> | _11, most distro installers are written to assume they're running on a real computer, or at least a complete VM implementation. |
| 11:00 | <rob0:#uml> | I'm a Slackware guy, and Slackware is pretty good about installing in UML, because you don't need to boot an installer. I just made a loopback FS and ran a simple script inside it which installed all the packages. |
| 11:13 | -!- | Basic [~Basic@warden.real-time.com] has quit [Ping timeout: 480 seconds] |
| 11:33 | -!- | Plouj [~Plouj@red.cs.yorku.ca] has joined #uml |
| 11:33 | <Plouj:#uml> | hi |
| 11:35 | <Plouj:#uml> | I would like to use uml inside my build process to partition and populate a disk image so I'm trying to figure out how to build a minimal initrd to boot UML with the minimum set of tools (parted, mkfs, mount, cp). Does that sound logical? |
| 11:36 | <Plouj:#uml> | while I've been trying to figure out how to automatically build a fs for my UML to boot from, I've noticed that there is a number of tools that are supposed to be able to create disk images without requiring root priveleges to the host already. |
| 11:38 | <jdike:#uml> | mkfs doesn't require root |
| 11:38 | <Plouj:#uml> | true |
| 11:39 | <Plouj:#uml> | but, I'd like to create a disk image with more than one partition and a valid partition table |
| 11:39 | <Plouj:#uml> | that means I somehow need to access the individual partitions within the file |
| 11:39 | <Plouj:#uml> | currently I do that with kpartx |
| 11:39 | <Plouj:#uml> | also, to copy the files onto the created partitions, I need to use mount -o loop which requires root access |
| 11:41 | <Plouj:#uml> | also, a less important question: do I still need to patch 2.6.27* host kernel to get SKAS? |
| 11:41 | <jdike:#uml> | yes |
| 11:41 | <Plouj:#uml> | ok, I don't really care for skas, because I care for being able to run this UML on as many machines as possible |
| 11:43 | <Plouj:#uml> | anyways |
| 11:43 | <jdike:#uml> | fdisk doesn't require root, I think |
| 11:43 | <Plouj:#uml> | I know |
| 11:43 | <jdike:#uml> | but populating them does, unless you use UML |
| 11:43 | <Plouj:#uml> | the partitioning tools can work on plain files, that's tru |
| 11:44 | <Plouj:#uml> | so, you also agree that I need to use UML, eh |
| 11:44 | <jdike:#uml> | yup |
| 11:44 | <Plouj:#uml> | I have an initramfs image which I was trying to boot to, but the kernel can't find the root and I don't know what to set it to |
| 11:45 | <Plouj:#uml> | http://rafb.net/p/1MU5xs30.html |
| 11:46 | <Plouj:#uml> | what can I do? |
| 11:49 | <Plouj:#uml> | the initramfs was built during the kernel compilation by setting CONFIG_INITRAMFS_SOURCE="initramfs-list" (where initramfs-list is a recepie to build the intramfs) |
| 11:49 | -!- | balbir_ [~balbir@122.167.219.26] has joined #uml |
| 11:49 | <jdike:#uml> | I don't think you say initrd=blah when it's really an initramfs |
| 11:53 | -!- | Basic [~Basic@gatekeeper.dpd-info.com] has joined #uml |
| 11:54 | <Plouj:#uml> | the only related document I found is this, but I can't make sense of it: http://busybox.net/~landley/ols2006/presentation.txt |
| 11:55 | <jdike:#uml> | Oh yeah |
| 11:56 | <jdike:#uml> | initramfs is built in to the kernel, so it knows about it automatically |
| 11:56 | <Plouj:#uml> | maybe I'll have more success if I use the UML built from the same sources as what the initramfs was built from instead of using the pre-build UML kernel |
| 11:57 | <jdike:#uml> | yeah |
| 11:57 | <jdike:#uml> | you need to build your own UML |
| 11:57 | <jdike:#uml> | and set CONFIG_INITRAMFS_SOURCE |
| 11:59 | <Plouj:#uml> | darn it, the linux-2.6.24.5 fails to build um: http://rafb.net/p/6fgkTv84.html |
| 12:00 | <jdike:#uml> | huh |
| 12:01 | <Plouj:#uml> | looks like that's a problem with gcc 4 |
| 12:01 | <Plouj:#uml> | well, 4.3.0 |
| 12:01 | <jdike:#uml> | guess so |
| 13:50 | <fo0bar:#uml> | jdike: in 2.6.28-rc, how do you refer to the parent arch's asm directory? it looks like that ability has been removed... |
| 13:51 | <jdike:#uml> | viro did that |
| 13:51 | <jdike:#uml> | I don't remember how he handled that |
| 13:53 | <fo0bar:#uml> | yeah |
| 13:54 | * | fo0bar:#uml has finished SKAS3 for 2.6.26 and 2.6.27 |
| 13:54 | <fo0bar:#uml> | but 2.6.28 is a new beast :) |
| 13:59 | <Plouj:#uml> | aha, ./linux-2.6.27.4/linux initrd=initramfs works if I enable CONFIG_BLK_DEV_INITRD=y in the kernel .config |
| 13:59 | <rob0:#uml> | oh my |
| 13:59 | <Plouj:#uml> | now all I need to do is populate the initramfs with the right tools |
| 14:00 | <Plouj:#uml> | also, I need to figure out how to make sure the UML doesn't exit with a segfault+non-zero status code |
| 14:02 | -!- | Basic [~Basic@gatekeeper.dpd-info.com] has quit [Quit: Basic] |
| 14:03 | <rob0:#uml> | fo0bar, where's your patch? |
| 14:04 | <Plouj:#uml> | how do I actually access/mount the hostfs from UML? |
| 14:05 | <Plouj:#uml> | I don't have any devices in /dev other than what I created in the initramfs |
| 14:16 | <Plouj:#uml> | this `root=/dev/root rootflags=/path/to/uml/root rootfstype=hostfs` seemed to have worked, but I still have the same sparse /dev/ as before |
| 14:20 | <rob0:#uml> | With the rootfstype as hostfs, you can only have multiple UIDs/GIDs if the UML is running as root. |
| 14:21 | <Plouj:#uml> | what are multiple UIDs/GIDs ? |
| 14:21 | <rob0:#uml> | I personally wouldn't do that, as it defeats one of the main benefits of virtualization. |
| 14:22 | <Plouj:#uml> | I don't see how that relates to me trying to mount some disk |
| 14:23 | <Plouj:#uml> | ./linux-2.6.27.4/linux root=/dev/root rootflags=/tmp/uml_root rootfstype=hostfs ubd0=new_filesystem doesn't seem to create /dev/ubd0 |
| 14:38 | <fo0bar:#uml> | rob0: I meant to release them this morning, but got swamped in other things. I'll post them this afternoon |
| 14:39 | <fo0bar:#uml> | jdike: apparently the answer is "code reuse" |
| 14:39 | <fo0bar:#uml> | specifically, going in arch/um/sys-i386/shared/sysdep and arch/um/sys-x86_64/shared/sysdep |
| 14:41 | <jdike:#uml> | ah yes |
| 14:41 | <jdike:#uml> | that sounds familiar |
| 14:48 | <Plouj:#uml> | humm, so I figured out how to access my filesystems an all |
| 14:48 | <Plouj:#uml> | but that is using ubd0=Debian-3.0r0.ext2, which sets up /dev for me |
| 14:48 | <Plouj:#uml> | now I need to figure out how to do that myself |
| 15:05 | <Plouj:#uml> | and even in the Debian disk I'm getting strange results |
| 15:06 | <Plouj:#uml> | whatever I pass on ubd1= appears as /dev/ubd16 |
| 15:06 | <Plouj:#uml> | and when I partition that into two partitions with fdisk from inside UML, I can't even find which device represents those partitions |
| 15:35 | <Plouj:#uml> | oh, I just read "Inside UML, if you are not using devfs, the devices are accessible with minor numbers 0, 16, ..., with the other minor numbers being used for partitions. So, the device that is ubd1 on the UML command line becomes /dev/ubd16 inside UML" |
| 15:36 | <Plouj:#uml> | so, how do I figure out what minor number used for a particular patition of /dev/ubd16 ? |
| 15:38 | <Plouj:#uml> | and I feel like I'm talking to /dev/null |
| 15:55 | <Plouj:#uml> | do I have to or should I enable udev/devfs in the kernel config when building UML? |
| 15:55 | <Plouj:#uml> | I just do make defconfig ARCH=um && make ARCH=um at the moment |
| 16:01 | <fo0bar:#uml> | rob0: http://www.finnie.org/software/uml/2.6.27-skas3.patch <-- also 26, 25 and 24.1 |
| 16:01 | <rob0:#uml> | Subject: [uml-user] [PATCH] SKAS3 for 2.6.26 |
| 16:01 | <rob0:#uml> | :) |
| 16:01 | <rob0:#uml> | thanks |
| 16:02 | <fo0bar:#uml> | rob0: are you going to be running 32-bit or 64-bit? |
| 16:02 | <rob0:#uml> | probably both |
| 16:03 | <fo0bar:#uml> | I've been testing 32-bit as much as I can (backwards/forwards compatibility), but I don't have a pure 64-bit environment to test so I'm just making sure it compiles :) |
| 16:03 | <fo0bar:#uml> | so I'd be interested in hearing how it works in 64-bit |
| 16:05 | <rob0:#uml> | mine's not pure, it's x86_64 with full 32-bit compatibility |
| 16:05 | <rob0:#uml> | but I'll let you know |
| 16:05 | <rob0:#uml> | I can just post to the list |
| 16:13 | -!- | _11 [~11@122.201.69.199] has quit [Quit: leaving] |
| 16:23 | -!- | hfb [~hfb@pool-96-229-38-185.lsanca.dsl-w.verizon.net] has joined #uml |
| 16:40 | -!- | Basic [~Basic@c-75-73-131-27.hsd1.mn.comcast.net] has joined #uml |
| 17:06 | -!- | Basic [~Basic@c-75-73-131-27.hsd1.mn.comcast.net] has quit [Quit: Linghu - Level 73 Hunter - Executus US] |
| 17:07 | -!- | Basic [~Basic@warden.real-time.com] has joined #uml |
| 18:28 | -!- | nDuff [~cduffy@rrcs-71-41-149-67.sw.biz.rr.com] has joined #uml |
| 18:30 | <nDuff:#uml> | Are virtual serial ports defined in UML guests effectively rate-limited? |
| 18:51 | -!- | hfb [~hfb@pool-96-229-38-185.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving] |
| 18:51 | -!- | stmartin_away is now known as stmartin |
| 18:53 | <stmartin:#uml> | With regard to SKAS4 32/64 compatibility, is it correct to say that a 64-bit SKAS4 host can run a 64-bit SKAS4 guest kernel with a 32-bit guest OS ? I'm guessing perhaps not. |
| 18:53 | <stmartin:#uml> | Or is it more correct to say that a SKAS4 64-bit host can run a 32-bit SKAS4 kernel? |
| 18:54 | <stmartin:#uml> | In which case, how does one go about compiling a 32-bit SKAS4 kernel on a 64-bit machine? |
| 18:59 | <fo0bar:#uml> | a 64-bit host kernel can run a 32-bit guest kernel, but a 64-bit guest kernel cannot use a 32-bit userland, unfortunately |
| 18:59 | <fo0bar:#uml> | and for compiling, I think "make ARCH=um SUBARCH=i386" will work |
| 19:01 | <stmartin:#uml> | Hmmm, thanks. I was afraid of that. Looks like I'll have to specify a fully 64-bit environment for my server and userland. Oh well, the guests needed a refresh anyway, and it'll let me test my documentation for guest creation. Silver linings everywhere ... groan. |
| 19:02 | <stmartin:#uml> | Just to be clear, there is no difference at the ext3 layer for 32-bit and 64-bit right, a "64-bit userland" refers only to the contents of the filesystem? |
| 19:02 | <fo0bar:#uml> | yeah |
| 19:09 | <stmartin:#uml> | Is there a 64-bit filesystem available for download (for testing purposes)? The one at the USer-mode Linux homepage is missing. |
| 19:10 | <stmartin:#uml> | nm |
| 19:10 | <fo0bar:#uml> | weird, nagafix is gone? |
| 19:16 | <caker:#uml> | "Welcome to the OPS web site" ?! |
| 19:17 | <caker:#uml> | http://jailtime.org/ <-- a good resource for canned filesystems, although they assume Xen, but easily fixable (fstab, inittab/event.d) |
| 19:18 | <stmartin:#uml> | Be nice to have a JeOS version. |
| 19:19 | <caker:#uml> | this is also interesting: http://www.instalinux.com/ |
| 19:20 | <stmartin:#uml> | Thanks... I think I'll go and build my own using debootstrap etc. |
| 19:20 | <stmartin:#uml> | http://kuparinen.org/martti/comp/ubuntu/en/uml.html |
| 20:07 | -!- | jdike [~jdike@pool-96-237-60-64.bstnma.fios.verizon.net] has quit [Quit: Leaving] |
| 20:17 | -!- | duraperidol [~nohost@205.207.102.195] has joined #uml |
| 22:21 | -!- | joeblob_ [fook@j00.g0t.haxored.net] has joined #uml |
| 22:23 | -!- | joeblob [fook@j00.g0t.haxored.net] has quit [Ping timeout: 480 seconds] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has joined #uml |
| --- | Log | closed Wed Dec 10 00:00:14 2008 |