Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 16:03:00 -0400
From:      Josh Tiefenbach <josh@zipperup.org>
To:        freebsd-mobile@freebsd.org
Subject:   Experiences with NEWCARD
Message-ID:  <20001019160300.A81908@zipperup.org>

next in thread | raw e-mail | index | archive | help

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Since I have this Cardbus card burning a hole in my laptop, I thought I'd try
Jonathan Chen's new cardbus code to see what happens.

My machine is an HP Omnibook 4150, and I'm trying to use a 3com 3CXFEM656C
multifunction card.

Results are, shall we say, mixed. The cardbus bridge is probed, and some
information is read back from the card, but thats' about it. Somewhat
disturbing is the following lines in the dmesg:

pccbb0: Cannot attach pccard bus!

Interestingly enough, when I boot the laptop into Win2k, it complains
miserably that it cant allocate resources for the card.

Attached is a full dmesg output and kernel config for your perusing pleasure.
I know that i havent compiled in xl support, but thats was mostly on the basis
of I'm pretty sure that the pci device id's for the 656 prolly arent in there,
and I was hoping to be able to do something like pciconf -l once I booted up
to grab them.

Anyone have any suggestions?

josh

-- 
"Watching those 2 guys [Bush and Gore] debate is like watching Ben Stein read
'The Story of O'" -- Dennis Miller

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.out"

