Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 05:30:00 +0000 (GMT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        goto@snowy.to (Yoshikazu GOTO)
Cc:        freebsd-current@freebsd.org
Subject:   Re: if_re does not work
Message-ID:  <20060711053000.94DB016A4E1@hub.freebsd.org>
In-Reply-To: <20060710.225942.74754050.goto@snowy.to> from Yoshikazu GOTO at "Jul 10, 2006 10:59:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all,
> 
> I have two CardBus card with RealTek 8169SB as follows:
> 
> NETGEAR GA511
> Buffalo LPC-CB-CLGT
> 
> But they act up from revision 1.68 of if_re.c.

This has nothing to do with the re(4) driver. The problem is that
the cardbus code is not allocating an interrupt resource for the device:

> It is a log of NETGEAR GA511 inserting to ThinkPad X40.

It sure is.
 
> Jul 10 22:54:33 x40 kernel: re0: <RealTek 8169SB/8110SB Single-chip Gigabit Ethernet> port 0x3000-0x30ff mem 0xd0211000-0xd02111ff at device 0.0 on cardbus0

Note that there is no 'irq' mentioned anywhere in this line, which is why
you get this error:

> Jul 10 22:54:33 x40 kernel: re0: couldn't set up irq

If you really think this is related to the driver, prove it: back out
the changes (while keeping the rest of your kernel the same) and see if
it works again. I don't think it will.

-Bill

--
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul@windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711053000.94DB016A4E1>