Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171634 - sys-block/tw_firmware-9.4.0.1.ebuild (3ware Raid Controller firmware)
Summary: sys-block/tw_firmware-9.4.0.1.ebuild (3ware Raid Controller firmware)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://www.3ware.com
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-03-20 23:23 UTC by Stefan Behte (RETIRED)
Modified: 2007-04-01 22:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-block/tw_firmware-9.4.0.1 ebuild (tw_firmware-9.4.0.1.ebuild,1.09 KB, text/plain)
2007-03-20 23:24 UTC, Stefan Behte (RETIRED)
Details
ebuild for tw_firmware-9.4.1 (tw_firmware-9.4.1.ebuild,750 bytes, text/plain)
2007-03-28 18:09 UTC, Stefan Behte (RETIRED)
Details
ebuild for tw_firmware-9.4.1 (tw_firmware-9.4.1.ebuild,1.08 KB, text/plain)
2007-03-28 20:30 UTC, Stefan Behte (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2007-03-20 23:23:49 UTC
Hi!
I just created:
sys-block/tw_firmware-9.4.0.1.ebuild

It contains the 3ware Raid Controller firmware to upgrade the controller. Firmware versions < 9.4.0.0 might not work with 3dm2-9.4.0.1 and tw_cli-9.4.0.1 so this firmware really should be available via portage!

According to the release notes, tw_cli-9.4.0.1 can also update the firmware so tw_update does not seem to be needed as a seperate ebuild.

See: http://www.3ware.com/download/Escalade9650SE-Series/9.4.0.1/9.4.0.1_Release_Notes_Web.pdf
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-20 23:24:49 UTC
Created attachment 113935 [details]
sys-block/tw_firmware-9.4.0.1 ebuild
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-20 23:38:27 UTC
I CC'ed Robin H. Johnson and Wolfram Schlich, because in /usr/portage/sys-block/tw_cli/metadata.xml it said that the first was "Primary maintainer, PATA controllers" and the last one "Secondary maintainer, SATA controllers" and the firmware belongs to/can be upgraded via tw_cli.
I hope it was O.K. to do this?
Comment 3 Wolfram Schlich (RETIRED) gentoo-dev 2007-03-23 22:57:53 UTC
--8<--
HW_VARIANT="Escalade9650SE-Series"
HW_VARIANT_SHORT="9650SE"
--8<--

vs.

--8<--
einfo "This firmware supports should support ALL cards, including, but not"
einfo "limited to the following series:"
einfo ""
einfo "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506"
einfo "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE"
einfo "      9550SXU, 9650SE"
einfo ""
--8<--

huh?!
Comment 4 Wolfram Schlich (RETIRED) gentoo-dev 2007-03-23 23:16:16 UTC
Ok, I just had a look at the latest tw_cli ebuild and it seems that
the stuff I cited was just copied from there :>

Anyway, it seems very unlikely that a single firmware image (prom0006.img)
will fit more than one type of controller (9650SE)... Craig?
Comment 5 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-24 11:18:09 UTC
It fits at least for all 9xxx Models.
If you visit http://www.3ware.com/support/download.asp and chose code release 9.4.1 you'll always get /download/Escalade9650SE-Series/9.4.1/9.4.1-9xxx-Upgrade.zip&mode=1

I'll find out if it works for the other ones as well (I was really sure it does).
Comment 6 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-28 18:09:51 UTC
Created attachment 114806 [details]
ebuild for tw_firmware-9.4.1
Comment 7 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-28 20:30:45 UTC
Created attachment 114815 [details]
ebuild for tw_firmware-9.4.1
Comment 8 Stefan Behte (RETIRED) gentoo-dev Security 2007-03-28 20:39:18 UTC
I looked at their page a bit and here are my efforts, see the attached ebuild:

 * Firmware release 7.71 supports:
 * 3ware-7xxx.img: models 7000, 7006-2, 7410, 7450, 7500, 7506, 7810 and 7850
 * 3ware-8xxx.img: models 8006-2, 8500 and 8506
 *
 * Firmware release 9.4.1 supports:
 * 3ware-9xxx.img: models 9500S, 9550SX, 9550SXU, 9590SE and 9650SE

Firmware 7.71 is the final one for models 7xxx and 8xxx, but it might be useful to also include it. Firmware release 9.4.1 is the newest one for 9xxx models.

Next time I will check it BEFORE posting. :)
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-01 20:01:46 UTC
No.

/lib/firmware is ONLY for firmware that must be loaded every time the machine boots and the device is started.

The 3ware firmware is an image that you flash to the controller a single time only.

The upstream release notes also ONLY document that older drivers may cause problems, not that older firmwares may cause problems.

Accepted practice for upgrading firmware in these units is to take the zipfile they give you, and use it on a bootable floppy, CDROM or USB memory key. It's also a LOT safer than using tw_update or the firmware update feature in tw_cli.
Comment 10 Stefan Behte (RETIRED) gentoo-dev Security 2007-04-01 22:03:24 UTC
Well, you're right of course with anything you wrote.
I have to admit that I rather wrote the ebuild for practise purposes (any had wanted to write something that might be at least a little bit useful).