[SOLVED] DBUS boot problems - Mounting system devices as a normal user

I have the [testing] and [community-testing] repositories enabled. A few days ago, probably due to an update, I started having trouble mounting devices and the shutdown/reboot options don't show up anymore on the LXDE exit menu.
I use gvfs for mounting devices as a normal user with PCManFM or Thunar. The error message is "Authentication is required".
After some testing, I found out that by restarting dbus, I could start mounting devices again:
/etc/rc.d/dbus restart
So my guess is that there's some problem with dbus startup. I have it in DAEMONS of rc.conf, as well as .xinitrc, the daemon seems to start correctly on boot, and it worked previously, so I have no idea of what could be wrong.
My ~/.xinitrc:
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
eval 'dbus-launch --sh-syntax --exit-with-session'
fi
numlockx && exec ck-launch-session dbus-launch startlxde
My /etc/rc.conf:
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged, using "" makes hwclock fall back
# to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# Note: if unset, the value in /etc/localtime is used unchanged
# 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="ca_AD.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Andorra"
KEYMAP="es"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
MODULES=()
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# 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="localhost"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=eth0
address=
netmask=
broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as 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 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
# If you are sure nothing else touches your hardware clock (such as ntpd or
# a dual-boot), you might want to enable 'hwclock'. Note that this will only
# make a difference if the hwclock program has been calibrated correctly.
# If you use a network filesystem you should enable 'netfs'.
DAEMONS=(hwclock syslog-ng network crond alsa dbus cupsd)
Thanks!
Last edited by gamezelda (2011-11-08 19:28:04)

I solved it.
The Wiki page for Mounting for normal users with PCManFM tells to create a "/etc/polkit-1/localauthority/50-local.d/55-myconf.pkla" file specifying the privileges to grant to the user. The problem is that it does not include the privilege needed to mount internal drives (which was what I was trying to mount). To fix it, I added:
;org.freedesktop.udisks.filesystem-mount-system-internal
To the "Action=..." line.
(Though I have no idea why it worked before it broke, or why restarting dbus after initializing my WM fixed it.)
As for the power issues, I've concluded that it was working, but restarting dbus after initializing my WM broke it (my bad for not checking it before restaring dbus). So it all works now.

