*BSD News Article 64736


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!news.cyberstore.ca!nntp.cs.ubc.ca!cs.ubc.ca!cs.ubc.ca!not-for-mail
From: davef@cs.ubc.ca (David Finkelstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: IDE drive problem with custom kernel
Date: 2 Apr 1996 13:56:08 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Lines: 55
Message-ID: <4js7po$ln6@columbia.cs.ubc.ca>
NNTP-Posting-Host: columbia.cs.ubc.ca


Greetings,

I have a TP4XE (P-75) motherboard with a single IDE drive (WD 850MB).
I'm running FreeBSD 2.1R.  I've had no problems with the generic
kernel.  However, I experience disk problems with any custom kernel I
try to build.

My config file has entries in it for the wdc0 controller, the wd0
disk, and the wdc1 controller.  At boot time, I see the following
messages:

Feb 11 17:42:04 fantasia /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Feb 11 17:42:05 fantasia /kernel: wdc0: unit 0 (wd0): <WDC AC2850F>
Feb 11 17:42:05 fantasia /kernel: wd0: 814MB (1667232 sectors), 1654 \
cyls, 16 heads, 63 S/T, 512 B/S
Feb 11 17:42:05 frantasia /kernel: wdc1 not found at 0x170

These are identical to the messages for any of the IDE disks and
controllers (wdN, wdcN) that are logged when booting the generic
kernel.

With my cusom kernel, I've had three types of errors:

* /usr filesystem believed it was out of i-nodes.  Nothing was logged
to /var/log/messages.

* Disk errors (lots of them) get printed to the console, the exact
nature of which I was unable to determine from the scrolling display.
Again, nothing was logged.

* The following errors were logged:

\
\
\
\
Feb 11 17:44:47 \
fantasia /kernel: wd0s2e: hard error writing fsbn 1776 of 1776-1783 \
(wd0s2 bn 198384; cn 98 tn 12 sn 60)wd0: status 51<seekdone,err> error 4<abort>
Feb 11 17:44:47 fantasia /kernel: wd0: interrupt timeout:
Feb 11 17:44:47 fantasia /kernel: wd0: status 59<seekdone,drq,err> error 4<abort>

---------------

Does anybody have any thoughts as to what the problem might be, or how
I could begin to diagnose these errors?

Thanks,

--- Dave
-------------------------------------------------------------
David Finkelstein  |	Department of Computer Science
davef@cs.ubc.ca    |	University of British Columbia
(604) 822-8756     |	2366 Main Mall Vancouver B.C. V6T 1Z4