From owner-freebsd-mobile Sun Jan 9 4:23:44 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from dominik.saargate.de (dominik.saargate.de [212.88.133.252]) by hub.freebsd.org (Postfix) with ESMTP id ADDE014C3F for ; Sun, 9 Jan 2000 04:23:41 -0800 (PST) (envelope-from domi@saargate.de) Received: from localhost (localhost [127.0.0.1]) by dominik.saargate.de (8.9.3/8.9.3) with ESMTP id NAA33091 for ; Sun, 9 Jan 2000 13:23:32 +0100 (CET) (envelope-from domi@saargate.de) Date: Sun, 9 Jan 2000 13:23:32 +0100 (CET) From: Dominik Brettnacher To: mobile@freebsd.org Subject: support for 3Com 3C563D Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does FreeBSD support the 3Com 3C563D? -- Dominik - http://www.saargate.de/~domi/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 6:45:49 2000 Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id AC65515248; Sun, 9 Jan 2000 06:45:47 -0800 (PST) From: "Jonathan M. Bresler" To: jrs@enteract.com Cc: freebsd-mobile@freebsd.org In-reply-to: (message from John Sconiers on Fri, 7 Jan 2000 18:53:01 -0600 (CST)) Subject: Re: Linksys ether fast card...working??(how about netgear 410) Message-Id: <20000109144547.AC65515248@hub.freebsd.org> Date: Sun, 9 Jan 2000 06:45:47 -0800 (PST) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Our pccardc dumpcis information is exactly the same. I used your > pccard.conf file and I get the same era apon boot: > > pccardd[49]: No card in database for "Linksys"("EtherFast 10/100 PC Card > (PCMPC100)") > > Is there any thing that I should have in my rc.conf or rc.pccard. Should > I try to build another kernel?? the code in pccardd that compares the cis data in the card to that listed in the database (the file /etc/pccard.conf, unless you have used the "-f" flag to specify a different file) is very straight forward: for (cp = cards; cp; cp = cp->next) if (strncmp(cp->manuf, sp->cis->manuf, CIS_MAXSTR) == 0 && strncmp(cp->version, sp->cis->vers, CIS_MAXSTR) == 0) break; sp->card = cp; if (cp == 0) { logmsg("No card in database for \"%s\"(\"%s\")", sp->cis->manuf, sp->cis->vers); return; } either your database must have a non-printable character that is causing the string match to fail, or a tab in place of a space, or perhaps you are using the "-f" flag to specify a different database. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 17:43:23 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8419514E06 for ; Sun, 9 Jan 2000 17:43:16 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA28363; Sun, 9 Jan 2000 18:43:08 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA01312; Sun, 9 Jan 2000 18:43:08 -0700 (MST) Message-Id: <200001100143.SAA01312@harmony.village.org> To: Dominik Brettnacher Subject: Re: support for 3Com 3C563D Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 09 Jan 2000 13:23:32 +0100." References: Date: Sun, 09 Jan 2000 18:43:08 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Dominik Brettnacher writes: : Does FreeBSD support the 3Com 3C563D? FreeBSD-current appears to support it. I have one of these cards that I borrowed at FreeBSD CON'99. I didn't get a dongle with it and I damaged it on the way home, but when I insert mine into my laptop, it gets as far as getting its dhcp address, but won't pass traffic. Don't know if this is the cards fault or the driver's. This is with -current only, since -stable doesn't have support for it iirc. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 17:44:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E07ED14EA9; Sun, 9 Jan 2000 17:44:43 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA28375; Sun, 9 Jan 2000 18:44:10 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA01337; Sun, 9 Jan 2000 18:44:10 -0700 (MST) Message-Id: <200001100144.SAA01337@harmony.village.org> To: "Jonathan M. Bresler" Subject: Re: Linksys ether fast card...working??(how about netgear 410) Cc: jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 09 Jan 2000 06:45:47 PST." <20000109144547.AC65515248@hub.freebsd.org> References: <20000109144547.AC65515248@hub.freebsd.org> Date: Sun, 09 Jan 2000 18:44:10 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000109144547.AC65515248@hub.freebsd.org> "Jonathan M. Bresler" writes: : > pccardd[49]: No card in database for "Linksys"("EtherFast 10/100 PC Card : > (PCMPC100)") Likely this is due to the MAX_CIS being bumped recently... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 17:53: 5 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id BB31D14D1A; Sun, 9 Jan 2000 17:52:58 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA28416; Sun, 9 Jan 2000 18:52:55 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA01422; Sun, 9 Jan 2000 18:52:54 -0700 (MST) Message-Id: <200001100152.SAA01422@harmony.village.org> To: Bill Fumerola Subject: Re: Linksys ether fast card...working??(how about netgear 410) Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 09 Jan 2000 20:48:14 EST." References: Date: Sun, 09 Jan 2000 18:52:54 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Bill Fumerola writes: : Yes, I'm seeing this too. Time to go figure out which card was the : right one and match it up. It might make sense to go ahead and bring in the wild card matching code and add .* to the end of those entries. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 18: 2:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1BDD014FFB; Sun, 9 Jan 2000 18:02:14 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA28469; Sun, 9 Jan 2000 19:02:08 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA01563; Sun, 9 Jan 2000 19:02:07 -0700 (MST) Message-Id: <200001100202.TAA01563@harmony.village.org> To: Bill Fumerola Subject: Re: Linksys ether fast card...working??(how about netgear 410) Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 09 Jan 2000 20:55:49 EST." References: Date: Sun, 09 Jan 2000 19:02:07 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Bill Fumerola writes: : > It might make sense to go ahead and bring in the wild card matching : > code and add .* to the end of those entries. : : Does this code exist already in PAO? Yes. Wanna port it :-). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 18: 8:51 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E447C14D60; Sun, 9 Jan 2000 18:08:29 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA28514; Sun, 9 Jan 2000 19:08:12 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA01682; Sun, 9 Jan 2000 19:08:11 -0700 (MST) Message-Id: <200001100208.TAA01682@harmony.village.org> To: Bill Fumerola Subject: Re: Linksys ether fast card...working??(how about netgear 410) Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 09 Jan 2000 21:06:00 EST." References: Date: Sun, 09 Jan 2000 19:08:11 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Bill Fumerola writes: : Well, with school starting back up I'll probably have a lot of extra time : in class to start messing around with my laptop... so sure. Cool :-) : Speaking as someone who has never used PAO code, do you have a pointer : as to where I could get the relevent code to port? http://www.jp.FreeBSD.org/PAO/ is a good place to start. Look at the cvsup server for PAO about 3/4 down the page. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 19:48:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 4348914C8E; Sun, 9 Jan 2000 19:48:23 -0800 (PST) (envelope-from jrs@enteract.com) Received: from shell-2.enteract.com (jrs@shell-2.enteract.com [207.229.143.41]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id VAA43213; Sun, 9 Jan 2000 21:46:26 -0600 (CST) (envelope-from jrs@enteract.com) Date: Sun, 9 Jan 2000 21:46:26 -0600 (CST) From: John Sconiers To: Warner Losh Cc: Bill Fumerola , "Jonathan M. Bresler" , freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <200001100152.SAA01422@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : Yes, I'm seeing this too. Time to go figure out which card was the > : right one and match it up. > It might make sense to go ahead and bring in the wild card matching > code and add .* to the end of those entries. So what should I do?? JRS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Jan 9 21: 2:16 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8896914EEC for ; Sun, 9 Jan 2000 21:02:14 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA29341; Sun, 9 Jan 2000 22:02:13 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA03638; Sun, 9 Jan 2000 22:02:14 -0700 (MST) Message-Id: <200001100502.WAA03638@harmony.village.org> To: "Eric D. Futch" Subject: Re: 3Com OfficeConnect 572BT Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 05 Jan 2000 21:31:26 EST." References: Date: Sun, 09 Jan 2000 22:02:14 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message "Eric D. Futch" writes: : These are the changes I made to get the 3Com OfficeConnect 572BT to work I've just committed these changes to if_ep_pccard.c as well as pccard.conf.sample. Now, if I can just get all those linksys entries hammered out before 4.0 release. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 2:29:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id B301C14A03 for ; Mon, 10 Jan 2000 02:29:28 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (garatu [158.227.6.222]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id LAA08530 for ; Mon, 10 Jan 2000 11:29:11 +0100 (MET) Message-ID: <3879B470.2B32C619@we.lc.ehu.es> Date: Mon, 10 Jan 2000 11:29:04 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org Subject: 3C589E or Xircom Realport 10BT? Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am looking for an Ethernet (10Mbps) PCMCIA card for my new laptop, a Dell Inspiron 3700. The models easier to find at local stores are the 3COMs and the Xircoms, and I am not sure of which of them works better with FreeBSD (3.4-RELEASE, no PAO). I like the Xircom RE-10BT because it has a true RJ45 connector integrated (it is a type-III card), but I don't know anything about the quality of the "xe" driver (and I know that it is broken under -CURRENT). OTOH, I am very confused about the many variants of the 3c589. The local stores only offer the 3COM Megahertz 3CXE589ET, and I don't know whether this specific model works fine with the "ep" driver. Any recommendations? TIA, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 9:14:23 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from yogi.inside.efficient.com (mailbox.efficient.com [38.192.234.2]) by hub.freebsd.org (Postfix) with ESMTP id 13C2A14C8C for ; Mon, 10 Jan 2000 09:14:07 -0800 (PST) (envelope-from davidl@efficient.com) Received: from efficient.com (daze.inside.efficient.com [192.168.61.174]) by yogi.inside.efficient.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4CT55ZJ; Mon, 10 Jan 2000 11:09:03 -0600 Message-ID: <387A135E.1C9BCB48@efficient.com> Date: Mon, 10 Jan 2000 11:14:06 -0600 From: Dave Littell Reply-To: davidl@efficient.com Organization: Efficient Networks, Inc. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: 2.2.8 pccard Ethernet and serial card support... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I'm running FreeBSD 2.2.8 on an NEC Versa SX laptop and I need a recommendations for a 10/100 Mbit Ethernet card, a multiport serial card, and a modem card. If possible, I also need the pccard.conf entries for those cards (especially the serial card). The latest version of pccard.conf that I found on the PAO web site can't be parsed correctly by my version of pccardd, so I need the older format understood by 2.2.8's pccardd. Thanks very much, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 10:21:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from yogi.inside.efficient.com (mailbox.efficient.com [38.192.234.2]) by hub.freebsd.org (Postfix) with ESMTP id 524B71526C for ; Mon, 10 Jan 2000 10:21:07 -0800 (PST) (envelope-from davidl@efficient.com) Received: from efficient.com (daze.inside.efficient.com [192.168.61.174]) by yogi.inside.efficient.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4CT56HJ; Mon, 10 Jan 2000 12:16:03 -0600 Message-ID: <387A2311.8C358579@efficient.com> Date: Mon, 10 Jan 2000 12:21:05 -0600 From: Dave Littell Reply-To: davidl@efficient.com Organization: Efficient Networks, Inc. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: Configuring X on an NEC Versa SX... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! SuperProbe claims that the chipset is a Trident Cyber 9388 with 2M of RAM and a build-in RAMDAC. My attempts at configuring X have all failed, possibly due to the fact that I have no idea what "monitor" settings to use. Has anyone successfully configured X to run on an NEC Versa SX? Thanks much, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 11:52:38 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9637914BE4 for ; Mon, 10 Jan 2000 11:52:34 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA32130; Mon, 10 Jan 2000 12:52:33 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA11877; Mon, 10 Jan 2000 12:52:41 -0700 (MST) Message-Id: <200001101952.MAA11877@harmony.village.org> To: "Jose M. Alcaide" Subject: Re: 3C589E or Xircom Realport 10BT? Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 10 Jan 2000 11:29:04 +0100." <3879B470.2B32C619@we.lc.ehu.es> References: <3879B470.2B32C619@we.lc.ehu.es> Date: Mon, 10 Jan 2000 12:52:41 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <3879B470.2B32C619@we.lc.ehu.es> "Jose M. Alcaide" writes: : I am looking for an Ethernet (10Mbps) PCMCIA card for my new laptop, : a Dell Inspiron 3700. The models easier to find at local stores are the : 3COMs and the Xircoms, and I am not sure of which of them works better : with FreeBSD (3.4-RELEASE, no PAO). Both of these work equally well with 3.4, as far as I know. : I like the Xircom RE-10BT because it has a true RJ45 connector : integrated (it is a type-III card), but I don't know anything about the : quality of the "xe" driver (and I know that it is broken under -CURRENT). Yes. Although it is much closer to working now than it was a little while ago. : OTOH, I am very confused about the many variants of the 3c589. The local : stores only offer the 3COM Megahertz 3CXE589ET, and I don't know whether : this specific model works fine with the "ep" driver. I've had reports that it does, but have none in my hot little hands to verify it for sure. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 13:18:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 729F21538C for ; Mon, 10 Jan 2000 13:18:35 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 0E0181C64; Sun, 9 Jan 2000 20:55:49 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id 0985D382B; Sun, 9 Jan 2000 20:55:49 -0500 (EST) Date: Sun, 9 Jan 2000 20:55:49 -0500 (EST) From: Bill Fumerola To: Warner Losh Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <200001100152.SAA01422@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 9 Jan 2000, Warner Losh wrote: > : Yes, I'm seeing this too. Time to go figure out which card was the > : right one and match it up. > > It might make sense to go ahead and bring in the wild card matching > code and add .* to the end of those entries. Does this code exist already in PAO? -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 13:22:18 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 491F8153BE for ; Mon, 10 Jan 2000 13:22:08 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id E2E6A1C66; Sun, 9 Jan 2000 21:06:00 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id DF0F93843; Sun, 9 Jan 2000 21:06:00 -0500 (EST) Date: Sun, 9 Jan 2000 21:06:00 -0500 (EST) From: Bill Fumerola To: Warner Losh Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <200001100202.TAA01563@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 9 Jan 2000, Warner Losh wrote: > : Does this code exist already in PAO? > > Yes. Wanna port it :-). Well, with school starting back up I'll probably have a lot of extra time in class to start messing around with my laptop... so sure. Speaking as someone who has never used PAO code, do you have a pointer as to where I could get the relevent code to port? -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 13:22:18 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 2273F15AAE for ; Mon, 10 Jan 2000 13:22:10 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 4B6EC1C63; Sun, 9 Jan 2000 20:48:14 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jade.chc-chimes.com (Postfix) with ESMTP id 47D8F382B; Sun, 9 Jan 2000 20:48:14 -0500 (EST) Date: Sun, 9 Jan 2000 20:48:14 -0500 (EST) From: Bill Fumerola To: Warner Losh Cc: "Jonathan M. Bresler" , jrs@enteract.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <200001100144.SAA01337@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 9 Jan 2000, Warner Losh wrote: > : > pccardd[49]: No card in database for "Linksys"("EtherFast 10/100 PC Card > : > (PCMPC100)") > > Likely this is due to the MAX_CIS being bumped recently... Yes, I'm seeing this too. Time to go figure out which card was the right one and match it up. -- - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 13:43:41 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.webweaving.org (vp180-77.worldonline.nl [195.241.180.77]) by hub.freebsd.org (Postfix) with ESMTP id F3FAD15417 for ; Mon, 10 Jan 2000 13:43:37 -0800 (PST) (envelope-from dirkx@mobile.webweaving.org) Received: (from dirkx@localhost) by mobile.webweaving.org (8.9.3/8.9.3) id WAA04424; Mon, 10 Jan 2000 22:34:07 +0100 (CET) (envelope-from dirkx) Date: Mon, 10 Jan 2000 22:34:07 +0100 (CET) From: Dirk-Willem van Gulik To: Dave Littell Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Configuring X on an NEC Versa SX... In-Reply-To: <387A2311.8C358579@efficient.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 10 Jan 2000, Dave Littell wrote: > SuperProbe claims that the chipset is a Trident Cyber 9388 with 2M of > RAM and a build-in RAMDAC. My attempts at configuring X have all > failed, possibly due to the fact that I have no idea what "monitor" > settings to use. > > Has anyone successfully configured X to run on an NEC Versa SX? You might want to try the (demo) version of Xig (www.xig.com). That usually works _and_ gives a perfect idea of what chip you really have :-) Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 14:23:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tarial.albury.net.au (tarial.albury.NET.AU [203.15.244.17]) by hub.freebsd.org (Postfix) with ESMTP id 3C06B14A29 for ; Mon, 10 Jan 2000 14:23:09 -0800 (PST) (envelope-from nicks@tarial.albury.net.au) Received: (from nicks@localhost) by tarial.albury.net.au (8.9.3/8.9.3) id JAA90579; Tue, 11 Jan 2000 09:22:05 +1100 (EST) (envelope-from nicks) Date: Tue, 11 Jan 2000 09:22:05 +1100 From: Nick Slager To: "Jose M. Alcaide" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 3C589E or Xircom Realport 10BT? Message-ID: <20000111092205.A87838@albury.net.au> Mail-Followup-To: "Jose M. Alcaide" , freebsd-mobile@FreeBSD.ORG References: <3879B470.2B32C619@we.lc.ehu.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3879B470.2B32C619@we.lc.ehu.es>; from jose@we.lc.ehu.es on Mon, Jan 10, 2000 at 11:29:04AM +0100 X-Homer: Whoohooooooo! Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Jose, > I am looking for an Ethernet (10Mbps) PCMCIA card for my new laptop, > a Dell Inspiron 3700. The models easier to find at local stores are the > 3COMs and the Xircoms, and I am not sure of which of them works better > with FreeBSD (3.4-RELEASE, no PAO). > I've used both these cards in an Inspiron 3500, with the ep and xe drivers, respectively. Both cards work well with standard -RELEASE - you don't need to use PAO. > I like the Xircom RE-10BT because it has a true RJ45 connector > integrated (it is a type-III card), but I don't know anything about the This is exactly why I prefer the Xircom - that and the fact I get around 200KB/s faster transfers than the 3Com card. > OTOH, I am very confused about the many variants of the 3c589. The local > stores only offer the 3COM Megahertz 3CXE589ET, and I don't know whether > this specific model works fine with the "ep" driver. > Hmmm. The XE is the variant with the XJACK connector - in my experience this type of connector tend to break fairly easily. If you go with a 3Com card, get the 3CCE589ET - it has a small adapter cable between the card and the TP cable, which appears to be more sturdy. Regards, Nick. -- From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 14:24:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id D4B3315082; Mon, 10 Jan 2000 14:24:35 -0800 (PST) From: "Jonathan M. Bresler" To: billf@chc-chimes.com Cc: imp@village.org, jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: (message from Bill Fumerola on Sun, 9 Jan 2000 20:48:14 -0500 (EST)) Subject: Re: Linksys ether fast card...working??(how about netgear 410) Message-Id: <20000110222435.D4B3315082@hub.freebsd.org> Date: Mon, 10 Jan 2000 14:24:35 -0800 (PST) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > : > pccardd[49]: No card in database for "Linksys"("EtherFast 10/100 PC Card > > : > (PCMPC100)") > > > > Likely this is due to the MAX_CIS being bumped recently... > > Yes, I'm seeing this too. Time to go figure out which card was the > right one and match it up. MAX_CIS ??? my source doesnt contain a MAX_CIS in either /usr/src/usr.sbin/pccard or in /usr/include. (most recent cvs 1/10/2000 14:29 EST). Rather the contains CIS_MAXSTR defined as 254 in /usr/src/usr.sbin/pccard/pccardd/readcis.h v1.11 1999/12/07 19:23:56 imp. My most recent buildworld was sunday afternoon. My "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" works great. Has John Sconiers (sp?) checked his /etc/pccard.conf in "vi" using list mode? There may be a tab in there that shows as a space, or a non-printable that is causing the strncmp() to fail. if either of the two strncmp()'s at line 219 of /usr/src/usr.sbin/pccard/pccardd/cardd.c fail, the result is the "No card in database" error that John is seeing. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 14:47:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from clavin.interaccess.com (clavin.interaccess.com [207.70.126.132]) by hub.freebsd.org (Postfix) with ESMTP id EAF67153B2; Mon, 10 Jan 2000 14:47:34 -0800 (PST) (envelope-from me@philpesek.com) Received: from cobra (d216.focal2.interaccess.com [207.208.137.216]) by clavin.interaccess.com (8.9.0/8.9.0) with SMTP id QAA19395; Mon, 10 Jan 2000 16:47:31 -0600 (CST) Message-ID: <004301bf5bbc$b0b822a0$d889d0cf@cobra> From: "Philip Pesek" To: "FreeBSD-Mobile" , "FreeBSD-Newbie" Subject: PCMCIA modem installation problem Date: Mon, 10 Jan 2000 16:47:04 -0600 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.50.3825.400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm new to BSD so please bear with me in case this sounds stupid, but I cannot to get an answer from anywhere. I have been trying to install FreeBSD 3.3 on a laptop which has no CD and only a pccard modem for networking. With the PAO floppys, the card is finally recognised and shown in the second vterminal during the PPP setup part of the installation: .... card1: assign sio3 iobase 0x2f8 irq 3 flags 0x80 sio: type 16550A logger: not found .... I don't know what the last line of that means, but thats what it shows. Then when the install program runs PPP, in that same terminal: .... ifconfig: interface ppp0 does not exist ppp0: not found exiting. .... I selected the right serial port, so what is happening, any ideas? I would greatly appreciate any help! I need to know how to get connected via my modem for the install!!!! It is a Zoom PCMCIA V.34C Faxmodem, if that makes any difference. Thanks, Phil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 15: 3:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 2C768153C4 for ; Mon, 10 Jan 2000 15:03:21 -0800 (PST) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id A453D9B6D; Mon, 10 Jan 2000 18:03:19 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 9A580BA0C; Mon, 10 Jan 2000 18:03:19 -0500 (EST) Date: Mon, 10 Jan 2000 18:03:19 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: "Jonathan M. Bresler" Cc: billf@chc-chimes.com, imp@village.org, jrs@enteract.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <20000110222435.D4B3315082@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 10 Jan 2000, Jonathan M. Bresler wrote: > > > > > : > pccardd[49]: No card in database for "Linksys"("EtherFast 10/100 PC Card > > > : > (PCMPC100)") > > > > > > Likely this is due to the MAX_CIS being bumped recently... > > > > Yes, I'm seeing this too. Time to go figure out which card was the > > right one and match it up. > > MAX_CIS ??? > > my source doesnt contain a MAX_CIS in either > /usr/src/usr.sbin/pccard or in /usr/include. (most recent cvs > 1/10/2000 14:29 EST). Rather the contains CIS_MAXSTR defined as 254 > in /usr/src/usr.sbin/pccard/pccardd/readcis.h v1.11 1999/12/07 > 19:23:56 imp. > > My most recent buildworld was sunday afternoon. My "Linksys" > "EtherFast 10/100 PC Card (PCMPC100)" works great. > even though src/etc/pccard.conf.sample ($FreeBSD: src/etc/pccard.conf.sample,v 1.52 2000/01/10 02:46:57 imp Exp $) currently contains: card "Linksys" "EtherFast 10/100 PC Card (PCMPC100" without the trailing ')' Personally, I had to update my pccard.conf (when MAX_CIS was updated) so the line is: card "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 15: 6:35 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1111315310; Mon, 10 Jan 2000 15:06:32 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA32886; Mon, 10 Jan 2000 16:06:29 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA13518; Mon, 10 Jan 2000 16:06:39 -0700 (MST) Message-Id: <200001102306.QAA13518@harmony.village.org> To: "Chris D. Faulhaber" Subject: Re: Linksys ether fast card...working??(how about netgear 410) Cc: "Jonathan M. Bresler" , billf@chc-chimes.com, jrs@enteract.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 10 Jan 2000 18:03:19 EST." References: Date: Mon, 10 Jan 2000 16:06:39 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message "Chris D. Faulhaber" writes: : src/etc/pccard.conf.sample,v 1.52 2000/01/10 02:46:57 imp Exp $) currently : contains: : : card "Linksys" "EtherFast 10/100 PC Card (PCMPC100" : : without the trailing ')' : : Personally, I had to update my pccard.conf (when MAX_CIS was updated) so : the line is: : : card "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" My last commit to pccard.conf.sample fixed this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 15:45:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id AC5BF14CE8 for ; Mon, 10 Jan 2000 15:45:19 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (lxpxdh.lx.ehu.es [158.227.99.185]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id AAA12391 for ; Tue, 11 Jan 2000 00:40:15 +0100 (MET) Message-ID: <387A6DD8.2D5A802D@we.lc.ehu.es> Date: Tue, 11 Jan 2000 00:40:08 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dept. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org Subject: just released XFree86 3.3.6 supports ATI Rage Mobility Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org XFree86 3.3.6 has been released! These are the new features: Support for ATI Rage128. Support for ATI Rage Mobility Support for SiS 540/630 and SiS 300 Support for Silicon Motion Lynx chipsets Support for Savage2000 Support for NVIDIA GeForce Support for Intel i810 (not enabled by default as it needs kernel module) Fixes to several drivers In particular, the ATI Mobility support is good news for many owners of recent laptops, such as the Dell Inspiron 3700/7000/7500. -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Jan 10 16: 9:27 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id C0C4E14BB8 for ; Mon, 10 Jan 2000 16:09:06 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id KAA15911; Tue, 11 Jan 2000 10:26:45 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <387A6DD8.2D5A802D@we.lc.ehu.es> Date: Tue, 11 Jan 2000 10:26:45 +1030 (CST) From: "Daniel O'Connor" To: "Jose M. Alcaide" Subject: RE: just released XFree86 3.3.6 supports ATI Rage Mobility Cc: freebsd-mobile@FreeBSD.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 10-Jan-00 Jose M. Alcaide wrote: > Support for Intel i810 (not enabled by default as it needs kernel > module) Does anyone know anything about this? I didn't really want to download the whole source distro just to see what this module does.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 2: 1:54 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 75A2F153E4 for ; Tue, 11 Jan 2000 02:01:41 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (garatu [158.227.6.222]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id LAA13728 for ; Tue, 11 Jan 2000 11:01:37 +0100 (MET) Message-ID: <387AFF80.D95FA1B4@we.lc.ehu.es> Date: Tue, 11 Jan 2000 11:01:36 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.3-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: Re: just released XFree86 3.3.6 supports ATI Rage Mobility References: <387A6DD8.2D5A802D@we.lc.ehu.es> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Jose M. Alcaide" wrote: >[...] > > In particular, the ATI Mobility support is good news for many > owners of recent laptops, such as the Dell Inspiron 3700/7000/7500. > Now, the bad news. I have just installed the XF86_Mach64 server on my Dell Inspiron 3700 (which carries an ATI Rage Mobility M1), and there are not any improvements over the patched 3.3.5 server. In fact, the 3.3.6 server runs worse, because APM suspend does not seem to work. At 24 and 32bpp (1024x768), both the patched 3.3.5 Mach64 server and the 3.3.6 one are unusable: two vertical noisy thin lines appear crossing the screen. Does this also happen with ATI Rage Mobility-P laptops, such as the Inspiron 7500? -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 6:13:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id 3B75515437; Tue, 11 Jan 2000 06:13:20 -0800 (PST) (envelope-from jrs@enteract.com) Received: from shell-2.enteract.com (jrs@shell-2.enteract.com [207.229.143.41]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id IAA23315; Tue, 11 Jan 2000 08:13:19 -0600 (CST) (envelope-from jrs@enteract.com) Date: Tue, 11 Jan 2000 08:13:19 -0600 (CST) From: John Sconiers To: "Jonathan M. Bresler" Cc: billf@chc-chimes.com, imp@village.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys ether fast card...working??(how about netgear 410) In-Reply-To: <20000110222435.D4B3315082@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > MAX_CIS ??? > my source doesnt contain a MAX_CIS in either > /usr/src/usr.sbin/pccard or in /usr/include. (most recent cvs > 1/10/2000 14:29 EST). Rather the contains CIS_MAXSTR defined as 254 > in /usr/src/usr.sbin/pccard/pccardd/readcis.h v1.11 1999/12/07 > 19:23:56 imp. > My most recent buildworld was sunday afternoon. My "Linksys" > "EtherFast 10/100 PC Card (PCMPC100)" works great. > Has John Sconiers (sp?) checked his /etc/pccard.conf in "vi" > using list mode? There may be a tab in there that shows as a space, > or a non-printable that is causing the strncmp() to fail. if either > of the two strncmp()'s at line 219 of > /usr/src/usr.sbin/pccard/pccardd/cardd.c fail, the result is the "No > card in database" error that John is seeing. I have checked my /etc/pccard.conf in vi as well as removed it and created a new one. There are not suppose to be any tabs in the file at all? I'll check that as well. JRS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 13: 8:49 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id A40D814EA6; Tue, 11 Jan 2000 13:08:46 -0800 (PST) (envelope-from jrs@enteract.com) Received: from shell-3.enteract.com (jrs@shell-3.enteract.com [207.229.143.42]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id PAA30787; Tue, 11 Jan 2000 15:08:46 -0600 (CST) (envelope-from jrs@enteract.com) Date: Tue, 11 Jan 2000 15:08:45 -0600 (CST) From: John Sconiers To: "Jonathan M. Bresler" Cc: freebsd-mobile@freebsd.org Subject: Re: Linksys fast ethernet card working?? more info In-Reply-To: <20000107215035.E5AED158C2@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I just did a complete new install from a downloaded snap of 10-1-2000. Afterwards I uncommented out the PCMCIA stuff in the generic kernel along with adding support for sound. Added an entry in /etc/pccard.conf using vi no tabs. Rebooted. Added the following to rc.conf: pccard_enable="YES" apm_enable="YES" pccaed_beep="2" no card in database is what I'm getting. Am I installiong this correctly. should I have added the stuff in rc.conf?? JOHN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 14:13:10 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from orthanc.ab.ca (orthanc.ab.ca [207.167.3.130]) by hub.freebsd.org (Postfix) with ESMTP id 7CE2A150FF for ; Tue, 11 Jan 2000 14:13:07 -0800 (PST) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost [127.0.0.1]) by orthanc.ab.ca (8.10.0.Beta11/8.10.0.Beta6) with ESMTP id e0BMD4P13522 for ; Tue, 11 Jan 2000 15:13:05 -0700 (MST) Message-Id: <200001112213.e0BMD4P13522@orthanc.ab.ca> To: freebsd-mobile@freebsd.org Subject: Seeking Wireless LAN Recommendations Organization: The Frobozz Magic Homing Pigeon Company Date: Tue, 11 Jan 2000 15:13:03 -0700 From: Lyndon Nerenberg Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org We're investigating installing a wireless LAN at work, and I'm curious to find out which products are working today with FreeBSD (3.4+PAO). (We're running Dell Inspiron 7000's and 7500's if it matters.) If you're running such an environment, please get in touch. Thanks, --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 14:23:45 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 218A214E7D; Tue, 11 Jan 2000 14:23:42 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA37043; Tue, 11 Jan 2000 15:23:36 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA07101; Tue, 11 Jan 2000 15:23:44 -0700 (MST) Message-Id: <200001112223.PAA07101@harmony.village.org> To: John Sconiers Subject: Re: Linksys fast ethernet card working?? more info Cc: "Jonathan M. Bresler" , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 11 Jan 2000 15:08:45 CST." References: Date: Tue, 11 Jan 2000 15:23:44 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message John Sconiers writes: : I just did a complete new install from a downloaded snap of 10-1-2000. : Afterwards I uncommented out the PCMCIA stuff in the generic kernel along : with adding support for sound. Added an entry in /etc/pccard.conf using : vi no tabs. Rebooted. Added the following to rc.conf: : : pccard_enable="YES" : apm_enable="YES" : pccaed_beep="2" : : no card in database is what I'm getting. Am I installiong this correctly. : should I have added the stuff in rc.conf?? This looks good. Can you send me your pccard.conf file off the list? Also, by default /etc/pccard.conf.generic is used, so maybe that's the problem? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 16:36:23 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id AF2F114C32 for ; Tue, 11 Jan 2000 16:36:14 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA37477 for ; Tue, 11 Jan 2000 17:36:12 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA07946 for ; Tue, 11 Jan 2000 17:36:22 -0700 (MST) Message-Id: <200001120036.RAA07946@harmony.village.org> To: freebsd-mobile@freebsd.org Subject: Patch to eliminate pccard disk. Date: Tue, 11 Jan 2000 17:36:22 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here's a message that I've edited and translated to English from the orignal Japanese. Hosokawa-san has produced changes needed to eliminate the pccard disk by moving the functionality to the normal installation disk. Please comment on the following patches. The original Japanese message is <86zoucnoe4.wl@localhost.my.domain> and can be retrieved from the bsd-nomads mailing list archives. The patches look good to me. Please send me your comments and I'll work with Hosokawa-san to make sure that we can integrate this before the deadline. Thanks much Warner ------- Forwarded Message From: Tatsumi Hosokawa To: imp@village.org Cc: bsd-nomads@clave.gr.jp Subject: Re: [bsd-nomads:12651] Re: PAO3 merge before 4.0 code freeze and beyond In-Reply-To: In your message of "Tue, 11 Jan 2000 15:38:00 -0700" <200001112238.PAA07243@harmony.village.org> References: <14459.42942.980826.29397O@localhost.sky.rim.or.jp> <86r9ftu9l9.wl@localhost.my.domain> <200001080109.KAA14983@lavender.yy.cs.keio.ac.jp> <200001112238.PAA07243@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=ISO-2022-JP [text deleted] I'm working on this patch. This is a preliminary patch to integrate all features of pccard boot.flp into the generic boot.flp. It hasn't been tested yet. hosokawa Index: Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.524 diff -u -u -r1.524 Makefile - --- Makefile 2000/01/10 16:27:32 1.524 +++ Makefile 2000/01/11 14:54:39 @@ -25,15 +25,6 @@ # If this is a -stable snapshot, then set #RELEASETAG=RELENG_3 - -PCCARD?=NO - - - -.if ${PCCARD} == "YES" - -CARDDEV=card0 card1 card2 card3 - -.else - -CARDDEV= - -.endif - - - -# We now use GENERIC for the pccard kernel. KERNCONF=GENERIC # If you are using a local CVS repository with components stored in @@ -278,9 +269,6 @@ rm -rf ${_R}/* mkdir ${RD} mkdir ${RD}/floppies - -.if ${MACHINE_ARCH} == "i386" - - mkdir ${RD}/floppies/pccard - -.endif mkdir ${RD}/trees mkdir ${RD}/dists mkdir ${RD}/kernels @@ -330,11 +318,7 @@ # Tcl and Perl APIs. See also /usr/src/usr.bin/vi/Makefile. release.4: @mkdir -p /stand - -.if ${PCCARD} == "YES" - - cp ${.CURDIR}/boot_crunch.conf.pccard ${.OBJDIR}/boot_crunch.conf - -.else cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf - -.endif cd ${.CURDIR}/sysinstall && make obj depend all install rm -rf ${RD}/crunch mkdir -p ${RD}/crunch @@ -464,14 +448,12 @@ @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \ DIR=${RD}/mfsfd/stand ZIP=false ( cd ${RD}/trees/bin/dev && \ - - ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \ + ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 | \ cpio -dump ${RD}/mfsfd/dev ) ( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] ) ( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh ) cp /sbin/dhclient-script ${RD}/mfsfd/sbin - -.if ${PCCARD} == "YES" cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf - -.endif cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand echo "nameserver 42/tcp name" > ${RD}/mfsfd/stand/etc/services echo "ftp 21/tcp" >> ${RD}/mfsfd/stand/etc/services @@ -535,10 +517,6 @@ # Do our last minute floppies directory setup in a convenient place. @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) - -.if ${MACHINE_ARCH} == "i386" - - @cp ${.CURDIR}/texts/PCCARD.TXT ${RD}/floppies/pccard/README.TXT - - @(cd ${RD}/floppies/pccard; md5 *.flp > CHECKSUM.MD5) - -.endif touch release.9 # @@ -648,11 +626,6 @@ @echo "Release done" floppies: - -.if ${MACHINE_ARCH} == "i386" - - @cd ${.CURDIR} && ${MAKE} PCCARD=YES boot.flp - - mv ${RD}/floppies/boot.flp ${RD}/floppies/kern.flp \ - - ${RD}/floppies/mfsroot.flp ${RD}/floppies/pccard - -.endif @cd ${.CURDIR} && ${MAKE} boot.flp @cd ${.CURDIR} && ${MAKE} fixit.flp @cd ${RD} && find floppies -print | cpio -dumpl ${FD} Index: boot_crunch.conf.generic =================================================================== RCS file: /home/ncvs/src/release/boot_crunch.conf.generic,v retrieving revision 1.9 diff -u -u -r1.9 boot_crunch.conf.generic - --- boot_crunch.conf.generic 1999/12/14 22:41:08 1.9 +++ boot_crunch.conf.generic 2000/01/11 14:55:30 @@ -2,12 +2,14 @@ srcdirs /usr/src/bin /usr/src/sbin /usr/src/release /usr/src/usr.bin srcdirs /usr/src/gnu/usr.bin /usr/src/usr.sbin /usr/src/sbin/i386 +srcdirs /usr/src/usr.sbin/pccard - -progs sh find sed test +progs sh find sed test rm progs pwd ppp progs sysinstall newfs minigzip cpio fsck ifconfig route slattach progs mount_nfs progs dhclient arp hostname +progs pccardc pccardd wicontrol ln minigzip gzip ln minigzip gunzip ln minigzip zcat Index: sysinstall/Makefile =================================================================== RCS file: /home/ncvs/src/release/sysinstall/Makefile,v retrieving revision 1.89 diff -u -u -r1.89 Makefile - --- sysinstall/Makefile 2000/01/04 04:50:04 1.89 +++ sysinstall/Makefile 2000/01/11 15:27:39 @@ -5,7 +5,7 @@ NOSHARED=YES CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist - -CLEANFILES+= keymap.tmp keymap.h pccard_conf.h +CLEANFILES+= keymap.tmp keymap.h .PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum @@ -15,22 +15,13 @@ label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \ msg.c network.c nfs.c options.c package.c pccard.c \ system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \ - - keymap.h pccard_conf.h + keymap.h CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR} CFLAGS+= -I${.CURDIR}/../../sys - -PCCARD?= NO - - DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio - - - -pccard_conf.h: - -.if ${PCCARD} == "YES" - - echo "#define PCCARD 1" > pccard_conf.h - -.else - - echo "#undef PCCARD" > pccard_conf.h - -.endif makedevs.c: Makefile rtermcap keymap.h rm -f makedevs.tmp Index: sysinstall/main.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/main.c,v retrieving revision 1.55 diff -u -u -r1.55 main.c - --- sysinstall/main.c 2000/01/04 04:31:29 1.55 +++ sysinstall/main.c 2000/01/11 15:28:59 @@ -35,7 +35,6 @@ */ #include "sysinstall.h" - -#include "pccard_conf.h" #include #include @@ -88,10 +87,8 @@ if (DebugFD) dup2(DebugFD, 2); - -#ifdef PCCARD /* Initialize PC-card */ pccardInitialize(); - -#endif /* Probe for all relevant devices on the system */ deviceGetAll(); Index: sysinstall/pccard.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/pccard.c,v retrieving revision 1.7 diff -u -u -r1.7 pccard.c - --- sysinstall/pccard.c 1999/12/14 04:25:29 1.7 +++ sysinstall/pccard.c 2000/01/11 16:46:48 @@ -15,13 +15,10 @@ */ #include "sysinstall.h" - -#include "pccard_conf.h" #include #include #include - -#ifdef PCCARD - - int pccard_mode = 0; DMenu MenuPCICMem = { @@ -83,6 +80,11 @@ return; } + if (msgYesNo("Found PC-card slot(s).\n" + "Use PC-card device as installation media?\n" + "(currently, only Ethernet is supported)")) + return; + dmenuOpenSimple(&MenuPCICMem, FALSE); spcic_mem = variable_get("_pcicmem"); dmenuOpenSimple(&MenuCardIRQ, FALSE); @@ -163,7 +165,3 @@ vsystem(pccardd_cmd); restorescr(w); } - - - -#endif /* PCCARD */ - - - - Index: sysinstall/sysinstall.h =================================================================== RCS file: /home/ncvs/src/release/sysinstall/sysinstall.h,v retrieving revision 1.179 diff -u -u -r1.179 sysinstall.h - --- sysinstall/sysinstall.h 2000/01/04 04:50:07 1.179 +++ sysinstall/sysinstall.h 2000/01/11 16:40:30 @@ -691,6 +691,9 @@ extern int package_extract(Device *dev, char *name, Boolean depended); extern Boolean package_exists(char *name); +/* pccard.c */ +extern void pccardInitialize(void); + /* system.c */ extern void systemInitialize(int argc, char **argv); extern void systemShutdown(int status); - -- - --------------------------- $B:Y@n(B $BC#8J(B hosokawa@itc.keio.ac.jp ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 16:59:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 819531513A for ; Tue, 11 Jan 2000 16:59:53 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 25287 invoked from network); 12 Jan 2000 00:59:52 -0000 Received: from mobile04.ntc.mita.keio.ac.jp (HELO localhost.my.domain) (131.113.212.24) by afs.itc.keio.ac.jp with SMTP; 12 Jan 2000 00:59:52 -0000 Date: Wed, 12 Jan 2000 10:00:54 +0900 Message-ID: <86n1qcnlx5.wl@localhost.my.domain> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Forward: merge pccard/generic boot.flp patch User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Wed_Jan_12_10:00:54_2000-1" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Multipart_Wed_Jan_12_10:00:54_2000-1 Content-Type: text/plain; charset=US-ASCII Hi. At first, I thought following patch is mostly related to "make release" stuff, but it was listed in Warner's TODO list and it's also related to -mobile. Following patch integrates pccard and generic installer. I found a problem that new sysinstall always displays "Use pccard device as install media?" prompt even if PC-card slots were not detected. This is a serious problem for users, but not difficult problem technically. I'll fix this problem today and send the new one. Comments? Hosokawa --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp --Multipart_Wed_Jan_12_10:00:54_2000-1 Content-Type: message/rfc822 Date: Wed, 12 Jan 2000 09:34:46 +0900 Message-ID: <86puv8nn4p.wl@localhost.my.domain> From: Tatsumi Hosokawa To: committers@FreeBSD.org Subject: merge pccard/generic boot.flp patch User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-committers@FreeBSD.org Precedence: bulk Status: Hi. I want to commit following patch (but not tested yet) before code-freeze of 4.0. This patch integrates pccard and generic boot.flp's. I'll test it today. Comments? --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp Index: Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.524 diff -u -u -r1.524 Makefile --- Makefile 2000/01/10 16:27:32 1.524 +++ Makefile 2000/01/11 14:54:39 @@ -25,15 +25,6 @@ # If this is a -stable snapshot, then set #RELEASETAG=RELENG_3 -PCCARD?=NO - -.if ${PCCARD} == "YES" -CARDDEV=card0 card1 card2 card3 -.else -CARDDEV= -.endif - -# We now use GENERIC for the pccard kernel. KERNCONF=GENERIC # If you are using a local CVS repository with components stored in @@ -278,9 +269,6 @@ rm -rf ${_R}/* mkdir ${RD} mkdir ${RD}/floppies -.if ${MACHINE_ARCH} == "i386" - mkdir ${RD}/floppies/pccard -.endif mkdir ${RD}/trees mkdir ${RD}/dists mkdir ${RD}/kernels @@ -330,11 +318,7 @@ # Tcl and Perl APIs. See also /usr/src/usr.bin/vi/Makefile. release.4: @mkdir -p /stand -.if ${PCCARD} == "YES" - cp ${.CURDIR}/boot_crunch.conf.pccard ${.OBJDIR}/boot_crunch.conf -.else cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf -.endif cd ${.CURDIR}/sysinstall && make obj depend all install rm -rf ${RD}/crunch mkdir -p ${RD}/crunch @@ -464,14 +448,12 @@ @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \ DIR=${RD}/mfsfd/stand ZIP=false ( cd ${RD}/trees/bin/dev && \ - ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \ + ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 | \ cpio -dump ${RD}/mfsfd/dev ) ( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] ) ( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh ) cp /sbin/dhclient-script ${RD}/mfsfd/sbin -.if ${PCCARD} == "YES" cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf -.endif cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand echo "nameserver 42/tcp name" > ${RD}/mfsfd/stand/etc/services echo "ftp 21/tcp" >> ${RD}/mfsfd/stand/etc/services @@ -535,10 +517,6 @@ # Do our last minute floppies directory setup in a convenient place. @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) -.if ${MACHINE_ARCH} == "i386" - @cp ${.CURDIR}/texts/PCCARD.TXT ${RD}/floppies/pccard/README.TXT - @(cd ${RD}/floppies/pccard; md5 *.flp > CHECKSUM.MD5) -.endif touch release.9 # @@ -648,11 +626,6 @@ @echo "Release done" floppies: -.if ${MACHINE_ARCH} == "i386" - @cd ${.CURDIR} && ${MAKE} PCCARD=YES boot.flp - mv ${RD}/floppies/boot.flp ${RD}/floppies/kern.flp \ - ${RD}/floppies/mfsroot.flp ${RD}/floppies/pccard -.endif @cd ${.CURDIR} && ${MAKE} boot.flp @cd ${.CURDIR} && ${MAKE} fixit.flp @cd ${RD} && find floppies -print | cpio -dumpl ${FD} Index: boot_crunch.conf.generic =================================================================== RCS file: /home/ncvs/src/release/boot_crunch.conf.generic,v retrieving revision 1.9 diff -u -u -r1.9 boot_crunch.conf.generic --- boot_crunch.conf.generic 1999/12/14 22:41:08 1.9 +++ boot_crunch.conf.generic 2000/01/11 14:55:30 @@ -2,12 +2,14 @@ srcdirs /usr/src/bin /usr/src/sbin /usr/src/release /usr/src/usr.bin srcdirs /usr/src/gnu/usr.bin /usr/src/usr.sbin /usr/src/sbin/i386 +srcdirs /usr/src/usr.sbin/pccard -progs sh find sed test +progs sh find sed test rm progs pwd ppp progs sysinstall newfs minigzip cpio fsck ifconfig route slattach progs mount_nfs progs dhclient arp hostname +progs pccardc pccardd wicontrol ln minigzip gzip ln minigzip gunzip ln minigzip zcat Index: sysinstall/Makefile =================================================================== RCS file: /home/ncvs/src/release/sysinstall/Makefile,v retrieving revision 1.89 diff -u -u -r1.89 Makefile --- sysinstall/Makefile 2000/01/04 04:50:04 1.89 +++ sysinstall/Makefile 2000/01/11 15:27:39 @@ -5,7 +5,7 @@ NOSHARED=YES CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist -CLEANFILES+= keymap.tmp keymap.h pccard_conf.h +CLEANFILES+= keymap.tmp keymap.h .PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum @@ -15,22 +15,13 @@ label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \ msg.c network.c nfs.c options.c package.c pccard.c \ system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \ - keymap.h pccard_conf.h + keymap.h CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR} CFLAGS+= -I${.CURDIR}/../../sys -PCCARD?= NO - DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio - -pccard_conf.h: -.if ${PCCARD} == "YES" - echo "#define PCCARD 1" > pccard_conf.h -.else - echo "#undef PCCARD" > pccard_conf.h -.endif makedevs.c: Makefile rtermcap keymap.h rm -f makedevs.tmp Index: sysinstall/main.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/main.c,v retrieving revision 1.55 diff -u -u -r1.55 main.c --- sysinstall/main.c 2000/01/04 04:31:29 1.55 +++ sysinstall/main.c 2000/01/11 15:28:59 @@ -35,7 +35,6 @@ */ #include "sysinstall.h" -#include "pccard_conf.h" #include #include @@ -88,10 +87,8 @@ if (DebugFD) dup2(DebugFD, 2); -#ifdef PCCARD /* Initialize PC-card */ pccardInitialize(); -#endif /* Probe for all relevant devices on the system */ deviceGetAll(); Index: sysinstall/pccard.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/pccard.c,v retrieving revision 1.7 diff -u -u -r1.7 pccard.c --- sysinstall/pccard.c 1999/12/14 04:25:29 1.7 +++ sysinstall/pccard.c 2000/01/11 16:46:48 @@ -15,13 +15,10 @@ */ #include "sysinstall.h" -#include "pccard_conf.h" #include #include #include -#ifdef PCCARD - int pccard_mode = 0; DMenu MenuPCICMem = { @@ -83,6 +80,11 @@ return; } + if (msgYesNo("Found PC-card slot(s).\n" + "Use PC-card device as installation media?\n" + "(currently, only Ethernet is supported)")) + return; + dmenuOpenSimple(&MenuPCICMem, FALSE); spcic_mem = variable_get("_pcicmem"); dmenuOpenSimple(&MenuCardIRQ, FALSE); @@ -163,7 +165,3 @@ vsystem(pccardd_cmd); restorescr(w); } - -#endif /* PCCARD */ - - Index: sysinstall/sysinstall.h =================================================================== RCS file: /home/ncvs/src/release/sysinstall/sysinstall.h,v retrieving revision 1.179 diff -u -u -r1.179 sysinstall.h --- sysinstall/sysinstall.h 2000/01/04 04:50:07 1.179 +++ sysinstall/sysinstall.h 2000/01/11 16:40:30 @@ -691,6 +691,9 @@ extern int package_extract(Device *dev, char *name, Boolean depended); extern Boolean package_exists(char *name); +/* pccard.c */ +extern void pccardInitialize(void); + /* system.c */ extern void systemInitialize(int argc, char **argv); extern void systemShutdown(int status); --Multipart_Wed_Jan_12_10:00:54_2000-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 17: 5: 1 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by hub.freebsd.org (Postfix) with ESMTP id 4493314F33 for ; Tue, 11 Jan 2000 17:04:58 -0800 (PST) (envelope-from benh@jpj.net) Received: from [192.168.10.2] (somewhat.horked.net [199.217.220.2]) by blues.jpj.net (right/backatcha) with ESMTP id UAA05276 for ; Tue, 11 Jan 2000 20:04:55 -0500 (EST) X-Sender: benh@blues.jpj.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 11 Jan 2000 19:04:52 -0600 To: freebsd-mobile@freebsd.org From: Ben Hockenhull Subject: Fast Flash Support? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a stack of 4 and 8 meg SMART Technologies Fast Flash PCMCIA cards here that I've been trying, off and on, to make work under FreeBSD. My first issue, back awhile, was getting the card recognized by pccard.conf. Got that taken care of. My problem now is really one of how to express the config in pccard.conf. This might well be a conceptual gap on my part. It seems that all of the flash cards in pccard.conf have a config statement that attaches them to the wdc1 controller. Trouble is that I already have a wdc1 controller, and it has a cdrom drive hanging off it. It seems that no matter what I do, I end up with a resource allocation failure when pccard.conf attempts to config the flash card, probably because wdc1 already exists. Creating an wdc2 device doesn't work, because there is no physical hardware to correspond to a wdc2 controller. The kernel merely reports wdc2 not found. I checked the PAO FAQ and followed the recommendation there to check the pccardc dumpcis output for a configuration entry that might give me an idea as to what I/O address to use in creating a wdc2. No configuration entry. Here's the output of dumpcis: Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 4 000: 57 79 1e ff Common memory device information: Device number 1, type FLASH EEPROM, WPS = OFF Speed = 8.0 x 10 ns, Memory block size = 2Mb, 4 units Tuple #2, code = 0x1e (Geometry info for common memory), length = 6 000: 02 11 01 01 03 01 Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 3 000: 01 ad ff Tuple #4, code = 0x15 (Version 1 info), length = 45 000: 05 00 53 4d 41 52 54 20 4d 6f 64 75 6c 61 72 20 010: 54 65 63 68 6e 6f 6c 6f 67 69 65 73 00 20 38 4d 020: 42 20 46 4c 41 53 48 20 43 61 72 64 00 Version = 5.0, Manuf = [SMART Modular Technologies],card vers = [ 8MB FLASH Card] Addit. info = [],[] Tuple #5, code = 0xff (Terminator), length = 0 Is there another way to express the config in pccard.conf? Is it simply a matter of lacking an appropriate device for the flash controller? I'd think that I could address the flash card as wd1, but I'm not sure how to do it, especially in the absence of an explicit controller for the pccard. I get a sense that I'm missing something pretty obvious. Perhaps I need to upgrade to -current? I'm running 3.2-RELEASE at the moment, no PAO. At any rate, here's the relevant pccard.conf entry: # SMART Modular Technologies 8 meg flast flash card card "SMART Modular Technologies" " 8MB FLASH Card" config 0x1 "wdc1" 15 insert echo Smart 8 meg flash inserted remove echo Smart 8 meg flash removed Any clues welcome. If these cards are flat unsupported, I'd be willing to donate one of them to the cause. Thanks, Ben -- Ben Hockenhull benh@jpj.net "Revenge is a dish best served with pinto beans and muffins." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Jan 11 22:56:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B500D14FAD; Tue, 11 Jan 2000 22:56:54 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA38510; Tue, 11 Jan 2000 23:56:53 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA12127; Tue, 11 Jan 2000 23:57:06 -0700 (MST) Message-Id: <200001120657.XAA12127@harmony.village.org> To: mobile@freebsd.org, scsi@freebsd.org Subject: aic pccard attachment patch Date: Tue, 11 Jan 2000 23:57:06 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've taken the CAM patches that have been floating around the nomads list and also written a pccard attachment for the aic driver. The patches can be found at http://www.freebsd.org/~imp/aic-patch They appear to work for me, but I've not stress tested them beyond card insertion/extraction. I'll grab a scsi device and do more testing, but nonetheless am fairly confident that these will work fairly well. You'll also need to add aic to the database of cards in /etc/pccard.conf. card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" config 0x9 "aic0" ? is what I'm using. Please let me know what you think.... Especially the cam parts of the patch. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 6:43: 1 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 7CA9F14C0A for ; Wed, 12 Jan 2000 06:42:58 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id HAA39783; Wed, 12 Jan 2000 07:42:51 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id HAA13954; Wed, 12 Jan 2000 07:43:05 -0700 (MST) Message-Id: <200001121443.HAA13954@harmony.village.org> To: Ben Hockenhull Subject: Re: Fast Flash Support? Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 11 Jan 2000 19:04:52 CST." References: Date: Wed, 12 Jan 2000 07:43:05 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Ben Hockenhull writes: : Tuple #1, code = 0x1 (Common memory descriptor), length = 4 : 000: 57 79 1e ff : Common memory device information: : Device number 1, type FLASH EEPROM, WPS = OFF : Speed = 8.0 x 10 ns, Memory block size = 2Mb, 4 units : Tuple #2, code = 0x1e (Geometry info for common memory), length = 6 : 000: 02 11 01 01 03 01 : Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 3 : 000: 01 ad ff Your problem is that these cards aren't ATA flash, but older memory mapped flash. I have a few of them hanging around here as well, as well as the data books for them that looks to be complete enough to do a driver. My big problem is that I have so many other irons in the fire that I don't have time to do the driver for these things. Chances are good that it would be a very simple driver and likely the md driver could easily be adapted to either use these or be used as a template. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 8:18:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from spork.cs.unm.edu (mail.cs.unm.edu [198.59.151.21]) by hub.freebsd.org (Postfix) with ESMTP id B0FDC154A8; Wed, 12 Jan 2000 08:18:42 -0800 (PST) (envelope-from colinj@cs.unm.edu) Received: from nobby.cs.unm.edu ([198.59.151.103] ident=mail) by spork.cs.unm.edu with esmtp (Exim 2.12 #3) id 128QTm-0000yg-00; Wed, 12 Jan 2000 09:18:38 -0700 Received: from colinj by nobby.cs.unm.edu with local-esmtp (Exim 2.05 #1 (Debian)) id 128QTl-0005zf-00; Wed, 12 Jan 2000 09:18:37 -0700 Date: Wed, 12 Jan 2000 09:18:37 -0700 (MST) From: Colin Eric Johnson To: Warner Losh Cc: mobile@freebsd.org, scsi@freebsd.org Subject: Re: aic pccard attachment patch In-Reply-To: <200001120657.XAA12127@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 11 Jan 2000, Warner Losh wrote: > > I've taken the CAM patches that have been floating around the nomads > list and also written a pccard attachment for the aic driver. The > patches can be found at > http://www.freebsd.org/~imp/aic-patch > > They appear to work for me, but I've not stress tested them beyond > card insertion/extraction. I'll grab a scsi device and do more > testing, but nonetheless am fairly confident that these will work > fairly well. > > You'll also need to add aic to the database of cards in > /etc/pccard.conf. > > card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" > config 0x9 "aic0" ? > is what I'm using. > > Please let me know what you think.... Especially the cam parts of the > patch. Will these patches work with -stable or -current? Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/ ``It takes a lot to get me desperate, and a lot is what I took'' from - The Adventures of Ruby the Galactic Gumshoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 8:23:51 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from yogi.inside.efficient.com (mailbox.efficient.com [38.192.234.2]) by hub.freebsd.org (Postfix) with ESMTP id 8BD0314F74 for ; Wed, 12 Jan 2000 08:23:39 -0800 (PST) (envelope-from davidl@efficient.com) Received: from efficient.com (daze.inside.efficient.com [192.168.61.174]) by yogi.inside.efficient.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id C4CT61ZX; Wed, 12 Jan 2000 10:18:23 -0600 Message-ID: <387CAA81.99CB4524@efficient.com> Date: Wed, 12 Jan 2000 10:23:29 -0600 From: Dave Littell Reply-To: davidl@efficient.com Organization: Efficient Networks, Inc. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Subject: pccard.conf entry for multiport serial? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Does anyone have a working pccard.conf entry for a multiport serial card? There's mention of support for some multiport serial cards on the PAO website, but I can't find a pccard.conf entry anywhere to even start experimenting. By the way, FreeBSD 2.2.8 seems to run just fine on an NEC Versa SX (installed from the CD-ROM). As always, X was "fun" to configure, but the trick seemed to be to use 16 bpp instead of 24. My Ethernet card (3COM Megahertz 3CXE589ET) needed the following pccard.conf entry to find an unused IRQ: # 3Com Etherlink III 3CXE589ET card "3Com" "Megahertz 589E" config 0x1 "ep0" 11 insert echo 3Com 3C589E inserted insert /etc/pccard_ether ep0 remove echo 3Com 3C589E removed remove /sbin/ifconfig ep0 delete But I need help with multiport serial! Thanks, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 8:34:16 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 52E1114F25; Wed, 12 Jan 2000 08:34:05 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id JAA40208; Wed, 12 Jan 2000 09:34:03 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id JAA14579; Wed, 12 Jan 2000 09:34:21 -0700 (MST) Message-Id: <200001121634.JAA14579@harmony.village.org> To: Colin Eric Johnson Subject: Re: aic pccard attachment patch Cc: mobile@freebsd.org, scsi@freebsd.org In-reply-to: Your message of "Wed, 12 Jan 2000 09:18:37 MST." References: Date: Wed, 12 Jan 2000 09:34:21 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Colin Eric Johnson writes: : Will these patches work with -stable or -current? Current yes. Stable maybe. There is already a stable version in PAO that would be easy to bring over. That's where, indirectly, I got the cam part of the patches from. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 8:35:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id E08FC14D35; Wed, 12 Jan 2000 08:34:59 -0800 (PST) (envelope-from jrs@enteract.com) Received: from shell-1.enteract.com (jrs@shell-1.enteract.com [207.229.143.40]) by mail.enteract.com (8.9.3/8.9.3) with SMTP id KAA99099; Wed, 12 Jan 2000 10:34:48 -0600 (CST) (envelope-from jrs@enteract.com) Date: Wed, 12 Jan 2000 10:34:47 -0600 (CST) From: John Sconiers To: Warner Losh Cc: "Jonathan M. Bresler" , freebsd-mobile@FreeBSD.ORG Subject: Re: Linksys fast ethernet card working?? more info In-Reply-To: <200001112223.PAA07101@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-369741391-947694887=:8979" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-369741391-947694887=:8979 Content-Type: TEXT/PLAIN; charset=US-ASCII > : no card in database is what I'm getting. Am I installiong this correctly. > : should I have added the stuff in rc.conf?? > This looks good. Can you send me your pccard.conf file off the list? > Also, by default /etc/pccard.conf.generic is used, so maybe that's the > problem? I know this is going to sound really crazy. However......This morning I was formatting a floppy to move the files off to another machine to email Warner. I figure I would also send the results of "pccardc dumpcis". Instead of typing "pccardc" I typed "pccardd". Then I recieved the following messege: devclass_aloc_unit:ed0 already exists, using next available unit number ed1 at port 0x340-0x35f irq 10 slot 1 on pccard1 ed1: address 00:e0:98:74:03:e9,type Linksys (16 bit) I linked /etc/pcard.conf to /etc/pccard.conf/generic per the above messege rebooted. Again got the no card in database messege. Then tpyed "pccardd"....It sees the card. Ideas?? I've atteched the dmesg and pccard.conf files as well as the pccard dumpcis output. JOHN --0-369741391-947694887=:8979 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=look Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Q29uZmlndXJhdGlvbiBkYXRhIGZvciBjYXJkIGluIHNsb3QgMQ0KVHVwbGUg IzEsIGNvZGUgPSAweDEgKENvbW1vbiBtZW1vcnkgZGVzY3JpcHRvciksIGxl bmd0aCA9IDMNCiAgICAwMDA6ICBkNCAwYSBmZg0KCUNvbW1vbiBtZW1vcnkg ZGV2aWNlIGluZm9ybWF0aW9uOg0KCQlEZXZpY2UgbnVtYmVyIDEsIHR5cGUg RnVuY3Rpb24gc3BlY2lmaWMsIFdQUyA9IE9GRg0KCQlTcGVlZCA9IDEwMG5T LCBNZW1vcnkgYmxvY2sgc2l6ZSA9IDhLYiwgMiB1bml0cw0KVHVwbGUgIzIs IGNvZGUgPSAweDE3IChBdHRyaWJ1dGUgbWVtb3J5IGRlc2NyaXB0b3IpLCBs ZW5ndGggPSAzDQogICAgMDAwOiAgNDEgMDAgZmYNCglBdHRyaWJ1dGUgbWVt b3J5IGRldmljZSBpbmZvcm1hdGlvbjoNCgkJRGV2aWNlIG51bWJlciAxLCB0 eXBlIEVFUFJPTSwgV1BTID0gT0ZGDQoJCVNwZWVkID0gMjUwblMsIE1lbW9y eSBibG9jayBzaXplID0gNTEyYiwgMSB1bml0cw0KVHVwbGUgIzMsIGNvZGUg PSAweDIwIChNYW51ZmFjdHVyZXIgSUQpLCBsZW5ndGggPSA0DQogICAgMDAw OiAgNDkgMDEgYWIgYzENCglQQ01DSUEgSUQgPSAweDE0OSwgT0VNIElEID0g MHhjMWFiDQpUdXBsZSAjNCwgY29kZSA9IDB4MTUgKFZlcnNpb24gMSBpbmZv KSwgbGVuZ3RoID0gNTANCiAgICAwMDA6ICAwNCAwMSA0YyA2OSA2ZSA2YiA3 MyA3OSA3MyAwMCA0NSA3NCA2OCA2NSA3MiA0Ng0KICAgIDAxMDogIDYxIDcz IDc0IDIwIDMxIDMwIDJmIDMxIDMwIDMwIDIwIDUwIDQzIDIwIDQzIDYxDQog ICAgMDIwOiAgNzIgNjQgMjAgMjggNTAgNDMgNGQgNTAgNDMgMzEgMzAgMzAg MjkgMDAgMDAgZmYNCiAgICAwMzA6ICAwMCBmZg0KCVZlcnNpb24gPSA0LjEs IE1hbnVmID0gW0xpbmtzeXNdLGNhcmQgdmVycyA9IFtFdGhlckZhc3QgMTAv MTAwIFBDIENhcmQgKFBDTVBDMTAwKV0NCglBZGRpdC4gaW5mbyA9IFtdDQpU dXBsZSAjNSwgY29kZSA9IDB4MWEgKENvbmZpZ3VyYXRpb24gbWFwKSwgbGVu Z3RoID0gNQ0KICAgIDAwMDogIDAxIDIwIDAwIDA0IDAxDQoJUmVnIGxlbiA9 IDIsIGNvbmZpZyByZWdpc3RlciBhZGRyID0gMHg0MDAsIGxhc3QgY29uZmln ID0gMHgyMA0KCVJlZ2lzdGVyczogWC0tLS0tLS0gDQpUdXBsZSAjNiwgY29k ZSA9IDB4MWIgKENvbmZpZ3VyYXRpb24gZW50cnkpLCBsZW5ndGggPSA3DQog ICAgMDAwOiAgZDAgODEgMTggNDUgMzAgZmMgYmUNCglDb25maWcgaW5kZXgg PSAweDEwKGRlZmF1bHQpDQoJSW50ZXJmYWNlIGJ5dGUgPSAweDgxIChJL08p ICB3YWl0IHNpZ25hbCBzdXBwb3J0ZWQNCglDYXJkIGRlY29kZXMgNSBhZGRy ZXNzIGxpbmVzLCBsaW1pdGVkIDgvMTYgQml0IEkvTw0KCQlJUlEgbW9kZXM6 ICBQdWxzZQ0KCQlJUlEgbGV2ZWwgPSA1DQpUdXBsZSAjNywgY29kZSA9IDB4 MWIgKENvbmZpZ3VyYXRpb24gZW50cnkpLCBsZW5ndGggPSA3DQogICAgMDAw OiAgMDEgMDggY2EgNjAgMDAgMDMgMWYNCglDb25maWcgaW5kZXggPSAweDEN CglDYXJkIGRlY29kZXMgMTAgYWRkcmVzcyBsaW5lcywgbGltaXRlZCA4LzE2 IEJpdCBJL08NCgkJSS9PIGFkZHJlc3MgIyAxOiBibG9jayBzdGFydCA9IDB4 MzAwIGJsb2NrIGxlbmd0aCA9IDB4MjANClR1cGxlICM4LCBjb2RlID0gMHgx YiAoQ29uZmlndXJhdGlvbiBlbnRyeSksIGxlbmd0aCA9IDcNCiAgICAwMDA6 ICAwMiAwOCBjYSA2MCAyMCAwMyAxZg0KCUNvbmZpZyBpbmRleCA9IDB4Mg0K CUNhcmQgZGVjb2RlcyAxMCBhZGRyZXNzIGxpbmVzLCBsaW1pdGVkIDgvMTYg Qml0IEkvTw0KCQlJL08gYWRkcmVzcyAjIDE6IGJsb2NrIHN0YXJ0ID0gMHgz MjAgYmxvY2sgbGVuZ3RoID0gMHgyMA0KVHVwbGUgIzksIGNvZGUgPSAweDFi IChDb25maWd1cmF0aW9uIGVudHJ5KSwgbGVuZ3RoID0gNw0KICAgIDAwMDog IDAzIDA4IGNhIDYwIDQwIDAzIDFmDQoJQ29uZmlnIGluZGV4ID0gMHgzDQoJ Q2FyZCBkZWNvZGVzIDEwIGFkZHJlc3MgbGluZXMsIGxpbWl0ZWQgOC8xNiBC aXQgSS9PDQoJCUkvTyBhZGRyZXNzICMgMTogYmxvY2sgc3RhcnQgPSAweDM0 MCBibG9jayBsZW5ndGggPSAweDIwDQpUdXBsZSAjMTAsIGNvZGUgPSAweDFi IChDb25maWd1cmF0aW9uIGVudHJ5KSwgbGVuZ3RoID0gNw0KICAgIDAwMDog IDA0IDA4IGNhIDYwIDgwIDAzIDFmDQoJQ29uZmlnIGluZGV4ID0gMHg0DQoJ Q2FyZCBkZWNvZGVzIDEwIGFkZHJlc3MgbGluZXMsIGxpbWl0ZWQgOC8xNiBC aXQgSS9PDQoJCUkvTyBhZGRyZXNzICMgMTogYmxvY2sgc3RhcnQgPSAweDM4 MCBibG9jayBsZW5ndGggPSAweDIwDQpUdXBsZSAjMTEsIGNvZGUgPSAweDFi IChDb25maWd1cmF0aW9uIGVudHJ5KSwgbGVuZ3RoID0gNw0KICAgIDAwMDog IDA1IDA4IGNhIDYwIDAwIDAyIDFmDQoJQ29uZmlnIGluZGV4ID0gMHg1DQoJ Q2FyZCBkZWNvZGVzIDEwIGFkZHJlc3MgbGluZXMsIGxpbWl0ZWQgOC8xNiBC aXQgSS9PDQoJCUkvTyBhZGRyZXNzICMgMTogYmxvY2sgc3RhcnQgPSAweDIw MCBibG9jayBsZW5ndGggPSAweDIwDQpUdXBsZSAjMTIsIGNvZGUgPSAweDFi IChDb25maWd1cmF0aW9uIGVudHJ5KSwgbGVuZ3RoID0gNw0KICAgIDAwMDog IDA2IDA4IGNhIDYwIDIwIDAyIDFmDQoJQ29uZmlnIGluZGV4ID0gMHg2DQoJ Q2FyZCBkZWNvZGVzIDEwIGFkZHJlc3MgbGluZXMsIGxpbWl0ZWQgOC8xNiBC aXQgSS9PDQoJCUkvTyBhZGRyZXNzICMgMTogYmxvY2sgc3RhcnQgPSAweDIy MCBibG9jayBsZW5ndGggPSAweDIwDQpUdXBsZSAjMTMsIGNvZGUgPSAweDFi IChDb25maWd1cmF0aW9uIGVudHJ5KSwgbGVuZ3RoID0gNw0KICAgIDAwMDog IDA3IDA4IGNhIDYwIDQwIDAyIDFmDQoJQ29uZmlnIGluZGV4ID0gMHg3DQoJ Q2FyZCBkZWNvZGVzIDEwIGFkZHJlc3MgbGluZXMsIGxpbWl0ZWQgOC8xNiBC aXQgSS9PDQoJCUkvTyBhZGRyZXNzICMgMTogYmxvY2sgc3RhcnQgPSAweDI0 MCBibG9jayBsZW5ndGggPSAweDIwDQpUdXBsZSAjMTQsIGNvZGUgPSAweDIx IChGdW5jdGlvbmFsIElEKSwgbGVuZ3RoID0gMg0KICAgIDAwMDogIDA2IDAw DQoJTmV0d29yay9MQU4gYWRhcHRlcg0KVHVwbGUgIzE1LCBjb2RlID0gMHgx NCAoTm8gbGluayksIGxlbmd0aCA9IDANClR1cGxlICMxNiwgY29kZSA9IDB4 ZmYgKFRlcm1pbmF0b3IpLCBsZW5ndGggPSAwDQoyIHNsb3RzIGZvdW5kDQo= --0-369741391-947694887=:8979 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="rc.conf" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: IyBUaGlzIGZpbGUgbm93IGNvbnRhaW5zIGp1c3QgdGhlIG92ZXJyaWRlcyBm cm9tIC9ldGMvZGVmYXVsdHMvcmMuY29uZg0KIyBwbGVhc2UgbWFrZSBhbGwg Y2hhbmdlcyB0byB0aGlzIGZpbGUuDQoNCiMgLS0gc3lzaW5zdGFsbCBnZW5l cmF0ZWQgZGVsdGFzIC0tICMNCm1vdXNlZF9wb3J0PSIvZGV2L3BzbTAiDQpt b3VzZWRfZW5hYmxlPSJZRVMiDQpwY2NhcmRfZW5hYmxlPSJZRVMiDQpwY2Nh cmRkX2ZsYWdzPSItaSAxMCAtaSAxMSINCnBjY2FyZF9tZW09IkRFRkFVTFQi DQphcG1fZW5hYmxlPSJZRVMiDQpwY2NhcmRfYmVlcD0iMiINCg== --0-369741391-947694887=:8979 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pccard.conf" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: aW8gMHgyNDAtMHgzNjANCmlycSAgIDggOSAxMA0KbWVtb3J5ICAweGQ0MDAw ICA5NmsNCmNhcmQgIkxpbmtzeXMiICJFdGhlckZhc3QgMTAvMTAwIFBDIENh cmQgKFBDTVBDMTAwKSINCmNvbmZpZyAgMHgzICJlZDAiIDEwDQppbnNlcnQg IGVjaG8gQ2FyZCBpbnNlcnRlZA0KaW5zZXJ0ICAvZXRjL3BjY2FyZF9ldGhl ciBlZDANCnJlbW92ZSAgZWNobyBDYXJkIHJlbW92ZWQNCnJlbW92ZSAgL3Ni aW4vaWZjb25maWcgZWQwIGRlbGV0ZQ0K --0-369741391-947694887=:8979 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=dmesg2 Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Q29weXJpZ2h0IChjKSAxOTkyLTIwMDAgVGhlIEZyZWVCU0QgUHJvamVjdC4N CkNvcHlyaWdodCAoYykgMTk4MiwgMTk4NiwgMTk4OSwgMTk5MSwgMTk5Mw0K CVRoZSBSZWdlbnRzIG9mIHRoZSBVbml2ZXJzaXR5IG9mIENhbGlmb3JuaWEu IEFsbCByaWdodHMgcmVzZXJ2ZWQuDQpGcmVlQlNEIDQuMC0yMDAwMDExMC1D VVJSRU5UICMwOiBUdWUgSmFuIDExIDE0OjI3OjA2IENTVCAyMDAwDQogICAg cm9vdEA6L3Vzci9zcmMvc3lzL2NvbXBpbGUvRFVFQ0UNClRpbWVjb3VudGVy ICJpODI1NCIgIGZyZXF1ZW5jeSAxMTkzMTgyIEh6DQpDUFU6IFBlbnRpdW0g SUkvQ2VsZXJvbiAoMzYzLjk2LU1IeiA2ODYtY2xhc3MgQ1BVKQ0KICBPcmln aW4gPSAiR2VudWluZUludGVsIiAgSWQgPSAweDY2YSAgU3RlcHBpbmcgPSAx MA0KICBGZWF0dXJlcz0weDE4M2Y5ZmY8RlBVLFZNRSxERSxQU0UsVFNDLE1T UixQQUUsTUNFLENYOCxTRVAsTVRSUixQR0UsTUNBLENNT1YsUEFULFBTRTM2 LE1NWCxGWFNSPg0KcmVhbCBtZW1vcnkgID0gNjY5MTIyNTYgKDY1MzQ0SyBi eXRlcykNCmF2YWlsIG1lbW9yeSA9IDYwOTgxMjQ4ICg1OTU1MksgYnl0ZXMp DQpQcmVsb2FkZWQgZWxmIGtlcm5lbCAia2VybmVsIiBhdCAweGMwM2I0MDAw Lg0KUGVudGl1bSBQcm8gTVRSUiBzdXBwb3J0IGVuYWJsZWQNCm1kMDogTWFs bG9jIGRpc2sNCm5weDA6IDxtYXRoIHByb2Nlc3Nvcj4gb24gbW90aGVyYm9h cmQNCm5weDA6IElOVCAxNiBpbnRlcmZhY2UNCnBjaWIwOiA8SW50ZWwgODI0 NDNCWCAoNDQwIEJYKSBob3N0IHRvIFBDSSBicmlkZ2U+IG9uIG1vdGhlcmJv YXJkDQpwY2kwOiA8UENJIGJ1cz4gb24gcGNpYjANCnBjaWIxOiA8SW50ZWwg ODI0NDNCWCAoNDQwIEJYKSBQQ0ktUENJIChBR1ApIGJyaWRnZT4gYXQgZGV2 aWNlIDEuMCBvbiBwY2kwDQpwY2kxOiA8UENJIGJ1cz4gb24gcGNpYjENCnZn YS1wY2kwOiA8TmVvTWFnaWMgTWFnaWNNZWRpYSAyNTZBViBTVkdBIGNvbnRy b2xsZXI+IG1lbSAweDcwNDAwMDAwLTB4NzA0ZmZmZmYsMHg3MDAwMDAwMC0w eDcwM2ZmZmZmLDB4ZTAwMDAwMDAtMHhlMGZmZmZmZiBpcnEgMTEgYXQgZGV2 aWNlIDAuMCBvbiBwY2kxDQpwY2ljLXBjaTA6IDxUSSBQQ0ktMTI1MSBQQ0kt Q2FyZEJ1cyBCcmlkZ2U+IG1lbSAweDUwMTAyMDAwLTB4NTAxMDJmZmYgaXJx IDExIGF0IGRldmljZSAyLjAgb24gcGNpMA0KcGNpYy1wY2kxOiA8VEkgUENJ LTEyNTEgUENJLUNhcmRCdXMgQnJpZGdlPiBtZW0gMHg1MDEwMTAwMC0weDUw MTAxZmZmIGlycSAxMSBhdCBkZXZpY2UgMi4xIG9uIHBjaTANCnBjaTA6IHVu a25vd24gY2FyZCAodmVuZG9yPTB4MTAxMywgZGV2PTB4NjAwMSkgYXQgNi4w IGlycSAxMQ0KaXNhYjA6IDxJbnRlbCA4MjM3MUFCIFBDSSB0byBJU0EgYnJp ZGdlPiBhdCBkZXZpY2UgNy4wIG9uIHBjaTANCmlzYTA6IDxJU0EgYnVzPiBv biBpc2FiMA0KYXRhLXBjaTA6IDxJbnRlbCBQSUlYNCBBVEEtMzMgY29udHJv bGxlcj4gcG9ydCAweGZjZjAtMHhmY2ZmIGF0IGRldmljZSA3LjEgb24gcGNp MA0KYXRhLXBjaTA6IEJ1c21hc3RlcmluZyBETUEgc3VwcG9ydGVkDQphdGEw IGF0IDB4MDFmMCBpcnEgMTQgb24gYXRhLXBjaTANCmF0YTEgYXQgMHgwMTcw IGlycSAxNSBvbiBhdGEtcGNpMA0KdWhjaTA6IDxJbnRlbCA4MjM3MUFCL0VC IChQSUlYNCkgVVNCIGNvbnRyb2xsZXI+IHBvcnQgMHg4NDAwLTB4ODQxZiBp cnEgMCBhdCBkZXZpY2UgNy4yIG9uIHBjaTANCnVoY2kwOiBJbnZhbGlkIGly cSAwDQp1aGNpMDogUGxlYXNlIHN3aXRjaCBvbiBVU0Igc3VwcG9ydCBhbmQg c3dpdGNoIFBOUC1PUyB0byAnTm8nIGluIEJJT1MNCmRldmljZV9wcm9iZV9h bmRfYXR0YWNoOiB1aGNpMCBhdHRhY2ggcmV0dXJuZWQgNg0KY2hpcDE6IDxJ bnRlbCA4MjM3MUFCIFBvd2VyIG1hbmFnZW1lbnQgY29udHJvbGxlcj4gcG9y dCAweGVmYTAtMHhlZmFmIGF0IGRldmljZSA3LjMgb24gcGNpMA0KZmRjMDog PE5FQyA3MjA2NUIgb3IgY2xvbmU+IGF0IHBvcnQgMHgzZjAtMHgzZjUsMHgz ZjcgaXJxIDYgZHJxIDIgb24gaXNhMA0KZmRjMDogRklGTyBlbmFibGVkLCA4 IGJ5dGVzIHRocmVzaG9sZA0KZmQwOiA8MTQ0MC1LQiAzLjUiIGRyaXZlPiBv biBmZGMwIGRyaXZlIDANCmF0YS1pc2EwOiBhbHJlYWR5IHJlZ2lzdGVyZWQg YXMgYXRhMA0KYXRhLWlzYTE6IGFscmVhZHkgcmVnaXN0ZXJlZCBhcyBhdGEx DQphdGtiZGMwOiA8a2V5Ym9hcmQgY29udHJvbGxlciAoaTgwNDIpPiBhdCBw b3J0IDB4NjAtMHg2ZiBvbiBpc2EwDQphdGtiZDA6IDxBVCBLZXlib2FyZD4g aXJxIDEgb24gYXRrYmRjMA0KcHNtMDogPFBTLzIgTW91c2U+IGlycSAxMiBv biBhdGtiZGMwDQpwc20wOiBtb2RlbCBHZW5lcmljIFBTLzIgbW91c2UsIGRl dmljZSBJRCAwDQp2Z2EwOiA8R2VuZXJpYyBJU0EgVkdBPiBhdCBwb3J0IDB4 M2IwLTB4M2RmIGlvbWVtIDB4YTAwMDAtMHhiZmZmZiBvbiBpc2EwDQpzYzA6 IDxTeXN0ZW0gY29uc29sZT4gb24gaXNhMA0Kc2MwOiBWR0EgPDE2IHZpcnR1 YWwgY29uc29sZXMsIGZsYWdzPTB4MjAwPg0KcGNpYzogcG9sbGluZywgY2Fu J3QgYWxsb2MgMA0KcGNpYzogcG9sbGluZywgY2FuJ3QgYWxsb2MgMA0KcGNp YzA6IDxJbnRlbCBpODIzNjU+IG9uIGlzYTANCnBjY2FyZDA6IDxQQyBDYXJk IGJ1cyAtLSBrbHVkZ2UgdmVyc2lvbj4gb24gcGNpYzANCnBjY2FyZDE6IDxQ QyBDYXJkIGJ1cyAtLSBrbHVkZ2UgdmVyc2lvbj4gb24gcGNpYzANCnNpbzAg YXQgcG9ydCAweDNmOC0weDNmZiBpcnEgNCBmbGFncyAweDEwIG9uIGlzYTAN CnNpbzA6IHR5cGUgMTY1NTBBDQpzaW8xOiBjb25maWd1cmVkIGlycSAzIG5v dCBpbiBiaXRtYXAgb2YgcHJvYmVkIGlycXMgMA0Kc2lvMjogbm90IHByb2Jl ZCAoZGlzYWJsZWQpDQpzaW8zOiBub3QgcHJvYmVkIChkaXNhYmxlZCkNCnBw YzAgYXQgcG9ydCAweDNiYy0weDNjMyBpcnEgNyBmbGFncyAweDQwIG9uIGlz YTANCmlzYV9jb21wYXQ6IGRpZG4ndCBnZXQgcG9ydHMgZm9yIHBwYw0KcHBj MDogR2VuZXJpYyBjaGlwc2V0IChOSUJCTEUtb25seSkgaW4gQ09NUEFUSUJM RSBtb2RlDQpwbGlwMDogPFBMSVAgbmV0d29yayBpbnRlcmZhY2U+IG9uIHBw YnVzIDANCmxwdDA6IDxnZW5lcmljIHByaW50ZXI+IG9uIHBwYnVzIDANCmxw dDA6IEludGVycnVwdC1kcml2ZW4gcG9ydA0KcHBpMDogPGdlbmVyaWMgcGFy YWxsZWwgaS9vPiBvbiBwcGJ1cyAwDQpzYjAgYXQgcG9ydCAweDIyMCBpcnEg NSBkcnEgMSBvbiBpc2EwDQpzbmQwOiA8U291bmRCbGFzdGVyIFBybyAzLjI+ IA0Kb3BsMCBhdCBwb3J0IDB4Mzg4IG9uIGlzYTANCnNuZDA6IDxZYW1haGEg T1BMMyBGTT4gDQpXQVJOSU5HOiAic25kIiBpcyB1c3VycGluZyAic25kIidz IGNkZXZzd1tdDQphZDA6IDxJQk0tREJDQS0yMDY0ODAvQkM0SUE4OEY+IEFU QS00IGRpc2sgYXQgYXRhMCBhcyBtYXN0ZXINCmFkMDogNjE0OU1CICgxMjU5 NDk2MCBzZWN0b3JzKSwgMTMzMjggY3lscywgMTUgaGVhZHMsIDYzIFMvVCwg NTEyIEIvUw0KYWQwOiAxNiBzZWNzL2ludCwgMSBkZXB0aCBxdWV1ZSwgVURN QTMzDQphY2QwOiA8VE9TSElCQSBDRC1ST00gWE0tMTkwMkIvMTcxNz4gQ0RS T00gZHJpdmUgYXQgYXRhMSBhcyBtYXN0ZXINCmFjZDA6IHJlYWQgNDEzNEtC L3MgKDQxMzRLQi9zKSwgMTI4S0IgYnVmZmVyLCBQSU80DQphY2QwOiBSZWFk czogQ0QtUiwgQ0QtUlcsIENELURBIHN0cmVhbQ0KYWNkMDogQXVkaW86IHBs YXksIDE2IHZvbHVtZSBsZXZlbHMNCmFjZDA6IE1lY2hhbmlzbTogZWplY3Rh YmxlIHRyYXkNCmFjZDA6IE1lZGl1bTogQ0QtUk9NIDEyMG1tIGRhdGEgZGlz YyBsb2FkZWQsIHVubG9ja2VkDQpNb3VudGluZyByb290IGZyb20gdWZzOi9k ZXYvYWQwczJhDQpwY2NhcmQ6IGNhcmQgaW5zZXJ0ZWQsIHNsb3QgMQ0KZGV2 Y2xhc3NfYWxsb2NfdW5pdDogZWQwIGFscmVhZHkgZXhpc3RzLCB1c2luZyBu ZXh0IGF2YWlsYWJsZSB1bml0IG51bWJlcg0KZWQxIGF0IHBvcnQgMHgzNDAt MHgzNWYgaXJxIDEwIHNsb3QgMSBvbiBwY2NhcmQxDQplZDE6IGFkZHJlc3Mg MDA6ZTA6OTg6NzQ6MDM6ZTksIHR5cGUgTGlua3N5cyAoMTYgYml0KSANCg== --0-369741391-947694887=:8979-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 12:11: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.39.177.166]) by hub.freebsd.org (Postfix) with ESMTP id BDEE3150BC; Wed, 12 Jan 2000 12:11:04 -0800 (PST) (envelope-from root@nihil.plaut.de) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id VAA23318; Wed, 12 Jan 2000 21:11:03 +0100 (CET) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.9.3/8.8.8) with ESMTP id VAA01298; Wed, 12 Jan 2000 21:10:28 +0100 (CET) (envelope-from root@nihil.plaut.de) Date: Wed, 12 Jan 2000 21:10:28 +0100 (CET) From: Michael Reifenberger To: FreeBSD-SCSI , FreeBSD-Mobile Subject: success with APA-1460 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, after over one year of silence I'm very pleased to listen the sound of my Jaz-drive aside the notebook. Thanks to all who made this happen! Esp. Luoqi for camifying the driver, Warner for his work on the pccard front and the Nomads for getting the two worlds together initially. The aic-patch from warner applyed and compiled smoothly. The APA-1640 attaches as: pccard: card inserted, slot 1 aic0: at port 0x340-0x35f irq 3 slot 1 on pccard1 aic0: aic6360, dma, disconnection, parity check ^^^? I had to issue a 'camcontrol rescan 0' to finaly get: da0 at aic0 bus 0 target 4 lun 0 da0: Removable Direct Access SCSI-2 device da0: 5.000MB/s transfers (5.000MHz, offset 8) da0: 1911MB (3915600 512 byte sectors: 64H 32S/T 1911C) So far it works error-free and fast(-ter than before) (1.3MB accordingly to iozone) It even survives multiple 'pccardc power 1 0' followed by 'pccardc power 1 1': #pccardc power 1 0 (da0:aic0:0:4:0): lost device (da0:aic0:0:4:0): removing device entry pccard: card removed, slot 1 #pccardc power 1 1 pccard: card inserted, slot 1 aic0: at port 0x340-0x35f irq 3 slot 1 on pccard1 aic0: aic6360, dma, disconnection, parity check da0 at aic0 bus 0 target 4 lun 0 da0: Removable Direct Access SCSI-2 device da0: 5.000MB/s transfers (5.000MHz, offset 8) da0: 1911MB (3915600 512 byte sectors: 64H 32S/T 1911C) Again congrats and a big thank-you for the great effords! Bye! ---- Michael Reifenberger Plaut Software GmbH, R/3 Basis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 17:12: 7 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 42DB114A2D; Wed, 12 Jan 2000 17:11:58 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA42218; Wed, 12 Jan 2000 18:11:55 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA18262; Wed, 12 Jan 2000 18:12:17 -0700 (MST) Message-Id: <200001130112.SAA18262@harmony.village.org> To: Michael Reifenberger Subject: Re: success with APA-1460 Cc: FreeBSD-SCSI , FreeBSD-Mobile In-reply-to: Your message of "Wed, 12 Jan 2000 21:10:28 +0100." References: Date: Wed, 12 Jan 2000 18:12:17 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Michael Reifenberger writes: : aic0: aic6360, dma, disconnection, parity check : ^^^? I don't setup drq at all in the pccard case. I'll check into this before committing and see what's up. Justin has also sent me some better patches for the cam layer which get tested tonight. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 18: 5:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 7D84314A24 for ; Wed, 12 Jan 2000 18:04:33 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 11311 invoked from network); 13 Jan 2000 01:37:51 -0000 Received: from dhcp-000.hc.cc.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.234.230) by afs.itc.keio.ac.jp with SMTP; 13 Jan 2000 01:37:51 -0000 Date: Thu, 13 Jan 2000 10:39:01 +0900 Message-ID: <86so02da2y.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: freebsd-mobile@freebsd.org Subject: Re: Patch to eliminate pccard disk. In-Reply-To: In your message of "Tue, 11 Jan 2000 17:36:22 -0700" <200001120036.RAA07946@harmony.village.org> References: <200001120036.RAA07946@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Tue, 11 Jan 2000 17:36:22 -0700, Warner Losh wrote: > Here's a message that I've edited and translated to English from the > orignal Japanese. Hosokawa-san has produced changes needed to > eliminate the pccard disk by moving the functionality to the normal > installation disk. Please comment on the following patches. The > original Japanese message is <86zoucnoe4.wl@localhost.my.domain> and > can be retrieved from the bsd-nomads mailing list archives. > > The patches look good to me. Please send me your comments and I'll > work with Hosokawa-san to make sure that we can integrate this before > the deadline. I fixed some minor bugs of this patch and compiled the test version. New boot.flp, kern.flp, and mfsroot.flp can be found at http://wing-yee.ntc.keio.ac.jp/hosokawa/current/ Checksums: MD5 (boot.flp) = fca1c097fe1ef9fe3f70bfd98f84b178 MD5 (kern.flp) = d956eef7c8fc07dda76e405d4d21b9c0 MD5 (mfsroot.flp) = 425206f9c8caf17c3dbcdb1157bbfd88 Please test it. Especially, I can't test it under APA-1460. When I used it with desktop, it works just like generic installation floppy. Updated patch follows. Index: Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.524 diff -u -r1.524 Makefile --- Makefile 2000/01/10 16:27:32 1.524 +++ Makefile 2000/01/11 14:54:39 @@ -25,15 +25,6 @@ # If this is a -stable snapshot, then set #RELEASETAG=RELENG_3 -PCCARD?=NO - -.if ${PCCARD} == "YES" -CARDDEV=card0 card1 card2 card3 -.else -CARDDEV= -.endif - -# We now use GENERIC for the pccard kernel. KERNCONF=GENERIC # If you are using a local CVS repository with components stored in @@ -278,9 +269,6 @@ rm -rf ${_R}/* mkdir ${RD} mkdir ${RD}/floppies -.if ${MACHINE_ARCH} == "i386" - mkdir ${RD}/floppies/pccard -.endif mkdir ${RD}/trees mkdir ${RD}/dists mkdir ${RD}/kernels @@ -330,11 +318,7 @@ # Tcl and Perl APIs. See also /usr/src/usr.bin/vi/Makefile. release.4: @mkdir -p /stand -.if ${PCCARD} == "YES" - cp ${.CURDIR}/boot_crunch.conf.pccard ${.OBJDIR}/boot_crunch.conf -.else cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf -.endif cd ${.CURDIR}/sysinstall && make obj depend all install rm -rf ${RD}/crunch mkdir -p ${RD}/crunch @@ -464,14 +448,12 @@ @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \ DIR=${RD}/mfsfd/stand ZIP=false ( cd ${RD}/trees/bin/dev && \ - ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \ + ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 | \ cpio -dump ${RD}/mfsfd/dev ) ( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] ) ( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh ) cp /sbin/dhclient-script ${RD}/mfsfd/sbin -.if ${PCCARD} == "YES" cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf -.endif cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand echo "nameserver 42/tcp name" > ${RD}/mfsfd/stand/etc/services echo "ftp 21/tcp" >> ${RD}/mfsfd/stand/etc/services @@ -535,10 +517,6 @@ # Do our last minute floppies directory setup in a convenient place. @cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT @(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5) -.if ${MACHINE_ARCH} == "i386" - @cp ${.CURDIR}/texts/PCCARD.TXT ${RD}/floppies/pccard/README.TXT - @(cd ${RD}/floppies/pccard; md5 *.flp > CHECKSUM.MD5) -.endif touch release.9 # @@ -648,11 +626,6 @@ @echo "Release done" floppies: -.if ${MACHINE_ARCH} == "i386" - @cd ${.CURDIR} && ${MAKE} PCCARD=YES boot.flp - mv ${RD}/floppies/boot.flp ${RD}/floppies/kern.flp \ - ${RD}/floppies/mfsroot.flp ${RD}/floppies/pccard -.endif @cd ${.CURDIR} && ${MAKE} boot.flp @cd ${.CURDIR} && ${MAKE} fixit.flp @cd ${RD} && find floppies -print | cpio -dumpl ${FD} Index: boot_crunch.conf.generic =================================================================== RCS file: /home/ncvs/src/release/boot_crunch.conf.generic,v retrieving revision 1.9 diff -u -r1.9 boot_crunch.conf.generic --- boot_crunch.conf.generic 1999/12/14 22:41:08 1.9 +++ boot_crunch.conf.generic 2000/01/11 14:55:30 @@ -2,12 +2,14 @@ srcdirs /usr/src/bin /usr/src/sbin /usr/src/release /usr/src/usr.bin srcdirs /usr/src/gnu/usr.bin /usr/src/usr.sbin /usr/src/sbin/i386 +srcdirs /usr/src/usr.sbin/pccard -progs sh find sed test +progs sh find sed test rm progs pwd ppp progs sysinstall newfs minigzip cpio fsck ifconfig route slattach progs mount_nfs progs dhclient arp hostname +progs pccardc pccardd wicontrol ln minigzip gzip ln minigzip gunzip ln minigzip zcat Index: sysinstall/Makefile =================================================================== RCS file: /home/ncvs/src/release/sysinstall/Makefile,v retrieving revision 1.89 diff -u -r1.89 Makefile --- sysinstall/Makefile 2000/01/04 04:50:04 1.89 +++ sysinstall/Makefile 2000/01/11 15:27:39 @@ -5,7 +5,7 @@ NOSHARED=YES CLEANFILES+= makedevs.c rtermcap rtermcap.tmp dumpnlist -CLEANFILES+= keymap.tmp keymap.h pccard_conf.h +CLEANFILES+= keymap.tmp keymap.h .PATH: ${.CURDIR}/../disklabel ${.CURDIR}/../../usr.bin/cksum @@ -15,22 +15,13 @@ label.c lndir.c main.c makedevs.c media.c menus.c misc.c mouse.c \ msg.c network.c nfs.c options.c package.c pccard.c \ system.c tape.c tcpip.c termcap.c ufs.c user.c variable.c wizard.c \ - keymap.h pccard_conf.h + keymap.h CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialog -I${.OBJDIR} CFLAGS+= -I${.CURDIR}/../../sys -PCCARD?= NO - DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO} ${LIBUTIL} ${LIBDISK} ${LIBFTPIO} LDADD= -ldialog -lncurses -lmytinfo -lutil -ldisk -lftpio - -pccard_conf.h: -.if ${PCCARD} == "YES" - echo "#define PCCARD 1" > pccard_conf.h -.else - echo "#undef PCCARD" > pccard_conf.h -.endif makedevs.c: Makefile rtermcap keymap.h rm -f makedevs.tmp Index: sysinstall/main.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/main.c,v retrieving revision 1.55 diff -u -r1.55 main.c --- sysinstall/main.c 2000/01/04 04:31:29 1.55 +++ sysinstall/main.c 2000/01/11 15:28:59 @@ -35,7 +35,6 @@ */ #include "sysinstall.h" -#include "pccard_conf.h" #include #include @@ -88,10 +87,8 @@ if (DebugFD) dup2(DebugFD, 2); -#ifdef PCCARD /* Initialize PC-card */ pccardInitialize(); -#endif /* Probe for all relevant devices on the system */ deviceGetAll(); Index: sysinstall/pccard.c =================================================================== RCS file: /home/ncvs/src/release/sysinstall/pccard.c,v retrieving revision 1.7 diff -u -r1.7 pccard.c --- sysinstall/pccard.c 1999/12/14 04:25:29 1.7 +++ sysinstall/pccard.c 2000/01/12 21:39:13 @@ -15,13 +15,10 @@ */ #include "sysinstall.h" -#include "pccard_conf.h" #include #include #include -#ifdef PCCARD - int pccard_mode = 0; DMenu MenuPCICMem = { @@ -83,6 +80,19 @@ return; } + sprintf(card_device, CARD_DEVICE, 0); + + if ((fd = open(card_device, O_RDWR)) < 0) { + msgDebug("Can't open PC-card controller %s.\n", + card_device); + return; + } + else if (msgYesNo("Found PC-card slot(s).\n" + "Use PC-card device as installation media?\n")) { + return; + } + close(fd); + dmenuOpenSimple(&MenuPCICMem, FALSE); spcic_mem = variable_get("_pcicmem"); dmenuOpenSimple(&MenuCardIRQ, FALSE); @@ -122,8 +132,6 @@ break; } - sprintf(card_device, CARD_DEVICE, 0); - w = savescr(); dialog_clear_norefresh(); msgConfirm("Now we start initializing PC-card controller and cards.\n" @@ -163,7 +171,3 @@ vsystem(pccardd_cmd); restorescr(w); } - -#endif /* PCCARD */ - - Index: sysinstall/sysinstall.h =================================================================== RCS file: /home/ncvs/src/release/sysinstall/sysinstall.h,v retrieving revision 1.179 diff -u -r1.179 sysinstall.h --- sysinstall/sysinstall.h 2000/01/04 04:50:07 1.179 +++ sysinstall/sysinstall.h 2000/01/11 16:40:30 @@ -691,6 +691,9 @@ extern int package_extract(Device *dev, char *name, Boolean depended); extern Boolean package_exists(char *name); +/* pccard.c */ +extern void pccardInitialize(void); + /* system.c */ extern void systemInitialize(int argc, char **argv); extern void systemShutdown(int status); -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Jan 12 22: 4:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from web124.yahoomail.com (web124.yahoomail.com [205.180.60.192]) by hub.freebsd.org (Postfix) with SMTP id 8403B14BF4 for ; Wed, 12 Jan 2000 22:04:32 -0800 (PST) (envelope-from deunhido@yahoo.com) Received: (qmail 10834 invoked by uid 60001); 13 Jan 2000 06:04:32 -0000 Message-ID: <20000113060431.10833.qmail@web124.yahoomail.com> Received: from [205.216.162.34] by web124.yahoomail.com; Thu, 13 Jan 2000 00:04:31 CST Date: Thu, 13 Jan 2000 00:04:31 -0600 (CST) From: =?iso-8859-1?q?Brian=20Davila?= Reply-To: radar@yahoo-inc.com Subject: install floppies for linksys card? To: freebsd-mobile@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i've got a toshiba portege 3015 and the linksys etherfast 10/100 cardbus nic that seems to be getting a lot of attention. i'm trying to install 3.x and can't find images that work anywhere! i've tried pccard images off the 3.4 CD, the PAO website and hosokawa's unified pccard install. also, i've tried many combinations but i'm not sure i'm getting the kernel config right. am i supposed to leave ed enabled, or does the entry under PCI take care of driving the card? do i need both pcic0 and pcic1? different versions of the install have very different defaults. any help greatly apprecitated. tia, brian _________________________________________________________ Do You Yahoo!? Obtenga su dirección de correo-e gratis @yahoo.com en http://correo.espanol.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 5:38:41 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from bsd.office.openfind.com.tw (bsd.office.openfind.com.tw [203.67.149.27]) by hub.freebsd.org (Postfix) with ESMTP id C4E4B14E4D for ; Thu, 13 Jan 2000 05:38:33 -0800 (PST) (envelope-from hph82@bsd.office.openfind.com.tw) Received: from localhost (hph82@localhost) by bsd.office.openfind.com.tw (8.9.3/8.9.3) with ESMTP id VAA00602 for ; Thu, 13 Jan 2000 21:38:36 +0800 (CST) Date: Thu, 13 Jan 2000 21:38:36 +0800 (CST) From: "=?X-UNKNOWN?Q?=B3\\=A6=CA=AAY?=" To: freebsd-mobile@FreeBSD.ORG Subject: Help!! message "Attach Failed" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Help!! My notebook finds my PCMCIA card: "Shining" "PMIDE-ASC", but it showed a message "Attach Failed", what's that? I can't continue my job now... HELP!! -- Hobart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 10:40:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8C524155A1 for ; Thu, 13 Jan 2000 10:39:27 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA44968; Thu, 13 Jan 2000 11:39:24 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA23148; Thu, 13 Jan 2000 11:39:55 -0700 (MST) Message-Id: <200001131839.LAA23148@harmony.village.org> To: "=?X-UNKNOWN?Q?=B3\\=A6=CA=AAY?=" Subject: Re: Help!! message "Attach Failed" Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 13 Jan 2000 21:38:36 +0800." References: Date: Thu, 13 Jan 2000 11:39:55 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message "=?X-UNKNOWN?Q?=B3\\=A6=CA=AAY?=" writes: : My notebook finds my PCMCIA card: "Shining" "PMIDE-ASC", : but it showed a message "Attach Failed", what's that? : I can't continue my job now... HELP!! It means that the driver was unable to attach to the card. What is this card? What driver? What version? What were the exact error messages? If this was -current, what does booting -v add to the dmesg output? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 10:40:42 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0452B15778 for ; Thu, 13 Jan 2000 10:40:12 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA44984; Thu, 13 Jan 2000 11:40:10 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA23182; Thu, 13 Jan 2000 11:40:40 -0700 (MST) Message-Id: <200001131840.LAA23182@harmony.village.org> To: radar@yahoo-inc.com Subject: Re: install floppies for linksys card? Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 13 Jan 2000 00:04:31 CST." <20000113060431.10833.qmail@web124.yahoomail.com> References: <20000113060431.10833.qmail@web124.yahoomail.com> Date: Thu, 13 Jan 2000 11:40:40 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000113060431.10833.qmail@web124.yahoomail.com> =?iso-8859-1?q?Brian=20Davila?= writes: : cardbus nic that seems to be getting a lot of attention. i'm trying to You lose. Cardbus isn't supported right now. It will be soon, but isn't today :-(. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 10:43:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id D16151569C for ; Thu, 13 Jan 2000 10:42:49 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA45001; Thu, 13 Jan 2000 11:42:45 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA23219; Thu, 13 Jan 2000 11:43:16 -0700 (MST) Message-Id: <200001131843.LAA23219@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Patch to eliminate pccard disk. Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 13 Jan 2000 10:39:01 +0900." <86so02da2y.wl@ringo.FromTo.Cc> References: <86so02da2y.wl@ringo.FromTo.Cc> <200001120036.RAA07946@harmony.village.org> Date: Thu, 13 Jan 2000 11:43:16 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86so02da2y.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : Please test it. Especially, I can't test it under APA-1460. When I We'll have to get that aic driver committed :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 14:48: 8 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (Postfix) with ESMTP id CA8F014A09 for ; Thu, 13 Jan 2000 14:48:06 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id RAA25591; Thu, 13 Jan 2000 17:47:56 -0500 (EST) Message-ID: <20000113174756.A25247@netmonger.net> Date: Thu, 13 Jan 2000 17:47:56 -0500 From: Christopher Masto To: Warner Losh Cc: Doug Ambrisko , MIHIRA Sanpei Yoshiro , freebsd-mobile@FreeBSD.ORG Subject: Re: [ATA/PC-Card,4-current] Patches to ata driver for PC-Card Mail-Followup-To: Warner Losh , Doug Ambrisko , MIHIRA Sanpei Yoshiro , freebsd-mobile@FreeBSD.ORG References: <20000102085652.A1662@netmonger.net> <199912310657.PAA09097@lavender.yy.cs.keio.ac.jp> <199912311838.KAA44694@whistle.com> <20000102085652.A1662@netmonger.net> <200001030043.RAA32702@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <200001030043.RAA32702@harmony.village.org>; from Warner Losh on Sun, Jan 02, 2000 at 05:43:48PM -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jan 02, 2000 at 05:43:48PM -0700, Warner Losh wrote: > In message <20000102085652.A1662@netmonger.net> Christopher Masto writes: > : Mine didn't work either when I tried it a while back. I think it was > : the same; it attached fine, but did not appear to be an msdos > : filesystem. I got garbage when reading from it and I think eventually > : a panic. Didn't have time to fiddle with it, though. > > Might try my latest patches. They are better, but not perfect. Waah! I finally get a chance to try it and it no longer applies. Next time somebody does this patch, I would love to see it committed so this stops happening. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 14:48:28 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cabramurra-mi.cbr.its.csiro.au (cabramurra-mi.cbr.its.csiro.au [152.83.10.38]) by hub.freebsd.org (Postfix) with ESMTP id A88961529B for ; Thu, 13 Jan 2000 14:48:21 -0800 (PST) (envelope-from Anthony.Wyatt@its.csiro.au) Received: from cabramurra-mi.cbr.its.csiro.au (localhost [127.0.0.1]) by cabramurra-mi.cbr.its.csiro.au (8.9.3/8.9.3) with SMTP id JAA02701 for ; Fri, 14 Jan 2000 09:48:19 +1100 (EST) (envelope-from Anthony.Wyatt@its.csiro.au) From: Anthony Wyatt Date: Thu, 13 Jan 2000 22:48:19 GMT Message-ID: <20000113.22481900@cabramurra-mi.cbr.its.csiro.au> Subject: Xircom Blues To: freebsd-mobile@freebsd.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------=_4D480090AE480850D508" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------=_4D480090AE480850D508 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I've just installed 3.4 and I can't get my Xircom 10/100 + 56 Modem=20 to work. I have rebuilt the kernel with card, pcic and xe0 options, but when I=20 boot I get: pccard[56]: driver allocation failed for Xircom pccard[56]: pccard started My pccard.conf file is: io 0x240-0x360 irq 3 5 10 11 13 15 memory 0xd4000 96k card "Xircom" "CreditCard Etherner 10/100 + " config 0x17 "XXX" ? insert echo inserted insert /etc/pccard_ether xe0 remove echo remove remove /etc/pccard_ether xe0 delete The "XXX" was sio3, but that didn't work so I tried xe0, and that=20 didn't work either :-( I've attached my dmesg at the bottom. Does=20 anyone have any ideas? (I just rebooted with the irq 5 removed but I=20 got the same error) Thanks, Anthony --------------=_4D480090AE480850D508 Content-Description: filename="dmesg.txt" Content-Disposition: inline; filename="dmesg.txt" Content-Type: text/plain; charset=iso-8859-1; name ="dmesg.txt" Content-Transfer-Encoding: quoted-printable Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.4-STABLE #6: Fri Jan 14 09:39:23 EST 2000 wya015@cabramurra-mi.cbr.its.csiro.au:/usr/src/sys/compile/LAPTOP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Xeon/Celeron (267.27-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x650 Stepping =3D 0 Features=3D0x183f9ff real memory =3D 134217728 (131072K bytes) config> di zp0 No such device: zp0 Invalid command or syntax. Type `?' for help. config> di ze0 No such device: ze0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di le0 No such device: le0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di ex0 No such device: ex0 Invalid command or syntax. Type `?' for help. config> di ep0 No such device: ep0 Invalid command or syntax. Type `?' for help. config> di ed0 No such device: ed0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di wt0 No such device: wt0 Invalid command or syntax. Type `?' for help. config> di scd0 No such device: scd0 Invalid command or syntax. Type `?' for help. config> di mcd0 No such device: mcd0 Invalid command or syntax. Type `?' for help. config> di matcdc0 No such device: matcdc0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q avail memory =3D 127844352 (124848K bytes) Preloaded elf kernel "kernel" at 0xc0299000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc029909c. Pentium Pro MTRR support enabled Probing for devices on PCI bus 0: chip0: rev 0x02 on pci= 0.0.0 vga0: rev 0x00 int a irq 11 on = pci0.2.0 pcic0: rev 0x01 int a irq 11 on pci0.3.= 0 pcic1: rev 0x01 int b irq 11 on pci0.3.= 1 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip2: rev 0x01 on pci0.7.3 Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=3D0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 3909MB (8007552 sectors), 7944 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 xe0: probe xe0 not found vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 5 Initializing PC-card drivers: xe sio changing root device to wd0s2a Card inserted, slot 1 --------------=_4D480090AE480850D508-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 15:13:44 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (Postfix) with ESMTP id 4BF821507D for ; Thu, 13 Jan 2000 15:13:36 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id SAA27373; Thu, 13 Jan 2000 18:13:30 -0500 (EST) Message-ID: <20000113181330.B25247@netmonger.net> Date: Thu, 13 Jan 2000 18:13:30 -0500 From: Christopher Masto To: Warner Losh Cc: Doug Ambrisko , MIHIRA Sanpei Yoshiro , freebsd-mobile@FreeBSD.ORG Subject: Re: [ATA/PC-Card,4-current] Patches to ata driver for PC-Card Mail-Followup-To: Warner Losh , Doug Ambrisko , MIHIRA Sanpei Yoshiro , freebsd-mobile@FreeBSD.ORG References: <20000102085652.A1662@netmonger.net> <199912310657.PAA09097@lavender.yy.cs.keio.ac.jp> <199912311838.KAA44694@whistle.com> <20000102085652.A1662@netmonger.net> <200001030043.RAA32702@harmony.village.org> <20000113174756.A25247@netmonger.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=9jxsPFA5p3P2qPhR X-Mailer: Mutt 0.91.1i In-Reply-To: <20000113174756.A25247@netmonger.net>; from Christopher Masto on Thu, Jan 13, 2000 at 05:47:56PM -0500 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii On Thu, Jan 13, 2000 at 05:47:56PM -0500, Christopher Masto wrote: > Waah! I finally get a chance to try it and it no longer applies. Next > time somebody does this patch, I would love to see it committed so this > stops happening. Enough of my wining. Adjusted patch attached (it didn't take much). -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ata-patch-new Index: ata-all.c =================================================================== RCS file: /usr/local/ncvs/freebsd/src/sys/dev/ata/ata-all.c,v retrieving revision 1.39 diff -u -r1.39 ata-all.c --- ata-all.c 2000/01/03 20:01:18 1.39 +++ ata-all.c 2000/01/13 23:11:51 @@ -30,6 +30,7 @@ #include "ata.h" #include "apm.h" +#include "card.h" #include "isa.h" #include "pci.h" #include "atadisk.h" @@ -81,6 +82,15 @@ static void ataintr(void *); static int8_t *active2str(int32_t); +#if NCARD > 0 +static int ata_pccard_attach __P((device_t dev)); +static int ata_pccard_detach __P((device_t dev)); +static int ata_pccard_probe __P((device_t dev)); +/* XXX */ +extern void ad_drvinit(void); +extern void atapi_init(void); +#endif /* NCARD > 0 */ + /* local vars */ static int32_t atanlun = 2; struct ata_softc *atadevices[MAXATA]; @@ -107,7 +117,7 @@ /* Check isapnp ids */ if (ISA_PNP_PROBE(device_get_parent(dev), dev, ata_ids) == ENXIO) return (ENXIO); - + /* Allocate the port range */ rid = 0; port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); @@ -128,7 +138,7 @@ res = ata_probe(rman_get_start(port), rman_get_start(port) + ATA_ALTPORT, 0, dev, &lun); - bus_release_resource(dev, SYS_RES_IOPORT, 0, port); + bus_release_resource(dev, SYS_RES_IOPORT, rid, port); if (res) { isa_set_portsize(dev, res); @@ -144,18 +154,18 @@ struct resource *port; struct resource *irq; void *ih; - int rid; + int prid, irqrid; /* Allocate the port range and interrupt */ - rid = 0; - port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); + prid = 0; + port = bus_alloc_resource(dev, SYS_RES_IOPORT, &prid, 0, ~0, 1, RF_ACTIVE); if (!port) return (ENOMEM); - rid = 0; - irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_ACTIVE); + irqrid = 0; + irq = bus_alloc_resource(dev, SYS_RES_IRQ, &irqrid, 0, ~0, 1, RF_ACTIVE); if (!irq) { - bus_release_resource(dev, SYS_RES_IOPORT, 0, port); + bus_release_resource(dev, SYS_RES_IOPORT, prid, port); return (ENOMEM); } return bus_setup_intr(dev, irq, INTR_TYPE_BIO, ataintr, @@ -178,6 +188,129 @@ DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0); #endif +#if NCARD > 0 +static int +ata_pccard_probe(dev) + device_t dev; +{ + struct resource *port; + int rid; + int32_t res; + int32_t lun; + + /* Allocate the port range */ + rid = 0; + port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 16, RF_ACTIVE); + /* XXX 16 shouldn't be hard coded */ + + if (!port) + return (ENOMEM); + + /* don't worry about conflict since PCCard code should have checked + already */ + /* + * XXX ALTPORT not used in pccard XXX + * Here's the i/o map for isa vs pccard + * Offset isa pccard + * DATA 0 0 + * ERROR 1 1 R + * FEATURE 1 1 W + * COUNT 2 2 W + * IREASON 2 2 R + * SECTOR 3 3 + * CYL_LSB 4 4 + * CYL_MSB 5 5 + * DRIVE 6 6 + * CMD 7 7 + * STATUS 7 7 + * ALTSTATUS 206 8 R + * CTLR 206 8 W + * wd_digin 207 9 + */ + lun = 0; + res = ata_probe(rman_get_start(port), + rman_get_start(port) + ATA_ALTPORT_ONE_WINDOW, 0, dev, &lun); + + bus_release_resource(dev, SYS_RES_IOPORT, rid, port); + + if (res) { + *(int *)device_get_softc(dev) = lun; + return 0; + } + return ENXIO; +} + +static int +ata_pccard_attach(dev) + device_t dev; +{ + struct resource *port; + struct resource *irq; + void *ih; + int iorid; + int irqrid; + int status; + int lun; + + lun = *(int *)device_get_softc(dev); + atadevices[lun]->flags |= (ATA_NO_DMA | ATA_16BIT_IO_ONLY); + /* Allocate the port range and interrupt */ + iorid = 0; + port = bus_alloc_resource(dev, SYS_RES_IOPORT, &iorid, 0, ~0, 1, + RF_ACTIVE); + if (!port) { + /* XXX Need to free things ? */ + return (ENOMEM); + } + + irqrid = 0; + irq = bus_alloc_resource(dev, SYS_RES_IRQ, &irqrid, 0, ~0, 1, RF_ACTIVE); + if (!irq) { + /* XXX Need to free things ? */ + bus_release_resource(dev, SYS_RES_IOPORT, iorid, port); + return (ENOMEM); + } + status = bus_setup_intr(dev, irq, INTR_TYPE_BIO, ataintr, atadevices[lun], + &ih); + /* XXX The following really should just scan *THIS* device XXX */ + /* XXX Also, we need to do more than just ad XXX */ + if (status == 0) { + printf("ata_pccard: scan drives\n"); + ad_drvinit(); + printf("ata_pccard: scan ATAPI bus\n"); + atapi_init(); + } + return status; +} + + +static int +ata_pccard_detach(dev) + device_t dev; +{ + printf("I can't be dettached ata\n"); + return EIO; +} + + +static device_method_t ata_pccard_methods[] = { + /* Device interface */ + DEVMETHOD(device_probe, ata_pccard_probe), + DEVMETHOD(device_attach, ata_pccard_attach), + DEVMETHOD(device_detach, ata_pccard_detach), + + { 0, 0 } +}; + +static driver_t ata_pccard_driver = { + "ata", + ata_pccard_methods, + sizeof(int), +}; + +DRIVER_MODULE(ata, pccard, ata_pccard_driver, ata_devclass, 0, 0); +#endif (NCARD > 0) + #if NPCI > 0 static const char * ata_pcimatch(device_t dev) @@ -498,6 +631,7 @@ scp->lun = lun; scp->unit = *unit; scp->active = ATA_IDLE; + scp->probed = 0; if (bootverbose) printf("ata%d: iobase=0x%04x altiobase=0x%04x bmaddr=0x%04x\n", Index: ata-all.h =================================================================== RCS file: /usr/local/ncvs/freebsd/src/sys/dev/ata/ata-all.h,v retrieving revision 1.17 diff -u -r1.17 ata-all.h --- ata-all.h 2000/01/03 10:26:54 1.17 +++ ata-all.h 2000/01/13 23:11:51 @@ -87,6 +87,7 @@ #define ATA_S_BUSY 0x80 /* busy */ #define ATA_ALTPORT 0x206 /* alternate Status register */ +#define ATA_ALTPORT_ONE_WINDOW 0x08 /* Alternate port for pccard */ #define ATA_A_IDS 0x02 /* disable interrupts */ #define ATA_A_RESET 0x04 /* RESET controller */ #define ATA_A_4BIT 0x08 /* 4 head bits */ @@ -148,6 +149,8 @@ int32_t flags; /* controller flags */ #define ATA_DMA_ACTIVE 0x01 #define ATA_ATAPI_DMA_RO 0x02 +#define ATA_NO_DMA 0x04 +#define ATA_16BIT_IO_ONLY 0x08 int32_t devices; /* what is present */ #define ATA_ATA_MASTER 0x01 @@ -165,6 +168,9 @@ #define ATA_ACTIVE_ATA 0x3 #define ATA_ACTIVE_ATAPI 0x4 #define ATA_REINITING 0x5 + int32_t probed; /* already probed */ +#define ATA_PROBE 0x1 +#define ATAPI_PROBE 0x2 TAILQ_HEAD(, ad_request) ata_queue; /* head of ATA queue */ TAILQ_HEAD(, atapi_request) atapi_queue; /* head of ATAPI queue */ Index: ata-disk.c =================================================================== RCS file: /usr/local/ncvs/freebsd/src/sys/dev/ata/ata-disk.c,v retrieving revision 1.49 diff -u -r1.49 ata-disk.c --- ata-disk.c 2000/01/07 12:01:00 1.49 +++ ata-disk.c 2000/01/13 23:11:51 @@ -84,7 +84,7 @@ static void ad_start(struct ad_softc *); static void ad_timeout(struct ad_request *); static int32_t ad_version(u_int16_t); -static void ad_drvinit(void); +void ad_drvinit(void); /* internal vars */ static struct intr_config_hook *ad_attach_hook; @@ -140,6 +140,8 @@ /* now, run through atadevices and look for ATA disks */ for (ctlr=0; ctlrprobed & ATA_PROBE) continue; + atadevices[ctlr]->probed |= ATA_PROBE; for (dev=0; dev<2; dev++) { if (atadevices[ctlr]->devices & (dev ? ATA_ATA_SLAVE : ATA_ATA_MASTER)) { @@ -498,15 +500,14 @@ printf("ad_transfer: timeout waiting for DRQ"); /* output the data */ -#ifdef ATA_16BIT_ONLY - outsw(adp->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)request->data + request->donecount), - request->currentsize / sizeof(int16_t)); -#else - outsl(adp->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)request->data + request->donecount), - request->currentsize / sizeof(int32_t)); -#endif + if (adp->controller->flags & ATA_16BIT_IO_ONLY) + outsw(adp->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)request->data + request->donecount), + request->currentsize / sizeof(int16_t)); + else + outsl(adp->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)request->data + request->donecount), + request->currentsize / sizeof(int32_t)); request->bytecount -= request->currentsize; } @@ -589,15 +590,14 @@ } /* data ready, read in */ -#ifdef ATA_16BIT_ONLY - insw(adp->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)request->data + request->donecount), - request->currentsize / sizeof(int16_t)); -#else - insl(adp->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)request->data + request->donecount), - request->currentsize / sizeof(int32_t)); -#endif + if (adp->controller->flags & ATA_16BIT_IO_ONLY) + insw(adp->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)request->data + request->donecount), + request->currentsize / sizeof(int16_t)); + else + insl(adp->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)request->data + request->donecount), + request->currentsize / sizeof(int32_t)); request->bytecount -= request->currentsize; } @@ -688,7 +688,7 @@ return 0; } -static void +void ad_drvinit(void) { fakewd_cdevsw = ad_cdevsw; Index: atapi-all.c =================================================================== RCS file: /usr/local/ncvs/freebsd/src/sys/dev/ata/atapi-all.c,v retrieving revision 1.33 diff -u -r1.33 atapi-all.c --- atapi-all.c 2000/01/07 15:51:45 1.33 +++ atapi-all.c 2000/01/13 23:11:51 @@ -57,7 +57,7 @@ static int8_t *atapi_cmd2str(u_int8_t); static int8_t *atapi_skey2str(u_int8_t); static int32_t atapi_wait(struct atapi_softc *, u_int8_t); -static void atapi_init(void); +void atapi_init(void); /* extern references */ int32_t acdattach(struct atapi_softc *); @@ -114,6 +114,8 @@ /* now, run through atadevices and look for ATAPI devices */ for (ctlr=0; ctlrprobed & ATAPI_PROBE) continue; + atadevices[ctlr]->probed |= ATAPI_PROBE; for (dev=0; dev<2; dev++) { if (atadevices[ctlr]->devices & (dev ? ATA_ATAPI_SLAVE : ATA_ATAPI_MASTER)) { @@ -560,13 +562,12 @@ if (request->bytecount < length) { printf("%s: read data overrun %d/%d\n", request->device->devname, length, request->bytecount); -#ifdef ATA_16BIT_ONLY - insw(request->device->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int16_t)); -#else - insl(request->device->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int32_t)); -#endif + if (request->device->controller->flags & ATA_16BIT_IO_ONLY) + insw(request->device->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int16_t)); + else + insl(request->device->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int32_t)); for (resid=request->bytecount; residdevice->controller->ioaddr + ATA_DATA); *buffer += request->bytecount; @@ -592,13 +593,12 @@ if (request->bytecount < length) { printf("%s: write data underrun %d/%d\n", request->device->devname, length, request->bytecount); -#ifdef ATA_16BIT_ONLY - outsw(request->device->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int16_t)); -#else - outsl(request->device->controller->ioaddr + ATA_DATA, - (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int32_t)); -#endif + if (request->device->controller->flags & ATA_16BIT_IO_ONLY) + outsw(request->device->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int16_t)); + else + outsl(request->device->controller->ioaddr + ATA_DATA, + (void *)((uintptr_t)*buffer), request->bytecount/sizeof(int32_t)); for (resid=request->bytecount; residdevice->controller->ioaddr + ATA_DATA, 0); *buffer += request->bytecount; @@ -766,7 +766,7 @@ return -1; } -static void +void atapi_init(void) { /* register callback for when interrupts are enabled */ --9jxsPFA5p3P2qPhR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Jan 13 16:44:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from clavin.cluepon.com (clavin.cluepon.com [209.220.43.103]) by hub.freebsd.org (Postfix) with ESMTP id 1A0E9155A4 for ; Thu, 13 Jan 2000 16:44:11 -0800 (PST) (envelope-from lamont@cluepon.com) Received: from clavin.cluepon.com ([209.220.43.103]) by clavin.cluepon.com with esmtp (Exim 3.03 #1) id 128uqk-000N1A-00 for freebsd-mobile@freebsd.org; Thu, 13 Jan 2000 16:44:22 -0800 Date: Thu, 13 Jan 2000 16:44:22 -0800 (PST) From: Lamont Lucas To: freebsd-mobile@freebsd.org Subject: aviator 2.4 kit Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm looking into wireless for my laptop at home to tie into one of the various other freebsd boxen I have lying around. Based on my positive experience at LISA this year, I had planned on buying the lucent cards, which I was positive I could get working, at $200 apiece. However, a linux-centric friend of mine is considering buying a much cheaper solution, the WebGear Aviator 2.4 pcmcia/isa kit. It comes with 2 pcmcia cards, and 2 pcmcia/isa bridges. Drivers for linux appear to be under http://world.std.com/~corey/raylink.html. The entire kit is $139, so even though it's much slower, it appears to be a much better deal. Has anyone had any experience with these cards? They claim to be 802.11, but I don't know if that means they'll work with the regular wi drivers, or what. Any tips? -- My hair is a gateway drug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Jan 14 1:41:39 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from netvisorpdc.intranet.netvisor.hu (ns.netvisor.hu [212.3.95.1]) by hub.freebsd.org (Postfix) with ESMTP id 1668714D22 for ; Fri, 14 Jan 2000 01:41:33 -0800 (PST) (envelope-from zoltan.sebestyen@netvisor.hu) Received: by netvisorpdc.intranet.netvisor.hu with Internet Mail Service (5.5.2650.21) id ; Fri, 14 Jan 2000 10:52:00 +0100 Message-ID: <617185BB0AA2D111872400105AD899AD091302@netvisorpdc.intranet.netvisor.hu> From: zoltan.sebestyen@netvisor.hu To: freebsd-mobile@FreeBSD.ORG Subject: Date: Fri, 14 Jan 2000 10:51:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-2" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'd like to know if there's a chance to install BSD 3.x on a Gericom OVERDOSE II XXL laptop which consists of the following components: Standard(I mean they probably do not need some special driver) m$ natural keyboard, PS/2 mouse, IDE CD-rom. Network card: 3Com Megahertz 10/100 LAN CardBus PCard; Infrared PnP serial(PNP0510) Audio card: Some ESS soundcard. PCMCIA: Texas Inst. PCI-1225 Cardbus. USB: USB-82371AB/EB PCI busmaster [maybe Intel?] Video card: Ati RAGE LT PROF AGP 2x. I'm especially interested in the video and the network card compatibility. I've downloaded the bootfloppies (kern.flp and mfsroot.flp) for pccard (3.3-RELEASE/floppies/pccard directory on ftp sites) wrote them on floppy and tried to boot FBSD. The floppies were successfully read in, then BSD started displaying the following messages: FreeBSD 3.3-RELEASE #2 [some timestamp] jkh@highwing.cdrom.com:/usr/[path to kernel config file] <-- This has changed naturally when booting PAO bootdisk. Timecounter "i8254" freq 1193182Hz And that's all. At a very early stage the boot process has stopped. Any idea what to do? [Shall I type in something at the boot prompt?] I'm not a hardware guru so some pieces of information at the start of the letter might be innaccurate. These are the results of a 'normal' BSD distributions bootdisk, but sadly apply to PAO bootdisks. Thanks in advance, P.S.: Currently I'm not a member of this mailinglist so please mail me privately. Thanks. Zoltan Sebestyen NETvisor Kft 1111 Muegyetem rkpt.9. Fsz.8. Budapest, Hungary. Fax: (+36-1) 463-4396 Tel: (+36-1) 463-4392, 463-4393 "Programming is an art, not a science, and not all programmers are Picassos." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Jan 14 21:27:54 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id D2C0B14D93 for ; Fri, 14 Jan 2000 21:27:50 -0800 (PST) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.8.8+Sun/8.8.8) id AAA28132 for freebsd-mobile@freebsd.org; Sat, 15 Jan 2000 00:24:44 -0500 (EST) Date: Sat, 15 Jan 2000 00:24:44 -0500 (EST) Message-Id: <200001150524.AAA28132@lab12.ie.pitt.edu> From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: freebsd-mobile@freebsd.org Subject: Trouble with PAO3-19991220 for 3.3R with aic0 ? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Finding an updated PAO3 for 3.3-R that claims to support the APA-1460 SlimSCSI card, I pulled it down & tried it out on my Toshiba 4030CDT running 3.3-R/PAO3-19991007. The kernel seemed to build fine with the additions: controller aic0 device pass0 And when the kernel was started, it reported: Initializing PC-card drivers: aic ep sio wdc as expected, but ... just after the kernel correctly changed the root device: Changing root device to wd0s3a It then tried to change the root device again: Changing root device to wd0a which resulted in: error 22: panic: cannot mount root (2) and a subsequent automatic reboot ... Ouch ! What gives here ? Booting my previous PAO3 kernel gets me back, but still no SlimSCSI card. Is this something I did (or didn't do) ? BTW, I'm hoping to use this card to talk to a SCSI scanner via "sane" -- can anyone comment on the prospects of making this work ? --Gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 0:41:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 4956A14CBE for ; Sat, 15 Jan 2000 00:41:43 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 11982 invoked from network); 15 Jan 2000 08:41:40 -0000 Received: from ppp131.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.131) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 08:41:40 -0000 Date: Sat, 15 Jan 2000 17:42:51 +0900 Message-ID: <86oganhgj8.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Polling mode of pcic as default? User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I think that better default behavior of pcic is polling mode (for instetion/removal of cards) because, 1. IRQ mode does not work on some pc-card controller on -current and coming 4.0-RELEASE (Toshiba ToPIC, TI-1250, etc.). 2. IRQ is very expensive resource. 3. Cost of polling mode is little. How about it? --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 1:37:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 9DBF415022 for ; Sat, 15 Jan 2000 01:37:55 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 12473 invoked from network); 15 Jan 2000 09:37:54 -0000 Received: from ppp169.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.169) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 09:37:54 -0000 Date: Sat, 15 Jan 2000 18:39:05 +0900 Message-ID: <86ln5rhdxi.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: In your message of "Sat, 15 Jan 2000 17:42:51 +0900" <86oganhgj8.wl@ringo.FromTo.Cc> References: <86oganhgj8.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 17:42:51 +0900, Tatsumi Hosokawa wrote: > I think that better default behavior of pcic is polling mode (for > instetion/removal of cards) because, > > 1. IRQ mode does not work on some pc-card controller on -current > and coming 4.0-RELEASE (Toshiba ToPIC, TI-1250, etc.). > > 2. IRQ is very expensive resource. > > 3. Cost of polling mode is little. I tested polling mode of -current and it does not work. I wrote a patch to fix this bug. If there's no objection, I'll commit it as soon as possible because 4.0 will soon be frozen. --- pcic.c Fri Dec 10 16:02:41 1999 +++ /home/hosokawa/pcic.c Sat Jan 15 18:35:37 2000 @@ -263,7 +263,7 @@ char *name; int i; int error; - struct resource *res; + struct resource *res = 0; int rid; static int maybe_vlsi = 0; @@ -454,8 +454,9 @@ if (!getenv_int("machdep.pccard.pcic_irq", &pcic_irq)) pcic_irq = 0; rid = 0; - res = bus_alloc_resource(dev, SYS_RES_IRQ, - &rid, pcic_irq, ~0, 1, RF_ACTIVE); + if (pcic_irq) + res = bus_alloc_resource(dev, SYS_RES_IRQ, + &rid, pcic_irq, ~0, 1, RF_ACTIVE); if (res) { error = bus_setup_intr(dev, res, INTR_TYPE_MISC, pcicintr, NULL, &ih); @@ -496,6 +497,8 @@ */ if (pcic_irq > 0) sp->putb(sp, PCIC_STAT_INT, (pcic_irq << 4) | 0xF); + else if (pcic_irq == 0) + sp->putb(sp, PCIC_STAT_INT, 0xF); } if (validslots && pcic_irq <= 0) pcictimeout_ch = timeout(pcictimeout, 0, hz/2); -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 2:29:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 896E614CC0 for ; Sat, 15 Jan 2000 02:29:23 -0800 (PST) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn7.imasy.or.jp [202.227.24.199]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id TAA25824; Sat, 15 Jan 2000 19:29:17 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200001151029.TAA25824@tasogare.imasy.or.jp> To: hosokawa@itc.keio.ac.jp Cc: mobile@FreeBSD.org Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: Your message of "Sat, 15 Jan 2000 18:39:05 +0900" <86ln5rhdxi.wl@ringo.FromTo.Cc> References: <86ln5rhdxi.wl@ringo.FromTo.Cc> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 15 Jan 2000 19:29:16 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 8 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I tested polling mode of -current and it does not work. > I wrote a patch to fix this bug. > If there's no objection, I'll commit it as soon as possible > because 4.0 will soon be frozen. Great! It works well for me (PORTEGE 3110CT). But NULL initialization for struct resource *res would be needed otherwise we get kernel panic on probing pcic. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 2:34:14 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id D08D614E15 for ; Sat, 15 Jan 2000 02:34:11 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 12764 invoked from network); 15 Jan 2000 10:34:06 -0000 Received: from ppp154.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.154) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 10:34:06 -0000 Date: Sat, 15 Jan 2000 19:35:17 +0900 Message-ID: <86k8lbhbbu.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: iwasaki@jp.FreeBSD.org Cc: hosokawa@itc.keio.ac.jp, mobile@FreeBSD.org Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: In your message of "Sat, 15 Jan 2000 19:29:16 +0900" <200001151029.TAA25824@tasogare.imasy.or.jp> References: <86ln5rhdxi.wl@ringo.FromTo.Cc> <200001151029.TAA25824@tasogare.imasy.or.jp> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 19:29:16 +0900, Mitsuru IWASAKI wrote: > Great! It works well for me (PORTEGE 3110CT). > But NULL initialization for struct resource *res would be needed > otherwise we get kernel panic on probing pcic. Hmm? Last patch have: @@ -263,7 +263,7 @@ char *name; int i; int error; - struct resource *res; + struct resource *res = 0; int rid; static int maybe_vlsi = 0; Isn't it enough? -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 2:34:28 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 06D6A1506E for ; Sat, 15 Jan 2000 02:34:26 -0800 (PST) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn39.imasy.or.jp [202.227.24.231]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id TAA26600; Sat, 15 Jan 2000 19:34:24 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200001151034.TAA26600@tasogare.imasy.or.jp> To: iwasaki@jp.freebsd.org Cc: hosokawa@itc.keio.ac.jp, mobile@FreeBSD.org Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: Your message of "Sat, 15 Jan 2000 19:29:16 +0900" <200001151029.TAA25824@tasogare.imasy.or.jp> References: <200001151029.TAA25824@tasogare.imasy.or.jp> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 15 Jan 2000 19:34:18 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 4 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > But NULL initialization for struct resource *res would be needed > otherwise we get kernel panic on probing pcic. I'm sorry, It did already... No problems at all. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 3:54:16 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 4F8A314F6B for ; Sat, 15 Jan 2000 03:54:12 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 13149 invoked from network); 15 Jan 2000 11:54:10 -0000 Received: from ppp163.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.163) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 11:54:10 -0000 Date: Sat, 15 Jan 2000 20:55:21 +0900 Message-ID: <86iu0vh7me.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: In your message of "Sat, 15 Jan 2000 18:39:05 +0900" <86ln5rhdxi.wl@ringo.FromTo.Cc> References: <86oganhgj8.wl@ringo.FromTo.Cc> <86ln5rhdxi.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 18:39:05 +0900, Tatsumi Hosokawa wrote: > I tested polling mode of -current and it does not work. > I wrote a patch to fix this bug. > If there's no objection, I'll commit it as soon as possible > because 4.0 will soon be frozen. Last patch have a minor bug. (if pcic_irq was not defined in loader.rc, polling mode was selected) I fixed this bug. New patch: Index: pcic.c =================================================================== RCS file: /home/ncvs/src/sys/pccard/pcic.c,v retrieving revision 1.85 diff -u -r1.85 pcic.c --- pcic.c 1999/12/10 07:02:41 1.85 +++ pcic.c 2000/01/15 11:49:18 @@ -263,7 +263,7 @@ char *name; int i; int error; - struct resource *res; + struct resource *res = 0; int rid; static int maybe_vlsi = 0; @@ -452,10 +452,14 @@ if (pcic_irq == 0) { /* See if the user has requested a specific IRQ */ if (!getenv_int("machdep.pccard.pcic_irq", &pcic_irq)) - pcic_irq = 0; + pcic_irq = -1; rid = 0; - res = bus_alloc_resource(dev, SYS_RES_IRQ, - &rid, pcic_irq, ~0, 1, RF_ACTIVE); + if (pcic_irq) { + if (pcic_irq < 0) + pcic_irq = 0; + res = bus_alloc_resource(dev, SYS_RES_IRQ, + &rid, pcic_irq, ~0, 1, RF_ACTIVE); + } if (res) { error = bus_setup_intr(dev, res, INTR_TYPE_MISC, pcicintr, NULL, &ih); @@ -465,9 +469,14 @@ return error; } pcic_irq = rman_get_start(res); + printf("pcic: management irq %d\n", pcic_irq); } else { - printf("pcic: polling, can't alloc %d\n", - pcic_irq); + if (pcic_irq) + printf("pcic: polling mode, can't alloc %d\n", + pcic_irq); + else + printf("pcic: polling mode\n"); + pcic_irq = 0; } } /* @@ -496,6 +505,8 @@ */ if (pcic_irq > 0) sp->putb(sp, PCIC_STAT_INT, (pcic_irq << 4) | 0xF); + else if (pcic_irq == 0) + sp->putb(sp, PCIC_STAT_INT, 0xF); } if (validslots && pcic_irq <= 0) pcictimeout_ch = timeout(pcictimeout, 0, hz/2); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 5:44:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns2.san.rr.com (ns1.san.rr.com [24.25.195.3]) by hub.freebsd.org (Postfix) with ESMTP id 8C2DD14E79 for ; Sat, 15 Jan 2000 05:44:32 -0800 (PST) (envelope-from erich@ucsd.edu) Received: from ucsd.edu ([24.30.148.224]) by ns2.san.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Sat, 15 Jan 2000 05:44:26 -0800 Message-ID: <3880798E.264F7053@ucsd.edu> Date: Sat, 15 Jan 2000 05:43:42 -0800 From: Eric Hedstrom X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Gary Rafe Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Trouble with PAO3-19991220 for 3.3R with aic0 ? References: <200001150524.AAA28132@lab12.ie.pitt.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You also need device scbus0 for the SCSI bus. Why that would prevent it from finding the kernel I don't know, but if you send your whole kernel config file we might spot something else askew. Is your old (working) kernel built from the same set of source files? Eric Gary Rafe wrote: > > Finding an updated PAO3 for 3.3-R that claims to support > the APA-1460 SlimSCSI card, I pulled it down & tried it out > on my Toshiba 4030CDT running 3.3-R/PAO3-19991007. > > The kernel seemed to build fine with the additions: > > controller aic0 > device pass0 > > And when the kernel was started, it reported: > > Initializing PC-card drivers: aic ep sio wdc > > as expected, but ... just after the kernel correctly > changed the root device: > > Changing root device to wd0s3a > > It then tried to change the root device again: > > Changing root device to wd0a > > which resulted in: error 22: panic: cannot mount root (2) > > and a subsequent automatic reboot ... > > Ouch ! What gives here ? > Booting my previous PAO3 kernel gets me back, > but still no SlimSCSI card. > > Is this something I did (or didn't do) ? > > BTW, I'm hoping to use this card to talk to a SCSI scanner > via "sane" -- can anyone comment on the prospects of making > this work ? > > --Gary > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 7:38:45 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from foobar.franken.de (foobar.franken.de [194.94.249.81]) by hub.freebsd.org (Postfix) with ESMTP id 2F6BE14C4F for ; Sat, 15 Jan 2000 07:37:24 -0800 (PST) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id QAA19521; Sat, 15 Jan 2000 16:37:14 +0100 (CET) Message-ID: <20000115163713.A19373@foobar.franken.de> Date: Sat, 15 Jan 2000 16:37:13 +0100 From: Harold Gutch To: zoltan.sebestyen@netvisor.hu, freebsd-mobile@FreeBSD.ORG Subject: Re: your mail References: <617185BB0AA2D111872400105AD899AD091302@netvisorpdc.intranet.netvisor.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <617185BB0AA2D111872400105AD899AD091302@netvisorpdc.intranet.netvisor.hu>; from zoltan.sebestyen@netvisor.hu on Fri, Jan 14, 2000 at 10:51:59AM +0100 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 14, 2000 at 10:51:59AM +0100, zoltan.sebestyen@netvisor.hu wrote: > Hi, > > I'd like to know if there's a chance to install BSD 3.x on a Gericom > OVERDOSE II XXL laptop which consists of the following components: > Standard(I mean they probably do not need some special driver) m$ natural > keyboard, PS/2 mouse, IDE CD-rom. > Network card: 3Com Megahertz 10/100 LAN CardBus PCard; Infrared PnP > serial(PNP0510) > Audio card: Some ESS soundcard. > PCMCIA: Texas Inst. PCI-1225 Cardbus. > USB: USB-82371AB/EB PCI busmaster [maybe Intel?] > Video card: Ati RAGE LT PROF AGP 2x. I have a (relabeled) Gericom notebook, most probably a different one than you have, as mine has a DVD-ROM. Are you sure that you have the CardBus version of the Megahertz-card? There is a pccard-version as well (which I have and use under FreeBSD). I didn't have any luck yet with the soundcard though... > I'm especially interested in the video and the network card compatibility. > > I've downloaded the bootfloppies (kern.flp and mfsroot.flp) for pccard > (3.3-RELEASE/floppies/pccard directory on ftp sites) wrote them on floppy > and tried to boot FBSD. The floppies were successfully read in, then BSD > started displaying the following messages: > > FreeBSD 3.3-RELEASE #2 [some timestamp] > jkh@highwing.cdrom.com:/usr/[path to kernel config file] <-- This > has changed naturally when booting PAO bootdisk. > > Timecounter "i8254" freq 1193182Hz > > And that's all. At a very early stage the boot process has stopped. Any idea > what to do? [Shall I type in something at the boot prompt?] > > I'm not a hardware guru so some pieces of information at the start of the > letter might be innaccurate. These are the results of a 'normal' BSD > distributions bootdisk, but sadly apply to PAO bootdisks. I had the same problem and solved it by booting from some 2.2 bootdisks, then installing from my 3.3-RELEASE CDs. Next I booted using the 2.2 bootdisk, loaded /boot/loader from my harddisk (which now had a complete FreeBSD installation - all it was lacking, was an ELF-kernel capable loader) and installed up-to-date bootblocks ("disklabel -B"). Good luck, Harold -- Someone should do a study to find out how many human life spans have been lost waiting for NT to reboot. Ken Deboy on Dec 24 1999 in comp.unix.bsd.freebsd.misc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 9:38:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 1CA4B14C23 for ; Sat, 15 Jan 2000 09:38:09 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 15213 invoked from network); 15 Jan 2000 17:38:07 -0000 Received: from ppp012.dialup.hc.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.233.12) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 17:38:07 -0000 Date: Sun, 16 Jan 2000 02:39:18 +0900 Message-ID: <86g0vzgrp5.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: In your message of "Sat, 15 Jan 2000 20:55:21 +0900" <86iu0vh7me.wl@ringo.FromTo.Cc> References: <86oganhgj8.wl@ringo.FromTo.Cc> <86ln5rhdxi.wl@ringo.FromTo.Cc> <86iu0vh7me.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 20:55:21 +0900, Tatsumi Hosokawa wrote: > Last patch have a minor bug. > (if pcic_irq was not defined in loader.rc, > polling mode was selected) > I fixed this bug. This bug-fix patch has been committed. Following patch sets polling mode as default. How about it? Index: loader.conf =================================================================== RCS file: /home/ncvs/src/sys/boot/forth/loader.conf,v retrieving revision 1.25 diff -u -r1.25 loader.conf --- loader.conf 2000/01/14 20:41:00 1.25 +++ loader.conf 2000/01/15 17:34:53 @@ -72,7 +72,7 @@ #kern.ipc.nmbclusters="" # Set the number of mbuf clusters #kern.vm.kmem.size="" # Sets the size of kernel memory (bytes) -#machdep.pccard.pcic_irq="0" # Assigns PCCARD controller IRQ (0=polled) +machdep.pccard.pcic_irq="0" # Assigns PCCARD controller IRQ (0=polled) #net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 9:40:35 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id C2B6E14F07 for ; Sat, 15 Jan 2000 09:40:30 -0800 (PST) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.8.8+Sun/8.8.8) id MAA05662 for freebsd-mobile@freebsd.org; Sat, 15 Jan 2000 12:40:27 -0500 (EST) Date: Sat, 15 Jan 2000 12:40:27 -0500 (EST) Message-Id: <200001151740.MAA05662@lab12.ie.pitt.edu> From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: freebsd-mobile@freebsd.org Subject: Re: Trouble with PAO3-19991220 for 3.3R with aic0 ? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I should add that my kernel config is also used to drive a parallel port Zip drive: controller scbus0 device da0 device vpo0 at ppbus? that seems quite stable under 3.3R/PAO3-19991007. My comments below are based on observations with the PAO3-19991220 patches, both for the kernel & pccardc/pccardd. !You also need ! ! device scbus0 ! !for the SCSI bus. Why that would prevent it from finding the kernel I don't !know, but if you send your whole kernel config file we might spot something !else askew. ! !Is your old (working) kernel built from the same set of source files? ! !> Finding an updated PAO3 for 3.3-R that claims to support !> the APA-1460 SlimSCSI card, I pulled it down & tried it out !> on my Toshiba 4030CDT running 3.3-R/PAO3-19991007. !> !> The kernel seemed to build fine with the additions: !> !> controller aic0 !> device pass0 !> !> And when the kernel was started, it reported: !> !> Initializing PC-card drivers: aic ep sio wdc !> !> as expected, but ... just after the kernel correctly !> changed the root device: !> !> Changing root device to wd0s3a !> !> It then tried to change the root device again: !> !> Changing root device to wd0a !> !> which resulted in: error 22: panic: cannot mount root (2) !> !> and a subsequent automatic reboot ... !> !> Ouch ! What gives here ? !> Booting my previous PAO3 kernel gets me back, !> but still no SlimSCSI card. !> !> Is this something I did (or didn't do) ? !> !> BTW, I'm hoping to use this card to talk to a SCSI scanner !> via "sane" -- can anyone comment on the prospects of making !> this work ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 10:21:10 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0DE0E14C0D for ; Sat, 15 Jan 2000 10:21:06 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA55234; Sat, 15 Jan 2000 11:21:04 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA42322; Sat, 15 Jan 2000 11:21:59 -0700 (MST) Message-Id: <200001151821.LAA42322@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Polling mode of pcic as default? Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sat, 15 Jan 2000 17:42:51 +0900." <86oganhgj8.wl@ringo.FromTo.Cc> References: <86oganhgj8.wl@ringo.FromTo.Cc> Date: Sat, 15 Jan 2000 11:21:58 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86oganhgj8.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : I think that better default behavior of pcic is polling mode (for : instetion/removal of cards) because, : 1. IRQ mode does not work on some pc-card controller on -current : and coming 4.0-RELEASE (Toshiba ToPIC, TI-1250, etc.). : 2. IRQ is very expensive resource. : 3. Cost of polling mode is little. I think that so long as I can set the pcic irq from the boot loader/userconfig, I'm happy with making polling default. There are more race conditions with polling (actually, there aren't more, but their windows are larger), so we may see more system hangs with polling rather than with the interrupt method, but I don't know how many more. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 10:23:18 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B1A1A14CF1 for ; Sat, 15 Jan 2000 10:23:16 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA55251; Sat, 15 Jan 2000 11:23:15 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA42356; Sat, 15 Jan 2000 11:24:10 -0700 (MST) Message-Id: <200001151824.LAA42356@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 02:39:18 +0900." <86g0vzgrp5.wl@ringo.FromTo.Cc> References: <86g0vzgrp5.wl@ringo.FromTo.Cc> <86oganhgj8.wl@ringo.FromTo.Cc> <86ln5rhdxi.wl@ringo.FromTo.Cc> <86iu0vh7me.wl@ringo.FromTo.Cc> Date: Sat, 15 Jan 2000 11:24:06 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86g0vzgrp5.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : Following patch sets polling mode as default. : How about it? I'd rather not make things default by a boot loader config variable. I'd rather have things not wired to an IRQ in the GENERIC config file. Since the IRQ can now be set from userconfig, I'd like to get rid of the boot loader variable for this in time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 10:38:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 4524214D2A for ; Sat, 15 Jan 2000 10:38:24 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 15750 invoked from network); 15 Jan 2000 18:38:22 -0000 Received: from ppp169.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.169) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 18:38:22 -0000 Date: Sun, 16 Jan 2000 03:39:27 +0900 Message-ID: <86bt6ngoww.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: hosokawa@itc.keio.ac.jp, mobile@FreeBSD.ORG Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) In-Reply-To: In your message of "Sat, 15 Jan 2000 11:24:06 -0700" <200001151824.LAA42356@harmony.village.org> References: <86g0vzgrp5.wl@ringo.FromTo.Cc> <86oganhgj8.wl@ringo.FromTo.Cc> <86ln5rhdxi.wl@ringo.FromTo.Cc> <86iu0vh7me.wl@ringo.FromTo.Cc> <200001151824.LAA42356@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 11:24:06 -0700, Warner Losh wrote: > I'd rather not make things default by a boot loader config variable. > I'd rather have things not wired to an IRQ in the GENERIC config > file. Since the IRQ can now be set from userconfig, I'd like to get > rid of the boot loader variable for this in time. But IRQ value can't be set to 0 from userconfig :-). Flags would be better...? -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 10:53: 4 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 72BB914A2C for ; Sat, 15 Jan 2000 10:53:01 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA55343; Sat, 15 Jan 2000 11:53:00 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA42586; Sat, 15 Jan 2000 11:53:54 -0700 (MST) Message-Id: <200001151853.LAA42586@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Working pcic polling mode patch (Re: Polling mode of pcic as default?) Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 03:39:27 +0900." <86bt6ngoww.wl@ringo.FromTo.Cc> References: <86bt6ngoww.wl@ringo.FromTo.Cc> <86g0vzgrp5.wl@ringo.FromTo.Cc> <86oganhgj8.wl@ringo.FromTo.Cc> <86ln5rhdxi.wl@ringo.FromTo.Cc> <86iu0vh7me.wl@ringo.FromTo.Cc> <200001151824.LAA42356@harmony.village.org> Date: Sat, 15 Jan 2000 11:53:54 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86bt6ngoww.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : But IRQ value can't be set to 0 from userconfig :-). I'd forgotten that. userconfig should be fixed then :-) Actually, that's too big to do right now. : Flags would be better...? Yes. I think so. Let me think about this... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 11:35:56 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 132B914BC5 for ; Sat, 15 Jan 2000 11:35:54 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 16018 invoked from network); 15 Jan 2000 19:35:52 -0000 Received: from ppp170.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.170) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 19:35:52 -0000 Date: Sun, 16 Jan 2000 04:37:03 +0900 Message-ID: <86901rt9cw.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: hosokawa@itc.keio.ac.jp, mobile@FreeBSD.ORG Subject: Re: Polling mode of pcic as default? In-Reply-To: In your message of "Sat, 15 Jan 2000 11:21:58 -0700" <200001151821.LAA42322@harmony.village.org> References: <86oganhgj8.wl@ringo.FromTo.Cc> <200001151821.LAA42322@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 11:21:58 -0700, Warner Losh wrote: > I think that so long as I can set the pcic irq from the boot > loader/userconfig, I'm happy with making polling default. There are > more race conditions with polling (actually, there aren't more, but > their windows are larger), so we may see more system hangs with > polling rather than with the interrupt method, but I don't know how > many more. Removing heavy-loaded Ethernet PC-card or removing unmounted storage card (almost always) causes system crash regardless of IRQ/polling method. (Of course, I admit that polling mode is more dangerous than IRQ mode) To avoid race condition, users have to execute "pccard power slotnum 0" before s/he remove a card from a slot like Microsoft Windows. To make it easier, wrapper script or X interface (like xpccard in PAO) will be useful, and to solve this problem essentially, I think that it needs more and more hacks in device management system. Okay, default mode of PCIC is IRQ mode in coming 4.0-RELEASE, but polling mode works as well. -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 11:43: 4 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1B3BA14CF8 for ; Sat, 15 Jan 2000 11:42:59 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA55496; Sat, 15 Jan 2000 12:42:57 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA00401; Sat, 15 Jan 2000 12:42:50 -0700 (MST) Message-Id: <200001151942.MAA00401@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Polling mode of pcic as default? Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 04:37:03 +0900." <86901rt9cw.wl@ringo.FromTo.Cc> References: <86901rt9cw.wl@ringo.FromTo.Cc> <86oganhgj8.wl@ringo.FromTo.Cc> <200001151821.LAA42322@harmony.village.org> Date: Sat, 15 Jan 2000 12:42:50 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86901rt9cw.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : To avoid race condition, users have to execute "pccard power slotnum : 0" before s/he remove a card from a slot like Microsoft Windows. To : make it easier, wrapper script or X interface (like xpccard in PAO) : will be useful, and to solve this problem essentially, I think that it : needs more and more hacks in device management system. I'm not sure I understand the last part of this paragraph. Also, users that have mounted storage need to unmount the storage as well. Users of ppp need to shutdown ppp before turning off the power. This does make simple zzz much harder to do, but even apmd can now deal with those issues. : Okay, default mode of PCIC is IRQ mode in coming 4.0-RELEASE, but : polling mode works as well. Actually, I think I like the idea of using polling by default. I think that having it on by default will allow more users to install where eject isn't an issue, but picking the wrong IRQ is a big issue. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 13:15:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 59AC914CFE for ; Sat, 15 Jan 2000 13:15:10 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 16621 invoked from network); 15 Jan 2000 21:15:08 -0000 Received: from ppp156.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.156) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 21:15:08 -0000 Date: Sun, 16 Jan 2000 06:16:19 +0900 Message-ID: <867lhbt4rg.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: pccard_ether does not work without DHCP User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. /etc/pccard_ether does not work without DHCP. For example, /etc/pccard.conf have ed0 in config line, but kernel refuses this name and says devclass_alloc_unit: ed0 already exists, using next availale unit number Kernel uses ed1 as device name and it does not match config and insert/remove lines. Fortunately, dhclient was called without args, and it works, but if we want to use static IP address for PC-card, it does not work totally. I want to fix this problem ASAP. 1. replace "ed0" (etc.) with $device in insert/remove lines. 2. use "ed1" (etc.) instead -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 13:48: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 1515415100 for ; Sat, 15 Jan 2000 13:48:07 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 16834 invoked from network); 15 Jan 2000 21:48:06 -0000 Received: from ppp153.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.153) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 21:48:06 -0000 Date: Sun, 16 Jan 2000 06:49:17 +0900 Message-ID: <864scft38i.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Re: pccard_ether does not work without DHCP In-Reply-To: In your message of "Sun, 16 Jan 2000 06:16:19 +0900" <867lhbt4rg.wl@ringo.FromTo.Cc> References: <867lhbt4rg.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sun, 16 Jan 2000 06:16:19 +0900, Tatsumi Hosokawa wrote: > /etc/pccard_ether does not work without DHCP. > For example, /etc/pccard.conf have ed0 in config line, but kernel > refuses this name and says > > devclass_alloc_unit: ed0 already exists, using next availale unit > number I tested it with ep0, but it works fine withyout problem. Perhaps the problem only with ed driver? ed0 in GENERIC is device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 and ep0 is device ep0 Hmm? "at isa?" or explicit ioaddr and irq specification causes this problem? Please test it with fe0 card if you have fe0 card. fe0 in GENERIC is device fe0 at isa? port 0x300 irq ? -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 13:54:49 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id A683115118 for ; Sat, 15 Jan 2000 13:54:47 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 16885 invoked from network); 15 Jan 2000 21:54:46 -0000 Received: from ppp153.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.153) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 21:54:46 -0000 Date: Sun, 16 Jan 2000 06:55:57 +0900 Message-ID: <863drzt2xe.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Re: pccard_ether does not work without DHCP In-Reply-To: In your message of "Sun, 16 Jan 2000 06:49:17 +0900" <864scft38i.wl@ringo.FromTo.Cc> References: <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sun, 16 Jan 2000 06:49:17 +0900, Tatsumi Hosokawa wrote: > "at isa?" or explicit ioaddr and irq specification causes this > problem? > > Please test it with fe0 card if you have fe0 card. fe0 in GENERIC is > device fe0 at isa? port 0x300 irq ? I tested it with sio card and kernel says that devclass_alloc_unit: sio2 already exists, using next available unit number and used sio4. Of course, sio's in kernel are device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 so, I think fe0 causes same problem. Applying s/ed0/ed1/, s/fe0/fe1/, s/sio2/sio4/,... to /etc/pccard.conf.sample would be an effective hack, but it's dirty hack. Any better ideas? -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 14:31:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 60A8314A31 for ; Sat, 15 Jan 2000 14:31:01 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 17097 invoked from network); 15 Jan 2000 22:30:57 -0000 Received: from ppp126.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.126) by afs.itc.keio.ac.jp with SMTP; 15 Jan 2000 22:30:57 -0000 Date: Sun, 16 Jan 2000 07:32:08 +0900 Message-ID: <861z7jt193.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Better solution of "devclass_alloc_unit: ed1 already exists" problem? In-Reply-To: In your message of "Sun, 16 Jan 2000 06:55:57 +0900" <863drzt2xe.wl@ringo.FromTo.Cc> References: <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I wrote a patch for "devclass_alloc_unit: ed1 already exists" problem. I only add a small patch to GENERIC to the hack I wrote in the last mail, but I think it would be better than the patch for pccard.conf.sample alone. Comments? Index: sys/i386/conf/GENERIC =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v retrieving revision 1.229 diff -u -r1.229 GENERIC --- sys/i386/conf/GENERIC 2000/01/14 20:40:58 1.229 +++ sys/i386/conf/GENERIC 2000/01/15 22:26:45 @@ -143,6 +143,7 @@ device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 +device sio4 # PCCARD # Parallel port device ppc0 at isa? port? irq 7 @@ -174,6 +175,7 @@ # ISA Ethernet NICs. device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 +device ed1 # PCCARD device ex0 device ep0 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really @@ -189,6 +191,7 @@ # The probe order of these is presently determined by i386/isa/isa_compat.c. device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 device fe0 at isa? port 0x300 irq ? +device fe1 # PCCARD device le0 at isa? port 0x300 irq 5 iomem 0xd0000 device lnc0 at isa? port 0x280 irq 10 drq 0 device cs0 at isa? port 0x300 irq ? Index: etc/pccard.conf.sample =================================================================== RCS file: /home/ncvs/src/etc/pccard.conf.sample,v retrieving revision 1.58 diff -u -r1.58 pccard.conf.sample --- etc/pccard.conf.sample 2000/01/15 21:29:18 1.58 +++ etc/pccard.conf.sample 2000/01/15 22:26:46 @@ -8,7 +8,7 @@ # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # -# $FreeBSD: src/etc/pccard.conf.sample,v 1.58 2000/01/15 21:29:18 hosokawa Exp $ +# $FreeBSD: src/etc/pccard.conf.sample,v 1.57 2000/01/15 05:45:38 obrien Exp $ # Generally available IO ports io 0x240-0x360 @@ -60,7 +60,7 @@ # IBM PCMCIA Ethernet I/II card "IBM Corp." "Ethernet" - config 0x1 "ed0" ? + config 0x1 "ed1" ? ether 0xff0 insert echo IBM PCMCIA Ethernet inserted insert /etc/pccard_ether $device @@ -69,7 +69,7 @@ # Melco LPC-T (PIO mode) card "PCMCIA" "UE2212" - config 0x1 "ed0" ? 0x10 + config 0x1 "ed1" ? 0x10 ether 0xff0 insert echo UE2212 inserted insert /etc/pccard_ether $device @@ -79,7 +79,7 @@ # Accton EN2212 # Very slow! (PIO mode) card "ACCTON" "EN2212" - config 0x1 "ed0" ? 0x10 + config 0x1 "ed1" ? 0x10 ether 0xff0 insert echo Accton EN2212 inserted insert /etc/pccard_ether $device @@ -88,7 +88,7 @@ #Accton 2216 card "ACCTON" "EN2216-PCMCIA-ETHERNET" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo Accton 2216 inserted insert /etc/pccard_ether $device remove echo Accton 2216 removed @@ -96,7 +96,7 @@ # COREGA EtherII PCC-T card "corega K.K." "corega EtherII PCC-T" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo EtherII PCC-T inserted insert /etc/pccard_ether $device remove echo EtherII PCC-T removed @@ -104,7 +104,7 @@ # I-O DATA PCLATE card "IO DATA" "PCLATE" - config 0x20 "ed0" ? 0x10 + config 0x20 "ed1" ? 0x10 insert echo IO DATA PCLATE inserted insert /etc/pccard_ether $device remove echo IO DATA PCLATE removed @@ -145,7 +145,7 @@ # LinkSys ethernet card card "E-CARD" "E-CARD" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo "LinkSys card inserted" insert /etc/pccard_ether $device remove echo "LinkSys card removed" @@ -153,7 +153,7 @@ # Linksys Combo PCMCIA EthernetCard (model EC2T on box) card "Linksys" "Combo PCMCIA EthernetCard (EC2T)" - config 0x1 "ed0" ? + config 0x1 "ed1" ? insert echo Linksys Ethernet inserted insert /etc/pccard_ether $device remove echo Linksys Ethernet removed @@ -161,7 +161,7 @@ #Linksys EtherFast 10/100 PC Card (PCMPC100) card "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" - config 0x3 "ed0" ? + config 0x3 "ed1" ? insert echo Linksys Fast 100-BaseT inserted insert /etc/pccard_ether $device remove echo Linksys Fast 100-BaseT removed @@ -178,7 +178,7 @@ # Fujitsu MBH10302 card "PCMCIA MBH10302" "01" - config 0x14 "fe0" ? + config 0x14 "fe1" ? insert echo Fujitsu MBH10302 inserted insert /etc/pccard_ether $device remove echo Fujitsu MBH10302 removed @@ -186,7 +186,7 @@ # NextCom J Link NC5310 card "NextComK.K." "NC5310 Ver1.0 " - config 0x14 "fe0" ? + config 0x14 "fe1" ? insert echo NextCom J Link NC5310 inserted insert /etc/pccard_ether $device remove echo NextCom J Link NC5310 removed @@ -194,7 +194,7 @@ # HITACHI HT-4840-11 card "HITACHI" "HT-4840-11" - config 0x1a "fe0" ? + config 0x1a "fe1" ? insert echo HT-4840-11 inserted insert /etc/pccard_ether $device remove echo HT-4840-11 removed @@ -202,19 +202,19 @@ # Danpex (Alloy, etc.) EN-6200P2 card "DANPEX" "EN-6200P2" - config 0x22 "ed0" ? + config 0x22 "ed1" ? insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete # Fujitsu MBH10303 Ethernet PCMCIA card "EAGLE Technology" "NE200 ETHERNET LAN MBH10303 " - config 0x1 "fe0" ? + config 0x1 "fe1" ? insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete # Compex Net-A adapter card "Ethernet" "Adapter" - config 0x1 "ed0" ? + config 0x1 "ed1" ? ether 0xff0 insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete @@ -228,7 +228,7 @@ # If you see strange MAC address shown by ifconfig command, # try other config. card "Ethernet" "Adapter" - config 0x2 "ed0" ? + config 0x2 "ed1" ? # ether 0x110 00:e0:98 # ether 0xff0 00:e0:98 insert /etc/pccard_ether $device @@ -236,13 +236,13 @@ # D-Link DE-660 NE2000 clone card "D-Link" "DE-660" - config 0x20 "ed0" ? 0x10 + config 0x20 "ed1" ? 0x10 insert /etc/pccard_ether $device link0 -link1 remove /sbin/ifconfig $device delete # NDC Ethernet Instant-Link NE2000 clone card "NDC" "Ethernet" - config 0x22 "ed0" ? 0x10 + config 0x22 "ed1" ? 0x10 insert echo NDC Ethernet Instant-Link adapter inserted insert /etc/pccard_ether $device remove echo NDC Ethernet Instant-Link adapter removed @@ -250,14 +250,14 @@ # CyQ've ELA-010 card "CyQ've" "ELA-010" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete # Allied Telesis CentreCOM LA-PCM_V2 ethernet card # NTT-DATA ASTROWINK-M/MMOIL(IrLAN) ethernet card card "Allied Telesis, K.K." "CentreCOM LA-PCM_V2" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo CentreCOM LA-PCM V2 Ethernet card inserted insert /etc/pccard_ether $device remove echo CentreCOM LA-PCM V2 Ethernet card removed @@ -273,7 +273,7 @@ # BayNetworks NETGEAR FA410TXC Fast Ethernet card "NETGEAR" "FA410TX" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo NETGEAR FA410TX Ethernet inserted insert /etc/pccard_ether $device remove echo NETGEAR FA410TX Ethernet removed @@ -281,7 +281,7 @@ # Network Everywhere Ethernet 10BaseT PC Card card "Network Everywhere" "Ethernet 10BaseT PC Card" - config 0x1 "ed0" ? + config 0x1 "ed1" ? insert echo Network Everywhere Ethernet 10BaseT PC Card inserted insert /etc/pccard_ether $device remove echo Network Everywhere Ethernet 10BaseT PC Card removed @@ -290,56 +290,56 @@ # AIWA PV-JF288 card "AIWA CO.,LTD." "PV-JF288 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo AIWA PV-JF288 inserted remove echo AIWA PV-JF288 removed # Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem. card "AD PC_CARD" "RC288ACL" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo Apex Data Mobile Plus 28.8 Modem inserted remove echo Apex Data Mobile Plus 28.8 Modem removed # Megahertz XJ1144 card "MEGAHERTZ" "XJ1144" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ1144 inserted remove echo Megahertz XJ1144 removed # Megahertz XJ2144 (US) card "MEGAHERTZ" "XJ2144" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2144 inserted remove echo Megahertz XJ2144 removed # Megahertz XJ2144 (JP) card "MEGAHERTZ" "XJ2144-81" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2144 inserted remove echo Megahertz XJ2144 removed # Megahertz XJ2288 card "MEGAHERTZ" "XJ2288" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2288 inserted remove echo Megahertz XJ2288 removed # Megahertz XJ4336 card "Megahertz" "XJ4336-CC4336" - config 0x21 "sio1" ? + config 0x21 "sio4" ? insert echo Megahertz XJ4336 inserted remove echo Megahertz XJ4336 removed # Megahertz XJ1336 card "U.S. Robotics" "XJ/CC1336" - config 0x21 "sio2" ? + config 0x21 "sio4" ? insert echo U.S. Robotics XJ/CC1336 inserted remove echo U.S. Robotics XJ/CC1336 removed # Nokia Cellular Data Card card "Nokia Mobile Phones" "DTP-2" - config 0x22 "sio2" ? - config 0x23 "sio3" ? + config 0x22 "sio4" ? + config 0x23 "sio4" ? insert echo Nokia Mobile Phones DTP-2 inserted remove echo Nokia Mobile Phones DTP-2 removed @@ -347,50 +347,50 @@ # With 2 Mobile Phones and Multilink PPP you can get a 19200 data channel. # Nokia Cellular Data Card card "Nokia Mobile Phones" "DTP-2 ver II" - config 0x23 "sio2" ? - config 0x24 "sio3" ? + config 0x23 "sio4" ? + config 0x24 "sio4" ? insert echo Nokia Mobile Phones DTP-2 ver II inserted remove echo Nokia Mobile Phones DTP-2 ver II removed # Omron ME2814 FAX/DATA MODEM card "OMRON" "ME2814 FAX/DATA MOD" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo OMRON ME2814 Modem inserted remove echo OMRON ME2814 Modem removed # TDK 14.4 FAX/Data Modem card "TDK" "DF1414 DATA/FAX MOD" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo TDK DF1414 inserted remove echo TDK DF1414 removed # TDK 14.4 FAX/Data Modem card "TDK" "DF1414EX DATA/FAX M" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo TDK DF1414 inserted remove echo TDK DF1414 removed # Panasonic Modem Card TO-706C card "Panasonic" "TO-706C" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Panasonic TO-706C inserted remove echo Panasonic TO-706C removed # Panasonic Modem Card TO-706C card "Panasonic" "TO-CAF288" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Panasonic TO-CAF288 inserted remove echo Panasonic TO-CAF288 removed # NewMedia 14.4K FAX/Data Modem card "CIRRUS LOGIC" "FAX MODEM" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Newmedia 14.4 Modem inserted remove echo Newmedia 14.4 Modem removed # Omron MD24XCA FAX/Data Modem #card "OMRON Corp." "MD24XCA" -# config 0x23 "sio2" ? +# config 0x23 "sio4" ? # reset 10000 # insert echo OMRON MD24XCA Modem inserted # remove echo OMRON MD24XCA Modem removed @@ -398,58 +398,58 @@ # Hayes OPTIMA 288 FAX/Data Modem # currently does not work on my machine card "Hayes" "OPTIMA 288 + FAX fo" - config 0x24 "sio2" ? + config 0x24 "sio4" ? reset 10000 insert echo Optima 288 inserted remove echo Optima 288 removed # This one does work though card "HAYES" "OPT288" - config 0x23 "sio3" ? + config 0x23 "sio4" ? insert echo Hayes Optima 28.8k inserted remove echo Hayes Optima 28.8k removed # PREMAX FM288 FAX/Data Modem card "PREMAX" "FM288 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo PREMAX FM288 Modem inserted remove echo PREMAX FM288 Modem removed # Novalink NovaModem 144 card "NovaLink Tech." "NovaModem 144 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo NovaModem 144 Modem inserted remove echo NovaModem 144 Modem removed # US Robotics Sportster PCMCIA V.34 # US Robotics COURIER PCMCIA V.34 card "USRobotics" "PCMCIA 28800 Data/F" - config 0x3 "sio2" ? + config 0x3 "sio4" ? insert echo USRobotics PCMCIA Modem inserted remove echo USRobotics PCMCIA Modem removed # Xircom CreditCard Modem card "Xircom" "CreditCard Modem CM-56T" - config 0x17 "sio1" ? + config 0x17 "sio4" ? reset 100 insert echo Xircom CreditCard Modem CM-56T inserted remove echo Xircom CreditCard Modem CM-56T removed # Xircom CreditCard Ethernet+Modem (Modem only !!!) card "Xircom" "CreditCard Ethernet" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Xircom CreditCard Modem inserted remove echo Xircom CreditCard Modem removed # Xircom CreditCard Ethernet 10/100 + modem (modem only) card "Xircom" "CreditCard Ethernet 10/100 + " - config 0x1f "sio3" ? + config 0x1f "sio4" ? insert echo Xircom CreditCard Modem inserted remove echo Xircom CreditCard Modem removed # Xircom CreditCard Ethernet 10/100 + modem (Ethernet part) card "Xircom" "CreditCard Ethernet 10/100 + Modem 56" - config 0x17 "sio3" ? + config 0x17 "sio4" ? insert echo Xircom CreditCard Modem inserted insert /etc/pccard_ether xe0 remove echo Xircom CreditCard Modem removed @@ -465,7 +465,7 @@ # Xircom GlobalACCESS modem card "Xircom" "CreditCard Modem 56 - GlobalA" - config 0x1f "sio2" ? + config 0x1f "sio4" ? insert echo Xircom CreditCard Modem 56 - GlobalACCESS inserted remove echo Xircom CreditCard Modem 56 - GlobalACCESS removed @@ -479,13 +479,13 @@ # GATEWAY 2000 FAX/Data Modem (14.4K) card "GATEWAY2000" "CC3144" - config 0x22 "sio3" ? + config 0x22 "sio4" ? insert echo GATEWAY2000 FAX/Data Modem inserted remove echo GATEWAY2000 FAX/Data Modem removed # IBM Push/Pop Modem (14.4K) card "IBM" "Push/Pop Modem(14.4" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo IBM Push/Pop Modem inserted remove echo IBM Push/Pop Modem removed @@ -493,61 +493,61 @@ # Apparently this modem does not work unless the recommended # init string (AT&F&C1&D2) is supplied. card "PCMCIA " "33.6K Fax/Modem " - config 23 "sio2" ? + config 23 "sio4" ? insert echo Eiger 33.6K modem inserted remove echo Eiger 33.6K modem removed # NTT ThunderCard Modem card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo NTT ThunderCard inserted remove echo NTT ThunderCard removed # U.S. Robotics XJ1560J card "U.S. Robotics" "XJ/CC1560J" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo U.S. Robotics XJ1560J inserted remove echo U.S. Robotics XJ1560J removed # 3com/USR/Megahertz 3CCM556 card "3Com" "3CXM/3CCM556" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo 3Com PCMCIA 56K Modem inserted remove echo 3Com PCMCIA 56K Modem removed # 3Com/NoteWorthy 56K modem (bundled with Toshiba notebooks) card "Toshiba America" "3CXM056-BNW" - config 0x20 "sio1" ? + config 0x20 "sio4" ? insert echo NoteWorthy 56K PCMCIA Modem inserted remove echo NoteWorthy 56K PCMCIA Modem removed # BUG Linkboy D64K (ISDN) card "BUG Inc." "Linkboy D64K" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo BUG Linkboy D64K inserted remove echo BUG Linkboy D64K removed # NTT DoCoMo DATA/FAX Adapter card "NTT DoCoMo" "PCMCIA DATA/FAX ADA" - config 0x22 "sio3" ? 0x82 + config 0x22 "sio4" ? 0x82 insert echo NTT DoCoMo DATA/FAX Adapter inserted remove echo NTT DoCoMo DATA/FAX Adapter removed # Random modem bundled with Dell systems card "Psion Dacom" "Gold Card Global 56K+Fax" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo "Psion Dacom modem card inserted" remove echo "Psion Dacom modem card removed" # Actiontec Datalink with v.90 upgrade card "PCMCIA " "56K V.90 Fax Modem (LK) " - config 0x1f "sio2" ? + config 0x1f "sio4" ? insert echo "Actiontec Datalink modem card inserted" remove echo "Actiontec Datalink modem card removed" # Panasonic FM-RADIO card #card "Panasonic" "CF-JVR101" -# config 0x22 "sio3" ? +# config 0x22 "sio4" ? # insert echo Panasonic FM radio card inserted # remove echo Panasonic FM radio card removed @@ -599,14 +599,14 @@ # Viking V.90/K56Flex modem card "Viking" "V.90 K56flex" - config 0x23 "sio3" ? + config 0x23 "sio4" ? insert echo Viking 56K Modem inserted remove echo Viking 56K Modem removed # Zoom 56K modem # Freezes your system entirely if you don't have the reset.. card "Zoom Telephonics, Inc." "PCMCIA 56K LT DataFax" - config 0x1f "sio2" ? + config 0x1f "sio4" ? reset 1000 insert echo Zoom modem inserted remove echo Zoom modem removed @@ -621,13 +621,13 @@ # 3Com/USR/MegaHertz 3CCM156 card "3COM" "3CCM156" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo 3Com PCMCIA 56K modem inserted remove echo 3Com PCMCIA 56K modem removed #AR-P500 ethernet card card "IC-CARD" "IC-CARD" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo AR-P500 Ethernet card inserted insert /etc/pccard_ether $device remove echo AR-P500 Ethernet card removed @@ -635,17 +635,17 @@ #Eiger 33.6 modem card "AT&T" "V34+ Fax Modem" - config 0x23 "sio1" ? + config 0x23 "sio4" ? insert echo Eiger 33.6K modem inserted remove echo Eiger 33.6K modem removed # Motorola Montana card "Motorola" "MONTANA 33.6 FAX/MODEM" - config 0x21 "sio1" ? + config 0x21 "sio4" ? # AmbiCom 10BaseT card card "AmbiCom Inc" "AMB8002T" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo AmbiCom 8002T inserted insert /etc/pccard_ether $device remove echo AmbiCom 8002T removed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 15:22: 0 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 95ABF14EAB for ; Sat, 15 Jan 2000 15:21:52 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA56006; Sat, 15 Jan 2000 16:21:51 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA01313; Sat, 15 Jan 2000 16:21:45 -0700 (MST) Message-Id: <200001152321.QAA01313@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: pccard_ether does not work without DHCP Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 06:49:17 +0900." <864scft38i.wl@ringo.FromTo.Cc> References: <864scft38i.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> Date: Sat, 15 Jan 2000 16:21:45 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <864scft38i.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : I tested it with ep0, but it works fine withyout problem. Perhaps the : problem only with ed driver? No. It is a problem with all devices that have a hardwired ISA attachment. : "at isa?" or explicit ioaddr and irq specification causes this : problem? Yes. That's the problem. : Please test it with fe0 card if you have fe0 card. fe0 in GENERIC is : device fe0 at isa? port 0x300 irq ? I didn't think if_fe had been converted to newbus yet. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 15:24: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id EEB9F15123 for ; Sat, 15 Jan 2000 15:24:05 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA56033; Sat, 15 Jan 2000 16:24:04 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA01357; Sat, 15 Jan 2000 16:23:58 -0700 (MST) Message-Id: <200001152323.QAA01357@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 07:32:08 +0900." <861z7jt193.wl@ringo.FromTo.Cc> References: <861z7jt193.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> Date: Sat, 15 Jan 2000 16:23:58 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <861z7jt193.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : I wrote a patch for "devclass_alloc_unit: ed1 already exists" problem. : I only add a small patch to GENERIC to the hack I wrote in the last : mail, but I think it would be better than the patch for : pccard.conf.sample alone. : : Comments? Ufff. That's ugly, but less ugly than some of the alternatives. I don't think that you need ed1/sio4 in the kernel config file. That will happen all by itself since the number of devices is no longer known at compile time. A better solution might be to have the system create the device and return it to pccardd so that it could pass it as an argument to the insert command, but even that has its problems. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 16:31:21 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pluto.psn.net (pluto.psn.net [207.211.58.12]) by hub.freebsd.org (Postfix) with ESMTP id D29301513D for ; Sat, 15 Jan 2000 16:31:18 -0800 (PST) (envelope-from will@shadow.blackdawn.com) Received: from 18-077.008.popsite.net ([209.69.196.77] helo=shadow.blackdawn.com) by pluto.psn.net with esmtp (PSN Internet Service 3.12 #1) for mobile@FreeBSD.org id 129db7-00077y-00; Sat, 15 Jan 2000 17:31:15 -0700 Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id QAA30209 for mobile@FreeBSD.org; Sat, 15 Jan 2000 16:19:45 -0500 (EST) (envelope-from will) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 15 Jan 2000 16:19:45 -0500 (EST) Reply-To: Will Andrews From: Will Andrews To: mobile@FreeBSD.org Subject: 3Com 3CCFE574BT works. Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Folks, Those of you with a 3Com 3CCFE574BT on 4.0-CURRENT worry no more. I have just tested Matthew N. Dodd's recent commit to sys/dev/ep/if_ep.c, among other files. A few things to note: 1) Be careful what IRQ you use in pccard.conf. ep will try to grab the first IRQ that you put in the irqs line in pccard.conf. It will not bother with any of the others. If it gets setup with an IRQ that something else is using, it will have very poor performance. 2) IRQ 9 worked for me. These are some performance tests: ftp> get src.tar.gz local: src.tar.gz remote: src.tar.gz 200 PORT command successful. 150 BINARY data connection established. 226 Transfer completed. 67785385 bytes received in 55.76 seconds (1.16 MB/s) The "get" is being performed on the machine with the 3CCFE574BT. Here's a get with the 3CCFE574BT on the receive side: ftp> get src.tar.gz local: src.tar.gz remote: src.tar.gz 200 PORT command successful. 150 Opening BINARY mode data connection for 'src.tar.gz' (67785385 bytes). 226 Transfer complete. 67785385 bytes received in 62.14 seconds (1.04 MB/s) Not too shabby, eh?? :-) Consider that this is in 100BaseTX half-duplex mode over an underloaded LAN via a hub. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 18:16:49 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 8EA6915091 for ; Sat, 15 Jan 2000 18:16:06 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 18310 invoked from network); 16 Jan 2000 02:16:02 -0000 Received: from ppp129.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.129) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 02:16:02 -0000 From: Tatsumi Hosokawa Date: Sun, 16 Jan 2000 11:17:13 +0900 Message-ID: <86zou6sqty.wl@ringo.FromTo.Cc> To: imp@village.org Cc: mobile@FreeBSD.ORG Subject: Re: pccard_ether does not work without DHCP In-Reply-To: In your message of "Sat, 15 Jan 2000 16:21:45 -0700" <200001152321.QAA01313@harmony.village.org> References: <864scft38i.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <200001152321.QAA01313@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I resumed from suspended mode (slept 3:30:00) :-). At Sat, 15 Jan 2000 16:21:45 -0700, Warner Losh wrote: > : "at isa?" or explicit ioaddr and irq specification causes this > : problem? > > Yes. That's the problem. I removed fe0 from last patch. Are there any objections to merge it into src/sys/i386/conf/GENERIC and etc/pccard.conf.sample? Hosokawa Index: sys/i386/conf/GENERIC =================================================================== RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v retrieving revision 1.229 diff -u -r1.229 GENERIC --- sys/i386/conf/GENERIC 2000/01/14 20:40:58 1.229 +++ sys/i386/conf/GENERIC 2000/01/16 02:12:11 @@ -143,6 +143,7 @@ device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? disable port IO_COM3 irq 5 device sio3 at isa? disable port IO_COM4 irq 9 +device sio4 # PCCARD # Parallel port device ppc0 at isa? port? irq 7 @@ -174,6 +175,7 @@ # ISA Ethernet NICs. device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 +device ed1 # PCCARD device ex0 device ep0 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really Index: etc/pccard.conf.sample =================================================================== RCS file: /home/ncvs/src/etc/pccard.conf.sample,v retrieving revision 1.58 diff -u -r1.58 pccard.conf.sample --- etc/pccard.conf.sample 2000/01/15 21:29:18 1.58 +++ etc/pccard.conf.sample 2000/01/16 02:12:14 @@ -8,7 +8,7 @@ # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # -# $FreeBSD: src/etc/pccard.conf.sample,v 1.58 2000/01/15 21:29:18 hosokawa Exp $ +# $FreeBSD: src/etc/pccard.conf.sample,v 1.57 2000/01/15 05:45:38 obrien Exp $ # Generally available IO ports io 0x240-0x360 @@ -60,7 +60,7 @@ # IBM PCMCIA Ethernet I/II card "IBM Corp." "Ethernet" - config 0x1 "ed0" ? + config 0x1 "ed1" ? ether 0xff0 insert echo IBM PCMCIA Ethernet inserted insert /etc/pccard_ether $device @@ -69,7 +69,7 @@ # Melco LPC-T (PIO mode) card "PCMCIA" "UE2212" - config 0x1 "ed0" ? 0x10 + config 0x1 "ed1" ? 0x10 ether 0xff0 insert echo UE2212 inserted insert /etc/pccard_ether $device @@ -79,7 +79,7 @@ # Accton EN2212 # Very slow! (PIO mode) card "ACCTON" "EN2212" - config 0x1 "ed0" ? 0x10 + config 0x1 "ed1" ? 0x10 ether 0xff0 insert echo Accton EN2212 inserted insert /etc/pccard_ether $device @@ -88,7 +88,7 @@ #Accton 2216 card "ACCTON" "EN2216-PCMCIA-ETHERNET" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo Accton 2216 inserted insert /etc/pccard_ether $device remove echo Accton 2216 removed @@ -96,7 +96,7 @@ # COREGA EtherII PCC-T card "corega K.K." "corega EtherII PCC-T" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo EtherII PCC-T inserted insert /etc/pccard_ether $device remove echo EtherII PCC-T removed @@ -104,7 +104,7 @@ # I-O DATA PCLATE card "IO DATA" "PCLATE" - config 0x20 "ed0" ? 0x10 + config 0x20 "ed1" ? 0x10 insert echo IO DATA PCLATE inserted insert /etc/pccard_ether $device remove echo IO DATA PCLATE removed @@ -145,7 +145,7 @@ # LinkSys ethernet card card "E-CARD" "E-CARD" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo "LinkSys card inserted" insert /etc/pccard_ether $device remove echo "LinkSys card removed" @@ -153,7 +153,7 @@ # Linksys Combo PCMCIA EthernetCard (model EC2T on box) card "Linksys" "Combo PCMCIA EthernetCard (EC2T)" - config 0x1 "ed0" ? + config 0x1 "ed1" ? insert echo Linksys Ethernet inserted insert /etc/pccard_ether $device remove echo Linksys Ethernet removed @@ -161,7 +161,7 @@ #Linksys EtherFast 10/100 PC Card (PCMPC100) card "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" - config 0x3 "ed0" ? + config 0x3 "ed1" ? insert echo Linksys Fast 100-BaseT inserted insert /etc/pccard_ether $device remove echo Linksys Fast 100-BaseT removed @@ -202,7 +202,7 @@ # Danpex (Alloy, etc.) EN-6200P2 card "DANPEX" "EN-6200P2" - config 0x22 "ed0" ? + config 0x22 "ed1" ? insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete @@ -214,7 +214,7 @@ # Compex Net-A adapter card "Ethernet" "Adapter" - config 0x1 "ed0" ? + config 0x1 "ed1" ? ether 0xff0 insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete @@ -228,7 +228,7 @@ # If you see strange MAC address shown by ifconfig command, # try other config. card "Ethernet" "Adapter" - config 0x2 "ed0" ? + config 0x2 "ed1" ? # ether 0x110 00:e0:98 # ether 0xff0 00:e0:98 insert /etc/pccard_ether $device @@ -236,13 +236,13 @@ # D-Link DE-660 NE2000 clone card "D-Link" "DE-660" - config 0x20 "ed0" ? 0x10 + config 0x20 "ed1" ? 0x10 insert /etc/pccard_ether $device link0 -link1 remove /sbin/ifconfig $device delete # NDC Ethernet Instant-Link NE2000 clone card "NDC" "Ethernet" - config 0x22 "ed0" ? 0x10 + config 0x22 "ed1" ? 0x10 insert echo NDC Ethernet Instant-Link adapter inserted insert /etc/pccard_ether $device remove echo NDC Ethernet Instant-Link adapter removed @@ -250,14 +250,14 @@ # CyQ've ELA-010 card "CyQ've" "ELA-010" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert /etc/pccard_ether $device remove /sbin/ifconfig $device delete # Allied Telesis CentreCOM LA-PCM_V2 ethernet card # NTT-DATA ASTROWINK-M/MMOIL(IrLAN) ethernet card card "Allied Telesis, K.K." "CentreCOM LA-PCM_V2" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo CentreCOM LA-PCM V2 Ethernet card inserted insert /etc/pccard_ether $device remove echo CentreCOM LA-PCM V2 Ethernet card removed @@ -273,7 +273,7 @@ # BayNetworks NETGEAR FA410TXC Fast Ethernet card "NETGEAR" "FA410TX" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo NETGEAR FA410TX Ethernet inserted insert /etc/pccard_ether $device remove echo NETGEAR FA410TX Ethernet removed @@ -281,7 +281,7 @@ # Network Everywhere Ethernet 10BaseT PC Card card "Network Everywhere" "Ethernet 10BaseT PC Card" - config 0x1 "ed0" ? + config 0x1 "ed1" ? insert echo Network Everywhere Ethernet 10BaseT PC Card inserted insert /etc/pccard_ether $device remove echo Network Everywhere Ethernet 10BaseT PC Card removed @@ -290,56 +290,56 @@ # AIWA PV-JF288 card "AIWA CO.,LTD." "PV-JF288 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo AIWA PV-JF288 inserted remove echo AIWA PV-JF288 removed # Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem. card "AD PC_CARD" "RC288ACL" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo Apex Data Mobile Plus 28.8 Modem inserted remove echo Apex Data Mobile Plus 28.8 Modem removed # Megahertz XJ1144 card "MEGAHERTZ" "XJ1144" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ1144 inserted remove echo Megahertz XJ1144 removed # Megahertz XJ2144 (US) card "MEGAHERTZ" "XJ2144" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2144 inserted remove echo Megahertz XJ2144 removed # Megahertz XJ2144 (JP) card "MEGAHERTZ" "XJ2144-81" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2144 inserted remove echo Megahertz XJ2144 removed # Megahertz XJ2288 card "MEGAHERTZ" "XJ2288" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Megahertz XJ2288 inserted remove echo Megahertz XJ2288 removed # Megahertz XJ4336 card "Megahertz" "XJ4336-CC4336" - config 0x21 "sio1" ? + config 0x21 "sio4" ? insert echo Megahertz XJ4336 inserted remove echo Megahertz XJ4336 removed # Megahertz XJ1336 card "U.S. Robotics" "XJ/CC1336" - config 0x21 "sio2" ? + config 0x21 "sio4" ? insert echo U.S. Robotics XJ/CC1336 inserted remove echo U.S. Robotics XJ/CC1336 removed # Nokia Cellular Data Card card "Nokia Mobile Phones" "DTP-2" - config 0x22 "sio2" ? - config 0x23 "sio3" ? + config 0x22 "sio4" ? + config 0x23 "sio4" ? insert echo Nokia Mobile Phones DTP-2 inserted remove echo Nokia Mobile Phones DTP-2 removed @@ -347,50 +347,50 @@ # With 2 Mobile Phones and Multilink PPP you can get a 19200 data channel. # Nokia Cellular Data Card card "Nokia Mobile Phones" "DTP-2 ver II" - config 0x23 "sio2" ? - config 0x24 "sio3" ? + config 0x23 "sio4" ? + config 0x24 "sio4" ? insert echo Nokia Mobile Phones DTP-2 ver II inserted remove echo Nokia Mobile Phones DTP-2 ver II removed # Omron ME2814 FAX/DATA MODEM card "OMRON" "ME2814 FAX/DATA MOD" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo OMRON ME2814 Modem inserted remove echo OMRON ME2814 Modem removed # TDK 14.4 FAX/Data Modem card "TDK" "DF1414 DATA/FAX MOD" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo TDK DF1414 inserted remove echo TDK DF1414 removed # TDK 14.4 FAX/Data Modem card "TDK" "DF1414EX DATA/FAX M" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo TDK DF1414 inserted remove echo TDK DF1414 removed # Panasonic Modem Card TO-706C card "Panasonic" "TO-706C" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Panasonic TO-706C inserted remove echo Panasonic TO-706C removed # Panasonic Modem Card TO-706C card "Panasonic" "TO-CAF288" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Panasonic TO-CAF288 inserted remove echo Panasonic TO-CAF288 removed # NewMedia 14.4K FAX/Data Modem card "CIRRUS LOGIC" "FAX MODEM" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Newmedia 14.4 Modem inserted remove echo Newmedia 14.4 Modem removed # Omron MD24XCA FAX/Data Modem #card "OMRON Corp." "MD24XCA" -# config 0x23 "sio2" ? +# config 0x23 "sio4" ? # reset 10000 # insert echo OMRON MD24XCA Modem inserted # remove echo OMRON MD24XCA Modem removed @@ -398,58 +398,58 @@ # Hayes OPTIMA 288 FAX/Data Modem # currently does not work on my machine card "Hayes" "OPTIMA 288 + FAX fo" - config 0x24 "sio2" ? + config 0x24 "sio4" ? reset 10000 insert echo Optima 288 inserted remove echo Optima 288 removed # This one does work though card "HAYES" "OPT288" - config 0x23 "sio3" ? + config 0x23 "sio4" ? insert echo Hayes Optima 28.8k inserted remove echo Hayes Optima 28.8k removed # PREMAX FM288 FAX/Data Modem card "PREMAX" "FM288 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo PREMAX FM288 Modem inserted remove echo PREMAX FM288 Modem removed # Novalink NovaModem 144 card "NovaLink Tech." "NovaModem 144 " - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo NovaModem 144 Modem inserted remove echo NovaModem 144 Modem removed # US Robotics Sportster PCMCIA V.34 # US Robotics COURIER PCMCIA V.34 card "USRobotics" "PCMCIA 28800 Data/F" - config 0x3 "sio2" ? + config 0x3 "sio4" ? insert echo USRobotics PCMCIA Modem inserted remove echo USRobotics PCMCIA Modem removed # Xircom CreditCard Modem card "Xircom" "CreditCard Modem CM-56T" - config 0x17 "sio1" ? + config 0x17 "sio4" ? reset 100 insert echo Xircom CreditCard Modem CM-56T inserted remove echo Xircom CreditCard Modem CM-56T removed # Xircom CreditCard Ethernet+Modem (Modem only !!!) card "Xircom" "CreditCard Ethernet" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo Xircom CreditCard Modem inserted remove echo Xircom CreditCard Modem removed # Xircom CreditCard Ethernet 10/100 + modem (modem only) card "Xircom" "CreditCard Ethernet 10/100 + " - config 0x1f "sio3" ? + config 0x1f "sio4" ? insert echo Xircom CreditCard Modem inserted remove echo Xircom CreditCard Modem removed # Xircom CreditCard Ethernet 10/100 + modem (Ethernet part) card "Xircom" "CreditCard Ethernet 10/100 + Modem 56" - config 0x17 "sio3" ? + config 0x17 "sio4" ? insert echo Xircom CreditCard Modem inserted insert /etc/pccard_ether xe0 remove echo Xircom CreditCard Modem removed @@ -465,7 +465,7 @@ # Xircom GlobalACCESS modem card "Xircom" "CreditCard Modem 56 - GlobalA" - config 0x1f "sio2" ? + config 0x1f "sio4" ? insert echo Xircom CreditCard Modem 56 - GlobalACCESS inserted remove echo Xircom CreditCard Modem 56 - GlobalACCESS removed @@ -479,13 +479,13 @@ # GATEWAY 2000 FAX/Data Modem (14.4K) card "GATEWAY2000" "CC3144" - config 0x22 "sio3" ? + config 0x22 "sio4" ? insert echo GATEWAY2000 FAX/Data Modem inserted remove echo GATEWAY2000 FAX/Data Modem removed # IBM Push/Pop Modem (14.4K) card "IBM" "Push/Pop Modem(14.4" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo IBM Push/Pop Modem inserted remove echo IBM Push/Pop Modem removed @@ -493,61 +493,61 @@ # Apparently this modem does not work unless the recommended # init string (AT&F&C1&D2) is supplied. card "PCMCIA " "33.6K Fax/Modem " - config 23 "sio2" ? + config 23 "sio4" ? insert echo Eiger 33.6K modem inserted remove echo Eiger 33.6K modem removed # NTT ThunderCard Modem card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo NTT ThunderCard inserted remove echo NTT ThunderCard removed # U.S. Robotics XJ1560J card "U.S. Robotics" "XJ/CC1560J" - config 0x22 "sio2" ? + config 0x22 "sio4" ? insert echo U.S. Robotics XJ1560J inserted remove echo U.S. Robotics XJ1560J removed # 3com/USR/Megahertz 3CCM556 card "3Com" "3CXM/3CCM556" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo 3Com PCMCIA 56K Modem inserted remove echo 3Com PCMCIA 56K Modem removed # 3Com/NoteWorthy 56K modem (bundled with Toshiba notebooks) card "Toshiba America" "3CXM056-BNW" - config 0x20 "sio1" ? + config 0x20 "sio4" ? insert echo NoteWorthy 56K PCMCIA Modem inserted remove echo NoteWorthy 56K PCMCIA Modem removed # BUG Linkboy D64K (ISDN) card "BUG Inc." "Linkboy D64K" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo BUG Linkboy D64K inserted remove echo BUG Linkboy D64K removed # NTT DoCoMo DATA/FAX Adapter card "NTT DoCoMo" "PCMCIA DATA/FAX ADA" - config 0x22 "sio3" ? 0x82 + config 0x22 "sio4" ? 0x82 insert echo NTT DoCoMo DATA/FAX Adapter inserted remove echo NTT DoCoMo DATA/FAX Adapter removed # Random modem bundled with Dell systems card "Psion Dacom" "Gold Card Global 56K+Fax" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo "Psion Dacom modem card inserted" remove echo "Psion Dacom modem card removed" # Actiontec Datalink with v.90 upgrade card "PCMCIA " "56K V.90 Fax Modem (LK) " - config 0x1f "sio2" ? + config 0x1f "sio4" ? insert echo "Actiontec Datalink modem card inserted" remove echo "Actiontec Datalink modem card removed" # Panasonic FM-RADIO card #card "Panasonic" "CF-JVR101" -# config 0x22 "sio3" ? +# config 0x22 "sio4" ? # insert echo Panasonic FM radio card inserted # remove echo Panasonic FM radio card removed @@ -599,14 +599,14 @@ # Viking V.90/K56Flex modem card "Viking" "V.90 K56flex" - config 0x23 "sio3" ? + config 0x23 "sio4" ? insert echo Viking 56K Modem inserted remove echo Viking 56K Modem removed # Zoom 56K modem # Freezes your system entirely if you don't have the reset.. card "Zoom Telephonics, Inc." "PCMCIA 56K LT DataFax" - config 0x1f "sio2" ? + config 0x1f "sio4" ? reset 1000 insert echo Zoom modem inserted remove echo Zoom modem removed @@ -621,13 +621,13 @@ # 3Com/USR/MegaHertz 3CCM156 card "3COM" "3CCM156" - config 0x23 "sio2" ? + config 0x23 "sio4" ? insert echo 3Com PCMCIA 56K modem inserted remove echo 3Com PCMCIA 56K modem removed #AR-P500 ethernet card card "IC-CARD" "IC-CARD" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo AR-P500 Ethernet card inserted insert /etc/pccard_ether $device remove echo AR-P500 Ethernet card removed @@ -635,17 +635,17 @@ #Eiger 33.6 modem card "AT&T" "V34+ Fax Modem" - config 0x23 "sio1" ? + config 0x23 "sio4" ? insert echo Eiger 33.6K modem inserted remove echo Eiger 33.6K modem removed # Motorola Montana card "Motorola" "MONTANA 33.6 FAX/MODEM" - config 0x21 "sio1" ? + config 0x21 "sio4" ? # AmbiCom 10BaseT card card "AmbiCom Inc" "AMB8002T" - config 0x20 "ed0" ? + config 0x20 "ed1" ? insert echo AmbiCom 8002T inserted insert /etc/pccard_ether $device remove echo AmbiCom 8002T removed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 18:24:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 8BDC814CCA for ; Sat, 15 Jan 2000 18:24:25 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 18379 invoked from network); 16 Jan 2000 02:24:18 -0000 Received: from ppp160.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.160) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 02:24:18 -0000 Date: Sun, 16 Jan 2000 11:25:29 +0900 Message-ID: <86wvpasqg6.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: mobile@FreeBSD.ORG Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? In-Reply-To: In your message of "Sat, 15 Jan 2000 16:23:58 -0700" <200001152323.QAA01357@harmony.village.org> References: <861z7jt193.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> <200001152323.QAA01357@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry I read this mail after I sent the last mail about patches without fe0. At Sat, 15 Jan 2000 16:23:58 -0700, Warner Losh wrote: > Ufff. That's ugly, but less ugly than some of the alternatives. I > don't think that you need ed1/sio4 in the kernel config file. That > will happen all by itself since the number of devices is no longer > known at compile time. > > A better solution might be to have the system create the device and > return it to pccardd so that it could pass it as an argument to the > insert command, but even that has its problems. I thought a solution like that, but I haven't use it because it's too difficult to do this in a few hours :-). But, in fact, that's because I've replaced all hardwired device names in insert/remove lines with symbolic $device's. I'll try to implement it, and won't commit the last patch. Thank you. -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 19:35: 8 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id C6BC0151CD for ; Sat, 15 Jan 2000 19:35:03 -0800 (PST) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 129gSu-0000fb-00 for freebsd-mobile@freebsd.org; Sat, 15 Jan 2000 22:34:56 -0500 Date: Sat, 15 Jan 2000 22:34:55 -0500 From: Peter Radcliffe To: freebsd-mobile@freebsd.org Subject: pccardd dumping core Message-ID: <20000115223455.A2572@pir.net> Mail-Followup-To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been tracking PAO3 on my laptop (Sony 505TR) via cvsup for some time. At some point after PAO3-19991220 I cvsuped, rebuilt and instslled the kernel, rebuilt and installed the userland processes. After a reboot with my D-link DFE-650 in the slot after bringing the interface up pccardd died and dumped core. This is repeatable, happens every time at boot time or when pccardd is started (or restarted) later. [...] 493 logger GIO fd 1 wrote 48 bytes "<13>Jan 15 21:53:53 pir: D-link DFE-650 inserted" 493 logger RET sendto 48/0x30 493 logger CALL exit(0) 492 sh RET wait4 493/0x1ed 492 sh CALL exit(0) 491 pccardd RET wait4 492/0x1ec 491 pccardd CALL sigaction(0x2,0xbfbfc97c,0) 491 pccardd RET sigaction 0 491 pccardd CALL sigaction(0x3,0xbfbfc970,0) 491 pccardd RET sigaction 0 491 pccardd CALL sigprocmask(0x3,0) 491 pccardd RET sigprocmask 524288/0x80000 491 pccardd PSIG SIGSEGV SIG_DFL [...] Using pccardd from PAO3-19991220 (with the old or new kernel) all works fine and the same part of ktrace output gives me; [...] 578 logger GIO fd 1 wrote 48 bytes "<13>Jan 15 22:04:12 pir: D-link DFE-650 inserted" 578 logger RET sendto 48/0x30 578 logger CALL exit(0) 577 sh RET wait4 578/0x242 577 sh CALL exit(0) 559 pccardd RET wait4 577/0x241 559 pccardd CALL sigaction(0x2,0xbfbfc96c,0) 559 pccardd RET sigaction 0 559 pccardd CALL sigaction(0x3,0xbfbfc960,0) 559 pccardd RET sigaction 0 559 pccardd CALL sigprocmask(0x3,0) 559 pccardd RET sigprocmask 524288/0x80000 559 pccardd CALL sigaction(0x2,0xbfbfc978,0xbfbfc96c) 559 pccardd RET sigaction 0 559 pccardd CALL sigaction(0x3,0xbfbfc978,0xbfbfc960) 559 pccardd RET sigaction 0 559 pccardd CALL sigprocmask(0x1,0x80000) 559 pccardd RET sigprocmask 0 559 pccardd CALL fork 559 pccardd RET fork 579/0x243 559 pccardd CALL wait4(0x243,0xbfbfc954,0,0) 579 pccardd RET fork 0 579 pccardd CALL sigaction(0x2,0xbfbfc96c,0) 579 pccardd RET sigaction 0 579 pccardd CALL sigaction(0x3,0xbfbfc960,0) 579 pccardd RET sigaction 0 579 pccardd CALL sigprocmask(0x3,0) 579 pccardd RET sigprocmask 524288/0x80000 579 pccardd CALL execve(0x280db966,0xbfbfc908,0xbfbfcfa4) 579 pccardd NAMI "/bin/sh" 579 sh RET execve 0 [...] pccardd.c hasn't changed in this time. readcis.h, readcis.c and cardd.c have. The diffs between the version that works for me (/usr/src/set/PAO3) and the one that dumps core (/usr/src/PAO3) are: diff -cr /usr/src/set/PAO3/usr.sbin/pccard/pccardd/cardd.c /usr/src/PAO3/src/usr.sbin/pccard/pccardd/cardd.c *** /usr/src/set/PAO3/usr.sbin/pccard/pccardd/cardd.c Fri Dec 17 02:10:41 1999 --- /usr/src/PAO3/src/usr.sbin/pccard/pccardd/cardd.c Fri Jan 14 16:45:20 2000 *************** *** 419,425 **** return; } ether_mac_err = 0; ! bzero(sp->eaddr, sizeof(sp->eaddr)); #ifdef WAVELAN bzero(&sp->wl, sizeof(sp->wl)); #endif /* WAVELAN */ --- 419,429 ---- return; } ether_mac_err = 0; ! if (sp->cis->lan_nid && sp->cis->lan_nid[0] == sizeof(sp->eaddr)) { ! bcopy(sp->cis->lan_nid + 1, sp->eaddr, sizeof(sp->eaddr)); ! sp->flags |= EADDR_CONFIGED; ! } else ! bzero(sp->eaddr, sizeof(sp->eaddr)); #ifdef WAVELAN bzero(&sp->wl, sizeof(sp->wl)); #endif /* WAVELAN */ diff -cr /usr/src/set/PAO3/usr.sbin/pccard/pccardd/readcis.c /usr/src/PAO3/src/usr.sbin/pccard/pccardd/readcis.c *** /usr/src/set/PAO3/usr.sbin/pccard/pccardd/readcis.c Tue Dec 14 03:04:59 1999 --- /usr/src/PAO3/src/usr.sbin/pccard/pccardd/readcis.c Fri Jan 14 16:45:20 2000 *************** *** 57,62 **** --- 57,63 ---- static void config_map(struct cis *, unsigned char *, int); static void cis_config(struct cis *, unsigned char *, int); static void cis_func_id(struct cis *, unsigned char *, int); + static void cis_network_ext(struct cis *, unsigned char *, int); static struct tuple_list *read_one_tuplelist(int, int, off_t); static struct tuple_list *read_tuples(int); static struct tuple *find_tuple_in_list(struct tuple_list *, unsigned char); *************** *** 142,147 **** --- 143,152 ---- case CIS_FUNC_ID: /* 0x21 */ cis_func_id(cp, tp->data, tp->length); break; + case CIS_FUNC_EXT: /* 0x22 */ + if (cp->func_id1 == 6) /* LAN adaptor */ + cis_network_ext(cp, tp->data, tp->length); + break; } } return (cp); *************** *** 234,239 **** --- 239,264 ---- { cp->func_id1 = *p++; cp->func_id2 = *p++; + } + + static void + cis_network_ext(struct cis *cp, unsigned char *p, int len) + { + int i; + + switch (p[0]) { + case 4: /* Node ID */ + if (len <= 2 || len < p[1] + 2) + return; + + if (cp->lan_nid) + free(cp->lan_nid); + cp->lan_nid = xmalloc(p[1]); + + for (i = 0; i <= p[1]; i++) + cp->lan_nid[i] = p[i + 1]; + break; + } } /* diff -cr /usr/src/set/PAO3/usr.sbin/pccard/pccardd/readcis.h /usr/src/PAO3/src/usr.sbin/pccard/pccardd/readcis.h *** /usr/src/set/PAO3/usr.sbin/pccard/pccardd/readcis.h Thu Mar 18 08:59:27 1999 --- /usr/src/PAO3/src/usr.sbin/pccard/pccardd/readcis.h Fri Jan 14 16:45:20 2000 *************** *** 123,128 **** --- 123,129 ---- struct dev_mem common_mem; struct cis_config *def_config; struct cis_config *conf; + unsigned char *lan_nid; }; #define tpl32(tp) ((*((tp) + 3) << 24) | \ Looks like a change splitting out some networking stuff isn't happy, at least with both ob my network cards - I got the same results with my only other network card (Xircom CC PS-CE2-10). Clues ? Peter. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 21: 1:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id A198115217 for ; Sat, 15 Jan 2000 21:01:22 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 19155 invoked from network); 16 Jan 2000 05:01:20 -0000 Received: from ppp126.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.126) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 05:01:20 -0000 Date: Sun, 16 Jan 2000 14:02:31 +0900 Message-ID: <86vh4usj6g.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: mobile@FreeBSD.ORG Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? In-Reply-To: In your message of "Sat, 15 Jan 2000 16:23:58 -0700" <200001152323.QAA01357@harmony.village.org> References: <861z7jt193.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> <200001152323.QAA01357@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sat, 15 Jan 2000 16:23:58 -0700, Warner Losh wrote: > A better solution might be to have the system create the device and > return it to pccardd so that it could pass it as an argument to the > insert command, but even that has its problems. I wrote a patch that performs like this. How about it? Index: sys/pccard/cardinfo.h =================================================================== RCS file: /home/ncvs/src/sys/pccard/cardinfo.h,v retrieving revision 1.15 diff -u -r1.15 cardinfo.h --- sys/pccard/cardinfo.h 1999/12/29 04:54:58 1.15 +++ sys/pccard/cardinfo.h 2000/01/16 04:57:37 @@ -43,7 +43,7 @@ #define PIOCSMEM _IOW('P', 3, struct mem_desc) /* Set memory map */ #define PIOCGIO _IOWR('P', 4, struct io_desc) /* Get I/O map */ #define PIOCSIO _IOW('P', 5, struct io_desc) /* Set I/O map */ -#define PIOCSDRV _IOW('P', 6, struct dev_desc) /* Set driver */ +#define PIOCSDRV _IOWR('P', 6, struct dev_desc) /* Set driver */ #define PIOCRWFLAG _IOW('P', 7, int) /* Set flags for drv use */ #define PIOCRWMEM _IOWR('P', 8, unsigned long) /* Set mem for drv use */ #define PIOCSPOW _IOW('P', 9, struct power) /* Set power structure */ Index: sys/pccard/pccard.c =================================================================== RCS file: /home/ncvs/src/sys/pccard/pccard.c,v retrieving revision 1.103 diff -u -r1.103 pccard.c --- sys/pccard/pccard.c 2000/01/13 06:32:33 1.103 +++ sys/pccard/pccard.c 2000/01/16 04:57:38 @@ -278,6 +278,8 @@ goto err; } err = device_probe_and_attach(child); + snprintf(desc->name, sizeof(desc->name), "%s", + device_get_nameunit(child)); err: if (err) device_delete_child(pccarddev, child); Index: usr.sbin/pccard/pccardd/cardd.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pccard/pccardd/cardd.c,v retrieving revision 1.42 diff -u -r1.42 cardd.c --- usr.sbin/pccard/pccardd/cardd.c 1999/12/08 07:47:41 1.42 +++ usr.sbin/pccard/pccardd/cardd.c 2000/01/16 04:57:40 @@ -484,6 +484,7 @@ struct io_desc io; struct dev_desc drv; struct driver *drvp = sp->config->driver; + char *p; char c; off_t offs; int rw_flags; @@ -584,7 +585,6 @@ drv.iobase + sp->io.size - 1, drv.mem, drv.memsize, sp->irq, drv.flags); } - /* * If the driver fails to be connected to the device, * then it may mean that the driver did not recognise it. @@ -594,6 +594,17 @@ logmsg("driver allocation failed for %s(%s): %s", sp->card->manuf, sp->card->version, strerror(errno)); return (0); + } + drv.name[sizeof(drv.name) - 1] = '\0'; + if (strncmp(drv.name, drvp->kernel, sizeof(drv.name))) { + drvp->kernel = newstr(drv.name); + p = drvp->kernel; + while (*p++) + if (*p >= '0' && *p <= '9') { + drvp->unit = atoi(p); + *p = '\0'; + break; + } } return (1); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 21: 5:35 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 06B0815210 for ; Sat, 15 Jan 2000 21:05:34 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 19191 invoked from network); 16 Jan 2000 05:05:32 -0000 Received: from ppp126.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.126) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 05:05:32 -0000 Date: Sun, 16 Jan 2000 14:06:43 +0900 Message-ID: <86u2kesizg.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: One more serious problem with -current PCCARD support User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I fixed "devalloc" problem by the patch I attatched in the last mail. But I found another serious problem in -current PCCARD support. "ether" subcommand in /etc/pccard.conf does not work with -current if_ed. So, IBM Creditcard Ethernet and some major ed cards will have invalid MAC address. -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 22:21:44 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id BA67B15091 for ; Sat, 15 Jan 2000 22:21:41 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA57159; Sat, 15 Jan 2000 23:20:32 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA36499; Sat, 15 Jan 2000 23:20:28 -0700 (MST) Message-Id: <200001160620.XAA36499@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 16 Jan 2000 14:02:31 +0900." <86vh4usj6g.wl@ringo.FromTo.Cc> References: <86vh4usj6g.wl@ringo.FromTo.Cc> <861z7jt193.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> <200001152323.QAA01357@harmony.village.org> Date: Sat, 15 Jan 2000 23:20:27 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86vh4usj6g.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : I wrote a patch that performs like this. : How about it? This patch looks good. Lemme run it trough a buildworld. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Jan 15 22:23:39 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 4582514CB7 for ; Sat, 15 Jan 2000 22:23:37 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 19902 invoked from network); 16 Jan 2000 06:23:10 -0000 Received: from ppp170.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.170) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 06:23:10 -0000 Date: Sun, 16 Jan 2000 15:24:21 +0900 Message-ID: <86r9fisfe2.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: mobile@FreeBSD.org Subject: Re: One more serious problem with -current PCCARD support In-Reply-To: In your message of "Sun, 16 Jan 2000 14:06:43 +0900" <86u2kesizg.wl@ringo.FromTo.Cc> References: <86u2kesizg.wl@ringo.FromTo.Cc> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Sun, 16 Jan 2000 14:06:43 +0900, Tatsumi Hosokawa wrote: > "ether" subcommand in /etc/pccard.conf does not work with -current > if_ed. So, IBM Creditcard Ethernet and some major ed cards will have > invalid MAC address. Hmm... I'm just working on this but I feel it's difficult. Are there any clean way to pass 6-byte length data (MAC address) from sys/pccard/pccard.c to sys/dev/ed, or another way to do the same thing? I want to set MAC address to sc->arpcom of sys/dev/ed, but nobody but sys/pccard/ knows the correct value of MAC address in the kernel. -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message