Copyright (c) 1992-2000 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 5.0-CURRENT #0: Thu Oct 19 15:07:41 GMT 2000
josh@hockey-puck.jrt:/usr/src/sys/compile/LAPTOP-CB
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (397.05-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201326592 (196608K bytes)
avail memory = 192389120 (187880K bytes)
Preloaded elf kernel "kernel.cb" at 0xc0343000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fdf80
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> at 0.0 irq 9
pci1: <NeoMagic MagicMedia 256AX Audio controller> at 0.1 irq 10
pccbb0: <TI1220 PCI-CardBus Bridge> at device 4.0 on pci0
pccbb0: PCI Memory allocated: 18020000
pci_cfgintr: 0:4:A routed to irq 11
cardbus0: <Cardbus bus (newcard)> on pccbb0
pccbb0: Cannot attach pccard bus!
pccbb1: <TI1220 PCI-CardBus Bridge> at device 4.1 on pci0
pccbb1: PCI Memory allocated: 18021000
pci_cfgintr: 0:4:B routed to irq 11
cardbus1: <Cardbus bus (newcard)> on pccbb1
pccbb1: Cannot attach pccard bus!
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcf0-0xfcff at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10
pci0: <Intel 82371AB Power management controller> at 7.3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0501> can't assign resources
pcm0: <Neomagic 256AV (non-ac97)> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x120-0x121 irq 5 drq 1,0 on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = enabled
ad0: 9590MB <IBM-DCXA-210000> [19485/16/63] at ata0-master UDMA33
acd0: DVD-ROM <MATSHITADVD-ROM SR-8173> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s2a
pccbb1: card inserted: event=0x0000000e, state=30000820
pccbb1: pccbb_power: CARD_VCC_3V and CARD_VPP_UC [1]
cardbus1: reading CIS data from configuration space
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-LAN | LAN | 1 | 
Manufacturer ID: 02016465
Functions: Network Adaptor, Multi-Functioned
TUPLE: DEVICE_OC [2]: 02 ff
cardbus1: Opening BAR: type=MEM, bar=10, len=0080
cardbus1: Opening BAR: type=MEM, bar=14, len=0100
TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00
TUPLE: CFTABLE_ENTRY_CB [15]: 41 ba 01 35 1e 01 b5 1e 02 30 f8 7f 04 01 02
TUPLE: Unknown(0x7f) [255]:
0x00: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x10: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x20: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x30: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x40: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x50: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x60: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x70: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x80: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x90: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xa0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xb0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xc0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xd0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xe0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xf0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f
cardbus1: <unknown card> (vendor=0x10b7, dev=0x6564) at 0.0 irq 0
cardbus1: reading CIS data from configuration space
Product version: 5.0
Product name: 3Com Corporation | 3CXFEM656C-MDM | MDM | 1 | 
Manufacturer ID: 02016565
Functions: Serial Port, Multi-Functioned
TUPLE: DEVICE_OC [2]: 02 ff
cardbus1: Opening BAR: type=MEM, bar=18, len=1000
TUPLE: CONFIG_CB [6]: 03 01 00 00 00 00
TUPLE: CFTABLE_ENTRY_CB [14]: 41 b2 01 35 1e 01 b5 1e 30 f8 ff 08 01 02
Function Extension: 011f3f000400000400
Function Extension: 0206003f1c03030f060000ff
Function Extension: 1306000f006a00ff
Function Extension: 2306000f000200ff
TUPLE: Unknown(0x7f) [255]:
0x00: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x10: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x20: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x30: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x40: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x50: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x60: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x70: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x80: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0x90: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xa0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xb0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xc0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xd0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xe0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f ff
0xf0: ff ff 7f ff ff ff 7f ff ff ff 7f ff ff ff 7f
cardbus1: <unknown card> (vendor=0x10b7, dev=0x6565) at 0.1 irq 0
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.2
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.3
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.4
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.5
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.6
cardbus1: reading CIS data from ROM
cardbus1: Bad header in rom 0: ffff
cardbus1: <unknown card> (vendor=0xffff, dev=0x7fff) at 0.7
pccbb1: card activation failed
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfcc0-0xfcdf irq 10 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
/dev/vmmon: Module vmmon: initialized

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=LAPTOP-CB

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the NOTES configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.272 2000/08/24 18:56:54 peter Exp $

machine		i386
cpu		I686_CPU
ident		LAPTOP-CB
maxusers	64

#To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		#Default places to look for devices.

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
#options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
#options 	DEVFS			#Device Filesystem
options 	MD_ROOT			#MD is a potential root device
#options 	NFS			#Network Filesystem
#options 	NFS_ROOT		#NFS usable as root device, NFS required
#options 	MSDOSFS			#MSDOS Filesystem
#options 	CD9660			#ISO 9660 Filesystem
#options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
#options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=8			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

device		isa
#device		eisa
device		pci
#options 	COMPAT_OLDISA		# compatability shims for lnc, fe, le
#options 	COMPAT_OLDPCI		# compatability shims for lnc, vx

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
#device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		amd		# AMD 53C974 (Teckram DC-390(T))
#device		isp		# Qlogic family
##device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')

#device		adv
#device		adw
#device		bt
#device		aha	1
#device		aic

# RAID controllers interfaced to the SCSI subsystem
#device		dpt		# DPT Smartcache - See NOTES for options!
#device		mly		# Mylex AcceleRAID/eXtremeRAID

# SCSI peripherals
#device		scbus		# SCSI bus (required)
#device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
#device		cd		# CD
#device		pass		# Passthrough device (direct SCSI access)

# RAID controllers
#device		ida		# Compaq Smart RAID
#device		amr		# AMI MegaRAID
#device		mlx		# Mylex DAC960 family

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

device		vga

# splash screen/screen saver
device		splash

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

# Enable this for the pcvt (VT220 compatible) console driver
#device		vt
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
device		apm

# PCCARD (PCMCIA) support
#device		card
#device		pcic

device		cardbus
device		pccbb

# Serial (COM) ports
device		sio

# 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


# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		tx		# SMC 9432TX (83c170 ``EPIC'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')
#device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
#device		miibus		# MII bus support
#device		dc		# DEC/Intel 21143 and various workalikes
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		tl		# Texas Instruments ThunderLAN
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
#device		ed
#device		ex
#device		ep
#device		cs
#device		sn
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device		wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device		an
# BayStack 660 and others
#device		awi
# Xircom pccard ethernet
device		xe
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device		ie
#device		fe
#device		le
#device		lnc

# Pseudo devices - the number indicates how many units to allocated.
device		loop		# Network loopback
device		ether		# Ethernet support
device		sl		# Kernel SLIP
device		ppp	1	# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
#device		gif	4	# IPv6 and IPv4 tunneling
#device		faith	1	# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device		bpf		# Berkeley packet filter

# USB support
#device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
#device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
#device		urio		# Diamond Rio 500 MP3 player
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

options		INCLUDE_CONFIG_FILE
options		IPSEC
options		IPSEC_ESP
options		IPFILTER
options		IPFILTER_LOG

device 		pcm
device          pmtimer
device		random

--opJtzjQTFsWo+cga--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001019160300.A81908>