DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ive been trying to get a new custom kernel configured (2.6.6-1) using the source debian package but naturally have come into some problems. this is my first attempt at a custom kernel. I initially followed the directions at http://www.debian.org/doc/manuals/re...ernel.ru.html,
but it didn't go all that smooth. It gave me some errors (which I forgot to copy down). It didn't put the entries into the boot loader nor copy the initrd and vmlinuz files (so I did it myself and it booted, but none of my modules were loaded at boot time.
So I ran the utilities for making the modules and that helped a little bit. However, I'm still have some trouble getting my sound to work and I recently tried installing the sources for the ipw2100 (centrino) drivers but haven't been successful with that. I did all the instructions from the debian module for installing source packages and got no errors. But when I try modprobe ipw2100 it tells me that it can't find that module. Here are some logs: 2.6bootLog 2.6 modules2.4 (old kernel) modules loaded
Also, I changeed my GRUB boot line for the hdc to hdc=ide-cd, I left all the others as hdX=scsi, is this correct?
For reference this is a dell inspiron 600m and I'm running Debian from a knoppix 3.4 hard drive install
with 2.6, you don't need to put the hdX=ide-scsi lines.
hm. try downloading 2.6.5-1-k7 (or whatever you use)
then
#cp /boot/config-2.6.5-1-k7 /usr/src/linux/.config
#make oldconfig
#make menuconfig
If you are going to use an initrd kernel, make sure to enable (Must say Y;do not say M or N) Compressed Rom File System Support in Miscellaneous Filesystems, and enable RAM Disk Support (as Y, not M), default size 8192, and enable (as Y) Initial Ram Disk Support (initrd).
#make-kpkg clean
#nano Makefile (change extraverision to Fun or test or something)
#make-kpkg --initrd kernel_image modules_image
#dpkg -i ../kernel-image-2.x.x-extraversion*deb (whatever modules packages have been compiled)
what hardware do you have?
Last edited by haimeltjnfg; 05-24-2004 at 12:49 AM.
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
when I try to make.
I have been getting this ever since after my first successful boot.
I had to do a lot of hacking since the first time I did the kpkg modules_install I had some errors. (i.e. I had to make the initrd and vmlinuz myself, and some other stuff).
Some searching on the internet yeilded that that was a problem caused by having an older version of glibc, but I have the newest version.
As far as hardware, this is a laptop with a Pentium M, ati graphics, centrino wireless, intel sound, nothing else special as far as I know.
i've noticed when i try to build some packages it gives me an error, and its looking for modules specified by some 2.6.6 file (sorry I'm not exacly sure how modules are organized) and this happens even if I boot with the 2.4 kernel
I tried now with a prebuild and it gave me that module error:
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe fiailed
FATA: Module jbd not found
FATAL: Module ext3 not found
blah blah blah exit status 9
blah blah blah
compile it as root the UNIX way, no need to cp the old .config, just don't erase the old kernel directory or the old kernel image in case you mess up stuff. when you know the Unix way, the debian way is just a way and nothing else.
DO IT ALL AS ROOT, INSTALL DEPENDENCIES(make,g++,init-tools,ncurses-dev,etc...)
make menuconfig;
make && make modules_install ;
cp arch/i386/boot/bzImage /boot.vmlinuz-XXX && ln -s /boot/vmlinuz-XXX /;
update-grub/ vi lilo.conf, lilo;
reboot
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.