LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2006, 10:25 AM   #1
beholder
LQ Newbie
 
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15

Rep: Reputation: 0
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?
 
Old 04-18-2006, 10:41 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Boot from CD and try: chmod -x /etc/rc.d/rc.gpm.

Last edited by Alien_Hominid; 04-18-2006 at 10:50 AM.
 
Old 04-18-2006, 11:08 AM   #3
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
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.
 
Old 04-18-2006, 11:41 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Slackware uses xorg, so this command will be xorgconfig.
 
Old 04-19-2006, 02:28 AM   #5
beholder
LQ Newbie
 
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 04-19-2006, 02:42 AM   #6
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
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 02:49 AM.
 
Old 04-19-2006, 06:32 AM   #7
beholder
LQ Newbie
 
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
Old 04-19-2006, 09:21 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Did you try disabling gpm as I said above?
 
Old 04-20-2006, 10:42 AM   #9
beholder
LQ Newbie
 
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
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)
 
Old 04-20-2006, 11:54 AM   #10
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
What does "ls -l /dev/mouse" point to? It should be /dev/input/mice.

Dennisk
 
Old 04-20-2006, 03:27 PM   #11
Gault LaRue
Member
 
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38

Rep: Reputation: 15
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.
 
Old 04-21-2006, 11:24 AM   #12
beholder
LQ Newbie
 
Registered: Apr 2006
Distribution: trying to configure slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
I`ve tried mouse config and it didn`t help.
/dev/mouse points to 'input/mice'
 
Old 04-21-2006, 07:49 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Which kernel did you install? If you used test26.s, you'll have to install 2.6 modules after installation to get mouse support.
 
Old 04-23-2006, 04:26 AM   #14
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
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 04:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Hungs on message el_vits Linux - Newbie 1 04-09-2006 09:18 AM
If I want, that process has automatically started at system loading or reloading ukrainet Linux - Newbie 2 12-14-2004 09:39 AM
started imap daemon and it crashed my system kwingate Linux - General 0 10-24-2004 01:18 AM
Computer hungs when reading cd ulbun Linux - Hardware 6 09-05-2003 01:02 AM
Updated kernel and system started locking up? liljnr70 Linux - Distributions 1 04-17-2003 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration