From owner-freebsd-stable Tue Mar 27 13:57:41 2001 Delivered-To: freebsd-stable@freebsd.org Received: from transporter.cybertours.com (transporter.cybertours.com [208.130.42.17]) by hub.freebsd.org (Postfix) with ESMTP id 976EC37B71A for ; Tue, 27 Mar 2001 13:57:25 -0800 (PST) (envelope-from static@cybertours.com) Received: from statix (statix.cybertours.com [208.130.43.215]) by transporter.cybertours.com (8.9.3/8.9.1) with SMTP id QAA07501; Tue, 27 Mar 2001 16:57:24 -0500 (EST) Message-ID: <013f01c0b708$ba3aa200$d72b82d0@cybertours.com> From: "A. Smith" To: "Allen Landsidel" Cc: References: <4.3.2.7.2.20010327111020.00c5e6d8@64.7.7.83> Subject: Re: 2 pcmcia card setup Date: Tue, 27 Mar 2001 16:56:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at 3.0 irq 0 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 pcic0: management irq 10 pccard0: on pcic0 pccard1: 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 [1575/16/63] at ata0-master using BIOSPIO acd0: CDROM 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" To: 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