From owner-freebsd-current@FreeBSD.ORG Thu Feb 24 15:52:54 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB98216A4CE for ; Thu, 24 Feb 2005 15:52:53 +0000 (GMT) Received: from smtp02.net-yan.com (smtp02.hgcbroadband.com [210.0.255.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99EEB43D5C for ; Thu, 24 Feb 2005 15:52:52 +0000 (GMT) (envelope-from sam.wun@authtec.com) Received: (qmail 51116 invoked from network); 24 Feb 2005 15:52:50 -0000 Received: from unknown (HELO [192.168.4.235]) (samwun@hgcbroadband.com@[221.127.177.174]) (envelope-sender ) by localhost (qmail-ldap-1.03) with SMTP for ; 24 Feb 2005 15:52:50 -0000 Message-ID: <421DF8C1.3040903@authtec.com> Date: Thu, 24 Feb 2005 23:54:41 +0800 From: sam wun User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel crashed when writing data from IDE to a SCSI card. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 15:52:54 -0000 Hi, I m running FreeBSD 5.3 stable, with an Adaptec card and 2 SCSI Quantum hard drives installed in the system. When I tried to copy the whole directory from the IDE disk to one of the Quantum hard disc, the kernel shows alow of message on the screen, these messages are: Feb 24 23:47:54 gateway nmbd[558]: Feb 24 23:47:54 gateway nmbd[558]: ***** Feb 24 23:48:26 gateway kernel: (da1:ahd1:0:0:0): Unexpected busfree in Data-out phase, 1 SCBs aborted, PRGMCNT == 0x239 Feb 24 23:48:26 gateway kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< Feb 24 23:48:26 gateway kernel: ahd1: Dumping Card State at program address 0x237 Mode 0x11 Feb 24 23:48:26 gateway kernel: Card was paused Feb 24 23:48:26 gateway kernel: INTSTAT[0x8]:(SCSIINT) SELOID[0x0] SELID[0x0] HS_MAILBOX[0x0] Feb 24 23:48:26 gateway kernel: INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11] Feb 24 23:48:26 gateway kernel: DFFSTAT[0x11]:(CURRFIFO_1|FIFO0FREE) SCSISIGI[0x0]:(P_DATAOUT) Feb 24 23:48:26 gateway kernel: SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x0]:(P_DATAOUT) Feb 24 23:48:26 gateway kernel: SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) Feb 24 23:48:26 gateway kernel: SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x20]:(DPHASE) Feb 24 23:48:26 gateway kernel: SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x1] KERNEL_QFREEZE_COUNT[0x1] Feb 24 23:48:26 gateway kernel: MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] SSTAT0[0x0] Feb 24 23:48:26 gateway kernel: SSTAT1[0x8]:(BUSFREE) SSTAT2[0xc0]:(BUSFREE_DFF1) Feb 24 23:48:26 gateway kernel: SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xac]:(ENSCSIPERR|ENBUSFREE|ENSCSIRST|ENSELTIMO) Feb 24 23:48:26 gateway kernel: LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] Feb 24 23:48:26 gateway kernel: LQOSTAT1[0x0] LQOSTAT2[0x0] Feb 24 23:48:26 gateway kernel: Feb 24 23:48:26 gateway kernel: SCB Count = 16 CMDS_PENDING = 1 LASTSCB 0xf CURRSCB 0xf NEXTSCB 0x0 Feb 24 23:48:26 gateway kernel: qinstart = 717 qinfifonext = 717 Feb 24 23:48:26 gateway kernel: QINFIFO: Feb 24 23:48:26 gateway kernel: WAITING_TID_QUEUES: Feb 24 23:48:26 gateway kernel: Pending list: Feb 24 23:48:26 gateway kernel: Total 0 Feb 24 23:48:26 gateway kernel: Kernel Free SCB list: 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 Feb 24 23:48:26 gateway kernel: Sequencer Complete DMA-inprog list: Feb 24 23:48:26 gateway kernel: Sequencer Complete list: Feb 24 23:48:26 gateway kernel: Sequencer DMA-Up and Complete list: Feb 24 23:48:26 gateway kernel: Sequencer On QFreeze and Complete list: Feb 24 23:48:26 gateway kernel: Feb 24 23:48:26 gateway kernel: Feb 24 23:48:26 gateway kernel: ahd1: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0 Feb 24 23:48:26 gateway kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) Feb 24 23:48:26 gateway kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) .... Then the system is halted few minutes later. Can anyone please tell me how to fix this error? Thanks Sam