Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 16:56:06 -0500
From:      "A. Smith" <static@cybertours.com>
To:        "Allen Landsidel" <all@biosys.net>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: 2 pcmcia card setup
Message-ID:  <013f01c0b708$ba3aa200$d72b82d0@cybertours.com>
References:  <4.3.2.7.2.20010327111020.00c5e6d8@64.7.7.83>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey Al -

You were right on the money with the kernel config, the line device ed0 had
all the port/irq/iomem info specified, so I corrected that and it now reads

#ISA Ethernet NICs.
device    ed        # at isa? port .... etc

That's the only ethernet device I have enabled, where both cards use the
same device. I also have the output to DMESG, at the bottom of this post.

Unfortunately it's still not functioning properly, and I'm getting the same
error when I install the second card,
"no free configuration available".

Any ideas on where I might go from here?

root #dmesg

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 4.1-RELEASE #5: Tue Mar 27 13:45:38 EST 2001
    root@firewall.bsdgateway.org:/usr/src/sys/compile/BSDGATEWAY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 16777216 (16384K bytes)
config> di sn0
No such device: sn0
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 ed0
No such device: ed0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 14041088 (13712K bytes)
Preloaded elf kernel "kernel" at 0xc0281000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc028109c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371FB PCI to ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Trident model 9320 VGA-compatible display device> at 3.0 irq 0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
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
ppc0: cannot reserve I/O port range
ad0: 775MB <IBM-DSOA-20810> [1575/16/63] at ata0-master using BIOSPIO
acd0: CDROM <CD-46E> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 1
ed0 at port 0x340-0x35f irq 3 slot 1 on pccard1
ed0: address 00:e0:98:74:7f:51, type Linksys (16 bit)



----- Original Message -----
From: "Allen Landsidel" <all@biosys.net>
To: <freebsd-stable@FreeBSD.ORG>
Sent: Tuesday, March 27, 2001 11:14 AM
Subject: Re: 2 pcmcia card setup


> At 11:03 3/27/2001 -0500, you wrote:
> >Hi all -
>
> Rule #1.  dmesg output is always helpful.  Kernel conf file would be
> helpful in this case as well.
>
>
> >I've got an IBM laptop that I'm trying to set up as a
firewall/router...I've
> >got 2 very similar Linksys PCMCIA cards in it, and regardless of which
card
> >I insert first, the SECOND card gives me an error saying "no free
> >configuration available". The first card works fine, regardless of what
card
> >or what slot I use.
> >
> >I had posted on this previously, but unfortunately lost the
reply...someone
> >had mentioned changing the IO 0x###-0x### line in the pccard.conf file.
I'm
> >not sure what IOs are available/etc to change it to though...
>
> I'm using an ep and an ed in my notebook without problems, simultaneously
> (it's my firewall/gateway).  Make sure you have "device ed" in your kernel
> conf, and not "device ed0 blahblahblah etc."  If you do it the second way,
> you'll only get one device enabled by the kernel, and hence the error
> message you're seeing.
>
> It could be something else, but this is common.
>
> You may also want to subscribe to freebsd-mobile.
>
> -AL
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013f01c0b708$ba3aa200$d72b82d0>