From owner-freebsd-mobile Sat Dec 1 9:35:45 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id CDEFB37B417 for ; Sat, 1 Dec 2001 09:35:37 -0800 (PST) Received: from windriver.com (johng-home-pc.wrs.com [147.11.33.26]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id JAA03306; Sat, 1 Dec 2001 09:34:50 -0800 (PST) Message-ID: <3C091780.F83B2F13@windriver.com> Date: Sat, 01 Dec 2001 09:46:40 -0800 From: John Gordon X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Diego Adolf Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: PCMCIA not working References: <000901c17a61$dbadc760$bbd8e6c2@diego> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Diego, Some things to check for... 1) Are your cards listed in the pccard.conf file (/etc/defaults)? I cannot find anything called Zeus nor anything called Maxtech in my file. If they're not, you'll need to add an entry to get the card recognised, and you'll need to know which driver to use too... 2) What does pccardc dumpcis have to say? Does it see the cards? If this works, you can use it to get the information to add entries to pccard.conf (be careful to include any spaces in the strings, even leading and/or trailing ones, when adding the entry to pccard.conf). Another thing to try is the following: sysctl -w machdep.pccard.mem_start=0xd0000 Also try 0xd4000 and 0xd8000 if the first one doesn't work. If one of these values works you might like to make it more permanent by modifying pccard_nbk.c to initialise mem_start to the value that worked instead of IOM_BEGIN. HTH, John... > hello, i already posted a similar question here some time ago and followed > some advices i got but without any succes. > i have been looking for a solution all over the internet but it seems i'm > the only one with this problem. > > i've been using linux for a while and now decided to try freebsd. one big > problem i'm facing is that i cannot use pcmcia devices. I have read the > instruction on freebsd.org but i just can't get it working. > Every time i insert a card i get the message ' No card in database for > "(null)"("(null)") ' . I have been trying two cards: a Zeus modem and a > Maxtech Ethernet Adapter. Both run under linux and i think both are 16 bit > but i am only 100% sure with the zeus modem. the other card is old so i > think it > should be 16 bit too. > if have tried to change pccard_mem in rc.conf to 0xd4000, 0xd8000 and > 0xe0000 as someone adviced me to do but it didn't work > > could there be an IRQ conflict? could an upgrade to freebsd 5.0 solve the > problem ? > > I would appreciate if some could help me out with this problem. detailed > information is below. > > thanks a lot > > PS: i hope this e-mailis is in plain text, it should be according to my mail > client > > I'm running a Compaq Presario 1235, 266mhz 96 ram > There are is only one pcmcia slot but two are detected. I don't think this > is the problem because this also happens under linux and Win98. > > my /etc/defaults/pccard.conf is the original, i've only removed the IRQ 5 > because i have an onboard sound card > i don't have a /etc/pccard.conf file > i haven't put pccard_enable="Yes" in /etc/rc.conf but a card gets detected > anyways if it is inside at startup > > uname -a output: > FreeBSD 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 > murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 > > this is dmesg output i hope it isn't too long > > 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.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 > murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD-K6tm w/ multimedia extensions (262.39-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x570 Stepping = 0 > Features=0x8001bf > AMD Features=0x400<> > real memory = 100663296 (98304K bytes) > config> di sn0 > config> di lnc0 > config> di ie0 > config> di fe0 > config> en pcic0 > config> po pcic0 0x3e0 > config> ir pcic0 0 > config> iom pcic0 0xd0000 > config> f pcic0 0 > config> q > avail memory = 93323264 (91136K bytes) > Preloaded elf kernel "kernel" at 0xc0480000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc048009c. > md0: Malloc disk > Using $PIR table, 4 entries at 0xc00fdf70 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > pci_cfgintr_virgin: using routable PCI-only interrupt 11 > pci_cfgintr: 0:10 INTA routed to irq 11 > pcic0: irq 11 at device 10.0 on pci0 > pcic0: PCI Memory allocated: 0x44000000 > pcic0: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa > irq] > pccard0: on pcic0 > pci_cfgintr_search: linked (2) to configured irq 11 at 0:10:0 > pci_cfgintr: 0:10 INTB routed to irq 11 > pcic1: irq 11 at device 10.1 on pci0 > pcic1: PCI Memory allocated: 0x44001000 > pcic1: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa > irq] > pccard1: on pcic1 > pci0: at 18.0 irq 11 > ohci0: mem 0xfecff000-0xfecfffff irq > 10 at device 19.0 on pci0 > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > atapci0: port 0xfcf0-0xfcff at device 20.0 on > pci0 > atapci0: Busmastering DMA not supported > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > orm0: