LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   I broke some things with kernel 2.6.10 (https://www.linuxquestions.org/questions/slackware-14/i-broke-some-things-with-kernel-2-6-10-a-274747/)

Ricochet 01-06-2005 05:15 PM

I broke some things with kernel 2.6.10(Update: Check page 2)
 
So I successfully compiled the 2.6.10 kernel last night according to the sticky here. However, I seem to have broke some things in the process.

1) Firefox won't install on 2.6.10. I get a "Fatal error[-618]: Couldn't open xpistub library". I could find hardly any documentation on the firefox site for the linux version, strangely enough, and I couldn't really find any relavent information on here. So, I really don't know what to do. It installed fine before, when I installed it on the 2.4.x kernel.

2) Mozilla doesn't work for anyone but root. I don't know what's wrong since I don't recieve any sort of error message, but it just never runs when I click the shortcut. This wouldn't be a problem if I could use Firefox, but for now I'm stuck with Epiphany.

3) My Intellimouse Explorer buttons don't work anymore. all of my settings in xorg.conf are still the same, and I still have my xmodmap command in my .xinitrc file. Nothing changed on this end.

I'm sure there's probably more that I haven't noticed. Another thing, how do I check to see how many CPUs the kernel recognizes? I enabled SMP in my .config, and set max CPUs to 4 since I have dual Xeons w/ HT. I just want to make sure that they're all going.

I still have to install my Nvidia drivers, and setup Alsa, so I'll see how that goes. Anyway, thanks for your help all. This is my first time posting, but I've learned a lot previously reading. :)

leonscape 01-06-2005 05:20 PM

I dont think your firefox problems are related see this thread.

For processor info look in /sys/devices/system/cpu and how many cpu's are listed.

Ricochet 01-06-2005 06:16 PM

Thanks for the reply. I guess I was searching for the wrong thing regarding firefox. I found my fix in that other thread. :)

Thanks for the bit about the CPUs as well. It did indeed detect the 4 of them.

Ricochet 01-06-2005 08:12 PM

Okay, new problem... I can only start X as root. Otherwise, it crashes during loading, before it starts loading KDE. This is the error I receive, and is the final line of the Xorg.0.log file:

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

I don't know what this error means. I checked the directory, and it's there and the permissions on it are just the same as the rest of the font directories. I don't even know if this is my problem. Any ideas? I installed my Nvidia drivers as root. Maybe that was a mistake?

BajaNick 01-06-2005 10:43 PM

I had that same exact error but I dont remember how I fixed it but I remember it had something to do with KDE or xorg.conf . Have you tried starting up another window manager other than KDE, like fluxbox or gnome?

Ricochet 01-07-2005 01:11 AM

I was using Gnome , but I really didn't like it so I switched back to KDE. I don't recall if I logged in with my user acct since then... Hmmm, I'll give that a shot. That fixed it. All I did was switch to Fluxbox on my user account then switch back to KDE and all is well. :)

Ricochet 01-13-2005 10:51 PM

I've got everything running smoothly now with the exception of a few things. I need to figure out how to output my sound through the 7/8 channels on my card, as those use the high quality Wolfsen DAC. I have this setup easily through the drivers in windows, but can't figure it out in linux. I donno if reading this has a Chaintech AV-710 or another Envy24 based card setup this way, but if so any help is appreciated. I found an asound.state file that a guy from the headfi.com forums uploaded, but i get an error when I try to restore it.

Also, I still can't get my mouse working right. I didn't change anything in xorg.conf, but the buttons don't work anymore. Any ideas?

kersten78 01-13-2005 11:16 PM

What is it that isn't working with your mouse? And could you post your mouse section of xorg.conf? As for the audio thing, I have no idea...sorry. Anyone else?

Ricochet 01-13-2005 11:33 PM

Sorry, my bad. I guess I forgot to post that part again. The scroll wheel and the side buttons don't work. They worked fine before the recompile. Here's that section from my xorg.conf file: I also have xmodmap -e "pointer = 1 2 3 6 7 4 5" in my .xinitrc fille.

Code:

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option    "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "ExplorerPS/2"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/mouse"
#  Option "Device"      "/dev/psaux"
#  Option "Device"      "/dev/ttyS0"
#  Option "Device"      "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"          "9600"
#    Option "SampleRate"        "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"

EndSection

I didn't take all the commented lines out, because I thought it might be nice to look back on them to see what stuff does sometime.

kersten78 01-14-2005 12:03 AM

Hm...that all looks right. Wierd. Sorry again man--no help. Anyone else?

WMD 01-14-2005 12:23 AM

2.6.10 is still breaking stuff?

*Raises hand in disgust of the new development model*

2.4.27 for me. And 2.4.29 when it comes out.

Ricochet 01-19-2005 09:49 PM

Bump... Does anyone have kernel 2.6.10 working with a 7 button mouse? I've been not using linux for the past few days because the problem is so annoying. I've been considering going back to 2.4.x, but it doesn't have native support for my SATA controller....

WMD 01-19-2005 11:38 PM

Quote:

I've been considering going back to 2.4.x, but it doesn't have native support for my SATA controller....
2.4.28 does, I bet.

