Compaq R4000 laptop, Yenta driver said "Fish. Please report this."

Rich rincebrain at gmail.com
Sun Jul 24 00:10:53 EDT 2005


I wanted to update this with the fact that I managed to get the card
*detected*, though not functioning, using the following steps.

I took the guides laying around for R3000 series laptops with their
peculiar PCMCIA setup[1], and I went about the annoying process of
trying to modify them to the R4000 series, assuming they were similar.

First, I looked up the lspci output, and managed to link up the 0:14.4
PCI Bridge as the one the cardbus is attached to. I had this line
added to /etc/pcmcia/config.opts:

include port 0000a000-0000afff, memory 0xb0200000-0xb02fffff (drawn
from the lspci output of that pci bus)

Then, I added the following to /etc/conf.d/pcmcia (your location will
vary depending on distro; Slackware, it is /etc/rc.d/rc.pcmcia):
CORE_OPTS="probe_io=0"

(By the way, I tried pci=assign-busses, but this did not help)

Following that, I looked up the subordinate of the pci bus mentioned
above, as it is apparently set wrong by default, and should be reset
in order to make cardbus cards work (the above instructions should be
sufficient to make plain PCMCIA cards work, according to the original
guide; YMMV, I don't have any around to test), and worked out the
following command by substituting the bus and subordinate values from
the lspci output of the PCI bus above:
setpci -s 0:14.4 SUBORDINATE_BUS=0E

Following this, the kernel immediately detected the Atheros-chipset
DWL-G630 card I had inserted, and modprobed the drivers for it.

Sadly, the card's radio does not appear to be on, nor does there
appear to be a way that I can quickly find to turn it on (yes, I did
ifconfig ath0 up, still no packets), but this is progress, of a sort.

- Rich
[1]http://www1.pacific.edu/~khughes/presario-r3120us/

On 7/23/05, Rich <rincebrain at gmail.com> wrote:
> Hello.
> 
> The above message was entertaining enough that I thought I would do as
> the message asked, and report the bug.
> 
> My friend has a Compaq R4000 laptop, and wishes to run Linux on it.
> Being the helpful type, I helped them through a few kernel hoops (the
> onboard keyboard isn't AT...), and then we had problems getting
> ndiswrapper working for either of the onboard network cards (which
> were crap, but I'll get back to this later).
> 
> We finally went out today, got a DWL-G630 rev. C2, and put it in the
> laptop. Not detected, at all. lspci shows no change. Plug it into my
> far more compliant laptop, and it's immediately detected as an Atheros
> chipset device and works fine.
> 
> This led to research, which lead to the following message from initial bootup:
> Yenta: CardBus bridge found at 0000:03:04.0 [103c:3085]
> Yenta: Using INTVAL to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:03:04.0, mfunc 0x01c01c02, devctl 0x44
> Yenta TI: socket 0000:03:04.0 probing PCI interrupt failed, trying to fix
> Yenta TI: socket 0000:03:04.0 no PCI interrupts. Fish. Please report.
> Yenta: ISA IRQ mask 0x00f8, PCI irq 0
> 
> Here, have the lspci output:
> 0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5950
> 0000:00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5a3f
> (prog-if 00 [Normal decode])
> 0000:00:04.0 PCI bridge: ATI Technologies Inc: Unknown device 5a36
> (prog-if 00 [Normal decode])
> 0000:00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4374
> (prog-if 10 [OHCI])
> 0000:00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4375
> (prog-if 10 [OHCI])
> 0000:00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4373
> (prog-if 20 [EHCI])
> 0000:00:14.0 SMBus: ATI Technologies Inc: Unknown device 4372 (rev 10)
> 0000:00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4376
> (prog-if 8a [Master SecP PriP])
> 0000:00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 4377
> 0000:00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4371
> (prog-if 01 [Subtractive decode])
> 0000:00:14.5 Multimedia audio controller: ATI Technologies Inc:
> Unknown device 4370 (rev 01)
> 0000:00:14.6 Modem: ATI Technologies Inc: Unknown device 4378 (rev 01)
> (prog-if 00 [Generic])
> 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] HyperTransport Technology Configuration
> 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Address Map
> 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] DRAM Controller
> 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Miscellaneous Control
> 0000:01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown
> device 5955 (prog-if 00 [VGA])
> 0000:03:02.0 Network controller: Broadcom Corporation BCM4306
> 802.11b/g Wireless LAN Controller (rev 03)
> 0000:03:04.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus
> Controller
> 0000:03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 10)
> 
> Since the above message was so obscure and entertaining, I decide to
> report it, and see if anyone had a fix. Kernel 2.6.12.3, apparently on
> amd64 arch (the processor is a latest-gen Sempron, which Wikipedia and
> Google claim is an AMD64-based processor without the 64-bit, which
> sucks.)
> 
> Thanks for taking the time to read this, and for putting out a great
> codebase for all of us to use. :)
> 
> - Rich
> 
> 
> --
> Friends don't let friends use Internet Explorer or Outlook.
> 
> Choose something better.
> www.mozilla.org
> www.getfirefox.com
> www.getthunderbird.com
> 


-- 
Friends don't let friends use Internet Explorer or Outlook.

Choose something better.
www.mozilla.org
www.getfirefox.com
www.getthunderbird.com



More information about the linux-pcmcia mailing list