Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 22:18:57 +0000
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        Shahab Sanjari <sanjari@hrz.tu-darmstadt.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Xircom Credit Card Ethernet CEM56-100 : xe
Message-ID:  <20031030221857.GD17925@llama.fishballoon.org>
In-Reply-To: <Pine.LNX.4.44.0310150040500.23544-100000@lnx105.hrz.tu-darmstadt.de>
References:  <20031007204935.GD29033@llama.fishballoon.org> <Pine.LNX.4.44.0310150040500.23544-100000@lnx105.hrz.tu-darmstadt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 15, 2003 at 12:44:48AM +0200, Shahab Sanjari wrote:
> 
> Hello,
> 
> I am sorry for the long delay in reply.

Ditto :-(

> Here is the result of setting the debug outputs of your recent patch to xe
> driver to verbose mode and recompiling it under 5.1 release with OLDCARD.
[...] 
> ** SECTION ONE **
> 
> Oct 12 15:13:41  pccardd[175]: Card "Xircom"("CreditCard Ethernet 10/100 +
> Modem 56") [CEM56] [1.00] matched "Xircom" ("CreditCard Ethernet 10/100 +
> Modem 56") [(null)]
> Oct 12 15:13:46  kernel: xe0: pccard_probe
> Oct 12 15:13:46  kernel: xe0: vendor = 0x0105
> Oct 12 15:13:47  kernel: xe0: product = 0x110a
> Oct 12 15:13:47  kernel: xe0: prodext = 0x46
> Oct 12 15:13:47  kernel: xe0: vendor_str = Xircom
> Oct 12 15:13:47  kernel: xe0: product_str = CreditCard Ethernet 10/100 +
> Modem 56
> Oct 12 15:13:47  kernel: xe0: cis3_str = CEM56
> Oct 12 15:13:47  kernel: xe0: cis4_str = 1.00
> Oct 12 15:13:47  kernel: xe0 at port 0x2e8-0x2ef irq 11 slot 0 on pccard0
> Oct 12 15:13:47  kernel: xe0: pccard_attach
> Oct 12 15:13:47  kernel: xe0: activate
> Oct 12 15:13:47  kernel: xe0: Cannot allocate ioport
> Oct 12 15:13:47  kernel: device_probe_and_attach: xe0 attach returned 12
> Oct 12 15:13:46  pccardd[175]: driver allocation failed for
> Xircom(CreditCard Ethernet 10/100 + Modem 56): Cannot allocate memory

Xircom cards are weird... the CIS (configuration data on the card) for the
various Ethernet/modem combo cards lists the standard sio port ranges, but
doesn't tell you that you need _another_ I/O port range for the Ethernet
part.  There's some cunning code in the driver to allocate that, but I'm
not convinced it works properly yet.  In your case the driver is failing
to allocate that port range, but I would have expected to see some more
debug statements telling us how it got to that point.

Anyway, you've one of many people seeing this problem, and I hope to make
some progress on it over the weekend.  All of my patches have been
committed, so it might be worthwhile upgrading to latest -CURRENT, turning
on the verbose debugging again, and seeing if you get any more output.
I'll be in touch as soon as I have anything for people to test.

Thanks for your patience...

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon



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