Re: Help for the UDMAmentally challenged ...

2001-11-30 Thread Steffen Evers
On Thu, Nov 29, 2001 at 11:35, Courtney Thomas wrote:
> Steffen Evers wrote:
> > 
> > On Fri, Nov 16, 2001 at 13:42, Hank Marquardt wrote:
> > > I used hdparm -d1 to turn it on for the drives and that boosts to 41Mbs 
> > > on the
> > > drives, but the pdc still shows the following:
> > 
> > There are several things that need to be
> > set to use UDMA in order to make it work:
> > 
> > 1. PCI Bus
> > 2. Controller
> > 3. Drives
> > 
> > Make sure you have these two settings in your kernel set:
> > CONFIG_IDEDMA_PCI_AUTO=y
> > CONFIG_IDEDMA_AUTO=y
> > 
> > There are extra dma settings for this controller as well, I think ...
> > 
> > Compiling the kernel was the best solution for me.

> In what file should the CONFIG_IDEDMA* settings be put, please ?

You need to set them in your .config file before compiling it.

Another procedure to turn UDMA on is to add

#custom part
# set drive hda to use UDMA
[ -x /sbin/hdparm ] && /sbin/hdparm -d 1 /dev/hda

# set drive hdc to use UDMA
[ -x /sbin/hdparm ] && /sbin/hdparm -d 1 /dev/hdc

#end custom part

in your '/etc/init.d/bootmisc.sh' file - requires package hdparm.

I have set up one machine with the modified bootmisc.sh using a regular
Debian kernel image and one with a custom kernel with the above settings
in .config. Both works great!

Bye, Steffen



Re: Help for the UDMAmentally challenged ...

2001-11-17 Thread Hank Marquardt
All that's there ... about the only wrinkle I have that perhaps I should
have done differently at the very start is I left both disks on 'cable select'
rather than explicitly choosing a master/slave.

Anyway while I'd love for it to 'just work' I've added a udma100_setup.sh script
to my init.d that runs the hdparm commads to start the drives -- to my mind,
still a kludge, but hey it works.

On Sat, Nov 17, 2001 at 05:06:13AM +0100, Steffen Evers wrote:
> On Fri, Nov 16, 2001 at 13:42, Hank Marquardt wrote:
> > I used hdparm -d1 to turn it on for the drives and that boosts to 41Mbs on 
> > the
> > drives, but the pdc still shows the following:
> 
> There are several things that need to be
> set to use UDMA in order to make it work:
> 
> 1. PCI Bus
> 2. Controller
> 3. Drives
> 
> Make sure you have these two settings in your kernel set:
> CONFIG_IDEDMA_PCI_AUTO=y
> CONFIG_IDEDMA_AUTO=y
> 
> There are extra dma settings for this controller as well, I think ...
> 
> Compiling the kernel was the best solution for me.
> 
> Bye, Steffen
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Hank Marquardt <[EMAIL PROTECTED]>
http://web.yerpso.net

Web & Database Development in PHP, MySQL/PostgreSQL
Small Office Networking Solutions - Debian GNU/Linux & FreeBSD
PHP Instructor - International Webmasters Assn./HTML Writers Guild 
*** Beginning PHP -- Starts November 5, 2001 
*** See http://www.hwg.org/services/classes



Re: Help for the UDMAmentally challenged ...

2001-11-16 Thread Steffen Evers
On Fri, Nov 16, 2001 at 13:42, Hank Marquardt wrote:
> I used hdparm -d1 to turn it on for the drives and that boosts to 41Mbs on the
> drives, but the pdc still shows the following:

There are several things that need to be
set to use UDMA in order to make it work:

1. PCI Bus
2. Controller
3. Drives

Make sure you have these two settings in your kernel set:
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_IDEDMA_AUTO=y

There are extra dma settings for this controller as well, I think ...

Compiling the kernel was the best solution for me.

Bye, Steffen



Re: Help for the UDMAmentally challenged ...

2001-11-16 Thread Hank Marquardt
I used hdparm -d1 to turn it on for the drives and that boosts to 41Mbs on the
drives, but the pdc still shows the following:

