LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to reinstall modules from Slackware install CD? StartX no worky... (https://www.linuxquestions.org/questions/slackware-14/how-to-reinstall-modules-from-slackware-install-cd-startx-no-worky-304130/)

karphead 03-20-2005 11:01 PM

How to reinstall modules from Slackware install CD? StartX no worky...
 
I believe I ended up deleting something I shouldn't have when I was running KDirStat - specifically some of the modules in my /usr/X11R6/lib directory - because I'm unable to run startx. Here's the tail end of the error message where I think the problems are occuring (in bold):

Quote:

(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vga
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "mouse"
(WW) Warning, couldn't open module mouse
(II) UnloadModule: "mouse"
(EE) Failed to load module "mouse" (module does not exist, 0)
(II) LoadModule: "kbd"
(WW) Warning, couldn't open module kbd
(II) UnloadModule: "kbd"
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No drivers available.
I'm not exactly sure what I'd be looking for in the case I deleted something but I thought if I could just reload or reinstall those specific modules from the Slackware install CD that it might be the easiest solution. That is, if I knew how to do that :o

he;lp

gbonvehi 03-20-2005 11:10 PM

Try:
Code:

mount /dev/cdrom /mnt/cdrom
upgradepkg --install-new /mnt/cdrom/slackware/x/*.tgz

That should mount your cdrom in /mnt/cdrom and upgrade the X packages (which hopefully will reinstall the libs you deleted).

guitarfella 03-20-2005 11:15 PM

if you have the source you could also compile the modules again
Code:

su
cp /boot/config /usr/src/linux/.config
cd /usr/src/linux
make modules
make modules install

if you compiled your source recentley a mistake may also have been made ;)
let us know how you go

karphead 03-20-2005 11:50 PM

Followed gbonvehi's instructions and was able to start startx! Thanks for the help...


All times are GMT -5. The time now is 06:48 AM.