Subject: kern/29034: Kernel panic, "to_ticks >= 0"
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-bugs
Date: 01/21/2005 10:14:00
>Number:         29034
>Category:       kern
>Synopsis:       Kernel panic, "to_ticks >= 0"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 10:14:00 +0000 2005
>Originator:     Lennart Augustsson
>Release:        NetBSD 2.0.1
>Organization:
>Environment:
System: NetBSD calvin 2.0.1 NetBSD 2.0.1 (CALVIN) #0: Mon Jan 17 16:34:34 MET 2005 lennart@calvin:/sys/arch/i386/compile/CALVIN i386
Architecture: i386
Machine: i386
>Description:
	Occasionally (it has happened twice in 6 months, I think) my
	machine crashes with the following message:
panic: kernel diagnostic assertion "to_ticks >= 0" failed: file "../../../../ker
n/kern_timeout.c", line 281
Begin traceback...
__main(c03c350e,c0400480,119,c03cbcc4,bf6562e2) at netbsd:__main
callout_schedule(c1209da4,fffffed4,28,28,c0ac7cb8) at netbsd:callout_schedule+0x
c5
tcp_output(c1209d98,c0eb9500,c0468918,0,cec5e000) at netbsd:tcp_output+0x709
tcp_usrreq(c1296584,9,c0eb9500,0,0) at netbsd:tcp_usrreq+0x3c3
sosend(c1296584,0,cc988ec4,c0eb9500,0) at netbsd:sosend+0x347
soo_write(cb2ea038,cb2ea060,cc988ec4,c11b6580,1) at netbsd:soo_write+0x1e
dofilewrite(cec5e000,6,cb2ea038,8138000,18) at netbsd:dofilewrite+0x81
sys_write(cc29f6b8,cc988f64,cc988f5c,0,3c) at netbsd:sys_write+0x59
syscall_plain() at netbsd:syscall_plain+0x7e

>How-To-Repeat:
	I don't have any way do repeat this in a reliable way.
>Fix:
	Unknown.