Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Dec 2001 09:46:40 -0800
From:      John Gordon <john.gordon@windriver.com>
To:        Diego Adolf <diegoadolf@yahoo.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: PCMCIA not working
Message-ID:  <3C091780.F83B2F13@windriver.com>
References:  <000901c17a61$dbadc760$bbd8e6c2@diego>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
>   AMD Features=0x400<<b10>>
> 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: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <Host to PCI bridge> on motherboard
> pci0: <PCI bus> on pcib0
> isab0: <PCI to ISA bridge (vendor=1045 device=c700)> at device 1.0 on pci0
> isa0: <ISA bus> on isab0
> pci_cfgintr_virgin: using routable PCI-only interrupt 11
> pci_cfgintr: 0:10 INTA routed to irq 11
> pcic0: <TI PCI-1131 PCI-CardBus Bridge> 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: <PC Card bus (classic)> 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: <TI PCI-1131 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1
> pci0: <NeoMagic MagicGraph 128XD SVGA controller> at 18.0 irq 11
> ohci0: <OPTi 82C861 (FireLink) USB controller> mem 0xfecff000-0xfecfffff irq
> 10 at device 19.0 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <OPTi 82C861 (FireLink) USB controller> 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: <Generic PCI ATA controller> 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: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
> 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
> 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>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> ad0: 3909MB <FUJITSU MHC2040AT> [7944/16/63] at ata0-master BIOSPIO
> acd0: CDROM <SR240S> at ata1-master using BIOSPIO
> Mounting root from ufs:/dev/ad0s2a
> pccard: card inserted, slot 0
> 
> thanks again for reading this...
> 
> Diego Adolf
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 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?3C091780.F83B2F13>