LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Keyboard and mouse not detected after starting X (https://www.linuxquestions.org/questions/slackware-14/keyboard-and-mouse-not-detected-after-starting-x-4175424699/)

Infinity8 08-30-2012 01:28 AM

Keyboard and mouse not detected after starting X
 
My keyboard and mouse will no longer work after starting X. My system isn't freezing as conky still functions. My wired and wireless internet don't work anymore either.

Everything broke after I followed this tutorial to update Slackware packages: http://webgnuru.com/linux/slackpkg_howto.php

I upgraded to Slackware 14.0 RC3

apeitheo 08-30-2012 09:58 AM

Are you sure you selected a mirror in /etc/slackpkg/mirrors for the correct version of Slackware that you're running?

Sorry if you did, I just wanted to get that out of the way first.

Oh, and another possibility is an issue with the way you merged the config files over, especially if you're new to Slackware and/or slackpkg.

Infinity8 08-30-2012 08:57 PM

Quote:

Originally Posted by apeitheo (Post 4768353)
Are you sure you selected a mirror in /etc/slackpkg/mirrors for the correct version of Slackware that you're running?

Sorry if you did, I just wanted to get that out of the way first.

Oh, and another possibility is an issue with the way you merged the config files over, especially if you're new to Slackware and/or slackpkg.

Yea, I pinged some of the hosts and chose the one with the best ping. I picked slackware64-current was I suppose to pick Slackware 13.37? I'm running a 64-bit machine.

I probably overwrote the config files but I can't seem to find the original files. All I see are a bunch of errors and not founds at start up.

yars 08-31-2012 12:23 AM

You have a upgraded Slackware to 14.0 RC3? You should be to remove packages hal-0.5.14-i486-3 and hal-info-20091130-noarch-1 and upgrade udev, according to the ChangeLog.txt. Also you should install package kmod-9-i486-3.

Infinity8 08-31-2012 01:11 AM

Quote:

Originally Posted by yars (Post 4768840)
You have a upgraded Slackware to 14.0 RC3? You should be to remove packages hal-0.5.14-i486-3 and hal-info-20091130-noarch-1 and upgrade udev, according to the ChangeLog.txt. Also you should install package kmod-9-i486-3.

I thought -current was updated version of 13.37 because I had FireFox 4.0 installed. I removed the hal packages and udev and kmod appear to be up to date.

My mouse and keyboard still aren't functioning. My mouse powers up but my keyboard turns off after starting X.

My system time also seems to be different from the hardware time.

A lot of the errors say GLIBC_2.1.4 not found.

yars 08-31-2012 02:24 AM

Quote:

Originally Posted by Infinity8 (Post 4768858)
I thought -current was updated version of 13.37 because I had FireFox 4.0 installed. I removed the hal packages and udev and kmod appear to be up to date.

You want to say, Firefox 14?
Code:

# slackpkg search firefox
Password:

Looking for firefox in package list. Please wait... DONE

The list below shows all packages with name matching "firefox".

[uninstalled] - mozilla-firefox-14.0.1-i486-1

But this is not guarantees actuality of the system. See /var/log/packages for look the installed packages or add to /etc/slackpg/mirrors any actually mirror, for example,ftp://slackware.osuosl.org/pub/slack...ckware-current, and type (as root): slackpkg update gpg; slackpkg update; slackpkg upgrade-all; slackpkg clean-system. Before try it, read man slackpkg.
Quote:

My mouse and keyboard still aren't functioning. My mouse powers up but my keyboard turns off after starting X.
I think the consequences of an incorrect or incomplete system upgrade. It is possible when upgrading when a new package requires in order to work have not yet installed components.
My system time also seems to be different from the hardware time.

A lot of the errors say GLIBC_2.1.4 not found.[/QUOTE]
Packages match in glib* are upgraded?
Code:

# slackpkg search glibc

Looking for glibc in package list. Please wait... DONE

The list below shows all packages with name matching "glibc".

[  upgrade  ] - glibc-solibs-2.15-i486-3 --> glibc-solibs-2.15-i486-5
[  upgrade  ] - glibc-zoneinfo-2012b_2012c-noarch-3 --> glibc-zoneinfo-2012e_2012e-noarch-5
[  upgrade  ] - glibc-2.15-i486-3 --> glibc-2.15-i486-5
[  upgrade  ] - glibc-i18n-2.15-i486-3 --> glibc-i18n-2.15-i486-5
[  upgrade  ] - glibc-profile-2.15-i486-3 --> glibc-profile-2.15-i486-5


Infinity8 08-31-2012 01:38 PM

My wireless and wired internet doesn't work after updating so I won't be able to download any updates. My FireFox was upgraded from 4 to 14. I currently have glibc-2.1.5-x86_64-5 installed.

When I typed "iwconfig" or "ifconfig" all I see is "lo".

Any way to "roll-back" or "downgrade"?
14 RC3 is unstable.

zrdc28 09-01-2012 12:31 AM

You have overwritten some of your config files with new ones, you don't need to downgrade, just start out with the
"netconfig" this will get you back on the web. Then just work through the problems one by one, there are plenty of
great help on this forum.

Infinity8 09-01-2012 01:05 AM

Quote:

Originally Posted by zrdc28 (Post 4769716)
You have overwritten some of your config files with new ones, you don't need to downgrade, just start out with the
"netconfig" this will get you back on the web. Then just work through the problems one by one, there are plenty of
great help on this forum.

I did that before I posted this thread, none of my network adapters are detected besides "lo" which I believe is localhost.

Anyways, I downloaded all the Slackware 13.37 files including patches from a Slackware mirror and placed it on a USB.

yars 09-01-2012 02:09 AM

Quote:

Originally Posted by Infinity8 (Post 4769400)
14 RC3 is unstable.

No, I have updates from RC1 to RC3, it works normally. And RC4 is released :)

turtleli 09-01-2012 03:43 AM

"lo" is the loopback device.

What is the output of
Code:

lspci -k
It would also be useful if you could show us exactly what errors come up when starting up.

hyperhead 09-01-2012 04:14 AM

I had this problem on upgrading to current (which shows as 14 in /etc/slackware-version some time back.

I can't remember how I fixed it, but I think it was either

a) Booting into Salix and mounting / and installing missing packages from slackware-current repo

b) running Wicd-cli or plug in ethernet and run slackpkg upgrade, before startx but remember this time to do the install-new this time.

Anyway it was solveable without a complete re-install.

Good luck

zhtengw 09-01-2012 08:42 AM

You need /run directory. Just make the directory and then reboot.

yars 09-01-2012 10:06 AM

Quote:

Originally Posted by zhtengw (Post 4769890)
You need /run directory. Just make the directory and then reboot.

Thank you, and I just noticed a new directory in the rootfs :)
slackpkg file-search run shows a long list of matches. Not surprising that udev doesn't work normally. I think it is necessary to add information about this issue in CHANGES_AND_HINTS.TXT.

Infinity8 09-01-2012 02:05 PM

How would I go about posting logs on here if I have no internet connection on Slackware?

hyperhead 09-01-2012 03:00 PM

There is always Salix booted off SDCard / Keystick, has saved my bacon a couple of times.

You can mount / and take the logs and post them with that. Salix always picked up my wireless card, or when all else fails plug a network cable in.

Infinity8 09-01-2012 05:51 PM

Quote:

Originally Posted by hyperhead (Post 4770130)
There is always Salix booted off SDCard / Keystick, has saved my bacon a couple of times.

You can mount / and take the logs and post them with that. Salix always picked up my wireless card, or when all else fails plug a network cable in.

Had too many issues with Salix, said my MBR gap was in the negatives and I need at least 64 sectors whatever the hell that means. I just mounted my USB and cp-ed all the logs with interesting names over.

Xorg.0.log: http://pastebin.com/9P4F1Dw0
syslog: http://pastebin.com/Si5GrPjP
messages: http://pastebin.com/MA9G43BL

Didier Spaier 09-02-2012 01:14 AM

It's easy to see from X.0.log that you still have xorg-server 1.9.5, shipped with Slackware 13.37.

So your system was not properly upgraded, else you would have xorg-server 1.12.3 instead.

Upgrade this package with upgradepkg and see what you come up with.

Possibly there are others upgrade problems, but better try one thing at a time.

To check that you have the good version of a package there are many ways. For instance you could "grep" the Changelog for Slackware current or the file PACKAGES.TXT at the root of the Slackware current tree against the package name, or use the "find" command in the /slackware directory of the Slackware current tree.

And of course you can check the installed package's version in /var/log/packages.

turtleli 09-02-2012 06:00 AM

From your logs I can see that the kernel modules are not being loaded for some reason, which is why you have no wired or wireless. You are using the 13.37 kernel so you most likely are in the middle of two different Slackware versions.

Didier brings up some valid points, if you can provide a list of the files in /var/log/packages we could probably see what state your system is in and provide you with better advice.

yars 09-02-2012 03:35 PM

If you you use the proprietary Linux graphics driver, you need upgrade it. Older video drivers like 173.14.31 (NVIDIA) is incompatible with a new Xorg.
ADD:
In any case, you need to update your graphics card driver, because when you install a new kernel old driver will be placed in /lib/modules/{uname -r}, for the old stock smp-kernel it is, for examle, /lib/modules/2.6.37.6-smp, and for the new smp-kernel it is /lib/modules/3.2.28-smp.
Quote:

Originally Posted by Infinity8 (Post 4770097)
How would I go about posting logs on here if I have no internet connection on Slackware?