PDC20265 Chipset.
--- General Status -
Burst Mode   : enabled
Host Mode: Normal
Bus Clocking : 33 PCI Internal
IO pad select: 10 mA
Status Polling Period: 0
Interrupt Check Status Polling Delay : 0
--- Primary Channel  Secondary Channel -
enabled  enabled 
66 Clocking disabled disabled
   Mode PCI Mode PCI   
FIFO Empty   FIFO Empty  
--- drive0 - drive1  drive0 -- drive1 --
DMA enabled:no   no  nono 
DMA Mode:   NOTSET   NOTSET  NOTSETNOTSET
PIO Mode:   NOTSETNOTSET   NOTSETNOTSET

...

I also have the kernel config you mentioned ... also even if the hdparm works,
having auto-activation on boot is really the ideal.

On Fri, Nov 16, 2001 at 10:57:57AM -0800, nate wrote:
> Hank Marquardt said:
> 
> > I've found a couple links for install issues related to UDMA, but
> > that isn't the  problem, the install went fine I just want them to
> > talk UDMA -- I know it's not working as hdparm reports 3.68Mbs as
> > it's speed:(
> >
> 
> im not sure if the 2.4 kernel has this feature but
> 2.2. does. check proc to see if its turned on or not:
> [EMAIL PROTECTED]:/proc/ide$ cat pdc202xx
> 
> PDC20267 Chipset.
> --- General Status
> -Burst Mode  
> : enabledHost Mode: Normal
> Bus Clocking : 66 External
> IO pad select: 10 mA
> Status Polling Period: 4
> Interrupt Check Status Polling Delay : 0
> --- Primary Channel  Secondary Channel
> -enabled  enabled66 
> Clocking enabled  enabled
>Mode PCI Mode PCI
> FIFO Empty   FIFO Empty
> --- drive0 - drive1  drive0 --
> drive1 --DMA enabled:yes  yes yes 
>  yesDMA Mode:   UDMA 4   NOTSET  UDMA 4   
>  NOTSET
> PIO Mode:   PIO 4NOTSET   PIO 4NOTSET
> 
> also in my kernel config i have:
> CONFIG_IDEDMA_AUTO=y
> 
> 
> there is a way to turn dma on via hdparm ..check the
> help, i dont have it installed.
> 
> nate
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Hank Marquardt <[EMAIL PROTECTED]>
http://web.yerpso.net

Web & Database Development in PHP, MySQL/PostgreSQL
Small Office Networking Solutions - Debian GNU/Linux & FreeBSD
PHP Instructor - International Webmasters Assn./HTML Writers Guild 
*** Beginning PHP -- Starts November 5, 2001 
*** See http://www.hwg.org/services/classes



Re: Help for the UDMAmentally challenged ...

2001-11-16 Thread nate
Hank Marquardt said:

> I've found a couple links for install issues related to UDMA, but
> that isn't the  problem, the install went fine I just want them to
> talk UDMA -- I know it's not working as hdparm reports 3.68Mbs as
> it's speed:(
>

im not sure if the 2.4 kernel has this feature but
2.2. does. check proc to see if its turned on or not:
[EMAIL PROTECTED]:/proc/ide$ cat pdc202xx

PDC20267 Chipset.
--- General Status
-Burst Mode  
: enabledHost Mode: Normal
Bus Clocking : 66 External
IO pad select: 10 mA
Status Polling Period: 4
Interrupt Check Status Polling Delay : 0
--- Primary Channel  Secondary Channel
-enabled  enabled66 
Clocking enabled  enabled
   Mode PCI Mode PCI
FIFO Empty   FIFO Empty
--- drive0 - drive1  drive0 --
drive1 --DMA enabled:yes  yes yes 
 yesDMA Mode:   UDMA 4   NOTSET  UDMA 4
NOTSET
PIO Mode:   PIO 4NOTSET   PIO 4NOTSET

also in my kernel config i have:
CONFIG_IDEDMA_AUTO=y


there is a way to turn dma on via hdparm ..check the
help, i dont have it installed.

nate