LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-20-2004, 01:31 AM   #1
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Rep: Reputation: 32
Floppy Drive 5 1/4... old ms-dos!??


is there any way i can mount this floppy drive!??
is a really old floppy drive...

I recompile my kernel 2.6.7 with all filesystems and IBM XT support
but i always get this when the OS is trying to read the disk....

# mount /dev/fd0 /mnt/floppy/
/dev/fd0: Invalid argument
mount: /dev/fd0 is not a valid block device

btw, i got the drive from my old computer.... (actually my first pc...)
you know... monocrome monitor, no HDD only two 5 1/4 FDD... etc...


Regards,
 
Old 06-20-2004, 03:47 AM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
You could try the following:
- check the output of "dmesg"; here you find which devices are recognized at boot time
- check if bios settings are OK for this drive (some people actually forget this when they install other drives...)
- Is floppy disk support enabled in the kernel? (think it's somewhere under block device drivers in the menu)
- is the /dev/fd0 special file present? Since you get this "invalid arg." message, maybe it's missing...

Good luck!
nukkel
 
Old 06-20-2004, 01:30 PM   #3
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
dmesg output:
...
ide-floppy driver 0.99.newide
...
microcode: No suitable data for cpu 0
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
inserting floppy driver for 2.6.7
Floppy drive(s): fd0 is 1.2M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.27
divert: allocating divert_blk for eth0
...

BIOS Settings.... i did check'em twice... now a third time...!!

/dev/fd0 special file present... i guess it is because it reads
the disk but it won't mount it because of the block device
error.....

i believe the floppy is supported in the kernel... but i'm checking again...


any more ideas...!??\
 
Old 06-20-2004, 10:38 PM   #4
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
Try using the non-autodetected fd device, that is, the /dev/fd0xxx ones. Take a look at them in /usr/src/linux-[VERSION]/Documentation/devices.txt
 
Old 06-21-2004, 02:44 AM   #5
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
8 = /dev/fd?h1200 5.25" 1200K in a 1200K drive(1)


how can i mount it??
mount /dev/fd?h1200 /mnt/temp/
that doesn't work....
 
Old 06-21-2004, 04:08 AM   #6
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
The '?' refers to the number of the drive. So, in your case the first drive: /dev/fd0h1200
 
Old 06-21-2004, 09:47 PM   #7
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
i tryed, like you said... and no success i still get the same error...
do you know why this is happening!??

i mounted all of the fd0xxxx listed in the document....
 
Old 06-22-2004, 08:49 AM   #8
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
I don't have an old floppy drive anymore, so I can only guess, sorry...

Um, does the drive's LED light up when you try mounting the disk? Or try dd'ing a few bytes out? Does it show any sign of activity?

Since it is very old, I somehow doubt your drive is gone... I don't know for sure though.
 
Old 06-22-2004, 11:54 AM   #9
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware
Posts: 385

Original Poster
Rep: Reputation: 32
indeed it is a very old 5.25 drive...

when i try to mount the drive, the led turns on...
and then the shell gives me the error...

>> does the drive's LED light up when you try mounting the disk?
yes it does...
>> try dd'ing a few bytes out?
how do i do this!??
>> Does it show any sign of activity?
yes, it spins... when accessing the drive!!


btw, i forgot to mention that the cable that goes to the mb is not
a regular floppy one, the connector that goes to the M/B it does looks
like a floppy but at the other end it looks like a pci connector(not really)...
is this causing a problem!?? and on the old pc that i removed the drive
from it has all the pins on the floppy connector while my M/B(ASUS) is
missing one pin you know the standard...
 
  


Reply



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
DOS Floppy image w/ grub? hroman Linux - Software 5 10-09-2004 12:23 AM
dos formatted floppy tjb Linux - Newbie 9 08-17-2004 08:08 AM
wine looking for DOS drive on mandrake 9.2 krome Linux - Software 1 06-21-2004 01:14 PM
installing DOS on Linux laptop without floppy/CD vk-gentoo Linux - Laptop and Netbook 3 04-06-2004 05:49 AM
dos floppy/kernel version newguy1976 Linux - General 1 10-19-2000 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:10 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
Open Source Consulting | Domain Registration