Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 18:51:50 +1000
From:      Jesse Reynolds <lizst@va.com.au>
To:        Eric MASSON <e-masson@kisoft-services.com>, jesse reynolds <jesse@va.com.au>
Cc:        FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: zircom pc-card's on a Fujitsu Lifebook 735Dx Laptop...
Message-ID:  <v0420550db43877e957c1@[1.1.1.3]>
In-Reply-To: <3812C2FB.F273B5E2@kisoft-services.com>
References:  <Pine.BSF.4.10.9910031525060.59163-100000@60-Hz.Powered-By.AC> <199910230809.CAA28033@harmony.village.org>	 <v04205504b4375c44a68a@[1.1.1.3]> <38120042.D8F1BE5D@kisoft-services.com> <v04205509b438434df8a2@[1.1.1.3]> <3812C2FB.F273B5E2@kisoft-services.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:27 AM +0200 24/10/1999, Eric MASSON wrote:
>Hi,
>
>So could you post the following:
>1 - uname -a output
>2 - /etc/rc.conf
>3 - kernel config file
>4 - dmesg output
>
>I post the previous answer because, you get this kind of result if
>pccardd isn't started when issueing pccardc dumpcis.

2, 3, and 4 were in my original post, but here is uname -a:

=46reeBSD 3.3-RELEASE FreeBSD 3.3-RELEASE #1: Mon Oct 18 23:58:00 EST=20
1999     root@fuzzy.syd.va.com.au:/usr/src/sys/compile/FUZZY i386

I'll paste in my original post below.

>Eric
>
>Ps: Cross posting is not in standard policies of FreeBSD mailing lists.

My appologies. I saw others doing it so thought it was the go. I'll=20
refrain, then. I agree, it doesn't make too much sense really.

cheers

jesse


Original post of 23 Oct 1999:

To: FreeBSD Hardware <freebsd-hardware@FreeBSD.org>, FreeBSD Mobile=20
<freebsd-mobile@FreeBSD.org>
=46rom: jesse reynolds <jesse@va.com.au>
Subject: zircom pc-card's on a Fujitsu Lifebook 735Dx Laptop...
Cc:
Bcc: "=9F:LISTS:FreeBSD-Hardware"
X-Attachments:

Hi Folx

I've recently installed 3.3-RELEASE on this Fujitsu Lifebook 735Dx=20
laptop. I reconfigured and recompiled the kernel with various pc-card=20
components turned on, including the xe driver which is necessary for=20
the zircom cards.

The two cards I have are an ethernet only PS-CE2-10, and an ethernet=20
and modem CEM33. I'd be happy to get either of these cards working. I=20
believe I have a CardBus system, not a standard PCMCIA system.

I have not yet added the file /etc/pccard.conf because it's here that=20
I am stuck. I don't know what strings to use in this file because=20
pccarcd doesn't work. Output of pccardc is:

# pccardc dumpcis
Read return -1 bytes (expected 2)
pccardc: CIS code read: Cannot allocate memory
Read return -1 bytes (expected 10)
Configuration data for card in slot 1
2 slots found
#

So yes, what's happening here?

I'm not sure what sort of pccard system is in this Fujitsu, but the=20
following entries from an earlier boot may help: (from dmesg)

probing pci bus... (etc)
=2E..
chip3: <PCI to CardBus bridge (vendor=3D104c device=3Dac15)> rev 0x01 int=20
a irq 9 on pci0.19.0
chip4: <PCI to CardBus bridge (vendor=3D104c device=3Dac15)> rev 0x01 int=20
b irq 9 on pci0.19.1
=2E..

I've also noticed that in /var/log/messages the kernel is writing=20
messages when I insert and remove cards, as follows:

Oct 19 06:47:24 /kernel: Card inserted, slot 1

So it knows when cards are inserted and removed, which is good. Is it=20
the PCI to CardBus bridge that might be a problem? I see in the XE=20
readme that FreeBSD has no support for CardBus systems?

I'm including a few files here...

/etc/rc.conf
output of dmesg
/usr/src/sys/i386/conf/FUZZY (my kernel config file)

I have posted this to the XE driver list, but Scott Mitchell said I=20
should fire this at freebsd-mobile to see how support for CardBus is=20
going.

Cheers

Jesse

-----------------------/etc/rc.conf : --------------------------
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
moused_port=3D"/dev/psm0"
moused_type=3D"auto"
moused_enable=3D"NO"
gateway_enable=3D"YES"
# -- sysinstall generated deltas -- #
moused_enable=3D"YES"




