[SLE] Kernel Compile Script (repost)
After a fresh install of 6.3 the script "susewmif kernel en" that I used in 6.2 no longer works. This script enabled me to compile a kernel while logged in as a user. (root password required). It also gave me the luxury of not having to manually enter the "make dep clean bzImage..." command after doing a make xconfig. Using the script as a normal user would put me into what I got as root doing "make xconfig". Then after changing the configuration file and saving it, it would then put me into another GUI to let me do what ever make I required. Then after the compiles were all finished it would put me in a mode where I could search the output of all the compiles for errors or whatever. Very nice script. On 6.2 it was even provided in KDE. SuSE/System tools/Compile kernel. Well needless to say neither myself nor anyone else I know that has gone to 6.3 can get this to work. What follows is the output from the command "susewmif kernel en". First from my 6.2 box at work then my 6.3 box at home. Any help from anyone would be greatly appreciated. Thanks in advance and sorry it's so long. This is SuSE 6.2 output of the command "susewmif kernel en" &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Please enter now the password for root. Password: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.2.10.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/scripts' wish -f scripts/kconfig.tk
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& This is the output from 6.3 and command "susewmif kernel en" &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Please enter now the password for root. Password: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/srcide/linux-2.2.13.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk rm /usr/src/linux/config.in.tmp echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/srcide/linux-2.2.13.SuSE/scripts' wish -f scripts/kconfig.tk Application initialization failed: couldn't connect to display "harley:" Error in startup script: invalid command name "button" while executing "button .ref" (file "scripts/kconfig.tk" line 55) make: *** [xconfig] Error 1
Please press Return > Mark Hounschell dmarkh@cfl.rr.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Mark Hounschell wrote:
After a fresh install of 6.3 the script "susewmif kernel en" that I used in 6.2 no longer works. This script enabled me to compile a kernel while logged in as a user. (root password required). It also gave me the luxury of not having to manually enter the "make dep clean bzImage..." command after doing a make xconfig. Using the script as a normal user would put me into what I got as root doing "make xconfig". Then after changing the configuration file and saving it, it would then put me into another GUI to let me do what ever make I required. Then after the compiles were all finished it would put me in a mode where I could search the output of all the compiles for errors or whatever. Very nice script. On 6.2 it was even provided in KDE. SuSE/System tools/Compile kernel. Well needless to say neither myself nor anyone else I know that has gone to 6.3 can get this to work. What follows is the output from the command "susewmif kernel en". First from my 6.2 box at work then my 6.3 box at home. Any help from anyone would be greatly appreciated. Thanks in advance and sorry it's so long.
This is SuSE 6.2 output of the command "susewmif kernel en"
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Please enter now the password for root. Password:
rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.2.10.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/scripts' wish -f scripts/kconfig.tk
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
This is the output from 6.3 and command "susewmif kernel en"
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Please enter now the password for root. Password: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/srcide/linux-2.2.13.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk rm /usr/src/linux/config.in.tmp echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/srcide/linux-2.2.13.SuSE/scripts' wish -f scripts/kconfig.tk Application initialization failed: couldn't connect to display "harley:" Error in startup script: invalid command name "button" while executing "button .ref" (file "scripts/kconfig.tk" line 55) make: *** [xconfig] Error 1
Please press Return >
I got no response from this inquiry but I at least Know now that the problem lies in the sh_utils package. I'm running 6.3 but if I take the sh_utils package from my 6.2 CD's, this problem goes away. The updated version from the SuSe update site is no help here. The package sh_utils holds 20-30 seperate programs. I'm not sure which one is the culprit. I bet SuSE knows which one it is. Any one out there got any ideas. I of coarse won't run my system with the older sh_utils package as I'm sure it would bite me somewhere. I guess I could take one pgm at a time and find out which one it is. I'm just hoping someone (SUSE???) out there might have an idea.. Thanks.. Mark -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Mark Hounschell wrote:
Mark Hounschell wrote:
After a fresh install of 6.3 the script "susewmif kernel en" that I used in 6.2 no longer works. This script enabled me to compile a kernel while logged in as a user. (root password required). It also gave me the luxury of not having to manually enter the "make dep clean bzImage..." command after doing a make xconfig. Using the script as a normal user would put me into what I got as root doing "make xconfig". Then after changing the configuration file and saving it, it would then put me into another GUI to let me do what ever make I required. Then after the compiles were all finished it would put me in a mode where I could search the output of all the compiles for errors or whatever. Very nice script. On 6.2 it was even provided in KDE. SuSE/System tools/Compile kernel. Well needless to say neither myself nor anyone else I know that has gone to 6.3 can get this to work. What follows is the output from the command "susewmif kernel en". First from my 6.2 box at work then my 6.3 box at home. Any help from anyone would be greatly appreciated. Thanks in advance and sorry it's so long.
This is SuSE 6.2 output of the command "susewmif kernel en"
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Please enter now the password for root. Password:
rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.2.10.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/src/linux-2.2.10.SuSE/scripts' wish -f scripts/kconfig.tk
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
This is the output from 6.3 and command "susewmif kernel en"
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Please enter now the password for root. Password: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) if [ ! -s Documentation/lang/en/Configure.help ]; then \ cp Documentation/lang/configlang.help.en Documentation/lang/en/Configure.help;\ cat Documentation/Configure.help
Documentation/lang/en/Configure.help;\ fi make -C scripts kconfig.tk make[1]: Entering directory `/usr/srcide/linux-2.2.13.SuSE/scripts' cat header.tk >> ./kconfig.tk cd ..;source scripts/set_helpfile.sh ; cd -; \ rm -f /usr/src/linux/config.in.tmp; \ ./cfconv ../$helpfile < ../arch/i386/config.in /usr/src/linux/config.in .tmp ./tkparse < /usr/src/linux/config.in.tmp >> kconfig.tk rm /usr/src/linux/config.in.tmp echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk echo "set ARCH \"i386\"" >> kconfig.tk cat tail.tk >> kconfig.tk chmod 755 kconfig.tk make[1]: Leaving directory `/usr/srcide/linux-2.2.13.SuSE/scripts' wish -f scripts/kconfig.tk Application initialization failed: couldn't connect to display "harley:" Error in startup script: invalid command name "button" while executing "button .ref" (file "scripts/kconfig.tk" line 55) make: *** [xconfig] Error 1
Please press Return >
I got no response from this inquiry but I at least Know now that the problem lies in the sh_utils package. I'm running 6.3 but if I take the sh_utils package from my 6.2 CD's, this problem goes away. The updated version from the SuSe update site is no help here. The package sh_utils holds 20-30 seperate programs. I'm not sure which one is the culprit. I bet SuSE knows which one it is. Any one out there got any ideas. I of coarse won't run my system with the older sh_utils package as I'm sure it would bite me somewhere. I guess I could take one pgm at a time and find out which one it is. I'm just hoping someone (SUSE???) out there might have an idea.. Thanks..
Mark
I have found the problem the command "susewmif kernel en" It's because of changes to the "who" command. The 2.0 vers of the sh-utils "who" command no longer ouputs the terminal or console name associated with it. The output of the who command in 6.2 (sh_utils_1.6) is markh :0 Apr 4 05:56 (console) The output of the who command in 6.3 (sh_utils_2.0) is markh :0 Apr 4 05:56 hence causing the "/usr/X11R6/lib/X11/susewm/startcmd/complilekernel script to fail. To fix it change the who command in the above script to "who -l" which will give the output as did the 6.2 (sh_utils_1.6) version. Mark -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
dmarkh@cfl.rr.com