Re: [PATCH RFT 7/7] firewire: sbp2: add workarounds for 2nd and 3rd generation iPods



On Thu, 29 Jan 2009, Stefan Richter wrote:

Hmm, I'm beginning to suspect that I should duplicate usb-storage's

if (sdev->type == TYPE_DISK)
sdev->last_sector_bug = 1;

into the FireWire drivers. There aren't any fundamental downsides to
this, are there?

No, not really. Accesses to the last few sectors will be slightly
slower, but those sectors don't get used much anyway and the slowdown
isn't very big. In theory there might be a device which doesn't like
single-sector accesses near the end... but what can you do about
something like that? If the device doesn't let you read sectors one at
a time, it's not worth worrying about.

Linux uses the last-sector accesses to check whether or not the device
is part of a RAID. Apparently Windows and OS X don't support the kinds
of RAID that need this.

Or they don't support these kinds of RAID over certain transports like
USB and FireWire...?

Maybe. I don't know any of the details.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • bad RAIDframe behavior with 2.0RC4?
    ... I hadn't tried RAID on any of my several NetBSD boxes so ... first time I tried putting a FFS on raid0a. ... I tried LFS (avoiding the first 63 sectors on ... cylinders: 8894 ...
    (comp.unix.bsd.netbsd.misc)
  • Re: Disk boot failure? And bad sectors?
    ... Then i scaned both Hdd. ... Something in the boot order that is being booted before the HD ... If using RAID, the way the HDis/are set up off RAID may not work ... I did a quick diag and it gave me a few bad sectors. ...
    (microsoft.public.windowsxp.general)
  • Re: ANOUNCEMENT: zsplit, unzsplit: free linux tools to make a full drive image backup!
    ... I think the idea to analyse each sector and copy only used sectors is ... imagine you have erased some data on your disk. ... lost all erased data and you cannot restore any erased data anymore. ... > BTW it would be neat if you could also handle software RAID. ...
    (comp.os.linux.development.apps)
  • Re: SBS2K3 - Bad sectors on RAID 1
    ... Maybe look for non-HDD related drive volume hardware issues. ... RAID 1 array for our data. ... sectors are now identified and marked as 'do not use'. ... The RAID 1 is via Dell hardware, so I am unsure how to tell which disk ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Low level format
    ... it was one of the options in the raid bios along with creating and deleteing ... Thanks for the info, I guess i won't click on low level format then,who ... > Low level format records the physical tracks, sectors and sector ... > interleave on the disk surface and optionally marks any surface defects as ...
    (microsoft.public.windowsxp.general)

Loading