----------------------- dmesg output : --------------------------
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
=46reeBSD 3.3-RELEASE #1: Mon Oct 18 23:58:00 EST 1999
    root@fuzzy.syd.va.com.au:/usr/src/sys/compile/FUZZY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (133.64-MHz 586-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x543  Stepping =3D 3
  Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  =3D 33554432 (32768K bytes)
config> di sio1
config> di sio0
config> di ppc0
config> di zp0
No such device: zp0
Invalid command or syntax.  Type `?' for help.
config> di ze0
No such device: ze0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di le0
No such device: le0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di ex0
No such device: ex0
Invalid command or syntax.  Type `?' for help.
config> di ep0
No such device: ep0
Invalid command or syntax.  Type `?' for help.
config> di ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory =3D 29978624 (29276K bytes)
Preloaded elf kernel "kernel" at 0xc02c2000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02c209c.
Probing for devices on PCI bus 0:
chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0
chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1
chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3
pcic0: <TI PCI-1131 PCI-CardBus Bridge> rev 0x01 int a irq 9 on pci0.19.0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> rev 0x01 int b irq 9 on pci0.19.1
vga0: <Trident model 9660 VGA-compatible display device> rev 0xd3 int=20
a irq 255 on pci0.20.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=3D0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <FUJITSU M2724TA>
wd0: 1556MB (3187296 sectors), 3162 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <UJDA110/1.06>, removable, accel, dma, iordy
acd0: drive speed 2416KB/sec, 128KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
xe0: probe
xe0 not found
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
pcic: controller irq 3
Initializing PC-card drivers: xe sio
Intel Pentium detected, installing workaround for F00F bug
IP packet filtering initialized, divert enabled, rule-based=20
forwarding enabled, default to accept, logging limited to 100=20
packets/entry by default
BRIDGE 981214, have 4 interfaces
DUMMYNET initialized (990504)
IP Filter: initialized.  Default =3D pass all, Logging =3D enabled
changing root device to wd0s2a
Card inserted, slot 0
Card inserted, slot 1




------------ /usr/src/sys/i386/conf/FUZZY : --------------------------
#
# FUZZY - attempt to build a kernel that supports the
# Zircom PS-CE2-10 PCCard Ethernet Card
#
# Jesse Reynolds 1999.10.18
#
# PCCARD -- Generic machine with WD/AHx/NCR/BTx family disks and PCMCIA
#           hardware support
#
# 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 ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.15.2.4 1999/08/29 17:05:59=20
iwasaki Exp $

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		FUZZY
maxusers	32

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device,=20
"MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device,=20
"NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=3D15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

# Jesse's adding the following:
options		MROUTING		# multicast routing
options		IPFIREWALL		# firewall
options		IPFIREWALL_VERBOSE	# print info about dropped packets
options		IPFIREWALL_FORWARD	# enable transparent proxy support
options	"IPFIREWALL_VERBOSE_LIMIT=3D100" # limit verbosity
options		IPFIREWALL_DEFAULT_TO_ACCEPT   # allow all by default
options		IPDIVERT		# divert sockets
options	IPFILTER		# kernel ipfilter support
options		IPFILTER_LOG		# ipfilter logging
options		"ICMP_BANDLIM"
options		DUMMYNET
options		BRIDGE
options		NETATALK		#Appletalk comms protocols

config		kernel	root on wd0

# 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=3D2			# number of CPUs
#options	NBUS=3D4			# number of busses
#options	NAPIC=3D1			# number of IO APICs
#options	NINTR=3D24		# number of INTs

controller	isa0
controller	pnp0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM
device		wfd0		#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
# controller	ncr0
# controller	ahb0
# controller	ahc0
# controller	isp0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
# controller      dpt0

# controller	adv0	at isa? port ? cam irq ?
# controller	adw0
# controller	bt0	at isa? port ? cam irq ?
# controller	aha0	at isa? port ? cam irq ?

# controller	scbus0

# device		da0

# device		sa0

# device		pass0

# device		cd0	#Only need one of these, the code=20
dynamically grows

device		wt0	at isa? port 0x300 bio irq 5 drq 1
device		mcd0	at isa? port 0x300 bio irq 10

controller	matcd0	at isa? port 0x230 bio

# device		scd0	at isa? port 0x230 bio

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? tty
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lin=
es
#options		PCVT_SCANSET=3D2		# IBM keyboards are non-std

device		npx0	at isa? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
# device al0		# ADMtek AL981 (``Comet'')
# device ax0		# ASIX AX88140A
#device de0		# DEC/Intel DC21x4x (``Tulip'')
#device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
#device mx0		# Macronix 98713/98715/98725 (``PMAC'')
#device pn0		# Lite-On 82c168/82c169 (``PNIC'')
#device rl0		# RealTek 8129/8139
#device sf0		# Adaptec AIC-6915 DuraLAN (``Starfire'')
#device tl0		# Texas Instruments ThunderLAN
#device tx0		# SMC 9432TX (83c170 ``EPIC'')
#device vr0		# VIA Rhine, Rhine II
#device vx0		# 3Com 3c590, 3c595 (``Vortex'')
#device wb0		# Winbond W89C840F
#device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

# device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
# device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
# device ep0 at isa? port 0x300 net irq 10
# device ex0 at isa? port? net irq?
# device fe0 at isa? port 0x300 net irq ?
# device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
# device lnc0 at isa? port 0x280 net irq 10 drq 0
device xe0 at isa? port? net irq ?
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
# device cs0 at isa? port 0x300 net irq ?

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options		SYSVSHM
options		SYSVMSG
options		SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
pseudo-device	bpfilter 1	#Berkeley packet filter


--------------------------------------------------------------------------

--
      Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au
            Email: jesse (at) va.com.au        - http://virtual.artists


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?v0420550db43877e957c1>