SlackwareThis Forum is for the discussion of Slackware 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.
First I want to thank everyone who posts and responds on this site. It has helped me out a ton. That said, I am wondering if anyone has run into this problem before. Here is what I did:
Installed Slackware 10 from CD
installed dropline
got ATI drivers and 3d accel. working
tried to recompile kernel (2.4.26)
I followed DaOne's Kernel compiling guide. When I started xconfig I loaded the .config file from /usr/src/linux-2.4.26/ folder as a starting point. I only changed 3 things:
1) Changed the processor from 486 to Athlon (cause I run an Athlon XP2500+)
2) Removed Ifrared support (IrDA I think)
3) removed Bluetooth support
When I reboot, everything seems to load up with no problem. I login to Gnome. When I try to start Mozilla, or any other web browser, it starts to load it, but then it just stops. No window. Nothing. I try again. same result. It thinks and then...nothing.
Also I can't get 3d accel to work anymore. I reran fglrxconfig and tried to reinstall the drivers, but I can't get glxgears to run faster than ~100 fps (I was getting ~500 fps before I recompiled)
The weird thing is that when I choose my old kernel from the LILO menu and I log in to Gnome, neither Mozilla nor 3d acceleration works. I thought that my old kernel would load up as usual. Any ideas?
also could u breifly tell the steps u folowed while compiling ur kenel also
the best option is to get the oldr .config file and mak changes to that config file so that u do not miss out on something
1) Copied /usr/src/linux-2.4.26 to /usr/src/linux-2.4.26-recompile
2) Deleted /usr/src/linux and ran "ln -s /usr/src/linux-2.4.26-recompile /usr/src/linux" as root
3) cd /usr/src/linux
4) make xconfig
When the window opened I clicked "Load configuration from file" and chose /usr/src/linux/.config
5) changed 486 to Athlon
6) removed IrDA support
7) removed Bluetooth support
Sorry I just realized I followed shilo's kernel configure guide (under the sticky "This is how I do it all") not DaOne's
8) Clicked save and exit
9) make bzImage
10) cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-athlon
11) rm /boot/vmlinuz
12) ln -s /boot/vmlinuz-athlon /boot/vmlinuz
13) make modules
14) make modules_install
15) cp System.map /boot/System.map-athlon
16) cp .config /boot/config-athlon
17) rm System.map and ln -s /boot/System.map-athlon /boot/System.map
18) rm config and ln -s /boot/config-athlon /boot/config
19) added the following to lilo.conf
I saw that I had a vmlinuz-2.4.26 in the /boot/ directory (along with System.map-2.4.26 and config-2.4.26) so I thought that was my old kernel
20) /sbin/lilo
rebooted and had problems
I checked dmesg and there were no errors about modules not being able to load so I figured things went okay. I started Gnome (as a user not root), opened a terminal and tried to run glxgears. Got ~100 fps. Tried to open Mozilla to check LQ.org to see if anyone else had problems and it didn't open.
i see there that u are not making any initrd images,maybe since u do not need thjen in the kenrel u were using,so u need to specify that in ur kernel,
since u opened ur kenel config with default entries and changed some of them ,it may be that these settings were not correct for u
u need to see that optiion in kernel "inital RAM disk support"
also u ned to check out other setings in urkenrel also
once u get a working kernel for urself then make use of that config file for furthr use
First off, initrd is not needed at all. A possible reason for your issues: both of the kernel compiling guides that you mention are for compiling a 2.6.x kernel. There are some additional steps in compiling a 2.4.x kernel. Your choices, recompile 2.4.x properly or compile new 2.6.x kernel. Off the top of my head, I believe that before you "make bzImage" you need to "make dep" with a 2.4.x kernel. I'd give you a guide for 2.4.x kernel, but it would not be the greatest. I haven't compiled anything in the 2.4.x series in awhile.
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Rep:
shilo is correct... After you exit the configure option you must issue `make dep` for a 2.4.# kernel..
Another thing may have happened here. Just changing the name of the linux directory will not protect your current running kernel.
In order to make a new kernel and keep the old one intact you must either build a completely different version or set the "EXTRAVERSION=" option in the makefile.
Once you have made the new kernel and properly copied the required files to /boot, edit lilo.conf and run lilo as you did.
There should be a directory located in the /lib/modules/### one for the original kernel and one for your new build...
Also you should have to install any 3rd party modules to the NEW running kernel i.e, sound, video drivers....
Also required for 2.4.## kernels is the running of make mrproper on virgin kernel sources.. TIP it is always a good thing to do before any build when it has been awhile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.