Similar Messages

  • Can't mount usb devices as a normal user

    Hi.
    I woud like to ask for help. I've been struggling with some "bug" that i came with Arch and usb devices (disks, pendrives). I can't mount it as a normal user using KDE default mounting software (Dolphin, for an exmample). I can mount it only in therminal by using sudo privileages. Is there a way to fix it? I read it, the same problem:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    I tried to check everything according this topic, also with udisk2 archwiki thread but on my desktop machine i just can't mount usb devices without root password. This is how the error looks like for a Dolphin:
    <Over sized Image removed. URL link preserved>
    This is the error, from picture
    Error when trying to use acces to "removable device 7,5GB". System showed: The requested operation has failed. Error checking authorization:
    GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: action org.freedesktop.udisks2.filesystem-mount is not registered (polkit-error-quark, 0)
    Could somebody help me? I even installed udisk mounting tool to mont without root password, added 50-udisks.policy and it just does not work.
    Help.
    I can mount it wit terminal by typing
    sudo mount /dev/sdXY /mnt/usb
    than i'm asked for password and it is mounted. Don't know why i can't mount it without password when connecting usb devices to usb port.
    moderator edit [ewaller]Removed link to over sized image..  Note, you set up a click through thumbnail correctly, but the "Thumbnail" was the same image and was too large
    Last edited by ewaller (2014-09-28 16:37:41)

    Some refresh. I followed this topic:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    with the same problem. I found errors here:
    firekage@arch_desktop ~]$ journalctl -r -u polkit
    -- Logs begin at pią 2014-06-13 18:04:12 CEST, end at czw 2014-12-25 20:15:01 CET. --
    cze 23 15:59:15 arch_desktop polkitd[306]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.24, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
    cze 23 15:29:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:05 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:03 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:00 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:06 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.24 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:19:49 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 22:19:49 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 22:19:49 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Started polkitd version 0.112
    -- Reboot --
    cze 20 22:15:10 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 22:15:08 arch_desktop polkitd[304]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.23, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:02:59 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:56 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:55 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:54 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:53 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:00:00 arch_desktop polkitd[304]: Registered Authentication Agent for unix-session:c1 (system bus name :1.23 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:59:26 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:59:26 arch_desktop polkitd[304]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:59:26 arch_desktop polkitd[304]: Finished loading, compiling and executing 1 rules
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Started polkitd version 0.112
    cze 20 21:59:26 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 21:58:39 arch_desktop systemd[1]: Stopped Authorization Manager.
    cze 20 21:58:39 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 21:55:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:47:40 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:47:22 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:47:22 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:47:22 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Started polkitd version 0.112
    cze 20 21:47:22 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:56:46 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:56:45 arch_desktop polkitd[310]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:51 arch_desktop polkitd[310]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:16 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 19:55:16 arch_desktop polkitd[310]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 19:55:16 arch_desktop polkitd[310]: Finished loading, compiling and executing 1 rules
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Started polkitd version 0.112
    cze 20 19:55:16 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:54:38 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:54:13 arch_desktop polkitd[305]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 16:47:01 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 03:02:19 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 21:32:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:25:08 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:40 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:36 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:35 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:34 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    Could somebody help me? I even checked all rules in /etc/polkit-1/rules.d and /usr/share/polkit-1/actions on my notebook, and all files are the same with the same user permission but on notebook i can mount usb without problem, but on my desktop can't at all.

  • Problem accessing raw1394 device as a normal user

    hello,
    i have already posted my problem as a reply in this topic: http://bbs.archlinux.org/viewtopic.php?id=47723, howver i'm not suer what section it would  really fit in so and the solution i believe the solution is trivial so i sort of duplicate it here...I hope there is no problem.
    Well, the problem is that i cannot start jackd -d firewire as a normal user, as root tho, there is no problem and i have tried to play audio files through jack using mplayer w/o any problem... I own a Focusrite Saffire and have installed FFADO libraries.
    Error output:
    $ jackd -v -d firewire
    getting driver descriptor from /usr/lib64/jack/jack_oss.so
    getting driver descriptor from /usr/lib64/jack/jack_dummy.so
    getting driver descriptor from /usr/lib64/jack/jack_net.so
    getting driver descriptor from /usr/lib64/jack/jack_alsa.so
    getting driver descriptor from /usr/lib64/jack/jack_firewire.so
    no message buffer overruns
    jackd 0.116.2
    Copyright[...]
    JACK compiled with System V SHM support.
    server `default' registered
    registered builtin port type 32 bit float mono audio
    registered builtin port type 8 bit raw midi
    clock source = system clock via clock_gettime
    loading driver ..
    start poll on 3 fd's
    can't load "/usr/lib64/jack/jack_firewire.so": libasound.so.2: failed to map segment from shared object: Resource temporarily unavailable
    cannot load driver module firewire
    starting server engine shutdown
    freeing shared port segments
    stopping server thread
    last xrun delay: 0.000 usecs
    max delay reported by backend: 0.000 usecs
    freeing engine shared memory
    max usecs: 0.000, engine deleted
    cleaning up shared memory
    cleaning up files
    unregistering server `default'
    As root:
    $ sudo jackd -v -d firewire
    getting driver descriptor from /usr/lib64/jack/jack_oss.so
    getting driver descriptor from /usr/lib64/jack/jack_dummy.so
    getting driver descriptor from /usr/lib64/jack/jack_net.so
    getting driver descriptor from /usr/lib64/jack/jack_alsa.so
    getting driver descriptor from /usr/lib64/jack/jack_firewire.so
    no message buffer overruns
    jackd 0.116.2
    Copyright ...
    JACK compiled with System V SHM support.
    server `default' registered
    registered builtin port type 32 bit float mono audio
    registered builtin port type 8 bit raw midi
    clock source = system clock via clock_gettime
    loading driver ..
    start poll on 3 fd's
    new client: firewire_pcm, id = 1 type 1 @ 0x2380fd0 fd = -1
    new buffer size 1024
    libffado 1.999.43-1582 built Jul 11 2009 17:45:36
    firewire MSG: Streaming thread running with Realtime scheduling, priority 10
    firewire MSG: Registering audio capture port C0_dev0_Rec 1
    firewire MSG: Registering audio capture port C1_dev0_Rec 2
    firewire MSG: Registering audio capture port C2_dev0_Rec 3
    firewire MSG: Registering audio capture port C3_dev0_Rec 4
    firewire MSG: Registering midi capture port C4_dev0_Midi In
    firewire MSG: Registering audio playback port P0_dev0_Play 1
    firewire MSG: Registering audio playback port P1_dev0_Play 2
    firewire MSG: Registering audio playback port P2_dev0_Play 3
    firewire MSG: Registering audio playback port P3_dev0_Play 4
    firewire MSG: Registering audio playback port P4_dev0_Play 5
    firewire MSG: Registering audio playback port P5_dev0_Play 6
    firewire MSG: Registering audio playback port P6_dev0_Play 7
    firewire MSG: Registering audio playback port P7_dev0_Play 8
    firewire MSG: Registering audio playback port P8_dev0_Play 9
    firewire MSG: Registering audio playback port P9_dev0_Play 10
    firewire MSG: Registering midi playback port P10_dev0_Midi Out
    registered port system:capture_1, offset = 4096
    registered port system:capture_2, offset = 8192
    registered port system:capture_3, offset = 12288
    registered port system:capture_4, offset = 16384
    registered port firewire_pcm:C4_dev0_Midi In, offset = 4096
    registered port system:playback_1, offset = 0
    registered port system:playback_2, offset = 0
    registered port system:playback_3, offset = 0
    registered port system:playback_4, offset = 0
    registered port system:playback_5, offset = 0
    registered port system:playback_6, offset = 0
    registered port system:playback_7, offset = 0
    registered port system:playback_8, offset = 0
    registered port system:playback_9, offset = 0
    registered port system:playback_10, offset = 0
    registered port firewire_pcm:P10_dev0_Midi Out, offset = 0
    ++ jack_sort_graph
    ++ jack_rechain_graph():
    +++ client is now firewire_pcm active ? 1
    client firewire_pcm: internal client, execution_order=0.
    -- jack_rechain_graph()
    -- jack_sort_graph
    4239 waiting for signals
    load = 0.2531 max usecs: 108.000, spare = 21225.000
    some info:
    $cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    ####none                   /dev/shm      tmpfs     defaults            0      0
    ###ADDED
    shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
    #/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
    #/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
    #/dev/fd0               /media/fl   auto    user,noauto             0      0
    UUID=512fbb4a-7c37-4a91-94fd-c2f75bc3ad1c swap swap defaults 0 0
    UUID=ce95308e-a444-4d12-a3bf-a1abdcc82eed / ext4 defaults 0 1
    lsmod | grep 1394                   
    dv1394                 21832  0
    ohci1394               34052  1 dv1394
    raw1394                29000  0
    ieee1394               98912  3 dv1394,ohci1394,raw1394
    Should I change udev rules group to audio? How do I do that in Archlinux? :$
    $ ls -l /dev/raw1394
    crwxrw-rw- 1 root video 171, 0 2009-07-12 14:31 /dev/raw1394
    $ groups
    network video audio optical storage users
    I think it's some sort of permission problem....Any suggestion is welcome! thank you!
    Last edited by 00l0 (2009-07-11 20:52:36)

    djszapi wrote:"I hope there is no problem" -> If it was the last i think not
    good!
    Mr.Elendig wrote:Try adding your user to the video group, since that's the owner of the device.
    I already did, forgot to show it
    $ groups
    network video audio optical storage users

  • [Solved] KDE 4.10 : Mounted Android Device as a Camera?

    I've been using Arch with MATE Desktop for a long time and then finally made a move to KDE 4.10. I love all features in KDE,
    and one of them is auto-mounting Android devices. The problem is, when I plugged in my phone, KDE doesn't recognized it as a USB Storage, but mounted it as 'USB PTP Class Camera'. (I'm using HTC One X)
    As a result of this, I can't copy any files to my phone. I have tried other ways such as using go-mtpfs (when I'm using MATE) but still failed. That was actually the main reason why I chose KDE, because of the auto-mount (Android) system. The auto-mount worked, but cut/copy/paste is not. Any help will greatly be appeciated!
    Last edited by Archer1X (2013-02-20 10:14:57)

    Problem solved. Yes, installing kio-mtp solved my problem. KDE is indeed a superior DE. Thanks mzneverdies. I really appreciate  your answer. (Before this I have tried kio-mtp-git from AUR, yeah because I followed the guide from ArchWiki but it failed to get the job done. Somebody please edit that part in ArchWiki.)
    Last edited by Archer1X (2013-02-20 10:16:03)

  • Mounting usb devices as non-root user ??

    How can a non-root user mount a usb flash device?
    As root, the device is mounted as:
    mount -F pcfs /dev/dsk/c1tod0s2:c /mnt
    The vfstab entry for this is as follows:
    /dev/dsk/c1t0d0s2:c /dev/rdsk/c1t0d0s2 /flash pcfs 2 no -
    This is running Solaris 8 on a SunBlade150

    Hello.
    I had the same problem.
    If you do not have root rights on the computer the answer is: You cannot mount the device.
    I had root access and I wrote a C program that (un-)mounted all possible device files (the "s2" devices as well as the "s2:c" devices because some flash devices come without partition table).
    I chowned the file to root and set the "set effective user ID" bit in the file's permissions using chmod after logging in as root - so any user can start the program.
    I think this is the most flexible variant because USB devices sometimes are assigned other device names.
    Martin

  • ALSA device busy for normal user (not root) after systemd [resolved]

    I'm not able to get audio when using a normal user (device or resource busy) but root works just fine. I think I've messed something up since I just removed consolekit and switched to systemd.
    Here's what my .xinitrc looks like
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    #exec gnome-session
    #exec startkde
    #exec startxfce4
    #exec enlightenment_start
    # ...or the Window Manager of your choice
    #exec ck-launch-session startlxde
    exec dbus-launch startlxde
    I use LightDM via systemd service and LXDE. My devices in /dev/snd aren't actually busy. Nobody is using them and they work fine for root.
    Where else should I be looking for trouble? Anyone have a similar experience?
    Last edited by royallthefourth (2013-06-12 17:32:20)

    It says I'm in the audio group. Here's the permission on the audio devices:
    crw-rw----+ 1 root audio 116, 6 Jun 12 03:45 controlC0
    crw-rw----+ 1 root audio 116, 9 Jun 12 03:45 controlC1
    crw-rw----+ 1 root audio 116, 11 Jun 12 03:45 controlC2
    crw-rw----+ 1 root audio 116, 8 Jun 12 03:45 hwC1D0
    crw-rw----+ 1 root audio 116, 5 Jun 12 03:45 pcmC0D0c
    crw-rw----+ 1 root audio 116, 4 Jun 12 03:45 pcmC0D0p
    crw-rw----+ 1 root audio 116, 3 Jun 12 03:45 pcmC0D1c
    crw-rw----+ 1 root audio 116, 2 Jun 12 03:45 pcmC0D1p
    crw-rw----+ 1 root audio 116, 7 Jun 12 03:45 pcmC1D3p
    crw-rw----+ 1 root audio 116, 10 Jun 12 03:45 pcmC2D0c
    crw-rw----+ 1 root audio 116, 1 Jun 12 03:45 seq
    crw-rw----+ 1 root audio 116, 33 Jun 12 03:45 timer
    I ought to have access to these, right?

  • [SOLVED] Boot problems after system upgrade

    hi everybody,
    first of all i have to say, that the machine where i installed Arch is pretty old (something around 5 years).
    I already tried installing Arch two times and every time after i performed a system upgrade, i couldn't boot arch.
    Before the upgrade i rebooted several times to ensure that its working with the brand new installation - it worked.
    Here i'm the 3rd try. This time i configured packman to ignore the kernel package and voila its working now with kernel 2.6.25.6-1.
    So, here is my question: Is there any problem that could appear later on if i never upgrade the kernel?
    I'm quite new to linux and really appreciate your support.
    Regards
    Daniel
    Last edited by mrorange (2010-02-25 21:35:32)

    Well ... the kernel, like any other piece of program, from time to time has to be patched if they find a bug in it.
    Never upgrading means that you do not get the benefit of security and improvements patches.
    There is also the issue that some programs, a few, may want to have a certain kernel to run but I think that is less common.
    I, for instance, have not upgraded the kernel for a few months now because it screws up my wifi.
    If you can live with that then  you are OK.
    R.

  • How to solve a boot problem

    I was working on my Mac and it was very slow, so i turned it off (it was like quarter and hour while shutdown). After, i tried to boot it again, but didn't boot, so i entered Verbose mode. Error was "disk0s2: media is not present". I entered sigle user mode and i did "fsck -fy". It did the check and it was "The volume Macintosh HD appears to be OK. FILE SYSTEM WAS MODIFIED. I did fsck -fy again (i read on a forum that is necessary to do this till it doesn't appear FILE SYSTEM WAS MODIFIED) and it didn't appeared, only appered again "The volume Macintosh HD appears to be OK", so i logged out, but the disk0s2: media is not present was on screen another time. I booted from Mac OS X installation DVD, and i opened Disk Utility. It appeared the wait cursor and freezed. I held the Power button for shutdown and booted again from same DVD. I selected the installation program and when it checked the HDs for install it appeared Macintosh HD with 159'7 GB and 31'97 GB free, but when HD check finished, it disappeared. After doing that like 5 times, Macintosh HD didn't appear anymore when checking. From the single user mode i can enter to HD directories, like /Applications/Parallels or /Applications/ToySight etc. I need help for how to boot again my Mac or how to reinstall Mac OS without losing anything, or how to do a backup. Thanks.

    CAH4E3 wrote:
    Got my new customized iMac 27' yeasterday. After installing some soft, I decided to install Windows 7 as second OS on Boot Camp. After clicking the Boot Camp Assistant icon, programm opens, and immediately it shows error "Boot Camp Assistaint does not support Windows installation on this iMac 3TB" or something like that (I have a russian version of dashboard/OS). Only option available at that moment - button "OK", which exits Boot Camp A|ssistant.
    So... Any suggestions on how to solve the problem? I really need Windows as second OS, and don't want to install it like a virtual/emulator machine.
    My customized iMac "loadout" is Core i7 3.4, 16Gb DDR, Nvidia GeForce 680MX 2Gb, 3TB Hard Drive.
    P.S. I thought this may be solved by separating Hard Drive into partitions (main, which is for Mac OS, and little tome for Windows, formated into MS DOS FAT system), still - this has not helped me.
    There is a thread covering this subject here.  I would advise you to read the whole thread before trying the 'solution'.

  • [SOLVED] Weird Boot Problem

    I carried out an -Syu on my eeepc a couple of weeks ago. Unusually, this resulted in all kinds of error messages at boot time. most of which I've hunted down and squashed. The machine has functioned correctly throughout.
    However, there is one message which I cannot find. When the system boots, the on-screen command line output displayed before the desktop is loaded (lxde) shows a "Login:" prompt, which is followed immediately by the display of an error message
    FATAL: Module and not found
    I can't find this in any of the logs, so I don't know where to begin. Module "and"??!!
    Any advice would be very welcome.
    Thanks in advance
    Last edited by myrlin (2011-10-28 14:10:21)

    I have just discovered that this message is being generated by UFW.
    I have it in my Daemons array.
    A manual start (or restart) also fails with the same message.
    Strangely, when accessing UFW through GUFW, all seems to be normal.
    "ufw status" reports "active". Curious!
    **EDIT**
    I finally solved the problem by completely removing ufw and gufw (including ALL configuration files), then re-installing. I never did find out what had been corrupted, or how, but - hey - life's too short!!
    Many thanks to everyone for their help and support
    Last edited by myrlin (2011-10-28 14:13:36)

  • HP Compaq dc5750 SFF boot problem with USB devices installed.

    HP Compaq dc5750 SFF
    AMD Athlon (tm) 64 X2 Dual Core Processor 3800+
    2.00 GHz 1.37 GB of RAM
    XP Professional SP2 with latest updates.
    HP Compaq Business System BIOS (786E3 BIOS)(ver. 2.36 Rev. A)
    This is a problem when a Microsoft web camera is installed prior to the boot up of the computer
    The webcam works fine if it is installed after the boot up.
    When any type of USB product that does not have an OS is installed in any USB port the computer freezes at the BIOS POST screen and will not finish the POST unless the USB device is removed. If there is an OS on the USB device it boots normally to that device and it also boots normally to the installed OS if the USB device is not installed.
    Contacted HP Support and was told to update the BIOS, which I had already done. Then I was told that the computer was out of warranty and I could pay for the service if I wanted help. I agreed to pay if the problem was fixed. This brought a reply that they did not know if the problem could be fixed.
    The next day I received an email with Critical Alerts, one showing the BIOS update I had already installed and 2 other non critical updates.
    Since HP did not show any interest in fixing this problem I am posting it here to see if anyone else has had this problem.

    Hi,
    Boot into the bios and change the boot priority order and save the setting change.  Look under the Storage TAB drop down and then Boot Order. Highlight USB and press enter and then the down arrow to move it below the hard drive.  Save the changes when you exit the bios.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • MSI K8N Diamond - Boot problems with USB devices attached.

    Hi There.
    I have been seeking the forums, but havent found the answer to my problem yet. 
    This is how it goes with ANY USB devices attached to either of the four USB ports on the Motherboard.
    When i turn on my system, it hangs in the POST right after displaying the BIOS version (Which I have updated to 1.6) - I cant use my Keyboard to get to the BIOS setup.
    Without USB devices attached...
    The system boots without problems. And in Windows XP SP2 i can insert my keyboard, mouse etc. and everything works great - both USB 1.1 & 2.0 devices.
    I have disabled the KB/USB.. in BIOS and I have disabled the "Boot on other device" option as well.
    As I have found on this forum, a lot of people have problems with USB Front panel and D-Bracket (USB ports) connectors causing the system to hang - But my D-Bracket (USB connectors) and my front USB port is at this time DISCONNECTED - so this cannot be the problem.
    The D-Bracket shows the "Bios Sign On" information - and stops at that point 
    Am I having a malfunctioning Motherboard here, or are there any solutions to this problem?
    Please help me as I am desperate to have my system work properly.
    Regards
    Stieper

    Well I have read about that somewhere in here, but my problem is NOT with an USB hub, but with any USB device attached to the motherboard's USB slots. It is driving me nuts to be honest!! I think it might be time for RMA 
    What do you say guys - is my Motherboard ready for RMA, or do I have to try something specific berfore sending it to the retailer??

  • [SOLVED]Dual boot problem with an Asus UX31A (EFI)

    I never did an EFI install before and I still don't understand how it works however following the Zenbook wiki, I have successfully installed Arch. Now I can't boot Windows 7 anymore. I am using grub2, have installed os-prober. Grub menu has windows 7 entry but when used prompts a wrong EFI file path error.
    My partition table is:
    [root@zenbook sonay]# lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 238.5G 0 disk
    ├─sda1 8:1 0 200M 0 disk
    ├─sda2 8:2 0 128M 0 disk
    ├─sda3 8:3 0 98.6G 0 disk
    ├─sda4 8:4 0 4G 0 disk
    ├─sda5 8:5 0 90.7G 0 disk
    ├─sda6 8:6 0 512M 0 disk /boot/efi
    ├─sda7 8:7 0 3.9G 0 disk
    ├─sda8 8:8 0 10G 0 disk
    ├─sda9 8:9 0 200M 0 disk /boot
    └─sda10 8:10 0 30.3G 0 disk /
    sdc 8:32 0 931.5G 0 disk
    └─sdc1 8:33 0 931.5G 0 disk /run/media/sonay/My Passport
    /dev/sda1 used to be Windows 7 EFI partition. Gparted says it is flagged as boot.
    What I did to install arch:
    Partitioned /dev/sda5 with windows disk manager to create linux partitions and formatted the new partitions with gparted as the noob I am.
    created /dev/sda6 for EFI boot
    created /dev/sda9 for boot partition
    created /dev/sda10 as root.
    Did not touch
    /dev/sda1 which was the EFI partition named SYSTEM
    /dev/sda2 which was windows boot partition
    /dev/sda3 which was windows C:,
    /dev/sda4 and /dev/sda7 which I don't know what they used to be (possible for Asus fast wake up or swap whatever)
    /dev/sda8 which is recovery partition.
    I did not touch any grub files, except /etc/default/grub
    [sonay@zenbook ~]$ cat /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=1
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    Finally my /boot/grub/grub.cfg is:
    [sonay@zenbook ~]$ cat /etc/default/grub
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=1
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    [sonay@zenbook ~]$ cat /boot/grub/grub.cfg
    cat: /boot/grub/grub.cfg: Permission denied
    [sonay@zenbook ~]$ su
    Password:
    [root@zenbook sonay]# cat /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt10'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10 cf66f05a-418c-4517-a0e0-af01b3be4a67
    else
    search --no-floppy --fs-uuid --set=root cf66f05a-418c-4517-a0e0-af01b3be4a67
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=1
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
    else
    search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
    else
    search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt3'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5246C0D846C0BE4B
    else
    search --no-floppy --fs-uuid --set=root 5246C0D846C0BE4B
    fi
    chainloader +1
    menuentry 'Windows Recovery Environment (loader) (on /dev/sda8)' --class windows --class os $menuentry_id_option 'osprober-chain-3C98C9B298C96B4A' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 3C98C9B298C96B4A
    else
    search --no-floppy --fs-uuid --set=root 3C98C9B298C96B4A
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    SOLUTION:
    first I needed to mount Windows EFI partition which was /dev/sda1, so :
    mount /dev/sda1 /mnt
    Then issue the following commands and take note of the outputs:
    grub-probe --target=fs_uuid /mnt/EFI/Microsoft/Boot/bootmgfw.efi
    which outputs: 18DF-E58E and
    grub-probe --target=hints_string /mnt/EFI/Microsoft/Boot/bootmgfw.efi
    which outputs: --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
    Finally edit the os-prober entry to the following in /boot/grub/grub.cfg
    menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 18DF-E58E
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    Last edited by sonay (2012-10-07 18:20:20)

    grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
    Sorry, no need to anymore. Thanks anyways.
    Last edited by sonay (2012-10-07 18:08:39)

  • [SOLVED]X server problem after system upgrade - fonts garbled

    Hi all,
    I "pacman -Syu"-ed my system yesterday and now my X server is busted. Admittedly, I don't upgrade as often as I should and this was a pretty big upgrade for me so perhaps something broke due to that. Now I cannot see fonts and icons properly. All text except for the "system" fonts is hopelessly garbled. I can only see text clearly in xterm. Images show up just fine.
    Please click the link below for a clearer picture of the problem
    In addition to this, the system hangs (blank screen, but disk light still on) when I exit my X session.
    I went through all the logs but found nothing amiss....
    Pls help, I'd really like my nice archlinux system back....
    thanks in advance.
    Sid
    Last edited by svs (2008-02-20 11:58:25)

    SOLVED!
    The upgrade must have corrupted my intel video drivers because removing and reinstalling the i810 package fixed the problem.

  • Problem mounting NFS home directories of NIS users.

    Only on one of client (rest on all clients working fine), the Local directories under /home is getting mounted instead of NFS shared home directories of NIS users. Able to manually mount the NFS shared directories but they also get automatically unmount after some ideal time. Want that the NFS shared directories gets automatically mount when the NIS user gets login as it is happening on all other clients.
    Scenario:_
    NIS user: user1
    NFS Shared home directory: /export/home/user1 (which should get mount as /home/user1 when user1 gets login)
    Local directory: /home/user1 (which is getting mounted when user1 is getting login)
    [CLIENT]/--->ps -ef | grep automount
    root 23369 1 0 Mar 19 ? 1:58 /usr/lib/autofs/automountd
    [CLIENT]/--->cat /etc/auto_master
    /xfn -xfn
    /net -hosts -nosuid,nobrowse
    /- auto_direct -intr
    /- auto_home -intr
    [CLIENT]/--->ypcat -k auto.home
    /home/user1 NFS_SERVER:/export/home/user1
    /home/user2 NFS_SERVER:/export/home/user2
    [NFS_SERVER]-->cat /etc/dfs/dfstab
    share -F nfs -d "user home dir" /export/home
    [NIS_SERVER]--->cat /etc/auto_master
    /xfn -xfn
    /net -hosts -nosuid,nobrowse
    /- auto_direct -intr
    /- auto_home -intr
    Please let me know if any other information is required.

    add this entry as the first non-comment line in /etc/auto_master on the client:
    +auto_master                                                                                                                                                                                       

  • Make /sys/devices writable for normal users

    I'm trying to make a file user writable in /sys. The goal is to have a non root user do this:
    $ echo 1 > /sys/devices/platform/eeepc/camera
    Is there a nice solution to make this file writable?
    Thanks.

    Only by 5 seconds
    Good advice about using the same group though. I forgot about that.
    I do this with ubuntu and arch, sharing the same storage/data partitions. in ubuntu the default user are uid/1000:gid/1000, and since in arch i have uid/100:gid/1000 there are no problems with permissions (since i'm in the same group), unless permissions are altered to something else than directories/755, files/644.
    [edit]of course im wrong about this. didn't think it through! i have the same uid in ubuntu/arch but not the same gid. Of course *that* works, but if you share gid, 775/664 permissions is what you need[/edit]
    Alternative (which is generally a good idea), is to create a special usergroup for the users you want to be able to modify the files, and use chmod to give that group write permission to the filesystem, and add the users you want to that group.
    Aah, yes, but when creating new files, you should set the "sticky bit" on the containing folder, because you will still mark the files with your umask (username:primary-groupname), unless "sticky bit" preserves the gid that the folder has (the secondary group created to share files). That is my limited understanding though.
    The simplest (not the safest) solution is just to be a (primary) member of the same group, namely "users". That'll require virtually no modifications, but "just work" in most cases.
    [edit]wrong again. as i said earlier, 775/664 permissions is what you need to share gid[/edit]
    Last edited by pelle.k (2007-10-04 04:21:12)

Maybe you are looking for

  • Witholding tax amount is not coming correct in FBL1N report.

    The WHT amount in vendor line item report in column withholding tax is being displayed without a minus(-) sign indicating a debit amount, but this amount is in fact not a debit amount, when this column is sum up it gives incorrect total. Regards Abhi

  • MATMAS05 mapping documentation anyone?

    Hello everyone! Does anyone have any documentation for the MATMAS.MATMAS05 IDOC inbound mapping? Please feel free to send me any mapping documentation at my email: Thanks in advance! Glenn Please read the Forum's Rules of Engagement, i.e., [/thread/1

  • View - remove duplicate records

    Hi, I created a view (on joins of several tables) and used this view as a datasource. Considering the structure of the view (combination of the chosen view fields is not unique) it is normal that the datasource gives duplicate records. Is there a way

  • Trying to visualize a jsp files on my browser

    hi ,i 'am trying to execute a jsp files in my browser after installing weblogic5.1 for nt and my browser open the jsp file as it was a txt files. Can anybody help me thanks           

  • Component "Item_name" must be declare

    I created a cursor but showing error: at bold text Declare      CURSOR post_item      IS      SELECT ALL SUBPOGENERAL.ITEM_CODE, SUBPOGENERAL.ITEM_DESC,                          SUBPOGENERAL.QUANTITY, ITEM.ITEM_NAME, ITEM.ITEM_DESC