home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
- Newsgroups: comp.os.linux
- Subject: Re: HD-timeout problems
- Message-ID: <1992Sep6.091302.29969@klaava.Helsinki.FI>
- Date: 6 Sep 92 09:13:02 GMT
- References: <1992Sep5.201920.3244@afterlife.ncsc.mil>
- Organization: University of Helsinki
- Lines: 41
-
- In article <1992Sep5.201920.3244@afterlife.ncsc.mil> swaliff@afterlife.ncsc.mil (Steve Aliff) writes:
- >I'm experiencing enough "HD-Timeout/HD-controller reset" messages to
- >have become frustrated (irritated?) with it. This occurs both with
- >the MCC release (.97p2) and the SLS release (.96c I believe). The
- >SLS kernel has the "static int reset = 0" code in it. (I built a new
- >kernel just for kicks. And The problem occurred BEFORE and after I
- >built the kernel. ;-) ) The problem doesn't appear to happen when I
- >crank the clock back from 33MHz to 10Mhz. Needless to say, that's
- >not an acceptable solution.
-
- There are two things you can do to alleviate the problem. In order of
- "preferability":
-
- - check that your IO bus runs at 8MHz or lower. Having a 11MHz bus
- seems to be pretty standard setup, but it's unsafe, and running
- beyond specs. Check out your extended setup (press DEL on bootup for
- AMI bios or whatever) - it's usually something like
-
- Bus speed: CLK/2, CLK/3, CLK/4, CLK/5.
-
- for a 33MHz machine, CLK/4 should give an acceptable 8.25MHz clock for
- the IO bus. Your setup may also allow you to set ISA bus waitstates,
- and editing this field may help. Read the motherboard manual if you
- have one.
-
- - edit the HD_DELAY value in kernel/blk_drv/hd.c. It is normally 0,
- but setting it to some other value may help some buggy
- controllers/drives. Test out different values, starting off with
- 1000, and try to find the lowest value you can get that works.
-
- And finally, you can also try changing the HD controller card: a cheap
- multi-io card may have some weird problem that doesn't show up under
- DOS. If you can swap cards with someone just for testing purposes, and
- that fixes the problem, getting a new controller card may be the
- solution. But as this may be impossible (or just too expensive, even
- though IDE controllers should be cheap), try out the above first.
-
- All the above fixes have helped - it may not in your case, but it's
- worth checking out.
-
- Linus
-