[Karmic] unable to access floppy drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dosemu (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: dosemu
unable to access floppy drive in dosemu. No drive lights activate, but receive this error.
C:\>dir a:
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
Error reading from drive A: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
File not found. - 'a:'
C:\>dir b:
Remove diskette in drive A:
Insert diskette in drive B:
Press the any key to continue ...
Error reading from drive B: DOS area: sector not found
(A)bort, (I)gnore, (R)etry, (F)ail?
File not found. - 'b:'
Floppy works fine when booting DOS.
roland@
ICE default IO error handler doing an exit(), pid = 2940, errno = 11
roland@
roland@
roland@
Description: Ubuntu karmic (development branch)
Release: 9.10
roland@
ProblemType: Bug
Architecture: i386
Date: Fri Oct 9 14:08:13 2009
DistroRelease: Ubuntu 9.10
Package: dosemu 1.4.0+svn.
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: dosemu
Uname: Linux 2.6.31-12-generic i686
Incredible that this bug has remained open for 4 years.
The solution is simple--DOSemu running as a user doesn't have root permission to access a physical device.
You can fix this by
sudo chmod a+rw /dev/fd0
Note that you have to do this every time you reboot, as the device table is built fresh.
I can run BIOS-level floppy access just fine using this.