Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HD indentification
Date: Tue, 24 Nov 2009 22:02:53
Message-Id: 200911242107.42150.volkerarmin@googlemail.com
In Reply to: [gentoo-user] HD indentification by James
1 On Dienstag 24 November 2009, James wrote:
2 > Hello,
3 >
4 > I have a system with a HD in question and if
5 > I should rn 'hdparm' or not on this system.
6 >
7 > Dmegs shows:
8 >
9 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
10 > ATIIXP: IDE controller (0x1002:0x4376 rev 0x00) at PCI slot 0000:00:14.1
11 > ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16
12 > ATIIXP: not 100% native mode: will probe irqs later
13 > ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:pio, hdb:pio
14 > ATIIXP: simplex device: DMA disabled
15 > ide1: ATIIXP Bus-Master DMA disabled (BIOS)
16 > Probing IDE interface ide0...
17 > hdb: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
18 > hda: HL-DT-ST RW/DVD GCC-4482B, ATAPI CD/DVD-ROM drive
19 > hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
20 > hda: host side 80-wire cable detection failed, limiting max speed to UDMA33
21 > hda: UDMA/33 mode selected
22 > hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
23 > hdb: UDMA/33 mode selected
24 > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
25 > Probing IDE interface ide1...
26 > Probing IDE interface ide1...
27 > hda: ATAPI 48X DVD-ROM CD-R/RW drive, 1536kB Cache
28 > Uniform CD-ROM driver Revision: 3.20
29 > hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
30 >
31 > snip
32 >
33 > ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
34 > ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
35 > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
36 > ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
37 > ata1.00: 312581808 sectors, multi 16: LBA48
38 > ata1.00: configured for UDMA/100
39 > ata2: SATA link down (SStatus 0 SControl 310)
40 >
41 > sata_sil 0000:00:12.0: version 2.3
42 > ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 23
43 > ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 23
44 > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
45 > ata1.00: ATA-7: SAMSUNG HD160JJ/P, ZM100-43, max UDMA/100
46 > ata1.00: 312581808 sectors, multi 16: LBA48
47 > ata1.00: configured for UDMA/100
48 > ata2: SATA link down (SStatus 0 SControl 310)
49 >
50 >
51 > hdparm -iI /dev/sda reveals:
52 >
53 > /dev/sda:
54 >
55 > Model=SAMSUNG, FwRev=ZM100-43, SerialNo=S0DFJ10L405433
56 > Config={ Fixed }
57 > RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
58 > BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
59 > CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=312581808
60 > IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
61 > PIO modes: pio0 pio1 pio2 pio3 pio4
62 > DMA modes: mdma0 mdma1 mdma2
63 > UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
64 > AdvancedPM=no WriteCache=enabled
65 > Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6,7
66 >
67 > * signifies the current active mode
68 >
69 >
70 > ATA device, with non-removable media
71 > Model Number: SAMSUNG HD160JJ/P
72 > Serial Number: S0DFJ10L405433
73 > Firmware Revision: ZM100-43
74 > Standards:
75 > Used: ATA/ATAPI-7 T13 1532D revision 4a
76 > Supported: 7 6 5 4 & some of 8
77 > Configuration:
78 > Logical max current
79 > cylinders 16383 16383
80 > heads 16 16
81 > sectors/track 63 63
82 > --
83 > CHS current addressable sectors: 16514064
84 > LBA user addressable sectors: 268435455
85 > LBA48 user addressable sectors: 312581808
86 > Logical/Physical Sector size: 512 bytes
87 > device size with M = 1024*1024: 152627 MBytes
88 > device size with M = 1000*1000: 160041 MBytes (160 GB)
89 > cache/buffer size = 8192 KBytes (type=DualPortCache)
90 > Capabilities:
91 > LBA, IORDY(can be disabled)
92 > Standby timer values: spec'd by Standard, no device specific
93 > minimum R/W multiple sector transfer: Max = 16 Current = 16
94 > DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
95 > Cycle time: min=120ns recommended=120ns
96 > PIO: pio0 pio1 pio2 pio3 pio4
97 > Cycle time: no flow control=120ns IORDY flow control=120ns
98 > Commands/features:
99 > Enabled Supported:
100 > * SMART feature set
101 > Security Mode feature set
102 > * Power Management feature set
103 > * Write cache
104 > * Look-ahead
105 > * WRITE_BUFFER command
106 > * READ_BUFFER command
107 > * NOP cmd
108 > * DOWNLOAD_MICROCODE
109 > * 48-bit Address feature set
110 > * Device Configuration Overlay feature set
111 > * Mandatory FLUSH_CACHE
112 > * FLUSH_CACHE_EXT
113 > * SMART error logging
114 > * SMART self-test
115 > * General Purpose Logging feature set
116 > * Segmented DOWNLOAD_MICROCODE
117 > * Gen1 signaling speed (1.5Gb/s)
118 > * Gen2 signaling speed (3.0Gb/s)
119 > * Host-initiated interface power management
120 > * Phy event counters
121 > Device-initiated interface power management
122 > * Software settings preservation
123 > * SMART Command Transport (SCT) feature set
124 > * SCT Long Sector Access (AC1)
125 > * SCT LBA Segment Access (AC2)
126 > * SCT Error Recovery Control (AC3)
127 > * SCT Features Control (AC4)
128 > * SCT Data Tables (AC5)
129 > Security:
130 > Master password revision code = 65534
131 > supported
132 > not enabled
133 > not locked
134 > frozen
135 > not expired: security count
136 > supported: enhanced erase
137 > 90min for SECURITY ERASE UNIT. 88min for ENHANCED SECURITY ERASE
138 > UNIT. Checksum: correct
139 >
140 >
141 >
142 > /etc/fstab:
143 > /dev/sda2 /boot reiserfs defaults 1 2
144 > /dev/sda3 / reiserfs defaults 0 1
145 > /dev/sda5 /usr/local reiserfs defaults 0 1
146 > /dev/sda6 none swap sw 0 0
147 > none /proc proc defaults 0 0
148 > none /dev/shm tmpfs defaults 0 0
149 >
150 >
151 > So should I remove hdparm and install sdparm?
152 > It's been a long time since I've seen this system.
153 >
154 > hdparm is in the default run level, but does not
155 > make since on this drive? (just looking for comments
156 > and confirmation that hdparm is not needed for the
157 > this drive....
158 >
159 >
160 > James
161 >
162 >
163 > /etc/fstab
164 >
165
166 no, just leave hdparm. sdparm and hdparm have different features.
167
168 But you don't need to run hdparm as a boot service anymore (except maybe for
169 your optical drive. Maybe.)

Replies

Subject Author
Re: [gentoo-user] HD indentification Dale <rdalek1967@×××××.com>