Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-23-2006, 06:05 AM
|
#1
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Rep:
|
Has anyone got hal working on Slackware 10.2?
Apologies if I've missed the answer to this question but I've trawled through the forum and can't seem to find an solution.
I've recently done a clean install of 10.2, and added FR Gnome as well as a custom 2.6 kernel. FR Gnome installed hal and d-bus but automounting still doesn't work. This seems to be a common theme, and although I have no problem with manually mounting devices it would be nice to get this working properly. Has anyone had any success?
|
|
|
02-23-2006, 06:11 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
hi,
i didn't get it working with GWARE, but it works fine with FRG on a 10.2 system...
are the deamons actually running?
on mine i had to go into /etc/rc.d and do chmod +x on the rc scripts enable them at boot. or that's how i remember it. also there is 'howl' that you should start too.
do "ps -ef|grep -i hald"
|
|
|
02-23-2006, 10:32 AM
|
#3
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by satinet
hi,
i didn't get it working with GWARE, but it works fine with FRG on a 10.2 system...
are the deamons actually running?
on mine i had to go into /etc/rc.d and do chmod +x on the rc scripts enable them at boot. or that's how i remember it. also there is 'howl' that you should start too.
do "ps -ef|grep -i hald"
|
Not sure if the deamons are running. I ran the command and got this output:
4179 4177 0 16:29 pts/1 00:00:00 grep -i hald
which I'm guessing means no.
In /etc/rc.d the following scripts are not executable:
rc.hal
rc.messagebus
rc.howl
rc.udev
Do I need all of these to run? Thanks for any advice. I'm only a few weeks into using Slackware and so far I'm really impressed.
|
|
|
02-23-2006, 11:11 AM
|
#4
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
the udev one is depricated. dont need to chmod it.
but yes, you need to do this:
cd /etc/rc.d/
chmod +x rc.hal
chmod +x rc.messagebus
chmod +x rc.howl
then after you reboot, you should be fine. i believe the FRG install script modifies one of the other scripts to point to these.
hope that helps - it should work after that..... let me know how you get on.
if you want to disable service do 'chmod -x rc.servicename'
there's lots of stuff you can turn off. not that it really makes that much difference...
|
|
|
02-23-2006, 11:11 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 current
Posts: 1,649
Rep: 
|
They have to be executable (and referenced in one of the other files, for example in rc.local which should be already done by the Freerock Gnome installation routine).
Do a "chmod 755 rc.hal rc.messagebus rc.howl rc.udev" or just the ones you need. I don't know if rc.hal alone is enough.
|
|
|
02-23-2006, 11:13 AM
|
#6
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
just to clarify, you dont need to chmod +x the udev one.
do "ps -ef|grep -i udev" and realise that i am as right as ever.... ;-)
|
|
|
02-23-2006, 11:32 AM
|
#7
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Original Poster
Rep:
|
OK, I did the following:
chmod +x rc.hal
chmod +x rc.messagebus
chmod +x rc.howl
and rebooted. Automounting still isn't working but the gnome volume manager now opens and lets me change settings.
The out put from ps -ef|grep -i hald is now:
steve@dadpc:~$ ps -ef|grep -i hald
root 3883 1 0 17:23 ? 00:00:00 /usr/sbin/hald --daemon=yes --retain-privileges
root 3889 3883 0 17:23 ? 00:00:00 hald-addon-acpi
root 3893 3883 0 17:23 ? 00:00:00 hald-addon-storage
root 3914 3883 0 17:23 ? 00:00:00 hald-addon-storage
steve 4555 4542 0 17:29 pts/1 00:00:00 grep -i hald
And I looked in the rc.local file and it contains:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
# To disable howl, chmod rc.howl to 644
if [ -x /etc/rc.d/rc.howl ]; then
echo "Starting Howl mDNS daemons"
. /etc/rc.d/rc.howl start
fi
# To disable dbus, chmod rc.messagebus to 644
if [ -x /etc/rc.d/rc.messagebus ]; then
echo "Starting D-BUS Messaging Subsystem"
. /etc/rc.d/rc.messagebus start
fi
# To disable hal, chmod rc.hal to 644
if [ -x /etc/rc.d/rc.hal ]; then
echo "Starting HAL"
# wait a few seconds to let udev complete its
# initialization. Otherwise hald will not recognize CD/DVD
# drives and will not start polling them
( sleep 5; /etc/rc.d/rc.hal start ) &
fi
Any ideas about what to do next? Thanks for the advice so far.
Edit: do I need to add the halddeamon to the users group or make other group modifications?
Last edited by Steve50; 02-23-2006 at 12:10 PM.
|
|
|
02-23-2006, 01:17 PM
|
#8
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
i'm not sure. just doing that worked for me.
are you sure you've got your settings right in gnome. i.e to displayed mounted devices...
|
|
|
02-23-2006, 01:37 PM
|
#9
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by satinet
i'm not sure. just doing that worked for me.
are you sure you've got your settings right in gnome. i.e to displayed mounted devices...
|
Yes, settings are fine, but when I tried inserting my usbstick nothing happened at all. So I put a blank cd in the drive, and after a few seconds that did mount and appear on the desktop - so progress at least. I then switched to kde and even the cd doesn't automount. Oh well, not a huge problem, but if anyone has any other ideas please let me know. And thanks for the help so far.
|
|
|
02-25-2006, 03:05 PM
|
#10
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
i might have been wrong about the "rc.udev" thing. lol. oops
well try enabling it and see what happens....
|
|
|
02-26-2006, 06:41 AM
|
#11
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by satinet
i might have been wrong about the "rc.udev" thing. lol. oops
well try enabling it and see what happens....
|
Tries this, but doesn't seem to make any difference. Thanks anyway.
|
|
|
02-26-2006, 07:21 AM
|
#12
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,492
Rep:
|
hmmm that's a bit dissapointing.
mine is mounting my iPod name automagically and opening GTKpod....
when you plug something in does it get mounted in /etc/mtab at all?
|
|
|
02-26-2006, 08:39 AM
|
#13
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Original Poster
Rep:
|
In Gnome only the cd gets automounted and shows up in mtab. When I plug in my usbstick or my iaudio they don't show up at all, although I can manually mount them once I find out which node they're mapped to with dmesg | tail. One of the issues I have is that the /dev node changes each time. I have 3 sata disks, and a usb card reader with four slots, which are sometimes picked up at boot, and sometimes not. So sometimes my usbsick is sdd1 and sometimes sdh1, and occasionally something inbetween. In KDE nothing automounts.
|
|
|
All times are GMT -5. The time now is 02:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|