FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-24-2009, 03:15 PM
James
 
Default HD indentification

Hello,

I have a system with a HD in question and if
I should rn 'hdparm' or not on this system.

Dmegs shows:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller (0x1002:0x4376 rev 0x00) at PCI slot 0000:00:14.1
ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
ATIIXP: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hdaio, hdbio
ATIIXP: simplex device: DMA disabled
ide1: ATIIXP Bus-Master DMA disabled (BIOS)
Probing IDE interface ide0...
hdb: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
hda: HL-DT-ST RW/DVD GCC-4482B, ATAPI CD/DVD-ROM drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: host side 80-wire cable detection failed, limiting max speed to UDMA33
hda: UDMA/33 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdb: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 48X DVD-ROM CD-R/RW drive, 1536kB Cache
Uniform CD-ROM driver Revision: 3.20
hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache

snip

ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
ata1.00: 312581808 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 310)

sata_sil 0000:00:12.0: version 2.3
ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
ata1.00: 312581808 sectors, multi 16: LBA48
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 310)


hdparm -iI /dev/sda reveals:

/dev/sda:

Model=SAMSUNG, FwRev=ZM100-43, SerialNo=S0DFJ10L405433
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=312581808
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6,7

* signifies the current active mode


ATA device, with non-removable media
Model Number: SAMSUNG HD160JJ/P
Serial Number: S0DFJ10L405433
Firmware Revision: ZM100-43
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 4a
Supported: 7 6 5 4 & some of 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 312581808
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 152627 MBytes
device size with M = 1000*1000: 160041 MBytes (160 GB)
cache/buffer size = 8192 KBytes (type=DualPortCache)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Host-initiated interface power management
* Phy event counters
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
90min for SECURITY ERASE UNIT. 88min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct



/etc/fstab:
/dev/sda2 /boot reiserfs defaults 1 2
/dev/sda3 / reiserfs defaults 0 1
/dev/sda5 /usr/local reiserfs defaults 0 1
/dev/sda6 none swap sw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0


So should I remove hdparm and install sdparm?
It's been a long time since I've seen this system.

