LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2001, 02:29 PM   #1
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Rep: Reputation: 15
Floppy disk problem


I don't know why, but my linux mandrake system does something strange with the floppy drive. I can not read or write to it. The kind of error messages I receive is "input/output error". Everything is mounted, and theoretically should work, but it does not. What should I do?

Voitel
 
Old 07-15-2001, 05:05 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
this is really weird!!!

especially if it mounts properly. usually if something is wrong, mount will spew error messages left right and centre!

i assume that the disk is formatted and has something on it. have you tried other disks or is it just one of them? it might be the disk itself; it might be deterriorating or something.

either that or your floppy drive is broken (or set up wrong). is the lead in properly?

as i said it should be mount spewing errors when you try to u/mount it.

very strange

Alex
 
Old 07-15-2001, 06:57 PM   #3
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
I know

Even though I am new to linux, i spent quiet a while whith UNIX HP-UX. Can you tell me what to do or how to fix this problem. i am running lnx4win under windows 98. The floppy works find with the windows and I can see it in the linux configuration. Maybe I have do recreate fd0 device, but I don't know how to do that.

HELP

Voitel.
 
Old 07-15-2001, 09:47 PM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Check your /dev directory and see if fd0 is in there.

The program to create devices is MAKEDEV. Check out its man page.

When you boot up linux, run the mount command all by itself. It will list the devices that are mounted. See if your floppy is mounted. Could you post a copy a your /etc/fstab file?

By the way, did the info I gave you help you solve your memory problem?
 
Old 07-15-2001, 11:46 PM   #5
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
The fd0 device is in the /dev dierectory. There is also a ling to fd0 called floppy. I will try to post the copy of the file you asked during my next session. I am runnign lnx4win. I need to reboot.

voitel
 
Old 07-16-2001, 01:35 PM   #6
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
fstab file

/initrd/loopfs/lnx4win/linuxsys.img / ext2 loop 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda1 /initrd/loopfs vfat user,exex,umask=0 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,nosuid,noauto,exec,user,nodev 0 0
/dev/floppy /mnt/floppy vfat noauto,user,rw 0 0
/dev/zip /mnt/zip auto user,noauto 0 0
none /proc proc defaults 0 0
/mnt/windows/lnx4win/swapfile swap swap defaults 0 0


That is it. I still don't know why I can not read or write to a floppy.
 
Old 07-16-2001, 01:36 PM   #7
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
What should I do?

voitel
 
Old 07-16-2001, 01:46 PM   #8
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Unhappy

i have no idea, it is one weird problem. that looks like a normal fstab file to me. although you might want to change the line with /dev/floppy in it. change the vfat to auto

doubt that will make a difference but i have no idea even vaguely what is wrong. hopefully some brainy munchkin here will suddenly come up with an amazing answer that makes our intellects seem as pathetic as windows' IIS!

 
Old 07-16-2001, 01:51 PM   #9
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
have you tried writing to it as root?
 
Old 07-16-2001, 03:12 PM   #10
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I've had a similar problem.
Found out that the disks got trashed because of my floppy-drive.
At least that is what is left after trying dozens of times with different disks, all of them getting trashed.
Might be alot of dust in there.
Also post the result from the command:
ls -lap /mnt/floppy
There might be a file right problem.
 
Old 07-16-2001, 05:51 PM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
OK. You take a vfat formatted floppy with its read/write tab set for read/write and you insert it into your drive. Then you run the command mount /mnt/floppy and you get a message about input/output errors. Could you post the exact error massage?
 
Old 08-11-2001, 05:40 PM   #12
crash89
Member
 
Registered: Jul 2001
Location: Northern VA
Distribution: SuSE 9.0
Posts: 61

Rep: Reputation: 15
I am having the exact same problem! When I run mount /mnt/floppy, it returns in about a minute with "/dev/fd0: Input/output error", after another minute, it returns "mount : block device /dev/fd0 is write protected, mounting read-only /dev/fd0: Input/output error. It then hangs for a while and returns an error about the filesystem type or, more often, "you must specify filesystem type. I checked etc.fstab filesystem type is auto. Please help!
 
Old 08-11-2001, 08:10 PM   #13
voitel
Member
 
Registered: Jul 2001
Location: USA, WA
Distribution: Linux Mandrake 7.2
Posts: 35

Original Poster
Rep: Reputation: 15
I think that it is a bug in lnx4win 7.2 Just in case check out the permissions for the /dev/fd0 device. Basically I partitioned my hard drive and installed linux on separate partition. Now it is working just fine.
 
Old 08-11-2001, 11:02 PM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
voitel, I reread this thread and I found that I completely missed an error in your fstab file. This line:
/dev/floppy /mnt/floppy vfat noauto,user,rw 0 0

should read:
/dev/fd0 /mnt/floppy vfat noauto,user,rw 0 0

I missed the ' /dev/floppy '. It should be ' /dev/fd0 '.
 
Old 08-11-2001, 11:02 PM   #15
crash89
Member
 
Registered: Jul 2001
Location: Northern VA
Distribution: SuSE 9.0
Posts: 61

Rep: Reputation: 15
Mine had a different problem. It is mounted as a different device! (ls120.0). Works now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy Disk Problem on FC3 evalastin Linux - Newbie 2 01-18-2005 06:23 AM
problem mounting a floppy disk favor Linux - Software 4 02-05-2004 01:23 AM
Curious problem reading root floppy disk gdeckler Linux - Newbie 4 08-01-2003 11:04 PM
Problem installing Mandrake 8.1 with a floppy disk FLY FISHER Linux - Software 0 02-02-2002 06:45 PM
phantom disk problem reading floppy wsimmons Linux - General 3 10-19-2001 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration