From owner-freebsd-scsi@FreeBSD.ORG Thu Jul 31 07:14:36 2003 Return-Path: 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 E8A3D37B401; Thu, 31 Jul 2003 07:14:36 -0700 (PDT) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0015843FB1; Thu, 31 Jul 2003 07:14:34 -0700 (PDT) (envelope-from andre.albsmeier@siemens.com) Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.11.7/8.11.7) with ESMTP id h6VEETb16952; Thu, 31 Jul 2003 16:14:29 +0200 (MEST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail3.siemens.de (8.11.7/8.11.7) with ESMTP id h6VEETG26941; Thu, 31 Jul 2003 16:14:29 +0200 (MEST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) 1.46 2003/05/28 09:28:32 ust Exp $) with ESMTP id h6VEESDW023731; Thu, 31 Jul 2003 16:14:29 +0200 (CEST) Received: (from localhost) by curry.mchp.siemens.de (8.12.9/8.12.9) id h6VEES0W071094; Date: Thu, 31 Jul 2003 16:14:27 +0200 From: Andre Albsmeier To: "Marc G. Fournier" Message-ID: <20030731141427.GC9802@curry.mchp.siemens.de> References: <20030729134931.Q5355@hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030729134931.Q5355@hub.org> X-Echelon: 757, STARLAN, Saddam, Sears Tower, Firewalls X-Advice: Drop that crappy M$-Outlook, I'm tired of your viruses! User-Agent: Mutt/1.5.4i cc: "'freebsd-scsi@freebsd.org'" cc: aic7xxx@freebsd.org Subject: Re: AIC7902 w/ seagate U320 drive issue on releng-4 (and current) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 14:14:37 -0000 On Tue, 29-Jul-2003 at 13:50:47 -0300, Marc G. Fournier wrote: > On Mon, 28 Jul 2003, Don Bowman wrote: > > > > > > From: The Hermit Hacker [mailto:scrappy@hub.org] > > > > > > Just as an FYI, we just downloaded the 006 firmware this afternoon ... > > > > > > > Can you please confirm this is 006? Seagate has just re-confirmed > > that 005 is the latest firmware available for these drives. > > just upgraded all 6 drives: > > mars# camcontrol devlist > at scbus1 target 0 lun 0 (pass0,da0) > at scbus1 target 1 lun 0 (pass1,da1) > at scbus1 target 2 lun 0 (pass2,da2) > at scbus1 target 3 lun 0 (pass3,da3) > at scbus1 target 4 lun 0 (pass4,da4) > at scbus1 target 5 lun 0 (pass5,da5) > > fwprog works great, but warning for anyone else using it ... pass1-5 went > fine, but since pass0 was my 'root drive', it required a cold boot after > the upgrade, as it seemed to have locked up the bus ... Yes. If have seen this also when playing around. It is generally a good idea to unmount the drive in question. When updating the root drive, single user mode is preferrable. The code was a private, experimental hack. I wanted to understand what Marc Frajola is doing there and how it works. Later I added support for other vendors. Maybe it would be a good idea to spit out a warning message at the start -- reminding the user that nothing else should access the drive during the upgrade. However, the nicest thing would be if I could, let's say, lock the device for exclusive use but I have no idea how this could be done. I don't think I can simply pass O_EXLOCK to the cam_open_spec_device call :-). -Andre