LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-28-2004, 07:10 PM   #1
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Rep: Reputation: 30
No display after kernel recompile!


Ok, so I tried recompiling my kernel to 2.6.10 (i am on 2.4.26) I downloaded the kernel from kernel.org and then copied and unextracted it to /usr/src/

I then took my .config file from /usr/src/linux and used it when I did the make menuconfig command in the 2.6.10 folder. I then continued to recompile.

Now, I reboot and go into LILO and try to boot up with the new kernel but it just goes to a black screen but I am pretty sure it still loads linux I just cant see anything! What did I do wrong?

(I have the nvidia driver installed that I need to use if that helps...I can still boot into my old kernel and everything is fine...)
 
Old 12-28-2004, 07:23 PM   #2
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
on your kernel line in lilo.conf do you have a vga=xxx setting try changing it to vga=ask
 
Old 12-28-2004, 07:38 PM   #3
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by skog
on your kernel line in lilo.conf do you have a vga=xxx setting try changing it to vga=ask
Ok, I did this and chose the resolution and it worked, but now when I try startx is gives me the "No Screens Found" error but nothing in my xorg.conf file has changed! Any idea whats going on?
 
Old 12-28-2004, 08:01 PM   #4
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Ok, so I figured out that I am getting the error "The nvidia module failed to initialize" and I tried modprobe nvidia and nothing is found. Im guessing I didn't compile it when I recompiled the kernel? Where (in menuconfig) is the nvidia module?
 
Old 12-28-2004, 08:16 PM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
when you install a new kernel, you have to re-install the nvidia-driver.
it doesn't come with the kernelsource, you can dl. it from the nvidia site.

egag
 
Old 12-28-2004, 10:40 PM   #6
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by egag
when you install a new kernel, you have to re-install the nvidia-driver.
it doesn't come with the kernelsource, you can dl. it from the nvidia site.

egag
ok, I got video to work now, but now my mouse doesn't work.

the settings is xorg.conf are fine but when linux boots it says:

module usbmouse not found in /proc/modules

what should I do, please don't tell me I have to rebuild my kernel again with a new module
 
Old 12-29-2004, 07:02 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
you don't need to recompile the whole kernel, just a module.
it's simple :
go to the source dir ( maybe /usr/src/linux-2.6.10 )
-type " make xconfig "
-look under " usb support "--> " usb HID boot prot. ( or smth .like that )"-->"usb mouse "
-select that as a module.
-save the configfile and exit
-make modules
-make modules_install

the module will be ready for use.

egag
 
Old 12-29-2004, 10:16 AM   #8
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by egag
you don't need to recompile the whole kernel, just a module.
it's simple :
go to the source dir ( maybe /usr/src/linux-2.6.10 )
-type " make xconfig "
-look under " usb support "--> " usb HID boot prot. ( or smth .like that )"-->"usb mouse "
-select that as a module.
-save the configfile and exit
-make modules
-make modules_install

the module will be ready for use.

egag
I tried this but still no luck, but after reading so other documents I think I have a hunch on what to do, I just need to know: What is the file to run commands on boot? Like all that stuff before the logon prompt (where it shows me my usb error) how would I add a command there, what I'm trying to say, is how do I load a module on boot before it reaches the logon prompt?
 
Old 12-29-2004, 10:21 AM   #9
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
maybe uncomment it in /etc/rc.d/rc.modules, or you can put a command to run in /etc/rc.d/rc.local

http://www.openskills.info/view/boxd...php?IDbox=1042

Last edited by Genesee; 12-29-2004 at 10:25 AM.
 
Old 12-29-2004, 10:37 AM   #10
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Genesee
maybe uncomment it in /etc/rc.d/rc.modules, or you can put a command to run in /etc/rc.d/rc.local

http://www.openskills.info/view/boxd...php?IDbox=1042

Ok, I uncommented it in /etc/rc.d/rc.modules and now it says this at boot:

Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2
FATAL: Kernel does not have unload support

The weird thing is that usbmouse now IS in /proc/modules but it still doesn't work any ideas?
 
Old 12-29-2004, 11:17 AM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
what did you uncomment in rc.modules ?

egag
 
  


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
To recompile kernel satimis Linux From Scratch 5 08-23-2005 04:54 AM
Kernel Recompile 2.6.9 - Dell Laptop, No Display!! dropwise Slackware 5 12-26-2004 08:14 PM
kernel recompile to 2.6.9 - no display @ CLI scuzzman Slackware 3 10-30-2004 11:07 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Kernel recompile results in no display jrdioko Linux - Newbie 7 07-01-2004 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration