Re: How to disable UDMA for HDD?

2004-08-13 Thread Stevan Tiefert
On Thursday 12 August 2004 19:11, Chuck Swiger wrote:
 Stevan Tiefert wrote:
 [ ... ]

  you did not understood what I wanted. I needed a suggestion how to
  install FreeBSD without UDMA-support. Your suggestion is only useful if
  the system is running, but that was not the case!

 What happens if you configure the BIOS of the system not to use UDMA modes
 for that device?  Most BIOSes will let you control individual devices, so
 set whatever it is to PIO4; otherwise, disable UDMA for everything long
 enough to complete the install, and then tweak things from there.

Hello Chuck,

it is right, if you say that BIOSes provide switching between PIO0 to PIO4, 
but there is no way to control UDMA in a BIOS. Anyway, it doesn't matter, 
because every Operating System (without DOS) is taking control after the 
bootstrap over the hardware and even FreeBSD. If the kernel is taking 
control, switches have to take in the kernel described in the e-mail from 
Nathan at the loader prompt:

set hw.ata.ata_dma=0

Bye
Stevan Tiefert
-- 
deltree /y c:\windows
My suggestion to solve all your problems!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-12 Thread Chuck Swiger
Stevan Tiefert wrote:
[ ... ]
you did not understood what I wanted. I needed a suggestion how to install 
FreeBSD without UDMA-support. Your suggestion is only useful if the system is 
running, but that was not the case!
What happens if you configure the BIOS of the system not to use UDMA modes for 
that device?  Most BIOSes will let you control individual devices, so set 
whatever it is to PIO4; otherwise, disable UDMA for everything long enough to 
complete the install, and then tweak things from there.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-11 Thread Matt H
On Tue, 10 Aug 2004 09:08:29 +0200, Stevan Tiefert
[EMAIL PROTECTED] wrote:
SNIP
 set hw.ata.ata_dma=0
 
 Now it is possible to install FreeBSD!
 
 Thanks very much!
 
 
 Mr.
 Stevan Tiefert
 

Is there a way to disable DMA for a single hard drive, instead of all
IDE devices?

-- 
Matt H [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-11 Thread Mark
Matt H wrote:

 On Tue, 10 Aug 2004 09:08:29 +0200, Stevan Tiefert
 [EMAIL PROTECTED] wrote:
 SNIP
 set hw.ata.ata_dma=0

 Now it is possible to install FreeBSD!

 Thanks very much!


 Mr.
 Stevan Tiefert

 Is there a way to disable DMA for a single hard drive, instead of all
 IDE devices?

How about this: /sbin/atacontrol mode 0 PIO4 XXX? (if you want UDMA
disabled on the master at channel 0).

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-11 Thread Stevan Tiefert
On Wednesday 11 August 2004 16:46, Matt H wrote:
 On Tue, 10 Aug 2004 09:08:29 +0200, Stevan Tiefert
 [EMAIL PROTECTED] wrote:
 SNIP

  set hw.ata.ata_dma=0
 
  Now it is possible to install FreeBSD!
 
  Thanks very much!
 
 
  Mr.
  Stevan Tiefert

 Is there a way to disable DMA for a single hard drive, instead of all
 IDE devices?
Hello,

I don't know it.

Bye
Stevan Tiefert

-- 
deltree /y c:\windows
My suggestion to solve all your problems!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-11 Thread Stevan Tiefert
On Wednesday 11 August 2004 16:55, Mark wrote:
 Matt H wrote:
  On Tue, 10 Aug 2004 09:08:29 +0200, Stevan Tiefert
  [EMAIL PROTECTED] wrote:
  SNIP
 
  set hw.ata.ata_dma=0
 
  Now it is possible to install FreeBSD!
 
  Thanks very much!
 
 
  Mr.
  Stevan Tiefert
 
  Is there a way to disable DMA for a single hard drive, instead of all
  IDE devices?

 How about this: /sbin/atacontrol mode 0 PIO4 XXX? (if you want UDMA
 disabled on the master at channel 0).

 - Mark

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
Hello Mark,

you did not understood what I wanted. I needed a suggestion how to install 
FreeBSD without UDMA-support. Your suggestion is only useful if the system is 
running, but that was not the case!

Thanks to Nathan!

Bye
Stevan Tiefert

-- 
deltree /y c:\windows
My suggestion to solve all your problems!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disable UDMA for HDD?

2004-08-09 Thread Nathan Kinkade
On Mon, Aug 09, 2004 at 11:10:40AM +0200, Stevan Tiefert wrote:
 Hello,
 
 when I try to install FreeBSD 5.2.1 on my computer with HDD on ata0-master and 
 CD-ROM on ata0-slave I got five interessting messages during the 
 boot-process:
 
 ...
 ad0: 4124MB SAMSUNG VA34323A [8938/15/63] at ata0-master UDMA33
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=8446347
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
 ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=8446347
 ad0: WARNING - READ_DMA interrupt was seen but taskqueue stalled LBA=8446347
 
 then the computer stops and he resists in this state till now...
 OpenBSD downgrades this DMA-thing automaticly and the CD-ROM seems not 
 supporting UDMA and I assume to set at bootphase 3 a device.hint but I don't 
 know which one?
 
 With regards
 Mr.
 Stevan Tiefert

Here are the two pertinent sysctl variables for your ATA hard disk and
CDROM, respectively:

hw.ata.ata_dma: 1
hw.ata.atapi_dma: 0

These variables are read only once the kernel has been booted, so if you
want to try setting them manually you'll have to put them into
/boot/loader.conf as something like:

hw.ata.ata_dma=0

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD8527E49


pgpYhBXqPCvyD.pgp
Description: PGP signature