Subject: Re: CVS commit: syssrc/sys/dev/ic
To: Charles M. Hannum <mycroft@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: source-changes
Date: 09/23/2002 23:32:30
hi,

this change causes my ultra2 to panic:


...
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: dma rev fas
: FAS366/HME, 40MHz, SCSI ID 7
scsibus0 at esp0: 16 targets, 8 luns per target
...
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DDRS34560SUN4.2G, S98E> SCSI2 0/direct fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
esp0: wide mode 1
sd0: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers
sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAG3182L SUN18G, 1111> SCSI2 0/direct fixed
sd1: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
esp0: wide mode 1
sd1: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 0997> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers
data fault: pc=1010d10 addr=0
kernel trap 30: data access exception
Stopped in pid 2 (scsibus0) at  ncr53c9x_sched+0x230:   stx             %o1, [%o
0 + %g0]
db> t
ncr53c9x_scsipi_request(2ea2000, 0, 2ea0000, 10106c8, 2ea0000, 0) at ncr53c9x_sc
sipi_request+0x128
scsipi_run_queue(2cee8d0, 1c4, 2ea0010, 0, 2ea0000, fffffffffff4da74) at scsipi_
run_queue+0x1ec
scsipi_execute_xs(0, 0, 2ea00cc, 2ea0000, 0, 2ea00cc) at scsipi_execute_xs+0x234

scsi_scsipi_cmd(0, 26be3a60, 6, 0, 0, 4) at scsi_scsipi_cmd+0xe4
scsipi_command(2cea700, 26be3a60, 6, 0, 0, 4) at scsipi_command+0x7c
scsipi_test_unit_ready(2cea700, 1c4, 0, 10106c8, 26be3b40, 1806400) at scsipi_te
st_unit_ready+0x4c
scsi_probe_device(0, 8, 0, 0, 263ce2f0, 1010a7c) at scsi_probe_device+0x64
scsi_probe_bus(2d09680, 8, 0, c8, 0, 1810800) at scsi_probe_bus+0xf8
scsibus_config(2cee8d0, 2d09680, 110f740, 184f630, 0, 1853260) at scsibus_config
+0xac
scsipi_completion_thread(2cee8d0, 0, 2, 1858ff0, 60a, fffffffffff0c3ca) at scsip
i_completion_thread+0x10
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4
db> 


-Chuck



On Sun, Sep 22, 2002 at 10:05:12PM +0300, Charles M. Hannum wrote:
> 
> Module Name:	syssrc
> Committed By:	mycroft
> Date:		Sun Sep 22 19:05:12 UTC 2002
> 
> Modified Files:
> 	syssrc/sys/dev/ic: ncr53c9x.c
> 
> Log Message:
> Tell the scsibus layer we have 16 targets on the FAS366.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.97 -r1.98 syssrc/sys/dev/ic/ncr53c9x.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.