Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 1998 17:34:09 +0100
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        Doug White <dwhite@resnet.uoregon.edu>, Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Cc:        freebsd-questions@freefall.cdrom.com
Subject:   Re: PAO - no free configuration for card (ppcard)
Message-ID:  <19981025173409.A27225@gil.physik.rwth-aachen.de>
In-Reply-To: <Pine.BSF.4.03.9810230857520.14779-100000@resnet.uoregon.edu>; from Doug White on Fri, Oct 23, 1998 at 09:00:03AM -0700
References:  <199810221825.UAA12887@gilberto.physik.RWTH-Aachen.DE> <Pine.BSF.4.03.9810230857520.14779-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 23, 1998 at 09:00:03AM -0700, Doug White wrote:
> I'm still trying to figure out why ou send mail to
> freebsd-questions@freefall.cdrom.com when it's just questions@freebsd.org
> -- it's throwing my mail filter off! :)
> 
> On Thu, 22 Oct 1998, Christoph Kukulies wrote:
> 
> > I grabbed the 2.2.7 PAO release and tried to install my
> > D-Link ethernet card (ed0) - this used to work under
> > PAO 2.2.5.
> > 
> > Unfortunately I lost my previous pccard.conf and related files
> > OTOH I don't think they were containing anything crucial.
> > 
> > Anyway, I'm getting
> > 
> > pccardd: No free configuration for card D-Link
> 
> Hack /etc/pccard.conf and make sure all of your free IRQs and a handful of
> port ranges are available.  Also try a 'pccardc dumpcis' and see what the
> card willl accept for resources.  My 3com will only accept certain IRQs.
> 

