Please help - problems with Ultra DMA

2002-04-09 Thread David McNab
I'm trying to enable Ultra DMA on a woody system running a 2.4.17
kernel.

I've enabled the applicable kernel options.

CPU is Athlon 1700XP
Motherboard is an InnoBD BD7300D, with:
VIA VT8366A (KT266A) North bridge
VIA VT8233A South Bridge

Disk drive: Maxtor 5T06086 60GB 7200 RPM

But when I type 'hdparm -d1 /dev/hda', I get

setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
/dev/hda:
 using_dma=  0 (off)

and yes, I'm running 'hdparm' as root.

I'm writing to this list as a last resort, because the HOWTOs and manpages
say nothing about this, and Google brings up a whole bunch of unanswered
questions on mailing list archives (which I hope this won't end up as).

Can someone please shed some light?

Thanks so much in advance
David




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Please help - problems with Ultra DMA

2002-04-09 Thread David McNab
On Tue, 2002-04-09 at 21:13, Martijn van Oosterhout wrote: 
> On Wed, Apr 10, 2002 at 08:13:28AM +1200, David McNab wrote:
> > I'm trying to enable Ultra DMA on a woody system running a 2.4.17
> > kernel.
> > 
> > I've enabled the applicable kernel options.
> > 
> > CPU is Athlon 1700XP
> > Motherboard is an InnoBD BD7300D, with:
> > VIA VT8366A (KT266A) North bridge
> > VIA VT8233A South Bridge
> > 
> > Disk drive: Maxtor 5T06086 60GB 7200 RPM
> > 
> > But when I type 'hdparm -d1 /dev/hda', I get
> > 
> > setting using_dma to 1 (on)
> > HDIO_SET_DMA failed: Operation not permitted
> > /dev/hda:
> >  using_dma=  0 (off)
> > 
> > and yes, I'm running 'hdparm' as root.
> 
> Ok, do the bootup messages say anything support for that chipset?

In the bootup msgs, I'm getting 'VP_IDE: Unknown VIA Southbridge", for
the VIA VT8233A chip.

> On my
> PIIX4 the kernel detects it and enables the maximum ultradma completely
> automatically.

I'm happy for you.

> Check the VIA chipset support. Does it specifically mention this chipset?

No.

> Lastly, have you tried Andres big-ide patch, which twiddles support for
> several chipsets not in the main kernel.

Can you give me a link?
Google gives lots of mentions, but not the actual patch itself.

Cheers
David

> 
> HTH,
> -- 
> Martijn van Oosterhouthttp://svana.org/kleptog/
> > Ignorance continues to thrive when intelligent people choose to do
> > nothing.  Speaking out against censorship and ignorance is the imperative
> > of all intelligent people.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Please help - problems with Ultra DMA - Solved

2002-04-09 Thread David McNab
On Tue, 2002-04-09 at 22:38, Martijn van Oosterhout wrote:
> On Wed, Apr 10, 2002 at 10:15:45AM +1200, David McNab wrote:
> > On Tue, 2002-04-09 at 21:13, Martijn van Oosterhout wrote: 
> > > Ok, do the bootup messages say anything support for that chipset?
> > 
> > In the bootup msgs, I'm getting 'VP_IDE: Unknown VIA Southbridge", for
> > the VIA VT8233A chip.
> 
> Hmm, not a good sign.
> 
> > > Lastly, have you tried Andres big-ide patch, which twiddles support for
> > > several chipsets not in the main kernel.
> > 
> > Can you give me a link?
> > Google gives lots of mentions, but not the actual patch itself.
> 
> The only place I know is on kernel.org. Try /pub/linux/kernel/people/hedrick

Thanks to Vojtech Pavlik's suggestion, I've upgraded to 2.4.19-pre5 and
now enjoy 35MB/s instead of 7MB/s on /dev/hda! - full UDMA :)

And, 'hdparm -d1 /dev/hda' now works!

Thanks for help, all

Cheers
David


> 
> HTH,
> -- 
> Martijn van Oosterhouthttp://svana.org/kleptog/
> > Ignorance continues to thrive when intelligent people choose to do
> > nothing.  Speaking out against censorship and ignorance is the imperative
> > of all intelligent people.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]