Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 1997 23:22:18 -0700 (PDT)
From:      Kevin Eliuk <cagey@sunshine.net>
To:        FreeBSD-Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Question about splx(9)
Message-ID:  <Pine.BSF.3.95q.970420222325.3834A-100000@kevin.sunshine.net>

next in thread | raw e-mail | index | archive | help
It was recommended to me to pose this question to you, but being a newbie
I am not sure of how to pose the question. 

What I am trying to isolate are timeout errors that happen randomly with
disk read(or maybe write) operations.

Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> says:

>   Usually interrupt timeout's on the IDE drive occur with laptops...
> the interrupt times out when the drive has to spin up after it "went
> to sleep."
 
I have disabled spindown.
~~~~~~~~~~~~~~~~~~~~~~~~~
>   If you're getting them during a "download" - it could mean that
> interrupt  delivery simply isn't getting through because of missing
> splx() in the sio driver.  (Someone is holding on to the machine too
> long.)
> 

So I ask prior to rebuilding my custom kernel is there any steps I can
take to possibly prevent this from happening? I have looked at the files
in /usr/src/sys/i386/isa/ but not being a hacker am not going to proceed 
with changing a .c file without guidance.


My PC is a Micronics 30386 I-cache 20Mhz

FreeBSD 2.2.1-RELEASE #0: Tue Mar 25 15:12:02 GMT 1997
    jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC

CPU: i386DX (386-class CPU)
real memory  = 5242880 (5120K bytes)
avail memory = 3235840 (3160K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
wdc0 at 0x1f0-0x1f7 irq 14 on isa <<
wdc0: unit 0 (wd0): <Maxtor 71084 AP>
wd0: 1036MB (2121840 sectors), 2105 cyls, 16 heads, 63 S/T, 512 B/S


##################### While Running lmbench make results ######################
###############################################################################
Apr 20 02:05:41 kevin /kernel: wd0: interrupt timeout:
Apr 20 02:05:46 kevin /kernel: wd0: status 58<rdy,seekdone,drq> error 4<abort>
Apr 20 02:05:47 kevin /kernel: wd0: interrupt timeout:
Apr 20 02:05:47 kevin /kernel: wd0: status 50<rdy,seekdone> error 1<no_dam>
Apr 20 02:05:48 kevin /kernel: swap_pager: indefinite wait buffer: device: 
196609, blkno: 3696, size: 4096

##################### While Running /etc/weekly ###############################
###############################################################################
Apr 20 20:03:41 kevin /kernel: wd0: interrupt timeout:
Apr 20 20:04:05 kevin /kernel: wd0: status 58<rdy,seekdone,drq> error 4<abort>
Apr 20 20:04:05 kevin /kernel: wd0: interrupt timeout:
Apr 20 20:04:05 kevin /kernel: wd0: status 50<rdy,seekdone> error 1<no_dam>
Apr 20 20:04:06 kevin /kernel: wd0s2g: soft error reading fsbn 724511 of 724510
-724511 (wd0s2 bn 1674783; cn 415 tn 23 sn 54)wd0: status 58<rdy,seekdone,drq> 
error 1<no_dam>
Apr 20 20:04:06 kevin /kernel: swap_pager: indefinite wait buffer: device: 
196609, blkno: 728, size: 20480

I would just like to add that I think FreeBSD is just a great operation
system. You people are doing great.
				 _______________________________________ 
				|\	       			       /|
				|  \    kevin_eliuk@sunshine.net     /  |
				|    \	     Kevin G. Eliuk        /    |
				|    /^\_________________________/^\    |
				|  /    		             \  |
				|/--===### Powered By FreeBSD 2.2.1    \|
				|	      www.freebsd.org 	        |
	  			 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970420222325.3834A-100000>