Date: Tue, 25 Oct 2005 15:00:14 +0400 From: "Mike G" <mike@v.gz.ru> To: <current@freebsd.org> Subject: uart and puc attach conflict Message-ID: <025401c5d953$47004480$821cfa9e@mics.msu.su>
next in thread | raw e-mail | index | archive | help
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: <Nvidia AWRDACPI> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow> real memory = 536805376 (511 MB) avail memory = 515268608 (491 MB) ioapic0 <Version 1.1> irqs 0-23 on motherboard acpi0: <Nvidia AWRDACPI> 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: <ACPI PCI Link LNK1> irq 10 on acpi0 pci_link1: <ACPI PCI Link LNK2> irq 3 on acpi0 pci_link2: <ACPI PCI Link LNK3> irq 5 on acpi0 pci_link3: <ACPI PCI Link LNK4> on acpi0 pci_link4: <ACPI PCI Link LNK5> on acpi0 pci_link5: <ACPI PCI Link LUBA> irq 11 on acpi0 pci_link6: <ACPI PCI Link LUBB> on acpi0 pci_link7: <ACPI PCI Link LMAC> irq 11 on acpi0 pci_link8: <ACPI PCI Link LACI> on acpi0 pci_link9: <ACPI PCI Link LMCI> irq 5 on acpi0 pci_link10: <ACPI PCI Link LSMB> irq 10 on acpi0 pci_link11: <ACPI PCI Link LUB2> irq 3 on acpi0 pci_link12: <ACPI PCI Link LIDE> on acpi0 pci_link13: <ACPI PCI Link LSID> irq 10 on acpi0 pci_link14: <ACPI PCI Link LFID> irq 11 on acpi0 pci_link15: <ACPI PCI Link LPCA> on acpi0 pci_link16: <ACPI PCI Link APC1> irq 0 on acpi0 pci_link17: <ACPI PCI Link APC2> irq 0 on acpi0 pci_link18: <ACPI PCI Link APC3> irq 0 on acpi0 pci_link19: <ACPI PCI Link APC4> irq 0 on acpi0 pci_link20: <ACPI PCI Link APC5> irq 16 on acpi0 pci_link21: <ACPI PCI Link APCF> irq 0 on acpi0 pci_link22: <ACPI PCI Link APCG> irq 0 on acpi0 pci_link23: <ACPI PCI Link APCH> irq 0 on acpi0 pci_link24: <ACPI PCI Link APCJ> irq 0 on acpi0 pci_link25: <ACPI PCI Link APCK> irq 0 on acpi0 pci_link26: <ACPI PCI Link APCS> irq 0 on acpi0 pci_link27: <ACPI PCI Link APCL> irq 0 on acpi0 pci_link28: <ACPI PCI Link APCZ> irq 0 on acpi0 pci_link29: <ACPI PCI Link APSI> irq 0 on acpi0 pci_link30: <ACPI PCI Link APSJ> irq 0 on acpi0 pci_link31: <ACPI PCI Link APCP> 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: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <memory> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) atapci0: <nVidia nForce4 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfb00-0xfb0f at device 6.0 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <nVidia nForce4 SATA150 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xf600-0xf60f mem 0xfebfc000-0xfebfcfff irq 21 at device 7.0 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 atapci2: <nVidia nForce4 SATA150 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xf100-0xf10f mem 0xfebfb000-0xfebfbfff irq 22 at device 8.0 on pci0 ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 pcib1: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> on pcib1 uart0: <Non-standard ns8250 class UART with FIFOs> port 0xdf00-0xdf07,0xde00-0xde07,0xdd00-0xdd07,0xdc00-0xdc07,0xdb00-0xdb07,0xda00-0xda0f irq 16 at device 6.0 on pci1 pci1: <display, VGA> at device 7.0 (no driver attached) em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> 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: <NVIDIA nForce MCP9 Networking Adapter> port 0xf000-0xf007 mem 0xfebfa000-0xfebfafff irq 23 at device 10.0 on pci0 nve0: Ethernet address 00:13:d3:38:9a:67 miibus0: <MII bus> on nve0 ukphy0: <Generic IEEE 802.3u media interface> 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: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0 pci4: <ACPI PCI bus> on pcib4 pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0 pci5: <ACPI PCI bus> on pcib5 acpi_tz0: <Thermal Zone> on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] uart1: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xcf000-0xd07ff on isa0 sc0: <System console> 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: <Generic ISA VGA> 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 <Seagate ST3200826AS 3.03> at ata2-master SATA150 ad1: 190782MB <Seagate ST3200826AS 3.03> at ata3-master SATA150 ar0: 190782MB <nVidia MediaShield RAID1> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?025401c5d953$47004480$821cfa9e>