Hal & multiuser

Dear all,
I'm using Arch (+Gnome) in a multiuser environment, so a lot of people uses  Arch computers.
For me is a problem to add  hundred of users to storage groups in a lot of computers.
In other distro, each user is able to use USB stick and other removable devices without edit configuration files, is it possible also under ARCH?
How can I permit to use removable storage to each user that use an Arch computer?
Thanks
morellik

Thanks a lot, works fine :-))
I've only a related problem to solve. Under Gnome I'm unable to umount the volume through the usb stick icons that appears on the desktop, cause the error:
umount: /media/KINGSTON is not in the fstab (and you are not root)
But I'm able to umount double clicking on the Computer icon and than right click on the kingston icon and selecting umount volume.
Strange behaviour.

Similar Messages

  • Automount whitout HAL [SOLVED]

    Hello everyone.
    I just reinstalled my system and i discovered that hal is no longer suported.
    My trouble is mount automatically usb discks, sdcards, dvds, etc.
    I read about it and i'm follow the steps inside
    https://wiki.archlinux.org/index.php/Ud … n-mounting
    but i'm not comfortable with the fact that you need to harcode one user for enable the unmount only for this.
    I'm waiting a multiuser solution, maybe whit autofs or pmount, but all i readed in arch wiki uses HAL.
    Do you have some sugests?
    Thanks!
    Last edited by xalabin (2011-08-22 22:26:02)

    @Xalabin - I think I'm experiencing the same problem and it started under similar circumstances (system purge and upgrade).  I just sat down to look into the issue, so I will note this post and reply back if I learn something. 
    Also, I start xfce4 with the following line in .xinitrc. 
    exec ck-launch-session startxfce4
    dbus is loaded as a daemon in rc.conf, but I don't have "dbus-launch" in my .xinitrc file.  Do I need it there?  I think dbus-launch is running because of the following.
    $ ps -A | grep dbus
    827 ? 00:00:00 dbus-daemon
    1688 ? 00:00:00 dbus-launch
    1689 ? 00:00:00 dbus-daemon
    EDIT:  I can mount my devices from the command line using the following command.  No password is requested, so clearly I'm assuming I have the permission to mount drives.  Still no automount though.
    udisks --mount [device name]
    Last edited by tlawren (2011-08-23 02:29:28)

  • External USB HD does not work with HAL:

    External USB HD does not work with HAL:
    From the last 10 days the HAL auto-mount with ntfs-3g file system of my external hard drive  does not woks.
    But the manual mount procedure with the command mount -t ntfs-3g /dev/sdb* /mnt/XYZ works.
    I've followed the instructions in the wiki: http://wiki.archlinux.org/index.php/HAL and the system has worked up to the last kernel or HAL update.
    My fat32 usb-stick works without any problem.
    If I try to open the device with KDE it appears an error popup wit this message:
    TODO: have to rethink extra options
    Error: kio_media_mount_helper
    The log from the kernel.log is
    Nov 6 22:03:16 myhost usb 5-1: new high speed USB device using ehci_hcd and address 4
    Nov 6 22:03:16 myhost usb 5-1: configuration #1 chosen from 1 choice
    Nov 6 22:03:17 myhost Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    Nov 6 22:03:17 myhost ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    Nov 6 22:03:17 myhost Initializing USB Mass Storage driver...
    Nov 6 22:03:17 myhost scsi6 : SCSI emulation for USB Mass Storage devices
    Nov 6 22:03:17 myhost usb-storage: device found at 4
    Nov 6 22:03:17 myhost usb-storage: waiting for device to settle before scanning
    Nov 6 22:03:17 myhost usbcore: registered new interface driver usb-storage
    Nov 6 22:03:17 myhost USB Mass Storage support registered.
    Nov 6 22:03:22 myhost scsi 6:0:0:0: Direct-Access WDC WD32 00JB-00KFA0 0811 PQ: 0 ANSI: 0
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sdb: sdb1
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Attached SCSI disk
    Nov 6 22:03:22 myhost sd 6:0:0:0: Attached scsi generic sg2 type 0
    Nov 6 22:03:22 myhost usb-storage: device scan complete
    and the error.log is
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Do you have some idea ....
    Bye.

    I have done the following:
    Downloaded the patched hal version.
    used makepkg in /abs/local/trunk/ to create a pkg for pacman
    used sudo pacman -U pkgname to install it.
    used sudo nano /etc/hal/fdi/policy/preferences.fdi to create the fdi file with the following content:
    saved the file and removed my ntfs entryes from fstab and rebooted. and still there is no automount off ntfs partitions.
    have i done something wrong?
    br fjodork
    WARNING: what follows is a guide of what did work for me, I'm still in an early stage of learning linux, so please correct me if anything of what follows is wrong/dangerous/stupid. As I said, this worked for me, it's not pretty, since I was learning each step on the fly and I'm sure there are better ways to do this.
    So fjodork, you seem to have done the the necessary steps, though i couldn't get it to work until i first removed hal without dependencies
    pacman -Rd hal
    it will give you some warning about the dependencies, ignore  it since we are reinstalling hal in a few steps.
    First i tried to follow Raymano's link, obviously it showed me nothing in the browser so I thought it might be a broken link.
    So I downloaded the source tarball from here http://hal.freedesktop.org/releases/hal-0.5.10.tar.gz
    unpacked it changed the /tools/hal-storage-mount.c as per Milfadoodle's instructions.
    at first I tried to compile directly from source, the process would finish without a glitch though after reboot nothing changed, as if hal weren't
    installed, i guess there were issues with paths. anyway read on
    Then repacked the source in tarball, copied it to /var/abs/extra/system/hal and modified the PKGBUILD as follows
    makedepends=('pkgconfig' 'gperf')
    options=('!libtool')
    install=hal.install
    source=(${pkgname}-${pkgver}.tar.gz #removed url so makepkg looks in the current directory for the tarball
        hal
        hal-policy.patch
        cryptsetup_location.patch
        hal-0.5.9-hide-diagnostic.patch
        ntfs3g-valid-options.patch)
    md5sums=('6641c30a27c00485c6accac5110ff911' # replace with md5sum of your package's sourceball (run md5sum filename)
             '882f67668cb14a0a9e4a27ef22278027'
             '5ba8b610aa9763a5f42b9f7cbd7a86ad'
    then makepkg (i had to add --asroot, don't ask why
    and finally pacman -U hal-0.5.10-1-i686.pkg
    another reboot and everything worked without a glitch!:D (yeah i know i still haven't got rid of the reboot mentality )
    I have also put the policy files as per the wiki instructions.
    PS: I know this is a dirty way to getting things done but as i said, I'm just starting
    If anyone could comment/correct/explain this post I'd be more than happy, the automount issue was bothering me for about a month now (you'll say why do I need ntfs in the first place? well, I only recently switched for Linux as my primary OS, these are some relics of the M$ era

  • Issues with Hal and Xorg

    Hello!
    I re-install my Arch Linux with install for FTP and it is 100% update!
    The prolems are:
    1- The HAL not work with normal user, I add the use in hal.conf but not functional.
    OBS: My user is "Alexandre"
    <!DOCTYPE busconfig PUBLIC
    "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
    <busconfig>
    <!-- This configuration file specifies the required security policies
    for the HAL to work. -->
    <!-- Only root, user hal and user alexandre can own the HAL service -->
    <policy user="hal">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="root">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <policy user="alexandre">
    <allow own="org.freedesktop.Hal"/>
    </policy>
    <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
    receive_sender="org.freedesktop.Hal"/>
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
    receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
    receive_sender="org.freedesktop.Hal"/>
    </policy>
    <!-- Default policy for the exported interfaces; if PolicyKit is not used
    for access control you will need to modify this -->
    <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    </policy>
    </busconfig>
    2- The Xorg
    While start second session (startx -- :1) I`m NOT CAT SEE tty1 tty2 tty3... AND THE FIRST SESSION OF XORG (startx -- :0)
    It is bug?
    Other issue is my trackpoint of IBM Thinkpad X60s, the scroll not work.
    I have add
    Option "ZAxisMapping" "4 5 6 7"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    but not work.
    Thanks.

    Not unranked,
    i'm no got the message "permission denid", it not auto mount.
    While I mount in shell (mount /dev/sdb1 /mnt/pen) it is mount correct.
    while I active the daemon GDM on boot and make login with normal user, the hal work correct, but when I'm not use GDM and make login in shell (init 3) the HAL not work.
    thanks

  • New to Arch. Hal issue?

    I will start off by saying how quick and unbloated i am finding my Arch w/ XFCE install.
    However, i think i have a problem with HAL? I followed the beginners Wiki from start to finish, i don't think anything went wrong.
    I cannot mount the DVD drive, nor can i see my other NTFS drives. When i insert a disc it will show on the desktop with the title name, but when i click on it i get this error. Here is an example of a DVD i inserted, but it does the same regardless of media type.
    Unable to mount "WATCHMEN_D1_EU":
    Rejected send message, 1 matched rules; type="method_call", sender=":1.21" (uid=1000 pid=4689 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2908 comm="/usr/sbin/hald))
    It might be something obvious, but i had a look in the Wiki at the Hal section, and i reinstalled it and dsub etc but thats as much as i know.

    wonder wrote:i guess you are using as login into xfce startx. you need to modify .xinitrc from 'exec  wm' to 'exec ck-launch-session wm'
    Hi, I'm having the same problem. I have followed the info on the wiki regarding the /etc/hal/fdi/information/*
    but there is no such file on my machine. Also I have removed the automount options for the CD and DVD in the /etc/fstab, still didn't help.
    There is a link here regarding the .ck in the xinitrc: http://bbs.archlinux.org/viewtopic.php?id=59986, I have tried this and it doesn't still work.
    All of the directories in the /etc/hal are empty, should I do some configuration myself in these directories? I'm a noob....
    In my case the DVD and CD get recognized by Thunar, but they don't get mounted to /media/cd or /media/dvd directory...
    I have been checking out the /etc/rc.d/hal script, because I wanted to add the --use-syslog option for the hald, so that I can see what is happening using dmesg... being noob, I didn't want to mess around with rc.d... is there a way to start the hald using this script so that HAL writes to sys logs? /etc/rc.d/hal -help just gave what it defined as help within itself {stop, start, restart} ....
    I forgot to mention: my USB HDD drives of all sorts get recognized and mounted by udev rules without a problem... just additional info.
    SOLVED: I just needed a full restart.
    Not SOLVED: it works through THUNAR, when THUNAR is up, it mounts and creates the appropriate directories within /media dir, but without THUNAR, nothing get's mounted and no directories are created within /media.
    Any advice?
    Last edited by tomislavski (2010-04-16 16:10:01)

  • Problem with installing OS. hal.dll missing or corrupt

    I feel I have a hardware issue with this laptop. It is a M115-S3095. I had XP home installed but had driver issues. Now I have the recovery disk with it I get "Error 10DD0A0057". One time I did get my retail XP copy to install it gave me "hal.dll is missing or corrupt". To add to the mix I can not boot a Linux OS Disk. It just get to the installing logo and thats it. The hard drive has been tested good , Memory check was good. So just to pick brains and I know some of you know alot more than me...Do we need a motherboard replacement ? I work on alot of laptops and this is a new one on me. Thanks in advance for any input.

    > On Thu, 28 Sep 2006 17:18:05 GMT, [email protected] wrote:
    >
    > > I've tried creating a completely new image , it also seems to happen if we
    > > use the image to reimage the exact same computer ( no hardware
    > > diffrences)... any ideas?
    >
    > did it work before? what has changed?
    > --
    >
    > If you have already compiled drivers or have linux.2 please put them on
    > http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    > Live BootCd and USB Disk from Mike Charles
    > http://forge.novell.com/modules/xfmod/project/?imagingx
    > eZie http://forge.novell.com/modules/xfmod/project/?ezie
    >
    > Marcus Breiden
    >
    > If you are asked to email me information please change -- to - in my e-mail
    > address.
    > The content of this mail is my private and personal opinion.
    > http://www.edu-magic.net
    yes , on one computer we have used that image before without any other
    problems. The computer we are using is the exact same model as the one we
    used to take the image from.
    In the other case we are taking a computer and imaging it to another drive
    in order to replace the drive. So everything is the same , except for the
    drive.

  • Extract data from Essbase with HAL to a flat file

    Hello,
    I would like to extract data from Essbase with HAL.
    I use the essbase Adapter with the "Extract Data" Method.
    All is working when I use only the essbase Adaptater and configure it.
    But I want to have a variable on my Years dimension.
    I have to fill "Years member port" and "Years Criteria port" of my essbase Adapter with variable.
    I have a "v_year" and "v_year_criteria" variable. I fill "v_year" with "FY05" but I don't know how fill my "v_year_criteria" variable.
    Thanks a lor for answer.

    If you are in 9.3x, I would recommend using the DATAEXPORT calc script function. You just FIX on what you want to export (including substitution variables), and then fill in some parameters and it writes a file. Look in the DBAG.

  • Guide to overcome hal.dll error - disk error & other errors.

    Okay to start off with - guide for installing bootcamp.
    DISCLAIMER:
    I take no responsibility at all - whatsoever for any damage the following steps cause to anything. If you follow this guide and then are annoyed at me in any way - don't be - you followed these steps knowing they could be dangerous to your hard drive / computer / sanity / etc. That said - good luck & these steps should work for everyone.
    requirements: XP SP2 CD & a copy of parallels would be useful. Also a non-apple usb keyboard for step 1 if the apple one doesn't work during xp bootup.
    1. First try the usual bootcamp assistant method. Insert the xp disk, in the setup make sure you format the drive to NTFS (not quick). If you don't get this option - skip to step 3.
    2. Reboot and hopefully everything will go without a hitch. If it doesn't and you get a hal.dll error or any other kind of error go on to the next step.
    3. Boot up mac os x. Install parallels desktop.
    4. Insert your windows xp sp2 cd.
    5. Create a new virtual machine using a virtual hard drive saved in your documents folder somewhere.
    6. Configure it so that the bootcamp drive is added as an extra secondary drive in the virtual machine. (Little plus button down at the bottom).
    7. Install XP onto the virtual machine - don't activate or anything, just get to the desktop stage as fast as possible.
    8. Parallels will have already asked for your password to dismount the boot camp drive.
    9. Double click my computer in the virtual machine, then hold down ctrl+shift and click on the BOOTCAMP partition in the my computer window.
    10. Click format.
    11. Select NTFS as file format, check enable compression - do not check quick format.
    12. Wait till its finished and then power down the virtual machine.
    ------- The following steps are taken from http://communities.vmware.com/thread/114529 and were written by MandarMS from the vmware forums. I have edited the guide a little - (you'll see where). Thanks and all credit to MandarMS.----
    13. (James: Close parallels)
    14. Quit all applications in Host Mac OS X
    15. Open Terminal utility from Macintosh HD : Applications : Utilities folder.
    16. Key-in the following command
    $ sudo fdisk /dev/rdisk0
    17. Preferably take the screenshot of the output or Note down the output (for restoring MBR).
    18. Key-in the following command
    $ sudo fdisk -e /dev/rdisk0
    setpid 3
    Choose 07 (as the partition type)
    write
    Y
    Restart your Mac System
    (James: EDIT - BELOW IS AN EXAMPLE OF THE OUTPUT OF THE PROGRAM IF YOU ARE UNSURE OF WHAT TO TYPE IN WHERE - This confused me at first but really helped in the end - James)
    For more details please check the example shown below:
    $ sudo fdisk -e /dev/rdisk0 (this will help to change the MBR)
    $ fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
    Enter 'help' for information
    fdisk: 1> setpid 3 (Enter “setpid 3” press enter key)
    Starting Ending
    #: id cyl hd sec - cyl hd sec start - size
    *3: 0B 1023 254 63 - 1023 254 63 1127792680 - 337356448 Win95 FAT32L
    Partition id ('0' to disable) 0 - FF: [C] (? for help) 07 (Enter 07 Partition table)
    fdisk:*1> write (enter “write” press enter key, This will change the MBR)
    Device could not be accessed exclusively.
    A reboot will be needed for changes to take effect. OK? [n] Y (Press Y to modify changes)
    Writing MBR at offset 0.
    $ fdisk: 1> exit (enter “exit”, press enter key)
    19. Restart your Mac System
    ------ Back to me again.
    20. Welcome back - your drives have just been fixed. Reboot again and insert the windows xp sp2 cd. Hold down option at startup and boot from the cd.
    21. Go through the setup again - this time don't do anything to the drives when it asks you to format.
    22. wait...
    23. It'll reboot......
    24. It'll install..... if it doesn't - skip to step 26
    25. Welcome to windows, install your drivers and reboot a couple more times. You're good.
    26. (it didn't work... you got the hal.dll error or something similar) Boot up mac os x again and launch parallels.
    27. Start up the virtual machine - open up BOOTCAMP in my computer.
    28. Click view - folder options
    29. View types > make sure you can see hidden files and folders, view system files and etc.
    30. Right click boot.ini and click properties
    31. Uncheck read-only.
    32. Click okay - open boot.ini in notepad.
    33. If you're on a mac with 2 partitions: 1 mac hd, 1 bootcamp, delete everything in the boot.ini file and copy and paste the following into it:
    \[boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
    \[operating systems]
    multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
    Obviously change the name to suit. Save it and reboot - you should be good to go now.

    Hi. Your bootcamp drive should be drive C. It shouldn't matter what drive letter it is really, you make the virtual machine disk as a virtual disk saved in your documents folder and hook it in to use your physical bootcamp drive.
    Ensure you've typed in the correct command and correct password. Press enter after you type in the password. You won't see it as you type it in, and you may need to wait some time afterwards before you'll see the next prompt. Leave it 2 minutes.
    Sorry I've been abroad.. hope you have it worked out by now anyway mate.

  • Using HAL to generate XML files

    Greetings,<BR>I'd like to use HAL to build XML files and feeding certain variables while these files are generated. When the XML file is done being created, it will contain the variables passed. There are over 500 XML required to be build and for each of these files, only 2 or 3 variables must be passed to them. A template of the xml file was created using the Batch scheduler from Hyperion Reports, and this is the file I'd like to use as a template and build a HAL adapter based on that file.<BR><BR>Does any one have a sample of the XML adapter (via screen shot) that I can use a starting guide?<BR><BR>Many thanks in advance for your time.

    Hi,
    I'm running into the same problem deploying the classes generated by the class generator. Code works fine from JDeveloper, but had to put my DTD in the directory where my classes are. Deploying the classes with Apache's JServ gives me a NullPointer exception on the first addNode method. I guess it can't find the DTD. I tried to put the DTD in many locations but this didn't fix the problem. Any suggestions?
    Steve,
    Did you fix this problem? Thanx!
    null

  • Looking for a HAL mounting gkrellm plugin

    Hi, I've decided to finally look into using HAL to mount/umount devices. So I commented out the entries for cdrom and all my other removable devices I've had in /etc/fstab and now I'm looking for an app that lets me mount and unmount the devices
    My WM is fluxbox and so I'd prefer either a gkrellm plugin or a way to incorporate that into my menu.

    I'd suggest you use halevt from aur.
    You can add some mount device command to your menu if specific hal condition occures.

  • HAL Error - Thunar-volman / USB Hard Drive

    On my last arch setup, I installed hal,gamin, thunar and thunar-volman.  I could then plug in my usb HD and when U turned it on it would mount. I could then read and write to it as a user.  This time when I installed the same programs, added hal to my rc.conf, added my user to groups storage and optical, and plug in my drive, I get an error that says
    A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal").
    fdisk -l
    Disk /dev/sda: 80.0 GB, 80025280000 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x562c2a8b
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 9729 78148161 7 HPFS/NTFS
    Disk /dev/sdb: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x39473947
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 9 72292 83 Linux
    /dev/sdb2 10 42 265072+ 82 Linux swap / Solaris
    /dev/sdb3 43 1190 9221310 83 Linux
    /dev/sdb4 1191 30401 234637357+ 83 Linux
    Disk /dev/sdc: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0dde34f3
    Device Boot Start End Blocks Id System
    /dev/sdc1 1 60801 488384001 83 Linux
    blkid
    /dev/sda1: UUID="C81886E81886D53A" TYPE="ntfs"
    /dev/sdb1: UUID="638d081d-a3c7-4df9-88b6-6ee99085c55c" TYPE="ext2"
    /dev/sdb2: TYPE="swap" UUID="ca1a0f1d-78fc-4dfc-b2c2-c82e063d0fbb"
    /dev/sdb3: UUID="8d2ef431-b599-4c58-913f-781d96d8036d" SEC_TYPE="ext2" TYPE="ext3"
    /dev/sdb4: UUID="ae11e87d-57d4-4016-a839-955ee76c1e96" SEC_TYPE="ext2" TYPE="ext3"
    /dev/sdc1: UUID="196c625c-f949-4889-b1e1-fec7d9f5da22" TYPE="ext3" SEC_TYPE="ext2"
    mount
    /dev/sdb3 on / type ext3 (rw)
    none on /dev type ramfs (rw)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw)
    none on /dev/shm type tmpfs (rw)
    /dev/sdb1 on /boot type ext2 (rw)
    /dev/sdb4 on /home type ext3 (rw)
    If I plug the drive in and do a su -c 'mount /dev/sdc1 /home/justin/backup' it mounts fine to /home/justin/backup
    I dont know if I am in the wrong group or I need to add the drive to my /etc/fstab . I googled the error, and it seems to give me a bunch of hits, but all relating to cdroms and kde bugs.  I tried to post any relevant commands I could think of, if their is anything else needed, please let me know.  Thanks, Justin

    device descriptor read/64, error -110
    I just got that same error message (but not some of the others you have) after a system update to kernel 3.4.3-1-ARCH. This happens for me when using a (slow) USB drive... but only under a heavy read/write load. I'd never had this problem before using the same applications and hardware.
    So I poked around in the kernel source code. That message occurs when the kernel tries to send a Control Message to a USB device, but the operation times out. But... you can change the timeout value.
    If you do a "modinfo usbcore", you'll see that one it's parameters is "initial_descriptor_timeout" and it defaults to 5000 milliseconds (5 seconds)... which is forever in the kernel world, but like I said, I've got a slow USB flash drive... and there's a comment in the code that one particular device needs a 10 second timeout.
    So I'm going to try a larger value.
    You can change it temporarily by entering "echo -n {some-value} > /sys/module/usbcore/parameters/initial_descriptor_timeout" with root authority.
    Or permanently, in a file in the /etc/modprobe.d directory and put an "options" line in it... see "man modprobe.d".

  • No luck installing Windows XP SP2 on Macbook hal.dll error

    1. I partitioned 45GB with Boot Camp Assistant.
    2. Loaded Win XP SP2 CD and started installation.
    3. Formatted BOOTCAMP partition on NTFS Quick (Also tried NTFS normal [slow])
    4. After it copies everything to the drive and reboots I get a hal.dll missing/corrupt error.
    I have tried repartitioning dozens of times and have tried 3 different Windows CDs
    Thanks for your help
    Message was edited by: pesqair

    Startup from the windows CD,
    delete the 200MB sized partition and the Bootcamp partition.
    Then make a new NTFS partition from the new space and install XP.
    It's the 200MB partition that has something to do with boot record, Bootcamp does not recognize it's own partition as bootpartition!
    Good luck installing windows!

  • Install on vista with Oracle Lite Multiuser Service -  SERVICE_START_PENDIN

    Hi all,
    I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
    error in oraInstall.err:
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
    updating ODBC.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
    updating ODBCINST.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
    updating POLITE.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>exit
    Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
    opmnctl: starting opmn and all managed processes...
    OliteService reports the following status:
    The service is installed.
    OliteService reports the following status:
    The service start pending.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_START_PENDING
    Acceptable Control Code : (0x0)
    installaction.log:
    BUILD SUCCESSFUL
    Total time: 3 minutes 35 seconds
    C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
    BUILD SUCCESSFUL
    Total time: 4 minutes 43 seconds
    Exit: 0
    TASK: oracle.tip.install.tasks.UpdateConfigFiles
    Updating configuration files ...
    Exit: 0
    TASK: oracle.tip.install.tasks.RegisterOlite
    Registering Olite ...
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
    OliteService reports the following status:
    The service stop is pending.
    OliteService reports the following status:
    The service is stopped.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_STOPPED
    Acceptable Control Code : (0x0)
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
    OliteService reports the following status:
    The service is removed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
    OliteService reports the following status:
    The service is installed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
    OliteService reports the following status:
    The service start pending.
    OliteService reports the following status:
    The service is running...
    port = 1531
    wdir = C:\Windows\system32
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_RUNNING
    Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
    Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
    Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
    Oracle Lite CREATEDB Version 10.2.0.2.0.
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Exit: 0
    TASK: oracle.tip.install.tasks.DeployApps
    Deploy applications and adapters
    Port value is 6003
    Buildfile: bpminstall.xml
    init-midtier:
    Trying to override old definition of datatype echoproperties
    common_update_server.xml:
    Adding shared library apache.junit ...
    Adding shared library oracle.db.lite ...
    Adding shared library apache.commons 10.1.3 ...
    Adding shared library apache.jdom ...
    Adding shared library apache.slide ...
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    update_server.xml:
    restart.container:
    Stopping home container ...
    opmnctl: stopping opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    no processes or applications matched this request
    Restarting home container ...
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    0 of 1 processes started.
    ias-instance id=oapp1013.victoria-PC
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    default_group/home/default_group/
    Error
    --> Process (index=1,uid=503452990,pid=3000)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
    init-midtier:
    Setting up the dehydration store [olite]...
    dehydrationStore:
    Configuring data sources for olite dehydration store ...
    Deploying ORABPEL Applications...
    deploy-applications:
    Deploying Oracle BPEL Process Manager ...
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    Please advise what's wrong?
    thanks
    andrew

    The following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
    1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
    container:
    oracle.bpel.common
    apache.junit
    oracle.db.lite
    apache.commons
    apache.jdom
    apache.slide
    For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
    do the same for all other libraries:
    <shared-library name="oracle.bpel.common" version="10.1.3">
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="soap"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="apache.junit"/>
    <import-shared-library name="oracle.db.lite"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="apache.slide"/>
    <import-shared-library name="apache.jdom"/>
    </shared-library>
    2. Restart the container to make sure that server.xml was updated correctly.
    3. From the configtools.log file find the opmn port number, for example:
    deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
    dimak.au.oracle.com - is the machine name and
    6012 - port number
    4. Launch a new command prompt
    and set path and classpath, for example:
    set PATH=$ORACLE_HOME\jdk\bin;%PATH%
    set classpath=.
    where in the classpath there is only one entry - the dot, which stands for the current directory.
    5. change directory to the following:
    $ORACLE_HOME\j2ee\home
    and run the following command (written all on one line) to deploy the DbAdapter:
    java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
    manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
    DbAdapter2 -parent default
    where
    * dimak.au.oracle.com should be substituted with your machine name
    * 6012 should be substituted with your port which you found in step 3
    * test is the name of the container you want to deploy the adapter to
    * manager1 should be substituted with your oc4jadmin password
    * $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
    * deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container.

  • Xorg 1.8 - How does udev replace HAL?

    Okay guys, I've understood that you can run custom commands to e.g. automount USB sticks or symlink devices with udev. That's pretty easy, and actually a lot less work than with the XML-style .fdi files of HAL. Good riddance I guess.
    But HAL played an important role in enabling zero-configuration input devices so far. This seems no longer be working at all. With simple commands, HAL was able to dynamically add devices to X. I'm desperately trying to figure out a way to do the same with udev though, and I really can't find anything on it...
    I just want to enable my Wacom tablet *without* the use of an Xorg.conf (which AFAIK is deprecated), like it was possible with HAL. I know how to match my device, but not what I need to do with udev to add those input devices to the X session. Could anyone please fill me in?

    lustikus wrote:usb automounting can be done with udev rules:  http://wiki.archlinux.org/index.php/Ude … SB_devices
    I know, that's not the point. My problem is specifically with *input* devices.
    @archman-cro: You understood it wrong. The files that are already in /etc/X11/xorg.conf.d/ will get overwirrten with every update. These are files that typicall get managed by different packages. Basically, if you add a synaptics touchpad driver, that package will but its 10-synaptics.conf in there. If you use a wacom tablet (xf-86-input-wacom package), a 50-wacom.conf will get put there. These files should NOT be modified because if the package gets updated or reinstalled, the old one will be removed.
    What you could do is maybe create a file that no package will ever overwrite in there, like /etc/X11/xorg.conf.d/10-local-rules.conf. Then put any local rules in there and hope no package ever wants to use 10-local-rules.conf. This also has the advantage that these rules are parsed before most of the other rules, as all etc/X11/xorg.conf.d/*.conf files are parsed in alphabetical order.
    I've got a question on the InputClass section. You can use MatchProduct and Matchvendor there. But how do you find out for a given device what the value of the Product and Vendor strings are? I know you can do this for USB devices with the lsusb command, but how about serial devices?
    Last edited by Natanji (2010-06-25 10:21:34)

  • Question about udev,hal, hotplug and new Xorg 1.8

    From what I understand the hal .fdi files now are ignored since the last upgrade of Xorg to version 1.8. Before that, I used to modify .fdi files and then restarting hal to get the modifications to work. I did this to configure my joystick and synaptics for example.
    How I'm supposed to do that now with this new system? I've been trying with hal and the fdi files, but are totally ignored (as expected) and making changes to /etc/X11/xorg.conf.d/10-name-here.conf works but I have to restart X.
    According to this the configuration for input devices should be done by .conf files on xorg.conf.d/ or udev rules.
    The Xorg input hotplugging from the wiki is kind of outdated too because it's all about the deprecated hal so I don't understand how I'm supposed to configure and work with the hotplugging...
    I hope someone can make this a little bit clear :) (or tell me that I'm really lost)

    Not what I'm looking for really, because if I change the Xkblayout for example (or if I create a new file), the change only works after restarting X. My joystick for example, doesn't work and create a new inputclass only works after restarting it.
    I know that I can change the keyboard layout some other way while using it using setxkbmap, but still, I'd like to know how it is supposed to use the "hot" plug.

Maybe you are looking for