I'm back with kernel 2.6 and a fresh install
Hi again,
I am getting to be like a broken record but I did a fresh install and with the tips provided by dastrike and dead parrot installed sarge with kernel 2.6 on another drive..But I run into the same old bugabo.. After a smooth base and update , xserver refused to start ..After several dpkg-reconfigure xserver-xfree86 attempts it still won't start..The /var/log/XFree86.0.log seems to indicate at the ending that the mouse wont work and stops the core from loading..I tried several tweaks with my MS optical PS/2 mouse but then shut down and decided to try a plain old PS/2 two button mouse..Still indicates mouse problems.Core will not load or start... I am nearing my wits end..I have never ever had so much trouble on this same systen to get things working..Especially xserver..Debian refuses me ..I can't blame debian because many people use it so it must be me.. It's finally getting to me.. Thanks for reading this dismal post.. jolphil |
Hmm... If it is a mouse problem, then this should be easy to solve.
At first, you could try adding the word psmouse to the end of the /etc/modules file and then reboot to see if that fixed the problem. It probably won't, but it's worth a try anyway. ;) More likely your problem is caused by the "dpkg-reconfigure xserver-xfree86" script configuring two mouse devices ("Generic Mouse" and "Configured Mouse"). Personally I always edit the /etc/X11/XF86Config-4 file afterwards with a text editor, such as nano, and comment out the mouse configuration that seems to cause problems (i.e., I add a hash mark # to the beginning of all the lines which I don't want Xserver to read), and leave just one mouse configuration. Of course, you could simply remove the lines you don't need but commenting is a safer method in case you make some mistake and want to restore the previous settings. If you have two configured mouse devices and you decide to comment out one of them in /etc/X11/XF86Config-4, remember to check also the section "ServerLayout" and comment the InputDevice you don't want X to notice. The problem with manually editing /etc/X11/XF86Config-4 is that the "dpkg-reconfigure xserver-xfree86" script detects that the file has been modified and refuses to update it. But this is not such a big problem because "dpkg-reconfigure xserver-xfree86" has already written a pretty good outline for /etc/X11/XF86Config-4 and it usually needs only very little fine-tuning afterwards. |
Exactly how does the error messages look like in /var/log/XFree86.0.log at the end there?
Does it look something like this? Code:
(EE) xf86OpenSerial: Cannot open device /dev/psaux In that case try installing udev to see if that helps Code:
apt-get install udev |
I just installed udev in my Sarge box with 2.6 kernel. Seems to work fine here, too. :)
Try dastrike's suggestion first. Udev represents the new and more advanced technology, and with kernel 2.6 Linux is moving away from the old devfs. |
Dastrike,
Yes it looks pretty much like you have shown in your post.. I used apt-get to install udev but it said I already had the latest version so it did not install.. Dead parrot, I hashed out the generic mouse in my XF86Config-4 file and I will paste in just the mouse part.. Here it is as of now.. Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" Option "Emulate3Buttons" "true" EndSection #Section "InputDevice" # Identifier "Generic Mouse" # Driver "mouse" # Option "SendCoreEvents" "true" # Option "Device" "/dev/input/mice" # Option "Protocol" "ImPS/2" # Option "Emulate3Buttons" "true" #EndSection I am using Knoppix at the moment(great distro) so when I rebooted I cannot show my /var/log/XFree86.0.log file.. I do not know anything about nano(never heard of it) but use the slow and cumberson "vi".. I just know enough commands to get by.. Thanks for your help..i am still trying.. jolphil |
Hm. I haven't seen that problem myself with a 2.6 kernel with udev installed.
What does the output of the commands Code:
ls -l /dev/psaux Code:
ls -l /dev/input/mice |
dastrike,
Not much luck..For whatever reason I get nothing from either.. ls -l /dev/psaux or ls -l /dev/input/mice I did look from knoppix and they both are there but when I opened them in an editor(kate) they both showed no data in the files... I am almost sure I was in SU at the time..I will try again and if I come up with anything I will post back.. Is there a way to copy from the command line so that I could save and paste the results into a reply post.. For example the /var/log/XFfree86.0.log file changes with every boot(i think)..When I reboot and try to copy the results from knoppix the results are different because Debian did not boot.. This is what I get looking from knoppix..I'm sure it was different when seen from the active debian command line..Was even much bigger and i had to scroll down to get to the last part/.. Pasted: /var/log/XFree86.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Mon Mar 7 19:02:25 2005 (==) Using config file: "/etc/X11/XF86Config-4" Data incomplete in file /etc/X11/XF86Config-4 Undefined InputDevice "Generic Mouse" referenced by ServerLayout "Default Layout". (EE) Problem parsing the config file (EE) Error from xf86HandleConfigFile() tired, I'll try fresh in the morning jolphil |
Quote:
InputDevice "Generic Mouse" under the section ServerLayout "Default Layout". You should add this hash mark. However, your main problem seems to be that udev hasn't created the necessary mouse device(s). Maybe removing udev (apt-get remove udev) and rebooting would help? If you want to save the output of the command "ls -l /dev/psaux" (not a good example, since it gave you no output, but nevertheless) into a file called listdevices.txt in your home directory, you can pipe the output through an utility called tee, like this: Code:
ls -l /dev/psaux | tee ~/listdevices.txt Code:
cat /var/log/XFree86.0.log > ~/Xlog.txt |
Hi DP,
I tried the first command a couple of times and got a "no such file ot directory" The second command "Cat" seemed to work but I cannot read it from Knoppix to send to you... I hand copied some of the last parts of my /var/logXFree86.0.log file...Here it is.. EE Configured Mouse: Cannot open input device EE Preinit failed for input device"configured mouse" II Unload module"mouse" WW No core pointer registered no core pointer Fatal Server error failed to initilalize core devices Please excuse the bad typing.. Thanks for sticking with it.. I much appreciate it.. If I had not had it once operating in the GUI I would have given up long ago but It appears a great distro and I would like to learn more about it.. jolphil |
Yes, the latest error message you posted was kind of expected because the "ls -l /dev/psaux" and "ls -l /dev/input/mice" commands that dastrike suggested gave you no output. This means that neither of these mouse devices is created during boot time and X server cannot start unless you have at least one configured mouse device. (Or, actually, you could probably get X server running by commenting out BOTH mouse devices in XF86Config-4, but what good would that do if you don't have a working mouse?)
So, the next step would be to get Debian to create you a mouse device (either /dev/psaux or /dev/input/mice) during boot time. I think you should try removing udev ("su" to root and do "apt-get remove udev") and reboot your computer. After this you can try if the commands that dastrike suggested ("ls -l /dev/psaux" and "ls -l /dev/input/mice") give any output, like they should. I know that udev doesn't come with the Debian base installation, so you probably installed Gnome or KDE (perhaps by choosing "desktop environment" in the post-installation phase) and udev was installed along with them. As I said in my earlier post, udev is new and advanced technology, but it hasn't yet been thoroughly tested in Debian and so it may cause unexpected problems. I haven't got much experience in playing with udev (I just installed it in my own Debian box) but I would guess that removing udev should force the Linux kernel to use the older devfs technique for creating devices. So, if you remove udev and reboot your computer, I expect Debian to use devfs to create a mouse device (/dev/psaux or /dev/input/mice, possibly both). And after the mouse devices have been created, it shouldn't be too difficult to configure mouse in /etc/X11/XF86Config-4 so that X server can accept it. |
Dead Parrot..You are the "MAN"
Wait!!! A deceased parrot can't be a man..hehe..
Anyway, your suggestion of uninstalling udev did it first shot.. I uninstalled it,rebooted and bada bing..GUI Thank you so much for sticking in there kudos to you and to dastrike too.. You guys are great!! There was no sound and the mouse I don't think had the scroll wheel but that for another day.. jolphil |
Good to hear you got the GUI stuff working. :)
To get scroll wheel working it's usually enough to add the line Option "ZAxisMapping" "4 5" to the mouse section (InputDevice) in /etc/X11/XF86Config-4. To get sound working the usual steps are: 1) Make sure that you've got the packages alsa-base and alsa-utils installed. 2) "su" to root and run alsaconf. At this point you may want to open the file /etc/default/alsa with a text editor (vi will do fine :)) and make sure that it's got the setting alsactl_store_on_shutdown="always autosave" 3) Type exit to become a normal user and run alsamixer, adjust "Master" and "PCM" volume levels with the arrow keys on the keyboard and exit alsamixer with the Esc key. I think that should about do it. If any new problems pop up, don't hesitate to ask more questions. There are lots of experienced Debian users here to help you and I'll hang around here, too, every now and then. |
DP,
I installed alsa from snaptic and ran the alsaconf..Went to the /etc/default/alsa and changed from never save to always save but still no sound..When I open kde I get an message from arts something like this.. Error while initalizing the sound driver Can't open Sound systen will continue using null output... I did a lsmod to see the kernel modules and copied the pertinent parts as follows.. snd_intel8x0 33068 1 snd_ac97_codec 59268 1 snd_intel8x0 snd_pcm_oss 48168 0 snd_mixer_oss 16640 1 snd_pcm_oss snd_pcm 85384 2 snd_intel8x0,snd_pcm_oss snd_timer 23172 1 snd_pcm snd_page_alloc 11144 2 snd_intel8x0,snd_pcm gameport 4736 1 snd_intel8x0 snd_mpu401_uart 7296 1 snd_intel8x0 snd_rawmidi 23204 1 snd_mpu401_uart snd_seq_device 7944 1 snd_rawmidi snd 50660 11 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mix er_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 9824 1 snd hw_random 5652 0 usbhid 28864 0 uhci_hcd 29328 0 shpchp 87148 0 pciehp 83948 0 pci_hotplug 30640 2 shpchp,pciehp intel_agp 20512 0 intel_mch_agp 10000 1 agpgart 31784 2 intel_agp,intel_mch_agp evdev 9088 0 eth1394 19976 0 ehci_hcd 27908 0 usbcore 104164 5 usbhid,uhci_hcd,ehci_hcd dmfe 18716 0 BTW the mouse suggestion did not work but thats for later... Can you spot anything from the modules? thank You, jolphil |
The modules look similar than mine, with the difference that I have a different soundcard. Anyway, they look like alsa-modules, as they should, so probably the modules are OK.
If alsaconf gave no error messages, then I'm inclined to think that you should be able to get sound by playing with mixer settings. Apparently KDE has its own mixer, called kmix, so you can start some game (like Frozen Bubble) or other program that makes sounds and then launch kmix and tweak the sound settings to see if that helps. You can also launch alsamixer again and double-check that Master, PCM, and CD channels are not muted. If they are muted, there's MM at the bottom of the volume bar and if they are not muted, there's OO. You can mute and unmute channels by pressing the M key on your keyboard. Also check with the id command that you belong to the audio group. |
Dead Parrot,
I launched kmix and it appeared to install..I now have a speaker icon on the lower right next to the clock..I played a cd and it plays..I don't have frozen bubble but I have pysol and it plays but i think it may have it's own sound server..Not sure about that one though..I undid the "enable" arts sound and no longer get the error when kde starts.. Wow this is a tooth and nail battle.. Thank you again jolphil PS any newer problems and I better use a new post.. |
All times are GMT -5. The time now is 04:05 PM. |