Date: Fri, 23 Feb 2001 22:30:30 -0500 From: Allen Landsidel <alandsidel@venon.com> To: "Greg Smith" <gregsmith59@hotmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: 4.x pccardd question, 3.x cvsup question, etc.. Message-ID: <4.3.2.7.2.20010223221642.00c559f0@64.7.7.83> In-Reply-To: <F82pYC98Bi89QtpfTYS000171e1@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 02:37 2/24/2001 +0000, Greg Smith wrote: >Allen, > >I use 4.1-Release, not 4.2-xxx, but I wanted to let you know that my >firewall laptop has been using these exact two same cards for 165 days >uptime now without problem. Mine is a Winbook FX, P133 + 32MB RAM. So I >am pretty sure you do not need to go back to 3.x to get this working. At >worst case 4.1-Release, which doesn't seem bad, except I think this group >will help you get it working if you provide more info. Hmm.. ok, I'll paste my full dmesg output at the end of this file, and providing the info you used in your pccard.conf file would be great.. I'm sure I could use a very similar, if not identical configuration. I've got almost -no- other hardware on this box that will be using resources.. I've purposely disabled the serial and parallel ports just to free up resources. >By the way, if you still have Win95 on that machine use its Device Manager >Print function to get a great report of resources used and free. "still" implies I ever had it on there.. that's a big negative.. ;) It's been freebsd since I got my hands on it. >I think you want to make sure you have the right I/O and IRQ parameters in >the pccard.conf file. I had to remove 80% of the defaults. > >And maybe check the various configurations in the cards' CIS to see that >your free resources are usable by these cards. It is possible that one >card is more picky than the other and you need to guide that one card to >the right IRQ or I/O. Like I said, if you could forward for me your pccard.conf, I'd greatly appreciate it. I'm not entirely sure how to parse the dumpcis information so that it makes sense.. I tried, so that I might be able to stop using pccardd and just put some 'pccardc enabler' lines in rc.local or something, but apparently I have to do some other magic to get that working. Here is my current pccard.conf, rc.conf, dmesg output,pccardd output grep'd from /var/log/messages, dumpcis information, and vmstat -i output.. in that order. If you need more information than this, let me know. ;) /* pccard.conf */ card "3Com" "3C589D" config 0x1 "ep" 3 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop card "Linksys" "Combo PCMCIA EthernetCard (EC2T)" config 0x1 "ep" 4 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop /* rc.conf */ # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # Enable network daemons for user convenience. # -- sysinstall generated deltas -- # sendmail_enable="NO" sshd_enable="NO" inetd_enable="NO" network_interfaces="ep0 lo0" pccard_ifconfig="inet 64.7.7.81 netmask 255.255.255.240" defaultrouter="64.7.7.84" hostname="vishnu.venon.com" pccard_enable="YES" pccardd_flags=" -i 7" pccard_mem="DEFAULT" /* dmesg */ dmesg Copyright (c) 1992-2001 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.2-STABLE #3: Fri Feb 2 20:02:13 GMT 2001 root@vishnu.venon.com:/usr/src/sys/compile/VISHNU Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (133.22-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 50331648 (49152K bytes) config> di sio1 config> di sio0 config> di ppc0 config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> en pcic0 config> po pcic0 0xfcfc config> ir pcic0 0 config> iom pcic0 0xd0000 config> f pcic0 0 config> q avail memory = 45223936 (44164K bytes) Preloaded elf kernel "kernel" at 0xc03bf000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03bf09c. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <SiS 85c501> on motherboard pci0: <PCI bus> on pcib0 isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Generic PCI ATA controller> port 0x3f4-0x3f7,0x374-0x377,0x1f4-0x1f7,0x174-0x177 irq 14 at device 1.1 on pci0 atapci0: Busmastering DMA not supported pci0: <Trident model 9660 VGA-compatible display device> at 17.0 pcic-pci0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0xfcfc-0xfcff at device 19.0 on pci0 pcib1: <SiS 85c601> on motherboard pci1: <PCI bus> on pcib1 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 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: <Cirrus Logic PD672X> at port 0xfcfc iomem 0xd0000 drq 0 on isa0 pcic0: Polling mode pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 50 packets/entry by default ad0: 1376MB <TOSHIBA MK1403MAV> [2796/16/63] at ata0-master BIOSPIO acd0: CDROM <TOSHIBA CD-ROM XM-1502B> at ata1-master using BIOSPIO Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 pccard: card inserted, slot 1 ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 3 slot 0 on pccard0 ep0: Ethernet address 00:60:97:93:ce:c3 /* pccardd */ Feb 4 02:17:09 vishnu pccardd[48]: Card "3Com Corporation"("3C589D") [TP/BNC LAN Card Ver. 2a] [000002] matched "3Com" ("3C589D") [(null)] [(null)] Feb 4 02:17:14 vishnu pccardd[48]: ep0: 3Com (3C589D) inserted. Feb 4 02:17:19 vishnu pccardd[48]: Card "Linksys"("Combo PCMCIA EthernetCard (EC2T)") [2.0] [(null)] matched "Linksys" ("Combo PCMCIA EthernetCard (EC2T)") [(null)] [(null)] Feb 4 02:17:19 vishnu pccardd[48]: No free configuration for card Linksys Feb 4 02:17:19 vishnu pccardd[48]: pccardd started /* dumpcis */ Configuration data for card in slot 0 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 = 0x17 (Attribute memory descriptor), length = 3 000: 43 02 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 150nS, Memory block size = 8Kb, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 01 01 89 05 PCMCIA ID = 0x101, OEM ID = 0x589 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #5, code = 0x15 (Version 1 info), length = 58 000: 04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69 010: 6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43 020: 20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32 030: 61 00 30 30 30 30 30 32 00 ff Version = 4.1, Manuf = [3Com Corporation], card vers = [3C589D] Addit. info = [TP/BNC LAN Card Ver. 2a],[000002] Tuple #6, code = 0x1a (Configuration map), length = 6 000: 02 03 00 00 01 03 Reg len = 3, config register addr = 0x10000, last config = 0x3 Registers: XX------ Tuple #7, code = 0x1b (Configuration entry), length = 15 000: c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 10mA Max current average over 10 ms: 5 x 10mA Power down supply current: 5 x 1mA Wait scale Speed = 7.0 x 100 ns RDY/BSY scale Speed = 5.0 x 100 us Card decodes 4 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 #8, code = 0x1b (Configuration entry), length = 7 000: 03 01 71 55 26 26 54 Config index = 0x3 Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 2 x 100mA Max current average over 10 ms: 2 x 100mA Power down supply current: 5 x 1mA Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3 000: 00 00 ff Tuple #10, code = 0x14 (No link), length = 0 Tuple #11, code = 0x10 (Checksum), length = 5 000: 88 ff 81 00 00 Checksum from offset 65416, length 129, value is 0x0 Tuple #12, code = 0xff (Terminator), length = 0 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 = 5 000: d4 0a 53 e9 ff Common memory device information: Device number 1, type Function specific, WPS = OFF Speed = 100nS, Memory block size = 8Kb, 2 units Device number 2, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 30 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 53 09 ff Attribute memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 150nS, Memory block size = 2Kb, 2 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 49 01 ab c1 PCMCIA ID = 0x149, OEM ID = 0xc1ab Tuple #4, code = 0x15 (Version 1 info), length = 50 000: 04 01 4c 69 6e 6b 73 79 73 00 43 6f 6d 62 6f 20 010: 50 43 4d 43 49 41 20 45 74 68 65 72 6e 65 74 43 020: 61 72 64 20 28 45 43 32 54 29 00 32 2e 30 00 ff 030: 00 ff Version = 4.1, Manuf = [Linksys], card vers = [Combo PCMCIA EthernetCard (EC2T)] Addit. info = [2.0] Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 06 d0 0f 0b Reg len = 2, config register addr = 0xfd0, last config = 0x6 Registers: XX-X---- Tuple #6, code = 0x1b (Configuration entry), length = 7 000: c0 81 18 45 30 fc be Config index = 0x0(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 #7, code = 0x1b (Configuration entry), length = 7 000: 01 08 ca 60 00 03 1f Config index = 0x1 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x20 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 02 08 ca 60 20 03 1f Config index = 0x2 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 03 08 ca 60 40 03 1f Config index = 0x3 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #10, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #11, code = 0x14 (No link), length = 0 Tuple #12, code = 0x0 (Null tuple), length = 9 000: 57 42 4c 41 4e 39 32 36 ff Tuple #13, code = 0xff (Terminator), length = 0 2 slots found /* vmstat -i */ interrupt total rate fdc0 irq6 2 0 ata0 irq14 1424 2 ata1 irq15 4 0 atkbd0 irq1 1 0 clk irq0 54929 99 rtc irq8 70312 127 ep0 irq3 262 0 Total 126934 230 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?4.3.2.7.2.20010223221642.00c559f0>