You can make this:
boot Slackware-13.37
Code:

mkdir /mnt/slack
mount /dev/sda1 /mnt/slack/
mount --bind /proc /mnt/slack/proc
chroot /mnt/slack

If you have a connection to the Internet via Ethernet interface, uncomment in /etc/rc.d/rc.inet1.conf:
Code:

USE_DHCP[0]="yes"
and run /etc/rc.d/rc.inet1 start.

Infinity8 09-02-2012 04:38 PM

Quote:

Originally Posted by turtleli (Post 4770519)
From your logs I can see that the kernel modules are not being loaded for some reason, which is why you have no wired or wireless. You are using the 13.37 kernel so you most likely are in the middle of two different Slackware versions.

Didier brings up some valid points, if you can provide a list of the files in /var/log/packages we could probably see what state your system is in and provide you with better advice.

How would I go about making the list of packages in /var/log/packages more easily besides writing them all down on a piece of paper?

turtleli 09-02-2012 04:41 PM

Quote:

Originally Posted by Infinity8 (Post 4770882)
How would I go about making the list of packages in /var/log/packages more easily besides writing them all down on a piece of paper?

Use something like:
Code:

ls /var/log/packages > installed_packages.txt

Infinity8 09-02-2012 06:20 PM

Here's the list of packages in /var/log/packages:
http://pastebin.com/tAtWCpt9

lemmens 09-03-2012 04:32 AM

Hi,

Had the same problems as you mention : no mouse/kb when X started and no ethernet.

It turned out that udev wasn't installed properly and failed to start at bootup, which is why I only had a limited set of devices in /dev and also why the autoprobing of hardware failed.

I simply did a reinstall of udev and after that everything worked fine.

To get into your system :

- boot into runlevel 3 to avoid X freezing up
- manually load the driver for the ethernet card : modprobe tg3, modprobe e1000e or whatever
- initialize the netcard manually : /etc/rc.d/rc.inet1 eth0_start
- check if you have a network (ifconfig eth0, route)
- slackpkg reinstall udev

Didier Spaier 09-03-2012 07:14 AM

1 Attachment(s)
I compared your /var/log/packages list to mine on Slackare 14 RC4.

It appears that you have no less than 655 packages either missing, or that should be removed, or that should be upgraded, see the appended file where you will see your packages on the left side, mine on the right side. I had some formatting problems but "|" means "versions differ", "<" means "missing" and ">" means "should be removed".

I had to strip -$ARCH from the filenames, as I do not have the same as yours.

So, I suggest you just make a clean install of Slackware -current in its current state, or wait for Slackware 14 to be released and install it.

turtleli 09-03-2012 08:22 AM

1 Attachment(s)
I've compared your packages with both the 13.37 branch and the current branch and it seems your system is much closer to 13.37 than to 14.0RC3, the only packages from 13.37 which aren't there are the hal packages (which I believe you recently removed) and the kdei packages (which I believe you didn't install in the first place). You do have a lot of 14.0 packages installed in addition to that.

The most noticeable thing I see is that you have both module-init-tools and kmod packages installed which could be the reason why the kernel modules are not loading properly.

Are you planning on getting your system working without doing a full reinstall? If that is the case I would suggest, since all your critical files are from 13.37, that you:
- uninstall kmod and module-init-tools
- reinstall module-init-tools, hal and hal-info.

If that gets your internet connection working, great. If the rest of your system works, even better. It will be much easier to choose how to proceed with your system afterwards.

If not, perhaps some of the other 14.0RC packages are interfering (I've attached the list of packages present in the installation which are not present in 13.37 for anyone who has better insight on how they affect the system).

Infinity8 09-09-2012 01:04 AM

Quote:

Originally Posted by turtleli (Post 4771412)
I've compared your packages with both the 13.37 branch and the current branch and it seems your system is much closer to 13.37 than to 14.0RC3, the only packages from 13.37 which aren't there are the hal packages (which I believe you recently removed) and the kdei packages (which I believe you didn't install in the first place). You do have a lot of 14.0 packages installed in addition to that.

The most noticeable thing I see is that you have both module-init-tools and kmod packages installed which could be the reason why the kernel modules are not loading properly.

Are you planning on getting your system working without doing a full reinstall? If that is the case I would suggest, since all your critical files are from 13.37, that you:
- uninstall kmod and module-init-tools
- reinstall module-init-tools, hal and hal-info.

If that gets your internet connection working, great. If the rest of your system works, even better. It will be much easier to choose how to proceed with your system afterwards.

If not, perhaps some of the other 14.0RC packages are interfering (I've attached the list of packages present in the installation which are not present in 13.37 for anyone who has better insight on how they affect the system).

This worked, thanks a lot!


All times are GMT -5. The time now is 03:40 PM.