Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 19:42:36 +0100 (CET)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        freebsd-scsi@freebsd.org (FreeBSD SCSI hackers), freebsd-alpha@freebsd.org (FreeBSD-alpha mailing list)
Subject:   strange panic on Alpha, SCSI disk *type* related
Message-ID:  <199911201842.TAA87096@yedi.iaf.nl>

next in thread | raw e-mail | index | archive | help
[ this refers to the same thing I reported yesterday to -hackers, but 
  with added info gathered from some additional experiments ]

Please note that an older kernel of Oct 14 works just fine.

>>>>> the IBM disk attached to the isp card:

bpf: lo0 attached
Waiting 15 seconds for SCSI devices to settle
ncr0: restart (scsi reset).
isp0: driver initiated bus reset of bus 0
(probe4:ncr0:0:4:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe4:ncr0:0:4:0): ILLEGAL REQUEST asc:24,0
(probe4:ncr0:0:4:0): Invalid field in CDB sks:c8,1
isp0: 0.0 get user period 0xc offset 0x8 flags 0xfd00
isp0: 0.0 get current period 0x19 offset 0x0 flags 0xc500
isp0: 0.0 set current period 0xc offset 0x8 flags 0xfd00
Creating DISK da1
Creating DISK da0
Creating DISK cd0
pass0 at ncr0 bus 0 target 1 lun 0
pass0: <DEC RZ29B    (C) DEC 0014> Fixed Direct Access SCSI-2 device 
pass0: Serial Number 01094845
pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
pass1 at ncr0 bus 0 target 4 lun 0
pass1: <TOSHIBA CD-ROM XM-5301TA 1895> Removable CD-ROM SCSI-2 device 
pass1: 4.237MB/s transfers (4.237MHz, offset 8)
pass2 at isp0 bus 0 target 0 lun 0
pass2: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device 
pass2: Serial Number QDJZ5749        
isp0: 0.0 get current period 0x0 offset 0x8 flags 0xfd00

fatal kernel trap:

    trap entry = 0x3 (instruction fault)
    a0         = 0x2
    a1         = 0x0
    a2         = 0x2580
    pc         = 0xfffffc00004cad14
    ra         = 0xfffffc0000326f28
    curproc    = 0

Stopped at      Ldotrap+0x8:    br      zero,Lret_result        <zero=0x0>
db> ~

>>>>> the IBM disk now moved to the embedded ncr810 of the Alpine Alpha
board:

Waiting 15 seconds for SCSI devices to settle
ncr0: restart (scsi reset).
isp0: driver initiated bus reset of bus 0
(probe4:ncr0:0:4:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe4:ncr0:0:4:0): ILLEGAL REQUEST asc:24,0
(probe4:ncr0:0:4:0): Invalid field in CDB sks:c8,1
Creating DISK da0
Creating DISK cd0
pass0 at ncr0 bus 0 target 0 lun 0
pass0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device 
pass0: Serial Number QDJZ5749        
pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
pass1 at ncr0 bus 0 target 4 lun 0
pass1: <TOSHIBA CD-ROM XM-5301TA 1895> Removable CD-ROM SCSI-2 device 
pass1: 4.237MB/s transfers (4.237MHz, offset 8)
Mda0 at ncr0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S97B> Fixed Direct Access SCSI-2 device 
da0: Serial Number QDJZ5749        
da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
(cd0:ncr0:0:4:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd0:ncr0:0:4:0): NOT READY asc:3a,0
(cd0:ncr0:0:4:0): Medium not present
cd0 at ncr0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-5301TA 1895> Removable CD-ROM SCSI-2 device 
cd0: 4.237MB/s transfers (4.237MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
ounting root from ufs:/dev/da0a
da0: invalid primary partition table: no magic
start_init: trying /sbin/init
swapon: adding /dev/da0b as swap device

and runs OK using the same kernel.

Best guess is currently that something in the isp driver changed that made
the marriage of the IBM disk and the isp card a less than happy one.

Info on isp/ncr hardware:

pci0: <PCI bus> on pcib0
ncr0: <ncr 53c810 fast10 scsi> irq 7 at device 5.0 on pci0
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: interrupting at APECS irq 7
Qlogic ISP Driver, FreeBSD Version 4.0, Core Version 1.10
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> irq 0 at device 6.0 on pci0
isp0: using I/O space register mapping
isp0: interrupting at APECS irq 0
isp0: Ultra Mode Capable
isp0: Board Revision 1040B, resident F/W Revision 2.10.0
isp0: Last F/W revision was 2.10.0
isp0: 412 max I/O commands supported


Wilko
-- 
|   / o / /  _  	Arnhem, The Netherlands	  - Powered by FreeBSD -
|/|/ / / /( (_) Bulte 	WWW : http://www.tcja.nl  http://www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911201842.TAA87096>