Re: can't eject floppies/cd-roms



The error which prevented the unmounting (ejecting) of CDs and floppies through nautilus in RH 9 was not a missing RPM.  If your home directory is on an NFS share, the unmounting will not work.  Looking at strace output, my best guess is that mmap2 is failing since most implementations of NFS do not allow mapping files into process memory, and this is causing nautilus to give up on trying to unmount the cd or floppy.  I've tried it using Linux and Solaris NFS servers, but neither work.

You can take a look at the strace output here (http://web.ecs.syr.edu/~sjfralic/straces).  Just search for .order in both files.  This will bring you to the place where the umount takes place (or is supposed to take place) in both files.  Does anyone have a suggestion about how to get this to work (i.e. some kind of work-a-round)?  Thanks,

Stephen

---------------------------------------------------------------------
Computer & Information Technology Group            help ecs syr edu
College of Engineering & Computer Science          Link 204, 443-4308
Syracuse University

>>> Alexander Larsson <alexl redhat com> 09/18/03 03:39AM >>>
On Thu, 2003-09-18 at 01:28, Stephen Fralich wrote:
> I have a problem that doesn't make any sense.  I am trying to make a
> stripped down RH 9 configuration for deployment in our public computer
> labs, however ejecting media does not work.  You can mount floppies
> without a problem using the "Disks->Floppy" option on the desktop
> menu, but ejecting doesn't work.  What is strange is that to mount the
> floppy "/bin/mount /mnt/floppy" runs when you click Disks->Floppy,
> however, when you right click on the disk and select eject, nothing
> happens.  On an out-of-the-box RH config the "eject floppy" command
> runs, and everything works great.  So why one shell command can run on
> my config, but the other cannot is the confusing part.  On my config,
> you can run the eject command from the commandline and the floppy
> disappears from the desktop.
> 
> If anyone knows what I could be missing that would prevent eject from
> working, but allow mount to work, let me know.  Also if anyone knows
> how I could enable logging of the shell commands nautilus executes, so
> I can see what's going wrong, that would be great too.  Thanks a lot,

Try running nautilus under strace and see what fails when trying to
eject.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an uncontrollable arachnophobic romance novelist with no name. She's an 
enchanted hypochondriac soap star who hides her beauty behind a pair of 
thick-framed spectacles. They fight crime! 

-- 
nautilus-list mailing list
nautilus-list gnome org 
http://mail.gnome.org/mailman/listinfo/nautilus-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]