home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23290 < prev    next >
Encoding:
Text File  |  1993-01-08  |  4.0 KB  |  88 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!ra!tantalus.nrl.navy.mil!eric
  3. From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
  4. Subject: Re: ST01/02 and Syquest 5110
  5. Message-ID: <C0K0zH.LMB@ra.nrl.navy.mil>
  6. Sender: usenet@ra.nrl.navy.mil
  7. Organization: Naval Research Laboratory
  8. References: <1993Jan08.142417.1962@gold.sub.org> <C0Ju8I.1uux@austin.ibm.com>
  9. Date: Fri, 8 Jan 1993 21:28:29 GMT
  10. Lines: 76
  11.  
  12. In article <C0Ju8I.1uux@austin.ibm.com> jstump@auntbea.austin.ibm.com (John E. Stump) writes:
  13. >In article <1993Jan08.142417.1962@gold.sub.org> Eckehard.Stolz@bbs.gold.sub.org (Eckehard Stolz) writes:
  14. >>I've a Problem with the Syquest 5110 (88MB) and the Seagate St01/02
  15. >>Controller. I managed Linux (99p2) to detect +0the drive and to fdisk it. I
  16. >>tried some Head/Cylinder/Sector values and it seemed to work. I was also
  17. >>able to mkfs the disk, but when I tried to copy data to the mounted disk,
  18. >>the system is rebooting.
  19. >
  20. >This has been a problem for quite a while now. Unfortunately, I'm too
  21. >ignorant of SCSI workings, so all I can do is whine about it. Would
  22. >somebody PLEASE look into this problem? (Note: I can READ syquest DOS
  23. >filesystems just fine. I imagine I could read minix file systems as
  24. >well, except I can't write to it. It's just writes to blow it up.)
  25. >
  26. >If it helps, I am running a 486DX. Eckehard, do you too?
  27.  
  28.  
  29.     You are right, this one has been around for a while.  I would really
  30. love it if someone could track this down.  I know people who have the Adaptec
  31. with the Syquest and have no trouble at all, for what it is worth.  Before you
  32. try to debug the kernel, please check and see if any of the following (from the
  33. FAQ) apply:
  34.  
  35.  
  36. >QUESTION: The seagate driver doesn't work.
  37. >
  38. >ANSWER: There are several possibilities
  39. >1) Is the board jumpered for IRQ5 ? 
  40. >
  41. >The factory settings are
  42. >for MSLOSS, and have interrupts disabled.  Interrupts are controlled
  43. >by the W3 (ST01) or JP3 (ST02) jumper, which should have pins FG 
  44. >shorted.  See your manual.
  45. >
  46. >2) Cached machines will not have problems IF the Seagate's address
  47. >space (typically C8000 - CAFFFF) is not marked "non cacheable."
  48. >This applies to the i486 internal cache as well as i386/i486 
  49. >external caches.
  50. >
  51. >This can be set in the XCMOS of most machines.  If you can't disable
  52. >cache for the Seagate's area (16K in size, starting at the base
  53. >address), then you must disable the cache entirely, otherwise
  54. >it won't work.
  55.  
  56.  
  57.     If none of the above apply, then my guess is that there may be some
  58. kind of kernel stack overflow problem, and the only reason that I guess this is
  59. that I have seen a spontaneous reboot when I was trying to use too much kernel
  60. stack space.  If it is not a stack overflow problem, then it is almost
  61. certainly a memory corruption problem somewhere.  One way of trying to narrow
  62. this down is to add #define DEBUG to seagate.c, and see what information you
  63. obtain.  You will lose all of the info from the screen when the system reboots,
  64. so you will have to pay close attention.
  65.  
  66.     If in fact there is a kernel stack overflow, it is possible that 
  67. it is caused by an infinite recursion in the seagate driver.
  68. I would suggest adding some kind of printk("foo"); in some of the
  69. internal routines in the seagate, and try and see if any pattern emerges.
  70.  
  71.     Another possibility is that there is an array that is local to some
  72. function (i.e. it lives on the stack), and this is being passed to the seagate
  73. driver, and the seagate driver is writing outside of the boundaries.
  74.  
  75.     A third possibility is that one of the variables st0x_cr_sr/st0x_dr
  76. does not contain what it should.  This could be checked periodically, and one
  77. could have the kernel panic if either of these variables were found to contain
  78. something that they should not be (These variables are pointers to the memory
  79. mapped data and status registers on the seagate).
  80.  
  81.     If someone who is experiencing this problem with the Syquest wants to
  82. dig in and try and solve it, drop me a line.  I can provide suggestions
  83. of things to try, patches, etc.
  84.  
  85. -Eric
  86. -- 
  87. Eric Youngdale
  88.