Daniel Clark | 12 Mar 2007 04:57
Picon

Random newbie questions

(1) FAQ item 3.1 says to "Modify /etc/inittab to do a reboot on
ctrl+alt+del", but the default template seems to do a shutdown on "mln
stop -p", specifically:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
Does it matter for the functioning of the software which one happens?

(2) The message "FATAL: Could not load
/lib/modules/2.6.12-rc2-mm3/modules.dep: No such file or directory"
pops up for all of the templates on UML boot; I assume this is okay to
ignore?

(3) Possible FAQ entry:
Q: What's the deal with the "LD_ASSUME_KERNEL=2.4.1" kernel command
line on a 2.6.x kernel?
A: http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO-13.html#ss13.15

It would be interesting to know why this option was chosen for MLN vs.
the other options presented in that HOWTO entry.

(4) Are any of the default templates set up to be used as Xen images?
Specifically, is "examples/simple-network-xen.mln" expected to work?

I mounted the referenced filesystem and didn't see a kernel or any
modules, so I'm guessing not, but I'm not experienced with Xen, so I
could be missing something basic.

I have Xen set up on my machine, but when I build and then try to
start that project, xterms appear, some text scrolls by too quickly to
read, and then they close again, which leads to:

(Continue reading)

Kyrre M Begnum | 12 Mar 2007 09:56
Picon
Favicon

Re: Random newbie questions


Hi, Daniel

> (1) FAQ item 3.1 says to "Modify /etc/inittab to do a reboot on
> ctrl+alt+del", but the default template seems to do a shutdown on "mln
> stop -p", specifically:
> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
> Does it matter for the functioning of the software which one happens?

I think that must be an error in the documentation. The goal is to  
shut down the VM at ctrl+alt+del signal.

> (2) The message "FATAL: Could not load
> /lib/modules/2.6.12-rc2-mm3/modules.dep: No such file or directory"
> pops up for all of the templates on UML boot; I assume this is okay to
> ignore?

It can be ignored, or you can also run "depmod -a" inside the VM and  
that should make it go away.

> (3) Possible FAQ entry:
> Q: What's the deal with the "LD_ASSUME_KERNEL=2.4.1" kernel command
> line on a 2.6.x kernel?
> A: http://user-mode-linux.sourceforge.net/UserModeLinux- 
> HOWTO-13.html#ss13.15
>
> It would be interesting to know why this option was chosen for MLN vs.
> the other options presented in that HOWTO entry.

I think I added that option because we had problems getting older  
(Continue reading)

Daniel Clark | 16 Apr 2007 02:09
Picon
Favicon
Gravatar

Re: Random newbie questions

>> (4) Are any of the default templates set up to be used as Xen images?
>> Specifically, is "examples/simple-network-xen.mln" expected to work?
>>
>> I mounted the referenced filesystem and didn't see a kernel or any
>> modules, so I'm guessing not, but I'm not experienced with Xen, so I
>> could be missing something basic.
> 
> Yes, the templates which are supplied from the MLN site should work  
> with either UML or Xen. None of the respective UML or Xen kernels  
> will ever be placed inside the filesystem (only the modules). The  
> main changes from UML to Xen is (1) inittab has to be modified and  
> (2) fstab must use hda1 instead of ubd0. MLN does this on the  
> filesystems automatically.

At some point I was missing the step of setting up /etc/mln/mln.conf to 
point to my local xen kernel and initrd.

I was looking at the quick start; the edgy xen install example at
http://mln.sourceforge.net/index.php?page=edgy_install
got me up and running with xen.

>> I have Xen set up on my machine, but when I build and then try to
>> start that project, xterms appear, some text scrolls by too quickly to
>> read, and then they close again, which leads to:
>>
>> (5) How does one debug Xen booting issues where the terminal dies too
>> quickly to see the output?
> 
> Ah, yes, that can be annoying. What I usually do is to go into the  
> project directory of the given project i have problems with. There,  
(Continue reading)


Gmane