Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

kfloppy error: device not correctly defined

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Chuckinator
n00b
n00b
Posts: 25
Joined: Sat May 28, 2005 2:58 am

kfloppy error: device not correctly defined

  • Quote

Post by Chuckinator » Thu Dec 15, 2005 8:13 pm

Anytime I try to use kfloppy to do anything (quick format, full format, ...), I receive the error:

Code: Select all

Internal error: device not correctly defined
in the status box. I can use command line tools to format the floppy drive just fine and I never had this problem until upgrading to KDE 3.5. Can anyone offer any suggestions?
Top
Chuckinator
n00b
n00b
Posts: 25
Joined: Sat May 28, 2005 2:58 am

  • Quote

Post by Chuckinator » Tue Dec 20, 2005 3:20 am

If I emerge kfloppy with USE="debug", kfloppy spits out:

Code: Select all

kfloppy: static bool FATFilesystem::runtimeCheck()
kfloppy: static bool Ext2Filesystem::runtimeCheck()
kfloppy: static bool MinixFilesystem::runtimeCheck()
kfloppy: KFAction::KFAction(QObject*)
kfloppy: KFActionQueue::KFActionQueue(QObject*)
kfloppy: KFAction::KFAction(QObject*)
kfloppy: FloppyAction::FloppyAction(QObject*)
kfloppy: FDFormat::FDFormat(QObject*)
kfloppy: bool FloppyAction::configureDevice(int, int)
kfloppy: void KFActionQueue::queue(KFAction*)
kfloppy:   FDFormat
kfloppy: KFAction::KFAction(QObject*)
kfloppy: FloppyAction::FloppyAction(QObject*)
kfloppy: FATFilesystem::FATFilesystem(QObject*)
kfloppy: static bool FATFilesystem::runtimeCheck()
kfloppy: bool FloppyAction::configureDevice(int, int)
kfloppy: void KFActionQueue::queue(KFAction*)
kfloppy:   FATFilesystem
kfloppy: virtual void KFActionQueue::exec()
kfloppy: void KFActionQueue::actionDone(KFAction*, bool)
kfloppy:   Starting action queue.
kfloppy: Running action FDFormat
kfloppy: virtual void FDFormat::exec()
kfloppy: FloppyData::formatStatus: Internal error: device not correctly defined. : -1
kfloppy: void KFActionQueue::actionDone(KFAction*, bool)
kfloppy: virtual KFAction::~KFAction()
kfloppy: virtual void KFAction::quit()
kfloppy:   Action failed.
kfloppy: void FloppyData::reset()
kfloppy: virtual void KFAction::quit()
kfloppy: virtual KFActionQueue::~KFActionQueue()
kfloppy: virtual KFAction::~KFAction()
kfloppy: virtual void KFAction::quit()
kfloppy: virtual KFAction::~KFAction()
kfloppy: virtual void KFAction::quit()
Top
DieselPower
Apprentice
Apprentice
User avatar
Posts: 216
Joined: Wed Oct 26, 2005 2:48 pm
Location: TN
Contact:
Contact DieselPower
Website

  • Quote

Post by DieselPower » Sun Apr 16, 2006 10:27 pm

I have the same problem. Anyone have a fix?

I'll post more info if you need it.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Mon Apr 17, 2006 6:44 am

a long time ago (May 06, 2005) I had problems with kfloppy which were fixed by creating a link to /dev/fd0 called /dev/fd0u1440 and kfloppy worked.. worth looking at perhaps.

Code: Select all

# ln -s /dev/fd0  /dev/fd0u1440
amazing I just checked it here and it still fails until making the above link...

mvh

Edit: I've just checked this on Slax, and it works there with no problem.
In /dev there are a bunch of entries:

Code: Select all

