|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I can't seem to configure my kernel. I have ncurses-devel installed, but
when I try to: linux:/usr/src/linux # make menuconfig make: *** No rule to make target `menuconfig'. Stop. Contents of /usr/src: linux:/usr/src # ls -la total 0 drwxr-xr-x 6 root root 192 Mar 14 10:41 . drwxr-xr-x 13 root root 368 Feb 13 21:20 .. drwxr-xr-x 3 root root 80 Mar 14 10:27 debug drwxr-xr-x 15 root users 456 Mar 6 15:08 kernel-modules lrwxrwxrwx 1 root root 22 Mar 14 10:41 linux -> linux-2.6.15-jad2-obj/ drwxr-xr-x 3 root root 72 Mar 14 11:37 linux-2.6.15-jad2-obj drwxr-xr-x 7 root root 168 Feb 6 13:24 packages Am I looking in the wrong place for the kernel sources? |
|
|||
|
Sorry, this should be in the general forum. It is in networking, as I'm
trying to enable mppe supprot in the kernel for VPN connections. |
|
|||
|
chimera-777@hotmail.com adjusted his/her tinfoil beanie to post:
> I can't seem to configure my kernel. I have ncurses-devel installed, > but when I try to: > > linux:/usr/src/linux # make menuconfig > make: *** No rule to make target `menuconfig'. Stop. > > Contents of /usr/src: > > linux:/usr/src # ls -la > total 0 > drwxr-xr-x 6 root root 192 Mar 14 10:41 . > drwxr-xr-x 13 root root 368 Feb 13 21:20 .. > drwxr-xr-x 3 root root 80 Mar 14 10:27 debug > drwxr-xr-x 15 root users 456 Mar 6 15:08 kernel-modules > lrwxrwxrwx 1 root root 22 Mar 14 10:41 linux -> > linux-2.6.15-jad2-obj/ > drwxr-xr-x 3 root root 72 Mar 14 11:37 linux-2.6.15-jad2-obj > drwxr-xr-x 7 root root 168 Feb 6 13:24 packages > > Am I looking in the wrong place for the kernel sources? You have not got the kernel sources installed, you only have the obj dir, the link linux should point to the full source dir. You need to install the correct version of them as well, i see you are using a different version from the release one so I suppose you will have to grab them from kernel.org or wherever you got the 2.6.15 kernel from. HTH -- Mark Twixt hill and high water N. Wales, UK Novell Support Forums SysOp |
|
|||
|
Thx Mark, I'm in!
> chimera-777@hotmail.com adjusted his/her tinfoil beanie to post: > > > I can't seem to configure my kernel. I have ncurses-devel installed, > > but when I try to: > > > > linux:/usr/src/linux # make menuconfig > > make: *** No rule to make target `menuconfig'. Stop. > > > > Contents of /usr/src: > > > > linux:/usr/src # ls -la > > total 0 > > drwxr-xr-x 6 root root 192 Mar 14 10:41 . > > drwxr-xr-x 13 root root 368 Feb 13 21:20 .. > > drwxr-xr-x 3 root root 80 Mar 14 10:27 debug > > drwxr-xr-x 15 root users 456 Mar 6 15:08 kernel-modules > > lrwxrwxrwx 1 root root 22 Mar 14 10:41 linux -> > > linux-2.6.15-jad2-obj/ > > drwxr-xr-x 3 root root 72 Mar 14 11:37 linux-2.6.15-jad2-obj > > drwxr-xr-x 7 root root 168 Feb 6 13:24 packages > > > > Am I looking in the wrong place for the kernel sources? > > You have not got the kernel sources installed, you only have the obj > dir, the link linux should point to the full source dir. > > You need to install the correct version of them as well, i see you are > using a different version from the release one so I suppose you will > have to grab them from kernel.org or wherever you got the 2.6.15 kernel > from. > > HTH > -- > Mark > Twixt hill and high water > N. Wales, UK > Novell Support Forums SysOp > |
|
|||
|
One last question: After I make changes to the kernel, I need to update
some files in the /boot directory, namely bzImage, System.map, and config. How do these files correspond with what's in my /boot: drwxr-xr-x 4 root root 1024 Mar 14 11:48 . drwxr-xr-x 25 root root 592 Mar 14 03:20 .. -rw-r--r-- 1 root root 711060 Jan 12 13:22 System.map-2.6.15-jad2-default -rw------- 1 root root 512 Feb 6 13:25 backup_mbr lrwxrwxrwx 1 root root 1 Feb 6 13:20 boot -> . -rw-r--r-- 1 root root 64346 Jan 12 13:31 config-2.6.15-jad2-default drwxr-xr-x 2 root root 1024 Mar 14 11:48 grub lrwxrwxrwx 1 root root 7 Mar 14 11:48 initrd -> initrd- -rw-r--r-- 1 root root 1726869 Mar 6 15:08 initrd-2.6.15-jad2-default drwx------ 2 root root 12288 Feb 6 13:16 lost+found -rw-r--r-- 1 root root 128000 Feb 6 18:56 message -rw-r--r-- 1 root root 74818 Jan 12 13:31 symvers-2.6.15-jad2-i386-default.gz -rw-r--r-- 1 root root 1570039 Jan 12 13:30 vmlinux-2.6.15-jad2-default.gz lrwxrwxrwx 1 root root 8 Mar 14 11:48 vmlinuz -> vmlinuz- -rw-r--r-- 1 root root 1284290 Jan 12 13:22 vmlinuz-2.6.15-jad2-default |
|
|||
|
chimera-777@hotmail.com wrote:
> One last question: After I make changes to the kernel, I need to update > some files in the /boot directory, namely bzImage, System.map, and config. > How do these files correspond with what's in my /boot: This is how I do it: SUFFIX=${VERSION}${CONFIG_LOCALVERSION} cp arch/i386/boot/bzImage /boot/vmlinuz-${SUFFIX} cp .config /boot/config-${SUFFIX} cp Module.symvers /boot/symvers-${SUFFIX} && gzip -f /boot/symvers-${SUFFIX} cp System.map /boot/System.map-${SUFFIX} ln -sf vmlinuz-${SUFFIX} /boot/vmlinuz-test where VERSION is the kernel version I am building (eg., 2.6.16-rc6-mm1) and CONFIG_LOCALVERSION is the value by that name from your .config. /boot/vmlinuz-test is a symlink for which I have an entry "Test Kernel" in /boot/grub/menu.lst, in order to avoid editing it each time I try a new kernel version. HTH Tilman |
|
|||
|
Perfect, I had it, with the exception of the symvers...Thanks!
> chimera-777@hotmail.com wrote: > > > One last question: After I make changes to the kernel, I need to update > > some files in the /boot directory, namely bzImage, System.map, and config. > > How do these files correspond with what's in my /boot: > > This is how I do it: > > SUFFIX=${VERSION}${CONFIG_LOCALVERSION} > cp arch/i386/boot/bzImage /boot/vmlinuz-${SUFFIX} > cp .config /boot/config-${SUFFIX} > cp Module.symvers /boot/symvers-${SUFFIX} && gzip -f /boot/symvers-${SUFFIX} > cp System.map /boot/System.map-${SUFFIX} > ln -sf vmlinuz-${SUFFIX} /boot/vmlinuz-test > > where VERSION is the kernel version I am building (eg., 2.6.16-rc6-mm1) > and CONFIG_LOCALVERSION is the value by that name from your .config. > /boot/vmlinuz-test is a symlink for which I have an entry "Test Kernel" > in /boot/grub/menu.lst, in order to avoid editing it each time I try a > new kernel version. > > HTH > Tilman |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|