LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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

Reply
 
Search this Thread
Old 04-04-2004, 05:51 PM   #1
rohitmordani
LQ Newbie
 
Registered: Apr 2004
Location: Los Angeles
Posts: 10

Rep: Reputation: 0
Question 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....

Any ideas as to how I can solve this?

Thanks
Rohit
 
Old 04-04-2004, 06:38 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
hi,
the nvidia drivers u installed were only for THAT kernel version.
you'll have to do the same thing for every kernel u build.

so, dont start into gui, and re-compile nvidia drivers for the new kernel.
 
Old 04-04-2004, 06:39 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
btw, you can access ntfs with 'modprobe ntfs" "mount -t ntfs ... "

of course, u need the ntfs module compiled (which u can check with 'modinfo ntfs')
 
Old 04-05-2004, 02:11 AM   #4
rohitmordani
LQ Newbie
 
Registered: Apr 2004
Location: Los Angeles
Posts: 10

Original Poster
Rep: Reputation: 0
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??

Thanks
Rohit
 
Old 04-05-2004, 05:29 AM   #5
rohitmordani
LQ Newbie
 
Registered: Apr 2004
Location: Los Angeles
Posts: 10

Original Poster
Rep: Reputation: 0
Exclamation

ok here's my progress

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..

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

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.

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection

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"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "nVidia"
BoardName "VESA driver (generic)"
VideoRam 16384
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection




PLEASE Help with this.....
 
Old 04-05-2004, 05:31 AM   #6
rohitmordani
LQ Newbie
 
Registered: Apr 2004
Location: Los Angeles
Posts: 10

Original Poster
Rep: Reputation: 0
modprobe ntfs gives me the output
modprobe: Can't locate module ntfs

and modinfo ntfs gives me the output
modinfo: ntfs: no module by that name found



Of course...these are in kernel 2.4.18-14 since i have reverted to this...

thanks
rohit
 
Old 04-05-2004, 04:46 PM   #7
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
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........

Jon

Last edited by jong357; 04-05-2004 at 04:50 PM.
 
Old 04-05-2004, 05:10 PM   #8
rohitmordani
LQ Newbie
 
Registered: Apr 2004
Location: Los Angeles
Posts: 10

Original Poster
Rep: Reputation: 0
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....

rohit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red hat 9.x on dell inspiron AliZilla Linux - Laptop and Netbook 11 01-23-2004 12:59 AM
Dell Inspiron 2650, with everything working JayCnrs LinuxQuestions.org Member Success Stories 23 10-28-2003 05:32 PM
Red Hat 9 on a Dell Inspiron 500M rgenthner Linux - Hardware 5 08-01-2003 01:52 PM
Dell Inspiron/Red Hat 8.0 bac()n Linux - General 13 04-07-2003 08:00 PM
Red Hat 7.2 on a Dell Inspiron 2500 killingthemonke Linux - Hardware 3 04-29-2002 10:23 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration