Package:hdparm
Version:6.3-3
Severity:minor
Tags:patch
When I invoke the hdparm -i /dev/hda it shows some NULL
pointers in the output. Here is a transcript:
hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 6Y120P0, FwRev=YAR41BW0, SerialNo=Y360H3DE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728
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 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
==>Drive conforms to: (null): ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4
ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7
* signifies the current active mode
I suggest to apply the following patch that adds two missing commas to the
source:
Ciao,
Tito Ragusa <[EMAIL PROTECTED]>
diff -uN identify_orig.c identify.c
--- identify_orig.c 2006-04-17 21:31:07.000000000 +0200
+++ identify.c 2006-04-17 21:31:31.000000000 +0200
@@ -262,8 +262,8 @@
"Reserved", /* 0x001a */
"ATA/ATAPI-6 T13 1410D revision 2", /* 0x001b */
"ATA/ATAPI-6 T13 1410D revision 1", /* 0x001c */
- "Reserved" /* 0x001d */
- "Reserved" /* 0x001e */
+ "Reserved", /* 0x001d */
+ "Reserved", /* 0x001e */
"Reserved" /* 0x001f-0xfffe*/
};
const char actual_ver[] = {
--- identify_orig.c 2006-04-17 21:31:07.000000000 +0200
+++ identify.c 2006-04-17 21:31:31.000000000 +0200
@@ -262,8 +262,8 @@
"Reserved", /* 0x001a */
"ATA/ATAPI-6 T13 1410D revision 2", /* 0x001b */
"ATA/ATAPI-6 T13 1410D revision 1", /* 0x001c */
- "Reserved" /* 0x001d */
- "Reserved" /* 0x001e */
+ "Reserved", /* 0x001d */
+ "Reserved", /* 0x001e */
"Reserved" /* 0x001f-0xfffe*/
};
const char actual_ver[] = {