home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13684 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.8 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!netcomsv!mbeckman!mbeckman
  2. From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
  3. Newsgroups: comp.unix.aix
  4. Subject: Device driver hangs in ioctl
  5. Date: Sat, 23 Jan 93 22:00:55 PST
  6. Organization: Beckman Software Engineering
  7. Message-ID: <01050810.oes4n3@mbeckman.mbeckman.com>
  8. Reply-To: mbeckman@mbeckman.com
  9. Distribution: world
  10. X-Mailer: uAccess LITE - Macintosh Release: 1.5v5
  11. Lines: 26
  12.  
  13. We're using a third-party proprietary-network device driver that works well 
  14. most of the time, but every once in a while hangs in an infinite loop. With
  15. xdb I've narrowed the problem down to a loop where the driver keeps calling
  16. ioctl with (0x0, 0xdeadbeef, 0xdeadbeef). I think that ioctl just hates
  17. these arguments, and so immediately returns to the driver, which seems to
  18. be coded to keep trying the ioctl call. 
  19.  
  20. Am I correct in assuming that 0xdeadbeef is an invalid argument? I know
  21. deadbeef is uninititialized (by the process) storage, right? If the driver
  22. definitely is giving garbage to ioctl, I can take that to the vendor and
  23. get him to fix it (I hope <grin>). 
  24.  
  25. But I'm not sure that perhaps 0xdeadbeef is just innocuous here.
  26.  
  27. Make me smarter!
  28.  
  29.   -mel
  30.  
  31. _____________________________________________________________________
  32. | Mel beckman                  |    Internet: mbeckman@mbeckman.com |
  33. | Beckman Software Engineering |  Compuserve: 75226,2257            |
  34. | 1201 Nilgai Place            |       Voice: 805/647-1641          |
  35. | Ventura, CA 93003            |         Fax: 805/647-3125          |
  36. |______________________________|____________________________________|
  37.  "Internet is big.  Really Big.  It gives the idea of
  38.   infinity much better than infinity itself." 
  39.    (with apologies to Douglas Adams)
  40.