home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8784 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  2.9 KB

  1. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ames!lll-winken!fnnews!fncrd6.fnal.gov!rohrer
  2. From: rohrer@fncrd6.fnal.gov (Keith Rohrer)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Diskette Changeline (was: Need Help: Mtools)
  5. Message-ID: <2212@fnnews.fnal.gov>
  6. Date: 21 Aug 92 14:29:26 GMT
  7. References: <1992Aug21.023532.28214@athena.mit.edu>
  8. Sender: news@fnnews.fnal.gov
  9. Followup-To: rohrer@fncrd0.fnal.gov
  10. Organization: Fermilab
  11. Lines: 50
  12. Nntp-Posting-Host: fncrd6.fnal.gov
  13.  
  14. In article <1992Aug21.023532.28214@athena.mit.edu> tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  15. >   From: jhuang@Chaos.mcs.kent.edu (Jing Huang)
  16. >   Date: Thu, 20 Aug 1992 20:39:10 GMT
  17. [Possible typical diskette changeline problem deleted]
  18. To be certain, you ought to try this under MS-DOG (or DR-DOS, take your pick,
  19. even OS/2 ought to do it; if you're considering testing this with the Windows
  20. NT pre-release developer's kit, Begone Evil One, though that might work too...)
  21. just to make sure; I've got some nasty hard drive problems that don't
  22. show up under MS- or DR- DOS (or OS/2 2.0) at all...
  23.  
  24. >It sounds like your floppy drive doesn't have its "diskette change line"
  25. >working correctly --- apparently that's a common problem.  The meaning
  26. >of that line (I think it's pin 34 on the ribbon connector) changed from
  27. If I remember my lore correctly, not so much changed as became useful.
  28.  
  29. >XT floppy dirves to AT floppy drives.  On AT systems, that line is
  30. >supposed to signal to computer that someone has opened the driver door
  31. >(on a 5" disk) or ejected the floppy (on a 3" disk), so the computer
  32. >should flush its disk buffers.  
  33. >On some diskette drives, there is a jumper you can set to enable/disable
  34. >that line.  If you have the documentation for your drive, you might look
  35. This line is (1) not present on most, if not all, 360K drives, and (2)
  36. usually selectable between Diskette Changeline and Standard Ready.  Do
  37. *not* specify standard ready!  That signals when there's a disk loaded
  38. properly in the drive, and the computer interprets that as "diskette
  39. unchanged"....
  40.  
  41. >for such a jumper, or see if there's an obvious jumper whose trace goes
  42. >to that pin on the edge connector.
  43.  
  44. >Even if you can fix your hardware, it sounds like, we need an ioctl in
  45. >the floppy disk driver to artificially simulate a disk change event, for
  46. >people who can't.  It wouldn't be hard to do, and it would probably be a
  47. >good exercise for somone who wants to start learning how a Linux device
  48. >driver works.  (Hint: look at the variable changed_floppy.)
  49. Don't we need to have diskette changeline support disablable already, or has
  50. nobody tested Linux with a 360K drive?
  51.  
  52. >If no one gets around to posting a patch in a week or two, though, I'll
  53. >make the changes when I can find some time.
  54. >                        - Ted
  55.  
  56.     Keith
  57. (rohrer@fncrd0.fnal.gov)
  58.  
  59. -- 
  60. Disclaimer: None of Grinnell College, URA, Fermilab, and any other affiliated
  61. persons or orginizations have licensed my ideas or opinions, and thus are
  62. not entitled to any which may appear above.
  63.  
  64.