Date: Sun, 10 Nov 2002 23:34:49 +0100 From: "Torfinn Ingolfsen" <torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Subject: Two identical network cards in a laptop? Message-ID: <3DCEED19.26168.F0CD87@localhost>
next in thread | raw e-mail | index | archive | help
--Message-Boundary-30819 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Hello, I have this laptop running FreeBSD-4.6.2-Release, and I'm trying to install two network cards in it, so that I can use it as a firewall. But, no success so far. The Network cards are identical, it's the LNA-100B from Billionton. Just to be on the safe side, I put both cards in another laptop, running Win2K, and the cards work in there. So I probably only need to get the config right under FreeBSD to make them work. The problem is that pccardd isn't able to configure the second card. In /etc/rc.conf I have these lines for pccardd: pccard_enable="YES" pccard_mem="DEFAULT" pccardd_flags=" -i 3 -i 15" (and the necessary _ifconfig lines) The default pccard.conf file didn't make the second card configured, so I have made my own /etc/pccard.conf: # Billionton LNA-100B card "Billionton" "LNA-100B" config auto "ed1" ? config auto "ed2" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop I tried various permutations of 'config 0x1 "ed1" ?' and 'config auto "ed2" ?' but it seems like this card only has one config index, which is 0x7. The output from 'pccardc dumpcis' (only one card inserted) is attached to this mail. If I use config 0x7 "ed1" ? and config auto "ed2" ? I get the message: pccardd[181]: driver allocation failed for Billionton(LNA-100B): Device not configured when I instert the second card. Any hints on how I can get this working? Oh, and in case anybody wants to know the laptop is a IBM ThinkPad 380ED. -- Torfinn Ingolfsen, Norway --Message-Boundary-30819 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Text from file 'dumpcis.txt' pccardc dumpcis Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x15 (Version 1 info), length = 29 000: 04 01 42 69 6c 6c 69 6f 6e 74 6f 6e 00 4c 4e 41 010: 2d 31 30 30 42 00 56 00 31 2e 30 00 ff Version = 4.1, Manuf = [Billionton], card vers = [LNA-100B] Addit. info = [V],[1.0] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: ff ff 90 10 PCMCIA ID = 0xffff, OEM ID = 0x1090 Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 01 c0 03 63 Reg len = 2, config register addr = 0x3c0, last config = 0x1 Registers: XX---XX- Tuple #5, code = 0x1b (Configuration entry), length = 11 000: c7 81 19 07 55 4d 5d 65 30 ff ff Config index = 0x7(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Card decodes 5 address lines, full 8/16 Bit I/O IRQ modes: Level IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 00 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x20 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 20 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 40 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 60 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x360 block length = 0x20 Tuple #10, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 00 02 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x200 block length = 0x20 Tuple #11, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 20 02 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x220 block length = 0x20 Tuple #12, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #13, code = 0x22 (Functional EXT), length = 2 000: 01 02 Network technology: Ethernet Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 02 64 Wrong length for network extension tuple Tuple #15, code = 0x22 (Functional EXT), length = 2 000: 03 01 Network media: UTP Tuple #16, code = 0xff (Terminator), length = 0 2 slots found --Message-Boundary-30819-- 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?3DCEED19.26168.F0CD87>