Adding disk firmware programming capability to camcontrol

Nima Misaghian nmisaghian at sandvine.com
Thu Nov 17 17:16:21 UTC 2011


I have updated the patch according to feedbacks I received. The main modification was to warn the user and ask for confirmation before downloading a firmware image. A -y option has been added that suppresses the confirmation-- the same as the one for the format command.

The new patch is against HEAD and could be downloaded from:
http://people.freebsd.org/~emaste/patches/fwdownload.diff


Reviews/suggestions are greatly appreciated.


Nima Misaghian 
nmisaghian at sandvine.com


> -----Original Message-----
> From: crodr001 at gmail.com [mailto:crodr001 at gmail.com] On Behalf Of Craig
> Rodrigues
> Sent: Thursday, November 03, 2011 10:06 PM
> To: Nima Misaghian
> Cc: freebsd-current at freebsd.org
> Subject: Re: Adding disk firmware programming capability to camcontrol
> 
> On Fri, Oct 28, 2011 at 1:47 PM, Nima Misaghian
> <nmisaghian at sandvine.com> wrote:
> > Hi,
> >
> > I have got code developed by Andre Albsmeier that is capable of
> > programming firmware of hard drives from several vendors and  turned
> > it into a camcontrol command.
> 
> +1
> 
> I took a look at your patch and it looks great.  I have worked on a
> storage product before where there
> was a requirement to reprogram the firmware of hard drives.  On tha
> product,
> proprietary Windows tools had to be used.  It would have been nice to
> be able to use camcontrol in FreeBSD.
> 
> I think the patch is fine in its current form.  Very few "regular
> users" need to reprogram hard drive firmware.
> It is a special administrative operation.
> 
> --
> Craig Rodrigues
> rodrigc at crodrigues.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fwdownload.diff
Type: application/octet-stream
Size: 18521 bytes
Desc: fwdownload.diff
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111117/3170f5a7/fwdownload.obj


More information about the freebsd-current mailing list