Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-18-2006, 11:25 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15
Rep:
|
system hungs when started
I`ve recently changed my PS/2 mouse to an USB mouse. After that when I run linux, in KDE login window I have a freeze. Neither keyboard or mouse works, it`s all hang up. I`ve tried to disconnect this mouse and run system then, but it`s the same story.
What could be the cause and how to get my system back?
|
|
|
04-18-2006, 11:41 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Boot from CD and try: chmod -x /etc/rc.d/rc.gpm.
Last edited by Alien_Hominid; 04-18-2006 at 11:50 AM.
|
|
|
04-18-2006, 12:08 PM
|
#3
|
Member
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163
Rep:
|
to me its seems like the X server is the one thats crashing.... though i will not put my jewels on the line for that.. :-D
you could try to fix this by reconfiguring your X server... i think this is pretty safe to do if you know your hardware specs... if this is where the problem is you should be able to fix it... if not... nothing will go wrong as long as you input the right hardware specs.. (especially graphics card and monitor)
now i am not sure what X server Slackware uses... xorg or xfree86 ... if its xorg run 'xorgconfig' as root from CLI (ie boot in safe mode or to CLI) and if its xfree86... i am not sure but it should be something like xf86config... (type xf in CLI and press TAB and see what programs are available and choose the one that has config in it) this also has to be done in root.. and then provide the config program with the right details...
hope all goes well!
lib.
|
|
|
04-18-2006, 12:41 PM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Slackware uses xorg, so this command will be xorgconfig.
|
|
|
04-19-2006, 03:28 AM
|
#5
|
LQ Newbie
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15
Original Poster
Rep:
|
I`ve tried to boot from CD but then it loads it`s own kernel from CD just to be able to install system.
I`ve tried to pass boot=/dev/hda1 noinitrb ro (or something like this) as it says at the beginning when you load linux, meaning that you can run your system that`s already installed on your system.
That way it hungs up and there`s some VFS kernel panic saying that he can`t mount fs on 03:01.
So... does this practiclly mean that I have to reinstall slackware? And will I have to reinstall it each time I change my mouse o_0?
|
|
|
04-19-2006, 03:42 AM
|
#6
|
Member
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353
Rep:
|
If you've installed slackware yourself, you'd know how to chroot to your linux installtion. After you boot from the CD and dropped off to a shell, mount your linux partitions on /mnt. chroot to it and run the command 'source /etc/profile'..... and you are there. Now you can run xorgconfig.....
Ofcourse, you don't have to this as you can boot into runlevel 3 by passing the number 3 as an argument to the kernel on the lilo or grub prompt. Presuming you're using GRUB, when you get the GRUB prompt select the kernel you want to boot into which shall be selected already. Press 'e' key, select the line that start with kernel.... and position the cursor at the end of the line and type in the number 3. Hit 'Enter', hit 'b' which, should boot you into runlevel 3. From there, you can login as root and run xorgconfig.........
Last edited by kevkim55; 04-19-2006 at 03:49 AM.
|
|
|
04-19-2006, 07:32 AM
|
#7
|
LQ Newbie
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15
Original Poster
Rep:
|
I`ve run the system in runlevel 3 and it was fine. I run the xorgconfig and after that I managed to run Xs without problem though the system didn`t recongnize the mouse and I could use it in Xs.
And that`s basicly it. When I run system to run Xs automaticlly then it hangs up, and when I run it from console then it doesn`t hung up but I can`t use the mouse.
Any ideas?
I`ve tried to disconnect my mouse and then run the system, but that doesn`t help, so it would seem that it`s not because of the mouse... but it couldn`t break just like that without any reason... o_0
|
|
|
04-19-2006, 10:21 AM
|
#8
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Did you try disabling gpm as I said above?
|
|
|
04-20-2006, 11:42 AM
|
#9
|
LQ Newbie
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15
Original Poster
Rep:
|
I`ve tried disabling gpm and it didn`t help.
I`ve tried to change settings in /etc/X11/xorg.conf but there was no X11 directory in /etc.
Long story short - I got angry and decided to reinstall the system.
During installation I picked up USB mouse. What else... I`ve disabled hotplug since it could cause some problems.
After reinstalation when I type startx I get this error:
Quote:
using conf file "etc/X11/xorg.conf"
xf86OpenSerial: Cannot open device /dev/mouse
No such device
mouse1: cannot open input device
PreInit failed for input device mouse1
no core pointer
fatar serwer error
|
So I`ve tried to look through /etc/X11/xorg.conf and I found line that deals with mouses and I`ve found particularly this line
Option Protocol "PS/2"
and as far I can tell this means that system runs drivers for PS/2 mouse. Firstly - why since I`ve chosen USB mouse during installation? Secondly, I guess I should chane it into some USB driver, but from those listed I cannot find any that has USB in it`s name, and most of the names don`t tell me anything about them.
I have a normal USB mouse without any sophisticated functions etc, so IMO some standrard USB driver should be enough.
Once again I ask for help. I`m totally new at Linux and I`d really like to get it going finally (I`ve been trying since November last year and so far gone through Mandrake, Ubuntu and Knoppix and only the latter did work fine :/ I just want to have a running linux)
|
|
|
04-20-2006, 12:54 PM
|
#10
|
Member
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279
Rep:
|
What does "ls -l /dev/mouse" point to? It should be /dev/input/mice.
Dennisk
|
|
|
04-20-2006, 04:27 PM
|
#11
|
Member
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38
Rep:
|
Have you tried typing (as root) "mouseconfig", then select the usb mouse option, and indicate that the boot command (gpm) should be updated? Reboot after doing that.
|
|
|
04-21-2006, 12:24 PM
|
#12
|
LQ Newbie
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15
Original Poster
Rep:
|
I`ve tried mouse config and it didn`t help.
/dev/mouse points to 'input/mice'
|
|
|
04-21-2006, 08:49 PM
|
#13
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Which kernel did you install? If you used test26.s, you'll have to install 2.6 modules after installation to get mouse support.
|
|
|
04-23-2006, 05:26 AM
|
#14
|
Member
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353
Rep:
|
Were you able to use the USB mouse during installation ? In short, is this USB mouse really working ? Try connecting it to another computer and see if it works ?
If the USB mouse is really working, can you post the contents of /etc/X11/xorg.conf and the Xorg's log file which should be found in /var/log ?
Last edited by kevkim55; 04-23-2006 at 05:29 AM.
|
|
|
All times are GMT -5. The time now is 07:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|