LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No display after kernel recompile! (https://www.linuxquestions.org/questions/slackware-14/no-display-after-kernel-recompile-271322/)

DiZASTiX 12-28-2004 07:10 PM

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

skog 12-28-2004 07:23 PM

on your kernel line in lilo.conf do you have a vga=xxx setting try changing it to vga=ask

DiZASTiX 12-28-2004 07:38 PM

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?

DiZASTiX 12-28-2004 08:01 PM

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?

egag 12-28-2004 08:16 PM

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

DiZASTiX 12-28-2004 10:40 PM

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 :mad:

egag 12-29-2004 07:02 AM

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

DiZASTiX 12-29-2004 10:16 AM

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?

Genesee 12-29-2004 10:21 AM

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

DiZASTiX 12-29-2004 10:37 AM

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?

egag 12-29-2004 11:17 AM

what did you uncomment in rc.modules ?

egag


All times are GMT -5. The time now is 08:02 AM.