NetBSD Problem Report #43462

From tron@zhadum.org.uk  Sat Jun 12 16:16:38 2010
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5A17E63B93E
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Jun 2010 16:16:38 +0000 (UTC)
Message-Id: <20100612161636.1A56C3F9C0@mail.zhadum.org.uk>
Date: Sat, 12 Jun 2010 17:16:36 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: tcpdrop(8) causes kernel panic
X-Send-Pr-Version: 3.95

>Number:         43462
>Category:       kern
>Synopsis:       tcpdrop(8) causes kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 12 16:20:00 +0000 2010
>Last-Modified:  Sat Jun 12 18:07:24 +0000 2010
>Originator:     Matthias Scheler
>Release:        NetBSD 5.1_RC2
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD beaver.marsrakete.de 5.1_RC2 NetBSD 5.1_RC2 (BEAVER) #0: Sun May 23 00:06:39 CEST 2010  tron@beaver.marsrakete.de:/usr/src/sys/arch/i386/compile/BEAVER i386
Architecture: i386
Machine: i386
>Description:
I've try to terminate a TCP connection on a NetBSD 5.1_RC2 system like this:

Active Internet6 connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp6       0     36  2001:4dd0:ffbd::1.22   2001:8b0:114:1:219:e3ff:fe66:737e.51226 ESTABLISHED
tcp6       0      0  2001:4dd0:ffbd::2.60074 2001:638:a00:6667::53.6668 ESTABLISHED
[....]
tron@beaver:~tron#tcpdrop 2001:4dd0:ffbd::2 60074 2001:638:a00:6667::53 6668

The machine paniced as a result:

panic: kernel diagnostic assertion "kpreempt_disabled()" failed: file "../../../../kern/kern_softint.c", line 458
Begin traceback...
uvm_fault(0xcc88f9f8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c03f5b11 cs 8 eflags 102463

I didn't get a crash dump.

>How-To-Repeat:
The problem is not 100% reproducable. It works fine on my
NetBSD/amd64 5.1_RC2 machine.

>Fix:
Not known.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sat, 12 Jun 2010 18:07:24 +0000
Responsible-Changed-Why:
dunno why this landed in the pending queue, but it did, so fix it


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.