Date: Tue, 20 Jan 1998 16:20:58 -0800 From: Bill Trost <trost@cloud.rain.com> To: mobile@FreeBSD.ORG Subject: problems with SVEC NE2000 clone Message-ID: <m0xuo2I-0002WOC@jli.com>
next in thread | raw e-mail | index | archive | help
I got a cheap NE2000 clone from Fry's a few days ago, and have it working OK under Windows $0.95, but I'm having troubles with it under FREEBSD-stable. The kernel sees the card, pccardd recognizes the card's ethernet address, but then bleats about "Resource allocation failure for PMX". Also, when in -v mode, pccardd prints the message "Code 240 not found" twice, and "code Unknown ignored" once (I just noticed that "pccardc dumpcis" does this, too. Hmmm). This happens regardless of what config index I specify for the card -- I've tried 0x1b, 0x20, and 0x0 -- 0x8. Below are various configuration and output files. A minor whine -- I sure wish pccardd gave some indication about *which* resource allocation failed! ==> /home/trost/tmp/pccard.conf <== # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 10 11 13 # Available memory slots memory 0xd4000 96k card "PMX " "PE-200" config 0x1b "ed0" 10 ether 0xff0 insert echo Lo! A card! remove echo Bye bye! ==> /home/trost/tmp/dumpcis <== Code 240 not found Code 240 not found code Unknown ignored Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 03 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 32Kb, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 53 01 ff Attribute memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 1 units Tuple #3, code = 0x21 (Functional ID), length = 2 000: 06 03 Network/LAN adapter - POST initialize - Card has ROM Tuple #4, code = 0x15 (Version 1 info), length = 30 000: 04 01 50 4d 58 20 20 20 00 50 45 2d 32 30 30 00 010: 45 54 48 45 52 4e 45 54 00 52 30 31 00 ff Version = 4.1, Manuf = [PMX ],card vers = [PE-200] Addit. info = [ETHERNET],[R01] Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 01 00 01 01 Reg len = 2, config register addr = 0x100, last config = 0x1 Registers: X------- Tuple #6, code = 0x1b (Configuration entry), length = 25 000: c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04 010: 00 00 40 0d 40 40 00 40 0d Config index = 0x1(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x10 I/O address # 2: block start = 0x310 block length = 0x10 IRQ modes: Level IRQs: 4 5 10 11 12 13 14 15 Memory descriptor 1 blk length = 0x400 card addr = 0x000 host addr = 0xd4000 Memory descriptor 2 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000 Tuple #7, code = 0x0 (Null tuple), length = 9 000: 57 42 20 4c 41 4e 20 20 ff Tuple #8, code = 0x22 (Functional EXT), length = 8 000: 04 00 20 e0 0f 91 84 ff Voice services available: Tuple #9, code = 0x14 (No link), length = 0 Tuple #10, code = 0xff (Terminator), length = 0 2 slots found ==> /home/trost/tmp/dmesg.txt <== Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-STABLE #1: Thu Jan 8 10:47:14 PST 1998 x@grey.cloud.rain.com:/mnt/usr/src/sys/compile/VERGA CPU: Pentium (150.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping=4 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 16777216 (16384K bytes) avail memory = 14454784 (14116K bytes) Probing for devices on PCI bus 0: chip0 <generic PCI bridge (vendor=8086 device=7100 subclass=0)> rev 1 on pci0:0 chip1 <generic PCI bridge (vendor=8086 device=7110 subclass=128)> rev 1 on pci0:1:0 pci0:1:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver assigned] pci0:1:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d irq ?? [no driver assigned] chip2 <generic PCI bridge (vendor=8086 device=7113 subclass=128)> rev 1 on pci0:1:3 chip3 <generic PCI bridge (vendor=104c device=ac15 subclass=7)> rev 1 int a irq ?? on pci0:19:0 chip4 <generic PCI bridge (vendor=104c device=ac15 subclass=7)> rev 1 int b irq ?? on pci0:19:1 vga0 <VGA-compatible display device> rev 2 int a irq ?? on pci0:20 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 fe0 not found at 0x300 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: 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): <TOSHIBA MK2103MAV> wd0: 2067MB (4233600 sectors), 4200 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 aic0 not found at 0x340 ep0 not found at 0x300 npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.1 joy0 at 0x201 on isa joy0: joystick sb0 at 0x220 irq 5 drq 1 on isa sb0: <SoundBlaster Pro 3.1> opl0 at 0x388 on isa opl0: <Yamaha OPL-3 FM> mpu0 at 0x330 irq 6 drq 0 on isa mpu0: <MPU-401 MIDI Interface 0.0 > PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 9 Initializing PC-card drivers: aic ed ep fe sio Intel Pentium F00F detected, installing workaround ccd0-1: Concatenated disk drivers Card inserted, slot 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0xuo2I-0002WOC>