Bug 675785 - external usb harddrive is not redirected if it contains filesystem which is not recognized by guest
Summary: external usb harddrive is not redirected if it contains filesystem which is n...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-usb-share
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Uri Lublin
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 18:36 UTC by Lubos Kocman
Modified: 2011-06-15 14:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-27 12:50:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Kocman 2011-02-07 18:36:41 UTC
Description of problem:

The standard situation:

Client obtains rhel6 client with installed spice-usb-share but without ntfs-3g. Connects to a guest plugs his ntfs formated flash drive and nothing ... only a client alert "Unable  to mount YOURMEDIA filesystem is not supported".

cat /tmp/usbrdrctrl-*.log

at /tmp/usbrdrctrl-10724.log 
main:  10.34.58.217 32023 -c /tmp/SpiceForeignMenu-10718.uds -l USB Devices,No USB devices,Client's SPICE USB Redirector is not installed -f -1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,0 -a
open_connection: Openning a foreign menu connection: /tmp/SpiceForeignMenu-10718.uds
log_usb_error: USB Redirector init error err = 31 arg = 917632
set_filter: -1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,0
init: Initializing foreign menu: USB Devices
execute: USB Controller is now running...
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_ACTIVATE
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_DEACTIVATE
auto_sharing: Ignored devices list was cleared.
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_ACTIVATE
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_DEACTIVATE
auto_sharing: Ignored devices list was cleared.
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_ACTIVATE
handle_foreign_menu_message: Got a menu event: FOREIGN_MENU_DEACTIVATE
auto_sharing: Ignored devices list was cleared.


Installing ntfs-3g solves the problem.

 If you'll uninstall ntfs-3g after sucessful redirection but won't restart usb-share service and plug device again it will be again sucessfully redirected (I believe it's due some device cache build by daemon).

But some guys can't install "unsupported applications" and need to use ntfs on their flash drives (e.g. due MAX_FILE_SIZE of fat)


Version-Release number of selected component (if applicable):

spice-client-0.7.2-1.el6.x86_64
spice-xpi-2.4-2.el6.x86_64
kmod-kspiceusb-rhel60-4.9-14.el6.x86_64
spice-usb-share-4.9-9.el6.x86_64


How reproducible:


Steps to Reproduce:
1. sudo /etc/init.d/spiceusbsrvd stop
2. rpm -e ntfs-3g
3. sudo /etc/init.d/spiceusbsrvd start
4. Connect to a windows guest
5. plug in usb drive
  
Actual results:

Unable to mount ... on the client

Expected results:

spice-usb-share deamon should still recognize device and forward it.

Additional info:

RHEVM2.2/El5.6

Comment 2 Alon Levy 2011-02-27 12:50:44 UTC
When you say "Installing ntfs-3g solves the problem." do you mean in the client or guest?

For 6.2 our USB support is going to be based on a different solution, Hans's usb sharing, so closing this bug. Can you please make a test case from it to check on the new usb sharing?

Alon


Note You need to log in before you can comment on or make changes to this bug.