You are not logged in.
Hello, I've just completed an upgrade and I have no keyboard/mouse in X windows.
/var/log/Xorg.0.log contains the following line at the end:
(EE) config/hal: couldn't initialise context: (null) ((null))
What's more, hald is *not* running, dmesg shows:
hald[2903]: segfault at 0 ip 08057f96 sp bff4db50 error 4 in hald[8048000+50000]
Any attempts to run "sudo hald --daemon=no --verbose=yes" fail with (the last lines)
.....
19:55:50.057 [i] hotplug.c:138: /sys/devices/LNXSYSTM:00/device:00/PNP0C01:00 is a device (subsystem)
19:55:50.057 [i] device.c:4406: add_dev: subsys=acpi sysfs_path=/sys/devices/LNXSYSTM:00/device:00/PNP0C01:00 dev= parent_dev=0x00000000
19:55:50.057 [i] coldplug.c:93: creating HotplugEvent for /sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00
19:55:50.057 [i] coldplug.c:277: new event (dev node from udev) '/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00' ''
19:55:50.057 [i] coldplug.c:307: new event (no dev node) '/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00'
19:55:50.057 [i] hotplug.c:138: /sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00 is a device (subsystem)
19:55:50.057 [i] device.c:4406: add_dev: subsys=acpi sysfs_path=/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00 dev= parent_dev=0x00000000
19:55:50.057 [i] coldplug.c:93: creating HotplugEvent for /sys/devices/pci0000:00/0000:00:00.0
19:55:50.057 [i] coldplug.c:277: new event (dev node from udev) '/sys/devices/pci0000:00/0000:00:00.0' ''
19:55:50.057 [i] coldplug.c:307: new event (no dev node) '/sys/devices/pci0000:00/0000:00:00.0'
19:55:50.057 [i] hotplug.c:138: /sys/devices/pci0000:00/0000:00:00.0 is a device (subsystem)
19:55:50.057 [i] device.c:4406: add_dev: subsys=pci sysfs_path=/sys/devices/pci0000:00/0000:00:00.0 dev= parent_dev=0x00000000
19:55:50.059 [W] device_info.c:1109: Unhandled rule (0)!
Segmentation fault
I have tried downgrading kernel, moving to Xorg 1.6 from testing, nothing works, and I am left with an unusable system. Am I the only one?!? I've run out of ideas! Can anyone help?
Thanks!
Last edited by yourself (2009-04-03 14:52:32)
Offline
Add hal to the daemons list in /etc/rc.conf
Last edited by markisthejob (2009-04-03 05:35:24)
Offline
I already have hald in my rc.conf, but since it segfaults, it is never running!!!
I'm really going crazy over here!
Offline
Well, because of HAL you're missing mouse/keyboard in X, that's for sure. So, the good news is that if HAL is repaired, X will have access to the input devices. The bad news is I don't know what's wrong with your HAL. I'm running the X86_64 port of Arch on my desktop and it runs fine. If noone else reports problem with HAL, usually bad hardware can give you segmentation faults (memory, perhaps... try running a memtest).
In love I believe and in Linux I trust
Offline
Of course, but I'm guessing it isn't exactly HAL's fault since there must be something wrong with the 'zero' device HAL is detecting just before the segfault...
/sys/devices/pci0000:00/0000:00:00.0 is a device
And I've just noticed this lspci output. Are these "RAM memory" normal? I'm sure it's the first time I'm seeing them...
lspci:
00:00.0 Host bridge: nVidia Corporation C55 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a2)
00:00.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.7 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:03.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:05.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:06.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:07.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
04:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
05:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)
Offline
already have hald in my rc.conf, but since it segfaults, it is never running!!!
It should be hal - not hald. This is mine:
DAEMONS=(syslog-ng hal samba network netfs crond)
Offline
Yes, yes, sorry, I meant 'hal'.
This is mine:
DAEMONS=(syslog-ng network netfs dbus named @crond @alsa @hal @fam @sshd @openntpd @cups @lighttpd @pulseaudio)
But the problem is that HAL crashes when it runs! It is irrelevant if it is autostarted or not, because it always *crashes*!!!
Offline
I 'semi-solved' my issue by adding:
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
to my xorg.conf and specifying by hand the keyboard and mouse device to be used. This is under no circumstances a solution, since I still have no HAL running but hey, I can actually *use* my computer now!
Offline
I've solved my problem. It seems there was some garbage left in HALs cache, so a
sudo rm /var/cache/hald/fdi-cache
solved my problem once and for all!
Offline
I was killing myself for an hour to figure out why X input was dead, and traced it to a segfaulting hald which I just couldn't get to run. Just after I found this last suggestion, my hald started working again before I could try it...
Glitches like this amaze me. Since I use GDM, I had to cut the power and boot into single user mode (can't even switch to a VT). I first thought of SSHing in, but because I use networkmanager, which uses hal, that was busted too... hal is a really flaky essential part of my laptop use, and it really bothers me.
Offline
I've solved my problem. It seems there was some garbage left in HALs cache, so a
sudo rm /var/cache/hald/fdi-cache
solved my problem once and for all!
I just had the same problem, and removing the cache works
Thanks a lot for the solve
Should we highlight this bug anyway?
Last edited by maattd (2009-07-05 19:56:12)
Offline