Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st January 2010, 04:07 PM
rbroberts Offline
Registered User
 
Join Date: Sep 2005
Location: Brooklyn, NY
Posts: 55
linuxfedorafirefox
hald segfault on startup, but runs manually

hald started segfaulting on startup on my laptop. I booted the laptop and all was well. I then installed fxload and moved a firmware file, installed a new udev rule, and added a patch to usb.ids to support a piece of hardware I'm working on. I HUP'd udevd and all was well. I had also installed a PAM console.perm rule that, as it turns out, doesn't work with F11 because that is not taken care of by hal. The rule had worked under F8-F10. So, I removed the rule, and started work on a hal rule which I installed. It didn't work, even after bouncing hal. A short while later, I rebooted and while the system booted all the way to the GUI login screen, I couldn't type or use the mouse to log in. So I hit the power switch which let it shutdown gracefully and rebooted to run level 1. I manually changed run levels up through 5 to watch the process which is when I noticed that hald failed to start.

Okay, reboot again to run level 3, remove all the changes I had made and try again. hal still wouldn't start, but I could just type "hald" on the command line and it would start just fine. I remove /var/cache/hald/fdi-cache to make sure there wasn't a copy of my (since removed) hal rule for the new device. I had already removed the rule, the firmware file, the udev rule and the unused pam console permission rule. I even uninstalled fxload. Reboot, hal won't start.

At this point, I'm back to where I started a couple of hours earlier and hal won't start. To make it even weirder,
Code:
/etc/rc.d/init.d/haldaemon start
fails, but
Code:
sh /etc/rc.d/init.dhaldaemon start
works.

A typical syslog message looks like this:
Code:
Jan  1 00:39:12 leavitt kernel: hald[1359]: segfault at 0 ip 08065ffa sp bfe830b0 error 4 in hald[8047000+5b000]
Only the sp value changes with each failure.

Aaarrrggg! Can anyone throw me a clue?
Reply With Quote
  #2  
Old 4th January 2010, 02:27 AM
rbroberts Offline
Registered User
 
Join Date: Sep 2005
Location: Brooklyn, NY
Posts: 55
linuxfedorafirefox
I tried to fake out the start-up by creating a new start-up script called haldaemon-hack that just does
Code:
sh /etc/rc.d/init.d/haldaemon "$@"
No joy, it fails when called by init, but works when run directly.

So what is with the environment from init that is killing hald? Right now I'm having to interrupt the boot and stop at level 3 so I can start hald. If I don't the X keyboard and mouse won't work.
Reply With Quote
  #3  
Old 24th February 2010, 09:57 PM
rbroberts Offline
Registered User
 
Join Date: Sep 2005
Location: Brooklyn, NY
Posts: 55
linuxfedorafirefox
I gave up. It works again in Fedora 12, but no updates ever fixed the problem.
Reply With Quote
Reply

Tags
hald, manually, runs, segfault, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hald segfault oblivian69 Using Fedora 3 27th June 2009 02:13 PM
hald seg fault relics_rage Using Fedora 0 27th December 2004 03:33 PM


Current GMT-time: 14:17 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat