You are not logged in.

#1 2008-12-26 15:06:44

syms
Member
Registered: 2008-12-25
Posts: 296

HAL daemon fails to start

Im setting up my system and i need hal daemon, so i added it to /etc/rc.conf in daemons line, but when i restarted my pc, clicked on storage media in kde and its empty. when i try manually start hal, it gives me message fail, i have no conflicts with dbus. how can i start hal?

Offline

#2 2008-12-26 15:32:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,503
Website

Re: HAL daemon fails to start

Does running /usr/sbin/hald give any useful output?

Offline

#3 2008-12-26 15:39:49

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

Allan wrote:

Does running /usr/sbin/hald give any useful output?

This command gives me nothink. someone had same idea, and he said that he fixed it after adding md module in rc.conf. but i dont understand how can i add md module in rc.conf and what command i need to enter

Offline

#4 2008-12-26 15:51:24

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: HAL daemon fails to start

Did you try to unplug and replug your external device? I'm guessing it fails when you manually try to start it because it's already started at system start-up.

Boot your system with hal enabled in rc.conf and your external device unplugged, when it's finished booting and you're in X, plug in your device and see what happens.

Cheers.

Offline

#5 2008-12-26 16:02:37

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: HAL daemon fails to start

What is the output of this command?

$ ps -A | grep hal

It sounds to me like hal is already running, so that's why "start" fails.  "restart" (or "stop" then "start") shouldn't fail. /usr/sbin/hald shows nothing which is normal.

Offline

#6 2008-12-26 16:05:14

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

tdy wrote:

What is the output of this command?

$ ps -A | grep hal

It sounds to me like hal is already running, so that's why "start" fails.  "restart" (or "stop" then "start") shouldn't fail. /usr/sbin/hald shows nothing which is normal.

 2525 ?        00:00:00 hald
 2591 ?        00:00:00 hald-runner
 2636 ?        00:00:00 hald-addon-acpi

i tried to stop hal, it says fail, i try to restart it says fail, in other words if i try to stop/restart/start hal it just says fail.

Offline

#7 2008-12-26 16:06:30

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: HAL daemon fails to start

Based on that output, hal is already running.  Are you using /etc/rc.d/hal as root?

Offline

#8 2008-12-26 16:27:45

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

tdy wrote:

Based on that output, hal is already running.  Are you using /etc/rc.d/hal as root?

i tried remove hal from rc.conf now when i go to storage media i see hdd, cdrom and floppy, but when i click on cd or floppy it says "Feature only available with HAL" then i try start hal, but still it gives me same error

Offline

#9 2008-12-26 16:30:21

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

tdy wrote:

Based on that output, hal is already running.  Are you using /etc/rc.d/hal as root?

i tried remove hal from rc.conf now when i go to storage media i see hdd, cdrom and floppy, but when i click on cd or floppy it says "Feature only available with HAL" then i try start hal, but still it gives me same error

Offline

#10 2008-12-26 16:37:10

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: HAL daemon fails to start

You didn't answer the question.. are you calling /etc/rc.d/hal with root privileges? 

Based on the earlier output, hal was already running fine, so there's no point in stopping/starting/restarting it anyway.  However, if you want to manually restart it, you need to be root or use sudo.

Offline

#11 2008-12-26 16:48:52

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

Yes, i tried with root privileges, still same result. If its running why konqueror shows error?
and sorry for my double post
Edit: I just tried to insert usb stick, and arch didnt react at all, so i think hal is not running

Last edited by syms (2008-12-26 16:53:29)

Offline

#12 2008-12-26 16:55:21

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: HAL daemon fails to start

syms wrote:

If its running why konqueror shows error?

because you said you removed hal from rc.conf in your last post.  `ps -A | grep hal` already showed hal processes running before that.  hal was running until you removed it..

Put hal back in rc.conf and make sure you've followed the HAL ArchWiki, especially the part about joining the 'storage' and 'optical' groups.

Last edited by tdy (2008-12-26 16:58:28)

Offline

#13 2008-12-26 17:06:11

sa
Member
From: boston ma
Registered: 2008-05-23
Posts: 127
Website

Re: HAL daemon fails to start

just to make sure - run

sudo /etc/rc.d/hal start

if it doesn't work, please post the output

Offline

#14 2008-12-26 17:13:28

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

tdy wrote:
syms wrote:

If its running why konqueror shows error?

because you said you removed hal from rc.conf in your last post.  `ps -A | grep hal` already showed hal processes running before that.  hal was running until you removed it..

