| --- | Log | opened Tue Jul 08 00:00:10 2008 |
| 00:18 | -!- | ram [~ram@pool-71-245-96-80.nycmny.fios.verizon.net] has joined #uml |
| 01:48 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 01:59 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 03:24 | -!- | low [~low@LSt-Amand-152-31-5-221.w82-127.abo.wanadoo.fr] has joined #uml |
| 04:28 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 04:40 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 05:45 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 05:55 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 08:14 | -!- | jdike [~jdike@pool-72-70-38-200.bstnma.fios.verizon.net] has joined #uml |
| 08:14 | <jdike:#uml> | Hi guys |
| 08:19 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 08:31 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 08:48 | -!- | dang [~dang@75.38.192.168] has quit [Quit: Leaving.] |
| 09:07 | -!- | dang [~dang@aa-redwall.ghs.com] has joined #uml |
| 09:31 | -!- | MarcWeber [~marc@pD9E08EAE.dip.t-dialin.net] has joined #uml |
| 09:32 | <MarcWeber:#uml> | When specifying ubda=<file> must file be a partition only ord does it have to be a disk (thus including partition tables etc) ? |
| 09:37 | <jdike:#uml> | can be either |
| 09:38 | <jdike:#uml> | err, well, by partition only, I mean a filesystem image without a partition table |
| 09:39 | <MarcWeber:#uml> | Hi jdike. Which is the way to tell linux that it should use /boot/initrd-nixos for booting ? |
| 09:39 | <MarcWeber:#uml> | The file is on the one partition disk image. |
| 09:39 | <jdike:#uml> | if you want to run from an initrd, that needs to be a separate file on the host |
| 09:39 | <jdike:#uml> | and add initrd=filename to the command line |
| 09:40 | <MarcWeber:#uml> | Ah thanks. I'll copy it and try again |
| 09:41 | <MarcWeber:#uml> | ubda: unknown partition table |
| 09:41 | <MarcWeber:#uml> | ReiserFS: ubda: found reiserfs format "3.6" with standard journal |
| 09:41 | <MarcWeber:#uml> | So I guess the filesystem is found which is ok |
| 09:42 | <jdike:#uml> | yup |
| 09:42 | <MarcWeber:#uml> | Is the initrd image loaded before or after those lines? |
| 09:42 | <jdike:#uml> | should be before |
| 09:46 | <MarcWeber:#uml> | http://rafb.net/p/h7zGrS29.html The first line shows that nixos-initrd is an initrd image. I can unzip and cpio -i < it to see it's contents. It contains /init |
| 09:47 | <MarcWeber:#uml> | Is there way to see wether initrd has been succssfully unpacked and init started looking at this log? |
| 09:51 | <jdike:#uml> | Do you have CONFIG_BLK_DEV_INITRD? |
| 09:51 | * | jdike:#uml guesses not |
| 09:51 | <MarcWeber:#uml> | How to get to know? |
| 09:51 | <MarcWeber:#uml> | bash env? |
| 09:52 | <jdike:#uml> | linux --showconfig | grep INITRD |
| 09:52 | <MarcWeber:#uml> | is not set |
| 09:52 | <MarcWeber:#uml> | Do I have to recompile linux with this setting enabled? |
| 09:53 | <jdike:#uml> | yup |
| 09:53 | <MarcWeber:#uml> | Thanks a lot! |
| 09:53 | <jdike:#uml> | np |
| 10:21 | <MarcWeber:#uml> | :-) initial ram disk is loaded now |
| 10:32 | <jdike:#uml> | cool |
| 10:45 | -!- | nikkne [~nikkne@nslpc5.epfl.ch] has joined #uml |
| 11:04 | -!- | nikkne [~nikkne@nslpc5.epfl.ch] has quit [Quit: nikkne] |
| 11:05 | -!- | ram [~ram@pool-71-245-96-80.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds] |
| 11:21 | -!- | ram [~ram@bi01p1.co.us.ibm.com] has joined #uml |
| 11:49 | -!- | aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has joined #uml |
| 11:58 | -!- | low [~low@LSt-Amand-152-31-5-221.w82-127.abo.wanadoo.fr] has quit [Quit: Leaving] |
| 12:05 | -!- | Basic [~Basic@c-75-73-131-27.hsd1.mn.comcast.net] has quit [Quit: Linghu - Level 70 Hunter - Executus US] |
| 13:20 | -!- | aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has quit [Quit: aroscha] |
| 13:21 | -!- | aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has joined #uml |
| 14:59 | -!- | hfb [~hfb@pool-71-118-254-245.lsanca.dsl-w.verizon.net] has joined #uml |
| 15:28 | <MarcWeber:#uml> | What happens if I don't specify initrd? |
| 15:29 | <jdike:#uml> | it boots from ubda |
| 15:29 | <jdike:#uml> | unless you said root=something-else |
| 15:29 | <MarcWeber:#uml> | jdike: :) This does mean running /sbin/init if it exists? |
| 15:30 | <jdike:#uml> | yes |
| 15:30 | <jdike:#uml> | and a few other possibilities, but /sbin/init is preferred |
| 15:30 | <MarcWeber:#uml> | And if it doesn't I'll get |
| 15:30 | <MarcWeber:#uml> | Warning: unable to open an initial console. |
| 15:30 | <MarcWeber:#uml> | Kernel panic - not syncing: Attempted to kill init! |
| 15:30 | <jdike:#uml> | yup |
| 15:30 | <jdike:#uml> | whoops |
| 15:30 | <jdike:#uml> | no |
| 15:31 | <MarcWeber:#uml> | May the init=<file> be a symlink? |
| 15:31 | <jdike:#uml> | the warning is from no /dev/console |
| 15:31 | <jdike:#uml> | yes |
| 15:31 | <jdike:#uml> | just there better be something at the other end of the link |
| 15:31 | <jdike:#uml> | can you rafb the boot log? |
| 15:32 | <jdike:#uml> | init execed OK, so it is a valid binary |
| 15:32 | <jdike:#uml> | it just exited, which it's not supposed to do |
| 15:32 | <MarcWeber:#uml> | sure |
| 15:35 | <MarcWeber:#uml> | http://rafb.net/p/sUYnpN93.html |
| 15:35 | <MarcWeber:#uml> | The same happens when using ubda instead of ubd0 (that was a typo) |
| 15:35 | <jdike:#uml> | not a lot of info there |
| 15:36 | <jdike:#uml> | what's init? |
| 15:36 | <jdike:#uml> | I'd fix the console thing in case that's the problem |
| 15:37 | <MarcWeber:#uml> | You mean /boot/nixos-init? |
| 15:37 | <MarcWeber:#uml> | marc@nixos: /pr/nix_uml ]$ cat mnt/boot/nixos-init |
| 15:37 | <MarcWeber:#uml> | #! /nix/store/vdzbaimmqgnzbv41jlz04h0pfwxi9vc6-bash-3.2-p39/bin/sh |
| 15:37 | <MarcWeber:#uml> | Then path is set etc .. |
| 15:38 | <MarcWeber:#uml> | But before all there are three echo lines.. I can't see the output. |
| 15:38 | <jdike:#uml> | probably because of no console |
| 15:38 | <MarcWeber:#uml> | So I can attach a console to debug it? |
| 15:38 | <MarcWeber:#uml> | Using the initrd I get the echo output.. |
| 15:39 | <MarcWeber:#uml> | So there is a difference? |
| 15:39 | <jdike:#uml> | the initrd has a /dev/console, ubda doesn't |
| 15:40 | <MarcWeber:#uml> | Then I'll fix that |
| 15:43 | <MarcWeber:#uml> | running mknod -m 622 /dev/console |
| 15:43 | <MarcWeber:#uml> | in init seems to be too late |
| 15:44 | <jdike:#uml> | man mknod |
| 15:45 | <MarcWeber:#uml> | sry copy & paste mistake (/me hides) |
| 15:49 | <MarcWeber:#uml> | and running mknod before setting PATH was a bad idea as well |
| 15:50 | <jdike:#uml> | just create the thing now, while you have it mounted on the host |
| 15:50 | <jdike:#uml> | that'll shut up the kernel too |
| 15:51 | <MarcWeber:#uml> | Thanks again. |
| 16:09 | -!- | Netsplit osmotic.oftc.net <-> cation.oftc.net quits: aroscha, desaster, peterz, SNy, Hunger |
| 16:09 | -!- | Netsplit over, joins: Hunger, aroscha, SNy, peterz, desaster |
| 16:10 | -!- | MarcWeber [~marc@pD9E08EAE.dip.t-dialin.net] has quit [Ping timeout: 480 seconds] |
| 17:04 | -!- | Basic [~Basic@warden.real-time.com] has joined #uml |
| 18:01 | -!- | dang [~dang@aa-redwall.ghs.com] has quit [Quit: Leaving.] |
| 18:19 | -!- | Napalm [~Napalm@87-194-96-105.bethere.co.uk] has joined #uml |
| 18:20 | -!- | Napalm [~Napalm@87-194-96-105.bethere.co.uk] has quit [] |
| 18:43 | -!- | hfb [~hfb@pool-71-118-254-245.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving] |
| 19:17 | -!- | Basic [~Basic@warden.real-time.com] has quit [Quit: Linghu - Level 70 Hunter - Executus US] |
| 19:24 | -!- | Basic [~Basic@c-75-73-131-27.hsd1.mn.comcast.net] has joined #uml |
| 19:25 | -!- | aroscha [~aroscha@chello213047053193.30.11.tuwien.teleweb.at] has quit [Quit: aroscha] |
| 19:34 | -!- | jdike [~jdike@pool-72-70-38-200.bstnma.fios.verizon.net] has quit [Quit: Leaving] |
| 19:56 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 20:05 | -!- | Acolyte [~Acolyte@adsl-70-224-46-234.dsl.sbndin.ameritech.net] has joined #uml |
| 20:06 | -!- | Acolyte [~Acolyte@adsl-70-224-46-234.dsl.sbndin.ameritech.net] has left #uml [Leaving] |
| 20:20 | -!- | ram [~ram@bi01p1.co.us.ibm.com] has quit [Ping timeout: 480 seconds] |
| 20:43 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 20:54 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 21:00 | -!- | ram [~ram@pool-71-245-96-80.nycmny.fios.verizon.net] has joined #uml |
| 22:03 | -!- | dang [~dang@75.38.192.168] has quit [Ping timeout: 480 seconds] |
| 22:14 | -!- | dang [~dang@75.38.192.168] has joined #uml |
| 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 Jul 09 00:00:50 2008 |