View previous topic :: View next topic |
Author |
Message |
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Thu Jan 06, 2005 4:39 am Post subject: cdrom and floppy mounting problems (solved) |
|
|
Good day,
I got problem with cdrom and floppy mounting. I'm running Gentoo 2004.3, dev-sources kernel 2.6.10-r1. udev was setup according to "Decibeles UDEC setup". Kernel parameters, udev, /sys, gentoo=nodevfs baselayout and hotplug seems to be in place. The only thing I did not notice was:
Code: |
mounting sysfs at /sys
mounting ramfs at /dev
configuring system to use udev
populating /dev with device nodes
using /sbin/hotplug for udev management
|
I have
Code: |
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
|
instead ...
One more thing however, I was having cdrom/floppy mounting problems with devfs setup.
Don't really know what to do now...
Thanks,
night_mercury
Last edited by night_mercury on Tue Jan 11, 2005 3:03 am; edited 1 time in total |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Jan 06, 2005 5:28 am Post subject: |
|
|
I don't understand what problems you mean? What happens when you try to mount the cdrom or floppy? What does the command dmesg say? Does it detect the cdrom and floppy? You should get a line similar to this:
Code: | hdd: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive |
_________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Thu Jan 06, 2005 9:46 pm Post subject: |
|
|
Sorry, I was a bit sleepy yesterday night
My error messages are:
Code: |
mount /mnt/cdrom/
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0,
or too many mounted file systems
|
and
Code: |
mount: /dev/floppy/0 is not a valid block device
|
fstab:
Code: |
/dev/cdroms/cdrom0 /mnt/cdrom udf,iso9660 noauto,users,ro 0 0
/dev/floppy/0 /mnt/floppy auto noauto,users,rw 0 0
|
and here is part of ls -all /dev :
Code: |
drwxrwxrwt 19 root root 3440 Jan 6 16:01 .
drwxr-xr-x 18 root root 408 Jan 3 22:08 ..
-rw-r--r-- 1 root root 0 Jan 6 11:01 .udev
drwxr-xr-x 2 root root 3100 Jan 6 16:01 .udevdb
lrwxrwxrwx 1 root root 10 Jan 6 11:01 adsp -> sound/adsp
lrwxrwxrwx 1 root root 12 Jan 6 11:01 agpgart -> misc/agpgart
lrwxrwxrwx 1 root root 11 Jan 6 11:01 audio -> sound/audio
lrwxrwxrwx 1 root root 3 Jan 6 11:01 cdrom -> hdc
drwxr-xr-x 2 root root 60 Jan 6 11:01 cdroms
lrwxrwxrwx 1 root root 3 Jan 6 11:01 cdrw -> hdc
crw------- 1 main tty 5, 1 Jan 6 16:01 console
lrwxrwxrwx 1 root root 11 Jan 6 11:01 core -> /proc/kcore
drwxr-xr-x 3 root root 60 Jan 6 11:01 cpu
drwxr-xr-x 4 root root 80 Jan 6 11:01 discs
lrwxrwxrwx 1 root root 9 Jan 6 11:01 dsp -> sound/dsp
lrwxrwxrwx 1 root root 3 Jan 6 11:01 dvd -> hdc
lrwxrwxrwx 1 root root 3 Jan 6 11:01 dvdrw -> hdc
drwxr-xr-x 2 root root 60 Jan 6 11:01 fb
lrwxrwxrwx 1 root root 4 Jan 6 11:01 fb0 -> fb/0
crw-rw---- 1 root root 10, 62 Jan 6 11:01 fbsplash
lrwxrwxrwx 1 root root 13 Jan 6 11:01 fd -> /proc/self/fd
lrwxrwxrwx 1 root root 8 Jan 6 11:01 fd0 -> floppy/0
drwxr-xr-x 2 root root 60 Jan 6 11:01 floppy
|
playing with file system type does not help. I tried to change mount points to /dev/fd0, /dev/floppy, /dev/cdrom. Unfortunately that did not help either...
I got the following lines in my dmesg:
Code: |
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
|
nothing else for floppy though ... |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Jan 06, 2005 9:56 pm Post subject: |
|
|
If you put a data CD in the drive can you mount it like this as root?
Code: | mount /dev/hdc /mnt |
_________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Fri Jan 07, 2005 4:24 am Post subject: |
|
|
Thanks for the tip - CD mounting finally worked. I was actually trying to mount an audio CD before...
Now, how do I mount an audio CD and what could be wrong with the floppy? |
|
Back to top |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Fri Jan 07, 2005 4:28 am Post subject: |
|
|
You don't mount an audio CD. Ever. Seriously. If you use XMMS, just configure it to list the songs in a certain directory:
XMMS --> Options --> Preferences --> CD Audio Player --> Configure
Then it will list the tracks in the directory you chose when you insert an audio CD. _________________ The free market gave me gonorrhea. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Fri Jan 07, 2005 10:23 pm Post subject: |
|
|
oops ... sorry ...
I still wonder what could be wrong with my floppy... |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Sat Jan 08, 2005 3:25 pm Post subject: |
|
|
Do you have devfs support enabled in your kernel? If you are using udev you should disable that. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Sat Jan 08, 2005 4:29 pm Post subject: |
|
|
I do have devfs in the kernel, but I boot with gentoo=nodevfs option. That shouldnt interfere with udev, correct?
Anyway, I couldn't work with the floppy under devfs neither. The system was continuously trying to mount it. I waited about fife minutes once... The only way to stop it was to eject the floppy. |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Sat Jan 08, 2005 5:51 pm Post subject: |
|
|
night_mercury wrote: | I do have devfs in the kernel, but I boot with gentoo=nodevfs option. That shouldnt interfere with udev, correct? |
Ermmm... it shouldn't, but I've never tried it. When I switched to udev, I compiled a new kernel.
night_mercury wrote: | Anyway, I couldn't work with the floppy under devfs neither. The system was continuously trying to mount it. I waited about fife minutes once... The only way to stop it was to eject the floppy. |
That's strange. Do you use supermount or something like that? _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Tue Jan 11, 2005 3:02 am Post subject: |
|
|
Thanks a lot. Floppy started to work after recompiling kernel without devfs and switching to msdos in fstab.
I tried to mount the floppy and noticed it was singing the old song - was trying to mount it continuously. I stepped away from my computer and saw a message asking me to specify file system type when I was back. So I did the change in it fstab, and it worked.
PS By the way, I had to recompile my nvidia drivers after rebuilding kernel. |
|
Back to top |
|
|
Timmer Guru
Joined: 24 Aug 2004 Posts: 373 Location: Duluth, MN, USA
|
Posted: Tue Jan 11, 2005 11:42 pm Post subject: |
|
|
you have to re-merge nvidia-kernel every time you create a new kernel. it's annoying.
i can't get my floppy to work either. I get the same error message, switched over to udev just now. any suggestions? and if you want me to post any of my files, or anything, just let me know. I'm not sure which ones would affect this. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Thu Jan 13, 2005 9:17 pm Post subject: |
|
|
Timmer, sorry but I'm novice myself. Not sure I can help. My recommendations are:
Regardless of the outcome, the more times you re-compile your kernel the better you become
Let me know if you need more help.
Thanks,
night_mercury |
|
Back to top |
|
|
Timmer Guru
Joined: 24 Aug 2004 Posts: 373 Location: Duluth, MN, USA
|
Posted: Thu Jan 13, 2005 9:57 pm Post subject: |
|
|
i solved this yesterday. Actually the problem was that i hadn't compiled in the code pages i needed. put inthe cp437 module and everything was happy. |
|
Back to top |
|
|
night_mercury n00b
Joined: 04 Mar 2004 Posts: 20
|
Posted: Thu Jan 13, 2005 10:03 pm Post subject: |
|
|
Nice. Good to know about cp module. |
|
Back to top |
|
|
|