[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



just wondering about the status of serial support with the xircom combo
modem/ethernet cards. i've got one that isn't playing nicely at all:
accessing it wedges my system, though the card does detect properly. i'm
thinking it's in the serial open: minicom is OK until i go to set the
speed, at which point it freezes solid. not even 'kill -9' will make the
process die. when i go single-user to try kill the misbehaving process,
init complains that "some processes would not die; ps axl advised" .

the card detects thus:
pccom1 at pcmcia0 function 0 "Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56"
xe0 at pcmcia0 function 1 "Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56"

the machine has one "real" serial serial port, one (disabled) winmodem,
and the one serial port on the xircom card. see below for full dmesg and
kernel configuration poking gently at the ports with 'stty -f /dev/cua00'
and 'stty -f /dev/cua01' returns the same thing:

speed 9600 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
	-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
	-extproc -xcase
iflags: -istrip icrnl -inlcr -igncr -iuclc ixon -ixoff ixany imaxbel
	-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -onocr -onlret -olcuc oxtabs -onoeot
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
	eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
	min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
	stop = ^S; susp = ^Z; time = 0; werase = ^W;

===============================================================================

OpenBSD 2.8-current (DESDEMONA) #16: Sat Mar  3 16:42:54 MST 2001
    root@:/sys/arch/i386/compile/DESDEMONA
cpu0: Intel Pentium III/Celeron (Coppermine) ("GenuineIntel" 686-class, 128KB L2 cache) 547 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem  = 100118528 (97772K)
avail mem = 90132480 (88020K)
using 1247 buffers containing 5107712 bytes (4988K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(63) BIOS, date 01/24/01, BIOS32 rev. 0 @ 0xfc48d
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, estimated 1:08 hours
pcibios0 at bios0: rev. 2.1 found at 0xf0000[0x10000]
pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xf0190, size 112 bytes (5 entries)
pcibios0: PCI Interrupt Router at 000:05:0 (vendor 0x8086 product 0x122e rev 0x00)
pcibios0: PCI bus #2 is the last bus
WARNING: can't reserve area for I/O APIC.
WARNING: can't reserve area for Local APIC.
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor 0x8086 product 0x7190 rev 0x03
ppb0 at pci0 dev 1 function 0 vendor 0x8086 product 0x7191 rev 0x03
pci1 at ppb0 bus 1
vga0 at pci1 dev 0 function 0 vendor 0x1023 product 0x9525 rev 0x49
wsdisplay0 at vga0: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 5 function 0 vendor 0x8086 product 0x7110 rev 0x02
pciide0 at pci0 dev 5 function 1 vendor 0x8086 product 0x7111 rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK6014MAP>
wd0: 16-sector PIO, LBA, 5729MB, 12416 cyl, 15 head, 63 sec, 11733120 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-224E-B, 7.6G> SCSI0 5/cdrom removable
pciide0: channel 1 interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 5 function 2 vendor 0x8086 product 0x7112 rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
vendor 0x8086 product 0x7113 (class bridge, subclass miscellaneous, rev 0x03) at pci0 dev 5 function 3 not configured
cbb0 at pci0 dev 11 function 0 vendor 0x1179 product 0x060a rev 0x07: irq 11
maestro0 at pci0 dev 12 function 0 vendor 0x125d product 0x1978 rev 0x10
maestro0: interrupting at irq 11, ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, Rockwell 3D
audio0 at maestro0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x0
pcmcia0 at cardslot0
biomask c840 netmask c840 ttymask d8c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
cis mem map e7289000
pcmcia0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 02 00 ff
CISTPL_DEVICE_A type=null speed=null
 17 02 00 ff
CISTPL_VERS_1
 15 3b 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69
 74 43 61 72 64 20 45 74 68 65 72 6e 65 74 20 31
 30 2f 31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36
 00 43 45 4d 35 36 00 31 2e 30 30 00 ff
unhandled CISTPL 88
 88 08 4a 6f f1 00 00 00 00 00
CISTPL_MANFID
 20 05 05 01 0a 11 46
unhandled CISTPL 44
 44 04 65 66 f4 24
CISTPL_CONFIG
 1a 05 01 3f 80 ff 67
CISTPL_CFTABLE_ENTRY
 1b 14 e7 c1 9d 0f 55 4d 5d 4e e0 17 17 ea 60 e8
 02 07 f0 bc 8e 20
CISTPL_CFTABLE_ENTRY
 1b 07 1f 08 ea 60 e8 03 07
CISTPL_CFTABLE_ENTRY
 1b 07 17 08 ea 60 f8 02 07
CISTPL_CFTABLE_ENTRY
 1b 07 0f 08 ea 60 f8 03 07
CISTPL_CFTABLE_ENTRY
 1b 03 3f 08 63
CISTPL_FUNCID
 21 02 02 00
unhandled CISTPL 22
 22 04 00 02 0f 5c
unhandled CISTPL 22
 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5
unhandled CISTPL 22
 22 08 13 06 00 0b 00 02 00 b5
CISTPL_FUNCID
 21 02 06 00
unhandled CISTPL 22
 22 08 04 06 00 10 a4 f1 6f 4a
unhandled CISTPL 8a
 8a 0c 39 30 30 31 48 45 46 31 36 46 34 41
unhandled CISTPL 8b
 8b 04 01 00 00 00
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56, 1.00
pcmcia0: Manufacturer code 0x105, product 0x110a
pcmcia0: function 0: serial port, ccr addr ff80 mask 67
pcmcia0: function 0, config table entry 39: I/O card; irq mask 8ebc; iomask a, iospace 2e8-2ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 31: I/O card; irq mask 8ebc; iomask a, iospace 3e8-3ef; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 23: I/O card; irq mask 8ebc; iomask a, iospace 2f8-2ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 15: I/O card; irq mask 8ebc; iomask a, iospace 3f8-3ff; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 0, config table entry 63: I/O card; irq mask 8ebc; iomask 3, iospace 0-7; mwait_required rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown
pcmcia0: function 1: network adapter, ccr addr 0 mask 0
pccom1 at pcmcia0 function 0 "Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56"pcmcia0: ++enabled_count = 1
pcmcia0: function 0 CCR at 0 offset f80: 67 0 0 0, 0 0 ff ff, ff
pcmcia0: function 1 CCR at 0 offset 0: 0 f4 fb f7, ff ff ff 0, f4
 port 0x22e8/8: ns16550a, 16 byte fifo
pcmcia0: function 0 CCR at 0 offset f80: 67 81 ee e8, e8 22 80 80, 80
xe0 at pcmcia0 function 1 "Xircom, CreditCard Ethernet 10/100 + Modem 56, CEM56"pcmcia0: ++enabled_count = 2
pcmcia0: function 0 CCR at 0 offset f80: 67 81 ee e8, e8 22 67 67, 67
pcmcia0: function 1 CCR at 1 offset 800: 47 20 0 20, 0 0 0 47, 20
 port 0x2000/16cis mem map e728b000
pcmcia0: CIS tuple chain:
 01 02 00 ff
 17 02 00 ff
 15 3b 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69
 74 43 61 72 64 20 45 74 68 65 72 6e 65 74 20 31
 30 2f 31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36
 00 43 45 4d 35 36 00 31 2e 30 30 00 ff
 88 08 4a 6f f1 00 00 00 00 00
cis mem map e728b000
pcmcia0: CIS tuple chain:
 01 02 00 ff
 17 02 00 ff
 15 3b 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69
 74 43 61 72 64 20 45 74 68 65 72 6e 65 74 20 31
 30 2f 31 30 30 20 2b 20 4d 6f 64 65 6d 20 35 36
 00 43 45 4d 35 36 00 31 2e 30 30 00 ff
 88 08 4a 6f f1 00 00 00 00 00
 20 05 05 01 0a 11 46
 44 04 65 66 f4 24
 1a 05 01 3f 80 ff 67
 1b 14 e7 c1 9d 0f 55 4d 5d 4e e0 17 17 ea 60 e8
 02 07 f0 bc 8e 20
 1b 07 1f 08 ea 60 e8 03 07
 1b 07 17 08 ea 60 f8 02 07
 1b 07 0f 08 ea 60 f8 03 07
 1b 03 3f 08 63
 21 02 02 00
 22 04 00 02 0f 5c
 22 0c 02 06 00 3f 1c 03 03 0f 07 00 01 b5
 22 08 13 06 00 0b 00 02 00 b5
 21 02 06 00
pcmcia0: function 0 has ih_fct 0xe02400ac
: address 00:10:a4:f1:6f:4a
icsphy0 at xe0 phy 0: ICS1890 10/100 media interface, rev. 3
pcmcia0: function 1 CCR at 1 offset 800: 47 21 20 21, 0 20 20 47, 21
<3>xe0: device timeout
pcmcia0: intr flags=1 fct=0 cor=67 csr=81 pin=ee
pcmcia0: intr flags=1 fct=1 cor=47 csr=23 pin=20; csr 23->21
0: intr flags=1 fct=1 cor=47 csr=23 pin=20; csr 23->21
pcmcia0: intr flags=1 fct=0 cor=67 csr=81 pin=ee
pcmcia0: intr flags=1 fct=1 cor=47 csr=23 pin=20; csr 23->21
pcmcia0: intr flags=1 fct=0 cor=67 csr=81 pin=ee
pcmcia0: intr flags=1 fct=1 cor=47 csr=23 pin=20; csr 23->21
pcmcia0: intr flags=1 fct=0 cor=67 csr=81 pin=ee
pcmcia0: intr flags=1 fct=1 cor=47 csr=23 pin=20; csr 23->21

===============================================================================

machine		i386		# architecture, used by config; REQUIRED

###
### Debugging Options
###

#option		PCIVERBOSE
#option		USBVERBOSE
#option		DEBUG_ISAPNP
option		PCCOM_DEBUG
option		COM_DEBUG
option		PCMCIADEBUG
option		PCMCIAVERBOSE
option		PCMCIACISDEBUG
option		DIAGNOSTIC

###
### Kernel behaviour
###

#option		INSECURE	# default to secure
option		TIMEZONE=0	# time zone to adjust RTC time by
option		DST=0		# daylight savings time used by RTC
option		NTP		# hooks supporting the Network Time Protocol
option		SWAPPAGER	# paging; REQUIRED
option		DEVPAGER	# mmap() of devices
option		DDB		# in-kernel debugger
option		DDB_SAFE_CONSOLE # allow break into ddb during boot
option		KTRACE		# system call tracing, a la ktrace(1)
#option		KMEMSTATS	# collect malloc(9) statistics
option		SYSVMSG		# System V-like message queues
option		SYSVSEM		# System V-like semaphores
option		SYSVSHM		# System V-like memory sharing
option		CRYPTO		# Cryptographic framework
#option		UVM_SWAP_ENCRYPT# support encryption of pages going to swap
option		LKM		# loadable kernel modules
option		BOOT_CONFIG	# add support for boot -c
option		I686_CPU
option		UVM		# use the UVM virtual memory system
#option		VM86		# Virtual 8086 emulation
#option		USER_LDT	# user-settable LDT; used by WINE
option		XSERVER		# diddle with console driver
option		APERTURE	# in-kernel aperture driver for XFree86
option		DUMMY_NOPS	# speed hack; recommended
option		COMPAT_BSDOS	# binary compatibility with BSD/OS

###
### Filesystems
###

option		FFS		# UFS
option		FFS_SOFTUPDATES	# Soft updates
option		EXT2FS		# Second Extended Filesystem
option		NFSCLIENT	# Network File System client
option		NFSSERVER	# Network File System server
option		CD9660		# ISO 9660 + Rock Ridge file system
option		MSDOSFS		# MS-DOS file system
option		FDESC		# /dev/fd
option		FIFO		# FIFOs; RECOMMENDED
option		KERNFS		# /kern
option		NULLFS		# loopback file system
option		PROCFS		# /proc

###
### Networking
###

option		TCP_SACK	# Selective Acknowledgements for TCP
#option		TCP_FACK	# Forward Acknowledgements for TCP
#option		TCP_SIGNATURE	# TCP MD5 Signatures, for BGP routing sessions
option		INET		# IP + ICMP + TCP + UDP
#option		IPSEC		# IPsec
#option		KEY		# PF_KEY (implied by IPSEC)
option		IPFILTER	# IP packet filter for security
option		IPFILTER_LOG	# use /dev/ipl to log IPF
option		PPP_BSDCOMP	# PPP BSD compression
option		PPP_DEFLATE

###
### Console Driver
###

option	WSEMUL_VT100			# VT100 / VT220 emulation
option	WS_KERNEL_FG=WSCOL_WHITE
option	WS_KERNEL_BG=WSCOL_BLUE
option	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
option	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
option	WSDISPLAY_COMPAT_USL		# VT handling
option	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option	WSDISPLAY_DEFAULTSCREENS=6

###
### pdevs
###

pseudo-device	pty		64	# pseudo-terminals
pseudo-device	vnd		4	# paging to files
pseudo-device	ksyms		1	# kernel symbols device
pseudo-device	pctr		1
pseudo-device	mtrr		1	# Memory range attributes control
pseudo-device	sequencer	1
pseudo-device	wsmux		2
pseudo-device	loop		1	# network loopback
pseudo-device	bpfilter 	8	# packet filter
pseudo-device	ppp		1	# PPP
#pseudo-device	tun		2	# network tunneling over tty
#pseudo-device	enc		1	# IPSEC needs encapsulation interface
#pseudo-device	vlan 		2	# IEEE 802.1Q VLAN 
#pseudo-device	gre		1	# GRE encapsulation interface
#pseudo-device	gif		4
#pseudo-device	faith		1

###
### Device Attachments
###

maxusers 32		# estimated number of users
config bsd swap generic

mainbus0 at root
bios0 at mainbus0
apm0 at bios0 flags 0x0000	# flags 0x0101 to force protocol version 1.1
pcibios0 at bios0 flags 0x0000	# use 0x30 for a total verbose
pci* at mainbus0 bus ?
pchb* at pci? dev ? function ?	# PCI-Host bridges
pci* at pchb? bus ?
ppb* at pci? dev ? function ?	# PCI-PCI bridges
pci* at ppb? bus ?
pcib* at pci? dev ? function ?	# PCI-ISA bridges (do nothing)
isa0 at pcib?
cbb*		at pci? dev ? function ?
cardslot*	at cbb?
cardbus*	at cardslot?
pcmcia*		at cardslot?
uhci*	at pci?				# Universal Host Controller (Intel)
usb*	at uhci?
uhub*	at usb?				# USB Hubs
uhub*	at uhub? port ? configuration ?	# USB Hubs
uhid*	at uhub? port ? configuration ?	# USB Generic HID devices
ulpt*	at uhub? port ? configuration ? # USB Printers
umass*	at uhub? port ? configuration ? # USB Mass Storage devices
scsibus* at umass?
ugen*	at uhub? port ? configuration ? # USB Generic driver
npx0	at isa? port 0xf0 irq 13	# math coprocessor
isadma0	at isa?
isapnp0	at isa?
pckbc0		at isa?			# PC keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
vga*		at pci? dev ? function ?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0
pccom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
pccom*	at pcmcia? function ?		# PCMCIA modems/serial ports
lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
fd*	at fdc? drive ?
pciide* at pci ? dev ? function ? flags 0x0000
wd* at pciide? channel ? drive ? flags 0x0000
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?
cd* at scsibus? target ? lun ?	# SCSI CD-ROM drives
#fxp* at cardbus? dev ? function ?	# Intel PRO/100 ethernet
ne* at pcmcia? function ?		# PCMCIA based NE2000 ethernet
#ep* at pcmcia? function ?		# PCMCIA based 3C5xx ethernet
#sm* at pcmcia? function ?		# PCMCIA based sm ethernet
xe* at pcmcia? function ?		# Xircom ethernet
#xl* at cardbus? dev ? function ?	# 3C575/3C656 ethernet
#dc* at cardbus? dev ? function ?	# 21143, "tulip" clone ethernet
wi* at pcmcia? function ?		# WaveLAN IEEE 802.11DS
#awi* at pcmcia? function ?		# Bay Networks IEEE 802.11FH
an* at pcmcia? function ?		# Aironet IEEE 802.11DS
#cnw* at pcmcia? function ?		# Xircom Netwave
#ray* at pcmcia? function ?		# Raylink Aviator2.4/Pro 802.11FH
#exphy*	at mii? phy ?				# 3Com internal PHYs
#inphy*	at mii? phy ?				# Intel 82555 PHYs
#iophy*	at mii? phy ?				# Intel 82553 PHYs
#nsphy*	at mii? phy ?				# NS and compatible PHYs
#dcphy*	at mii? phy ?				# Digital Clone PHYs
icsphy*	at mii? phy ?				# ICS 1890 PHYs
ukphy*	at mii? phy ?				# "unknown" PHYs
pcppi0 at isa?
sysbeep0 at pcppi?
midi* at pcppi? # MIDI interface to the PC speaker
#spkr0 at pcppi? # PC speaker
#opl0 at isa? port 0x388 # use only if not attached to sound card
#midi* at opl? # OPL FM synth
maestro* at pci? dev ? function ? # ESS Maestro PCI
audio* at maestro?

-- 
Chris Kuethe:  System Administrator  -   U of A Math Dept.

cell: 780.903.9475                    office: CAB553, 780.492.1704    
wargames@{edmc.net,hackcanada.com}    ckuethe@[[gecko.]math.]ualberta.ca

Opinions expressed herein are solely the responsibility of
the author. And the author wouldn't have it any other way.