From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 10:59:17 2005 Return-Path: X-Original-To: current@freebsd.org 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 B15CD16A41F for ; Tue, 25 Oct 2005 10:59:17 +0000 (GMT) (envelope-from mike@v.gz.ru) Received: from v.gz.ru (gw-gpt.v.gz.ru [195.209.41.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC3343D49 for ; Tue, 25 Oct 2005 10:59:16 +0000 (GMT) (envelope-from mike@v.gz.ru) Received: from kva (kva.mics.msu.su [158.250.28.130]) (authenticated bits=0) by v.gz.ru (8.13.4/8.13.4) with ESMTP id j9PAxDuW019583 for ; Tue, 25 Oct 2005 14:59:14 +0400 (MSD) (envelope-from mike@v.gz.ru) Message-ID: <025401c5d953$47004480$821cfa9e@mics.msu.su> From: "Mike G" To: Date: Tue, 25 Oct 2005 15:00:14 +0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 FL-Build: Fidolook 2002 (SL) 6.0.2600.78 - 24/10/2002 21:18:29 X-Antivirus: Dr.Web (R) for Mail Servers on virgin.v.gz.ru host X-Antivirus-Code: 100000 X-Mailman-Approved-At: Tue, 25 Oct 2005 17:28:00 +0000 Cc: Subject: uart and puc attach conflict X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 10:59:17 -0000 Hello! I have a problem with multi-port card based on Nm9845 chip. It's a card with 4 com-ports. It perfectly works with puc(4) and sio(4) drivers if they compiled into kernel. or with puc(4) and uart(4) drivers if they loaded manualy. But if puc(4) and uart(4) are compiled into kernel or loaded from loader.conf - problem appears. Instead of puc(4) attaching to the device, and uarts attaching to the puc0, I see that uart(4) driver attaches to the device itself. If I force puc(4) to attach first using kldload, then everything goes OK. It seems to be similar to the next problem report >Number: 87845 >Category: kern >Synopsis: sio(4) should on probe return BUS_PROBE_GENERIC to allow >other drivers to attach [fix] There is my /var/run/dmesg.boot if both puc(4) and uart(4) conpiled into kernel mike@$ cat /var/run/dmesg.boot Copyright (c) 1992-2005 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 6.0-RC1 #14: Sun Oct 23 22:06:27 MSD 2005 root@:/usr/obj/usr/src/sys/GUARDIAN ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.34-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 536805376 (511 MB) avail memory = 515268608 (491 MB) ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR pci_link0: irq 10 on acpi0 pci_link1: irq 3 on acpi0 pci_link2: irq 5 on acpi0 pci_link3: on acpi0 pci_link4: on acpi0 pci_link5: irq 11 on acpi0 pci_link6: on acpi0 pci_link7: irq 11 on acpi0 pci_link8: on acpi0 pci_link9: irq 5 on acpi0 pci_link10: irq 10 on acpi0 pci_link11: irq 3 on acpi0 pci_link12: on acpi0 pci_link13: irq 10 on acpi0 pci_link14: irq 11 on acpi0 pci_link15: on acpi0 pci_link16: irq 0 on acpi0 pci_link17: irq 0 on acpi0 pci_link18: irq 0 on acpi0 pci_link19: irq 0 on acpi0 pci_link20: irq 16 on acpi0 pci_link21: irq 0 on acpi0 pci_link22: irq 0 on acpi0 pci_link23: irq 0 on acpi0 pci_link24: irq 0 on acpi0 pci_link25: irq 0 on acpi0 pci_link26: irq 0 on acpi0 pci_link27: irq 0 on acpi0 pci_link28: irq 0 on acpi0 pci_link29: irq 0 on acpi0 pci_link30: irq 0 on acpi0 pci_link31: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfb00-0xfb0f at device 6.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf600-0xf60f mem 0xfebfc000-0xfebfcfff irq 21 at device 7.0 on pci0 ata2: on atapci1 ata3: on atapci1 atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xf100-0xf10f mem 0xfebfb000-0xfebfbfff irq 22 at device 8.0 on pci0 ata4: on atapci2 ata5: on atapci2 pcib1: at device 9.0 on pci0 pci_link17: BIOS IRQ 21 for 0.7.INTA is invalid pci_link18: BIOS IRQ 22 for 0.8.INTA is invalid pci1: on pcib1 uart0: port 0xdf00-0xdf07,0xde00-0xde07,0xdd00-0xdd07,0xdc00-0xdc07,0xdb00-0xdb07,0xda00-0xda0f irq 16 at device 6.0 on pci1 pci1: at device 7.0 (no driver attached) em0: port 0xd900-0xd93f mem 0xfbfe0000-0xfbffffff,0xfbfc0000-0xfbfdffff irq 18 at device 8.0 on pci1 em0: Ethernet address: 00:07:e9:0f:33:c7 em0: Speed:N/A Duplex:N/A nve0: port 0xf000-0xf007 mem 0xfebfa000-0xfebfafff irq 23 at device 10.0 on pci0 nve0: Ethernet address 00:13:d3:38:9a:67 miibus0: on nve0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:13:d3:38:9a:67 nve0: [GIANT-LOCKED] pcib2: at device 11.0 on pci0 pci2: on pcib2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pcib4: at device 13.0 on pci0 pci4: on pcib4 pcib5: at device 14.0 on pci0 pci5: on pcib5 acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] uart1: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 ppc0: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xcf000-0xd07ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1808343875 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 1000 packets/entry by default ad0: 190782MB at ata2-master SATA150 ad1: 190782MB at ata3-master SATA150 ar0: 190782MB status: READY ar0: disk0 READY (master) using ad0 at ata2-master ar0: disk1 READY (mirror) using ad1 at ata3-master Trying to mount root from ufs:/dev/ar0s1a Mike G. -- MSU Microelectronics E-mail: mike@v.gz.ru