hdparm is in the default run level, but does not
make since on this drive? (just looking for comments
and confirmation that hdparm is not needed for the
this drive....


James


/etc/fstab
 
Old 11-24-2009, 07:07 PM
Volker Armin Hemmann
 
Default HD indentification

On Dienstag 24 November 2009, James wrote:
> Hello,
>
> I have a system with a HD in question and if
> I should rn 'hdparm' or not on this system.
>
> Dmegs shows:
>
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ATIIXP: IDE controller (0x1002:0x4376 rev 0x00) at PCI slot 0000:00:14.1
> ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
> ATIIXP: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hdaio, hdbio
> ATIIXP: simplex device: DMA disabled
> ide1: ATIIXP Bus-Master DMA disabled (BIOS)
> Probing IDE interface ide0...
> hdb: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
> hda: HL-DT-ST RW/DVD GCC-4482B, ATAPI CD/DVD-ROM drive
> hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> hda: host side 80-wire cable detection failed, limiting max speed to UDMA33
> hda: UDMA/33 mode selected
> hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
> hdb: UDMA/33 mode selected
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> Probing IDE interface ide1...
> hda: ATAPI 48X DVD-ROM CD-R/RW drive, 1536kB Cache
> Uniform CD-ROM driver Revision: 3.20
> hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
>
> snip
>
> ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
> ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
> ata1.00: 312581808 sectors, multi 16: LBA48
> ata1.00: configured for UDMA/100
> ata2: SATA link down (SStatus 0 SControl 310)
>
> sata_sil 0000:00:12.0: version 2.3
> ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
> ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
> ata1.00: 312581808 sectors, multi 16: LBA48
> ata1.00: configured for UDMA/100
> ata2: SATA link down (SStatus 0 SControl 310)
>
>
> hdparm -iI /dev/sda reveals:
>
> /dev/sda:
>
> Model=SAMSUNG, FwRev=ZM100-43, SerialNo=S0DFJ10L405433
> Config={ Fixed }
> RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
> BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
> CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=312581808
> IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
> PIO modes: pio0 pio1 pio2 pio3 pio4
> DMA modes: mdma0 mdma1 mdma2
> UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
> AdvancedPM=no WriteCache=enabled
> Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6,7
>
> * signifies the current active mode
>
>
> ATA device, with non-removable media
> Model Number: SAMSUNG HD160JJ/P
> Serial Number: S0DFJ10L405433
> Firmware Revision: ZM100-43
> Standards:
> Used: ATA/ATAPI-7 T13 1532D revision 4a
> Supported: 7 6 5 4 & some of 8
> Configuration:
> Logical max current
> cylinders 16383 16383
> heads 16 16
> sectors/track 63 63
> --
> CHS current addressable sectors: 16514064
> LBA user addressable sectors: 268435455
> LBA48 user addressable sectors: 312581808
> Logical/Physical Sector size: 512 bytes
> device size with M = 1024*1024: 152627 MBytes
> device size with M = 1000*1000: 160041 MBytes (160 GB)
> cache/buffer size = 8192 KBytes (type=DualPortCache)
> Capabilities:
> LBA, IORDY(can be disabled)
> Standby timer values: spec'd by Standard, no device specific
> minimum R/W multiple sector transfer: Max = 16 Current = 16
> DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> Cycle time: min=120ns recommended=120ns
> PIO: pio0 pio1 pio2 pio3 pio4
> Cycle time: no flow control=120ns IORDY flow control=120ns
> Commands/features:
> Enabled Supported:
> * SMART feature set
> Security Mode feature set
> * Power Management feature set
> * Write cache
> * Look-ahead
> * WRITE_BUFFER command
> * READ_BUFFER command
> * NOP cmd
> * DOWNLOAD_MICROCODE
> * 48-bit Address feature set
> * Device Configuration Overlay feature set
> * Mandatory FLUSH_CACHE
> * FLUSH_CACHE_EXT
> * SMART error logging
> * SMART self-test
> * General Purpose Logging feature set
> * Segmented DOWNLOAD_MICROCODE
> * Gen1 signaling speed (1.5Gb/s)
> * Gen2 signaling speed (3.0Gb/s)
> * Host-initiated interface power management
> * Phy event counters
> Device-initiated interface power management
> * Software settings preservation
> * SMART Command Transport (SCT) feature set
> * SCT Long Sector Access (AC1)
> * SCT LBA Segment Access (AC2)
> * SCT Error Recovery Control (AC3)
> * SCT Features Control (AC4)
> * SCT Data Tables (AC5)
> Security:
> Master password revision code = 65534
> supported
> not enabled
> not locked
> frozen
> not expired: security count
> supported: enhanced erase
> 90min for SECURITY ERASE UNIT. 88min for ENHANCED SECURITY ERASE
> UNIT. Checksum: correct
>
>
>
> /etc/fstab:
> /dev/sda2 /boot reiserfs defaults 1 2
> /dev/sda3 / reiserfs defaults 0 1
> /dev/sda5 /usr/local reiserfs defaults 0 1
> /dev/sda6 none swap sw 0 0
> none /proc proc defaults 0 0
> none /dev/shm tmpfs defaults 0 0
>
>
> So should I remove hdparm and install sdparm?
> It's been a long time since I've seen this system.
>
> hdparm is in the default run level, but does not
> make since on this drive? (just looking for comments
> and confirmation that hdparm is not needed for the
> this drive....
>
>
> James
>
>
> /etc/fstab
>

no, just leave hdparm. sdparm and hdparm have different features.

But you don't need to run hdparm as a boot service anymore (except maybe for
your optical drive. Maybe.)
 
Old 11-24-2009, 10:26 PM
Dale
 
Default HD indentification

Volker Armin Hemmann wrote:


no, just leave hdparm. sdparm and hdparm have different features.

But you don't need to run hdparm as a boot service anymore (except maybe for
your optical drive. Maybe.)






I use hdparm to get info but do not run it as a service. It seems the
BIOS and Linux picks up the best settings as it boots anyway. I also
use hdparm for my SATA drive with no problems so far.


Why would a person need both?

Dale

:-) :-)
 

Thread Tools




All times are GMT. The time now is 06:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org