← Back to team overview

kernel-packages team mailing list archive

[Bug 1099203] Re: hot swap gpt hdd destroys partion table during swaping

 

** Package changed: linux (Ubuntu) => linuxmint

** Changed in: linuxmint
   Importance: Medium => Undecided

** Changed in: linuxmint
       Status: Confirmed => New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1099203

Title:
  hot swap gpt hdd destroys partion table during swaping

Status in The Linux Mint Distribution:
  New
Status in Fedora:
  New

Bug description:
  Hallo,

  I have a Asrock Z77 Pro4-m Board and a Seagate 3tb ST3000DM00-1CH166
  with Firmware cc24.

  with Ubutnu 12.10 64bit also tested it with fedora 18 beta

  A Bios update did have I done. So the version is currently on 1.70.
  The HDD Bios  I cant update because there is no newer version.

  The Hdd is connect to sata.

  The HDD i have formated via gparted as primary partion with ext4 and
  gpt as partition table. Alignment  was set to optimal.

  The Problem occurs if hot unplug(with umount) the disk and try to hot
  replug(with mount) it.  Then the partition table isnt recognized and
  gdisk shows me:

  MBR: projective
  GPT: damaged

  In the case I can always start the system via Paragon Live Image which
  repairs me automatically the gpt header so that I have not to repair
  it inside the tool. After restarting Ubuntu I can mount the drive
  again.

  In the case where the partition is damaged, the partion is the most of
  time recogonized but the filesystem is unknown. But not everytime.

  The same occurs with the mainline kernel not only with the shipped
  kernel.

  Smartvalues are ok.

  I also changed the sata port,chipset and cable but the problem occurs
  further.

  In the bios all controllers are set to AHCI.

  Here some dmesg output:

  [  103.561920] ata6: exception Emask 0x10 SAct 0x0 SErr 0x4090000 action 0xe frozen
  [  103.561925] ata6: irq_stat 0x00400040, connection status changed
  [  103.561928] ata6: SError: { PHYRdyChg 10B8B DevExch }
  [  103.561933] ata6: hard resetting link
  [  104.283829] ata6: SATA link down (SStatus 0 SControl 300)
  [  109.279026] ata6: hard resetting link
  [  109.583723] ata6: SATA link down (SStatus 0 SControl 300)
  [  109.583732] ata6: limiting SATA link speed to 1.5 Gbps
  [  114.578912] ata6: hard resetting link
  [  114.883622] ata6: SATA link down (SStatus 0 SControl 310)
  [  114.883630] ata6.00: disabled
  [  114.883644] ata6: EH complete
  [  114.883750] ata6.00: detaching (SCSI 5:0:0:0)
  [  114.885244] sd 5:0:0:0: [sdb] Synchronizing SCSI cache
  [  114.885275] sd 5:0:0:0: [sdb]
  [  114.885278] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  [  114.885280] sd 5:0:0:0: [sdb] Stopping disk
  [  114.885288] sd 5:0:0:0: [sdb] START_STOP FAILED
  [  114.885290] sd 5:0:0:0: [sdb]
  [  114.885291] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
  [  128.864419] ata6: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen
  [  128.864424] ata6: irq_stat 0x00000040, connection status changed
  [  128.864426] ata6: SError: { DevExch }
  [  128.864433] ata6: hard resetting link
  [  133.203987] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  [  133.204890] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
  [  133.204895] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
  [  133.204899] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
  [  133.205459] ata6.00: HPA detected: current 5860531055, native 5860533168
  [  133.205604] ata6.00: ATA-8: ST3000DM001-1CH166, CC24, max UDMA/133
  [  133.205606] ata6.00: 5860531055 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
  [  133.205786] ata6.00: failed to get Identify Device Data, Emask 0x1
  [  133.206812] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
  [  133.206818] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
  [  133.206821] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
  [  133.207722] ata6.00: failed to get Identify Device Data, Emask 0x1
  [  133.207728] ata6.00: configured for UDMA/133
  [  133.207743] ata6: EH complete
  [  133.207866] scsi 5:0:0:0: Direct-Access     ATA      ST3000DM001-1CH1 CC24 PQ: 0 ANSI: 5
  [  133.208676] sd 5:0:0:0: [sdb] 5860531055 512-byte logical blocks: (3.00 TB/2.72 TiB)
  [  133.208682] sd 5:0:0:0: [sdb] 4096-byte physical blocks
  [  133.208758] sd 5:0:0:0: [sdb] Write Protect is off
  [  133.208763] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
  [  133.208796] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  [  133.210849] sd 5:0:0:0: Attached scsi generic sg2 type 0
  [  133.224978]  sdb: unknown partition table
  [  133.225190] sd 5:0:0:0: [sdb] Attached SCSI disk
  --- 
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  DistroRelease: LinuxMint 14
  InstallationDate: Installed on 2013-01-14 (0 days ago)
  InstallationMedia: Linux Mint 14 "Nadia" - Release amd64 (20121120)
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Tags:  nadia
  Uname: Linux 3.8.0-030800rc3-generic x86_64
  UnreportableReason: This is not an official LinuxMint package. Please remove any third party package and try again.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxmint/+bug/1099203/+subscriptions