Date: Tue, 07 Sep 1999 12:02:51 -0700 From: Eric Hedstrom <erich@peregrine.com> To: Steve Darrall <steve@haagen-dazs.org> Cc: mobile@FreeBSD.ORG Subject: Re: 3Com 3C589D Message-ID: <37D5615B.E090F734@peregrine.com> References: <19990907184433.C469C155A1@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I just set up a Thinkpad 701c with a 3c589c and a 3c589d using 3.2-Release, and it is working like a champ. My dumpcis for the 589d looks exactly the same as yours. In fact, I don't see anything wrong with what you posted, so here are some thoughts: Does your dmesg show it finding the pcmcia controller properly? Have you tried turning off the machine before booting FreeBSD, or are you rebooting from Windows? FreeBSD seems to have problems resetting 3c589s after Windows has been using them. Is your system able to allocate resources for your pcmcia modem properly? Are you sure nothing else (e.g. sound) is using IRQ 10? Eric Steve Darrall wrote: > > Hiya, > > I'm trying to get an IBM Thinkpad 380 up and running with 3.2-RELEASE. > > If I use pccardd I simply get "Driver allocation failed" when the 3Com adapter > is inserted. The card is detected by zp0 and works with no problems, but I need > the laptop to have a modem installed along with the network card. > > I've checked the kernel config for ep0 and /etc/pccard.conf but can't see > anything wrong. > > If anyone can help with this, I'd be more than grateful. > > TIA > > Steve > > pccardc dumpcis gives... > > 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 = 7.0 x 100 ns > Card decodes 18 address lines, full 8/16 Bit I/O > IRQ modes: Level, Pulse > IRQs: IOCK 1 4 5 6 8 10 11 12 14 > 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 -120, length 129, value is 0x0 > Tuple #12, code = 0xff (Terminator), length = 149 > 000: 00 03 83 00 fd ff ff ff ff ff ff ff ff ff ff ff > 010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff > 090: ff ff ff ff ff > 2 slots found > > pccard.conf is... > > # Generally available IO ports > io 0x240-0x360 > # Generally available IRQs (Built-in sound-card owners remove 5) > irq 3 10 11 13 15 > # Available memory slots > memory 0xd0000 96k > > # 3Com Etherlink III 3C589D > card "3Com Corporation" "3C589D" > config 0x1 "ep0" ? > > This is the output from dmesg when I just use the zp0 driver.... > > zp: found card in slot 0 > zp0 at 0x300-0x30f irq 10 maddr 0xd0000 on isa > zp0: aui/bnc/utp address 00:60:08:95:21:6a > > And last but not least, here's the kernel config.... > > machine "i386" > ident STINKPAD > > maxusers 10 > > options FAILSAFE > > config kernel root on wd0 > > cpu "I586_CPU" # aka Pentium(tm) > cpu "I686_CPU" # aka Pentium Pro(tm) > > options "COMPAT_43" > > options SYSVSHM > options SYSVSEM > options SYSVMSG > > options KTRACE #kernel tracing > options UCONSOLE > options USERCONFIG #boot -c editor > > options INET #Internet communications protocols > > pseudo-device loop #Network loopback device > pseudo-device ether > #pseudo-device bpfilter 10 > > # One of these is mandatory: > options FFS #Fast filesystem > options MFS #Memory File System > options NFS #Network File System > > options "CD9660" #ISO 9660 filesystem > options MSDOSFS #MS DOS File System > options NTFS #NT File System > options PROCFS #Process filesystem > options FFS_ROOT #FFS usable as root device > options MFS_ROOT #MFS usable as root device > > pseudo-device pty 16 #Pseudo ttys - can go as high as 256 > pseudo-device speaker #Play IBM BASIC-style noises out your speaker > pseudo-device gzip #Exec gzipped a.out's > > controller isa0 > > controller pnp0 > controller atkbdc0 at isa? port IO_KBD tty > device atkbd0 at isa? tty irq 1 > > # PS/2 mouse > device psm0 at isa? tty irq 12 > > # Options for psm: > options PSM_HOOKAPM #hook the APM resume event, useful > #for some laptops > options PSM_RESETAFTERSUSPEND #reset the device at the resume event > > # The video card driver. > device vga0 at isa? port ? conflicts > > # Splash screen at start up! Screen savers require this too. > pseudo-device splash > > device sc0 at isa? tty > > device npx0 at isa? port IO_NPX iosiz 0x0 flags 0x0 irq 13 > > controller wdc0 at isa? port "IO_WD1" bio irq 14 > disk wd0 at wdc0 drive 0 > disk wd1 at wdc0 drive 1 > controller wdc1 at isa? port "IO_WD2" bio irq 15 > disk wd2 at wdc1 drive 0 > disk wd3 at wdc1 drive 1 > options "CMD640" #Enable work around for CMD640 h/w bug > options ATAPI #Enable ATAPI support for IDE bus > options ATAPI_STATIC #Don't do it as an LKM > device acd0 > device wfd0 > > controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 > disk fd0 at fdc0 drive 0 > > device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 > device sio1 at isa? port "IO_COM2" tty irq 6 > > # Maybe this'll all work one day *sigh*..... > device ep0 at isa? port 0x300 net irq 10 > #device zp0 at isa? port 0x300 net irq 10 iomem 0xd0000 > > device apm0 at isa? > device joy0 at isa? port IO_GAME > > controller pci0 > > # PCCARD/PCMCIA > # > # card: slot controller > # pcic: slots > controller card0 > device pcic0 at card? > device pcic1 at card? > > # You may need to reset all pccards after resuming > options PCIC_RESUME_RESET # reset after resume > > options POWERFAIL_NMI # make it beep instead of panicing > > controller ppbus0 > device lpt0 at ppbus? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message 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?37D5615B.E090F734>