kern/51410: SiS 5591 ATA133 controller not supported

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Fri Apr 25 06:50:16 PDT 2003


>Number:         51410
>Category:       kern
>Synopsis:       SiS 5591 ATA133 controller not supported
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 25 06:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #2: Fri Feb 7 12:48:00 CET 2003 root at menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


>Description:
The machine has an SiS 5591 onboard ATA133 controller and a disk, a DVD-ROM
and a CDRW attached. It will lock on booting with "Resetting devices..." on
detecting the ATA disk. Disabling DMA in /boot/loader.conf or in BIOS works
around this, but obviously slows down the machine.
Last changes in sys/dev/ata: March 13th.

Booting a new kernel (notice the wrong identification string):

atapci0: <SiS 5591 ATA33 controller> port 0xb400-0xb40f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 irq 5 at device 2.5 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xb400
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xb408
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 14 eb
ata1: mask=03 stat0=00 stat1=00
ata1: devices=0c
ata1: at 0x170 irq 15 on atapci0
...
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
...
ad0: success setting WDMA2 on SiS chip
Creating DISK ad0
*** Resetting devices...*

Booting a kernel containing the patched PCI-ID:

atapci0: <SiS 5591 ATA133 controller> port 0xb400-0xb40f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 irq 5 at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 78167MB <Maxtor 4R080J0> [158816/16/63] at ata0-master UDMA100
acd0: DVD-ROM <PLAH at B@ @D\^D P\^D\^E\^D000> at ata1-master PIO4
acd1: CD-RW <PLEXTOR CD-R PX-W4012A> at ata1-slave PIO4

Output from pciconf -l:

agp0 at pci0:0:0:	class=0x060000 card=0x80811043 chip=0x06461039 rev=0x00 hdr=0x00
pcib2 at pci0:1:0:	class=0x060400 card=0x00000000 chip=0x00011039 rev=0x00 hdr=0x01
isab0 at pci0:2:0:	class=0x060100 card=0x00000000 chip=0x09621039 rev=0x04 hdr=0x00
atapci0 at pci0:2:5:	class=0x01018a card=0x807a1043 chip=0x55131039 rev=0x00 hdr=0x00
ohci0 at pci0:3:0:	class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00
ohci1 at pci0:3:1:	class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00
ohci2 at pci0:3:2:	class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00
none0 at pci0:3:3:	class=0x0c0320 card=0x807a1043 chip=0x70021039 rev=0x00 hdr=0x00
pcm0 at pci0:5:0:	class=0x040100 card=0x80e21043 chip=0x011113f6 rev=0x10 hdr=0x00
fxp0 at pci0:9:0:	class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00
amd0 at pci0:10:0:	class=0x010000 card=0x00000000 chip=0x20201022 rev=0x10 hdr=0x00
drm0 at pci1:0:0:	class=0x030000 card=0x0f84102b chip=0x2527102b rev=0x01 hdr=0x00

>How-To-Repeat:
Track -STABLE, boot new kernel
>Fix:
Weeeeeeell, hardwiring the PCI-ID in sys/dev/ata works, but according
to sos@ could break any minute.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list