Subject: Re: panic trying to use Netgear FA310TX rev-D2 under 1.6.1
To: None <port-macppc@netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: port-macppc
Date: 04/25/2003 07:33:20
OK, I found a -current kernel on releng.netbsd.org, and it
gets me booted:


tlp0 at pci0 dev 14 function 0: Lite-On 82C169 Ethernet, pass 2.0
tlp0: interrupting at irq 24
tlp0: Ethernet address 00:a0:cc:d6:cb:61
bmtphy0 at tlp0 phy 1: BCM5201 10/100 media interface, rev. 2
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bmtphy1 at tlp0 phy 3: BCM5201 10/100 media interface, rev. 2
bmtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bmtphy2 at tlp0 phy 9: BCM5201 10/100 media interface, rev. 2
bmtphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bmtphy3 at tlp0 phy 11: BCM5201 10/100 media interface, rev. 2
bmtphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

...but then when dhclient tries to use it:

Internet Software Consortium DHCP Client V3.0rc10
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

tlp0: transmit process failed to idle: state RUNNING - SETUP
tlp0: transmit process failed to idle: state RUNNING - WAIT
trap: pid 94.1 (ifconfig): kernel MCHK trap @ 0x1d1300 (SSR1=0xc9030)
panic: trap
Stopped in pid 94.1 (ifconfig) at       cpu_Debugger+0x10:      lwz     r0, r1, 0
x14
db> trace
0xd291ab70: at panic+18c
0xd291ac30: at trap+99c
0xd291ac60: kernel MCHK trap by tlp_intr+380: srr1=0xc9030
            r1=0xd291ad20 cr=0x24004042 xer=0x20000000 ctr=0xf411b
  <?>  : at do_pending_int+e0
0xd291ad20: at callout_reset+d8
0xd291ad50: at do_pending_int+e0
0xd291ad80: at splx+28
0xd291ad90: at tlp_ioctl+d0
0xd291adb0: at ifioctl+41c
0xd291ae00: at soo_ioctl+168
0xd291ae10: at sys_ioctl+384
0xd291aed0: at syscall_plain+108
0xd291af40: at s_sctrap+144
db> 


+j

On Fri, Apr 25, 2003 at 07:10:37AM -0700, Jeff Rizzo wrote:
> I installed 1.6.1 on a Power Computing Power Curve last night, and
> all went fine, until I installed another ethernet card:
> 
> NetBSD 1.6.1 (GENERIC) #0: Tue Apr  8 15:07:52 UTC 2003
>     autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/macppc/OBJ/autobuild/netbsd-1-6/src/sys/arch/macppc/compile/GENERIC
> total memory = 32768 KB
> avail memory = 23276 KB
> using 435 buffers containing 1740 KB of memory
> no active packagemainbus0 (root)
> cpu0 at mainbus0: 604 (Revision 3.3), ID 0 (primary)
> cpu0: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>
> bandit0 at mainbus0
> pci0 at bandit0 bus 0
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 11 function 0
> pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
> ofb0 at pci0 dev 13 function 0: cannot map framebuffer
> tlp0 at pci0 dev 14 function 0: Lite-On 82C169 Ethernet, pass 2.0
> trap type 200 at 362f20
> Press a key to panic.
> panic: trap
> Stopped in pid 0 (swapper) at   cpu_Debugger+0x10:      lwz     r0, r1, 0x14
> db> trace
> db>
> 
> ...any clues? I would have tried a -current GENERIC, but I
> got an error while cross-building it on my i386 box.
> 
> +j
> -- 
> Jeff Rizzo                                         http://boogers.sf.ca.us/~riz

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz