From owner-freebsd-scsi@FreeBSD.ORG Mon Aug 11 11:07:04 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 783F3106566B for ; Mon, 11 Aug 2008 11:07:04 +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 49AD78FC1C for ; Mon, 11 Aug 2008 11:07:04 +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 m7BB74Vu047323 for ; Mon, 11 Aug 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7BB73HO047319 for freebsd-scsi@FreeBSD.org; Mon, 11 Aug 2008 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Aug 2008 11:07:03 GMT Message-Id: <200808111107.m7BB73HO047319@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, 11 Aug 2008 11:07:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/40895 scsi wierd kernel / device driver bug o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/60598 scsi wire down of scsi devices conflicts with config o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/120487 scsi [sg] scsi_sg incompatible with scanners o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o kern/123674 scsi [ahc] ahc driver dumping 10 problems total. From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 14 15:25:16 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 013E21065670 for ; Thu, 14 Aug 2008 15:25:16 +0000 (UTC) (envelope-from Carole.Macheret@ch.meggitt.com) Received: from gw.vibro-meter.com (gw.vibro-meter.com [62.2.232.101]) by mx1.freebsd.org (Postfix) with ESMTP id D050B8FC18 for ; Thu, 14 Aug 2008 15:25:14 +0000 (UTC) (envelope-from Carole.Macheret@ch.meggitt.com) Received: from Vm-Fribourg-MTA by gw.vibro-meter.com with Novell_GroupWise; Thu, 14 Aug 2008 17:05:01 +0200 Message-Id: <48A46586.1F16.0013.0@ch.meggitt.com> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Thu, 14 Aug 2008 17:04:49 +0200 From: "Carole Macheret" To: References: <4874F53A0200001300130DE3@gw.vibro-meter.com> <48A465B10200001300132295@gw.vibro-meter.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part4C65AD81.0__=" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roland Rothen Subject: g_vfs_done 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, 14 Aug 2008 15:25:16 -0000 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part4C65AD81.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, We are using FreeBSD 7.0-RELEASE #1 running Squid and Zabbix on vmware ESX = 3.0.2 and our vmware ESX servers access our SAN through IpStor cluster = (Storage virtualization and mirroring).=20 We have 2 storages (EVA 6100) and the IpStor solution allows us to mirror = disks on both EVAs. We have a problem with both the Zabbix and Squid FreeBSD virtual machines, = when the virtual machine is loosing its disks (EVA controller reboot or = ipstor cluster failover), we have several "g_vfs_done() : da1s1d[WRITE(offs= et=3D2312431234, length=3D12453)] error=3D 5" errors then the host is = definitively frozen. The disk loss lasts 1-5 seconds. Windows virtual = machines do freeze during the loss then continue working. On Windows we = had to specify a longer timeout for local disk in registry. Does anybody has an idea what could be tuned to avoid this problem ? Attached you can find the dmesg and a screenshot of the g_vfs_done = error... Thanks in advance for your help Best regards Carole Carole Macheret System and Network Administrator Vibro-Meter SA Switzerland Phone: +41264071591 Email : Carole.Macheret@ch.meggitt.com This e-mail may contain confidential information and/or copyright = material. This e-mail is intended for the use of the addressee only. Any = unauthorized use may be unlawful. If you receive this e-mail by mistake, = please advise the sender immediately by using the reply facility in your = e-mail software. Information contained in and/or attached to this document = may be subject to Export Control Regulations of the European Community, = USA or other countries. Each recipient of this document is responsible to = ensure that usage and/or transfer of any information contained in this = document complies with all relevant Export Control regulations. If you = are in any doubt about the Export Control restrictions that apply to this = information, please contact the sender immediately.=20 You should be aware that the contents of this e-mail may be monitored to = ensure compliance with the Meggitt IT User policy. --=__Part4C65AD81.0__= Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" 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 #1: Wed Mar 26 12:28:11 CET 2008 roland@squidproxy.vm.lan:/usr/obj/usr/src/sys/SQUID Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2600.07-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x40f13 Stepping =3D 3 Features=3D0x78bfbff Features2=3D0x2001 AMD Features=3D0xea500800= AMD Features2=3D0x1 real memory =3D 1073741824 (1024 MB) avail memory =3D 1037078528 (989 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Mar 26 2008 12:27:54) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177= ,0x376,0x1050-0x105f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 7.3 (no driver attached) vgapci0: port 0x1060-0x106f mem 0xf8000000-0xfbfff= fff,0xf4000000-0xf47fffff at device 15.0 on pci0 mpt0: port 0x1080-0x10ff mem 0xf4860000-0xf4= 860fff irq 9 at device 16.0 on pci0 mpt0: [ITHREAD] mpt0: MPI Version=3D1.2.0.0 em0: port 0x1070-0x1= 077 mem 0xf4820000-0xf483ffff,0xf4800000-0xf480ffff irq 11 at device 17.0 = on pci0 em0: Memory Access and/or Bus Master bits were not set! em0: Ethernet address: 00:50:56:81:20:59 em0: [FILTER] em1: port 0x1078-0x1= 07f mem 0xf4840000-0xf485ffff,0xf4810000-0xf481ffff irq 10 at device 18.0 = on pci0 em1: Memory Access and/or Bus Master bits were not set! em1: Ethernet address: 00:50:56:81:38:ac em1: [FILTER] acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 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: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xca000-0xcafff,0xcb000-0x= cbfff,0xdc000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2600070771 Hz quality 800 Timecounters tick every 10.000 msec hptrr: no controller detected. Waiting 5 seconds for SCSI devices to settle acd0: CDROM at ata0-master = UDMA33 da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device=20 da0: 3.300MB/s transfers da0: Command Queueing Enabled da0: 5632MB (11534336 512 byte sectors: 255H 63S/T 717C) da1 at mpt0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device=20 da1: 3.300MB/s transfers da1: Command Queueing Enabled da1: 20480MB (41943040 512 byte sectors: 255H 63S/T 2610C) Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted /var: optimization changed from SPACE to TIME --=__Part4C65AD81.0__=-- From owner-freebsd-scsi@FreeBSD.ORG Thu Aug 14 17:09:27 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 100B01065694 for ; Thu, 14 Aug 2008 17:09:27 +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 997B38FC15 for ; Thu, 14 Aug 2008 17:09:26 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m7EH7uqI053770; Thu, 14 Aug 2008 11:07:56 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48A4666C.6080008@samsco.org> Date: Thu, 14 Aug 2008 11:07:56 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Carole Macheret References: <4874F53A0200001300130DE3@gw.vibro-meter.com> <48A465B10200001300132295@gw.vibro-meter.com> <48A46586.1F16.0013.0@ch.meggitt.com> In-Reply-To: <48A46586.1F16.0013.0@ch.meggitt.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, Roland Rothen Subject: Re: g_vfs_done 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, 14 Aug 2008 17:09:27 -0000 Carole Macheret wrote: > Hello, > > We are using FreeBSD 7.0-RELEASE #1 running Squid and Zabbix on vmware ESX 3.0.2 and our vmware ESX servers access our SAN through IpStor cluster (Storage virtualization and mirroring). > > We have 2 storages (EVA 6100) and the IpStor solution allows us to mirror disks on both EVAs. > > We have a problem with both the Zabbix and Squid FreeBSD virtual machines, when the virtual machine is loosing its disks (EVA controller reboot or ipstor cluster failover), we have several "g_vfs_done() : da1s1d[WRITE(offset=2312431234, length=12453)] error= 5" errors then the host is definitively frozen. The disk loss lasts 1-5 seconds. Windows virtual machines do freeze during the loss then continue working. On Windows we had to specify a longer timeout for local disk in registry. > > Does anybody has an idea what could be tuned to avoid this problem ? > > Attached you can find the dmesg and a screenshot of the g_vfs_done error... > > Thanks in advance for your help > So the virtual disks that the FreeBSD images are using in VMWare are on an IpStor, and those periodically go away, yes? What's probably happening is that the VMWare host is triggering an event in the FreeBSD client VM that essentially is making the virtual disks go away. Inside the FreeBSD VM, the SCSI layer tries to talk to the disk and gets a selection timeout since the disk is no longer there. It doesn't know that this is a temporary state, and it declares the I/O as failed. At that point, the BSD VM gets upset and everything gets bad. There is a property called kern.cam.da.default_timeout. It's set to 60 seconds, but I don't think that it will help you in this case, since it's likely that the i/o is failing because of a selection timeout, not because the virtual disk is slow in completing the i/o. The kern.cam.da.retry_count property is set to 5, and changing it might help since it might be able to force enough retries to give time for the virtual disk to come back. Try the following command on a running system: sysctl kern.cam.da.retry_count=100 This will allow for about 25 seconds worth of retries (a selection attempt takes 250ms, so you'll get about 4 retries per second). If this doesn't work, try configuring VMWare to give you a serial console that you can capture on the host, then set bootverbose during boot and send me the log once the problem happens. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 15 16:30:19 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 981AB1065672 for ; Fri, 15 Aug 2008 16:30:19 +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 69C508FC50 for ; Fri, 15 Aug 2008 16:30:19 +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 1F99E74E667 for ; Fri, 15 Aug 2008 12:30:17 -0400 (EDT) Date: Fri, 15 Aug 2008 12:30:14 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <1051060505.20080815123014@connection.ca> To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: isp(4) - setting debug mode flags 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, 15 Aug 2008 16:30:19 -0000 Has anyone successfully set the debug mode flags in the isp(4) drivers on boot for Freebsd 7.0? The man page states that setting "hint.isp.0.debug" should do the trick, but setting it to any value doesn't cause anything to happen. Checking the code shows isp_pci.c is doing a getenv_int("isp_debug", &bitmap), which looks like setting that kernel variable should do it, but still no go. So I'm wondering if anyone else got it working in the past, and if so, what did you set for maximum debugging? (Reason is that I'm trying to track down a bug that causes the kernel to crash occasionally on boot, in a boot-from-san configuration.) Cheers, Ross. -- From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 15 18:43:46 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 64FAD106566B for ; Fri, 15 Aug 2008 18:43:46 +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 16EF08FC17 for ; Fri, 15 Aug 2008 18:43:45 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local (pooker.samsco.org [168.103.85.57]) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m7FIhSEg071295; Fri, 15 Aug 2008 12:43:29 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48A5CE50.4050404@samsco.org> Date: Fri, 15 Aug 2008 12:43:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Ross References: <1051060505.20080815123014@connection.ca> In-Reply-To: <1051060505.20080815123014@connection.ca> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org Subject: Re: isp(4) - setting debug mode flags 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, 15 Aug 2008 18:43:46 -0000 Ross wrote: > Has anyone successfully set the debug mode flags in the isp(4) drivers > on boot for Freebsd 7.0? > > The man page states that setting "hint.isp.0.debug" should do the > trick, but setting it to any value doesn't cause anything to happen. > > Checking the code shows isp_pci.c is doing a getenv_int("isp_debug", > &bitmap), which looks like setting that kernel variable should do it, > but still no go. > > So I'm wondering if anyone else got it working in the past, and if so, > what did you set for maximum debugging? > > (Reason is that I'm trying to track down a bug that causes the kernel > to crash occasionally on boot, in a boot-from-san configuration.) > > Cheers, > Ross. > First thing to check is whether what you're setting is actually making it into the kernel environment and is what you expect it to be. Run 'kenv' on a running system and look for the hint.isp.0.debug string. Second, it looks like ISP_LOGDEBUG1 is the only flag that has any special meaning, make sure you set that as well as ISP_LOGWARN and ISP_LOGERR (the default flags). Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Aug 15 18:53:41 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 B49FC1065672 for ; Fri, 15 Aug 2008 18:53:41 +0000 (UTC) (envelope-from westr@connection.ca) Received: from nc-tor-mail1.connection.ca (nc-tor-mail1.connection.ca [205.207.122.26]) by mx1.freebsd.org (Postfix) with ESMTP id 90D338FC27 for ; Fri, 15 Aug 2008 18:53:41 +0000 (UTC) (envelope-from westr@connection.ca) Received: from localhost (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail1.connection.ca (Postfix) with ESMTP id C204944B43E for ; Fri, 15 Aug 2008 14:53:40 -0400 (EDT) Date: Fri, 15 Aug 2008 14:53:39 -0400 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <1911451167.20080815145339@connection.ca> To: freebsd-scsi@freebsd.org In-Reply-To: <48A5CE50.4050404@samsco.org> References: <1051060505.20080815123014@connection.ca> <48A5CE50.4050404@samsco.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re[2]: isp(4) - setting debug mode flags 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, 15 Aug 2008 18:53:41 -0000 SL> First thing to check is whether what you're setting is actually making SL> it into the kernel environment and is what you expect it to be. Run SL> 'kenv' on a running system and look for the hint.isp.0.debug string. SL> Second, it looks like ISP_LOGDEBUG1 is the only flag that has any SL> special meaning, make sure you set that as well as ISP_LOGWARN and SL> ISP_LOGERR (the default flags). Yes, it's getting there (kenv is correctly displaying it). I'm currently attempting to use OxFFF as the value so that everything gets activated, but still nothing. Of course, knowing my luck, it's probably being activated, just nothing is being displayed. :-) Cheers, Ross. --