Subject: Re: kernel panic with port-i386 and IEEE1394-SBP2
To: None <M.Drochner@fz-juelich.de>
From: noguchi <ngc@ff.iij4u.or.jp>
List: tech-kern
Date: 07/07/2003 05:46:12
On 2003.7.6, at 23:28 Asia/Tokyo, Matthias Drochner wrote:
>
> I've seen this.
> The appended patch did help at some point.
> (Atm, I don't have a fw device to test with.)

Thanks for patch.

I merged and tested this, the result is the below:

----------- when connecting storage device ----

fwnode0: Link Speed: 100Mb/s, max_rec: 64 bytes
sbpscsi0 at fwnode0
scsibus0 at sbpscsi0: 1 target, 1 lun per target
Called sbpscsi_scsipi_request
Got req_run_xfer
xs control: 0x000001c4, timeout: 10000
opcode: 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00
Alloc'ing more orbs
Freeing orb at addr: 0x00000000f0010008 status_rec: 0x0
csr: 0x00000000f001000c
0: 0x00100000
1: 0xffc0ffff
2: 0xf0100000
3: 0x00000003
orb addr: 0x00000000f0010010
orb next ptr: 0x00000000f0010014
retlen: 32, length: 32
orb addr: 0x00000000f0010010
orb next ptr: 0x00000000f0010014
retlen: 0, length: 32
orb addr: 0x00000000f0010004
orb next ptr: 0x51020000f0010008
retlen: 8, length: 32
Got a status block for an unknown orb addr: 0x00000000f0010008
resp: 0x1 status: 0x2 len: 0x0
orb addr: 0x00000000f0010004
orb next ptr: 0x51020000f0010008
retlen: 8, length: 32
Got a status block for an unknown orb addr: 0x00000000f0010008
resp: 0x1 status: 0x2 len: 0x0
orb addr: 0x00000000f0010004
orb next ptr: 0x51020000f0010008
retlen: 8, length: 32
Got a status block for an unknown orb addr: 0x00000000f0010008
resp: 0x1 status: 0x2 len: 0x0
orb addr: 0x00000000f0010014
orb next ptr: 0x8000000000000000
retlen: 32, length: 32
orb addr: 0x00000000f0010014
orb next ptr: 0x8000000000000000
retlen: 32, length: 32
orb addr: 0x00000000f0010014
orb next ptr: 0x8000000000000000
retlen: 32, length: 32
panic: Unknown packet received!
Stopped in pid 6.1 (fwohci0) at netbsd:cpu_Debugger+0x4:        leave
db>
db>
db>
db> trace
cpu_Debugger(c0626000,c05d2400,c0626018,c0626018,c02c3154) at 
netbsd:cpu_Debugge
r+0x4
panic(c02e3d79,20,20,0,ffffffff) at netbsd:panic+0xb8
sbp2_orb_resp(c0626018,0,c743ef14,4,f0010014) at 
netbsd:sbp2_orb_resp+0x1e9
fwohci_parse_input(c0596000,c0626018,c743eea8,c743ee24,0) at 
netbsd:fwohci_parse
_input+0x1db
fwohci_arrq_input(c0596000,c05bcd00,0,246,c0596000) at 
netbsd:fwohci_arrq_input+
0x1e1
fwohci_event_thread(c0596000,c0596000,2,c7429280,c0596000) at 
netbsd:fwohci_even
t_thread+0x271
fwohci_thread_init(c0596000,0,0,0,c010030c) at 
netbsd:fwohci_thread_init+0x242
db>