From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 14 15:45:04 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED7F516A4B3 for ; Tue, 14 Oct 2003 15:45:04 -0700 (PDT) Received: from mailserver2.hrz.tu-darmstadt.de (mailserver2.hrz.tu-darmstadt.de [130.83.47.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6761743FBD for ; Tue, 14 Oct 2003 15:45:02 -0700 (PDT) (envelope-from sanjari@hrz.tu-darmstadt.de) Received: from lnx105.hrz.tu-darmstadt.de (mail@lnx105.hrz.tu-darmstadt.de [130.83.47.18])h9EMio8D008766; Wed, 15 Oct 2003 00:44:50 +0200 Received: from sanjari (helo=localhost) by lnx105.hrz.tu-darmstadt.de with local-esmtp (Exim 3.35 #1 (Debian)) id 1A9XuK-00067l-00; Wed, 15 Oct 2003 00:44:48 +0200 Date: Wed, 15 Oct 2003 00:44:48 +0200 (CEST) From: Shahab Sanjari To: Scott Mitchell In-Reply-To: <20031007204935.GD29033@llama.fishballoon.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-TUD-HRZ-MailScanner: Found to be clean X-TUD-HRZ-MailScanner-SpamCheck: not spam, SpamAssassin (Wertung=-2, benoetigt 5, EMAIL_ATTRIBUTION -0.50, IN_REP_TO -0.50, QUOTED_EMAIL_TEXT -0.48, REPLY_WITH_QUOTES -0.50, USER_AGENT_PINE 0.00) cc: freebsd-mobile@freebsd.org Subject: Re: Xircom Credit Card Ethernet CEM56-100 : xe X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 22:45:05 -0000 Hello, I am sorry for the long delay in reply. 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. The first section is with pccard.conf set to ethernet and the second one with modem configuration. No success in ethernet mode, but inspite of the errors, the modem works ok. I booted with 4.8 CD (only booted, not installed) and the xe was recognized autimatically as a network interface, what I actually dreamt of under 5.1 ! I hope this gives you a clue. Regards, Shahab. ** 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 ** SECTION TWO ** Oct 12 15:15:36 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:15:41 kernel: sio4 at port 0x2e8-0x2ef irq 11 slot 0 on pccard0 Oct 12 15:15:41 kernel: sio4: type 16550A Oct 12 15:15:41 kernel: sio4: unable to activate interrupt in fast mode - using normal mode Oct 12 15:15:41 pccardd[175]: sio4: Xircom (CreditCard Ethernet 10/100 + Modem 56) inserted. Oct 12 15:15:47 dhclient: sio4: not found Oct 12 15:15:47 dhclient: Oct 12 15:15:47 dhclient: If you did not get this software from ftp.isc.org, please Oct 12 15:15:47 dhclient: get the latest from ftp.isc.org and install that before Oct 12 15:15:47 dhclient: requesting help. Oct 12 15:15:47 dhclient: Oct 12 15:15:47 dhclient: If you did get this software from ftp.isc.org and have not Oct 12 15:15:47 dhclient: yet read the README, please read it before requesting help. Oct 12 15:15:47 dhclient: If you intend to request help from the dhcp-server@isc.org Oct 12 15:15:47 dhclient: mailing list, please read the section on the README about Oct 12 15:15:47 dhclient: submitting bug reports and requests for help. Oct 12 15:15:47 dhclient: Oct 12 15:15:47 dhclient: Please do not under any circumstances send requests for Oct 12 15:15:47 dhclient: help directly to the authors of this software - please Oct 12 15:15:47 dhclient: send them to the appropriate mailing list as described in Oct 12 15:15:47 dhclient: the README file. Oct 12 15:15:47 dhclient: Oct 12 15:15:47 dhclient: exiting. Oct 12 15:15:47 pccardd[175]: pccardd started On Tue, 7 Oct 2003, Scott Mitchell wrote: > On Sun, Oct 05, 2003 at 08:45:22PM +0200, Shahab Sanjari wrote: > > > > Hi, > > I recompiled the kernel with OLDCARD. and got the modem part working! > > For this, I enabled the Modem and disabled the network in the pccard.conf. > > I could communicate with modem useing ppp (recognized as cuaa4). > > After that, I disabled the modem and enable the xe. > > Still I don't have a network interface for ifconfig. > > I enabled the pccardd at the bootup. It plays a melody and says: > > > > pccardd[172]: Card "Xircom"("CreditCard Ethernet 10/100 + Modem 56") > > [CEM56] [1.00] matched "Xircom" ("CreditCard Ethernet 10/100 + Modem 56") > > [null] [null] > > > > pccard0: Assigning xe0: io 0x2e8-0x2ef irq 11 flas 0x0 > > > > pccard[172]: driver allocation failed for Xircom(CreditCard Ethernet > > 10/100 + Modem 56): Device not configured > > OK, how about we turn on some debug output and see what's going on here. > On line 187 of if_xe.c and line 61 of if_xe_pccard.c (both in /sys/dev/xe), > change > > #define XE_DEBUG 0 > > to > > #define XE_DEBUG 2 > > then recompile and reinstall your kernel/modules as usual. The driver > should now spit out a lot of debug information when the card is attached, > I'll be interested to see exactly what it's doing. The debug messages > should also end up in /var/log/messages, so you can easily extract and > email them. > > Thanks in advance, > > 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 >