View previous topic :: View next topic |
Author |
Message |
Alpo Nestori n00b

Joined: 02 May 2004 Posts: 42
|
Posted: Tue Aug 16, 2005 2:23 pm Post subject: Floppy and CD defunctional [SOLVED] [DELETE] |
|
|
My HD (IBM Travelstar) broke down a while back. When I had recovered from a stage4 backup everything works except floppy and cd (and propably USB dvd)
Floppy:
Quote: | mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems |
The drive makes all the sounds it should, you know 'tac tac tac tac' ... but it doesn't mount. Same thing happens with root or user account.
CD:
Gxine can't access /dev/cdroms/cdrom0 as normal user but root works fine. Also abcde (cd-ripper) fails as user but works as root. Haven't tried mounting normal data cd's
/etc/fstab:
Quote: |
/dev/cdroms/cdrom0 /mnt/cdrom auto,iso9660 noauto,users,exec 0 0
/dev/fd0 /mnt/floppy auto,iso9660 noauto,noatime,users,rw 0 0
| The changes since the working setup are that i'm using crypt-swap as defined in /etc/conf.d/cryptfs, udev has replaced devfs and the new (notorious) baselayout update is done cleanly.
/etc/conf.d/rc :
Quote: | RC_USE_FSTAB="no"
RC_DEVICES="auto"
RC_DEVICE_TARBALL="yes" |
Any suggestions appreciated.
Last edited by Alpo Nestori on Fri Aug 26, 2005 11:09 am; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55212 Location: 56N 3W
|
Posted: Tue Aug 16, 2005 3:29 pm Post subject: |
|
|
Alpo Nestori,
Ripping and playing audio CDs requires raw device access. Your user needs to be in the cdrom group for that.
Has mounting floppies ever worked ?
Please pout the output of Code: | grep NLS /usr/src/linux/.config | You can cut all lines beginnig with a # (comment mark) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Tue Aug 16, 2005 6:31 pm Post subject: |
|
|
For the floppy, are you sure the disk you're using is in a good state (ie not defective, and formatted with some filesystem) ? Also do you have support for the filesystem on it (most likely FAT or VFAT, but can be something else if the disk was formatted on Linux) ? |
|
Back to top |
|
 |
Alpo Nestori n00b

Joined: 02 May 2004 Posts: 42
|
Posted: Wed Aug 17, 2005 6:47 am Post subject: |
|
|
Mounting floppies has worked allways without problems. I copied some files which were not on the last dvd backup like cupsd.conf onto a floppy right before the harddrive went silent for good. I use good Verbatim floppies and tried mounting now with several different ones in that regard.
NeddySeagoon wrote: | Please pout the output of grep NLS /usr/src/linux/.config . You can cut all lines beginnig with a # (comment mark) |
CONFIG_UDF_NLS=y
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_UTF8=y
I have vfat, msdos, ntfs support builtin to the kernel also. And my normal user account was able to rip cd's and use gxine to play dvd's before the crash just fine straight from fluxbox menu. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55212 Location: 56N 3W
|
Posted: Wed Aug 17, 2005 12:56 pm Post subject: |
|
|
Alpo Nestori,
Thats correct, You have Code: | CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y | both places. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Alpo Nestori n00b

Joined: 02 May 2004 Posts: 42
|
Posted: Thu Aug 18, 2005 7:13 am Post subject: |
|
|
Yes, everything should be correct but nothing works. Can you suggest anyplace else where to look from ?
I know from experience that my user account had access to /dev/cdroms/cdrom0 before the crash too. Used to play dvd movies with gxine all the time. Now that the floppy is going mad at the same time can't be a coincidence. This has got to be some udev related thing. Kicking devfs is the only major change since last working setup. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55212 Location: 56N 3W
|
Posted: Thu Aug 18, 2005 10:35 am Post subject: |
|
|
Alpo Nestori,
Look through your udev rules in /etc/udev/rules.d/ to check the permissions that devices are created with.
Rules are appled in reverse numerical order, thus rules in lower number files override rules in higher numbered files.
You may only have 50-udev.rules. Do not edit it if its not to your liking, since updates to udev will wip out your changes.
Create say 30-udev.rules and put your rules there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Alpo Nestori n00b

Joined: 02 May 2004 Posts: 42
|
Posted: Thu Aug 18, 2005 6:26 pm Post subject: |
|
|
NeddySeagoon wrote: | Create say 30-udev.rules and put your rules there. |
Thank you for your time and advices NeddySeagoon. I will look into this matter with patience and time too. If nothing happens i'll return to the forum in a few days.
p.s: Love your signature |
|
Back to top |
|
 |
Alpo Nestori n00b

Joined: 02 May 2004 Posts: 42
|
Posted: Wed Aug 24, 2005 1:44 pm Post subject: Re: Floppy and CD defunctional after recovered from HD crash |
|
|
/etc/fstab:
Quote: |
/dev/fd0 /mnt/floppy auto,iso9660 noauto,noatime,users,rw 0 0
|
It was the fstab all along. Merely changing auto,iso9660 --> vfat,auto.iso9660 did the trick. I don't remember touching this line in a year. Go figure...
This theread can be safely deleted. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55212 Location: 56N 3W
|
Posted: Thu Aug 25, 2005 10:30 pm Post subject: |
|
|
Alpo Nestori,
Hmm. iso9660 on a floppy ?
You probably did not intend to do that. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Yoshi Assim Apprentice


Joined: 16 Apr 2003 Posts: 234 Location: Girona (Spain)
|
Posted: Mon Aug 29, 2005 11:06 pm Post subject: Re: Floppy and CD defunctional [SOLVED] [DELETE] |
|
|
Quote: |
Floppy:
Quote: | mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems |
The drive makes all the sounds it should, you know 'tac tac tac tac' ... but it doesn't mount. Same thing happens with root or user account.
/etc/fstab:
Quote: |
/dev/cdroms/cdrom0 /mnt/cdrom auto,iso9660 noauto,users,exec 0 0
/dev/fd0 /mnt/floppy auto,iso9660 noauto,noatime,users,rw 0 0
|
|
I think that you must change tis line in /etc/fstab...
Code: | /dev/fd0 /mnt/floppy auto noauto,noatime,users,rw 0 0 |
I think that one floppy hasn't iso9660 filesystem... |
|
Back to top |
|
 |
|