I got around this previous `no free configuration slot ' message
now by reinstalling PAO (980913). I had the wrong pccardd running.
The syntax seems to have diverged between PAO and 2.2.7R.

Now the effect is that I'm getting 

ed0: device timeout.
ed0: device timeout.
ed0: device timeout.


as soon as the interface is configured (ifconfig).




Here is the kernel config:

#
#	Sample Laptop Configuration
#	for lenlen.ntc.keio.ac.jp (Toshiba Libretto 50CT)
#	Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
#

machine		"i386"
cpu		"I586_CPU"
ident		PAO
maxusers	16

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
#options		NFS			#Network Filesystem
#options		MFS			#Memory Filesystem
#options		MSDOSFS			#MSDOS Filesystem
#options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
#options		SCSI_DELAY=15		#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

# If your laptop have not had Windoze95-Ready BIOS, please update it.
# Such old BIOS'es sometimes have critical bugs at 32-bit protected
# mode APM BIOS interface (which have not used by Windoze 3.1).

# PC-card suspend/resume support (experimental)
options		APM_PCCARD_RESUME
options		PCIC_RESUME_RESET

# Keep power for serial cards when the system suspends
# (If your machine hangs up when you try to suspend the system with
#  FAX/Modem PCMCIA card, uncomment this option).
#options	SIO_SUSP_KEEP_PWR       

# Detach SCSI devices when the SCSI card is removed
options		SCSI_DETACH

# Detach ATAPI devices when the ATA card is removed
options		ATAPI_DETACH

# Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz
# band that US version uses.  If you want to use Japanese version of
# WaveLAN, uncomment this line, or edit the corresponding config entry
# of /etc/pccard.conf.
#options	"WAVELAN_PCMCIA_24"

# Suspend the system when the battery status is "Low"
#options	"APM_BATT_LOW_SUSPEND"

# If you want to use NTP on laptop machines, uncomment the following 
# option.  Current APM implementation affects NTP client.
#options	"APM_NO_CLOCK_ADJUST"

# Some X-servers cannot survive suspend/resume on laptop.
# This option kicks her when the system is resumed from suspended mode.
#options	SYSCONS_VTY_RESUME


config		kernel	root on wd0

controller	isa0
#controller	eisa0
controller	pci0

# Dont remove these two lines!
pseudo-device	card	1

# You must use "flags 0x1" when you don't hear any negotiation noise(?)
# if you use modem card, or pccardd doesn't read cis tuple, tell you 
# 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's 
# pcic is your PC.
device		pcic0   at isa? port 0x3e0 flags 0x1 irq 11 vector pcicintr
#device		pcic0   at isa? port 0x3e0 irq 11 vector pcicintr
#device		pcic0   at isa? port 0x3e4 irq 11 vector pcicintr
device		pcic1   at isa? port 0x3e2	# for HiNote Ultra II
#device		pcic1   at isa? port 0x3e4	# for Chandra II

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

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0x80ff80ff vector wdintr
disk		wd0	at wdc0 drive 0

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0		#IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# If the screen flickers badly when the mouse pointer is moved, try this.
options		SC_BAD_FLICKER

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

device ed0 at isa? port 0x280 net irq 10 iomem 0xd0000 vector edintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
# DHCP uses BPF (Berkeley Packet Filter)
pseudo-device   bpfilter        4
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	vn	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

options		DDB

# 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.
#
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

Here is output of pccardc dumpcis:


Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  d1 0a ff
	Common memory device information:
		Device number 1, type Function specific, WPS = OFF
		Speed = 250nS, Memory block size = 8Kb, 2 units
Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
    000:  01 d1 0a ff
	(MWAIT)
Tuple #3, code = 0x17 (Attribute memory descriptor), length = 3
    000:  51 7a ff
	Attribute memory device information:
		Device number 1, type FLASH EEPROM, WPS = OFF
		Speed = 250nS, Memory block size = 8Kb, 16 units
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
    000:  49 01 65 02
	PCMCIA ID = 0x149, OEM ID = 0x265
Tuple #5, code = 0x21 (Functional ID), length = 2
    000:  06 01
	Network/LAN adapter - POST initialize
Tuple #6, code = 0x15 (Version 1 info), length = 38
    000:  04 01 44 2d 4c 69 6e 6b 00 44 45 2d 36 35 30 00
    010:  56 65 72 20 30 31 2e 30 30 00 ff 00 00 00 00 00
    020:  00 00 00 00 00 00
	Version = 4.1, Manuf = [D-Link],card vers = [DE-650]
	Addit. info = [Ver 01.00],[ÿ]
Tuple #7, code = 0x1a (Configuration map), length = 5
    000:  01 20 00 04 0b
	Reg len = 2, config register addr = 0x400, last config = 0x20
	Registers: XX-X---- 
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  e0 81 18 45 30 fc be
	Config index = 0x20(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Card decodes 5 address lines, limited 8/16 Bit I/O
		IRQ modes: Level
		IRQs:  2 3 4 5 6 7 9 10 11 12 13 15
Tuple #9, code = 0x14 (No link), length = 0
Tuple #10, code = 0xff (Terminator), length = 0
2 slots found


Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.7-RELEASE #3: Sat Oct 24 17:59:13 GMT 1998
    root@myname.my.domain:/usr/src/sys/compile/PAO
CPU: Pentium/P54C (99.72-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 31117312 (30388K bytes)
Initializing PC-card drivers: ed sio wdc 
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=1060 device=e891 subclass=0)> rev 176 class 60000 on pci0:0:0
vga0 <VGA-compatible display device> rev 0 class 30000 on pci0:17:0
chip1 <generic PCI bridge (vendor=1060 device=e886 subclass=1)> rev 163 class 60100 on pci0:18:0
pci0:18:1: UMC, device=0x0101, class=storage (ide) [no driver assigned]
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
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
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <TOSHIBA MK6409MAV>, 32-bit, multi-block-16
wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S
pcic0 at 0x3e0-0x3e1 irq 11 flags 0x1 on isa
PC-Card ctlr(0) Vadem 468 (5 mem & 2 I/O windows)
pcic0: slot 0 controller I/O address 0x3e0
pcic0: slot 1 controller I/O address 0x3e0
pcic1: sharing irq 11 with other pcic
pcic1 not found at 0x3e2
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.1
Intel Pentium F00F detected, installing workaround
Card inserted, slot 0
ed0: address 00:80:c8:84:28:ab, type NE2000 (16 bit) 
ed0: device timeout


> Doug White                               
> Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
> http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de

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



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