From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 25 06:50:16 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3727137B401 for ; Fri, 25 Apr 2003 06:50:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3055B43FE1 for ; Fri, 25 Apr 2003 06:50:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3PDoFUp057996 for ; Fri, 25 Apr 2003 06:50:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3PDoFGS057991; Fri, 25 Apr 2003 06:50:15 -0700 (PDT) Resent-Date: Fri, 25 Apr 2003 06:50:15 -0700 (PDT) Resent-Message-Id: <200304251350.h3PDoFGS057991@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Stolz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F90337B401; Fri, 25 Apr 2003 06:47:52 -0700 (PDT) Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76FD943FAF; Fri, 25 Apr 2003 06:47:50 -0700 (PDT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5) with ESMTP id h3PDlnO32765; Fri, 25 Apr 2003 15:47:49 +0200 Received: (from stolz@localhost)h3PDln0n080840; Fri, 25 Apr 2003 15:47:49 +0200 (CEST) (envelope-from stolz) Message-Id: <200304251347.h3PDln0n080840@menelaos.informatik.rwth-aachen.de> Date: Fri, 25 Apr 2003 15:47:49 +0200 (CEST) From: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: sos@FreeBSD.org Subject: kern/51410: SiS 5591 ATA133 controller not supported X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Volker Stolz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 13:50:16 -0000 >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@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: 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: 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 [158816/16/63] at ata0-master UDMA100 acd0: DVD-ROM at ata1-master PIO4 acd1: CD-RW at ata1-slave PIO4 Output from pciconf -l: agp0@pci0:0:0: class=0x060000 card=0x80811043 chip=0x06461039 rev=0x00 hdr=0x00 pcib2@pci0:1:0: class=0x060400 card=0x00000000 chip=0x00011039 rev=0x00 hdr=0x01 isab0@pci0:2:0: class=0x060100 card=0x00000000 chip=0x09621039 rev=0x04 hdr=0x00 atapci0@pci0:2:5: class=0x01018a card=0x807a1043 chip=0x55131039 rev=0x00 hdr=0x00 ohci0@pci0:3:0: class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00 ohci1@pci0:3:1: class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00 ohci2@pci0:3:2: class=0x0c0310 card=0x807a1043 chip=0x70011039 rev=0x0f hdr=0x00 none0@pci0:3:3: class=0x0c0320 card=0x807a1043 chip=0x70021039 rev=0x00 hdr=0x00 pcm0@pci0:5:0: class=0x040100 card=0x80e21043 chip=0x011113f6 rev=0x10 hdr=0x00 fxp0@pci0:9:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00 amd0@pci0:10:0: class=0x010000 card=0x00000000 chip=0x20201022 rev=0x10 hdr=0x00 drm0@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: