Fwd: cbb: Unable to map IRQ on 5.0R (was: Re: Support for O2Micro Card Bridges?)

"Cornelius, Peter" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hm. One should subscribe, I suppose...
Sorry for the hassle.
Regards, Peter.
(PS: Please keep my Cc: above, thanks!)

--- Weitergeleitete Nachricht / Forwarded Message ---
Date: Fri, 8 Aug 2003 10:48:59 +0200 (MEST)
From: Peter Cornelius <[email protected]>
To: FreeBSD Mobile Mailing List <[email protected]>
Subject: cbb: Unable to map IRQ on 5.0R (was: Re: Support for O2Micro Card
Bridges?)

> Hi list,  
>   
> I have slight problems activating PCMCIA (PC-Card, CardBus) support on my
> laptop, probably also due to my inexperience with  
> it. The laptop is a 'Targa Visionary 1300WS' (O2Micro OZ 6912TE
> Controller),
> the card in question an Edimax EP-4103DL 
> (network device rl, according to -Current man pages). dmesg, loader.conf
> and
> sysctl.conf come attached. 
>  
> What I see is 
>  
>     [...] 
>     cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> at device 8.0 on pci0 
>     cardbus0: <CardBus bus> on cbb0 
>     pccard0: <16-bit PCCard bus> on cbb0 
>     pcib0: _PRS resource entry has unsupported type 2 
>     cbb: Unable to map IRQ... 
>     device_probe_and_attach: cbb0 attach returned 12 
>     [...] 
>  
> >From googleing about (FreeBSD mail archives currently offline?), I gather
> that this has been seen before 
> (http://lists.freebsd.org/pipermail/freebsd-mobile/2003-April/000324.html,
> apparently a slightly newer model than mine), and on an 
> IBM notebook someone suggested some loader.conf tweaks which I also tried 
> (http://lists.freebsd.org/pipermail/freebsd-mobile/2003-July/001366.html;
> see also my attached loader.conf). However, these 
> appear to be consulted/effective too late in the boot process, and I don't
> see any positive effects. 
>  
> Finally, there are the following messages which only appear on the console
> (ttyv0) but not on the logs, right after the sysctl 
> tweaks are done (pcm, et al): 
>  
>     Setup PC_CARD:pccardc: /dev/card0: No such file or directory  
>     pccardc: /dev/card0: No such file or directory  
>  
> Now, with this being said, I have the following questions: 
>  
> i.  Could anyone please advise how to get pcmcia support working? 
>     Any hints are appreciated very much so. 
> ii. I noted that the cardbus controller is 16 bit. However, 
>     the rl card I use supposedly is 32 bit cardbus. 
>     Will 32-bit cards work on 16-bit controllers? 
>     If so, would it also with a TI-1250 controller? 
>  
> (The reason why I ask ii. is that I have another, older laptop without
> network interface but with 2x pcmcia which is currently slowly 
> undergoing refurbishment and is the final target for use -- also a 16-bit
> controller. And I have 10 days left to decide to keep the 
> card or return it and try another one). 
>  
> Thank you very much for reading all this, 
>  
> all the best, 
>  
> Peter. 
>  
> 
> -- 
> COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
> --------------------------------------------------
> 1. GMX TopMail - Platz 1 und Testsieger!
> 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
> 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8.
> e-Post
---
Peter CORNELIUS              
COMSOFT GmbH                 Phone: +49 721 9497-160
Wachhausstrasse 5a           Fax:   +49 721 9497-129
76227 Karlsruhe, Germany     http://www.comsoft.de

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
Targa-Visionary-1300WS.dmesg (text/plain, 5 KB)
Copyright (c) 1992-2003 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 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003
    [email protected]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0696000.
Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc06960a8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc069615c.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0696208.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1200050768 Hz
CPU: mobile AMD Athlon(tm) 4 Processor (1200.05-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xffffffffc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 503250944 (479 MB)
avail memory = 481796096 (459 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT VIA_K7  > on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 5 entries at 0xc00f81a0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <O2Micro OZ6912/6972 PCI-CardBus Bridge> at device 8.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: _PRS resource entry has unsupported type 2
cbb: Unable to map IRQ...
device_probe_and_attach: cbb0 attach returned 12
pci0: <serial bus, FireWire> at device 16.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8231 ATA100 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 17.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 17.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 17.4 (no driver attached)
pcm0: <VIA VT82C686A> port 0xdc00-0xdc03,0xe000-0xe003,0xe400-0xe4ff irq 10 at device 17.5 on pci0
pci0: <simple comms> at device 17.6 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd000-0xd0ff mem 0xdffff700-0xdffff7ff irq 9 at device 18.0 on pci0
vr0: Ethernet address: 00:a0:cc:cb:92:5f
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
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
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
ad0: 28615MB <TOSHIBA MK3017GAP> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <TORiSAN DVD-ROM DRWU88824> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s4a
vr0: Using force reset command.
pid 518 (nwserv), uid 0: exited on signal 11 (core dumped)
Targa-Visionary-1300WS.loader.conf (text/plain, 126 B)
hw.cbb.start_memory=0x20000000
hw.pci.allow_unsupported_io_range=1
hw.ata.atapi_dma=1
hw.ata.ata_dma=1
snd_via82c686_load=yes
Targa-Visionary-1300WS.sysctl.conf (text/plain, 467 B)
# $FreeBSD: src/etc/sysctl.conf,v 1.7 2002/09/25 22:17:18 jmallett Exp $
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Uncomment this to allow users to only see information about processes that
# are being run under an equivalent UID.
#security.bsd.see_other_uids=0
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
hw.snd.pcm0.vchans=4
hw.snd.maxautovchans=4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.