MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know floppy disks are out of date, but for various reasons I have to use them.
When I try copying a file from any folder, to the floppy, it starts, transfers about 20k and then stalls. I can let it sit for hours and nothing happens. The drive light is on, the motor is moving, but nothingis copied. Only part of the file is transferred. For example, the file would be 200k, and on the disk it would show as a 30k file.
I swapped floppy drives and the same thing happens.
The disk is newly formated to FAT and there are no bad sectors.
I tried multiple diskettes as well.
I can copy FROM a diskette slowly, but it does work.
I got the same once on another senario, I was trying to copy to an external hard drive connected using (IDE to USB) adapter and got exactly the same. I tried many things ... but at last the problem was from the Hard drive or the controller.
check your controller or try another floppy disk
I got the same once on another senario, I was trying to copy to an external hard drive connected using (IDE to USB) adapter and got exactly the same. I tried many things ... but at last the problem was from the Hard drive or the controller.
check your controller or try another floppy disk
Its not the controller or floppy.
It worked under the last version of Mandriva.
The diskettes work fine under Windows.
Have you tried doing a simple disk dump to the floppy? Try creating a file full of some random stuff, like this:
Code:
$ dd if=/dev/urandom of=randomstuff count=1 bs=1M
You should now have a 1MB file full of random stuff. Now take the md5sum of the file so that you'll have something to compare the written image to, should it work.
Code:
$ md5sum randomstuff
Now, insert the floppy, make sure it is NOT mounted, and do this:
Code:
$ dd if=randomstuff of=/dev/fd0 bs=1M count=1
This may take a little while to complete. Assuming it finishes, you can now take the md5sum of the disk and compare it to the md5sum of the file.
Code:
$ md5sum /dev/fd0
If they match, then the problem does not lie with doing direct writes to the drive (as I understand it). The problem could then be the way it was mounted, or any automounting commands/patches used. It would also mean that with a few tweaks, you can probably have it up and running with the new version of Mandriva.
If this somehow doesn't work, it's probably a kernel problem. Try downloading and installing another kernel. If all else fails, download and compile a "vanilla" kernel from www.kernel.org. (There are plenty of how-tos on that.)
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Quote:
Its not the controller or floppy.
It worked under the last version of Mandriva.
The diskettes work fine under Windows.
I had something a bit similar, with all hardware being OK.
One day floppy refused to work (the one odd day I needed it)
I eventually removed automount from fstab and rebooted and it worked
(mount it manually)
Odd I know, but like you I was sure the floppy etc was ok (tested with knoppix)
Have you tried doing a simple disk dump to the floppy? Try creating a file full of some random stuff, like this:
Code:
$ dd if=/dev/urandom of=randomstuff count=1 bs=1M
You should now have a 1MB file full of random stuff. Now take the md5sum of the file so that you'll have something to compare the written image to, should it work.
Code:
$ md5sum randomstuff
Now, insert the floppy, make sure it is NOT mounted, and do this:
Code:
$ dd if=randomstuff of=/dev/fd0 bs=1M count=1
This may take a little while to complete. Assuming it finishes, you can now take the md5sum of the disk and compare it to the md5sum of the file.
Code:
$ md5sum /dev/fd0
If they match, then the problem does not lie with doing direct writes to the drive (as I understand it). The problem could then be the way it was mounted, or any automounting commands/patches used. It would also mean that with a few tweaks, you can probably have it up and running with the new version of Mandriva.
If this somehow doesn't work, it's probably a kernel problem. Try downloading and installing another kernel. If all else fails, download and compile a "vanilla" kernel from www.kernel.org. (There are plenty of how-tos on that.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.