Click to See Complete Forum and Search --> : New kernel prevented xserver from booting


Cerf
07-06-2004, 04:23 PM
Yo yo yo

I finally made my own kernel (whoot, I feel special) and It booted fine but under this new kernel my x server isnt running. The error I am getting is

X10: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 Known processed) with 0 events remaining


And it goes on saying that the error log is in /var/log/XFree86.0.log, it should be attached

What I think is important is (near the bottom of the log):


Fatal server error:
no screens found


so this is what I did to make my kernel


#cd /usr/src
#cp -r linux-2.4.18-14 linux-2.4.18-14custom
#make mrproper
#make oldconfig
#make menuconfig


And then from there I went into Parallel port support -> use FIFO/DMA if avaiable (Experimental) because thats the only aditional thing that I need for my programming


#make dep
#make bzImage
#make modules
#cp /usr/src/linux-2.4.18-14custom/arch/i386/boot/bzImage /boot/vmlinuz-2.4.18-14custom
#make modules_install
#cp /usr/src/linux-2.4.18-14custom/System.map /boot/System.map-2.4.18-14custom
#/sbin/mkinitrd /boot/initrd-2.4.18-14custom.img 2.4.18-14custom
#vi /etc/grub.conf


and my /etc/grub.conf became


default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,2)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
title Red Hat Linux (parallel port ECP) (2.4.18-14a)
root (hd0,2)
kernel /vmlinuz-2.4.18-14custom ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14custom.img
title Windows
rootnoverify (hd0,1)
chainloader +1




Is there anyconfigureation that I missed with my kernel or is it an xserver configeration problem?

I'm sorry if this is in the wrong thread, I think that this is the best place for it.

Thanks

fatTrav
07-06-2004, 04:37 PM
if you have a Nvidia card, re-run their installer and make any modifications to xorg.conf or XF86Config as needed.

You will need to be in runlevel 3 to do this on your redhat system.

Travis

Cerf
07-06-2004, 06:08 PM
When I boot with one kernel the startx works, and when I switch into another kernel I have to redo the NVIDIA installer to be able to run my x server. is there anything I can do so that I dont have to rerun the installer everytime I switch kernels??

danimal1009
07-06-2004, 06:58 PM
Originally posted by Cerf
is there anything I can do so that I dont have to rerun the installer everytime I switch kernels??

Look at the reply by MMYoung in this thread http://www.justlinux.com/forum/showthread.php?s=&threadid=126075&highlight=nvidia

He then goes on to say a couple of posts later... Wish I could claim that tip as my own but bwkaz posted it on another thread

That was one of the best tips I've ever heard... :)

Cerf
07-06-2004, 07:41 PM
Thanks for the help/link. Ive got it working now.

What I did was boot in int level 3 and

#sh NVIDIA-Linux-x86-1.0-6106-pkg1.run --extract-only
#cd NVIDIA-Linux-x86-1.0-6106-pkg1
#make install
#startx