LinuxQuestions.org
Help answer threads with 0 replies.
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 02-19-2006, 06:04 PM   #1
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Rep: Reputation: 15
Slack box hangs at X login


For some reason, my slack box don't finish booting.
Code:
Loading ALSA kernel modules.
Loading ALSA mixer settings: /usr/sbin/alsactl restor
Loading OSS compatibility modules for ALSA.
Starting gpm: usr/sbin/gpm -m /dev/mouse -t ps2
gpm: oops() invoked from gpm.c(977)
/dev/mouse: Device or resource busy
Starting up X11 session manager...
After that, it clicks a few times, and comes back to this, with nothing. It just sits there.

Last edited by nygeek05; 02-19-2006 at 06:10 PM.
 
Old 02-19-2006, 06:13 PM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
I'm going to assume it is. You cannot run Mac OSX applications in linux. Period.

To help with your problem.

It looks like you set slack to boot into init 4 by default, but did not properly configure X11. Also, GPM is not starting up. To remedy this, boot into single user mode. (At lilo, pick your kernel and then type "single" after the kernel option)

Then from there login as "root"

then type

cd /etc/rc.d
chmod -x rc.gpm

then type xorgconfig and answer all the questions about your graphics hardware.
 
Old 02-19-2006, 06:19 PM   #3
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
I belive i configured it right, seeming I was using it yesterday, then I got all my sound stuff configured.

I'll try the chmod stuff, hope that works.

Also, how do i pass a kernal option?
Code:
linux -single
?
 
Old 02-19-2006, 06:21 PM   #4
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
When you are at lilo, just type the name of the kernel and then single

For example i would type

"Slackware2.6 single"

I believe at default you would just tyep "Linux single".
 
Old 02-19-2006, 06:22 PM   #5
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
thanks, currently rebooting with CHMOD changes, hoping that i only have to do that. I think i have a pretty good memory on my graphics card stuff, but not sure.
 
Old 02-19-2006, 06:25 PM   #6
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
well, the monitor just keeps clicking still.

I'm going back into single, logging in as the normal me, and just going to run startx from there.
 
Old 02-19-2006, 06:29 PM   #7
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
The monitor clicking is a sign of a bad /etc/X11/xorg.conf

Post your /etc/X11/xorg.conf and then say what Videocard, monitor, and if your Mouse is PS/2 or USB. Also, are there any other errors if you wait about 20 seconds after the screen starts clicking?
 
Old 02-19-2006, 06:29 PM   #8
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
Xfce alerted me that (none) will make it not work properly, used as a host.

Well, I'm currently trying to go around in firefox, and it can't find no servers.
 
Old 02-19-2006, 07:03 PM   #9
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
I get some kinda error when I try to startx. For some reason, it says the central server or something's up. anyway, I'll try posting it later.
 
Old 02-19-2006, 07:45 PM   #10
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
And here's the error...

Code:
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processes) with 0 events remaining.
Thats what it's told me after commanding startx.

As I take a look at the log, i get
Code:
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
No core pointer

Fatal server error:
failed to initialize core devices
 
Old 02-20-2006, 05:41 AM   #11
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
Here's my x.org config.
Code:
                                                                     
                                                                     
                                                                     
                                             
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "record"
	Load  "extmod"
	Load  "dbe"
	Load  "dri"
	Load  "glx"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
	#DisplaySize	  280   210	# mm
	Identifier   "Monitor0"
	VendorName   "MAG"
	ModelName    "MAG 510V2-2"
	HorizSync    30.0 - 54.0
	VertRefresh  50.0 - 100.0
	Option	    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "slow_edodram"       	# [<bool>]
        #Option     "slow_dram"          	# [<bool>]
        #Option     "fast_dram"          	# [<bool>]
        #Option     "fpm_vram"           	# [<bool>]
        #Option     "pci_burst"          	# [<bool>]
        #Option     "fifo_conservative"  	# [<bool>]
        #Option     "fifo_moderate"      	# [<bool>]
        #Option     "fifo_aggressive"    	# [<bool>]
        #Option     "pci_retry"          	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "early_ras_precharge" 	# [<bool>]
        #Option     "late_ras_precharge" 	# [<bool>]
        #Option     "lcd_center"         	# [<bool>]
        #Option     "set_lcdclk"         	# <i>
        #Option     "set_mclk"           	# <freq>
        #Option     "set_refclk"         	# <freq>
        #Option     "show_cache"         	# [<bool>]
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "UseFB"              	# [<bool>]
        #Option     "mxcr3afix"          	# [<bool>]
        #Option     "XVideo"             	# [<bool>]
	Identifier  "Card0"
	Driver      "s3virge"
	VendorName  "S3 Inc."
	BoardName   "ViRGE/DX or /GX"
	BusID       "PCI:0:18:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
DefaultDepth 16
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
Old 02-20-2006, 05:15 PM   #12
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
I just thought of something.

The day before this thing started acting up, i removed the PCMIA drivers.

Wich, in turn could cause the mouse to not work if plugged in, causing this.

Okay, how do I install?
 
Old 02-21-2006, 11:42 AM   #13
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
1. change the /etc/inittab so it boots to the console until you get x working.

2. run mouseconfig as root and get your mouse working. is it a touchpad? usb mouse?

3. run xorgsetup and check /etc/X11/xorg.conf afterwards to make sure everything is right.

4. test x

5. change /etc/inittab back to what you had
 
Old 02-22-2006, 07:20 PM   #14
nygeek05
Member
 
Registered: Nov 2005
Location: Lake Effect Land
Distribution: Ubuntu 7.04
Posts: 34

Original Poster
Rep: Reputation: 15
Well, I tried, and slackware is still telling me that the mouse resource is busy. I just don't get it.

Another thing that I've just remembered is that this always seems to happen after I get my soundcard working. I get it working, get done with it, shut her down. Then the next morning I want to get on it, can't because of this.

IT REALLY GETS ANNOYING. I hate the fact that it's like I have a choice, will I take sound or graphics.

MORE EDIT: It's also a PS2 mouse.

FIXED: I fixed it by editing /etc/rc.d/rc.M so that the mouse goes first before ALSA. Seeming ALSA wants to mandate, and everything still works.

Last edited by nygeek05; 02-23-2006 at 09:08 PM.
 
  


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
After Ubuntu Login splash screen with box, no icons loading, system hangs Combano Linux - General 1 03-29-2005 09:56 PM
slack 10.1 hangs after hotplug chocloman Slackware 1 03-19-2005 03:12 PM
My box hangs when running boot scripts elkrammer Linux - Distributions 5 03-31-2003 07:02 PM
Slack installation hangs. Please help! jiripiti Slackware 6 03-14-2003 09:30 PM
Suse 8.0: xv hangs box duncombe Linux - Distributions 0 08-10-2002 06:00 AM

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

All times are GMT -5. The time now is 08:40 AM.

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