1 |
Hello. |
2 |
|
3 |
Yesterday, I installed gentoo-sources-2.6.22. When I now boot this new |
4 |
kernel, I notice that all of a sudden my SATA disk is addressed with |
5 |
/dev/hda, whereas it used to be addressed with /dev/sda in 2.6.21. Why's |
6 |
that? |
7 |
|
8 |
But much more important: The IDE performance is now extremely bad. |
9 |
|
10 |
,----[ hdparm -tT /dev/hda, kernel 2.6.22 ] |
11 |
| /dev/hda: |
12 |
| Timing cached reads: 2414 MB in 2.00 seconds = 1208.28 MB/sec |
13 |
| Timing buffered disk reads: 8 MB in 3.99 seconds = 2.00 MB/sec |
14 |
`---- |
15 |
|
16 |
With 2.6.21, it's A LOT faster: |
17 |
|
18 |
,----[ hdparm -tT /dev/sda, kernel 2.6.21 ] |
19 |
| /dev/sda: |
20 |
| Timing cached reads: 2414 MB in 2.00 seconds = 1207.80 MB/sec |
21 |
| Timing buffered disk reads: 150 MB in 3.01 seconds = 49.76 MB/sec |
22 |
`---- |
23 |
|
24 |
The drive is (is?) running with udma5 in both cases, according to |
25 |
hdparm: |
26 |
|
27 |
,----[ hdparm -Him /dev/sda, kernel 2.6.21 ] |
28 |
| /dev/sda: |
29 |
| drive temperature (celsius) is: 42 |
30 |
| drive temperature in range: yes |
31 |
| HDIO_GET_MULTCOUNT failed: Inappropriate ioctl for device |
32 |
| |
33 |
| Model=Hitachi HTS721010G9SA00 , FwRev=MCZOC10H, SerialNo= MPCZN7Y0H7E5VL |
34 |
| Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } |
35 |
| RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 |
36 |
| BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=?8? |
37 |
| CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568 |
38 |
| IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} |
39 |
| PIO modes: pio0 pio1 pio2 pio3 pio4 |
40 |
| DMA modes: mdma0 mdma1 mdma2 |
41 |
| UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 |
42 |
| AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled |
43 |
| Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1: ATA/ATAPI-2,3,4,5,6,7 |
44 |
| |
45 |
| * signifies the current active mode |
46 |
`---- |
47 |
|
48 |
,----[ hdparm -Him /dev/hda, kernel 2.6.22 ] |
49 |
| /dev/hda: |
50 |
| drive temperature (celsius) is: 41 |
51 |
| drive temperature in range: yes |
52 |
| multcount = 16 (on) |
53 |
| |
54 |
| Model=Hitachi HTS721010G9SA00, FwRev=MCZOC10H, SerialNo=MPCZN7Y0H7E5VL |
55 |
| Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } |
56 |
| RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 |
57 |
| BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=16 |
58 |
| CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568 |
59 |
| IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} |
60 |
| PIO modes: pio0 pio1 pio2 pio3 pio4 |
61 |
| DMA modes: mdma0 mdma1 mdma2 |
62 |
| UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 |
63 |
| AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled |
64 |
| Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1: ATA/ATAPI-2,3,4,5,6,7 |
65 |
| |
66 |
| * signifies the current active mode |
67 |
`---- |
68 |
|
69 |
What do I have to do, so that the drive is fast in kernel 2.6.22 as |
70 |
well? |
71 |
|
72 |
I'm booting the 2.6.22 kernel with this entry in grub menu.lst: |
73 |
|
74 |
,----[ kernel 2.6.22 ] |
75 |
| title Gentoo GNU/Linux (zuletzt gebauter Kernel mit hda) |
76 |
| root (hd0,2) |
77 |
| kernel /vmlinuz root=/dev/hda6 lapic libata.atapi_enabled=1 combined_mode=libata |
78 |
`---- |
79 |
|
80 |
Kernel 2.6.21 is started with the following entry in grub: |
81 |
|
82 |
,----[ kernel 2.6.21 ] |
83 |
| title Gentoo GNU/Linux (vorletzter gebauter Kernel) |
84 |
| root (hd0,2) |
85 |
| kernel /vmlinuz.old root=/dev/sda6 lapic libata.atapi_enabled=1 combined_mode=libata |
86 |
`---- |
87 |
|
88 |
Thanks, |
89 |
|
90 |
Alexander Skwar |
91 |
|
92 |
-- |
93 |
gentoo-user@g.o mailing list |