Subject: kern/23904: ieee1394 kernel panic
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/27/2003 20:41:29
>Number:         23904
>Category:       kern
>Synopsis:       ieee1394 kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 27 20:42:00 UTC 2003
>Originator:     Matt Rickard
>Release:        current-1.6ZG
NetBSD biko 1.6ZG (DELLI8K) #1: Sat Dec 27 12:19:05 EST 2003 root@biko:/usr/src/sys/arch/i386/compile/DELLI8K i386
I've built a generic + ieee1394 kernel in an attempt to get an external
Maxtor firewire drive working on netbsd-current.  This is on a Dell
Inspiron 8000 laptop.  I recall this setup working (although a bit
buggy) several months ago with the ieee1394 code in current.  Now when I
attach the device I get a kernel panic (on boot) of the following:

fw0 at fwochi0: 46:4f:c0:00:12:84:d4:01:0a:02:ff:ff:f0:01:00:00
fwnode0 at fwohci0 Node 0: UID 00:00:00:00:00:00:00:00
fwnode1 at fwohci0 Node 0: UID 00:10:b9:01:01:40:a5:6b
fwnode0 detached
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <TOSHIBA CD-RW/DVD-ROM SD-R2002, , 1E29> cdrom
fwnode1: Link Speed: 100Mb/s, max_rec: 64 bytes
uvm_fault(0xc07b0b00, 0x6010000, 0, 2) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 3.1 (fwohci0) at netbsd: sbp2_abort+0x49: movl 

After being dropped to db, here is the backtrace:

sbp2_abort(c11c8044,c1217a00,e33e8c9c,c0293488,c1218c80) at
sbp2_free(c11c8000,c1218c80,c02d7830,733672de,e33e8cf4) at
sbpscsi_match(c1217a00,c0746fac,c10d2640,c0762300,c0746fac) at
mapply(e33e8cf4,c0746fac,0,1,0) at netbsd:mapply+0x36
config_search(0,c1217a00,c10d2640,c1217a00,c10db004) at
config_found_sm(c1217a00,c10d2640,c0563b08,0,0) at
p1212_match_units(c1217a00,c1218dc0,c0563b08,40,c10d2740) at netbsd:
fwnode_configrom_input(c1218d00,0,e33e8dd4,3,2) at
fwohci_read_multi_resp(c11c1000,c10d2740,e33e8e94,6,6) at
fwohci_arrs_input(c11c1000,c11be200,0,380054f3,c11c11c8) at
fwohci_event_thread(c11c1000,c11c1000,2,c10d2810,c11c1000) at
fwohci_thread_init(c11c1000,876000,87f000,0,c010030c) at

If more information is needed to determine the cause of this panic let
me know and I'll do my best to provide it.

Attach an external firewire disk to the system after building a kernel with ieee1394/sbp support.