From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7a83e3ab7415d890,start X-Google-Attributes: gid111c93,public From: sci40117@leonis.nus.edu.sg (This gray spirit) Subject: Kernel Configuration and Compilation Date: 1998/11/12 Message-ID: <72djeq$89r$1@nuscc.nus.edu.sg>#1/1 X-Deja-AN: 411085293 Organization: the ringing plains of windy Troy Reply-To: chongss@post1.com Newsgroups: comp.os.linux.alpha Hello, I am running RedHat 5.1 on a "Ruffian" (21164A/UX Alpha). This is a report of my attempts to fix the broken configuration scripts for kernel compilation: 1. The kernel-2.0.35 compiles properly without any warnings. But it does not work. On bootup, the machine simply freezes after milo uncompresses the kernel and reports: "Now jumping to kernel ..." 2. Looking around, I saw several posts here claiming that make xconfig/menuconfig to be broken. So I reconfigured the kernel using make config using precisely the same options (A horrible, error-prone process). The resulting kernel runs! 3. To see what the difference was, "diff" was ran on the .config files produced in the configuration. There was only one "real" difference: CONFIG_VGA_CONSOLE=y was set in the config file for make config. In make xconfig, this define was not set. 4. This bug is related to the one where the VGA option cannot be turned on in xconfig. Looking at the tk scripts, it is not obvious what exactly is wrong with it. I have no experience with Tk/Tcl. Can someone with the relevant expertise check up on that, please? 5. Conclusion: You _can_ configure the kernel using xconfig. But the resulting .config file must be tweaked to add line CONFIG_VGA_CONSOLE=y _before_ we "make dep". I have recompiled the kernel with the method and it looks like it works. 6. As for why the tk widget for the VGA option is broken, that is still a mystery. I hope those who read this can incorporate this into the FAQs, and hopefully, fix this. Happy linuxing, css.