Date: Thu, 14 Sep 2006 10:20:34 +0600 From: Boris Kovalenko <boris@tagnet.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/103250: puc failed to attach sio ports when loaded as module (NetMos NM9835) Message-ID: <E1GNiiI-0006Z2-7u@boris.nikom.ru> Resent-Message-ID: <200609140430.k8E4UNTj080665@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103250 >Category: kern >Synopsis: puc failed to attach sio ports when loaded as module (NetMos NM9835) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 14 04:30:21 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Boris Kovalenko >Release: FreeBSD 6.1-RELEASE i386 >Organization: JSC "TAGNet" >Environment: System: FreeBSD boris.nikom.ru 6.1-RELEASE FreeBSD 6.1-RELEASE #3: Thu Jul 27 14:51:35 YEKST 2006 root@boris.nikom.ru:/usr/obj/usr/src/sys/BSYS i386 >Description: I have NetMos NM9835 card. When I compile kernel with device puc, I have no problem to get card working. But when puc is loaded as module (puc_load="YES" in /boot/loader.conf) it fails to install sio ports. /var/log/messages attached, puc module is compiled with PUC_DEBUG=1 >How-To-Repeat: Remove device puc from kernel, recompile and install it. Load puc as module. >Fix: Not known for me. --- messages2. begins here --- Sep 14 09:05:51 r2 reboot: rebooted by victor Sep 14 09:05:51 r2 syslogd: exiting on signal 15 Sep 14 09:08:02 r2 syslogd: kernel boot file is /boot/kernel/kernel Sep 14 09:08:02 r2 kernel: Copyright (c) 1992-2006 The FreeBSD Project. Sep 14 09:08:02 r2 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 14 09:08:02 r2 kernel: The Regents of the University of California. All rights reserved. Sep 14 09:08:02 r2 kernel: FreeBSD 6.1-RELEASE #0: Fri Sep 8 14:23:46 YEKST 2006 Sep 14 09:08:02 r2 kernel: victor@r2.uwdnt.ru:/usr/src/sys/i386/compile/UWDNT Sep 14 09:08:02 r2 kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Sep 14 09:08:02 r2 kernel: CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.52-MHz 686-class CPU) Sep 14 09:08:02 r2 kernel: Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Sep 14 09:08:02 r2 kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Sep 14 09:08:02 r2 kernel: Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>> Sep 14 09:08:02 r2 kernel: AMD Features=0x20000000<LM> Sep 14 09:08:02 r2 kernel: Logical CPUs per core: 2 Sep 14 09:08:02 r2 kernel: real memory = 2147278848 (2047 MB) Sep 14 09:08:02 r2 kernel: avail memory = 2096254976 (1999 MB) Sep 14 09:08:02 r2 kernel: ACPI APIC Table: <A M I OEMAPIC > Sep 14 09:08:02 r2 kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Sep 14 09:08:02 r2 kernel: cpu0 (BSP): APIC ID: 0 Sep 14 09:08:02 r2 kernel: cpu1 (AP): APIC ID: 1 Sep 14 09:08:02 r2 kernel: cpu2 (AP): APIC ID: 6 Sep 14 09:08:02 r2 kernel: cpu3 (AP): APIC ID: 7 Sep 14 09:08:02 r2 kernel: ioapic0 <Version 2.0> irqs 0-23 on motherboard Sep 14 09:08:02 r2 kernel: ioapic1 <Version 2.0> irqs 24-47 on motherboard Sep 14 09:08:02 r2 kernel: kbd1 at kbdmux0 Sep 14 09:08:02 r2 kernel: acpi0: <A M I OEMRSDT> on motherboard Sep 14 09:08:02 r2 kernel: acpi0: Power Button (fixed) Sep 14 09:08:02 r2 kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Sep 14 09:08:02 r2 kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 Sep 14 09:08:02 r2 kernel: cpu0: <ACPI CPU> on acpi0 Sep 14 09:08:02 r2 kernel: acpi_throttle0: <ACPI CPU Throttling> on cpu0 Sep 14 09:08:02 r2 kernel: cpu1: <ACPI CPU> on acpi0 Sep 14 09:08:02 r2 kernel: acpi_throttle1: <ACPI CPU Throttling> on cpu1 Sep 14 09:08:02 r2 kernel: acpi_throttle1: failed to attach P_CNT Sep 14 09:08:02 r2 kernel: device_attach: acpi_throttle1 attach returned 6 Sep 14 09:08:02 r2 kernel: cpu2: <ACPI CPU> on acpi0 Sep 14 09:08:02 r2 kernel: cpu3: <ACPI CPU> on acpi0 Sep 14 09:08:02 r2 kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 Sep 14 09:08:02 r2 kernel: pci0: <ACPI PCI bus> on pcib0 Sep 14 09:08:02 r2 kernel: pci0: <unknown> at device 0.1 (no driver attached) Sep 14 09:08:02 r2 kernel: pcib1: <ACPI PCI-PCI bridge> irq 16 at device 2.0 on pci0 Sep 14 09:08:02 r2 kernel: pci1: <ACPI PCI bus> on pcib1 Sep 14 09:08:02 r2 kernel: pcib2: <ACPI PCI-PCI bridge> irq 16 at device 3.0 on pci0 Sep 14 09:08:02 r2 kernel: pci2: <ACPI PCI bus> on pcib2 Sep 14 09:08:02 r2 kernel: pcib3: <ACPI PCI-PCI bridge> at device 28.0 on pci0 Sep 14 09:08:02 r2 kernel: pci3: <ACPI PCI bus> on pcib3 Sep 14 09:08:02 r2 kernel: iir0: <Intel Integrated RAID Controller> mem 0xfbffc000-0xfbffffff irq 25 at device 3.0 on pci3 Sep 14 09:08:02 r2 kernel: iir0: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: uhci0: <UHCI (generic) USB controller> port 0xdf00-0xdf1f irq 16 at device 29.0 on pci0 Sep 14 09:08:02 r2 kernel: uhci0: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: usb0: <UHCI (generic) USB controller> on uhci0 Sep 14 09:08:02 r2 kernel: usb0: USB revision 1.0 Sep 14 09:08:02 r2 kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 14 09:08:02 r2 kernel: uhub0: 2 ports with 2 removable, self powered Sep 14 09:08:02 r2 kernel: uhci1: <UHCI (generic) USB controller> port 0xdf80-0xdf9f irq 19 at device 29.1 on pci0 Sep 14 09:08:02 r2 kernel: uhci1: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: usb1: <UHCI (generic) USB controller> on uhci1 Sep 14 09:08:02 r2 kernel: usb1: USB revision 1.0 Sep 14 09:08:02 r2 kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Sep 14 09:08:02 r2 kernel: uhub1: 2 ports with 2 removable, self powered Sep 14 09:08:02 r2 kernel: pci0: <base peripheral> at device 29.4 (no driver attached) Sep 14 09:08:02 r2 kernel: pci0: <base peripheral, interrupt controller> at device 29.5 (no driver attached) Sep 14 09:08:02 r2 kernel: ehci0: <Intel 6300ESB USB 2.0 controller> mem 0xfceffc00-0xfcefffff irq 23 at device 29.7 on pci0 Sep 14 09:08:02 r2 kernel: ehci0: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: usb2: EHCI version 1.0 Sep 14 09:08:02 r2 kernel: usb2: companion controllers, 2 ports each: usb0 usb1 Sep 14 09:08:02 r2 kernel: usb2: <Intel 6300ESB USB 2.0 controller> on ehci0 Sep 14 09:08:02 r2 kernel: usb2: USB revision 2.0 Sep 14 09:08:02 r2 kernel: uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 Sep 14 09:08:02 r2 kernel: uhub2: 4 ports with 4 removable, self powered Sep 14 09:08:02 r2 kernel: pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 Sep 14 09:08:02 r2 kernel: pci4: <ACPI PCI bus> on pcib4 Sep 14 09:08:02 r2 kernel: pci4: <display, VGA> at device 2.0 (no driver attached) Sep 14 09:08:02 r2 kernel: em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xee80-0xeebf mem 0xfeba0000-0xfebbffff irq 16 at device 3.0 on pci4 Sep 14 09:08:02 r2 kernel: em0: Ethernet address: 00:0e:0c:3e:fd:86 Sep 14 09:08:02 r2 kernel: puc0: <NetMos NM9835 Dual UART and 1284 Printer port> port 0xee00-0xee07,0xed80-0xed87,0xed00-0xed07,0xec80-0xec87,0xec00-0xec07,0xeb80-0xeb8f irq 21 at device 4.0 on pci4 Sep 14 09:08:02 r2 kernel: puc: name: NetMos NM9835 Dual UART and 1284 Printer port Sep 14 09:08:02 r2 kernel: ioapic0: routing intpin 21 (PCI IRQ 21) to vector 53 Sep 14 09:08:02 r2 kernel: puc0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xee00 Sep 14 09:08:02 r2 kernel: port rid 16 bst 0, start ee00, end ee07 Sep 14 09:08:02 r2 kernel: puc0: Reserved 0x8 bytes for rid 0x14 type 4 at 0xed80 Sep 14 09:08:02 r2 kernel: port rid 20 bst 0, start ed80, end ed87 Sep 14 09:08:02 r2 kernel: puc0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xed00 Sep 14 09:08:02 r2 kernel: port rid 24 bst 0, start ed00, end ed07 Sep 14 09:08:02 r2 kernel: puc: Using sio4 Sep 14 09:08:02 r2 kernel: puc: type 1, bar 10, offset 0 Sep 14 09:08:02 r2 kernel: puc: Using sio5 Sep 14 09:08:02 r2 kernel: puc: type 1, bar 14, offset 0 Sep 14 09:08:02 r2 kernel: puc: Using ppc0 Sep 14 09:08:02 r2 kernel: puc: type 2, bar 18, offset 0 Sep 14 09:08:02 r2 kernel: xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xeb00-0xeb7f mem 0xfebfec00-0xfebfec7f irq 20 at device 5.0 on pci4 Sep 14 09:08:02 r2 kernel: miibus0: <MII bus> on xl0 Sep 14 09:08:02 r2 kernel: xlphy0: <3Com internal media interface> on miibus0 Sep 14 09:08:02 r2 kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Sep 14 09:08:02 r2 kernel: xl0: Ethernet address: 00:a0:24:4d:c8:af Sep 14 09:08:02 r2 kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0 Sep 14 09:08:02 r2 kernel: isa0: <ISA bus> on isab0 Sep 14 09:08:02 r2 kernel: atapci0: <Intel 6300ESB UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 Sep 14 09:08:02 r2 kernel: ata0: <ATA channel 0> on atapci0 Sep 14 09:08:02 r2 kernel: ata1: <ATA channel 1> on atapci0 Sep 14 09:08:02 r2 kernel: pci0: <serial bus, SMBus> at device 31.3 (no driver attached) Sep 14 09:08:02 r2 kernel: acpi_button0: <Power Button> on acpi0 Sep 14 09:08:02 r2 kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 Sep 14 09:08:02 r2 kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0 Sep 14 09:08:02 r2 kernel: kbd0 at atkbd0 Sep 14 09:08:02 r2 kernel: atkbd0: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 Sep 14 09:08:02 r2 kernel: psm0: [GIANT-LOCKED] Sep 14 09:08:02 r2 kernel: psm0: model NetMouse/NetScroll Optical, device ID 0 Sep 14 09:08:02 r2 kernel: sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Sep 14 09:08:02 r2 kernel: sio0: type 16550A Sep 14 09:08:02 r2 kernel: sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 Sep 14 09:08:02 r2 kernel: sio1: type 16550A Sep 14 09:08:02 r2 kernel: fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 Sep 14 09:08:02 r2 kernel: fdc0: [FAST] Sep 14 09:08:02 r2 kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Sep 14 09:08:02 r2 kernel: pmtimer0 on isa0 Sep 14 09:08:02 r2 kernel: orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xce000-0xcefff on isa0 Sep 14 09:08:02 r2 kernel: sc0: <System console> at flags 0x100 on isa0 Sep 14 09:08:02 r2 kernel: sc0: VGA <16 virtual consoles, flags=0x300> Sep 14 09:08:02 r2 kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Sep 14 09:08:02 r2 kernel: Timecounters tick every 1.000 msec Sep 14 09:08:02 r2 kernel: Waiting 5 seconds for SCSI devices to settle Sep 14 09:08:02 r2 kernel: acd0: DVDROM <NEC DV-5800D/F9S6> at ata0-master UDMA33 Sep 14 09:08:02 r2 kernel: da0 at iir0 bus 2 target 0 lun 0 Sep 14 09:08:02 r2 kernel: da0: <Intel Host Drive #00 > Fixed Direct Access SCSI-2 device Sep 14 09:08:02 r2 kernel: da0: Tagged Queueing Enabled Sep 14 09:08:02 r2 kernel: da0: 381488MB (781289145 512 byte sectors: 255H 63S/T 48633C) Sep 14 09:08:02 r2 kernel: SMP: AP CPU #2 Launched! Sep 14 09:08:02 r2 kernel: SMP: AP CPU #1 Launched! Sep 14 09:08:02 r2 kernel: SMP: AP CPU #3 Launched! Sep 14 09:08:02 r2 kernel: Trying to mount root from ufs:/dev/da0s1a Sep 14 09:08:03 r2 named[390]: starting BIND 9.3.2 -t /var/named -u bind Sep 14 09:08:03 r2 named[390]: command channel listening on 127.0.0.1#953 Sep 14 09:08:03 r2 named[390]: command channel listening on ::1#953 Sep 14 09:08:03 r2 named[390]: running Sep 14 09:08:03 r2 kernel: em0: link state changed to UP --- messages2. ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GNiiI-0006Z2-7u>