>>>>> "andrey" == Andrey Borzenkov <[EMAIL PROTECTED]> writes:

andrey> this applies to 9.0 + security fixes, I cannot test current cooker. Sorry :(
andrey> Konqueror is using polling (stat call) to check for directory updates, that 
happens appr. every second. When it is used with supermount, it prevents user from 
opening tray, as soon as you manage open it konqueror does next stat and tray is 
(automatically) closed again. this happens even if you changed directory - as a test

andrey> fire up konqueror
andrey> change dir into /mnt/cdrom (or whatever)
andrey> right click, copy some file
andrey> change directory to somewhere on your disk
andrey> right click, paste
andrey> try to open tray

andrey> the result is hard to explain to a normal user because there is apparent no 
program accessing CD-ROM ... but konqueror does it behind your back :(

andrey> This is old problem. This _very_ old problem. One user on a.o.l.m described it 
as "my CD is snaping on me".

andrey> May I ask good fellas to check if it is still the case in current cooker and 
of not submit official bug report? What I never understood why could not konqueror use 
FAM for this ...

andrey> Alternative would be to disable autoclose for CD-ROMs (sysctl -w 
kernel.dev.cdrom.autoclose=0). May be this need to be set by default in sysctl.conf if 
nothing more is working? I guess having to manually close tray is less evil than what 
happens currently.

andrey> the problem is serious enough to spoil all impression even if supermount is 
otherweise working properly. fredl, it goes to you as owner of /etc/sysctl.conf :)

andrey> -andrey

I am very fast taking the cd out of the try :)

Seriosly, I can't see a good way (except changing konqueror) of doing
something sensible.  Process is:

- konqueror trys to access files
- supermount try to acces media.
- cdrom (not supermount) found that you try to use cdrom media, and
  the try is open, he thinks: stupid user, anyway I will close it for
  you.
- CDrom got fixed.

BTW, I just integrated all your patches in kernel for updates (will be
in next cooker kernel).  I just didn't delete put_inode() as your
patch does.  Now I am able to eject the cd in the middle of one
operation, insert again the cd, and the operation continues with only
some I/O Errors (as expected).

You cold get the kernel for updates in my web page later today
(offcial copy is still compiling):

http://people.mandrakesoft.com/~quintela/updates/9.0

Thansk for your patches.

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

Reply via email to