Re: Trouble with hdparm -d on Dell D610

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 11, 2008 4:49 PM, Kristin Vadas Marsicano
<kristin.marsicano@xxxxxxxxx> wrote:
> On 1/11/08, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > > My concern with disabling the new drivers is as follows: I use this
> > > linux kernel and config image to boot machines over PXE and call a
> > > shred program on each of the harddrives.  If I turn off CONFIG_ATA,
> > > will this limit my ability to support various new IDE and SATA drives
> > > for running shred?  So far, the configuration I have works well with
> >
> > Yes. In that case you can build without CONFIG_IDE_PIIX and with the
> > CONFIG_ATA_PIIX driver and you should be fine too (but your disk will
> > move to /dev/sda on that box). The PIIX is an awkward case as in some
> > modes it combines both the SATA and PATA onto one 'device'.
> >
>
> Can I set this option through make menuconfig, or do I need to take
> some other action?  I poked around the menu config a big and wasn't
> sure I found the properties you are refering to.
>
> Would all my disks then be listed as sd[a-z] on every machine?  Or just some?
>
> > > most of the machines I encounter  (and with both SATA and IDE drives),
> > > except for the Dell D610 and HP 7700 (small desktop pc).  The models I
> > > just mentioned run the shred really slow, which I believe is due to
> > > the DMA problem I was having (outlined in my previous emails).  Any
> > > thoughts?
> >
> > If your shred program is relying on DMA then you are using the wrong tool
> > for the job. The correct way to erase a disk is to send it a security
> > erase command. Rewriting over the data may not do what is wanted.
> >
>
> For now, my desired action is to overwrite the drives with random
> characters.  My understanding is that security erase commands are
> implemented in the firmware, and that it may be buggy.  Please correct
> me if my understanding is incorrect.  Also, is there a way to invoke
> the firmware security erase with a linux command?

Kristin, you can issue Security Erase via hdparm, but don't forget
that the Security Erase command is blocked by significant number of
BIOS implentations, so switching to it would be a fundamental change
to what you do now even if you had confidence that it did work 100% of
the time.

Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux