LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2016, 01:27 AM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Rep: Reputation: 0
floppy question (real not usb)


Does Slackware have out of the box support for 1.44MB 3-1/2 inch floppy drive? Real one, not USB.
 
Old 03-20-2016, 01:38 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what version ?

most new kernels do not support a floppy
or
do but it is turned off and you need to manually run " modprobe floppy "and manually mount it
Code:
su -
modprobe floppy
mkdir /mnt/floppy
mount /dev/fd0 /mnt/floppy
 
1 members found this post helpful.
Old 03-20-2016, 01:47 AM   #3
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
what version ?

most new kernels do not support a floppy
or
do but it is turned off and you need to manually run " modprobe floppy "and manually mount it
Code:
su -
modprobe floppy
mkdir /mnt/floppy
mount /dev/fd0 /mnt/floppy
What version indeed?

I am OK with these commands to turn it on and mount it. How old a version do I have to get? I don't care about security concerns or the latest bells and whistles. I have some files that I really need to write to floppys.
 
Old 03-20-2016, 02:08 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
we still have floppy package
Quote:
PACKAGE NAME: floppy-5.5-i486-1
COMPRESSED PACKAGE SIZE: 344K
UNCOMPRESSED PACKAGE SIZE: 810K
PACKAGE LOCATION: floppy-5.5-i486-1.txz
PACKAGE DESCRIPTION:
floppy: floppy (floppy disk utilities)
floppy:
floppy: Contains fdutils, tools to test and format floppy disks; and mtools,
floppy: a collection of utilities to access FAT disks without mounting them.
 
1 members found this post helpful.
Old 03-20-2016, 01:19 PM   #5
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,503

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by skippy1729 View Post
Does Slackware have out of the box support for 1.44MB 3-1/2 inch floppy drive? Real one, not USB.
Yes. CONFIG_BLOCK_DEV_FD=y in all kernels.
 
4 members found this post helpful.
Old 03-24-2016, 01:32 PM   #6
MarcT
Member
 
Registered: Jan 2009
Location: UK
Distribution: Slackware 14.2
Posts: 125

Rep: Reputation: 51
I've had problems using a real floppy drive with 64bit Linux kernels on my workstation (an older AMD Phenom(tm) 9850 based box) in the past. The same system used to dual boot 32bit Windows-XP which would handle the floppy drive just fine. Can't say I've tried recently with Kernel 3.10.17 in Slackware64 14.1, so it may have been fixed.

Trying to format a floppy with Kernel 2.6.33.3 (Slackware64-13.0 or 13.1) caused the following in "dmesg". The clocksource was not unstable until the format was attempted.
Code:
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
[...]
Clocksource tsc unstable (delta = -144951798830 ns)
Switching to clocksource hpet
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block 0
end_request: I/O error, dev fd0, sector 8
Buffer I/O error on device fd0, logical block 1
end_request: I/O error, dev fd0, sector 16
Buffer I/O error on device fd0, logical block 2
end_request: I/O error, dev fd0, sector 24
Buffer I/O error on device fd0, logical block 3
end_request: I/O error, dev fd0, sector 32
Buffer I/O error on device fd0, logical block 4
end_request: I/O error, dev fd0, sector 40
Buffer I/O error on device fd0, logical block 5
end_request: I/O error, dev fd0, sector 48
Buffer I/O error on device fd0, logical block 6
end_request: I/O error, dev fd0, sector 56
Buffer I/O error on device fd0, logical block 7
end_request: I/O error, dev fd0, sector 64
Buffer I/O error on device fd0, logical block 8
end_request: I/O error, dev fd0, sector 72
Buffer I/O error on device fd0, logical block 9
end_request: I/O error, dev fd0, sector 80
Buffer I/O error on device fd0, logical block 10
end_request: I/O error, dev fd0, sector 88
Buffer I/O error on device fd0, logical block 11
end_request: I/O error, dev fd0, sector 96
Buffer I/O error on device fd0, logical block 12
end_request: I/O error, dev fd0, sector 104
Buffer I/O error on device fd0, logical block 13
end_request: I/O error, dev fd0, sector 112
Buffer I/O error on device fd0, logical block 14
end_request: I/O error, dev fd0, sector 120
Buffer I/O error on device fd0, logical block 15
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block 0
The same floppy disk would format fine and be error-free under Windows. I reported it at the time to LKML, but didn't get anywhere. Seemed nobody else had a real floppy drive to test with...!

Let me know how you get on! I'd like to be able to use the floppy for some retro computer equipment (Acorn Archimedes, amongst others).

Last edited by MarcT; 03-24-2016 at 01:34 PM.
 
Old 03-24-2016, 07:54 PM   #7
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by MarcT View Post
I've had problems using a real floppy drive with 64bit Linux kernels on my workstation (an older AMD Phenom(tm) 9850 based box) in the past. The same system used to dual boot 32bit Windows-XP which would handle the floppy drive just fine. Can't say I've tried recently with Kernel 3.10.17 in Slackware64 14.1, so it may have been fixed.

Trying to format a floppy with Kernel 2.6.33.3 (Slackware64-13.0 or 13.1) caused the following in "dmesg". The clocksource was not unstable until the format was attempted.
Code:
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
[...]
Clocksource tsc unstable (delta = -144951798830 ns)
Switching to clocksource hpet
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block 0
end_request: I/O error, dev fd0, sector 8
Buffer I/O error on device fd0, logical block 1
end_request: I/O error, dev fd0, sector 16
...
The same floppy disk would format fine and be error-free under Windows. I reported it at the time to LKML, but didn't get anywhere. Seemed nobody else had a real floppy drive to test with...!

Let me know how you get on! I'd like to be able to use the floppy for some retro computer equipment (Acorn Archimedes, amongst others).
I have a floppy drive that works ok on Slackware 13.0 using a single core AMD Athlon.

The quad-core AMD Phenom system probably has trouble with the internal clock timers because of the multiple cores.

Here is an old Slackware thread about clock timers:
http://www.linuxquestions.org/questi...9/#post2772946
 
  


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
floppy question (real not usb) skippy1729 Sabayon 2 03-20-2016 01:50 AM
a real n00b question! how do i mount my floppy drive? roddyguk Debian 7 02-09-2006 07:36 PM
need help real bad getting my cdrom and floppy to work dvdljns Slackware 13 09-30-2003 07:39 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 08:33 AM
Internal floppy to USB Floppy kbvaldez Linux - Newbie 0 08-21-2003 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:30 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