From owner-freebsd-bugs Mon Jul 12 17:11: 0 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0FF2C14EA6 for ; Mon, 12 Jul 1999 17:10:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA87312; Mon, 12 Jul 1999 17:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 12 Jul 1999 17:10:02 -0700 (PDT) Message-Id: <199907130010.RAA87312@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Juergen Lock Subject: Re: kern/11945: tape problems on -stable, mt bl(ocksize), mt erase and hanging SCSI bus Reply-To: Juergen Lock Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11945; it has been noted by GNATS. From: Juergen Lock To: Matthew Jacob Cc: Juergen Lock , FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/11945: tape problems on -stable, mt bl(ocksize), mt erase and hanging SCSI bus Date: Tue, 13 Jul 1999 01:55:59 +0200 On Fri, Jun 04, 1999 at 09:51:29AM -0700, Matthew Jacob wrote: > > > sa0 at ncr0 bus 0 target 5 lun 0 > > sa0: Removable Sequential Access SCSI-2 device > > sa0: 4.901MB/s transfers (4.901MHz, offset 8) > > Okay. Another one: (3.2-stable, made world a few days ago) mt ret(ension) hangs, here: (no tape movements at all) bash# gdb /kernel /dev/mem GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD 3100672 initial pcb at a06000 panic messages: --- --- #0 mi_switch () at ../../kern/kern_synch.c:825 825 if (switchtime.tv_sec) (kgdb) proc 13768 (kgdb) bt #0 mi_switch () at ../../kern/kern_synch.c:825 #1 0xc015f425 in tsleep (ident=0xc07ed628, priority=16, wmesg=0xc0224de5 "cbwait", timo=0) at ../../kern/kern_synch.c:443 #2 0xc01225fd in cam_periph_ccbwait (ccb=0xc07ed600) at ../../cam/cam_periph.c:720 #3 0xc012270a in cam_periph_runccb (ccb=0xc07ed600, error_routine=0xc0128144 , camflags=CAM_FLAG_NONE, sense_flags=0, ds=0xc07ee824) at ../../cam/cam_periph.c:809 #4 0xc012923d in saretension (periph=0xc07e5180) at ../../cam/scsi/scsi_sa.c:2947 #5 0xc0126d60 in saioctl (dev=3585, cmd=2148035841, arg=0xc3ba7ed0 "\017", flag=1, p=0xc3b6ba40) at ../../cam/scsi/scsi_sa.c:979 #6 0xc018d753 in spec_ioctl (ap=0xc3ba7e0c) at ../../miscfs/specfs/spec_vnops.c:424 #7 0xc018cffd in spec_vnoperate (ap=0xc3ba7e0c) at ../../miscfs/specfs/spec_vnops.c:129 #8 0xc01c5c6d in ufs_vnoperatespec (ap=0xc3ba7e0c) at ../../ufs/ufs/ufs_vnops.c:2317 #9 0xc0187e41 in vn_ioctl (fp=0xc09ed500, com=2148035841, data=0xc3ba7ed0 "\017", p=0xc3b6ba40) at vnode_if.h:395 #10 0xc0168884 in ioctl (p=0xc3b6ba40, uap=0xc3ba7f84) at ../../kern/sys_generic.c:564 #11 0xc01f30af in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 3, tf_esi = -1077945700, tf_ebp = -1077945752, tf_isp = -1011187756, tf_ebx = 134524652, tf_edx = 15, tf_ecx = 134518159, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 671702344, tf_cs = 31, tf_eflags = 515, tf_esp = -1077946156, tf_ss = 39}) at ../../i386/i386/trap.c:1123 #12 0xc01e53dc in Xint0x80_syscall () #13 0x80486e5 in ?? () (kgdb) q bash# exit Script done on Tue Jul 13 01:19:05 1999 And about the failing mt blocksize etc., would it help if i build a 2.1-stable kernel (where all this worked) with options SCSIDEBUG and try to trace the scsi commands? (if SCSIDEBUG allows that, i don't know...) Regards, -- Juergen Lock (remove dot foo from address to reply) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message