Put hal back in rc.conf and make sure you've followed the HAL ArchWiki, especially the part about joining the 'storage' and 'optical' groups.

When i put it back and restart pc, i go to storage media and now i dont see anythink, i dont see cdrom, dvd, floppy and hdd driver. so what can i do now? i followed instructions good, but this dont helps

Last edited by syms (2008-12-26 17:17:25)

Offline

#15 2008-12-26 17:18:34

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

sa wrote:

just to make sure - run

sudo /etc/rc.d/hal start

if it doesn't work, please post the output

[simas@myhost ~]$ sudo /etc/rc.d/hal start
:: Starting Hardware Abstraction Layer                                   [FAIL]
[simas@myhost ~]$ sudo /etc/rc.d/hal stop
:: Stopping Hardware Abstraction Layer                                   [FAIL]
[simas@myhost ~]$ sudo /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer                                   [FAIL]
:: Starting Hardware Abstraction Layer                                   [FAIL]
[simas@myhost ~]$

Here i typed all commands.

Offline

#16 2008-12-26 17:21:16

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: HAL daemon fails to start

syms wrote:

When i put it back and restart pc, i go to storage media and now i dont see anythink, i dont see cdrom, dvd, floppy and hdd driver. so what can i do now

You keep ignoring half of what I say.  Please read my entire posts...  I will repeat myself one more time and then I'm done with the hand holding.

tdy wrote:

Put hal back in rc.conf and make sure you've followed the HAL ArchWiki, especially the part about joining the 'storage' and 'optical' groups.

Offline

#17 2008-12-26 17:35:15

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

tdy wrote:
syms wrote:

When i put it back and restart pc, i go to storage media and now i dont see anythink, i dont see cdrom, dvd, floppy and hdd driver. so what can i do now

You keep ignoring half of what I say.  Please read my entire posts...  I will repeat myself one more time and then I'm done with the hand holding.

tdy wrote:

Put hal back in rc.conf and make sure you've followed the HAL ArchWiki, especially the part about joining the 'storage' and 'optical' groups.

I followed instructions, but the result is same

Offline

#18 2008-12-26 18:30:40

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

Ok, i inserted floppy word into etc/rc.conf and when i restarted pc i see floppy in storage media but nothink else. when i insert disk in floppy, double click on icon, floppy mounts good. so i guess hal is working, but why i dont see any other media? maybe i should add to line MODULES in rc.conf some more words about my media? i tried insert cdrom, but it didnt work. im waiting for a reply
by the way, heres my rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Vilnius"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(forcedeth slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore floppy)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
 eth0="eth0 89.116.179.73 netmask 255.255.255.252 broadcast 82.137.129.255"
INTERFACES=(lo eth0)
gateway="default gw 89.116.179.74"
ROUTES=(gateway)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 89.116.179.74"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(hal syslog-ng network netfs crond)

Last edited by syms (2008-12-26 18:31:38)

Offline

#19 2008-12-26 20:13:23

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: HAL daemon fails to start

put hal at the end of the list


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#20 2008-12-26 20:52:57

syms
Member
Registered: 2008-12-25
Posts: 296

Re: HAL daemon fails to start

theringmaster wrote:

put hal at the end of the list

Didnt help sad

Offline

#21 2008-12-28 09:39:45

Yagi858
Member
Registered: 2008-12-17
Posts: 31

Re: HAL daemon fails to start

Try to remove and reinstall udev first.  Then install pmount and after all perform a full upgrade.

Last edited by Yagi858 (2008-12-28 09:41:15)

Offline

#22 2008-12-28 10:47:24

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: HAL daemon fails to start

Offline

#23 2008-12-28 11:24:07

grndrush
Member
From: Hamilton, Ontario, Canada
Registered: 2003-12-28
Posts: 136
Website

Re: HAL daemon fails to start

Retract the above. Wrong thread. Sorry.

Offline

#24 2008-12-28 16:21:44

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: HAL daemon fails to start

First, ensure that you are in the storage and optical group.

If kde doesn't automatically prompt what to do when you insert a CD or usb, you should
enable automount by
open KDE Control Center > Peripherals > Storage Media, then look on the Advanced tab for "Enable medium application autostart after mount", should be checked.

Offline

#25 2008-12-28 17:56:41

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: HAL daemon fails to start

Are you using the [testing] repository? Just curious

Offline

Board footer

Powered by FluxBB