Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-13 Thread Marc Howard Zuckman
On Sun, 13 Jan 2008, Alan Cox wrote: $ hdparm --Istdin < hdparm.out ATA device, with non-removable media Model Number: Integrated Technology Express Inc Serial Number: G! Standards: Likely used: 1 Configuration: Logical max current

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-12 Thread Marc Howard Zuckman
On Sun, 13 Jan 2008, Tejun Heo wrote: Does this change anything? And, yeah, I really wanna see the hdparm --Istdout too. I applied the patch to libata-core.c. A scsi device, /dev/sdb, was recognized, but partition /dev/sdb1 (where all the data resides) is not seen. Boot log messages and hd

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-12 Thread Marc Howard Zuckman
On Sun, 13 Jan 2008, Tejun Heo wrote: Does this change anything? And, yeah, I really wanna see the hdparm --Istdout too. I will apply the patch and test it as you have requested. To be clear, the output of the hpdarm -Istdout /dev/hde command that I reported a few minutes ago was performed

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-12 Thread Marc Howard Zuckman
On Sat, 12 Jan 2008, Bartlomiej Zolnierkiewicz wrote: In "smart mode" controller takes care of mode programming. Cc'ing Alan and Bartlomiej. Guys, is this the smart mode problem? Do ide and libata have this fixed in 2.6.24-rc? [ added Alan and myself ;) to cc: ] Marc, please also send ou

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-12 Thread Marc Howard Zuckman
On Fri, 11 Jan 2008, Tejun Heo, replying to Marc Zuckman wrote: Zuckman: Is it possible that both drivers are present in the kernel and conflict with one another in some fashion? Heo: The don't conflict. If both are in the kernel, IDE drivers have priority. Can you plea

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Marc Howard Zuckman
On Thu, 10 Jan 2008, Tejun Heo wrote: Oh... I thought you were using libata drivers because you mentioned pata_it821x on the subject. The IDE driver supports 'hdparm -d 1' fine. I wonder why that's not working. Also, the driver is configuring your disk to PIO0. Cc'ing Alan and Bartlomiej. G

Re: Problem setting dma using pata_it821x driver in vanilla 2.6.23.12 and gentoo-sources 2.6.23-r3

2008-01-10 Thread Marc Howard Zuckman
On Wed, 9 Jan 2008, Tejun Heo wrote: hdparm -d1 isn't supported (yet). pata_it821x will configure DMA automatically. OK. So prior to rebooting 2.3.23.12 (boot log attached), I disabled hdparm for my hde raid array during the boot process. However, after booting, hdparm still shows that dma i