From owner-freebsd-scsi@FreeBSD.ORG Mon Sep 22 11:07:03 2008 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DBB1065671 for ; Mon, 22 Sep 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 658518FC22 for ; Mon, 22 Sep 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8MB73hc015503 for ; Mon, 22 Sep 2008 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8MB72D3015499 for freebsd-scsi@FreeBSD.org; Mon, 22 Sep 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Sep 2008 11:07:02 GMT Message-Id: <200809221107.m8MB72D3015499@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org 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, 22 Sep 2008 11:07:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/126866 scsi [isp] [panic] kernel panic on card initialization o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/40895 scsi wierd kernel / device driver bug o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 26 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 23 01:45:57 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD1C61065687 for ; Tue, 23 Sep 2008 01:45:57 +0000 (UTC) (envelope-from klapperzhu@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id B2E4E8FC12 for ; Tue, 23 Sep 2008 01:45:57 +0000 (UTC) (envelope-from klapperzhu@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1912669wfg.7 for ; Mon, 22 Sep 2008 18:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=KVD3FCul7MX2rKwOLAj+WCB4ufLiOPnytL3gshYtXRY=; b=RizU7/BsCNDysB7Yf7wRov11Y89Y15buktc5/uRpyBWjWxJl8mQMQbzoHaNaOLEYmh wW/89LcllEvTMzQgUeY4yEQELc46XChLAqtg5Jm5kE8KSTcVpRdxR7NpUNA0UvyYSlUz m/GnqDgDuvyb13cUwSAo/KaI7Frx9h7Q5HWWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=gnIbqAovagdJpCDpVjSDGYxogjYjgTg5pZQ3JB8ZCOgGUdR5GZElmxq5h8L/yZUzHf CQVlasyVWplYsEnLhCK+hRhH8EZFRoiW/TaNWHwkCheNO0Db62I+Xq23avHhYy1IEd7H CJEwYTCJqR/tDREojT9pOHyhvbsEAgdgWnYek= Received: by 10.142.173.14 with SMTP id v14mr1741041wfe.231.1222134357132; Mon, 22 Sep 2008 18:45:57 -0700 (PDT) Received: by 10.142.201.2 with HTTP; Mon, 22 Sep 2008 18:45:57 -0700 (PDT) Message-ID: Date: Mon, 22 Sep 2008 21:45:57 -0400 From: "Klapper Zhu" To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Qlogic FC scsi_target ISP2310 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, 23 Sep 2008 01:45:57 -0000 Erich and Alexander, Have you made any progress on running QLA23xx in target mode ? I am running a QLA2312 in target mode and it has the same behavior as Erich encountered. Thanks, From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 23 01:55:13 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6187F1065676 for ; Tue, 23 Sep 2008 01:55:13 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 33A838FC20 for ; Tue, 23 Sep 2008 01:55:13 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1650404rvf.43 for ; Mon, 22 Sep 2008 18:55:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=R9lhofZZ26I5zMlOXUY9HUiOnl4n/bIfVslVtPztYbA=; b=ldYppJevnD1y49xuE36jJ9NkFNcdtcEFDIvtchGZaL2Vnuz23fKJnWlZ71pN3/N0sX ZCbbH8z2cGKEzWNVq9UnjBEnKdxLiiuiTB1JNLlUhX5vc0Rko1pCqD9+VkeE05iuxllM zoGp3OBbfON/sVqPIkxHncTzh1HlmsvqjKk64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XxLEBN3vIZehGyXIdEvKXaF2RZkIIvpDldbyUDxJ55Fmnzu2vIpwpwguYWSllLMcA+ Y1JnLMvaszyNLrEQCbFgOcAfu43uIPl3fvray1qlsyJ0r92XHpTNjIriLidaONcUNZoc JRCUzEFVkkm+TqRq+ei0RqZG7MNSDQ1ugbWsk= Received: by 10.141.33.21 with SMTP id l21mr2413768rvj.9.1222134912917; Mon, 22 Sep 2008 18:55:12 -0700 (PDT) Received: by 10.141.136.21 with HTTP; Mon, 22 Sep 2008 18:55:12 -0700 (PDT) Message-ID: <3c0b01820809221855o6ed1969cr7057871b6f81bad8@mail.gmail.com> Date: Mon, 22 Sep 2008 21:55:12 -0400 From: "Alexander Sack" To: "Klapper Zhu" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-scsi@freebsd.org Subject: Re: Qlogic FC scsi_target ISP2310 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, 23 Sep 2008 01:55:13 -0000 Hey Guys, Can you please file a PR? I'm finishing up the patch to fix some firmware related issues and general bug fixes. I will try to reproduce the target mode issue with my QLA24xx. Thanks! -aps On Mon, Sep 22, 2008 at 9:45 PM, Klapper Zhu wrote: > Erich and Alexander, > > Have you made any progress on running QLA23xx in target mode ? > > I am running a QLA2312 in target mode and it has the same behavior as Erich > encountered. > > Thanks, > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" > From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 23 02:27:14 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B57D106566C for ; Tue, 23 Sep 2008 02:27:14 +0000 (UTC) (envelope-from klapperzhu@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 00E058FC12 for ; Tue, 23 Sep 2008 02:27:13 +0000 (UTC) (envelope-from klapperzhu@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1925555wfg.7 for ; Mon, 22 Sep 2008 19:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=VSe2p5kODxlJXqBJ22/Oyxht1uTe/GZ2ilET99sHe3Q=; b=iISz0neZPjvsQBoKdSgmZRyLp4y+IKdSvSQ3ShYl/DYQr8OYQJ0YI0hjgZNJ4T9M3U N1y87XHt0QfdSqY7mEFZKGfF44Iomt5iPq7H1CAMxLgNC4Mq8i0x99TAXU8tnAP28WHA XIeTUSVdHZ7PUYHGvnX3n+U3nmH1wIp5DdiQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XSIfJRwYytgUpVY8EcbM12spKinR7/0h7hQZBuiv6hLeHzLq+mhrkSSJh2pabWa8VP 79tzCXOtVkAdKSAvA4qY4cZfFKbBAUh538voVmapkeCpzvR/Zts8oNyWfV7N1cED/MPQ tM6SZXnZxJ8akzEe1rFvcnovAan9r540rJs6A= Received: by 10.142.44.11 with SMTP id r11mr1749387wfr.285.1222136832608; Mon, 22 Sep 2008 19:27:12 -0700 (PDT) Received: by 10.142.201.2 with HTTP; Mon, 22 Sep 2008 19:27:12 -0700 (PDT) Message-ID: Date: Mon, 22 Sep 2008 22:27:12 -0400 From: "Klapper Zhu" To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: QLA2432 Target Mode Broken 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, 23 Sep 2008 02:27:14 -0000 Hi Sean, I am very interested in how you got 23XX card working in target mode. 1) are you following exactly the instructions at http://www.root.org/~nate/freebsd/scsi/README.targ 2) did you see on initiator box on running "camcontrol devlist" ? I assume you used a freebsd box as initiator. 3) Are you using Freebsd "Production Release 7.0" and isp(4) included without any patch for both initiator and target boxes ? Thanks, --K. Zhu On Aug 29, 1:54 pm, Sean Bruno wrote: - Hide quoted text - - Show quoted text - > A 23XX card in it's place works just fine. > I believe, due to the architecture difference between the 4G/8G and 2G > cards that it just doesn't work right now. > The 4G/8G architecture does nothing in target mode except DMA the > incoming data. the 2G cards do some things > for the driver. > I was hoping that someone has some patches in their trees just lying > around that I could look over and test for > 4G target mode support. :) > -- > Sean Bruno > MiraLink Corporation > 6015 NE 80th Ave, Ste 100 > Portland, OR 97218 > Phone 503-621-5143 From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 23 02:29:05 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95DE1065677 for ; Tue, 23 Sep 2008 02:29:05 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 960E58FC18 for ; Tue, 23 Sep 2008 02:29:05 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id D0316890013; Mon, 22 Sep 2008 19:24:45 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYeB6T+IoZFf; Mon, 22 Sep 2008 19:24:45 -0700 (PDT) Received: from [10.47.1.6] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 601E3890001; Mon, 22 Sep 2008 19:24:45 -0700 (PDT) Message-ID: <48D85470.8030608@miralink.com> Date: Mon, 22 Sep 2008 19:29:04 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Klapper Zhu References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: QLA2432 Target Mode Broken 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, 23 Sep 2008 02:29:05 -0000 Klapper Zhu wrote: > Hi Sean, > > I am very interested in how you got 23XX card working in target mode. > > 1) are you following exactly the instructions at > http://www.root.org/~nate/freebsd/scsi/README.targ > 2) did you see on initiator box on running > "camcontrol devlist" ? I assume you used a freebsd box as initiator. > 3) Are you using Freebsd "Production Release 7.0" and isp(4) included > without any patch for both initiator and target boxes ? > > Thanks, > > --K. Zhu > I am not following those instructions at all. I have a proprietary target at my disposal. We are using FreeBSD 6 here, so perhaps going back to BSD 6 to see what you can get working there? Sean From owner-freebsd-scsi@FreeBSD.ORG Wed Sep 24 08:42:33 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D83ED1065672 for ; Wed, 24 Sep 2008 08:42:33 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (unknown [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 9828F8FC21 for ; Wed, 24 Sep 2008 08:42:33 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-24-161-50-5.hvc.res.rr.com [24.161.50.5]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.14.2/8.14.2) with ESMTP id m8O8gMtX003883 for ; Wed, 24 Sep 2008 04:42:33 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.14.3/8.14.3) with ESMTP id m8O8gHvi006779 for ; Wed, 24 Sep 2008 04:42:17 -0400 (EDT) (envelope-from tbohml@himinbjorg.tucs-beachin-obx-house.com) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.14.3/8.14.3/Submit) id m8O8gHEr006778 for freebsd-scsi@freebsd.org; Wed, 24 Sep 2008 04:42:17 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200809240842.m8O8gHEr006778@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-scsi@freebsd.org Date: Wed, 24 Sep 2008 04:42:17 -0400 (EDT) X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 192.168.3.21 Subject: Smartd, twe0 and HELP!! ;) 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, 24 Sep 2008 08:42:33 -0000 Hi, We lost primary and secondary power at our datacenter, and now we are having issues on a server... FreeBSD 5.5 (I'm sorry, its just one of those that can't be upgraded) Its running smartd 5.36 (Again, I can't upgrade software on here. Its scheduled for replacement, but the system replacing it took a hit and has locked up twice in 2 hours, so I'm pretty stuffed) The dmesg saw : Sep 24 01:34:05 erda kernel: twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xb800-0xb80f mem 0xfe000000-0xfe7fffff irq 24 at device 3.0 on pci3 Sep 24 01:34:05 erda kernel: twe0: AEN: Sep 24 01:34:05 erda kernel: twe0: 8 ports, Firmware FE7S 1.05.00.050, BIOS BE 7X 1.08.00.046 Sep 24 01:34:05 erda kernel: twed0: on twe0 Sep 24 01:34:05 erda kernel: twed0: 1430844MB (2930370048 sectors) Sep 24 01:34:05 erda kernel: Mounting root from ufs:/dev/twed0s1a Sep 24 01:34:05 erda kernel: kernel dumps on /dev/twed0s1b Sep 24 01:34:05 erda kernel: swapon: adding /dev/twed0s1b as swap device Sep 24 01:34:05 erda kernel: /dev/twed0s1a: 1915 files, 33896 used, 472591 free (423 frags, 59021 blocks, 0.1% fragmentation) Sep 24 01:34:05 erda kernel: /dev/twed0s1g: DEFER FOR BACKGROUND CHECKING Sep 24 01:34:05 erda kernel: /dev/twed0s1e: DEFER FOR BACKGROUND CHECKING Sep 24 01:34:05 erda kernel: /dev/twed0s1f: DEFER FOR BACKGROUND CHECKING Sep 24 01:34:05 erda kernel: /dev/twed0s1d: DEFER FOR BACKGROUND CHECKING Smartmon started as : Sep 24 01:35:27 erda kernel: Starting smartd. Sep 24 01:35:27 erda smartd[700]: smartd version 5.36 [i386-portbld-freebsd5.3] Copyright (C) 2002-6 Bruce Allen Sep 24 01:35:27 erda smartd[700]: Home page is http://smartmontools.sourceforge. net/ Sep 24 01:35:27 erda smartd[700]: Opened configuration file /usr/local/etc/smart d.conf Sep 24 01:35:27 erda smartd[700]: Drive: /dev/twe0 [3ware_disk_00], implied '-a' Directive on line 24 of file /usr/local/etc/smartd.conf Sep 24 01:35:27 erda smartd[700]: Configuration file /usr/local/etc/smartd.conf parsed. Sep 24 01:35:27 erda smartd[700]: Device: /dev/twe0 [3ware_disk_00], opened Sep 24 01:35:27 erda smartd[700]: Device: /dev/twe0 [3ware_disk_00], found in sm artd database. Sep 24 01:35:27 erda smartd[700]: Device: /dev/twe0 [3ware_disk_00], is SMART ca pable. Adding to "monitor" list. Sep 24 01:35:27 erda smartd[700]: Monitoring 1 ATA and 0 SCSI devices Sep 24 01:35:28 erda smartd[703]: smartd has fork()ed into background mode. New PID=703. Sep 24 01:35:28 erda smartd[703]: file /var/run/smartd.pid written containing PI D 703 but later on did : Sep 24 02:20:16 erda kernel: twe0: AEN: Sep 24 02:20:57 erda kernel: twe0: AEN: Sep 24 02:25:09 erda kernel: twe0: AEN: Sep 24 02:26:12 erda kernel: twe0: AEN: Sep 24 02:26:41 erda kernel: twe0: AEN: Sep 24 02:26:48 erda kernel: twe0: AEN: Sep 24 02:28:49 erda kernel: twe0: AEN: Sep 24 02:29:35 erda kernel: twe0: AEN: Sep 24 02:30:11 erda kernel: twe0: AEN: Sep 24 02:30:43 erda kernel: twe0: AEN: Sep 24 02:31:18 erda kernel: twe0: AEN: Sep 24 02:31:28 erda kernel: twe0: AEN: Sep 24 02:35:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 02:35:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], not capable of SMART self-check Sep 24 02:35:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 02:35:28 erda smartd[703]: Error SMART Values Read failed: Input/output e rror Sep 24 02:35:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], failed to r ead SMART Attribute Data Sep 24 02:35:28 erda kernel: Sep 24 02:35:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], failed to read SMART Attribute Data Sep 24 02:35:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 02:35:28 erda smartd[703]: Error SMART Error Self-Test Log Read failed: I nput/output error Sep 24 02:35:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], Read SMART Self Test Log Failed Sep 24 02:35:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 02:35:28 erda smartd[703]: Error SMART Error Log Read failed: Input/outpu t error Sep 24 02:35:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], Read SMARTError Log Failed and Sep 24 03:05:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 03:05:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], not capable of SMART self-check Sep 24 03:05:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 03:05:28 erda smartd[703]: Error SMART Values Read failed: Input/output e rror Sep 24 03:05:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], failed to r ead SMART Attribute Data Sep 24 03:05:28 erda kernel: Sep 24 03:05:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], failed to read SMART Attribute Data Sep 24 03:05:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 03:05:28 erda smartd[703]: Error SMART Error Self-Test Log Read failed: I nput/output error Sep 24 03:05:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], Read SMART Self Test Log Failed Sep 24 03:05:28 erda smartd[703]: Command failed, ata.status=(0xc8), ata.command =(0x50), ata.flags=(0x2c) Sep 24 03:05:28 erda smartd[703]: Error SMART Error Log Read failed: Input/outpu t error Sep 24 03:05:28 erda smartd[703]: Device: /dev/twe0 [3ware_disk_00], Read SMART Error Log Failed I contacted the smartd people, the author replied he's not sure whats wrong. SIGH.... I contacted the twe author and then realized maybe posting here is a good idea. Any ideas/thoughts/suggestions/etc for whats happening? Pointers? Thanks, Tuc From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 25 09:10:04 2008 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F7C1065690 for ; Thu, 25 Sep 2008 09:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8391F8FC1C for ; Thu, 25 Sep 2008 09:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8P9A40g047100 for ; Thu, 25 Sep 2008 09:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8P9A4MY047099; Thu, 25 Sep 2008 09:10:04 GMT (envelope-from gnats) Date: Thu, 25 Sep 2008 09:10:04 GMT Message-Id: <200809250910.m8P9A4MY047099@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: "Paul A. Procacci" Cc: Subject: Re: kern/126866: [isp] [panic] kernel panic on card initialization X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Paul A. Procacci" List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 09:10:04 -0000 The following reply was made to PR kern/126866; it has been noted by GNATS. From: "Paul A. Procacci" To: bug-followup@FreeBSD.org, westr@connection.ca Cc: Subject: Re: kern/126866: [isp] [panic] kernel panic on card initialization Date: Thu, 25 Sep 2008 03:56:10 -0500 Hello, I am having the same exact problem you were having using the same device. I started receiving this error on FBSD7-RELEASE and thought it was specific to that version. Naturally I upgraded to FBSD7-Stable as of today (9/25/2008), but still haven't been able to resolve this error, even with the patch presented here. Like you had mentioned on freebsd-scsi, the machine panic's roughly 50% of the time during boot. Here is my `trap` with the patch applied. Due note that this is typed by hand as the kvm I'm on doesn't allow for copy and paste: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x8 :0xffffffff80187350 stack pointer = 0x10 :ffffffffac499810 frame pointer = 0x10 : ffffff0003782320 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32, 0, ran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 5 (thread taskq) trap number = 12 panic: page fault cpuid = 0 Uptime 5s ---------------------------------------------------------------- I wish I had further information to give. The information I provided almost certainly pales in comparison to the submitters, but I believe it relevant given the symptoms / deice are identical. From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 25 13:51:20 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58B0F1065688 for ; Thu, 25 Sep 2008 13:51:20 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 2C4BF8FC31 for ; Thu, 25 Sep 2008 13:51:20 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so388536rvf.43 for ; Thu, 25 Sep 2008 06:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SZ1OXIsbxCJwsbNij4Bu9Qz4oCJh+3i8WN1JJ5fUN0o=; b=kLfoQ+z23wluGLKyhhH3lm3bZzuD/isYl3CUyZfTQ3JLn3XasyhAXn82g+s5YPOK56 9Ss9qcfKtzWG/4BWNtrxyTS4dz7rOOGpaqRkPKAOC2v+dO/hIm1OsgbkDdb40BHNteFS jV0RyAItXZ7Bj9aDAJ9VVoWx/IuGuaq45yClY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jFwbG5lUlX7hqpR3ksSqDSw6UYHRq5sQXT4UyahSNqJOZZgReSuH8Py9znfsg602u/ 9JvGR22Vy0YTha69/urxT824F2Zx6Y98dXRQGUK99N4Ct5x489aPM6lnAbWYAwp8C001 K/7DJXjTYFvTfoBrCo4TNzeiZb+R4HlljnZrs= Received: by 10.141.35.21 with SMTP id n21mr4127044rvj.115.1222350679720; Thu, 25 Sep 2008 06:51:19 -0700 (PDT) Received: by 10.141.136.21 with HTTP; Thu, 25 Sep 2008 06:51:19 -0700 (PDT) Message-ID: <3c0b01820809250651p6053d597i9b315909e8e65000@mail.gmail.com> Date: Thu, 25 Sep 2008 09:51:19 -0400 From: "Alexander Sack" To: "Paul A. Procacci" In-Reply-To: <200809250910.m8P9A4MY047099@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809250910.m8P9A4MY047099@freefall.freebsd.org> Cc: freebsd-scsi@freebsd.org Subject: Re: kern/126866: [isp] [panic] kernel panic on card initialization 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, 25 Sep 2008 13:51:20 -0000 On Thu, Sep 25, 2008 at 5:10 AM, Paul A. Procacci wrote: > The following reply was made to PR kern/126866; it has been noted by GNATS. > > From: "Paul A. Procacci" > To: bug-followup@FreeBSD.org, westr@connection.ca > Cc: > Subject: Re: kern/126866: [isp] [panic] kernel panic on card initialization > Date: Thu, 25 Sep 2008 03:56:10 -0500 > > Hello, > > I am having the same exact problem you were having using the same > device. I started receiving this error on FBSD7-RELEASE and thought it > was specific to that version. Naturally I upgraded to FBSD7-Stable as > of today (9/25/2008), but still haven't been able to resolve this error, > even with the patch presented here. Like you had mentioned on > freebsd-scsi, the machine panic's roughly 50% of the time during boot. > > Here is my `trap` with the patch applied. Due note that this is typed > by hand as the kvm I'm on doesn't allow for copy and paste: Patch is almost done, I'm actively working on it now (should be good for 6.x and 7.x trees minimally). The issue I'm facing is that though this is fixed, when you don't load the firmware at all you get the "f/w doesn't really start message!" Uggh, there is also some minor bugs regarding the reset signature that will be in this patch as well. -aps From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 25 15:32:15 2008 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F19F6106569A for ; Thu, 25 Sep 2008 15:32:15 +0000 (UTC) (envelope-from westr@connection.ca) Received: from nc-tor-mail2.connection.ca (nc-tor-mail2.connection.ca [205.207.122.27]) by mx1.freebsd.org (Postfix) with ESMTP id D001C8FC2D for ; Thu, 25 Sep 2008 15:32:15 +0000 (UTC) (envelope-from westr@connection.ca) Received: from localhost (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail2.connection.ca (Postfix) with ESMTP id 1B29574E5DF for ; Thu, 25 Sep 2008 11:32:15 -0400 (EDT) Date: Thu, 25 Sep 2008 11:32:14 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <835218108.20080925113214@connection.ca> To: freebsd-scsi@FreeBSD.org In-Reply-To: <200809250910.m8P9A4MY047099@freefall.freebsd.org> References: <200809250910.m8P9A4MY047099@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re[2]: kern/126866: [isp] [panic] kernel panic on card initialization X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ross List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 15:32:16 -0000 PAP> I am having the same exact problem you were having using the same PAP> device. I started receiving this error on FBSD7-RELEASE and thought it PAP> was specific to that version. Naturally I upgraded to FBSD7-Stable as PAP> of today (9/25/2008), but still haven't been able to resolve this error, PAP> even with the patch presented here. Like you had mentioned on PAP> freebsd-scsi, the machine panic's roughly 50% of the time during boot. Actually, going over the trap output, it looks different than the output I had, so it might be a different issue in the end. Which kernel are you running? (i386/amd64), and is it possible to get the output of a dmesg, so we know what chipset the driver thinks it is? (Are you running an HP Blade w QHM6432 like I am?) Also, if you can set 'hint.isp.[01].debug=0x11F' in your /boot/device.hints file, it'll hopefully give some additional output to help track the problem down. Obviously the best is to compile in the kernel debugger as that'll give the exact place it crashes. Thanks, Ross. -- Ross West Tel: +1 416 967 6767 Network Manager Fax: +1 416 967 7777 Network Connection Email: westr@connection.ca From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 25 17:51:24 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F418106568C for ; Thu, 25 Sep 2008 17:51:24 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 50B3C8FC1C for ; Thu, 25 Sep 2008 17:51:24 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so468377rvf.43 for ; Thu, 25 Sep 2008 10:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Q8AWDrFH1t3lGH21KeqeqO9udCPV+EU7nmQ1y1rdsnI=; b=XsJLP2fFEsLmxh6T8Daor16r6++mMUtABF/aEwDJV576oSNk77AR/9i1PWQgtR/AvY Uaw1ANtHVcD9j44YCk2XP/UD9EsSTqdln9nI379rhFIqwYhFcbqbrz4nuSXgWR6rSCe6 0gNlgc4wfLhsQDcqsN+gI0OBMFBxhSbObTmts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=i67DiUXi5Ia1H7oNIgpaNgxdHUq/wF1gk9zhZrhaAiTJ4WIrVae5SmBOijHSHHIXCU t0zdQIRO4vAocCTCVw+mESDBzO0wVGXcU1MZ3JUnrovL41Ekp6qEEHcXMkDHs1hVTLx7 RbK6rVotOU+Ba/p6F+rHkeyouFD1bsj4reEfw= Received: by 10.141.170.10 with SMTP id x10mr19871rvo.221.1222365083753; Thu, 25 Sep 2008 10:51:23 -0700 (PDT) Received: by 10.141.136.21 with HTTP; Thu, 25 Sep 2008 10:51:23 -0700 (PDT) Message-ID: <3c0b01820809251051q34a33fa5od5ec9fe9d853612@mail.gmail.com> Date: Thu, 25 Sep 2008 13:51:23 -0400 From: "Alexander Sack" To: Ross In-Reply-To: <835218108.20080925113214@connection.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809250910.m8P9A4MY047099@freefall.freebsd.org> <835218108.20080925113214@connection.ca> Cc: freebsd-scsi@freebsd.org Subject: Re: Re[2]: kern/126866: [isp] [panic] kernel panic on card initialization 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, 25 Sep 2008 17:51:24 -0000 On Thu, Sep 25, 2008 at 11:32 AM, Ross wrote: > > PAP> I am having the same exact problem you were having using the same > PAP> device. I started receiving this error on FBSD7-RELEASE and thought it > PAP> was specific to that version. Naturally I upgraded to FBSD7-Stable as > PAP> of today (9/25/2008), but still haven't been able to resolve this error, > PAP> even with the patch presented here. Like you had mentioned on > PAP> freebsd-scsi, the machine panic's roughly 50% of the time during boot. > > Actually, going over the trap output, it looks different than the > output I had, so it might be a different issue in the end. > > Which kernel are you running? (i386/amd64), and is it possible to get > the output of a dmesg, so we know what chipset the driver thinks it is? > (Are you running an HP Blade w QHM6432 like I am?) > > Also, if you can set 'hint.isp.[01].debug=0x11F' in your > /boot/device.hints file, it'll hopefully give some additional output > to help track the problem down. > > Obviously the best is to compile in the kernel debugger as that'll > give the exact place it crashes. Yea totally. If you can get a stack trace that would be great (just compile in the debugger support, reboot, and when you hit the panic do a trace and just give us the function output (again exact addresses not so much)). -aps From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 25 23:46:47 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 036C91065696 for ; Thu, 25 Sep 2008 23:46:47 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: from mail.mastercabo.com.br (mail.mastercabo.com.br [200.179.179.14]) by mx1.freebsd.org (Postfix) with SMTP id 187798FC14 for ; Thu, 25 Sep 2008 23:46:45 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 53454 invoked by uid 1008); 25 Sep 2008 23:20:05 -0000 Received: from unknown (HELO ?192.168.10.74?) (200.209.221.29) by mail.mastercabo.com.br with SMTP; 25 Sep 2008 23:20:05 -0000 Message-ID: <48DC1CA3.5030609@dgnetwork.com.br> Date: Thu, 25 Sep 2008 20:20:03 -0300 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD and ISCSI, Strange Problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 23:46:47 -0000 I'm with a very strange problem in the FreeBSD 7.0R I use the iscsi_initiator to mount two devices of a Dell MD3000i, the file system is UFS. The problem occurs when I make a copy of a great directory for inside of the /data/email directory, passed some minutes of beginning of copy, the SSH connection stops to answer, when trying to open a new connection " Password: " it isn't requested, in the console, when typing the user "root" e to press enter, " Password: " also it isn't requested. The only way to come back is restarting the FreeBSD. When press CTRL+T during the freeze it is shown: # ssh root@10.0.20.10 load: 0.76 cmd: ssh 86930 [sbwait] 0.00u 0.01s 0% 2076k In another freeze it showed state [ufs] During freeze, send and receive pings work fine, but no service runing work. I already verified for some related LOG, however not see nothing related. MOUNT: /dev/da0s1g on /home (ufs, local, soft-updates) /dev/da0s1f on /tmp (ufs, local, soft-updates) /dev/da0s1d on /usr (ufs, local, soft-updates) /dev/da0s1e on /var (ufs, NFS exported, local, soft-updates) /dev/da2s1d on /data/db (ufs, NFS exported, local, soft-updates) /dev/da3s1d on /data/email (ufs, NFS exported, local, soft-updates) DMESG: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Mon Sep 15 20:00:35 BRT 2008 root@srvdata1:/usr/src/sys/i386/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (2329.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0xce3bd> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405615104 (3247 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Sep 15 2008 20:00:23) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est2 attach returned 6 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 720072006000720 device_attach: est3 attach returned 6 p4tcc3: on cpu3 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci4: on pcib1 pcib2: at device 0.0 on pci4 pci5: on pcib2 pcib3: at device 0.0 on pci5 pci6: on pcib3 pcib4: at device 0.0 on pci6 pci7: on pcib4 bce0: mem 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci7 miibus0: on bce0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce0: Ethernet address: 00:1e:c9:b4:e5:2b bce0: [ITHREAD] bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04000305); Flags( MFW MSI ) pcib5: at device 1.0 on pci5 pci8: on pcib5 pcib6: at device 0.3 on pci4 pci9: on pcib6 pcib7: at device 3.0 on pci0 pci1: on pcib7 mpt0: port 0xec00-0xecff mem 0xfc8fc000-0xfc8fffff,0xfc8e0000-0xfc8effff irq 16 at device 0.0 on pci1 mpt0: [ITHREAD] mpt0: MPI Version=1.5.14.0 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x12 mpt0: mpt_cam_event: 0x12 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x16 mpt0: mpt_cam_event: 0x21 mpt0: mpt_cam_event: 0x21 pcib8: at device 4.0 on pci0 pci10: on pcib8 em0: port 0xdce0-0xdcff mem 0xfc5e0000-0xfc5fffff,0xfc5c0000-0xfc5dffff irq 16 at device 0.0 on pci10 em0: Using MSI interrupt em0: Ethernet address: 00:15:17:8b:23:12 em0: [FILTER] pcib9: at device 5.0 on pci0 pci11: on pcib9 pcib10: at device 6.0 on pci0 pci12: on pcib10 em1: port 0xcce0-0xccff mem 0xfc3e0000-0xfc3fffff,0xfc3c0000-0xfc3dffff irq 16 at device 0.0 on pci12 em1: Using MSI interrupt em1: Ethernet address: 00:15:17:8b:4f:92 em1: [FILTER] pcib11: at device 7.0 on pci0 pci13: on pcib11 pci0: at device 8.0 (no driver attached) pcib12: at device 28.0 on pci0 pci2: on pcib12 pcib13: at device 0.0 on pci2 pci3: on pcib13 bce1: mem 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci3 miibus1: on bce1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce1: Ethernet address: 00:1e:c9:b4:e5:29 bce1: [ITHREAD] bce1: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x04000305); Flags( MFW MSI ) uhci0: port 0xace0-0xacff irq 21 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xacc0-0xacdf irq 20 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xaca0-0xacbf irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xac80-0xac9f irq 20 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfca00000-0xfca003ff irq 21 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered uhub5: on uhub4 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered ukbd0: on uhub5 kbd2 at ukbd0 uhid0: on uhub5 umass0: on uhub4 pcib14: at device 30.0 on pci0 pci14: on pcib14 vgapci0: port 0xbc00-0xbcff mem 0xd8000000-0xdfffffff,0xfc2d0000-0xfc2dffff irq 19 at device 13.0 on pci14 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc8fff,0xcf000-0xcffff,0xec000-0xeffff pnpid ORM0000 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: CDRW at ata0-master UDMA33 ses0 at mpt0 bus 0 target 8 lun 0 ses0: Fixed Enclosure Services SCSI-5 device ses0: 300.000MB/s transfers ses0: SCSI-3 SES Device da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-5 device da0: 300.000MB/s transfers da0: Command Queueing Enabled da0: 237464MB (486326272 512 byte sectors: 255H 63S/T 30272C) da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 40.000MB/s transfers da1: 959MB (1964032 512 byte sectors: 64H 32S/T 959C) SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! GEOM_LABEL: Label for provider da1s4 is msdosfs/Hypervisor0. GEOM_LABEL: Label for provider da1s5 is msdosfs/Hypervisor1. GEOM_LABEL: Label for provider da1s6 is msdosfs/Hypervisor2. GEOM_LABEL: Label for provider da1s8 is msdosfs/Hypervisor3. Trying to mount root from ufs:/dev/da0s1a bce0: link state changed to UP em0: link state changed to UP lagg0: link state changed to UP em1: link state changed to UP em1: link state changed to DOWN em1: link state changed to UP ic_init: cam subsystem initialized 0] i_create_session: sessionID=0 0] i_create_session: error=0 0] i_setopt: maxRecvDataSegmentLength=65535 0] i_setopt: maXmitDataSegmentLength=8192 0] i_setopt: maxBurstLength=131072 0] i_setopt: maxRecvDataSegmentLength=65535 0] i_setopt: maXmitDataSegmentLength=65024 0] i_setopt: maxBurstLength=131072 0] i_setopt: opt.headerDigest='None' 0] ism_fullfeature: flag=1 0] _scan_target: target=0 da2 at iscsi0 bus 0 target 0 lun 0 da2: Fixed Direct Access SCSI-5 device da3 at iscsi0 bus 0 target 0 lun 1 da3: Fixed Direct Access SCSI-5 device Somebody can help me ? Thanks. Daniel From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 26 06:21:34 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDB81065686 for ; Fri, 26 Sep 2008 06:21:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id A615B8FC17 for ; Fri, 26 Sep 2008 06:21:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Kj6ho-000F3b-6q; Fri, 26 Sep 2008 09:21:32 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: daniel@dgnetwork.com.br In-reply-to: <48DC1C97.6010701@dgnetwork.com.br> References: <48DC1C97.6010701@dgnetwork.com.br> Comments: In-reply-to =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= message dated "Thu, 25 Sep 2008 20:19:51 -0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Sep 2008 09:21:32 +0300 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: FreeBSD and ISCSI, Strange Problem 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, 26 Sep 2008 06:21:35 -0000 > I'm with a very strange problem in the FreeBSD 7.0R > I use the iscsi_initiator to mount two devices of a Dell MD3000i, the > file system is UFS. > The problem occurs when I make a copy of a great directory for inside of > the /data/email directory, passed some minutes of beginning of copy, the > SSH connection stops to answer, when trying to open a new connection " > Password: " it isn't requested, in the console, when typing the user > "root" e to press enter, " Password: " also it isn't requested. The only > way to come back is restarting the FreeBSD. > > When press CTRL+T during the freeze it is shown: > # ssh root@10.0.20.10 > load: 0.76 cmd: ssh 86930 [sbwait] 0.00u 0.01s 0% 2076k > > In another freeze it showed state [ufs] > During freeze, send and receive pings work fine, but no service runing work. > > I already verified for some related LOG, however not see nothing related. hi Daniel, the problem is probably that iscsi is deadlocked, so fetch ftp://ftp/users/danny/freebsd/iscsi-2.1.tar.gz cd /usr/src tar xpzf /path-to-tar-file/iscsi-2.1.tar.gz (cd sys/modules/iscsi/initiator; make; make install) (cd sbin/iscontrol;make; make install) probably the safest is now to reboot. Let me know what happens. obrigado (thanks?), danny From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 26 13:12:36 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77C75106568D for ; Fri, 26 Sep 2008 13:12:36 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: from mail.mastercabo.com.br (mail.mastercabo.com.br [200.179.179.14]) by mx1.freebsd.org (Postfix) with SMTP id A6F9F8FC1B for ; Fri, 26 Sep 2008 13:12:35 +0000 (UTC) (envelope-from daniel@dgnetwork.com.br) Received: (qmail 41669 invoked by uid 1008); 26 Sep 2008 13:12:34 -0000 Received: from unknown (HELO ?192.168.10.74?) (201.39.221.3) by mail.mastercabo.com.br with SMTP; 26 Sep 2008 13:12:34 -0000 Message-ID: <48DCD95D.9020400@dgnetwork.com.br> Date: Fri, 26 Sep 2008 09:45:17 -0300 From: =?ISO-8859-1?Q?Daniel_Dias_Gon=E7alves?= User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Danny Braniss References: <48DC1C97.6010701@dgnetwork.com.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: FreeBSD and ISCSI, Strange Problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: daniel@dgnetwork.com.br List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 13:12:36 -0000 Danny Braniss escreveu: >> I'm with a very strange problem in the FreeBSD 7.0R >> I use the iscsi_initiator to mount two devices of a Dell MD3000i, the >> file system is UFS. >> The problem occurs when I make a copy of a great directory for inside of >> the /data/email directory, passed some minutes of beginning of copy, the >> SSH connection stops to answer, when trying to open a new connection " >> Password: " it isn't requested, in the console, when typing the user >> "root" e to press enter, " Password: " also it isn't requested. The only >> way to come back is restarting the FreeBSD. >> >> When press CTRL+T during the freeze it is shown: >> # ssh root@10.0.20.10 >> load: 0.76 cmd: ssh 86930 [sbwait] 0.00u 0.01s 0% 2076k >> >> In another freeze it showed state [ufs] >> During freeze, send and receive pings work fine, but no service runing work. >> >> I already verified for some related LOG, however not see nothing related. >> > > hi Daniel, > the problem is probably that iscsi is deadlocked, so fetch > ftp://ftp/users/danny/freebsd/iscsi-2.1.tar.gz > cd /usr/src > tar xpzf /path-to-tar-file/iscsi-2.1.tar.gz > (cd sys/modules/iscsi/initiator; make; make install) > (cd sbin/iscontrol;make; make install) > probably the safest is now to reboot. > > Let me know what happens. > > obrigado (thanks?), > danny > > > > > Danny, You typed the ftp wrong. Obrigado, thanks !! =) Daniel From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 26 13:50:56 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7DD3106568B for ; Fri, 26 Sep 2008 13:50:56 +0000 (UTC) (envelope-from westr@connection.ca) Received: from nc-tor-mail2.connection.ca (nc-tor-mail2.connection.ca [205.207.122.27]) by mx1.freebsd.org (Postfix) with ESMTP id B78758FC15 for ; Fri, 26 Sep 2008 13:50:56 +0000 (UTC) (envelope-from westr@connection.ca) Received: from localhost (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail2.connection.ca (Postfix) with ESMTP id 0DC9274E596 for ; Fri, 26 Sep 2008 09:50:56 -0400 (EDT) Date: Fri, 26 Sep 2008 09:50:55 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <349105225.20080926095055@connection.ca> To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: dmesg output overlapping for multi isp(x) driver X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ross List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 13:50:56 -0000 (Running a 2 port qlogic/isp card on Freebsd 7.0/i386) Got a bunch of lines of kernel event logs from the isp driver that are overlapping due to a simultaneous event that both cards see (eg: fc fabric update) So I get output like this: -= start isp0: Name Server Database Changed isp0: PortID 0x020200 handle 0x1 role Initiator stayed WWNN 0x5001438001fff1dd WWPN 0x5001438001fff1dc isp0: PortID 0x020300 handle 0x2 role Initiator stayed i s p 1 : WNWaNmNe 0Sxer5v0e0r1 4D3a8t0a0b2a2s1e1 aC1hda nWgWePdN 0x5001438002211a1c isp0: PortID 0x020d00 handle 0x3 role Initiator stayed i s p 1 : PWoWrNtNI D0 x05x0001340328000 0h1afnfdfl2e2 d0 xW1W PrNo l0ex 50I0n1i4t3i8a0to0r1 fsftfa2y2ecd i s p 0 : PWoWrNtNI D0 x0x50002104e30800 h0a1nfdflfe1 d0fx 4W WrPoNl 0ex I5n00i1t4i3a8t0or0 1sftfafy1edde i s p 1 : PWoWrNtNI D0 x05x0001340338000 0h2a2n1d1l0ec 50 xW2W PrNo l0ex 5I0n0i1t4i3a8t0o0r2 2s1t1a0yce4d -= end (every other character is for isp0 then isp1) I've looked into how the driver does it's logging, and it's the same as many other drivers, so I don't see anything weird. Anyone have any ideas? Or is this more of a true kernel issue for not buffering the output properly? Cheers, Ross. -- From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 26 14:38:00 2008 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 728E2106568F; Fri, 26 Sep 2008 14:38:00 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2CD268FC13; Fri, 26 Sep 2008 14:37:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1KjESE-000Kdx-QS; Fri, 26 Sep 2008 17:37:58 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: daniel@dgnetwork.com.br In-reply-to: Your message of Fri, 26 Sep 2008 09:45:17 -0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Sep 2008 17:37:58 +0300 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: FreeBSD and ISCSI, Strange Problem 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, 26 Sep 2008 14:38:00 -0000 > the problem is probably that iscsi is deadlocked, so fetch > ftp://ftp/users/danny/freebsd/iscsi-2.1.tar.gzs;/ftp/;/&.cs.huji.ac.il; > > ftp://ftp.cs.huji.ac.il/users/danny/freebsd/iscsi-2.1.tar.gz > Danny, > > You typed the ftp wrong. > > hi Daniel, oh well, it was before coffee :-) > Obrigado, thanks !! =) > > Daniel > >