Re: Testers wanted for SiS 5591 code

1999-02-27 Thread Greg Lehey
On Wednesday, 27 January 1999 at 18:17:20 -0800, Chris Piazza wrote:
> On 28-Feb-99 Greg Lehey wrote:
>> I've been given some code for recognizing and initializing Sis 5591
>> chipsets.  In particular, it solves a recently introduced problem with
>> IDE Ultra DMA.  It works fine for me, modulo a couple of puzzling
>> messages in the verbose probes, which I'll remove when I've had time
>> to study the data sheet.  What I want to do now is to get it looked at
>> by as many people as possible before committing it.
>>
>> If you have a motherboard with this chipset (and no other, not even
>> other SiS chipsets), you can pick up
>> ftp://ftp.lemis.com/pub/ide_pci.c.  It's based on the current (since
>> 17 January) version and goes in /sys/pci.  If you do,
>> please let me know how it works for you.
>
> Great, I was waiting for this..
>
> Seems to work fine:

Good to hear.

> wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa000a000 on isa
> wdc0: unit 0 (wd0): , DMA, 32-bit
> wd0: 2442MB (5001696 sectors), 4962 cyls, 16 heads, 63 S/T, 512 B/S
> wdc0: unit 1 (wd1): , DMA, 32-bit
> wd1: 9765MB (2536 sectors), 19841 cyls, 16 heads, 63 S/T, 512 B/S
> wdc1 at 0x170-0x177 irq 15 on isa
> wdc1: unit 0 (atapi): , removable, intr, dma, iordis
> acd0: drive speed 2066KB/sec, 256KB cache
> acd0: supported read types: CD-DA
> acd0: Audio: play, 255 volume levels
> acd0: Mechanism: ejectable tray
> acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked

Try enabling UDMA on wdc1 and see if things still work OK.  You could
also enable multi-block DMA on both controllers.  I use the flags
0xa0ffa0ff, which does both of these things.  Also, if you could send
me the output of a verbose boot, it would be interesting.
Unfortunately, you'll need to change your kernel config to save that
much output:

options "MSGBUF_SIZE=32768" # big msgbuf

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



RE: Testers wanted for SiS 5591 code

1999-02-27 Thread Chris Piazza
On 28-Feb-99 Greg Lehey wrote:
> I've been given some code for recognizing and initializing Sis 5591
> chipsets.  In particular, it solves a recently introduced problem with
> IDE Ultra DMA.  It works fine for me, modulo a couple of puzzling
> messages in the verbose probes, which I'll remove when I've had time
> to study the data sheet.  What I want to do now is to get it looked at
> by as many people as possible before committing it.
> 
> If you have a motherboard with this chipset (and no other, not even
> other SiS chipsets), you can pick up
> ftp://ftp.lemis.com/pub/ide_pci.c.  It's based on the current (since
> 17 January) version and goes in /sys/pci.  If you do,
> please let me know how it works for you.

Great, I was waiting for this..

Seems to work fine:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #77: Sat Feb 27 18:09:34 PST 1999
n...@norn.ca.eu.org:/usr/src/sys/compile/NORN
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 167046751 Hz
CPU: Pentium/P54C (167.05-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf
real memory  = 67043328 (65472K bytes)
avail memory = 62689280 (61220K bytes)
Preloaded elf kernel "kernel" at 0xf026c000.
Probing for devices on PCI bus 0:
chip0:  rev 0x02 on pci0.0.0
ide_pci0:  rev 0xd0 int a irq 14 on pci0.0.1
chip1:  rev 0x01 on pci0.1.0
chip2:  rev 0x00 on pci0.2.0
vga0:  rev 0x41 on pci0.9.0
es1:  rev 0x00 int a irq 11 on pci0.10.0
pcm1: using I/O space register mapping at 0xe400
de0:  rev 0x21 int a irq 10 on pci0.11.0
de0: SMC 21041 [10Mb/s] pass 2.1
de0: address 00:e0:29:10:af:8a
Probing for devices on PCI bus 1:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
ppc0 at 0x378 irq 7 on isa
ppc0: Winbond chipset (NIBBLE-only) in COMPATIBLE mode
plip0:  on ppbus 0
lpt0:  on ppbus 0
lpt0: Interrupt-driven port
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa000a000 on isa
wdc0: unit 0 (wd0): , DMA, 32-bit
wd0: 2442MB (5001696 sectors), 4962 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): , DMA, 32-bit
wd1: 9765MB (2536 sectors), 19841 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): , removable, intr, dma, iordis
acd0: drive speed 2066KB/sec, 256KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked
vga0 at 0x3b0-0x3df maddr 0xa msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
de0: enabling 10baseT port
Intel Pentium detected, installing workaround for F00F bug
IP packet filtering initialized, divert disabled, rule-based forwarding disabled
, default to accept, logging limited to 100 packets/entry
de0 XXX: driver didn't set ifq_maxlen
changing root device to wd1s1a
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates

n...@norn (~)> dd if=/dev/zero of=testfile bs=32k count=1000
1000+0 records in
1000+0 records out
32768000 bytes transferred in 2.315757 secs (14150016 bytes/sec)



---
Chris Piazza   Abbotsford, BC, Canada
cpia...@home.net
finger n...@norn.ca.eu.org for PGP key


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message



Testers wanted for SiS 5591 code

1999-02-27 Thread Greg Lehey
I've been given some code for recognizing and initializing Sis 5591
chipsets.  In particular, it solves a recently introduced problem with
IDE Ultra DMA.  It works fine for me, modulo a couple of puzzling
messages in the verbose probes, which I'll remove when I've had time
to study the data sheet.  What I want to do now is to get it looked at
by as many people as possible before committing it.

If you have a motherboard with this chipset (and no other, not even
other SiS chipsets), you can pick up
ftp://ftp.lemis.com/pub/ide_pci.c.  It's based on the current (since
17 January) version and goes in /sys/pci.  If you do,
please let me know how it works for you.

Greg
--
See complete headers for address, home page and phone numbers
finger g...@lemis.com for PGP public key


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message