#10809 NORM 11.2.0-: Sugar may fail to mount USB sticks/drives until rebooted

Zarro Boogs per Child bugtracker at laptop.org
Mon Apr 4 14:24:40 EDT 2011


#10809: Sugar may fail to mount USB sticks/drives until rebooted
-----------------------+----------------------------------------------------
 Reporter:  greenfeld  |                 Owner:  erikos                           
     Type:  defect     |                Status:  new                              
 Priority:  normal     |             Milestone:  11.2.0-M4                        
Component:  sugar      |               Version:  Development build as of this date
 Keywords:             |           Next_action:  diagnose                         
 Verified:  0          |   Deployment_affected:                                   
Blockedby:             |              Blocking:                                   
-----------------------+----------------------------------------------------
 On rare occasion, Sugar may get into a state where it will fail to
 automatically mount any USB stick/drives inserted into an XO to a
 subdirectory of the /media directory until the XO is rebooted.  I have
 seen this happen a few times.  The brand/size/etc. of USB stick doesn't
 matter; an affected XO will just ignore them all.

 The Linux kernel logs that it sees the USB stick(s) being inserted and
 removed without any obvious issues.   But an error is logged when this
 happens to Sugar's shell.log which looks like this:

 {{{
 1301878811.524260 DEBUG root: _mount_cb <__main__.GProxyVolume at
 0xae86be4: 2.1 GB Filesystem>
 <gio.SimpleAsyncResult object at 0xaf79464 (GSimpleAsyncResult at
 0xa866188)>
 Traceback (most recent call last):
   File "/usr/share/sugar/extensions/deviceicon/volume.py", line 114, in
 _mount_cb
     volume.mount_finish(result)
 glib.GError: Not Authorized
 }}}

 Rebooting the XO will clear up the issue and allow USB sticks to
 automatically be detected/mounted again.  Manually mounting a USB stick
 using Linux's "mount" command will also work.  Seen in 11.2.0 os14.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10809>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list