leonscape 01-20-2005 12:45 PM

I'm compiling 2.6.10 at the moment myself, So I'll let you know if the mouse works for me.. It does with 2.6.9

edit: Mouse works for me, I also have the similar options
Code:

Section "InputDevice"
 Identifier "Intellimouse Explorer"
 Driver  "mouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ExplorerPS/2"
 Option  "Buttons"  "7"
 Option  "ZAxisMapping"  "6 7"
EndSection


xushi 01-21-2005 12:26 PM

for some very odd reason, i had the same problem, and it even crashed my laptop big time with a blank screen everytime i startx ...

After reading /var/log/Xorg.0.log i noticed that it can't find /dev/mouse anymore
after searching through /dev , i noticed /dev/mouse doesn't exist anymore
checkout under /dev/input, its there, and it worked for me.
so just change your
Option "Device" "/dev/mouse"
to
Option "Device" "/dev/input/mouse0"

As for /dev/input/mice, i haven't tried that one yet, will do soon..
HTH

tormented_one 01-21-2005 09:17 PM

I have both the 2.6.9 and 2.6.10 working on my -current box. Typing from 2.6.10 firefox in kde. I had the same problems but after numerous compiles I got all my hardware working including my dc10+ capture card. All I can say is write down all of your hardware before recompile and use menuconfig to activate all of it and deactivate the stuff not needed.

Ricochet 01-21-2005 10:42 PM

I tried using /dev/input/mouse0 and /dev/input/mice as well, and the mouse still doesn't work. :( I donno what the problem could be. Is it possible that I compiled something wrong with the mouse? I assumed that if it worked, then the compile part must have gone right.

This seems to be the only thing that doesn't work though, besides my sound, which works but not the way it works in Windows.

artistikone 01-22-2005 10:23 AM

What X version are you using? Are you using 10.0 w/ no patches, 10.0 w/ patches, current?

I'm using current w/ 2.6.10, M$ USB Intellimouse Optical - 7 buttons. It works in every app except Konqueror(side buttons). I previously had to use IMWheel to get the side buttons to work correctly, but with X 6.8.1, this would break it. Once I removed IMWheel, and only used xmodmap, it works fine. I'm using the same xorg.conf options as you. So when you test it, try using Netscape/Moz/Firefox instead of Konq. You may also want to double-check you X log file to make sure it's loading the mouse correctly. Feel free to print it here if you're not sure.

I've read a lot of posts about 2.6.10 giving people issues but it's been nothing but great for me. In fact, without it I probably wouldn't be using Slack at all. It's the only kernel that will get my tuner card working =)

Ricochet 01-23-2005 02:59 AM

I'm using 10.0 with no patches, so whatever version of X it comes with I guess. Should I update to the latest version? I donno if I have IMWheel installed.

I use Firefox as my browser, and have tested in Firefox as well as the KDE file browser, whatever it is called. The mouse worked perfect in both previous to 2.6.10. I'll double check my X log file as well.

Ricochet 02-01-2005 09:39 PM

Okay, so I got frustrated with Linux for a while since I couldn't get these two things working properly. But I've decided to give it a go again. Here's the portion of my xorg log file that pertains to the input devices. If there's something else I missed, let me know and I'll paste it up here as well.

Code:

(**) Option "Protocol" "ExplorerPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "ExplorerPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "7"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "6 7"
(**) Mouse1: ZAxisMapping: buttons 6 and 7
(**) Mouse1: Buttons: 7
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
SetClientVersion: 0 8
(II) 3rd Button detected: disabling emulate3Button

I didn't see any warnings, so I donno what the problem could be?

Ricochet 02-04-2005 12:24 AM

Okay, update. The mouse is now my only problem. I fixed a problem I was having with man pages after the recompile, and I finally figured out how to route the sound to the proper channels. But I still can't get the mouse to work right!

HOWEVER, I did notice a couple of interesting things.

1) My X log makes reference to emulate3button mouse, however I have that line commented out in my xorg.conf. So why is it used at startup?

2) If I do a "cat /proc/bus/input/devices" this is what I see:

Code:

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 event1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

Why does it show ImPS/2 if I have Intellimouse Explorer specified in the conf file? Is it possible that xorg is loading a different config file at startup? If so, how do I tell which file is being used? the Xorg log file says it's using xorg.conf, and would lead me to believe that everything is loading up okay but the mouse doesn't work and /proc/bus/input/devices does not show the same mouse I specified...

johny.mnemonic 09-28-2005 01:02 PM

Got same problem. I have Slack 10.2 newly installed,so I have two kernels, 2.4.31 and 2.6.13,both I got with distro.
In 2.4.31 mouse wheel works (now only 5 buttons work for me,but I think,I can improve this), but in 2.6.13 there is no way to get working more than 3 buttons (a they are weird mapped).
Maybe there is problem in X configuration,because I found that X are using another mouse,than I specify in Xorg.conf.
Is there another place,where to specify mouse parameters,in 2.6.x kernels?
I noticed,that in 2.6.x there is native support for evdev,which 2.4.x do not have...can it be our problem? Don't we need to specify mouse parameters for evdev,beside for Xorg?


All times are GMT -5. The time now is 02:15 PM.