Page 1 of 1
600E floppy not working in linux
Posted: Mon Nov 20, 2006 10:42 pm
by kocoman
Hi, I trying to use floppy in linux (it works fine booting DOS), but the light never turns on/spins. (i know it has power because I can boot dos from it and it spins a little when I put a disk in) because linux always say "sector 0" error when I do mdir on it. I tried "modprobe floppy floppy=thinkpad" etc but it always say sector 0 error.. anyone have any clues? I removed the modem card and is using yenta. It detects the fd0 as 1.44 and the chipset PC87306
Thanks
Posted: Tue Nov 21, 2006 12:40 am
by tom lightbody
well, I suppose not....but just in case--did you mount the drive?
"mount /dev/fd0 /floppy"
Posted: Tue Nov 21, 2006 2:35 pm
by kocoman
I get this. (for mounting) Using kernel 2.6.17 (tpctl won't compile with the 2.6.18 series, says missing smapi.o or something.)
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block 0
tpctl (6.0) shows
floppy controller: 0x3f0 IRQ6 enable
information about UltraBay II:
device type: 0x0 (i.e., FDD)
device ID: 0x0 (i.e., FDD)
diskette drive type: 4 (i.e., 1.44 MB)
number of diskette drives: 1
diskette drive 0 present?: Y
Posted: Sun Nov 26, 2006 3:20 pm
by Davemci
Actually, mdir wont work if the floppy is mounted. You'll get a resource busy error on /dev/fd0. Perhaps you don't have DOS file system support configured in your kernel or ordinary floppy block device support enabled. Maybe the disk is formatted for 720K. Somehow I think it's a kernel issue or a module not being loaded since you've proven the floppy works. I would just go to /usr/src/linux and type make menuconfig and check things out.