From owner-freebsd-scsi Sat Nov 20 11: 7:22 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id E1F36150B4; Sat, 20 Nov 1999 11:07:05 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id TAA21107; Sat, 20 Nov 1999 19:54:27 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id TAA87096; Sat, 20 Nov 1999 19:42:36 +0100 (CET) (envelope-from wilko) From: Wilko Bulte Message-Id: <199911201842.TAA87096@yedi.iaf.nl> Subject: strange panic on Alpha, SCSI disk *type* related To: freebsd-scsi@freebsd.org (FreeBSD SCSI hackers), freebsd-alpha@freebsd.org (FreeBSD-alpha mailing list) Date: Sat, 20 Nov 1999 19:42:36 +0100 (CET) X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ 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: 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: 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: 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 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: 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: 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: 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: 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: on pcib0 ncr0: 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: 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