From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 20 11:03:06 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF2EB16A420 for ; Mon, 20 Mar 2006 11:03:06 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71ED543D46 for ; Mon, 20 Mar 2006 11:03:06 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2KB363w082653 for ; Mon, 20 Mar 2006 11:03:06 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2KB34dA082642 for freebsd-scsi@freebsd.org; Mon, 20 Mar 2006 11:03:04 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 20 Mar 2006 11:03:04 GMT Message-Id: <200603201103.k2KB34dA082642@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 11:03:06 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/03] kern/27059 scsi [sym] SCSI subsystem hangs under heavy lo o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug o [2003/05/24] kern/52638 scsi [panic] SCSI U320 on SMP server won't run s [2003/09/30] kern/57398 scsi [mly] Current fails to install on mly(4) o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with o [2003/12/27] kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C81 s [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/12/02] kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5 o [2005/06/04] kern/81887 scsi [aac] Adaptec SCSI 2130S aac0: GetDeviceP o [2005/12/12] kern/90282 scsi [sym] SCSI bus resets cause loss of ch de o [2006/02/04] kern/92798 scsi [ahc] SCSI problem with timeouts o [2006/02/10] kern/93128 scsi [sym] FreeBSD 6.1 BETA 1 has problems wit 14 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2005/01/12] kern/76178 scsi [ahd] Problem with ahd and large SCSI Rai 5 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 20 21:29:20 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D2316A423 for ; Mon, 20 Mar 2006 21:29:20 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A795243D55 for ; Mon, 20 Mar 2006 21:29:10 +0000 (GMT) (envelope-from j@uriah.heep.sax.de) Received: from localhost (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP id C64FD276 for ; Mon, 20 Mar 2006 22:29:08 +0100 (MET) Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.2-10) id 32094-0C2E43EA; Mon, 20 Mar 2006 22:29:08 +0100 Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP id 7275513C for ; Mon, 20 Mar 2006 22:29:02 +0100 (MET) Received: from uriah.heep.sax.de (localhost [127.0.0.1]) by uriah.heep.sax.de (Postfix) with ESMTP for ; Mon, 20 Mar 2006 22:29:02 +0100 (MET) Received: (from j@localhost) by uriah.heep.sax.de (8.13.4/8.13.1/Submit) id k2KLT2qs032086; Mon, 20 Mar 2006 22:29:02 +0100 (MET) (envelope-from j) Date: Mon, 20 Mar 2006 22:29:02 +0100 (MET) Message-Id: <200603202129.k2KLT2qs032086@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <200601250851.k0P8pNeQ065463@lurza.secnetix.de> In-Reply-To: <200601250851.k0P8pNeQ065463@lurza.secnetix.de> From: j@uriah.heep.sax.de (Joerg Wunsch) X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on uriah.heep.sax.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.5 tests=none autolearn=failed version=3.0.2 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.33.0.19; VDF: 6.33.0.62; host: uriah.heep.sax.de) Subject: Re: SCSI scanner, sym/ncr driver, pt(4) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 21:29:20 -0000 (Yeah, an old thread, I know.) Oliver Fromme wrote: > However, the SANE back-end driver (man pages sane-epson(5) and > sane-sscsi(5)) doesn't want to use /dev/pt0. Well, as I personally dislike the idea to hand out pass(4) devices to mortal users (not only because their numbering could move, but also because they allow much more to the application than pt(4)), I'm still sticking to pt(4) for my HP ScanJet 4c. Here's my configuration: /etc/rc.local: (yeah, should be moved to the correct file) /sbin/devfs rule add path pt0 mode 600 user daemon /usr/local/etc/sane.d/hp.conf: scsi HP # Uncomment the following if you have "Error during device I/O" on SCSI # option dumb-read # /dev/pt0 option connect-device /etc/inetd.conf: sane stream tcp nowait daemon:daemon /usr/local/sbin/saned saned No idea whether it would work for your scanner as well. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 21 13:01:01 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C67316A400 for ; Tue, 21 Mar 2006 13:01:01 +0000 (UTC) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dash.ece.ufl.edu [128.227.220.23]) by mx1.FreeBSD.org (Postfix) with SMTP id A971D43D49 for ; Tue, 21 Mar 2006 13:01:00 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 10285 invoked by uid 0); 21 Mar 2006 12:55:57 -0000 Received: from 128.227.180.132 by dash.ece.ufl.edu (envelope-from , uid 0) with qmail-scanner-1.25 (uvscan: v4.40.0/vMar 20 05:07. Clear:RC:1(128.227.180.132):. Processed in 0.862903 secs); 21 Mar 2006 12:55:57 -0000 Received: from unknown (HELO felix.ece.ufl.edu) (128.227.180.132) by dot.ece.ufl.edu with SMTP; 21 Mar 2006 12:55:56 -0000 Date: Tue, 21 Mar 2006 07:57:42 -0500 (EST) From: jason kawaja To: freebsd-scsi@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 13:01:01 -0000 ibm xseries 346, dual xeon dual core with qlogic fc card. external disk device shows up within the qlogic bios (once wwid is correctly added to the disk array manager,ibm shark) however does not show from within freebsd. any ideas? information below. thank you. ------------ uname -imprs ------------ FreeBSD 6.0-RELEASE-p3 i386 i386 EBSD --------------------- camcontrol devlist -v --------------------- scbus0 on isp0 bus 0: < > at scbus0 target -1 lun -1 () scbus1 on ahd0 bus 0: < > at scbus1 target -1 lun -1 () scbus2 on ahd1 bus 0: at scbus2 target 0 lun 0 (da0,pass0) at scbus2 target 1 lun 0 (da1,pass1) at scbus2 target 8 lun 0 (ses0,pass2) < > at scbus2 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) --------------------------------- dmesg output of relevant sections --------------------------------- CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2800.13-MHz 686-class CPU) isp0: port 0x4000-0x40ff mem 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 isp0: [GIANT-LOCKED] isp0: bad hard address 125- resetting to zero acd0: DVDROM at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle (probe278:ahd1:0:8:0): No or incomplete CDB sent to device. ahd1: Issued Channel A Bus Reset. 5 SCBs aborted ses0 at ahd1 bus 0 target 8 lun 0 ses0: Fixed Processor SCSI-2 device ses0: 3.300MB/s transfers ses0: SAF-TE Compliant Device SMP: AP CPU #7 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #5 Launched! da0 at ahd1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) da1 at ahd1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-4 device da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 70006MB (143374000 512 byte sectors: 255H 63S/T 8924C) Trying to mount root from ufs:/dev/da0s1a bge0: link state changed to UP bge1: link state changed to UP -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 21 13:31:37 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADA0E16A420 for ; Tue, 21 Mar 2006 13:31:37 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C8D543D66 for ; Tue, 21 Mar 2006 13:31:32 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k2LDVTM7024989; Tue, 21 Mar 2006 07:31:29 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <44200030.9090400@centtech.com> Date: Tue, 21 Mar 2006 07:31:28 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: jason kawaja References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1346/Tue Mar 21 03:03:02 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 13:31:37 -0000 jason kawaja wrote: > ibm xseries 346, dual xeon dual core with qlogic fc card. > > external disk device shows up within the qlogic bios (once wwid is > correctly added to the disk array manager,ibm shark) however does not > show from within freebsd. any ideas? information below. thank you. > > isp0: port 0x4000-0x40ff mem > 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 > isp0: [GIANT-LOCKED] > isp0: bad hard address 125- resetting to zero I'm guessing the "bad hard address 125" is the problem. Sounds like you manually set a hard address in the BIOS - is that necessary for your configuration? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 21 15:02:26 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EB5516A424 for ; Tue, 21 Mar 2006 15:02:26 +0000 (UTC) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dash.ece.ufl.edu [128.227.220.23]) by mx1.FreeBSD.org (Postfix) with SMTP id BA2D043D5E for ; Tue, 21 Mar 2006 15:02:24 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 41710 invoked by uid 0); 21 Mar 2006 14:57:20 -0000 Received: from 128.227.180.132 by dash.ece.ufl.edu (envelope-from , uid 0) with qmail-scanner-1.25 (uvscan: v4.40.0/vMar 21 05:07. Clear:RC:1(128.227.180.132):. Processed in 0.637373 secs); 21 Mar 2006 14:57:20 -0000 Received: from unknown (HELO felix.ece.ufl.edu) (128.227.180.132) by dot.ece.ufl.edu with SMTP; 21 Mar 2006 14:57:20 -0000 Date: Tue, 21 Mar 2006 09:59:05 -0500 (EST) From: jason kawaja To: freebsd-scsi@freebsd.org In-Reply-To: <44200030.9090400@centtech.com> Message-ID: References: <44200030.9090400@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 15:02:26 -0000 On Tue, 21 Mar 2006, Eric Anderson wrote: > jason kawaja wrote: >> ibm xseries 346, dual xeon dual core with qlogic fc card. >> >> external disk device shows up within the qlogic bios (once wwid is >> correctly added to the disk array manager,ibm shark) however does not >> show from within freebsd. any ideas? information below. thank you. >> >> isp0: port 0x4000-0x40ff mem >> 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 >> isp0: [GIANT-LOCKED] >> isp0: bad hard address 125- resetting to zero > > I'm guessing the "bad hard address 125" is the problem. Sounds like > you manually set a hard address in the BIOS - is that necessary for > your configuration? it is not set manually, defaults are set. is 125- a truncated number? could a malformatted partition (on the fc disk device) cause this behavior? -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 21 15:27:45 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 342CA16A420 for ; Tue, 21 Mar 2006 15:27:45 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E3F343D76 for ; Tue, 21 Mar 2006 15:27:43 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k2LFRfSV027192; Tue, 21 Mar 2006 09:27:41 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <44201B6C.7020206@centtech.com> Date: Tue, 21 Mar 2006 09:27:40 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: jason kawaja References: <44200030.9090400@centtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1346/Tue Mar 21 03:03:02 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 15:27:45 -0000 jason kawaja wrote: > On Tue, 21 Mar 2006, Eric Anderson wrote: > >> jason kawaja wrote: >>> ibm xseries 346, dual xeon dual core with qlogic fc card. >>> >>> external disk device shows up within the qlogic bios (once wwid is >>> correctly added to the disk array manager,ibm shark) however does >>> not show from within freebsd. any ideas? information below. thank you. >>> >>> isp0: port 0x4000-0x40ff mem >>> 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 >>> isp0: [GIANT-LOCKED] >>> isp0: bad hard address 125- resetting to zero >> >> I'm guessing the "bad hard address 125" is the problem. Sounds like >> you manually set a hard address in the BIOS - is that necessary for >> your configuration? > > it is not set manually, defaults are set. is 125- a truncated number? > could a malformatted partition (on the fc disk device) cause this > behavior? I'm no fiber channel guru - but I doubt it. You may go into the bios on the card and see if hard addresses are set. I set mine to not use hard addresses, and it works fine. Are you loading the ispfw.ko from the loader? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 21 15:28:18 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C540A16A426 for ; Tue, 21 Mar 2006 15:28:18 +0000 (UTC) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dash.ece.ufl.edu [128.227.220.23]) by mx1.FreeBSD.org (Postfix) with SMTP id 9ECB343D7B for ; Tue, 21 Mar 2006 15:28:14 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 47816 invoked by uid 0); 21 Mar 2006 15:23:10 -0000 Received: from 128.227.180.132 by dash.ece.ufl.edu (envelope-from , uid 0) with qmail-scanner-1.25 (uvscan: v4.40.0/vMar 21 05:07. Clear:RC:1(128.227.180.132):. Processed in 0.581582 secs); 21 Mar 2006 15:23:10 -0000 Received: from unknown (HELO felix.ece.ufl.edu) (128.227.180.132) by dot.ece.ufl.edu with SMTP; 21 Mar 2006 15:23:10 -0000 Date: Tue, 21 Mar 2006 10:24:55 -0500 (EST) From: jason kawaja To: freebsd-scsi@freebsd.org In-Reply-To: Message-ID: References: <44200030.9090400@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 15:28:18 -0000 On Tue, 21 Mar 2006, jason kawaja wrote: > On Tue, 21 Mar 2006, Eric Anderson wrote: > >> jason kawaja wrote: >>> ibm xseries 346, dual xeon dual core with qlogic fc card. >>> >>> external disk device shows up within the qlogic bios (once wwid is >>> correctly added to the disk array manager,ibm shark) however does not show >>> from within freebsd. any ideas? information below. thank you. >>> >>> isp0: port 0x4000-0x40ff mem >>> 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 >>> isp0: [GIANT-LOCKED] >>> isp0: bad hard address 125- resetting to zero >> >> I'm guessing the "bad hard address 125" is the problem. Sounds like you >> manually set a hard address in the BIOS - is that necessary for your >> configuration? > > it is not set manually, defaults are set. is 125- a truncated number? > could a malformatted partition (on the fc disk device) cause this > behavior? i am able to produce scsi errors from within the qlogic bios disk utility, will focus my attention there for now. thanks. -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 22 20:49:27 2006 Return-Path: X-Original-To: freebsd-scsi@hub.freebsd.org Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 846FA16A400; Wed, 22 Mar 2006 20:49:27 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E8F943D45; Wed, 22 Mar 2006 20:49:27 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2MKnR4k032351; Wed, 22 Mar 2006 20:49:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2MKnRoX032347; Wed, 22 Mar 2006 20:49:27 GMT (envelope-from linimon) Date: Wed, 22 Mar 2006 20:49:27 GMT From: Mark Linimon Message-Id: <200603222049.k2MKnRoX032347@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org Cc: Subject: Re: kern/94838: Kernel panic while mounting SD card with lock switch on X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 20:49:27 -0000 Synopsis: Kernel panic while mounting SD card with lock switch on Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Wed Mar 22 20:48:59 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=94838 From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 23 08:10:38 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC9EA16A400 for ; Thu, 23 Mar 2006 08:10:38 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 367A243D49 for ; Thu, 23 Mar 2006 08:10:37 +0000 (GMT) (envelope-from lydianconcepts@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so580260wri for ; Thu, 23 Mar 2006 00:10:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QHvi9NyhZFi1HKCyEvN1J0ee5n4eCVLmW1IiscPaBoBW74RZHH6EItOhdVA425Rw93yq9ul9KuzfJSrOk1Gkxr4vGqF45ZW+xghO7/QWaoSQJv2biyrNbsJrS4zxBkmYQXeXiRZmS53ijB5RFRWk/on6hCIvQz529Z39kcKLApw= Received: by 10.65.151.17 with SMTP id d17mr1385867qbo; Thu, 23 Mar 2006 00:04:04 -0800 (PST) Received: by 10.65.154.14 with HTTP; Thu, 23 Mar 2006 00:04:04 -0800 (PST) Message-ID: <7579f7fb0603230004tfeef32cx61185793bc2d3dbd@mail.gmail.com> Date: Thu, 23 Mar 2006 00:04:04 -0800 From: "Matthew Jacob" To: "jason kawaja" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <44200030.9090400@centtech.com> Cc: freebsd-scsi@freebsd.org Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 08:10:38 -0000 > >> I'm guessing the "bad hard address 125" is the problem. Sounds like y= ou > >> manually set a hard address in the BIOS - is that necessary for your > >> configuration? > > No- that's not the problem. There's a bug in the driver about thinking that 125 is a bad loop id. From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 23 09:14:29 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DA4216A423; Thu, 23 Mar 2006 09:14:29 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id E52F543D45; Thu, 23 Mar 2006 09:14:23 +0000 (GMT) (envelope-from os@rsu.ru) Received: from brain.cc.rsu.ru (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2N9EKBV064176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Mar 2006 12:14:20 +0300 (MSK) (envelope-from os@rsu.ru) Date: Thu, 23 Mar 2006 12:14:19 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <200603131056.09271.jhb@freebsd.org> Message-ID: <20060323092034.W795@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603091113.38474.jhb@freebsd.org> <20060310173625.X3787@brain.cc.rsu.ru> <200603131056.09271.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 09:14:29 -0000 Hi! On Mon, 13 Mar 2006, John Baldwin wrote: JB>> To make GENERIC usable it's enough to comment JB>> options PREEMPTION JB>> Not sure if this helps much. JB>It could point to a bug in a driver. All this time I was doing experiments, but the more I did the less I understood. Now I'd say that I suppose the problem is not with a particular device, but rather with a number of devices installed in the system. The things are different depending on hardware setup and kernel configuration. Just a few examples: The only configuration which I've never seen failing was with no pci cards installed and several devices disabled in BIOS (mouse, floppy, ata, serial ata). This way the system boots fine with GENERIC kernel. As soon as I install additional scsi card (adaptec 29160) SCB timeouts start happening on internal scsi adapter during "Waiting 5 seconds for SCSI devices to settle". The system would still boot after "ahd0: Recovery Initiated - Card was not paused". If I remove bge driver from kernel (keeping additional scsi in system) this timeouts go away. The GENERIC kernel on the system with no pci cards and all devices enabled in BIOS sometimes boots and sometimes hangs with last line "lo0: bpf attached". The same happens with kernel without bge with the exception that for this one chances that it would boot are higher. When ips pci card is installed the GENERIC kernel would definitely hang at boot. Kernel without bge would boot almost for sure. On SMP kernel I was even able to kldload bge when boot have been completed. The same action on UP system produces rather strange results. If I boot to singleuser mode and load if_bge than the system returns to command prompt and I can edit command line and everything looks normal. But as soon as I try to execute something (I suppose disk io is a point here, but I'm not sure) the system becomes extremely slow. It takes about 30 seconds to print a single character on console. The same happens if I load if_bge in multiuser mode. One thing is common to all cases: when system hangs (or becomes slow) Ctrl+Alt+Esc wouldn't work, but sending break on com port still would and it's possible to get into kernel debugger. Unfortunately this doesn't help me. To be true I don't think I can cope with this on my own. I setup remote gdb for this box but it gives nothing to me, due to lack of knowledge on how interrupt delivery works and how interrupt handling is done in FreeBSD. Would it be possible for you, John, or maybe for someone else to look at this box. I can provide full remote access to it with remote gdb, serial console and ip kvm. And another thing, just to remember, is that disabling preemption makes things normal. All tests were done with sources checked out with -r HEAD -D '2006-03-10 15:34:00 UTC'. I have also tested GENERIC built from fresh src - it has same problems. This issue is not specific to scsi problems. I think it would be nice to change mailing list to the more appropriate one. This happens on amd64, and not on i386. Should this conversation be moved to freebsd-amd64? Or maybe another list? -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 23 12:27:40 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BA8B16A423 for ; Thu, 23 Mar 2006 12:27:40 +0000 (UTC) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dash.ece.ufl.edu [128.227.220.23]) by mx1.FreeBSD.org (Postfix) with SMTP id DCAD543D4C for ; Thu, 23 Mar 2006 12:27:39 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 19862 invoked by uid 0); 23 Mar 2006 12:22:35 -0000 Received: from 128.227.180.132 by dash.ece.ufl.edu (envelope-from , uid 0) with qmail-scanner-1.25 (uvscan: v4.40.0/vMar 22 05:08. Clear:RC:1(128.227.180.132):. Processed in 0.582305 secs); 23 Mar 2006 12:22:35 -0000 Received: from unknown (HELO felix.ece.ufl.edu) (128.227.180.132) by dot.ece.ufl.edu with SMTP; 23 Mar 2006 12:22:35 -0000 Date: Thu, 23 Mar 2006 07:23:47 -0500 (EST) From: jason kawaja To: freebsd-scsi@freebsd.org In-Reply-To: Message-ID: References: <44200030.9090400@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 12:27:40 -0000 On Tue, 21 Mar 2006, jason kawaja wrote: >> On Tue, 21 Mar 2006, Eric Anderson wrote: >> >>> jason kawaja wrote: >>> >>>> ibm xseries 346, dual xeon dual core with qlogic fc card. >>>> >>>> external disk device shows up within the qlogic bios (once wwid is >>>> correctly added to the disk array manager,ibm shark) however does >>>> not show from within freebsd. any ideas? information below. thank >>>> you. >>>> >>>> isp0: port 0x4000-0x40ff mem >>>> 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 >>>> isp0: [GIANT-LOCKED] >>>> isp0: bad hard address 125- resetting to zero >>> >>> I'm guessing the "bad hard address 125" is the problem. Sounds like >>> you manually set a hard address in the BIOS - is that necessary for >>> your configuration? >> >> it is not set manually, defaults are set. is 125- a truncated number? >> could a malformatted partition (on the fc disk device) cause this >> behavior? it seems on the qla200 (bios 1.23) there is no way to alter the loop address and is set to 125 (assuming). on a qla23xx (bios 1.25) the loop address is configurable from 0-125 and can also be disabled (perhaps automatic then?). after getting the scsi errors resolved on the remote fc device, the problem remains so i am going to replace the current qla200 card with qla23xx to see if the fc device can then be seen by freebsd. (the qla23xx card previously worked on a similar freebsd system.) i should note that i've tried some other solutions found within the list that include disabling acpi without positive results. -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 23 14:25:00 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8080616A423 for ; Thu, 23 Mar 2006 14:25:00 +0000 (UTC) (envelope-from kawaja@ece.ufl.edu) Received: from ece.ufl.edu (dash.ece.ufl.edu [128.227.220.23]) by mx1.FreeBSD.org (Postfix) with SMTP id C93A743D45 for ; Thu, 23 Mar 2006 14:24:59 +0000 (GMT) (envelope-from kawaja@ece.ufl.edu) Received: (qmail 46593 invoked by uid 0); 23 Mar 2006 14:19:55 -0000 Received: from 128.227.180.132 by dash.ece.ufl.edu (envelope-from , uid 0) with qmail-scanner-1.25 (uvscan: v4.40.0/vMar 23 05:08. Clear:RC:1(128.227.180.132):. Processed in 0.580658 secs); 23 Mar 2006 14:19:55 -0000 Received: from unknown (HELO felix.ece.ufl.edu) (128.227.180.132) by dot.ece.ufl.edu with SMTP; 23 Mar 2006 14:19:55 -0000 Date: Thu, 23 Mar 2006 09:21:06 -0500 (EST) From: jason kawaja To: freebsd-scsi@freebsd.org In-Reply-To: Message-ID: References: <44200030.9090400@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: qlogic isp 6312 device not showing up X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 14:25:00 -0000 On Thu, 23 Mar 2006, jason kawaja wrote: > after getting the scsi errors resolved on the remote fc device, the > problem remains so i am going to replace the current qla200 card with > qla23xx to see if the fc device can then be seen by freebsd. (the > qla23xx card previously worked on a similar freebsd system.) indeed the qla23xx card works (disk device shows up within freebsd) when the same fc device was unable to to work with the qla200 card (no changes to freebsd system/kernel). isp0: port 0x4000-0x40ff mem 0xdefff000-0xdeffffff irq 96 at device 4.0 on pci4 isp0: [GIANT-LOCKED] isp0: bad execution throttle of 0- using 16 isp0: bad hard address 125- resetting to zero da0 at isp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 200.000MB/s transfers, Tagged Queueing Enabled da0: 953MB (1953152 512 byte sectors: 64H 32S/T 953C) cant say i like the fact that the fc disk get assigned as da0 causing my local scsi devices to get bumped (require /etc/fstab alterations) but that appears in linux as well so is not likely freebsd related. -- Jason Kawaja 2-4568 http://www.ietf.org/rfc/rfc1855.txt From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 23 18:59:24 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46C6416A401 for ; Thu, 23 Mar 2006 18:59:24 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7078343D58 for ; Thu, 23 Mar 2006 18:59:23 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2NIxH1X031078; Thu, 23 Mar 2006 13:59:19 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Thu, 23 Mar 2006 11:46:27 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603131056.09271.jhb@freebsd.org> <20060323092034.W795@brain.cc.rsu.ru> In-Reply-To: <20060323092034.W795@brain.cc.rsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603231146.30510.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1354/Thu Mar 23 12:49:54 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 18:59:24 -0000 On Thursday 23 March 2006 04:14, Oleg Sharoiko wrote: > Hi! > > On Mon, 13 Mar 2006, John Baldwin wrote: > > JB>> To make GENERIC usable it's enough to comment > JB>> options PREEMPTION > JB>> Not sure if this helps much. > JB>It could point to a bug in a driver. > > All this time I was doing experiments, but the more I did the less I > understood. Now I'd say that I suppose the problem is not with a > particular device, but rather with a number of devices installed in the > system. The things are different depending on hardware setup and kernel > configuration. Just a few examples: > > The only configuration which I've never seen failing was with no pci cards > installed and several devices disabled in BIOS (mouse, floppy, ata, serial > ata). This way the system boots fine with GENERIC kernel. As soon as I > install additional scsi card (adaptec 29160) SCB timeouts start happening > on internal scsi adapter during "Waiting 5 seconds for SCSI devices to > settle". The system would still boot after "ahd0: Recovery Initiated - > Card was not paused". If I remove bge driver from kernel (keeping > additional scsi in system) this timeouts go away. > > The GENERIC kernel on the system with no pci cards and all devices > enabled in BIOS sometimes boots and sometimes hangs with last line "lo0: > bpf attached". The same happens with kernel without bge with the exception > that for this one chances that it would boot are higher. > > When ips pci card is installed the GENERIC kernel would definitely hang > at boot. Kernel without bge would boot almost for sure. On SMP kernel I > was even able to kldload bge when boot have been completed. The same > action on UP system produces rather strange results. If I boot to > singleuser mode and load if_bge than the system returns to command prompt > and I can edit command line and everything looks normal. But as soon as I > try to execute something (I suppose disk io is a point here, but I'm not > sure) the system becomes extremely slow. It takes about 30 seconds to > print a single character on console. The same happens if I load if_bge in > multiuser mode. This points to an interrupt storm. > One thing is common to all cases: when system hangs (or becomes slow) > Ctrl+Alt+Esc wouldn't work, but sending break on com port still would and > it's possible to get into kernel debugger. Unfortunately this doesn't help > me. To be true I don't think I can cope with this on my own. I setup > remote gdb for this box but it gives nothing to me, due to lack of > knowledge on how interrupt delivery works and how interrupt handling is > done in FreeBSD. Would it be possible for you, John, or maybe for someone > else to look at this box. I can provide full remote access to it with > remote gdb, serial console and ip kvm. Can you drop into the debugger and do 'show intrcnt' after you have triggered the interrupt storm from bge? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 13:08:59 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C26216A424; Fri, 24 Mar 2006 13:08:59 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0645B43D46; Fri, 24 Mar 2006 13:08:56 +0000 (GMT) (envelope-from os@rsu.ru) Received: from brain.cc.rsu.ru (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2OD8rEa042228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 24 Mar 2006 16:08:53 +0300 (MSK) (envelope-from os@rsu.ru) Date: Fri, 24 Mar 2006 16:08:53 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <200603231146.30510.jhb@freebsd.org> Message-ID: <20060324160727.J797@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603131056.09271.jhb@freebsd.org> <20060323092034.W795@brain.cc.rsu.ru> <200603231146.30510.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 13:08:59 -0000 On Thu, 23 Mar 2006, John Baldwin wrote: JB>Can you drop into the debugger and do 'show intrcnt' after you have triggered JB>the interrupt storm from bge? db> show intrcnt irq1: atkbd0 1 irq4: sio0 2173 irq6: fdc0 6 irq9: acpi0 1 irq14: ata0 36 irq16: bge0 uhci0+ 10440368 irq28: ips0 6578 cpu0: timer 443479 And another one aquired when boot stopped on "lo0: bpf attached": db> show intrcnt irq1: atkbd0 1 irq4: sio0 3 irq6: fdc0 2 irq9: acpi0 345147 irq14: ata0 1 cpu0: timer 57995 -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 15:57:36 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B16A16A423 for ; Fri, 24 Mar 2006 15:57:36 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C371843D45 for ; Fri, 24 Mar 2006 15:57:31 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2OFvHD5038793; Fri, 24 Mar 2006 10:57:22 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Fri, 24 Mar 2006 10:57:57 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603231146.30510.jhb@freebsd.org> <20060324160727.J797@brain.cc.rsu.ru> In-Reply-To: <20060324160727.J797@brain.cc.rsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603241057.59460.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1355/Thu Mar 23 16:18:22 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 15:57:36 -0000 On Friday 24 March 2006 08:08, Oleg Sharoiko wrote: > > On Thu, 23 Mar 2006, John Baldwin wrote: > > JB>Can you drop into the debugger and do 'show intrcnt' after you have triggered > JB>the interrupt storm from bge? > > db> show intrcnt > irq1: atkbd0 1 > irq4: sio0 2173 > irq6: fdc0 6 > irq9: acpi0 1 > irq14: ata0 36 > irq16: bge0 uhci0+ 10440368 > irq28: ips0 6578 > cpu0: timer 443479 Hmm, well that interrupt storm is not due to a misrouted interrupt, it might be a bug in the bge(4) driver. Can you try compiling a kernel w/o USB and seeing if you can still reproduce the interrupt storm? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 18:12:29 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C54B16A425; Fri, 24 Mar 2006 18:12:29 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F2043D58; Fri, 24 Mar 2006 18:12:26 +0000 (GMT) (envelope-from os@rsu.ru) Received: from wolf.os.rsu.ru (os@os.adsl.r61.net [195.208.243.95]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2OICKKg079027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 24 Mar 2006 21:12:23 +0300 (MSK) (envelope-from os@rsu.ru) Date: Fri, 24 Mar 2006 21:12:23 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <200603241057.59460.jhb@freebsd.org> Message-ID: <20060324192302.P797@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603231146.30510.jhb@freebsd.org> <20060324160727.J797@brain.cc.rsu.ru> <200603241057.59460.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 18:12:29 -0000 On Fri, 24 Mar 2006, John Baldwin wrote: JB>Hmm, well that interrupt storm is not due to a misrouted interrupt, it JB>might be a bug in the bge(4) driver. Can you try compiling a kernel w/o JB>USB and seeing if you can still reproduce the interrupt storm? Yes. db> show intrcnt irq1: atkbd0 2 irq4: sio0 3672 irq6: fdc0 6 irq9: acpi0 1 irq14: ata0 36 irq16: bge0 2592958 irq28: ips0 728 cpu0: timer 143147 John, can you tell anything about another case, for which interrupt counters are: db> show intrcnt irq1: atkbd0 1 irq4: sio0 3 irq6: fdc0 2 irq9: acpi0 345147 irq14: ata0 1 cpu0: timer 57995 Does this also show an interrupt storm? This one has happened without bge in kernel. I'm asking because I've seen several different scenarios of hangs and this is from one of them. I'll try to reproduce all cases and gather interrupt statistics from all of them. I'm wondering can't all this cases be caused by one common reason behind all of them. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 19:49:27 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05E1716A400 for ; Fri, 24 Mar 2006 19:49:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C2043D45 for ; Fri, 24 Mar 2006 19:49:26 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2OJnNwK040333; Fri, 24 Mar 2006 14:49:24 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Fri, 24 Mar 2006 14:40:27 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241057.59460.jhb@freebsd.org> <20060324192302.P797@brain.cc.rsu.ru> In-Reply-To: <20060324192302.P797@brain.cc.rsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603241440.30487.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1355/Thu Mar 23 16:18:22 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.7 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 19:49:27 -0000 On Friday 24 March 2006 13:12, Oleg Sharoiko wrote: > > On Fri, 24 Mar 2006, John Baldwin wrote: > > JB>Hmm, well that interrupt storm is not due to a misrouted interrupt, it > JB>might be a bug in the bge(4) driver. Can you try compiling a kernel w/o > JB>USB and seeing if you can still reproduce the interrupt storm? > > Yes. > > db> show intrcnt > irq1: atkbd0 2 > irq4: sio0 3672 > irq6: fdc0 6 > irq9: acpi0 1 > irq14: ata0 36 > irq16: bge0 2592958 > irq28: ips0 728 > cpu0: timer 143147 Hmm, you might need to look at bge(4) and figure out what condition it is interrupting on, and why the driver isn't handling that condition. > John, can you tell anything about another case, for which interrupt > counters are: > > db> show intrcnt > irq1: atkbd0 1 > irq4: sio0 3 > irq6: fdc0 2 > irq9: acpi0 345147 > irq14: ata0 1 > cpu0: timer 57995 > > Does this also show an interrupt storm? This one has happened without bge > in kernel. I'm asking because I've seen several different scenarios of > hangs and this is from one of them. I'll try to reproduce all cases and > gather interrupt statistics from all of them. I'm wondering can't all this > cases be caused by one common reason behind all of them. This just looks like you aren't getting interrups from devices at all. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 20:14:13 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F7E016A41F; Fri, 24 Mar 2006 20:14:13 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB01A43D69; Fri, 24 Mar 2006 20:14:11 +0000 (GMT) (envelope-from os@rsu.ru) Received: from brain.cc.rsu.ru (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2OKE3Rm086975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 24 Mar 2006 23:14:05 +0300 (MSK) (envelope-from os@rsu.ru) Date: Fri, 24 Mar 2006 23:14:03 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <200603241440.30487.jhb@freebsd.org> Message-ID: <20060324230940.K11040@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241057.59460.jhb@freebsd.org> <20060324192302.P797@brain.cc.rsu.ru> <200603241440.30487.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 20:14:13 -0000 On Fri, 24 Mar 2006, John Baldwin wrote: JB>Hmm, you might need to look at bge(4) and figure out what condition it JB>is interrupting on, and why the driver isn't handling that condition. I'll try... JB>> John, can you tell anything about another case, for which interrupt JB>> counters are: JB>> JB>> db> show intrcnt JB>> irq1: atkbd0 1 JB>> irq4: sio0 3 JB>> irq6: fdc0 2 JB>> irq9: acpi0 345147 JB>> irq14: ata0 1 JB>> cpu0: timer 57995 JB>> JB>> Does this also show an interrupt storm? This one has happened without bge JB>> in kernel. I'm asking because I've seen several different scenarios of JB>> hangs and this is from one of them. I'll try to reproduce all cases and JB>> gather interrupt statistics from all of them. I'm wondering can't all this JB>> cases be caused by one common reason behind all of them. JB> JB>This just looks like you aren't getting interrups from devices at all. Why do you think so? This case has happened in the middle of boot even before disks were started and the kernel hasn't printed anything about disks it has detected. It looks normal to me that just a few interrupts has been triggered. But irq9 looks quite suspicious, isn't it? Can it be possible that by some reason interrupt storms are triggered on different irq lines resulting in different behaviour? -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 20:14:59 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D711516A401; Fri, 24 Mar 2006 20:14:59 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DFCB43DA0; Fri, 24 Mar 2006 20:14:48 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k2OKEjtb061436; Fri, 24 Mar 2006 13:14:46 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <4424532E.30004@samsco.org> Date: Fri, 24 Mar 2006 13:14:38 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241057.59460.jhb@freebsd.org> <20060324192302.P797@brain.cc.rsu.ru> <200603241440.30487.jhb@freebsd.org> In-Reply-To: <200603241440.30487.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 20:14:59 -0000 John Baldwin wrote: > On Friday 24 March 2006 13:12, Oleg Sharoiko wrote: > >>On Fri, 24 Mar 2006, John Baldwin wrote: >> >>JB>Hmm, well that interrupt storm is not due to a misrouted interrupt, it >>JB>might be a bug in the bge(4) driver. Can you try compiling a kernel w/o >>JB>USB and seeing if you can still reproduce the interrupt storm? >> >>Yes. >> >>db> show intrcnt >>irq1: atkbd0 2 >>irq4: sio0 3672 >>irq6: fdc0 6 >>irq9: acpi0 1 >>irq14: ata0 36 >>irq16: bge0 2592958 >>irq28: ips0 728 >>cpu0: timer 143147 > > > Hmm, you might need to look at bge(4) and figure out what condition it > is interrupting on, and why the driver isn't handling that condition. > > >>John, can you tell anything about another case, for which interrupt >>counters are: >> >>db> show intrcnt >>irq1: atkbd0 1 >>irq4: sio0 3 >>irq6: fdc0 2 >>irq9: acpi0 345147 >>irq14: ata0 1 >>cpu0: timer 57995 >> >>Does this also show an interrupt storm? This one has happened without bge >>in kernel. I'm asking because I've seen several different scenarios of >>hangs and this is from one of them. I'll try to reproduce all cases and >>gather interrupt statistics from all of them. I'm wondering can't all this >>cases be caused by one common reason behind all of them. > > > This just looks like you aren't getting interrups from devices at all. > 345,000 interrupts from scpi0 seems high. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 21:08:45 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB9416A41F for ; Fri, 24 Mar 2006 21:08:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6885043D55 for ; Fri, 24 Mar 2006 21:08:42 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2OL8XNo040778; Fri, 24 Mar 2006 16:08:37 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Scott Long Date: Fri, 24 Mar 2006 16:07:51 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241440.30487.jhb@freebsd.org> <4424532E.30004@samsco.org> In-Reply-To: <4424532E.30004@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603241607.55075.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1356/Fri Mar 24 13:41:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:08:45 -0000 On Friday 24 March 2006 15:14, Scott Long wrote: > John Baldwin wrote: > > On Friday 24 March 2006 13:12, Oleg Sharoiko wrote: > > > >>On Fri, 24 Mar 2006, John Baldwin wrote: > >> > >>JB>Hmm, well that interrupt storm is not due to a misrouted interrupt, it > >>JB>might be a bug in the bge(4) driver. Can you try compiling a kernel w/o > >>JB>USB and seeing if you can still reproduce the interrupt storm? > >> > >>Yes. > >> > >>db> show intrcnt > >>irq1: atkbd0 2 > >>irq4: sio0 3672 > >>irq6: fdc0 6 > >>irq9: acpi0 1 > >>irq14: ata0 36 > >>irq16: bge0 2592958 > >>irq28: ips0 728 > >>cpu0: timer 143147 > > > > > > Hmm, you might need to look at bge(4) and figure out what condition it > > is interrupting on, and why the driver isn't handling that condition. > > > > > >>John, can you tell anything about another case, for which interrupt > >>counters are: > >> > >>db> show intrcnt > >>irq1: atkbd0 1 > >>irq4: sio0 3 > >>irq6: fdc0 2 > >>irq9: acpi0 345147 > >>irq14: ata0 1 > >>cpu0: timer 57995 > >> > >>Does this also show an interrupt storm? This one has happened without bge > >>in kernel. I'm asking because I've seen several different scenarios of > >>hangs and this is from one of them. I'll try to reproduce all cases and > >>gather interrupt statistics from all of them. I'm wondering can't all this > >>cases be caused by one common reason behind all of them. > > > > > > This just looks like you aren't getting interrups from devices at all. > > > > 345,000 interrupts from scpi0 seems high. Yeah, I guess it might be. It's smaller than the bge interrupt storm number. :) It could be that the BIOS has bungled the trigger or polarity of the SCI (this is common, but we have a workaround for the more common breakage). There are tunables that let you set the trigger and polarity of the SCI (acpi interrupt). MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level ioapic0: intpin 9 polarity: high Yeah, level/high seems weird. Try setting either 'hw.acpi.sci.trigger=edge' or 'hw.acpi.sci.polarity=low' from the loader to see if that makes your machine happier. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 21:55:12 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F1E416A400; Fri, 24 Mar 2006 21:55:12 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2900643D45; Fri, 24 Mar 2006 21:55:10 +0000 (GMT) (envelope-from os@rsu.ru) Received: from brain.cc.rsu.ru (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2OLshnl094159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 25 Mar 2006 00:54:45 +0300 (MSK) (envelope-from os@rsu.ru) Date: Sat, 25 Mar 2006 00:54:43 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <200603241607.55075.jhb@freebsd.org> Message-ID: <20060325003610.J11600@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241440.30487.jhb@freebsd.org> <4424532E.30004@samsco.org> <200603241607.55075.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:55:12 -0000 On Fri, 24 Mar 2006, John Baldwin wrote: JB>> 345,000 interrupts from scpi0 seems high. JB>Yeah, I guess it might be. It's smaller than the bge interrupt storm JB>number. :) I just didn't let it generate that many interrupts. I send break sooner than in bge case. :) JB>Yeah, level/high seems weird. Try setting either JB>'hw.acpi.sci.trigger=edge' or 'hw.acpi.sci.polarity=low' from the loader JB>to see if that makes your machine happier. Ok. I will. As soon as I poweroff/poweron that box. I played with different kernels and booted one which don't support breaking into DDB from serial line. :( I've found an interesting thread on netbsd mailing list. http://mail-index.netbsd.org/port-amd64/2006/03/ With subject "Re: Bug in x86 ioapic interrupt code for devices with shared interrupts?". May this relate to my problems? -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 21:58:29 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF13016A420; Fri, 24 Mar 2006 21:58:29 +0000 (UTC) (envelope-from os@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id B75F543D6A; Fri, 24 Mar 2006 21:58:23 +0000 (GMT) (envelope-from os@rsu.ru) Received: from brain.cc.rsu.ru (brain.cc.rsu.ru [195.208.252.154]) (authenticated bits=0) by mail.r61.net (8.13.4/8.13.4) with ESMTP id k2OLwBOX094526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 25 Mar 2006 00:58:11 +0300 (MSK) (envelope-from os@rsu.ru) Date: Sat, 25 Mar 2006 00:58:12 +0300 (MSK) From: Oleg Sharoiko To: John Baldwin In-Reply-To: <20060325003610.J11600@brain.cc.rsu.ru> Message-ID: <20060325005636.X11600@brain.cc.rsu.ru> References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241440.30487.jhb@freebsd.org> <4424532E.30004@samsco.org> <200603241607.55075.jhb@freebsd.org> <20060325003610.J11600@brain.cc.rsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on asterix.r61.net X-Virus-Status: Clean Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 21:58:29 -0000 On Sat, 25 Mar 2006, Oleg Sharoiko wrote: OS>Ok. I will. As soon as I poweroff/poweron that box. I played with OS>different kernels and booted one which don't support breaking into DDB OS>from serial line. :( And I'm on the other end of the city now and won't get to it earlier than tomorrow... -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 24 22:18:19 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27CE116A428 for ; Fri, 24 Mar 2006 22:18:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C77E43D53 for ; Fri, 24 Mar 2006 22:18:18 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2OMIA8K041150; Fri, 24 Mar 2006 17:18:13 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Oleg Sharoiko Date: Fri, 24 Mar 2006 17:18:46 -0500 User-Agent: KMail/1.9.1 References: <20060215102749.D58480@brain.cc.rsu.ru> <200603241607.55075.jhb@freebsd.org> <20060325003610.J11600@brain.cc.rsu.ru> In-Reply-To: <20060325003610.J11600@brain.cc.rsu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603241718.49362.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1356/Fri Mar 24 13:41:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-scsi@freebsd.org, Andrey Beresovsky Subject: Re: Boot hangs on ips0: resetting adapter, this may take up to 5 minutes X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 22:18:19 -0000 On Friday 24 March 2006 16:54, Oleg Sharoiko wrote: > > On Fri, 24 Mar 2006, John Baldwin wrote: > > JB>> 345,000 interrupts from scpi0 seems high. > JB>Yeah, I guess it might be. It's smaller than the bge interrupt storm > JB>number. :) > > I just didn't let it generate that many interrupts. I send break sooner > than in bge case. :) > > JB>Yeah, level/high seems weird. Try setting either > JB>'hw.acpi.sci.trigger=edge' or 'hw.acpi.sci.polarity=low' from the loader > JB>to see if that makes your machine happier. > > Ok. I will. As soon as I poweroff/poweron that box. I played with > different kernels and booted one which don't support breaking into DDB > from serial line. :( > > I've found an interesting thread on netbsd mailing list. > http://mail-index.netbsd.org/port-amd64/2006/03/ > With subject "Re: Bug in x86 ioapic interrupt code for devices with shared > interrupts?". May this relate to my problems? Well, there is one possibly interesting patch for bge in there, (the one from the linux driver) but I'm not sure if it would really help or not. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-scsi@FreeBSD.ORG Sat Mar 25 17:55:14 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D0CE16A423 for ; Sat, 25 Mar 2006 17:55:14 +0000 (UTC) (envelope-from oliver-forward@charter.net) Received: from mxsf42.cluster1.charter.net (mxsf42.cluster1.charter.net [209.225.28.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 269FF43D48 for ; Sat, 25 Mar 2006 17:55:12 +0000 (GMT) (envelope-from oliver-forward@charter.net) Received: from mxip15a.cluster1.charter.net (mxip15a.cluster1.charter.net [209.225.28.145]) by mxsf42.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k2PHtBRp000367 for ; Sat, 25 Mar 2006 12:55:11 -0500 Received: from 24-205-236-185.dhcp.snlo.ca.charter.com (HELO linux.linux) ([24.205.236.185]) by mxip15a.cluster1.charter.net with ESMTP; 25 Mar 2006 12:55:12 -0500 From: Oliver Iberien To: k3b-user@lists.sourceforge.net Date: Sat, 25 Mar 2006 09:55:09 -0800 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200603250955.10060.oliver-forward@charter.net> Cc: freebsd-scsi@freebsd.org Subject: k3b misidentifies SCSI drive - mode sense failure - but cdrecord identifies correctly X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 17:55:14 -0000 I posted this before to k3b-user, but I am adding a bit more information. I= f=20 anyone knows of other SCSI lists I could post this to, that would be great. k3b on FreeBSD 6.0 incorrectly identifies my SCSI CD-R/W as read-only. It=20 reports "mode sense" failure, which, Plextor tells me, can be a sign of a=20 problem with the drive or the media. I've appended this part of the output = at=20 the bottom. However, cdrecord is able correctly to query the drive. Here is that output: Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 J=F6r= g=20 Schilling TOC Type: 0 =3D CD-DA scsidev: '0,0' scsibus: 0 target: 0 lun: 0 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : SYNC Vendor_info : 'PLEXTOR ' Identifikation : 'CD-R PX-W4012S' Revision : '1.01' Device seems to be: Generic mmc CD-RW. Current: 0x0009 Profile: 0x0008 Profile: 0x0009 (current) Profile: 0x000A Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SINGLESESSION= =20 HIDECDR Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 2394336 =3D 2338 KB Drive DMA Speed: 13933 kB/s 79x CD 10x DVD =46IFO size : 4194304 =3D 4096 KB This looks as if the information is there for the asking, but I am no SCSI= =20 expert. It went on to burn without a hitch. k3b worked with this drive when I used SuSE 9.1, and when I experimentally = put=20 in the old drive that had SuSE on it with its old version of k3b, it=20 identified the drive without problems. Any clues leading towards getting k3= b=20 working would be much appreciated it.=20 Thanks, Oliver k3b output (extract): k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: read mode page 2A failed! k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. devfs.conf extract: # Permissions for CD-ROM and DVD devices own acd0 root:wheel own cd0 root:wheel own pass0 root:wheel perm pass0 0666 perm acd 0666 perm cd0 0666 perm /cdrom 0666 perm /cdrom1 0666 own /cdrom 0666 own /cdrom1 0666 perm xpt0 0666