* 2.6.{14,15-rc4} harddrive cache not detected
@ 2005-12-08 18:44 Sebastian Kärgel
2005-12-08 19:05 ` Bartlomiej Zolnierkiewicz
2005-12-08 19:38 ` Alan Cox
0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Kärgel @ 2005-12-08 18:44 UTC (permalink / raw)
To: linux-kernel
Hello,
after installing a new harddrive, the kernel does no longer detect the
harddrives cache.
Old one:
ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
hda: ST94019A, ATA DISK drive
hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA
(33)
New one:
ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
hda: TOSHIBA MK4025GAS, ATA DISK drive
hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(33)
Note, that there is nothing printed about the cache size.
According to the manufactor the new harddrive should have 8mb cache.
/proc/ide/ide0/hda/cache also show "0"
hdparm gives the following:
...
BuffType=unknown, BuffSize=0kB
...
I verified this problem with 2.6.14 and 2.6.15-rc4.
Thanks for your help,
Sebastian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.{14,15-rc4} harddrive cache not detected
2005-12-08 18:44 2.6.{14,15-rc4} harddrive cache not detected Sebastian Kärgel
@ 2005-12-08 19:05 ` Bartlomiej Zolnierkiewicz
2005-12-08 19:23 ` Sebastian Kärgel
2005-12-08 19:38 ` Alan Cox
1 sibling, 1 reply; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-12-08 19:05 UTC (permalink / raw)
To: Sebastian Kärgel; +Cc: linux-kernel
On 12/8/05, Sebastian Kärgel <mailing@wodkahexe.de> wrote:
> Hello,
>
> after installing a new harddrive, the kernel does no longer detect the
> harddrives cache.
>
> Old one:
> ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
> hda: ST94019A, ATA DISK drive
> hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA
> (33)
>
> New one:
> ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
> hda: TOSHIBA MK4025GAS, ATA DISK drive
> hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(33)
>
> Note, that there is nothing printed about the cache size.
> According to the manufactor the new harddrive should have 8mb cache.
> /proc/ide/ide0/hda/cache also show "0"
>
> hdparm gives the following:
> ...
> BuffType=unknown, BuffSize=0kB
> ...
>
> I verified this problem with 2.6.14 and 2.6.15-rc4.
I think that I've seen before some other Toshiba
disks that incorrectly report cache size.
Could you send /proc/ide/hda/identify?
Bartlomiej
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.{14,15-rc4} harddrive cache not detected
2005-12-08 19:05 ` Bartlomiej Zolnierkiewicz
@ 2005-12-08 19:23 ` Sebastian Kärgel
2005-12-08 20:12 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Kärgel @ 2005-12-08 19:23 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: linux-kernel
On Thu, 8 Dec 2005 20:05:37 +0100
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
> I think that I've seen before some other Toshiba
> disks that incorrectly report cache size.
>
> Could you send /proc/ide/hda/identify?
Hello,
# cat /proc/ide/hda/identify
0040 3fff c837 0010 0000 0000 003f 0000
0000 0000 2020 2020 2020 2020 2020 2059
3535 4c37 3338 3253 0000 0000 0030 4b41
3130 3041 2020 544f 5348 4942 4120 4d4b
3430 3235 4741 5320 2020 2020 2020 2020
2020 2020 2020 2020 2020 2020 2020 8010
0000 2f00 4000 0200 0000 0007 3fff 0010
003f fc10 00fb 0110 5300 04a8 0007 0007
0003 0078 0078 0078 0078 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
007e 0000 7c6b 5908 4003 7c69 1808 4003
043f 0012 0000 0080 fffe 604b 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0001 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 77a5
Hope this helps.
Thanks, Sebastian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.{14,15-rc4} harddrive cache not detected
2005-12-08 18:44 2.6.{14,15-rc4} harddrive cache not detected Sebastian Kärgel
2005-12-08 19:05 ` Bartlomiej Zolnierkiewicz
@ 2005-12-08 19:38 ` Alan Cox
1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2005-12-08 19:38 UTC (permalink / raw)
To: Sebastian Kärgel; +Cc: linux-kernel
On Iau, 2005-12-08 at 19:44 +0100, Sebastian Kärgel wrote:
> According to the manufactor the new harddrive should have 8mb cache.
> /proc/ide/ide0/hda/cache also show "0"
Zero doesn't mean "no cache" in that field it means it hasnt provided
the info. I wouldnt worry too much - we dont actually use the cache info
for anything but pretty reporting.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.{14,15-rc4} harddrive cache not detected
2005-12-08 19:23 ` Sebastian Kärgel
@ 2005-12-08 20:12 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 5+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-12-08 20:12 UTC (permalink / raw)
To: Sebastian Kärgel; +Cc: linux-kernel
On 12/8/05, Sebastian Kärgel <mailing@wodkahexe.de> wrote:
> On Thu, 8 Dec 2005 20:05:37 +0100
> Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:
>
> > I think that I've seen before some other Toshiba
> > disks that incorrectly report cache size.
> >
> > Could you send /proc/ide/hda/identify?
>
> Hello,
>
> # cat /proc/ide/hda/identify
> 007e 0000 7c6b 5908 4003 7c69 1808 4003
write-cache is enabled so disk just doesn't report the size
of the cache, as noted by Alan - no need to worry :)
Bartlomiej
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-12-08 20:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-08 18:44 2.6.{14,15-rc4} harddrive cache not detected Sebastian Kärgel
2005-12-08 19:05 ` Bartlomiej Zolnierkiewicz
2005-12-08 19:23 ` Sebastian Kärgel
2005-12-08 20:12 ` Bartlomiej Zolnierkiewicz
2005-12-08 19:38 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®