On Sunday 26 March 2006 20:07, Daniel Tombeil wrote:
> I built a 2.6.16 from vanilla kernel.org sources and tried to migrate
> my umls (Debian Sarge) to the new guest-kernel. But I can't get it
> running. It always freezez while accessing the root filesystem. I
> checked the root filesystem-image with fsck. Everything is ok. I also
> can boot the filesystem with the previous used 2.6.9 guest kernel. The
> host is a debian-sarge with a 2.6.8-2-686-smp with the debian skas
> patch (kernel-patch-skas). I checked all the devices in /dev of the
> uml-image. Everything looks ok.
> It just won't get beyond this point:
I'd compare the two kernel configurations - that's far more likely to have
caused problems than the version upgrade itself.
Also, if possible, I'd check if it's hanging really. What you show is often
caused by the output starting to go elsewhere, and the xterm's failing to
appear because they were disabled in the kernel configuration; or, in this
case, I'd check /etc/inittab because you maybe switched from a devfs to a
non-devfs kernel, and it's still using vc/0 instead of tty0, and so on.
However, do these checks to see if it's hanged:
1) is it using a lot of CPU time in top output? In that case it's a real hang
maybe due to spinlocks (if you have spinlock debugging enabled, disable it).
2) can you get "uml_mconsole <umid> help" to work? Note that in
> Kernel command line: ubd0s=root_fs ubd1s=swapfile ubd2s=build_fs
> eth0=daemon,,,/var/run/uml-utilities/uml_switch.ctl mem=64M
> devfs=nomount umlid=uml1 root=98:0
you have umlid=uml1, which is a _typo_ for umid=uml1. So fix that and try
(with the uml "hanged"):
uml_mconsole uml1 help
it will hang for a response or answer; if it answers, on "uml_mconsole uml1"
prompt you can test stuff with "sysrq".
3) test if you can ssh to it.
> Any hints what I do wrong?
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB