Re: Hard drive problem... S-ATA/ATA and DMA error messages

2004-07-06 Thread Rickard Borgmäster
On Mon, 5 Jul 2004 20:03:37 -0700 (PDT)
peter lageotakes [EMAIL PROTECTED] hit the keyboard and punched:

 --- Warren Block [EMAIL PROTECTED] wrote:
  
  -CURRENT (5.x) does have support for SATA, and may
  (probably does) 
  work with the 8237.  (I haven't tried it on this
  motherboard.)
  
  -Warren Block * Rapid City, South Dakota USA
  
 Should this be issued as a PR?  According to the
 hardware notes for 4.10:
 http://www.freebsd.org/releases/4.10R/hardware-i386.html
 VIA 8233, 8235 ATA133, 8237 SATA150.
 
 Pete

PR? What is that...?

Are you suggesting that this is a bug in the kernel/driver rather than
unsupported hardware? Well, dmesg atleast identifies the correct
chipset/driver and it works. Bad, but it works. UDMA/33 isn't so nice and
if I start a high-load disk operation the system is likely to freeze
completely.

If this is a bug, to whom/where should I report it?

-- 

Rickard

   .--..--.
.. |  ||  | .-.
|   Rickard Borgmäster   | |  ||  |/  /
| [EMAIL PROTECTED] |   .-^  |  .--.  | 
| http://doktorn.sub.nu/ |  (  o  | ( () ) |  |\  \
`'  `-'  `--'  `--' `--'


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


Re: Hard drive problem... S-ATA/ATA and DMA error messages

2004-07-05 Thread Warren Block
On Tue, 6 Jul 2004, Rickard [ISO-8859-1] Borgmäster wrote:
atapci1: VIA 8237 ATA133 controller port 0xfc00-0xfc0f at device 15.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
[...]
ad0: 156334MB Maxtor 6Y160P0 [317632/16/63] at ata0-master UDMA133
ad4: DMA limited to UDMA33, non-ATA66 cable or device
ad4: 152627MB ST3160023AS [310101/16/63] at ata2-master UDMA33
How come FreeBSD kernel thinks my S-ATA disk is only capable of UDMA/33?
FreeBSD 4.x doesn't have specific support for the VIA 8237, and so 
doesn't properly realize that it should be able to do the faster DMA 
modes.

Next thing is that I today tried to move ~70GB of data from ad0
(ATA/UDMA133) to ad4 (S-ATA) disk. During the cp process I got these
messages:
Jul  5 15:13:18 kern.crit studsboll /kernel: ad0s1e: hard error reading
fsbn 390440063 of 19522-195220255 (ad0s1 bn 390440063; cn 24303 tn 196
sn 20) trying PIO mode
Jul  5 15:13:18 kern.crit studsboll /kernel: ad0: DMA problem fallback
to PIO mode
My MSI motherboard with the same VIA 8237 does the same thing.
-CURRENT (5.x) does have support for SATA, and may (probably does) 
work with the 8237.  (I haven't tried it on this motherboard.)

-Warren Block * Rapid City, South Dakota USA___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard drive problem... S-ATA/ATA and DMA error messages

2004-07-05 Thread Rickard Borgmäster
On Mon, 5 Jul 2004 18:35:52 -0600 (MDT)
Warren Block [EMAIL PROTECTED] hit the keyboard and punched:

 FreeBSD 4.x doesn't have specific support for the VIA 8237, and so 
 doesn't properly realize that it should be able to do the faster DMA 
 modes.
 
 My MSI motherboard with the same VIA 8237 does the same thing.
 
 -CURRENT (5.x) does have support for SATA, and may (probably does) 
 work with the 8237.  (I haven't tried it on this motherboard.)

Doh! Should have checked that before... now I'm stuck with a system that
more or less freezes during high-load disk operations :-

Any workarounds?

-- 

Rickard

   .--..--.
.. |  ||  | .-.
|   Rickard Borgmäster   | |  ||  |/  /
| [EMAIL PROTECTED] |   .-^  |  .--.  | 
| http://doktorn.sub.nu/ |  (  o  | ( () ) |  |\  \
`'  `-'  `--'  `--' `--'


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


Re: Hard drive problem... S-ATA/ATA and DMA error messages

2004-07-05 Thread peter lageotakes
--- Warren Block [EMAIL PROTECTED] wrote:
 On Tue, 6 Jul 2004, Rickard [ISO-8859-1] Borgmäster
 wrote:
 
  atapci1: VIA 8237 ATA133 controller port
 0xfc00-0xfc0f at device 15.1 on
  pci0
  ata0: at 0x1f0 irq 14 on atapci1
  ata1: at 0x170 irq 15 on atapci1
  [...]
  ad0: 156334MB Maxtor 6Y160P0 [317632/16/63] at
 ata0-master UDMA133
  ad4: DMA limited to UDMA33, non-ATA66 cable or
 device
  ad4: 152627MB ST3160023AS [310101/16/63] at
 ata2-master UDMA33
 
  How come FreeBSD kernel thinks my S-ATA disk is
 only capable of UDMA/33?
 
 FreeBSD 4.x doesn't have specific support for the
 VIA 8237, and so 
 doesn't properly realize that it should be able to
 do the faster DMA 
 modes.
 
  Next thing is that I today tried to move ~70GB of
 data from ad0
  (ATA/UDMA133) to ad4 (S-ATA) disk. During the cp
 process I got these
  messages:
  Jul  5 15:13:18 kern.crit studsboll /kernel:
 ad0s1e: hard error reading
  fsbn 390440063 of 19522-195220255 (ad0s1 bn
 390440063; cn 24303 tn 196
  sn 20) trying PIO mode
  Jul  5 15:13:18 kern.crit studsboll /kernel:
 ad0: DMA problem fallback
  to PIO mode
 
 My MSI motherboard with the same VIA 8237 does the
 same thing.
 
 -CURRENT (5.x) does have support for SATA, and may
 (probably does) 
 work with the 8237.  (I haven't tried it on this
 motherboard.)
 
 -Warren Block * Rapid City, South Dakota USA
___
 [EMAIL PROTECTED] mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
Should this be issued as a PR?  According to the
hardware notes for 4.10:
http://www.freebsd.org/releases/4.10R/hardware-i386.html
VIA 8233, 8235 ATA133, 8237 SATA150.

Pete

=
ESCape with VI. Cheese A La mode.



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]