Re: [gentoo-user] Syntax to upgrade kernel
Hi Hall, Thanks for your advice. At 12:07 PM 11/18/2003, you wrote: # make clean dep # make bzImage modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8 I suppose arch/i386/boot/bzImage will be created after make modules_install No, make bzImage actually creates that file. The instructions have seemingly always been written this way and they've stuck. It's not really important either way. Noted with thanks # cd /lib/modules # touch 2.4.20-gentoo-r7/video/nvidia.o (should be enough to protect r7's nvidia modules, but it would be better to # emerge nvidia-kernel What is nvidia-kernel? 3. optional: if you use nvidia-kernel Do you use an nVidia video card ?? If not, disregard that step. If you do, here's a very brief description: http://packages.gentoo.org/ebuilds/?nvidia-kernel-1.0.4496-r4. You may also want nvidia-glx too. Read about it here, http://packages.gentoo.org/ebuilds/?nvidia-glx-1.0.4496-r1. They simply provide optimized performance of your video card under X-Windows. I am running Maxi Gamer Phoenix card (featuring Voodoo Banshee, 2D/3D Graphics Card, 16MB memory). I am not quite sure whether it is a nVidia video card. How to check it? Thanks in advance. B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
Hi mathieu, Thanks for your advice. - snip - 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux Is it .config a hidden file under linux-2.4.20-gentoo-r7/ yes. it's created by make menuconfig (or config / oldconfig / config). I've never understood why it's hidden, I would have called it kernel.config. There is also a live version that you can find in /proc/config but maybe you've got to compile something in kernel (or it's only for 2.6, I don't remember) Noted with thanks 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver I have not installed alsa-driver yet. Gentoo 1.4 is without sound. At time of installing Gentoo1.4 I installed emerge emu10k1 because the box has a Creative Sound Blaster Live sound card. The installation was interrupted unexpectedly. I posted for assistance on this List and I was advised that I should install alsa-driver. Therefore I just left it there incomplete. Now at boot the OS can't detect the sound module I tried to find the bootlog to show it here but could not find it under /var/log/ follow the gentoo doc to install alsa-driver, it's easy and clear, as ever ;-) OK I will search this doc. 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Sorry, I'm a lilo-user. When I try to install grub, I get stuck in the post-bios-boot-thingy (before bootloader gets loaded) with a blinking cursor at bottom of screen. but, I would do the following. title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 or in vi /Gentoo4yy3jpf(Cgentoo-r9esc2j^Aj^A:wq ;-) Sorry, I am not very clear. It seems having only one kernel there, the new kernel. How can I select the old kernel if something going wrong. I expect clarifying it before start. Any folk on the List can shed me some light. Thanks in advance. B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
On Wednesday 19 November 2003 17:54, Stephen Liu wrote: I am running Maxi Gamer Phoenix card (featuring Voodoo Banshee, 2D/3D Graphics Card, 16MB memory). I am not quite sure whether it is a nVidia video card. How to check it? Google for Voodoo Banshee. To save you the time, Voodoo Banshee is a chip produced by the long-gone 3DFX. Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel - graphic card
Hi Jason, Sorry I made a mistake. The graphic card running on Gentoo box is Creative Graphic Blaster rivaTNT. I meshed it with another graphic card running on a RH9 box used for testing SSH. How to check it whether it runs nVidia driver? B.R. Stephen On Wednesday 19 November 2003 17:54, Stephen Liu wrote: I am running Maxi Gamer Phoenix card (featuring Voodoo Banshee, 2D/3D Graphics Card, 16MB memory). I am not quite sure whether it is a nVidia video card. How to check it? Google for Voodoo Banshee. To save you the time, Voodoo Banshee is a chip produced by the long-gone 3DFX. Jason -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel - graphic card
Hi Jason, Thanks for your assistance. I have made google search with Create Graphic Blaster rivaTNT Create Graphic Blaster rivaTNT driver Create Graphic Blaster rivaTNT chipset and could not find the answer. What will be the key point making such a search. Thanks B.R. Stephen On Wednesday 19 November 2003 18:56, Stephen Liu wrote: The graphic card running on Gentoo box is Creative Graphic Blaster rivaTNT. I meshed it with another graphic card running on a RH9 box used for testing SSH. How to check it whether it runs nVidia driver? Same way. Google for Create Graphic Blaster rivaTNT. I'll save you time again. It is a Nvidia chipset and yes the nvidia x11 driver does support it. Jason -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel - graphic card
On Wednesday 19 November 2003 20:17, Stephen Liu wrote: I have made google search with Create Graphic Blaster rivaTNT Create Graphic Blaster rivaTNT driver Create Graphic Blaster rivaTNT chipset and could not find the answer. What will be the key point making such a search. I just did a search on creative graphic blaster rivatnt The first result TOP OFFICE Srl - Prodotti CREATIVE - Graphic Blaster Riva TNT contained Delivers world-class 2D and 3D acceleration using nVidia's new RivaTNT processor near the top of the page. The second result User Reviews - Creative Labs Graphics Blaster Riva TNT contained I hated the b.s. that came with the creative drivers, so as soon as nvidia released an update, I switched to their drivers and now everything is great. half-way down the page. The third result NASCAR Revolution contained NVIDIA® TNT and Riva 128TM half-way down the page. Even the first result returned by your search of Create Graphic Blaster rivaTNT was X-bit labs - Articles - Creative 3D Blaster Riva TNT2 M64 Review - a page almost identical to the first result above. Should I continue? On Wednesday 19 November 2003 18:56, Stephen Liu wrote: The graphic card running on Gentoo box is Creative Graphic Blaster rivaTNT. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Sorry, I'm a lilo-user. When I try to install grub, I get stuck in the post-bios-boot-thingy (before bootloader gets loaded) with a blinking cursor at bottom of screen. but, I would do the following. title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 or in vi /Gentoo4yy3jpf(Cgentoo-r9esc2j^Aj^A:wq ;-) Sorry, I am not very clear. It seems having only one kernel there, the new kernel. How can I select the old kernel if something going wrong. I expect clarifying it before start. Any folk on the List can shed me some light. _append_ the lines at the end of grub.conf, like this: default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 title=Gentoo Linux, my own new kernel gentoo-r8 root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel - graphic card
Hi Jason, I re-checked it. Oh I see.They are case sensitive Thanks B.R. Stephen On Wednesday 19 November 2003 20:17, Stephen Liu wrote: I have made google search with Create Graphic Blaster rivaTNT Create Graphic Blaster rivaTNT driver Create Graphic Blaster rivaTNT chipset and could not find the answer. What will be the key point making such a search. I just did a search on creative graphic blaster rivatnt The first result TOP OFFICE Srl - Prodotti CREATIVE - Graphic Blaster Riva TNT contained Delivers world-class 2D and 3D acceleration using nVidia's new RivaTNT processor near the top of the page. The second result User Reviews - Creative Labs Graphics Blaster Riva TNT contained I hated the b.s. that came with the creative drivers, so as soon as nvidia released an update, I switched to their drivers and now everything is great. half-way down the page. The third result NASCAR Revolution contained NVIDIA® TNT and Riva 128TM half-way down the page. Even the first result returned by your search of Create Graphic Blaster rivaTNT was X-bit labs - Articles - Creative 3D Blaster Riva TNT2 M64 Review - a page almost identical to the first result above. Should I continue? On Wednesday 19 November 2003 18:56, Stephen Liu wrote: The graphic card running on Gentoo box is Creative Graphic Blaster rivaTNT. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Syntax to upgrade kernel
Hi all folks, I am running kernel (/usr/src/linux/Makefile) VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 EXTRAVERSION = -gentoo-r7 and prepared upgrading it to r8 Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. Thanks in advance. B.R. Stephen Liu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
Emerge the kernel you want, link /usr/src/linux to the new directory and then build it. Move the new bzImage to /boot with a new name of course. Modify grub, boot. On Tue, 18 Nov 2003 20:41:38 +0800 Stephen Liu [EMAIL PROTECTED] wrote: Hi all folks, I am running kernel (/usr/src/linux/Makefile) VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 EXTRAVERSION = -gentoo-r7 and prepared upgrading it to r8 Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. Thanks in advance. B.R. Stephen Liu -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
Le Mardi 18 Novembre 2003 13:41, Stephen Liu a écrit : Hi all folks, I am running kernel (/usr/src/linux/Makefile) VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 20 EXTRAVERSION = -gentoo-r7 and prepared upgrading it to r8 Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux # cd linux # make oldconfig ... answer questions if any ... # make clean dep # make bzImage modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver 3. optional: if you use nvidia-kernel # cd /lib/modules # touch 2.4.20-gentoo-r7/video/nvidia.o (should be enough to protect r7's nvidia modules, but it would be better to # emerge nvidia-kernel 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. hth -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
Hi mathieu, Thanks for your detail advice. I have following points expected to be advised. - snip - Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux Is it .config a hidden file under linux-2.4.20-gentoo-r7/ # cd linux # make oldconfig ... answer questions if any ... # make clean dep # make bzImage modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8 I suppose arch/i386/boot/bzImage will be created after make modules_install 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver I have not installed alsa-driver yet. Gentoo 1.4 is without sound. At time of installing Gentoo1.4 I installed emerge emu10k1 because the box has a Creative Sound Blaster Live sound card. The installation was interrupted unexpectedly. I posted for assistance on this List and I was advised that I should install alsa-driver. Therefore I just left it there incomplete. Now at boot the OS can't detect the sound module I tried to find the bootlog to show it here but could not find it under /var/log/ 3. optional: if you use nvidia-kernel # cd /lib/modules # touch 2.4.20-gentoo-r7/video/nvidia.o (should be enough to protect r7's nvidia modules, but it would be better to # emerge nvidia-kernel What is nvidia-kernel? 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Thanks in advance. B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
At 12:07 PM 11/18/2003, you wrote: # make clean dep # make bzImage modules # make modules_install # cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20-gentoo-r8 I suppose arch/i386/boot/bzImage will be created after make modules_install No, make bzImage actually creates that file. The instructions have seemingly always been written this way and they've stuck. It's not really important either way. 3. optional: if you use nvidia-kernel # cd /lib/modules # touch 2.4.20-gentoo-r7/video/nvidia.o (should be enough to protect r7's nvidia modules, but it would be better to # emerge nvidia-kernel What is nvidia-kernel? Do you use an nVidia video card ?? If not, disregard that step. If you do, here's a very brief description: http://packages.gentoo.org/ebuilds/?nvidia-kernel-1.0.4496-r4. You may also want nvidia-glx too. Read about it here, http://packages.gentoo.org/ebuilds/?nvidia-glx-1.0.4496-r1. They simply provide optimized performance of your video card under X-Windows. Regards Hall -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Syntax to upgrade kernel
On Tuesday 18 November 2003 18:07, Stephen Liu wrote: Hi mathieu, Thanks for your detail advice. I have following points expected to be advised. - snip - Kindly advise what will be the correct command line to upgrade kernel from Gentoo website to retain old kernel. So there will be 2 kernels at boot for selection. I use Grub. 1. emerge the new kernel, configure and build: # emerge gentoo-sources # cd /usr/src # rm -f linux # ln -s linux-2.4.20-gentoo-r8 linux # cp linux-2.4.20-gentoo-r7/.config linux Is it .config a hidden file under linux-2.4.20-gentoo-r7/ yes. it's created by make menuconfig (or config / oldconfig / config). I've never understood why it's hidden, I would have called it kernel.config. There is also a live version that you can find in /proc/config but maybe you've got to compile something in kernel (or it's only for 2.6, I don't remember) 2. optinal: if you use alsa-driver # cd /lib/modules # touch 2.4.20-gentoo-r7/kernel/sound (should be enough to protect r7's alsa modules, but it would be better to backup them) # emerge alsa-driver I have not installed alsa-driver yet. Gentoo 1.4 is without sound. At time of installing Gentoo1.4 I installed emerge emu10k1 because the box has a Creative Sound Blaster Live sound card. The installation was interrupted unexpectedly. I posted for assistance on this List and I was advised that I should install alsa-driver. Therefore I just left it there incomplete. Now at boot the OS can't detect the sound module I tried to find the bootlog to show it here but could not find it under /var/log/ follow the gentoo doc to install alsa-driver, it's easy and clear, as ever ;-) 4. adda menu in grub.conf to handle the new kernel: copy and paste the lines for your other kernel and change whatever is needed. What shall I add to /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r7 Sorry, I'm a lilo-user. When I try to install grub, I get stuck in the post-bios-boot-thingy (before bootloader gets loaded) with a blinking cursor at bottom of screen. but, I would do the following. title=Gentoo Linux (genkernel) root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r8 root=/dev/hde3 hdd=ide-scsi initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r8 or in vi /Gentoo4yy3jpf(Cgentoo-r9esc2j^Aj^A:wq ;-) -- mathieu -- [EMAIL PROTECTED] mailing list