NetBSD Problem Report #7040

Received: (qmail 1641 invoked from network); 24 Feb 1999 04:40:18 -0000
Message-Id: <199902240327.TAA16105@nooksack.ldc.cs.wwu.edu>
Date: Tue, 23 Feb 1999 19:27:13 -0800 (PST)
From: bhowar@acxiom.com
To: gnats-bugs@gnats.netbsd.org
Subject: Sonic (sn0) Ethernet driver hangs LC3 when accessed through ifconfig
X-Send-Pr-Version: www-1.0

>Number:         7040
>Category:       port-mac68k
>Synopsis:       Sonic (sn0) Ethernet driver hangs LC3 when accessed through ifconfig
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    port-mac68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 21:05:01 +0000 1999
>Closed-Date:    Fri Nov 17 07:47:54 +0000 2000
>Last-Modified:  Fri Nov 17 07:47:54 +0000 2000
>Originator:     Brian Howard
>Release:        Net BSD 1.3.3
>Organization:
not work related
>Environment:
(the following may have type-Os)

NetBSD LC3 1.3.3 NetBSD 1.3.3 (GENERICSBC) #0: Thu Dec 17 09:12:26 CST 1998 scottr@fx1:/usr/src/sys/arch/mac68k/compile/GENERICSBC mac68k


(Have tried with the GENERICSBC and GENERIC kernels.)
>Description:
I have done very little to the initial installation of the system. Basically, I have installed all the basic system file through the installer, updated rc.conf and added a user.

Description of the Ethernet card (just in case):
	Vendor: Dayna Communications.
	Model: Daynaport E/LC-T
	Some goofy number: 00850-9501-000-G
	"Big Chip" number (assuming the Sonic chip): DP83932BVF

The driver seems to detect the Ethernet card. Typing ifconfig -a returns the following (there may be type-Os here):

	sn0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
		address: 00:80:19:06:25:c5
	ppp0: flags=8010<POINTTOPOINT,MULTICAST> mtu 1500
	ppp1: flags=8010<POINTTOPOINT,MULTICAST> mtu 1500
	lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32976
		inet 127.0.0.1 netmask 0xff000000
	sl0: flags c010<POINTTOPOINT,LINK2,MULTICAST> mtu296

Attempting to alter any of the devices except sn0 generates the expected results. However, any access to sn0 will result in the following:

1. A section of the display is repeated vertically (as if in an infinate scrol.
2. The system hangs.

I have verified that the system truely hangs by running a background program that creates massive disc activity and beeps (a find in one process and a echo ^G in another process). When I type "ifconfig sn0 up" or "ifconfig sn0 inet 10.110.10.11" the mad scrol occurs instantly and the all activity halts.




>How-To-Repeat:
In an LC3 with NetBSD 1.3.3, add the above card and boot. As root, type:

	ifconfig sn0 up

and down comes the system


>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: scottr 
State-Changed-When: Sat Oct 30 23:38:47 PDT 1999 
State-Changed-Why:  
This has the feel of an interrupt-related problem.  Is the hardware still 
available to test this?  I'm interested in knowing if the problem is 
resolved in NetBSD 1.4.1 (or later), as several changes have been made to 
the interrupt handlers since NetBSD 1.3.3. 

Please let me know if we can work to resolve this. 

Thanks, 

--scott 
State-Changed-From-To: feedback->closed 
State-Changed-By: scottr 
State-Changed-When: Thu Nov 16 23:45:17 PST 2000 
State-Changed-Why:  
Unable to contact originator. 

His responses to my previous attempt got lost somehow.  I found them 
this evening.  To sum up, an 83934-based card worked fine, but an 83932-based 
card caused erratic behavior.  I would love to work on this some more if 
anybody can reproduce the problem. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.