Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
supermount, submount - can't eject CD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Tue Jun 08, 2004 11:03 am    Post subject: supermount, submount - can't eject CD Reply with quote

Hi,

I'm trying automatic mounting with supermount and now with submount. I edited the fstab as the docs said. Automatic mounting works well with supermount - going into /mnt/cdrom, my CD-ROM gets mounted. But I can not eject it anymore... (I went away from this dir, no program holds files on the CD.)

Secnd try, submount. Automatic mounting is on, CD-ROM gets mounted when I cd into the dir. But I can't eject the drive...
(Plus, if using subfs and issue df to see mounted partitions, it takes a lot of time because subfs tries to scan my floppy, dvd, cdrom and mount them, but there is nothing in the drives.)

On another machine, submount works well as expected. df shows that /mnt/cdrom and /mnt/floppy has no medium if they are empty, but it is not too bad, I will not issue df anymore. :) And I can eject the CD with the drive's eject button.

What can be the problem? Some kernel modules are incompatible with submount? I have recompiled my kernel with autofs as module only, it is not loaded, but no success...

Regards,
Sipi
Back to top
View user's profile Send private message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Wed Jun 09, 2004 8:01 am    Post subject: Reply with quote

Ups, one more thing. Now I recompiled my kernel without supermount, and did not load subfs. So, I use the "traditional" fstab/mount manual procedure.

I mount my cdrom, access it, browse. Than go away from the directory, umount it, and can't eject...:(

I use normal mount/umount, and I have to force to eject the cdrom with eject after unmounting!

What the hell is this? Does anyone have any clue?

Regards,
Sipi
Back to top
View user's profile Send private message
AdrianFletcher666
n00b
n00b


Joined: 09 Jun 2004
Posts: 13

PostPosted: Wed Jun 09, 2004 10:33 am    Post subject: Reply with quote

I once had a similar problem, but I wasnt using supermount, submount or anything.

All it took was a BIOS update to fix it.

I updated by mainboard bios and my cd drive bios, so I am not sure which one fixed the problem, but google for your hardware and see if anyone else has the same problem of if there is a BIOS update available.

Adrian
Back to top
View user's profile Send private message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Wed Jun 09, 2004 11:49 am    Post subject: Reply with quote

Thanks!
But my mainboard BIOS is up-to-date, CD-ROM was never updated, but it worked before...

Sipi
Back to top
View user's profile Send private message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Fri Jun 11, 2004 12:22 pm    Post subject: Reply with quote

Anyone...? :)

Now, I can hardly use my machine as I used to... Ejecting is a real pain.

Sipi
Back to top
View user's profile Send private message
aries
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2004
Posts: 127
Location: Sliedrecht the Netherlands

PostPosted: Thu Jun 17, 2004 10:27 am    Post subject: Reply with quote

I tried submount for a while.
The same problem happened but only when I used Konguerer, with Midnight kommander and Krusader no problems.
Switched back to Supermount and no problems with ejecting the CD.

If this is the case for your system may this can help you, I did not try it:

    (It is an excerpt from supermount Faq's)

    Q: When I enter into /mnt in Konqueror LED on CD-ROM/floppy blink constantly and Konqueror is very unrepsonsive.

    A: Konqueror tries to monitor for changes in directory /mnt and subdirectories. By default it does it by simply reading directory contents approximately every second. Of course supermount attempts to mount media every time Konqueror tries to list /mnt/cdrom etc.

    I suggest you enable FAM if your system supports it. In this case Konqueror asks FAM to monitor directories; and FAM does it by requesting kernel to send notification instead of constantly polling for changes. This is supported by supermount since versions 1.2.8 and 2.0.1 for kernels 2.4 and 2.6 resp.

    If it is not an option see previous item how to fix things for CD-ROM. There is no way to do the same for floppy.


Aries
Back to top
View user's profile Send private message
Sipi
Guru
Guru


Joined: 03 Apr 2003
Posts: 406
Location: Hungary

PostPosted: Thu Jun 17, 2004 11:48 am    Post subject: Reply with quote

Thanks, but I had the problem with Midnight Commander, too, in console...:)

But some days ago, it is good. I don't know why, because didn't change the settings...

I think it should be related to that I enabled DMA for my CDROM and DVD. But in dmesg, I saw that it generates errors. Data transfer was, however, very fast. And eject didn't work.

But now I see that transfer is very slow. Maybe my IDE controller starts dying, and now I can't enable DMA mode - and, voila, submount works well. :)

Regards,
Sipi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum