-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Prashant Batra writes: > On Mon, Oct 10, 2011 at 2:18 PM, Ashish SHUKLA <[email protected]> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> Prashant Batra writes: >>> On Mon, Oct 10, 2011 at 1:17 PM, Ashish SHUKLA <[email protected]> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA512 >>>> >>>> Prashant Batra writes: >>>>> Hello, >>>> >>>>> I am trying to build linux kernel 3.0-rc4 for a x86 server. >>>>> I am using the default config for x86, and the compilation goes fine. >>>> >>>>> But when I try to boot this kernel, it simply hangs at "Booting >>>>> kernel" prompt after uncompressing the image. >>>>> I suspected that some drivers may not have been included, so did "make >>>>> allyesconfig", to include everything in the kernel itself. >>>>> But same thing happened. >>>> >>>> What's your kernel command-line ? >>> root (hd0,0) >>> kernel /boot/boot/vmlinuz-3.0-rc4-all_yes root=/dev/sda1 ro >>> Same cmdline is working for other kernels. >> >>>> And is your kernel gets stuck in graphics >>>> mode, or text mode ? And what happens with your keyboard LEDs (assuming >>>> you've >>>> one of those keyboards which come with Caps/Num/Scroll Lock LEDs) when this >>>> happens ? Which distribution are you using ? >>>> >>> I am using text mode, no response from keyboard when it hangs. >>> The distribution is Debian 4.1 >> >> AFAIK, there is no Debian 4.1, you're probably running Debian Etch 4.0.1 or >> similar. >> >>>> My guess is something with kernel-mode-setting is fscked. >>>> >>> I am not sure whether I understood completely, but >>> kernel mode will be normal only, until I specifically give um. >> >> No, kernel-mode-setting here refers to enabling graphics mode from >> kernel[1]. The problem here _seems_ to be that kernel you're trying to run >> supports kernel-mode-setting, and has probably that enabled by default, but >> userland (Debian Etch) isn't expecting kernel-mode-setting, as >> kernel-mode-setting functionality only got introduced after Debian Lenny, >> i.e. 2.6.28 and later. So, try booting with "nomodeset" kernel command-line >> option, not sure if that will work. >> > Thanks, but this also doesn't work. > Can I suspect some issues with the tools used to build the kernel?
Sorry I forgot to mention that parameter is specific to ATI/Intel hardware. There is a page[1] on Debian Wiki related to this. Although Debian keeps that disabled but since you're running Vanilla, it's probably enabled. Also just curious why are you running custom kernel? And if you've to run it on Debian hardware, may be compile it with minimum options i.e. based on the 2.6.18 .config you're running. You will encounter that couple of options aren't present in 3.0, but you've something good to base upon. And since, you're running Debian, build/install your kernel the Debian way[3], which will also build an initrd for you as well. I'm not sure but I think you'll probably need one to boot Debian's init. IMHO, being able to package custom kernel using built-in tools is one of the cool things about Debian. References: [1] http://wiki.debian.org/KernelModesetting [2] http://packages.debian.org/sid/linux-image-686 (look in the right sidebar) [3] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-kernel-org-package HTH - -- Ashish SHUKLA “It is dangerous to be right when the government is wrong.” (Voltaire) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBCgAGBQJOkrtNAAoJEMdGz6nnT6Swsp8P/1+EwJoIu14nPNp2qGnvrAX4 Lo5mNVrzMuuZKzOQn8/zaS1/qEB2Ij31BWkBNx4qS80f1mEy6t9faUoc2wkG+rUs KMOt7JBcg6M3TSSqXaV1+NFyo/2svptbmfNNVzxrUxerz3PZuByyNshTA1RYby5+ wEVYRfcPzbXZYlWoxMSqTQdOSKh69rINmOdEACtszVjxwNT5GTN9/STpMgLJksT2 cIfLUMU2xGfpXK8HBncfuH6mvdbbm+j1yO5l8YpLQ4EJadTd6GjrucUTtfSsEqbv hzwQxN/0Ttm/VDQOj26fuFfB1GUwxfEcYUKrzermszzYXwcHaoW6r5VPtoo6hvyg 4Xb9Zgek4WtFpIr6vf23cj/mTf6ybLFQWMmBCGEOdpUj3ml7szy4ej0ktbYUg2Po 9Oi2A63dZrcJIt/o1p+BLZjqp7GDCGBlpwmZY6Xxlr3RHX/+Yr1rAFDhU6QaV7pD FlAGXxd2dSvraqEvBwtaxNFtJjnv1Gk3fT10tnfKClTWukvRDYRjQRrCwkIyP7/F xPomb3fOokM376Ldr/bcSf1d1IlbhIyorCVXmtam1FJy5pp5qCIYGezv0LXyeVeh O74AhbWPCCPA8xcOjrNiebcXveDmfqWUMepfsbTfUNKdnD1hHJts23cTPu+3YPOt Kte+JJ9FD5/crKVlD9uN =IdI3 -----END PGP SIGNATURE----- _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
