Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Robert Hancock
Alan Cox wrote: Yeah, that's consistent to what I've seen on my machine which is a variant of A8N. No matter what value I through at _STM, _GTM just echoed the result thus always leading to 80c configuration. I guess this means that what we have to do is trust that the BIOS set up a

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Alan Cox
> Yeah, that's consistent to what I've seen on my machine which is a > variant of A8N. No matter what value I through at _STM, _GTM just > echoed the result thus always leading to 80c configuration. > > > I guess this means that what we have to do is trust that the BIOS set up > > a reasonable

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Jeff Garzik
Stupid BIOS crap like that is largely the reason why I am reluctant to merge pata_acpi. There is a lot of knowledge like this yet to be discovered. I would feel far more comfortable disassembling the AML like you are doing... Jeff - To unsubscribe from this list: send the line

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Tejun Heo
Robert Hancock wrote: >> Alan, did you have a chance to test the ACPI cable detection? It just >> didn't work when I tried it. It always returned 80c on my machine. > > On a whim I started poking around in the disassembled ACPI DSDT code for > my Asus A8N-SLI Deluxe board, which is one of these

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Robert Hancock
Tejun Heo wrote: [EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Robert Hancock
Tejun Heo wrote: [EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Tejun Heo
Robert Hancock wrote: Alan, did you have a chance to test the ACPI cable detection? It just didn't work when I tried it. It always returned 80c on my machine. On a whim I started poking around in the disassembled ACPI DSDT code for my Asus A8N-SLI Deluxe board, which is one of these

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Jeff Garzik
Stupid BIOS crap like that is largely the reason why I am reluctant to merge pata_acpi. There is a lot of knowledge like this yet to be discovered. I would feel far more comfortable disassembling the AML like you are doing... Jeff - To unsubscribe from this list: send the line

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Alan Cox
Yeah, that's consistent to what I've seen on my machine which is a variant of A8N. No matter what value I through at _STM, _GTM just echoed the result thus always leading to 80c configuration. I guess this means that what we have to do is trust that the BIOS set up a reasonable mode and

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-21 Thread Robert Hancock
Alan Cox wrote: Yeah, that's consistent to what I've seen on my machine which is a variant of A8N. No matter what value I through at _STM, _GTM just echoed the result thus always leading to 80c configuration. I guess this means that what we have to do is trust that the BIOS set up a

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Robert Hancock
Tejun Heo wrote: [EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Tejun Heo
[EMAIL PROTECTED] wrote: > > Mybe I am wrong, but if you are detecting 40-wire cable to set them to > DMA/33, why the check includes also 80-wire cables configuring them to > DMA/33 too? > > With this patch my nvidia4 IDE controllers detects correctly and > configure correctly DMA/100 for my HD

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Robert Hancock
[EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for my HD and

something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread l . genoni
Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for my HD and DMA/33 for my DVD (the first

something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread l . genoni
Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for my HD and DMA/33 for my DVD (the first

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Robert Hancock
[EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for my HD and

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Tejun Heo
[EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for my HD and

Re: something strange in libata-core.c for kernel 2.6.22-rc3

2007-05-20 Thread Robert Hancock
Tejun Heo wrote: [EMAIL PROTECTED] wrote: Mybe I am wrong, but if you are detecting 40-wire cable to set them to DMA/33, why the check includes also 80-wire cables configuring them to DMA/33 too? With this patch my nvidia4 IDE controllers detects correctly and configure correctly DMA/100 for