Kernel compilation (2.4.25 - Red Hat) on DELL Inspiron 2650
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Kernel compilation (2.4.25 - Red Hat) on DELL Inspiron 2650
Hi,
I have installed Red Hat 8 on my DELL Inspiron 2650 laptop. I have also installed the NVidia display drivers that work fine with the current Kernel (2.4.18).
I recently compiled the kernel (2.4.25) as I wanted to access my NTFS parition (Win XP). The kernel compiled successfully. I made changes to the GRUB bootloader configuration file as needed. At boot up time when I select the new Kernel to boot up, it boots up until it comes to the point where it shows the login promt. It then tries to go into the graphical login screen and stops there....the text based login screen keeps flashing and it hangs there....
So how do I not go into the GUI mode and stop at the text based login?
Also how do i set this by starting up the previous kernel?
Another thing....my previous kernel worked without the nVidia drivers too...then why is this the problem for the current kernel??
1. Go the nVidia drivers to compile for the new kernel (2.4.25).....but the resolution was really bad..only 800x600. I need at least 1024x768
2. Had to revert back to the old kernel.....2.4.18-14 as my wireless card and ethernet card stopped working in the new kernel...probably i did not select the modules while compiling (which i think i did....but am not sure)
3. In the previous kernel (2.4.18-14) I had the nVidia drivers installed properly with the res. at 1024x768. however now the resolution is only 800x600. I made changes to the XF86Config file....but it didnt make a difference. Tried many things....screwed up many times....now am back to a generic vesa driver. Here is the my XF86Config file..
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Yea, All the problems lie in your kernel .config file...... Took me about 20 times of recompiling before I got it completely tweaked for my laptop..... These stock configs are so bloated, it's crazy..... Go recompile your kernel..... Sounds like you don't have NTFS support as a module. Post the output of 'lspci' 'cat /etc/fstab' 'mount -l' and 'lsmod'..... You connect via broadband? Is that DSL or Cable? What file systems do you use? (all of them) Your probably better off not using modules for certain things and just statically compiling them into your kernel..... Post that stuff and I'll tweak my .config and mail it to you as long as we are using alot of the same hardware..... Any parellel or usb devices that you use? You can get it all worked out by trial and error on recompiling your kernel... Up to you.... The nvidia drivers need to be re-compiled EVERY time you build a new kernel. Even if it's the same version..... All your modules get deleted and replaced in the process, including your nvidia driver (only it doesn't get replaced unless you build it again)... You could always try to use the original redhat config file.... It would take eons to build tho. And you would have about 50-100 modules that you'll never use in your lifetime..... And you can avoid the GUI login by editing '/etc/inittab'... The line that says "id:5:initdefault:"... Change the 5 to a 3........
Thanks for the reply....I dont have that mcuh time to do all what you said....but will do it in the future...for the time being restored the system...got the nvidia drivers to work in 2.4.18-14. Am using that now....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.