lrwxrwxrwx    1 root root          8 Apr 17 09:16 fd0 -> floppy/0
brw-rw----    1 root floppy   2,   4 Apr 17 09:16 fd0d360
brw-rw----    1 root floppy   2,   8 Apr 17 09:16 fd0h1200
brw-rw----    1 root floppy   2,  40 Apr 17 09:16 fd0h1440
brw-rw----    1 root floppy   2,  56 Apr 17 09:16 fd0h1476
brw-rw----    1 root floppy   2,  72 Apr 17 09:16 fd0h1494
brw-rw----    1 root floppy   2,  92 Apr 17 09:16 fd0h1600
brw-rw----    1 root floppy   2,  20 Apr 17 09:16 fd0h360
brw-rw----    1 root floppy   2,  24 Apr 17 09:16 fd0h720
brw-rw----    1 root floppy   2,  80 Apr 17 09:16 fd0h880
brw-rw----    1 root floppy   2,  28 Apr 17 09:16 fd0u1440
brw-rw----    1 root floppy   2, 124 Apr 17 09:16 fd0u1600
brw-rw----    1 root floppy   2,  44 Apr 17 09:16 fd0u1680
brw-rw----    1 root floppy   2,  60 Apr 17 09:16 fd0u1722
brw-rw----    1 root floppy   2,  76 Apr 17 09:16 fd0u1743
brw-rw----    1 root floppy   2,  96 Apr 17 09:16 fd0u1760
brw-rw----    1 root floppy   2, 116 Apr 17 09:16 fd0u1840
brw-rw----    1 root floppy   2, 100 Apr 17 09:16 fd0u1920
brw-rw----    1 root floppy   2,  32 Apr 17 09:16 fd0u2880
brw-rw----    1 root floppy   2, 104 Apr 17 09:16 fd0u3200
brw-rw----    1 root floppy   2, 108 Apr 17 09:16 fd0u3520
brw-rw----    1 root floppy   2, 112 Apr 17 09:16 fd0u3840
that don't exist in Gentoo (KDE 3.5.2 IIRC)
Ah, I see, they have a script which "Add extra floppy devices"
Something for Gentoo perhaps, tho really its a KDE problem.
"I am not bound to please thee with my answers" W.S.
Top
lindegur
Apprentice
Apprentice
User avatar
Posts: 293
Joined: Sat Aug 14, 2004 10:20 pm
Location: Swiss mountains
Contact:
Contact lindegur
Website

  • Quote

Post by lindegur » Mon Nov 27, 2006 8:56 pm

The link did not help :roll:
I think kFloppy does not find the right /dev/file(s). A way out, is the feature of KFloppy to support user given devices, so instead of selecting primary or secondary, I have overwritten the field with /dev/fd0 and it worked. :lol:
Maybe somebody knows how to create the dev files manually, so the trick would not be necessary any longer. :)
However do I still use floppies :?:
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Mon Dec 25, 2006 3:59 pm

Thanks, Cintra, that worked for me :D
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
Kollin
Veteran
Veteran
User avatar
Posts: 1139
Joined: Sat Feb 25, 2006 12:42 am
Location: Sofia/Bulgaria

  • Quote

Post by Kollin » Tue Jan 02, 2007 1:10 pm

Worked for me too *kisses* :P
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Top
Kollin
Veteran
Veteran
User avatar
Posts: 1139
Joined: Sat Feb 25, 2006 12:42 am
Location: Sofia/Bulgaria

  • Quote

Post by Kollin » Tue Jan 02, 2007 4:19 pm

And here is why :
SETI / # man fdformat

FDFORMAT(8) Linux Programmer's Manual FDFORMAT(8)



NAME
fdformat - Low-level formats a floppy disk

SYNOPSIS
fdformat [ -n ] device

DESCRIPTION
fdformat does a low level format on a floppy disk. device is usually one of the following (for floppy devices, the major = 2, and the
minor is shown for informational purposes only):

/dev/fd0d360 (minor = 4)
/dev/fd0h1200 (minor = 8)
/dev/fd0D360 (minor = 12)
/dev/fd0H360 (minor = 12)
/dev/fd0D720 (minor = 16)
/dev/fd0H720 (minor = 16)
/dev/fd0h360 (minor = 20)
/dev/fd0h720 (minor = 24)
/dev/fd0H1440 (minor = 28)

/dev/fd1d360 (minor = 5)
/dev/fd1h1200 (minor = 9)
/dev/fd1D360 (minor = 13)
/dev/fd1H360 (minor = 13)
/dev/fd1D720 (minor = 17)
/dev/fd1H720 (minor = 17)
/dev/fd1h360 (minor = 21)
/dev/fd1h720 (minor = 25)
/dev/fd1H1440 (minor = 29)

The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with fdformat when a non-standard format is being used, or if the
format has not been autodetected earlier. In this case, use setfdprm(8) to load the disk parameters.



OPTIONS
-n No verify. This option will disable the verification that is performed after the format.

SEE ALSO
fd(4), setfdprm(8), mkfs(8), emkfs(8)

AUTHOR
Werner Almesberger (almesber@nessie.cs.id.ethz.ch)



Linux 0.99 1 February 1993 FDFORMAT(8)
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic