USB Devices Fail To Mount - They Worked Fine Yesterday
Hello forum,
All of my USB devices have suddenly failed to mount (two USB hard drives and a card reader). I am running openSUSE 10.2 When I try to mount any of them, I get the message "Cannot lookup privilege from PolicyKit". They seem to have stopped working when I installed a few programs yesterday, the Hewlett Packard Office jet HPOJ driver, xine gui media player, and the Main Actor video editor. So I uninstalled all three of those programs but the problem still persists. When I stop and restart the policykitd service (/etc/init.d/policykitd stop/start), the error message changes to "hal-storage-removable-mount refused uid 1000" but when I reboot the computer, I get the original error message all over again. When I run "resmgr dump" in a root terminal window, this is the results: Code:
linux-6cp2:/home/roy # resmgr dump All of this is unfamiliar territory for me so I am asking if somebody would be kind enough to try to help me get my USB devices (hard drives) to working again. Thanks in advance, Roy |
Try "rcpolicykitd start" in a root shell.
|
That Didn't Work Either
Thanks for the reply but I tried "rcpolicykitd stop/start" in a root shell and the end results were the same, meaning I got the second error message. And when I rebooted the computer, I got the first error message.
I have noticed that when I run either "policykitd stop/start" or "rcpolicykitd stop/start, the USB drives will mount ONLY if I log out of X and log back in X as a root user. But when I log out of root X and log back into X as a regular user, I get the same error message all over again. I've also noticed that I have lost write access to the NTFS partitions I have mounted from the internal hard drives. OpenSUSE enabled write privledges by default on NTFS partitions when everything was working alright. I have broken something somewhere and don't know what. Please don't give up on this thread. I'm willing to go through great lengths to get this fixed. Thanks, Roy |
Do an "rpm -V PolicyKit", "rpm -V resmgr", "rpm -V pam-config" and "rpm -V xorg-x11" as root. In my system they return nothing and everything works. Also, what is the version of Xorg you have (rpm -q xorg-x11)?
|
Still Trying
Thank you for the response and expertise.
I ran those commands in the root terminal and the results are below: roy@linux-6cp2:~> su Password: linux-6cp2:/home/roy # rpm -V PolicyKit linux-6cp2:/home/roy # rpm -V pam-config linux-6cp2:/home/roy # rpm -V resmgr linux-6cp2:/home/roy # rpm -V xorg-x11 linux-6cp2:/home/roy # rpm -q xorg-x11 xorg-x11-7.2-26 linux-6cp2:/home/roy # Appariently nothing is missing from those four packages and my version of xorg is 7.2-26 Typing dmesg in a terminal window said two of my ntfs partitions were dirty from my internal hard drives (not the USB hard drives). I have a multiboot configuration. So I booted into WindowsXP and Windows automatically did a chkdsk on those same two partitions without any user intervention from me so they must have really been in bad shape for some reason. After booting back into openSUSE, the dmesg warning went away and I re-gained write access to one of those ntfs partitions where it was lost before. I did not gain write access to the other ntfs partition due to improper flag settings according to dmesg. I don't know this has anything to do with me not being to mount my USB devices but I thought I would mention it anyway. Any more suggestions would be greatly appreciated, Roy |
I have seen the same error before but I forgot how I fixed it.
These are the things that I tried but I don't know which one did it. 1. Disconnect all USB devices from my pc. 2 Shut down machine. I made sure my USB IDE card was properly seated in the motherboard. 3. Turn machine on. 4. Log in, then connected my USB drive. Powered it on. I --create a new user. II --log out then login as the new user After I did that I was able to see USB devices, which one fixed it? Your guess is as good as mines. |
Didn't Work
Hello ngjunkee0011,
Regretfully, after trying both possibilities, neither of them fixed my problem. I did not unplug my USB mouse, however. Would that have to be unplugged also? My USB card is most probably seated correctly since everything works fine in the other Linux distributions (multi-boot) so I didn't check that. I'm open to any ideas, Roy |
Hi,
I am not a SUSE user .. however, conceptually speaking, this problem happened after you installed those 3 rpms .. Sounds to me that they overwrote or changed some modules related to the loadable usb modules. I cannot claim that this may be the problem, but I would try to unload and reload the usb-storage and the uhci_hcd modules (or whatever equivalent for SUSE). Try a command to list the currently loaded modules e.g. /sbin/lsmod also try to see exactly the contents of those rpms using something like e.g. rpm -ql <rpm-name> | grep "lib" | less I hope this may help a little bit :) .. Please let me know .. |
Quote:
OK, read this: http://www.suseforums.net/index.php?showtopic=29302 |
Also do a "rpm -V hal" and type "groups" in a console as roy, not as root.
|
Terminal Readout
Here is my non root terminal readout with those two commands:
roy@linux-6cp2:~> rpm -V hal S.5....T /etc/PolicyKit/privilege.d/hal-storage-removable-mount-all-options.privilege S.5....T c /etc/dbus-1/system.d/hal.conf .......T /etc/udev/rules.d/90-hal.rules roy@linux-6cp2:~> groups users root dialout video roy@linux-6cp2:~> Thanks for your continued help, Roy |
The quick way is to reinstall the hal package from the opensuse distribution media or server, provided that you didn't intentionally make these changes to these files. If you made them intentionally, then you need to show us the content of these files. Most likely the HP program you installed made these changes, what is the filename of the package and where did you get it from? I have installed the other programs and they cause no problem to my system.
|
Printer Driver
All I know about the printer driver is that the tarball version is called hpoj-0.91.tgz but I actually installed the rpm version from the graphical package manager.
I also know this driver creates an entry in the services manager (a running process) called ptal, which might interact with HAL, I'm not sure right now. I plan to uninstall and reinstall HAL soon if all else fails. Thanks, Roy |
Unless I missed something, the hpoj project is dead since 2005 and the last suse version it supported is 8.2, so installing the hpoj package was a bad idea. It has been replaced with the hplip project, so you need to check whether your printer is supported there, assuming it isn't supported by opensuse 10.2, and install the relevant package. Opensuse 10.2 includes hplip-1.6.10.
|
Quote:
You could also try adding the following lines to this file: /etc/dbus-1/system.d/hal.conf Quote:
|
All times are GMT -5. The time now is 11:33 PM. |