LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Firmware update seagate barracuda 1 GB drive? (https://www.linuxquestions.org/questions/linux-hardware-18/firmware-update-seagate-barracuda-1-gb-drive-4175484578/)

JZL240I-U 11-14-2013 11:17 AM

Firmware update seagate barracuda 1 GB drive?
 
smartd told me in the logs, that there is an update for one of my disks avalable.

So I went to the seagate site and found the update in form on two .iso files, one for windows, one for mac. The mac iso once burned starts freedos from the CD and then commences with the update. Can this be used for linux as well or should I take wine and the windows iso?

How do you do your firmware updates? Thanks fo any input...

purevw 11-14-2013 06:15 PM

You weren't completely clear about the disk. If you are booting directly from that CD (as in bootable disk), then it should be OS independent and the update should be OK.

If you're inserting and opening the disk while you are within Linux, I would not recommend trying it.

I also would search carefully for more information concerning wine. I use wine for many things, but I have not had good luck when it comes to directly controlling hardware. If your update fails, there is an excellent chance that you will lose all you data, and may even brick the Hard drive.

TobiSGD 11-14-2013 07:24 PM

Moved: This thread is more suitable in <linux - Hardware> and has been moved accordingly to help your thread/question get the exposure it deserves.

JZL240I-U 11-15-2013 01:03 AM

Quote:

Originally Posted by purevw (Post 5064609)
You weren't completely clear about the disk.

Apologies.

Quote:

Originally Posted by purevw (Post 5064609)
If you are booting directly from that CD (as in bootable disk), then it should be OS independent and the update should be OK.

That is how I(!) understood the seagate page. I'm not absolutely sure that it is so, so I asked here.

Quote:

Originally Posted by purevw (Post 5064609)
I also would search carefully for more information concerning wine. I use wine for many things, but I have not had good luck when it comes to directly controlling hardware. If your update fails, there is an excellent chance that you will lose all you data, and may even brick the Hard drive.

I was afraid of that.

Now, how do you guys run a firmware update?

P.S.: @TobiSGD In which forum did I post? I was convinced it was hardware :scratch:

pan64 11-15-2013 01:30 AM

I think it is a bootable iso (you should burn that image) and it will boot freedos and execute the patch (freedos is used because it is fast and simple and will enable direct access to the disk, therefore the patch process can have low level access to the device. I do not suggest you to use wine.
To be sure you would need to post the link to that iso image (or something similar)

JZL240I-U 11-15-2013 01:32 AM

This is the link:

http://knowledge.seagate.com/article...S/FAQ/213915en

The disk type is also in my signature: Seagate ST31000520AS (1 TB), S/N:5VX0VRDP

pan64 11-15-2013 02:40 AM

It looks like it is ok: http://knowledge.seagate.com/article...S/FAQ/004989en
I would only use it if solves any issues. Otherwise you may leave it as is.

JZL240I-U 11-15-2013 02:56 AM

Ah okay. Thanks for the link. I think I'll risk it for learning's sake. It is currently not my working disk with system and data and holds no irreplacable informations (I'll re-check before I do anything).

Thanks to all posters. I'll mark this thread as solved though nobody posted how they update their drives ;). Anybody like to guess why seagate doesn't mention linux or *BSD? I mean it is not like there are no servers out there running under theses OSses...

pan64 11-15-2013 03:59 AM

I made it exactly as it was described on the link I sent you (the only difference was I used a pendrive)
(if you really want to say thanks just press YES).

JZL240I-U 11-15-2013 04:02 AM

Quote:

Originally Posted by pan64 (Post 5064851)
I made it exactly as it was described on the link I sent you (the only difference was I used a pendrive)
(if you really want to say thanks just press YES).

Ah, I wouldn't have dared that (using an USB-stick).
And I clicked "YES" in the appropriate post :).

pan64 11-15-2013 06:27 AM

Just two comments: one of my disks died because I did not check firmware and did not update it (in time), there was a possible dead-lock in the old code.
another disk was patched but I was unable to check if that patch was successful...

JZL240I-U 11-15-2013 06:32 AM

Quote:

Originally Posted by pan64 (Post 5064929)
...another disk was patched but I was unable to check if that patch was successful...

The seagate software of your earlier link (http://knowledge.seagate.com/article...S/FAQ/004989en)
offers a scan utility which shows the firmware revision detected on your disk(s)...

TobiSGD 11-15-2013 08:48 AM

Quote:

Originally Posted by JZL240I-U (Post 5064786)
P.S.: @TobiSGD In which forum did I post? I was convinced it was hardware :scratch:

You posted in the Embedded subsection of the Hardware forum.

JZL240I-U 11-15-2013 08:55 AM

Urgh. Thanks for moving the thread without my even asking for it -- and have a nice weekend.

alecz20 02-11-2015 09:55 PM

flashed a Seagate Barracuda 7200.12 ST31000528AS under Linux
 
I have successfully flashed a Seagate Barracuda 7200.12 ST31000528AS (1TB SATA) drive with the following method: (***Use at your own risk!***)

1. Download ISO from Seagate: http://www.seagate.com/staticfiles/s...2-ALL-CC49.iso
2. mount/extract `PH-CC49.ima` from .iso file
3. dd the .ima to a USB thumb-drive:
`dd if=./PH-CC49.ima of=/dev/sdX bs=512k`
4. Turn off computer and disconnect all drives except drive(s) to be flashed
5. Boot from USB-thumb drive (this will boot into the Seagate Firmware update utility
6. Follow simple on screen instructions to flash the drive(s)
7. Power off, reconnect everything back, and power on

That's it! No Windows, No bulky CD's, no Grub edits, no FreeDos, no flaky Windows .exe's (tried it but it failed with an obscure error message)

Credit goes to the source: http://ubuntuaddicted.blogspot.ca/20...using-usb.html (found it by searching PH-CC49.ima)

JZL240I-U 02-16-2015 01:18 AM

Interesting. Thanks for sharing your experiences :).

JZL240I-U 05-18-2015 10:13 AM

Well, as they say, the guilty always come back to the scene of the crime ... ;).

At long last (before the next reorganization of my disks) I tried it what with the extraction of the .ima file, dd'ed it over to an USB-stick and booted that -- and got

Code:

- Init Disk Bad or missing Command Interpreter: command.com /P /E:256
Umm. Yes. Probably Seagate doesn't like me.

;)

JZL240I-U 05-19-2015 06:53 AM

Quote:

Originally Posted by JZL240I-U (Post 5064830)
Ah okay. Thanks for the link. I think I'll risk it for learning's sake ... I'll mark this thread as solved...

I learned, that there is no real reason for win and mac versions. The update will run under FreeDOS. I'll undo the [solved] label of the thread, updating the firmware still doesn't work.

otaviolb 03-15-2016 09:09 PM

Seagate Expansion Desktop
 
Similar problem here: Seagate Expansion Desktop is not recognized. Since it is USB3, USB2 compatible, not SATA, I am afraid to run the application as proposed by Alecz20.

Problem: The external HD 2TB from Seagate worked fine in linux. There are two ext2 partitions and one vfat partition (empty). One of the ext2 is my backup, which I need by this time. Now opensuse does not recognize it anymore, as I show next. Googling showed similar troubles to exist, but none of them solved.

First, the basics:
Code:

> cat  /etc/os-release
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

> uname -r
3.12.53-40-desktop

Make sure that modules are loaded:
Code:

> sudo /sbin/modprobe xhci_hcd
> echo $?
0

What happens after plugging in the usb port?
Code:

> lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 009: ID 0bc2:3320 Seagate RSS LLC SRD00F2 [Expansion Desktop Drive]

What dev is it? Unknown:
Code:

> sudo /usr/sbin/fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x000777b1

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *  123715584  165662719    20973568  83  Linux
/dev/sda2      165662720  1214240767  524289024  83  Linux
/dev/sda3      115345408  119539711    2097152  82  Linux swap / Solaris
/dev/sda4      1214240768  1953523711  369641472  83  Linux
Partition table entries are not in disk order

/dev/sda{1..5} belongs to the internal HD, not the external one. Additional outputs /dev/sda{1..3} were expected here, but they did not came.

However, kernel sees something, like serial numer, vendor:
Code:

> sudo dmesg | tail
[440442.772236] SFW2-INext-DROP-DEFLT IN=enp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d0:2bff:fe81:e911 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[440698.724327] SFW2-INext-DROP-DEFLT IN=enp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d0:2bff:fe81:e911 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[441210.436975] SFW2-INext-DROP-DEFLT IN=enp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d0:2bff:fe81:e911 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[442233.848545] SFW2-INext-DROP-DEFLT IN=enp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d0:2bff:fe81:e911 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[443712.658629] usb 2-1.1: new high-speed USB device number 9 using ehci-pci
[443712.805098] usb 2-1.1: New USB device found, idVendor=0bc2, idProduct=3320
[443712.805103] usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[443712.805105] usb 2-1.1: Product: Expansion Desk
[443712.805108] usb 2-1.1: Manufacturer: Seagate
[443712.805110] usb 2-1.1: SerialNumber: NA4M02XA

Let's see the response from another application:
Code:

> sudo /usr/sbin/blkid
/dev/sda1: UUID="d679b743-8a0f-4439-8c2d-6f67149f1ba7" TYPE="ext4" PTTYPE="dos"
/dev/sda2: UUID="79538291-9baf-4ec0-b492-434e9d9770ad" TYPE="ext4"
/dev/sda3: UUID="87ec14ce-789c-4846-a2ef-920dcc3f32cf" TYPE="swap"
/dev/sda4: UUID="567afd55-bdb6-4bda-a5b8-a2594b4836ec" TYPE="ext4"

These are the available modules :
Code:

> lsmod
Module                  Size  Used by
xhci_hcd              183164  0
nls_utf8              12557  0
cifs                  341536  0
fscache                68245  1 cifs
ppdev                  17671  0
parport_pc            37318  0
lp                    17759  0
parport                46395  3 ppdev,parport_pc,lp
bnep                  19704  2
bluetooth            396881  5 bnep
xt_pkttype            12504  3
xt_LOG                17716  12
xt_limit              12711  12
fuse                  95763  3
btrfs                1007017  0
raid6_pq              106004  1 btrfs
xor                    21411  1 btrfs
ufs                    83039  0
qnx4                  13317  0
hfsplus              111490  0
hfs                    58773  0
minix                  36095  0
msdos                  17332  0
jfs                  193489  0
xfs                  1021485  0
libcrc32c              12644  1 xfs
reiserfs              258956  0
af_packet              39846  2
ip6t_REJECT            12939  3
xt_tcpudp              12884  7
nf_conntrack_ipv6      14798  3
nf_defrag_ipv6        34651  1 nf_conntrack_ipv6
ip6table_raw          12683  1
ipt_REJECT            12541  3
iptable_raw            12678  1
xt_CT                  12956  4
iptable_filter        12810  1
ip6table_mangle        12700  0
nf_conntrack_netbios_ns    12665  0
nf_conntrack_broadcast    12589  1 nf_conntrack_netbios_ns
nf_conntrack_ipv4      15012  3
nf_defrag_ipv4        12758  1 nf_conntrack_ipv4
ip_tables              27239  2 iptable_raw,iptable_filter
xt_conntrack          12760  6
nf_conntrack          115037  6 nf_conntrack_ipv6,xt_CT,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack
ip6table_filter        12815  1
ip6_tables            27025  3 ip6table_raw,ip6table_mangle,ip6table_filter
x_tables              34093  15 xt_pkttype,xt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ip6table_raw,ipt_REJECT,iptable_raw,xt_CT,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
nls_iso8859_1          12713  0
nls_cp437              16991  0
vfat                  17411  0
fat                    65905  2 msdos,vfat
x86_pkg_temp_thermal    14261  0
intel_powerclamp      14727  0
intel_rapl            18783  0
coretemp              13435  0
usb_storage            62302  0
kvm                  488988  0
crct10dif_pclmul      14307  0
crc32_pclmul          13133  0
crc32c_intel          22094  2
aesni_intel            52901  0
ablk_helper            13597  1 aesni_intel
cryptd                16262  2 aesni_intel,ablk_helper
snd_hda_codec_hdmi    50353  1
r8169                  75790  0
mii                    13934  1 r8169
snd_hda_codec_via      27860  1
snd_hda_intel          52401  5
snd_hda_codec        205305  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
eeepc_wmi              13151  0
ie31200_edac          12728  0
iTCO_wdt              13480  0
sr_mod                22411  0
snd_hwdep              13602  1 snd_hda_codec
asus_wmi              28287  1 eeepc_wmi
cdrom                  46652  1 sr_mod
iTCO_vendor_support    13718  1 iTCO_wdt
snd_pcm              110211  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
serio_raw              13434  0
mei_me                14259  0
lpc_ich                21093  0
lrw                    13286  1 aesni_intel
gf128mul              14951  1 lrw
glue_helper            13990  1 aesni_intel
pcspkr                12718  0
battery                18832  0
edac_core              62291  1 ie31200_edac
i2c_i801              22557  0
shpchp                32951  0
mei                    86782  1 mei_me
aes_x86_64            17131  1 aesni_intel
snd_seq                69752  0
sparse_keymap          13948  1 asus_wmi
snd_timer              29433  2 snd_pcm,snd_seq
snd_seq_device        14497  1 snd_seq
snd                    87502  19 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
rfkill                26772  3 bluetooth,asus_wmi
mfd_core              13435  1 lpc_ich
soundcore              15047  1 snd
snd_page_alloc        18710  2 snd_hda_intel,snd_pcm
sg                    40629  0
dm_mod                111018  0
autofs4                42930  2
nouveau              1018564  2
ttm                  100549  1 nouveau
drm_kms_helper        56976  1 nouveau
drm                  314474  4 nouveau,ttm,drm_kms_helper
i2c_algo_bit          13413  1 nouveau
mxm_wmi                13021  1 nouveau
fan                    13018  0
thermal                18738  0
video                  19304  2 asus_wmi,nouveau
button                13971  1 nouveau
wmi                    19193  3 asus_wmi,nouveau,mxm_wmi
processor              40763  0
thermal_sys            36793  6 x86_pkg_temp_thermal,intel_powerclamp,fan,thermal,video,processor
scsi_dh_rdac          17447  0
scsi_dh_hp_sw          12895  0
scsi_dh_emc            17258  0
scsi_dh_alua          21698  0
scsi_dh                14882  4 scsi_dh_rdac,scsi_dh_hp_sw,scsi_dh_emc,scsi_dh_alua

And just in case, an output more verbose. I just snipped other bus information, pasted only what came after Bus 002 Device 009:
Code:

> lsusb -v
...
Bus 002 Device 009: ID 0bc2:3320 Seagate RSS LLC SRD00F2 [Expansion Desktop Drive]
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        64
  idVendor          0x0bc2 Seagate RSS LLC
  idProduct          0x3320 SRD00F2 [Expansion Desktop Drive]
  bcdDevice            1.00
  iManufacturer          2
  iProduct                3
  iSerial                1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          85
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          0
    bmAttributes        0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      0
      bNumEndpoints          2
      bInterfaceClass        8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol    80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
    Interface Descriptor:
      bLength                9
      bDescriptorType        4
      bInterfaceNumber        0
      bAlternateSetting      1
      bNumEndpoints          4
      bInterfaceClass        8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol    98
      iInterface              0
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
        Data-in pipe (0x03)
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
        Data-out pipe (0x04)
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
        Status pipe (0x02)
      Endpoint Descriptor:
        bLength                7
        bDescriptorType        5
        bEndpointAddress    0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type              None
          Usage Type              Data
        wMaxPacketSize    0x0200  1x 512 bytes
        bInterval              0
        Command pipe (0x01)

The output of these commands are the same after waiting ten or more minutes after plugging in. Changing usb port does not help.

That is what I am able to do after googlink around. Insights are welcome.

JZL240I-U 03-16-2016 03:07 AM

Did you try to look at it with gparted or with the SUSE partitioner?

alecz20 03-16-2016 08:29 AM

It seems the computer only detects the enclosure, not the drive inside. I would not flash this drive as it is. Instead try it on another machine or take out of the enclosure and connect it directly.
To rule out any Software issue, boot from a LiveCD/LiveUSB and check.
This is how dmesg should look like:
Code:

usb 3-3.4: New USB device found, idVendor=0bc2, idProduct=3320
usb 3-3.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 3-3.4: Product: Expansion Desk
usb 3-3.4: Manufacturer: Seagate
 usb 3-3.4: SerialNumber: NAxxxxx
usb-storage 3-3.4:1.0: USB Mass Storage device detected
usb-storage 3-3.4:1.0: Quirks match for vid 0bc2 pid 3320: 2000000
scsi host11: usb-storage 3-3.4:1.0
...
scsi 9:0:0:0: Direct-Access    Seagate  Expansion Desk  0319 PQ: 0 ANSI: 6
sd 9:0:0:0: Attached scsi generic sg8 type 0
sd 9:0:0:0: [sdg] 732566646 4096-byte logical blocks: (3.00 TB/2.72 TiB)
sd 9:0:0:0: [sdg] Write Protect is off
sd 9:0:0:0: [sdg] Mode Sense: 2b 00 10 08
sd 9:0:0:0: [sdg] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 9:0:0:0: [sdg] 732566646 4096-byte logical blocks: (3.00 TB/2.72 TiB)
  sdg: sdg1 sdg2 sdg3
sd 9:0:0:0: [sdg] 732566646 4096-byte logical blocks: (3.00 TB/2.72 TiB)
sd 9:0:0:0: [sdg] Attached SCSI disk

ref: http://www.linux-hardware-guide.com/...ternal-usb-3-0

otaviolb 03-16-2016 09:22 AM

Seagate Expansion Desktop
 
Thank you for both replies. I tested the external HD in an older machine but newer kernel, 4.1.12, gentoo install. It immediately attributed a /dev name. It mounted smoothly on the first try. All the data are there, partitions file systems etc. So the hardware is perfect.

The review on link given by Alecz20 made use of kernel 3.19.

My current kernel in opensuse is 3.12.53. I think I'll just wait for kernel upgrade.

alecz20 03-24-2016 08:13 PM

Kernel variant
 
I had a similar issue on an Ubuntu system after I messed up some things in the kernel. It appears that I removed a package that included USB support of some sort. I solved the issue by plugging the hard drive directly in the SATA port.

Check that you have the same Linux kernel components on both machines. particularly:

- linux-image-*-generic
- linux-image-extra-*-generic


All times are GMT -5. The time now is 11:45 AM.