From owner-freebsd-current Sun Mar 16 6:59: 1 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58FB337B401 for ; Sun, 16 Mar 2003 06:58:57 -0800 (PST) Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C088F43F93 for ; Sun, 16 Mar 2003 06:58:55 -0800 (PST) (envelope-from fujita@soum.co.jp) Received: from force.soum.co.jp (force.soum.co.jp [IPv6:3ffe:501:80a:1:a00:20ff:fef0:4c9c]) by gate.soum.co.jp (8.12.8/8.12.6) with ESMTP id h2GEwr62036792; Sun, 16 Mar 2003 23:58:54 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from vanilla.soum.co.jp (vanilla.soum.co.jp [3ffe:501:80a:1:202:b3ff:fe98:8115]) by force.soum.co.jp (8.11.6/3.7W-2001122804) with ESMTP id h2GEwox24525; Sun, 16 Mar 2003 23:58:50 +0900 (JST) Received: from localhost (localhost [::1]) by vanilla.soum.co.jp (Postfix) with ESMTP id C472D5498; Sun, 16 Mar 2003 23:58:49 +0900 (JST) Date: Sun, 16 Mar 2003 23:58:49 +0900 (JST) Message-Id: <20030316.235849.74750864.fujita@soum.co.jp> To: sos@spider.deepcore.dk Cc: der_julian@web.de, freebsd-current@FreeBSD.ORG Subject: Re: SiS5591(?) ATA From: FUJITA Kazutoshi In-Reply-To: <200303161050.h2GAoVor048801@spider.deepcore.dk> References: <200303161050.h2GAoVor048801@spider.deepcore.dk> X-PGP-PublicKey: http://www.soum.co.jp/~fujita/fujita-GnuPG-publickey.txt X-PGP-FingerPrint: 9956 2ECE 7E7D B425 EC2D D49E FEBB 3C5F 2C34 1ECA Organization: SOUM Corporation, JAPAN X-URL: http://www.soum.co.jp/ X-Mailer: Mew version 3.1 on Emacs 21.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIvU0FLQUtJKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Soeren Schmidt Subject: Re: SiS5591(?) ATA Date: Sun, 16 Mar 2003 11:50:30 +0100 (CET) Message-ID: <200303161050.h2GAoVor048801@spider.deepcore.dk> > Could I have you both try this patch and mail me the entire output og > dmesg with it applied ? (patch against a clean -current) ata-chipset.c can't be compiled which applied your patch ;-) > Index: ata-chipset.c > @@ -1576,6 +1577,7 @@ > } > } > else { > +printf("1 reg 0x48=%02x\n", pci_read_config(dev, 0x48, 1)); => printf("1 reg 0x48=%02x\n", pci_read_config(parent, 0x48, 1)); so I modified like above by hand, and compile & install kernel. The full dmesg output is followings. Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT-20030314-JPSNAP #3: Sun Mar 16 23:32:29 JST 2003 root@faithia:/usr/src/sys/i386/compile/FAITHIA Preloaded elf kernel "/boot/kernel/kernel" at 0xc0802000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08020a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2000083012 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.08-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 536805376 (511 MB) avail memory = 512778240 (489 MB) Allocating major#253 to "net" Allocating major#252 to "pci" Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31 pcibios: BIOS version 2.10 Using $PIR table, 8 entries at 0xc00f7ae0 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 2.0 on pci0 isa0: on isab0 ohci0: mem 0xdfffe000-0xdfffefff irq 11 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xdffff000-0xdfffffff irq 5 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: port 0xff00-0xff0f at device 2.5 on pci0 0 reg 0x48=08 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcm0: port 0xd800-0xd87f,0xdc00-0xdcff irq 11 at device 2.7 on pci0 pcm0: sis0: port 0xd400-0xd4ff mem 0xdfff9000-0xdfff9fff irq 5 at device 3.0 on pci0 sis0: Ethernet address: 00:07:95:c0:de:e2 miibus0: on sis0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: port 0xd000-0xd07f mem 0xdfff8800-0xdfff8fff irq 5 at device 9.0 on pci0 fwohci0: PCI bus latency was changing to 250. fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 8. fwohci0: EUI64 00:40:26:01:06:04:21:f1 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 if_fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:40:26:04:21:f1 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id = 0xc800ffc0, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) em0: port 0xcc00-0xcc3f mem 0xdff80000-0xdff9ffff,0xdffa0000-0xdffbffff irq 11 at device 10.0 on pci0 em0: Speed:100 Mbps Duplex:Full fxp0: port 0xc800-0xc83f mem 0xdff40000-0xdff5ffff,0xdfff7000-0xdfff7fff irq 5 at device 11.0 on pci0 fxp0: Ethernet address 00:02:b3:a6:83:2d inphy0: on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto acpi_button1: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 fdc0: cmd 3 failed at out byte 1 of 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 fdc0: cmd 3 failed at out byte 1 of 3 orm0: