Date: Sun, 16 Mar 2003 23:58:49 +0900 (JST) From: FUJITA Kazutoshi <fujita@soum.co.jp> To: sos@spider.deepcore.dk Cc: der_julian@web.de, freebsd-current@FreeBSD.ORG Subject: Re: SiS5591(?) ATA Message-ID: <20030316.235849.74750864.fujita@soum.co.jp> In-Reply-To: <200303161050.h2GAoVor048801@spider.deepcore.dk> References: <XFMail.20030315212945.der_julian@web.de> <200303161050.h2GAoVor048801@spider.deepcore.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Soeren Schmidt <sos@spider.deepcore.dk> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> 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: <math processor> on motherboard npx0: INT 16 interface acpi0: <AMIINT SiS645XX> 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: <CPU> port 0x530-0x537 on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 2.0 on pci0 isa0: <ISA bus> on isab0 ohci0: <SiS 5571 USB controller> mem 0xdfffe000-0xdfffefff irq 11 at device 2.2 on pci0 usb0: OHCI version 1.0, legacy support usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xdffff000-0xdfffffff irq 5 at device 2.3 on pci0 usb1: OHCI version 1.0, legacy support usb1: <SiS 5571 USB controller> 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: <SiS 961 UDMA100 controller> 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: <SiS 7012> port 0xd800-0xd87f,0xdc00-0xdcff irq 11 at device 2.7 on pci0 pcm0: <C-Media Electronics CMI9738 AC97 Codec> sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xdfff9000-0xdfff9fff irq 5 at device 3.0 on pci0 sis0: Ethernet address: 00:07:95:c0:de:e2 miibus0: <MII bus> on sis0 rlphy0: <RTL8201L 10/100 media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fwohci0: <VIA VT6306> 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: <IEEE1394(FireWire) bus> on fwohci0 if_fwe0: <Ethernet over FireWire> on firewire0 if_fwe0: Fake Ethernet address: 02:40:26:04:21:f1 sbp0: <SBP2/SCSI over firewire> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port 0xcc00-0xcc3f mem 0xdff80000-0xdff9ffff,0xdffa0000-0xdffbffff irq 11 at device 10.0 on pci0 em0: Speed:100 Mbps Duplex:Full fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> 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: <i82555 10/100 media interface> on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto acpi_button1: <Sleep Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> 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: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 fdc0: cmd 3 failed at out byte 1 of 3 orm0: <Option ROMs> at iomem 0xcf000-0xd4fff,0xcd800-0xcefff,0xcc000-0xcd7ff,0xc0000-0xcbfff on isa0 pmtimer0 on isa0 fdc0: cannot reserve I/O port range (6 ports) sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% 1 reg 0x48=08 ad0: DMA limited to UDMA33, non-ATA66 cable or device Allocating major#251 to "devstat" ad0: 78533MB <IC35L080AVVA07-0> [159560/16/63] at ata0-master UDMA33 1 reg 0x48=08 ad1: DMA limited to UDMA33, non-ATA66 cable or device ad1: 39266MB <IC35L040AVER07-0> [79780/16/63] at ata0-slave UDMA33 1 reg 0x48=08 ata1-master: DMA limited to UDMA33, non-ATA66 cable or device acd0: DVD-R <MATSHITADVD-RAM SW-9571> at ata1-master UDMA33 pcm0: measured ac97 link rate at 682666666 Hz Mounting root from ufs:/dev/ad0s1a Regards, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316.235849.74750864.fujita>