From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 05:22:58 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 A40BD37B401 for ; Sun, 15 Jun 2003 05:22:58 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 762E543FB1 for ; Sun, 15 Jun 2003 05:22:57 -0700 (PDT) (envelope-from scott@fishballoon.org) Received: from fishballoon.org ([81.104.195.199]) by mta05-svc.ntlworld.com ESMTP <20030615122256.HIXB19142.mta05-svc.ntlworld.com@fishballoon.org>; Sun, 15 Jun 2003 13:22:56 +0100 Received: from tuatara.fishballoon.org (tuatara [192.168.1.6]) by fishballoon.org (8.12.8p1/8.12.8) with ESMTP id h5FCMD4o094202; Sun, 15 Jun 2003 13:22:13 +0100 (BST) (envelope-from scott@tuatara.fishballoon.org) Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.9/8.12.9/Submit) id h5FCMCTe016337; Sun, 15 Jun 2003 13:22:12 +0100 (BST) (envelope-from scott) Date: Sun, 15 Jun 2003 13:22:12 +0100 From: Scott Mitchell To: "M. Warner Losh" Message-ID: <20030615122212.GC4880@tuatara.fishballoon.org> References: <20030423220837.GD521@tuatara.fishballoon.org> <20030423.162614.23012781.imp@bsdimp.com> <20030423230906.GU572@tuatara.fishballoon.org> <20030423.212847.19952078.imp@bsdimp.com> <20030424125226.GB89997@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030424125226.GB89997@tuatara.fishballoon.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-STABLE i386 cc: freebsd-mobile@freebsd.org Subject: Re: [PATCH] CEM28/CEM33 support added to xe driver 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: Sun, 15 Jun 2003 12:22:59 -0000 Hi Warner, I've added another patch to kern/50664. This patch adds support for the Ethernet side of the CEM28 and CEM33 10Mbps Ethernet/modem combo cards. The driver now works well with all the cards I have to test against (a CE2, CE3, CEM28 and CEM33). There are a couple of gotchas to be aware of: - My CEM28 (and all others, as far as I know) has its MAC address in a non-standard location in the CIS. Ultimately some quirk code will be required to deal with this, but for now I've just added 'ether 0x98' to the relevant pccard.conf entry. - I/O port selection for the CEM28 and CEM33 is a bit crufty -- it needs to find a port range adjacent to whichever sio port range the pccard layer has picked from the CIS config entries. I needed to disable one of the onboard serial ports on my laptop to free up enough I/O space in the right place. Some combination of disabling ports and picking the right CIS config entry will probably be required. - I still have no idea how all of this works (or doesn't) with NEWCARD. IMHO this is now ready to be committed, although obviously it should be reviewed and hopefully tested a bit more by other people first. There is more work I'd like to do on it (media selection, miibus integration (?), NEWCARD-ification) but as I've reached a point where everything at least works, I'd like to get it into the tree. If nothing else, that would encourage me to backport it to 4.x, which is where most users of the driver seem to be. Let me know if you want a diff with all the changes in kern/50644 against -CURRENT. I'm not sure all the changes in there still apply cleanly. Cheers, 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 From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 12:23:52 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 6515037B401 for ; Sun, 15 Jun 2003 12:23:52 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id A31AF43FCB for ; Sun, 15 Jun 2003 12:23:51 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.9/8.12.9) with ESMTP id h5FJNpab016619 for ; Sun, 15 Jun 2003 12:23:51 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.9/8.12.9/Submit) id h5FJNoTd016618 for mobile@freebsd.org; Sun, 15 Jun 2003 12:23:50 -0700 (PDT) Date: Sun, 15 Jun 2003 12:23:50 -0700 (PDT) From: David Wolfskill Message-Id: <200306151923.h5FJNoTd016618@bunrab.catwhisker.org> To: mobile@freebsd.org Subject: D-Link DFE-670TXD 16-bit 10/100 Ethernet NIC support (w/patch) 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: Sun, 15 Jun 2003 19:23:52 -0000 After breaking Yet Another Dongle, and (finally -- after about 6 months) getting sufficiently tired of trying to place the pieces in Just The Right Position so I could still use the NIC, I finally decided to replace the most recent wired NIC I use on my laptop. Of the available choices, one that seemed most advantageous from the perspective of someone who's been out of work for almost 1.5 years was the D-Link DFE-670TXD -- it's 16-bit, so I figured it ought to be able to be used under -STABLE. As it happens, the first time I tried it, I was running -CURRENT (with the default NEWCARD configuration); it seemed to work OK (with one wierd glitch I'll mention later). But then, when I booted up -STABLE, pccardd whined that it couldn't find an entry that matched. Fine. I copied /etc/defaults/pccard.conf to /etc, then copied the stanza for the DFE-650, changed the names, killed pccardd, fired it up again (pointing to /etc/pccard.conf this time), and it worked. So I just got around to submitting a PR (misc/53356 -- http://www.freebsd.org/cgi/query-pr.cgi?pr=53356) to document the patch (which I'll also append after my .sig in this message). As I noted in the PR, I expect that this change would be a rather low-risk one. The wierd glitch under -CURRENT is that if the card is inserted, and I issue a "reboot" command, the sysem starts shutting down, does the active-buffer countdown, reorts "done", and then just sits there. If I eject the card, the system then reports "Rebooting" and proceeds normally. Otherwise, it seems content to merely sit there indefinitely. Anyway, if some committer would be kind enough to take care of this, I'll be able to go back to just using the stock /etc/defaults/pccard.conf in -STABLE. :-) Thanks, david -- David H. Wolfskill david@catwhisker.org Based on what I have seen to date, the use of Microsoft products is not consistent with reliability. I recommend FreeBSD for reliable systems. --- pccard.conf Sun Feb 16 06:44:54 2003 +++ ../pccard.conf Fri Jun 13 22:23:33 2003 @@ -541,6 +541,12 @@ insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop +# D-Link DFE-670 Fast Ethernet Card +card "D-Link" "DFE-670TXD" + config auto "ed" ? 0x80010 + insert /etc/pccard_ether $device start + remove /etc/pccard_ether $device stop + # D-Link DME-560T LAN/FAX/MODEM Card (as Ethernet) card "D-Link" "DME560T" config default "ed" ? From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 17:58:33 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 4182137B401 for ; Sun, 15 Jun 2003 17:58:33 -0700 (PDT) Received: from reason.levels.unisa.edu.au (reason.levels.unisa.edu.au [130.220.33.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id D82FE43FA3 for ; Sun, 15 Jun 2003 17:58:31 -0700 (PDT) (envelope-from cisbjc@cs.unisa.edu.au) Received: from cs.unisa.edu.au (cis202068.levels.unisa.edu.au [130.220.37.202])h5G0vvf3010666; Mon, 16 Jun 2003 10:27:58 +0930 (CST) Message-ID: <3EED1634.30404@cs.unisa.edu.au> Date: Mon, 16 Jun 2003 10:28:28 +0930 From: Benjamin Close User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <20030613.192941.78708305.imp@bsdimp.com> In-Reply-To: <20030613.192941.78708305.imp@bsdimp.com> X-Enigmail-Version: 0.74.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: multiple DHCP interfaces 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: Mon, 16 Jun 2003 00:58:33 -0000 M. Warner Losh wrote: >In message: > Jesse Guardiani writes: >: Has anyone had success running DHCP on multiple >: interfaces simultaneously? > >You can't. There was a change to the inet layer that makes this >impossible :-( > > Is there any likely hood this will change in the future? Not beingable to do dhcp on more than one interface seems insane. For example a laptop with a hardwired ethernet card and a wireless card. Cheers, Benjamin -- 3D Research Associate / System Administrator +61 8 8302 3669 School of Computer and Information Science Room D1-07, ML Campus University of South Australia Mawson Lakes Blvd. Benjamin.Close@cs.unisa.edu.au South Australia, 5095 F00D C83D 5F7E 5561 DF91 B74D E602 CAA3 4842 B5B4 From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 18:18:02 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 E68B437B401 for ; Sun, 15 Jun 2003 18:18:02 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 1310D43F75 for ; Sun, 15 Jun 2003 18:18:02 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 398 invoked by uid 5013); 16 Jun 2003 01:16:38 -0000 Date: Mon, 16 Jun 2003 02:16:37 +0100 From: Bruce M Simpson To: "M. Warner Losh" Message-ID: <20030616011637.GI9463@spc.org> Mail-Followup-To: Bruce M Simpson , "M. Warner Losh" , jesse@wingnet.net, freebsd-mobile@freebsd.org References: <20030613.192941.78708305.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030613.192941.78708305.imp@bsdimp.com> User-Agent: Mutt/1.4.1i cc: jesse@wingnet.net cc: freebsd-mobile@freebsd.org Subject: Re: multiple DHCP interfaces 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: Mon, 16 Jun 2003 01:18:03 -0000 On Fri, Jun 13, 2003 at 07:29:41PM -0600, M. Warner Losh wrote: > : Has anyone had success running DHCP on multiple > : interfaces simultaneously? > You can't. There was a change to the inet layer that makes this > impossible :-( Did something break IP_RECVIF ? BMS From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 20:00:22 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 4A6DE37B401 for ; Sun, 15 Jun 2003 20:00:22 -0700 (PDT) Received: from snoopy.gwr.com (snoopy.gwr.com [216.130.10.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id C420A43FB1 for ; Sun, 15 Jun 2003 20:00:21 -0700 (PDT) (envelope-from welch@anzus.com) Received: from localhost.localdomain ([127.0.0.1] helo=rune ident=[K4t04ZYcUEjtvXrxx3+b2DyypbggNLrd]) by snoopy.gwr.com with esmtp (Exim 3.33 #1) id 19RkRS-00022K-00 for freebsd-mobile@FreeBSD.ORG; Sun, 15 Jun 2003 23:13:58 -0400 From: "Arun Welch" To: Date: Sun, 15 Jun 2003 22:00:17 -0500 Message-ID: <000401c333b3$6b336a00$c77ba8c0@rune> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Creating a new pccard.conf entry 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: Mon, 16 Jun 2003 03:00:22 -0000 What's the best way to debug the format of a pccard.conf entry? I just picked up a CompactFlash GPS card with a PCMCIA adapter, and I'd like to see if I can get it working. Inserting it reports a type as "CF-CARD" "GENERIC". ...arun From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 15 20:45:32 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 C7A7C37B401 for ; Sun, 15 Jun 2003 20:45:32 -0700 (PDT) Received: from garlic.alexi.us (dhcp26151217.columbus.rr.com [24.26.151.217]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B93643F85 for ; Sun, 15 Jun 2003 20:45:29 -0700 (PDT) (envelope-from papaleonardos.3@osu.edu) Received: (qmail 7276 invoked by uid 89); 16 Jun 2003 03:52:49 -0000 Received: from unknown (HELO metatron) (192.168.0.222) by 100.0.168.192.in-addr.arpa with SMTP; 16 Jun 2003 03:52:49 -0000 Message-ID: <014901c333b9$b9ca6000$1f00a8c0@metatron> From: "Alexi Papaleonardos" To: Date: Sun, 15 Jun 2003 23:45:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Subject: orinoco wavelan (bronze) and vadem isa pcmcia bridge woes? 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: Mon, 16 Jun 2003 03:45:33 -0000 Trying to get the orinoco wavelan and an old vadem ISA-PCMCIA bridge to work under 5.1-RELEASE. It bears noting that the whole thing worked wonderfully under 4.0-RELEASE with the exact same hardware. I'm not nearly well-versed enough in NEWCARD to understand what's going on here, but below is the dmesg (with pcmcia debugging flag on in /boot/loader.conf). If anyone has any ideas that would be great! Thanks, Alexi. 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.1-RELEASE #0: Fri Jun 13 00:55:00 GMT 2003 root@ajiao.alexi.us:/usr/src/sys/i386/compile/AJIAO-FW Preloaded elf kernel "/boot/kernel/kernel" at 0xc0693000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 167046444 Hz CPU: Pentium/P55C (167.05-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x544 Stepping = 4 Features=0x8001bf real memory = 41943040 (40 MB) avail memory = 33796096 (32 MB) bios32: Bad BIOS32 Service Directory Intel Pentium detected, installing workaround for F00F bug npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: at device 10.0 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 orm0: