i386/142157: Don't find Printer port at "NetMos NM9835 Dual UART and 1284 Printer port" extended card at FreeBSD 8.0

Serg mail_of_sergey at mail.ru
Wed Dec 30 05:50:02 UTC 2009


>Number:         142157
>Category:       i386
>Synopsis:       Don't find Printer port at "NetMos NM9835 Dual UART and 1284 Printer port" extended card at FreeBSD 8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 30 05:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Serg
>Release:        FreeBSD 8.0-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD acc.acc.tula.ru 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #4: Mon Dec 14 20:30:51 MSK 2009 root at acc.acc.tula.ru:/usr/src/sys/i386/compile/Z i386
pciconf -lv:
hostb0 at pci0:0:0:0:	class=0x060000 card=0x34d08086 chip=0x29f08086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3200 Chipset (Bearlake) Processor to I/O Controller'
    class      = bridge
    subclass   = HOST-PCI
em0 at pci0:0:25:0:	class=0x020000 card=0x34d08086 chip=0x10bd8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel 82566DM Gigabit Ethernet Adapter (82566DM)'
    class      = network
    subclass   = ethernet
uhci0 at pci0:0:26:0:	class=0x0c0300 card=0x34d08086 chip=0x29378086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci1 at pci0:0:26:1:	class=0x0c0300 card=0x34d08086 chip=0x29388086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci2 at pci0:0:26:2:	class=0x0c0300 card=0x34d08086 chip=0x29398086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
ehci0 at pci0:0:26:7:	class=0x0c0320 card=0x34d08086 chip=0x293c8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib1 at pci0:0:28:0:	class=0x060400 card=0x29408086 chip=0x29408086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:0:28:4:	class=0x060400 card=0x29488086 chip=0x29488086 rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 5'
    class      = bridge
    subclass   = PCI-PCI
uhci3 at pci0:0:29:0:	class=0x0c0300 card=0x34d08086 chip=0x29348086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci4 at pci0:0:29:1:	class=0x0c0300 card=0x34d08086 chip=0x29358086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci5 at pci0:0:29:2:	class=0x0c0300 card=0x34d08086 chip=0x29368086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
ehci1 at pci0:0:29:7:	class=0x0c0320 card=0x34d08086 chip=0x293a8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib4 at pci0:0:30:0:	class=0x060401 card=0x34d08086 chip=0x244e8086 rev=0x92 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0 at pci0:0:31:0:	class=0x060100 card=0x34d08086 chip=0x29168086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IR (ICH9R) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0 at pci0:0:31:2:	class=0x01018a card=0x34d08086 chip=0x29208086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) 4 port Serial ATA Storage Controller 1'
    class      = mass storage
    subclass   = ATA
none0 at pci0:0:31:3:	class=0x0c0500 card=0x34d08086 chip=0x29308086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
atapci1 at pci0:0:31:5:	class=0x010185 card=0x34d08086 chip=0x29268086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) 2 port Serial ATA Storage Controller 2'
    class      = mass storage
    subclass   = ATA
pcib2 at pci0:1:0:0:	class=0x060400 card=0x00000000 chip=0x032c8086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express-to-PCI Express Bridge (6702PXH)'
    class      = bridge
    subclass   = PCI-PCI
em1 at pci0:2:1:0:	class=0x020000 card=0x11798086 chip=0x10798086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Dual Port Gigabit Ethernet Controller (82546EB)'
    class      = network
    subclass   = ethernet
em2 at pci0:2:1:1:	class=0x020000 card=0x11798086 chip=0x10798086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Dual Port Gigabit Ethernet Controller (82546EB)'
    class      = network
    subclass   = ethernet
ath0 at pci0:2:2:0:	class=0x020000 card=0x6803a727 chip=0x001b168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5006 family 802.11abg Wireless NIC'
    class      = network
    subclass   = ethernet
vgapci0 at pci0:3:0:0:	class=0x030000 card=0x01018086 chip=0x0522102b rev=0x02 hdr=0x00
    vendor     = 'Matrox Electronic Systems Ltd.'
    device     = 'Matrox G200e (ServerEngines) - English (G200e)'
    class      = display
    subclass   = VGA
puc0 at pci0:4:0:0:	class=0x078000 card=0x00121000 chip=0x98359710 rev=0x01 hdr=0x00
    vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
    device     = 'Nm9835 Parallel/Serial Port Adapter'
    class      = simple comms
em3 at pci0:4:2:0:	class=0x020000 card=0x34d08086 chip=0x10768086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Gigabit Ethernet Controller (82541EI)'
    class      = network
    subclass   = ethernet

# $FreeBSD: src/sys/i386/conf/GENERIC.hints,v 1.22.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
hint.uart.0.at="isa"
hint.uart.0.port="0x3F8"
hint.uart.0.flags="0x10"
hint.uart.0.irq="4"
hint.uart.1.at="isa"
hint.uart.1.port="0x2F8"
hint.uart.1.irq="3"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"


# $FreeBSD: src/sys/i386/conf/Z,v 1.519.2.4.2.2 2009/11/09 23:48:01 kensmith Exp $

cpu		I686_CPU
ident		Z

options         MP_WATCHDOG		# Watchdog routines
device          coretemp		# on-die sensor on Intel Core and newer CPUs
device          cpuctl			# CPU control pseudo-device.
options         CPU_FASTER_5X86_FPU	# enables faster FPU exception handler

options 	SCHED_4BSD		# BSD scheduler - РёР·-Р·Рё watchdog
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options         IPX                     # IPX/SPX communications protocols
device		ef			# provides support for multiple ethernet frame types
options         ETHER_8022              # enable Ethernet_802.2 frame
options         NCP                     # NetWare Core protocol
options         NETSMB                  # SMB/CIFS requester
options         LIBMCHAIN		# for SMB/CIFS requester
options         LIBICONV		# for SMB/CIFS requester
options         LIBALIAS		# libalias library, performing NAT
options 	SCTP			# Stream Control Transmission Protocol

options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
options 	MD_ROOT			# MD is a potential root device
#options 	NFSCLIENT		# Network Filesystem Client
#options 	NFSSERVER		# Network Filesystem Server
#options 	NFSLOCKD		# Network Lock Manager
#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options         NTFS			# NT File System. Read-mostly (full sysutils/fusefs-ntfs port/package)
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options         UDF                     # Universal Disk Format
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options         CD9660_ICONV		# Optional character code conversion
options         MSDOSFS_ICONV		# support with LIBICONV
options         NTFS_ICONV		#
options         UDF_ICONV


options 	GEOM_PART_GPT		# GUID Partition Tables.
options 	GEOM_LABEL		# Provides labelization
options 	COMPAT_43TTY		# BSD 4.3 TTY compat (sgtty)
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
# Р_Р>С_ PostgreSQL
options         SHMMAXPGS=65536
options         SEMMNI=40
options         SEMMNS=240
options         SEMUME=40
options         SEMMNU=120
# РєР_Р_РчС┼ Р_Р>С_ PostgreSQL
options 	P1003_1B_SEMAPHORES	# POSIX-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
options 	AUDIT			# Security event auditing
options 	MAC			# TrustedBSD MAC Framework
options		FLOWTABLE		# per-cpu routing cache
#options 	KDTRACE_HOOKS		# Kernel DTrace hooks

# To make an SMP kernel, the next two lines are needed
options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

# CPU frequency control
device		cpufreq

device          ipmi			# Intelligent Platform Management Interface

# Bus support.
device		acpi
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering


# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)


# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		kbdmux		# keyboard multiplexer

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer


# Serial (COM) ports
device		uart		# Generic UART driver

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
device		puc

# PCI Ethernet NICs.
device		em		# Intel PRO/1000 Gigabit Ethernet Family
device          lagg		# Link aggregation interface

# Wireless NIC cards
device		wlan		# 802.11 support
options 	IEEE80211_DEBUG	# enable debug msgs
options 	IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options 	IEEE80211_SUPPORT_MESH	# enable 802.11s draft support
device		wlan_wep	# 802.11 WEP support
device		wlan_ccmp	# 802.11 CCMP support
device		wlan_tkip	# 802.11 TKIP support
device		wlan_amrr	# AMRR transmit rate control algorithm
device          wlan_xauth	# support for external (i.e. user-mode) authenticators 
device          wlan_acl	# a MAC-based access control mechanism
device		ath		# Atheros pci/cardbus NIC's
device		ath_hal		# pci/cardbus chip support
options 	AH_SUPPORT_AR5416	# enable AR5416 tx/rx descriptors
device		ath_rate_sample	# SampleRate tx rate control for ath

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		tun		# Packet tunnel.
device		pty		# BSD-style compatibility pseudo ttys
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse


# IPFIREWALL enables support for IP firewall construction, in
# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
# limits the number of times a matching entry can be logged.
#
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
options         IPFIREWALL_FORWARD      #packet destination changes
options         IPFIREWALL_NAT          #ipfw kernel nat support
options         IPDIVERT                #divert sockets
options         IPSTEALTH               #support for stealth forwarding

# netgraph(4).
# will automatically load the corresponding KLD module if the node type
# is not already compiled into the kernel. Each type below has a
# corresponding man page, e.g., ng_async(8).
options         NETGRAPH                # netgraph(4) system


#####################################################################
# ABI Emulation
options         COMPAT_LINUX		# Enable Linux ABI emulation
options         COMPAT_AOUT		# Enable i386 a.out binary support
options         LINPROCFS		# the linux-like proc filesystem support
options         LINSYSFS		#Enable the linux-like sys filesystem support
>Description:
Printer port at NetMos NM9835 Dual UART and 1284 Printer port not detected nor interrupt-driven method nor polled method.
Serial ports is working fine.
Fragment of dmesg is:
Dec 29 17:28:34 acc kernel: puc0: <NetMos NM9835 Dual UART and 1284 Printer port> port 0x1070-0x1077,0x1068-0x106f,0x1060-0x1067,0x1058-0x105f,0x1050-0x1057,0x1040-0x104f irq 16 at device 0.0 on pci4
Dec 29 17:28:34 acc kernel: puc0: [FILTER]
Dec 29 17:28:34 acc kernel: uart2: <Non-standard ns8250 class UART with FIFOs> on puc0
Dec 29 17:28:34 acc kernel: uart2: [FILTER]
Dec 29 17:28:34 acc kernel: uart3: <Non-standard ns8250 class UART with FIFOs> on puc0
Dec 29 17:28:34 acc kernel: uart3: [FILTER]
Dec 29 17:28:34 acc kernel: ppc1: <Parallel port> on puc0
Dec 29 17:28:34 acc kernel: ppc1: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
Dec 29 17:28:34 acc kernel: device_attach: ppc1 attach returned 6

Dec 29 17:28:34 acc kernel: ppc0: parallel port not found.

>How-To-Repeat:
Problem is repeated always.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list