You are not logged in.

#1 2009-04-02 17:00:37

yourself
Member
Registered: 2008-10-23
Posts: 120

[SOLVED] No keyboard/mouse in X + hald crashes!

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

#2 2009-04-03 05:34:52

markisthejob
Member
From: Cork, Ireland
Registered: 2008-09-01
Posts: 63

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

Add hal to the daemons list in /etc/rc.conf

Last edited by markisthejob (2009-04-03 05:35:24)

Offline

#3 2009-04-03 08:58:40

yourself
Member
Registered: 2008-10-23
Posts: 120

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

I already have hald in my rc.conf, but since it segfaults, it is never running!!!

I'm really going crazy over here!

Offline

#4 2009-04-03 09:34:40

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#5 2009-04-03 12:23:31

yourself
Member
Registered: 2008-10-23
Posts: 120

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#6 2009-04-03 12:53:25

markisthejob
Member
From: Cork, Ireland
Registered: 2008-09-01
Posts: 63

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#7 2009-04-03 12:56:25

yourself
Member
Registered: 2008-10-23
Posts: 120

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#8 2009-04-03 13:08:24

yourself
Member
Registered: 2008-10-23
Posts: 120

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#9 2009-04-03 14:51:39

yourself
Member
Registered: 2008-10-23
Posts: 120

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#10 2009-04-07 02:05:08

ploxiln
Member
Registered: 2006-10-27
Posts: 50

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

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

#11 2009-07-05 19:55:54

maattd
Member
From: Toulouse, France
Registered: 2008-08-23
Posts: 56
Website

Re: [SOLVED] No keyboard/mouse in X + hald crashes!

yourself wrote:

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 smile

Should we highlight this bug anyway?

Last edited by maattd (2009-07-05 19:56:12)

Offline

Board footer

Powered by FluxBB