From owner-freebsd-mobile Sun Nov 30 20:55:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA04208 for mobile-outgoing; Sun, 30 Nov 1997 20:55:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA04201 for ; Sun, 30 Nov 1997 20:55:53 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id VAA16530; Sun, 30 Nov 1997 21:55:52 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA09939; Sun, 30 Nov 1997 21:55:49 -0700 Date: Sun, 30 Nov 1997 21:55:49 -0700 Message-Id: <199712010455.VAA09939@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Marso" Cc: freebsd-mobile@freebsd.org Subject: Re: apm -- possible to disable auto-suspend? In-Reply-To: <19971129145636.34723@panix.com> References: <19971129145636.34723@panix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > At the same time, I need my apm's features that ramp down the cpu and > cutoff my floppy drive when they are unused. > > Is there any way to turn off the system's propensity to suspend my system, > but retain other apm features? Hack the source. The FreeBSD code can't/shouldn't differentiate between an APM BIOS event that is 'acceptable to you' and one that isn't. Nate From owner-freebsd-mobile Tue Dec 2 10:10:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA19855 for mobile-outgoing; Tue, 2 Dec 1997 10:10:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from iworks.InterWorks.org (deischen@iworks.interworks.org [128.255.18.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA19850; Tue, 2 Dec 1997 10:10:53 -0800 (PST) (envelope-from deischen@iworks.interworks.org) Received: (from deischen@localhost) by iworks.InterWorks.org (8.7.5/) id MAA10260; Tue, 2 Dec 1997 12:13:54 -0600 (CST) Message-Id: <199712021813.MAA10260@iworks.InterWorks.org> Date: Tue, 2 Dec 1997 12:13:54 -0600 (CST) From: "Daniel M. Eischen" To: freebsd-hackers@freebsd.org, freebsd-mobile@freebsd.org Subject: Fix for slow reacting ATAPI CD-ROM Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Please forgive the cross-post, wasn't sure where this belongs. I have a new ChemUSA Chembook and everything works fine except for the CD-ROM drive, which times out waiting for the command phase in atapi_wait_cmd(). I was able to get it to work by increasing the wait count to 3000. /* Wait for DRQ from 50 usec to 3 msec for slow devices */ int cnt = ata->intrcmd ? 10000 : ata->slow ? 3000 : 50; int ireason = 0, phase = 0; + cnt = 3000; + /* Wait for command phase. */ for (; cnt>0; cnt-=10) { ireason = inb (ata->port + AR_IREASON); Obviously, this drive isn't detected as a slow device (I can post the boot messages later if needed). What I wanted to do was to add a config flag for setting this, but it doesn't look like that is sent down to the atapi driver. Question: Can we change atapi_attach() to accept a 4th argument and use this to pass config flags from wdattach() in wd.c? Is there another method I should be using to handle atapi device quirks? Thanks, Dan Eischen deischen@iworks.InterWorks.org From owner-freebsd-mobile Tue Dec 2 11:57:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA28026 for mobile-outgoing; Tue, 2 Dec 1997 11:57:54 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA28006; Tue, 2 Dec 1997 11:57:40 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id UAA01466; Tue, 2 Dec 1997 20:58:19 +0100 (MET) (envelope-from sos) Message-Id: <199712021958.UAA01466@sos.freebsd.dk> Subject: Re: Fix for slow reacting ATAPI CD-ROM In-Reply-To: <199712021813.MAA10260@iworks.InterWorks.org> from "Daniel M. Eischen" at "Dec 2, 97 12:13:54 pm" To: deischen@iworks.interworks.org (Daniel M. Eischen) Date: Tue, 2 Dec 1997 20:58:19 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.dk X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Daniel M. Eischen who wrote: > > Please forgive the cross-post, wasn't sure where this belongs. > > I have a new ChemUSA Chembook and everything works fine > except for the CD-ROM drive, which times out waiting > for the command phase in atapi_wait_cmd(). I was able > to get it to work by increasing the wait count to 3000. > > /* Wait for DRQ from 50 usec to 3 msec for slow devices */ > int cnt = ata->intrcmd ? 10000 : ata->slow ? 3000 : 50; > int ireason = 0, phase = 0; > > + cnt = 3000; > + > /* Wait for command phase. */ > for (; cnt>0; cnt-=10) { > ireason = inb (ata->port + AR_IREASON); > > Obviously, this drive isn't detected as a slow device (I > can post the boot messages later if needed). What I wanted > to do was to add a config flag for setting this, but it doesn't > look like that is sent down to the atapi driver. > > Question: Can we change atapi_attach() to accept a 4th argument > and use this to pass config flags from wdattach() in > wd.c? Is there another method I should be using to > handle atapi device quirks? Hmm, I think that atapi_attach should be educated on how to treat this device, test for model make etc, and then set the slow bit... This is the place to do quirks for atapi CDROM device. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. From owner-freebsd-mobile Tue Dec 2 12:52:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA02468 for mobile-outgoing; Tue, 2 Dec 1997 12:52:51 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from iworks.InterWorks.org (root@iworks.interworks.org [128.255.18.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA02441; Tue, 2 Dec 1997 12:52:45 -0800 (PST) (envelope-from deischen@iworks.interworks.org) Received: (from deischen@localhost) by iworks.InterWorks.org (8.7.5/) id OAA10631; Tue, 2 Dec 1997 14:24:31 -0600 (CST) Message-Id: <199712022024.OAA10631@iworks.InterWorks.org> Date: Tue, 2 Dec 1997 14:24:31 -0600 (CST) From: "Daniel M. Eischen" To: sos@FreeBSD.dk Subject: Re: Fix for slow reacting ATAPI CD-ROM Cc: freebsd-hackers@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sxren Schmidt wrote: > > Obviously, this drive isn't detected as a slow device (I > > can post the boot messages later if needed). What I wanted > > to do was to add a config flag for setting this, but it doesn't > > look like that is sent down to the atapi driver. > > > > > > Question: Can we change atapi_attach() to accept a 4th argument > > and use this to pass config flags from wdattach() in > > wd.c? Is there another method I should be using to > > handle atapi device quirks? > > Hmm, I think that atapi_attach should be educated on how to treat > this device, test for model make etc, and then set the slow bit... > This is the place to do quirks for atapi CDROM device. I like being able to explicitly set it to aid in new installations. It kinda sucks not being able to install from CD-ROM. Or perhaps this wait count should be set higher in FAILSAFE mode? Dan Eischen deischen@iworks.InterWorks.org From owner-freebsd-mobile Tue Dec 2 15:56:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17089 for mobile-outgoing; Tue, 2 Dec 1997 15:56:24 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17082 for ; Tue, 2 Dec 1997 15:56:20 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA02415 for ; Tue, 2 Dec 1997 16:56:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA17208; Tue, 2 Dec 1997 16:56:17 -0700 Date: Tue, 2 Dec 1997 16:56:17 -0700 Message-Id: <199712022356.QAA17208@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: mobile@FreeBSD.org Subject: PCI/CardBus framework committed to -current X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Thanks to Ted Faber, we now have a framework for supporting additional PCI/CardBus controllers in PCMCIA legacy mode. For now, the only supported controller is the CLPD6832, but I'm hoping that others are easily added. Note, I modified his code to 'recognize' other card controllers in a similar manner to the old code in -current, but it only enables support for the above mentioned controller. I need folks who have this controller to test the code, and folks who have other controllers to look at the code in /sys/pci/pcic_p.[ch], and copy what Ted has done for your controller. Before anyone gets too excited about CardBus support, this is *NOT* that, but allows people with CardBus machines to use the older PCMCIA (16-bit) cards, which are standard. However, newer cards are CardBus (32-bit), and we do *NOT* support them, or the controllers in 32-bit mode. However, this is a change in the right direction, at least for supporting newer laptops which are almost exclusively using CardBus controllers. Finally, I also made the previous option PCIC_NOCLRREGS the default option, since this is apparently needed for it to work on Ted's box. I tested it on my machines with no ill effects, but it could possibly negatively affect others, so beware. If it does, send me email and we'll try and figure out how to work-around this. On other fronts, there is still some suspend/resume problems with the code in the tree, but there are some patches in testing that should help. These problems happen rarely and shouldn't affect most folks, but I wanted you to be aware that resumes can still fail in certain circumstances, and that I'm aware of the problem. Nate ps. I need to see some testing on this code before I feel comfortable bringing it into -stable, so *please* test it and don't wait for me to bring it in, causing problems as previously happened. :( From owner-freebsd-mobile Tue Dec 2 19:58:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA03976 for mobile-outgoing; Tue, 2 Dec 1997 19:58:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA03964 for ; Tue, 2 Dec 1997 19:58:07 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id TAA02914 for ; Tue, 2 Dec 1997 19:56:14 -0800 (PST) Message-Id: <199712030356.TAA02914@mail.nomadix.com> From: "Glenn Dicus" To: Subject: Help Date: Wed, 9 Jan 1980 08:10:22 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I am trying to get as much information regarding FreeBSD on mobile platforms. Can you send me some information? Thanks Glenn Dicus From owner-freebsd-mobile Tue Dec 2 20:05:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA04779 for mobile-outgoing; Tue, 2 Dec 1997 20:05:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from iworks.InterWorks.org (deischen@iworks.interworks.org [128.255.18.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA04764; Tue, 2 Dec 1997 20:05:41 -0800 (PST) (envelope-from deischen@iworks.interworks.org) Received: (from deischen@localhost) by iworks.InterWorks.org (8.7.5/) id WAA11699; Tue, 2 Dec 1997 22:08:48 -0600 (CST) Message-Id: <199712030408.WAA11699@iworks.InterWorks.org> Date: Tue, 2 Dec 1997 22:08:48 -0600 (CST) From: "Daniel M. Eischen" To: sos@FreeBSD.dk Subject: Re: Fix for slow reacting ATAPI CD-ROM Cc: freebsd-hackers@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk To follow up on my original posting: > > I have a new ChemUSA Chembook and everything works fine > > except for the CD-ROM drive, which times out waiting > > for the command phase in atapi_wait_cmd(). I was able > > to get it to work by increasing the wait count to 3000. > > > > /* Wait for DRQ from 50 usec to 3 msec for slow devices */ > > int cnt = ata->intrcmd ? 10000 : ata->slow ? 3000 : 50; > > int ireason = 0, phase = 0; > > > > + cnt = 3000; > > + > > /* Wait for command phase. */ > > for (; cnt>0; cnt-=10) { > > ireason = inb (ata->port + AR_IREASON); > > > > Obviously, this drive isn't detected as a slow device (I > > can post the boot messages later if needed). What I wanted > > to do was to add a config flag for setting this, but it doesn't > > look like that is sent down to the atapi driver. > > > > Question: Can we change atapi_attach() to accept a 4th argument > > and use this to pass config flags from wdattach() in > > wd.c? Is there another method I should be using to > > handle atapi device quirks? > > Hmm, I think that atapi_attach should be educated on how to treat > this device, test for model make etc, and then set the slow bit... > This is the place to do quirks for atapi CDROM device. > I was able to lower the wait time to 75 usec for my CD-ROM drive, but anything <= 70 usecs would not work. According to the comments in atapi.h: #define AT_DRQT_MPROC 0 /* microprocessor DRQ - 3 msec delay */ #define AT_DRQT_INTR 1 /* interrupt DRQ - 10 msec delay */ #define AT_DRQT_ACCEL 2 /* accelerated DRQ - 50 usec delay */ my CD-ROM drive should have a 50usec delay. The code in atapi.c uses these numbers without any tolerance. I assume these numbers come from some sort of ATAPI spec, but shouldn't we allow some tolerance? Increasing these waits will not affect drives that conform to the times, so I don't see why they can't be larger. Dan Eischen deischen@iworks.InterWorks.org From owner-freebsd-mobile Tue Dec 2 21:52:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA11920 for mobile-outgoing; Tue, 2 Dec 1997 21:52:51 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA11913 for ; Tue, 2 Dec 1997 21:52:46 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA04542; Tue, 2 Dec 1997 22:52:44 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA18257; Tue, 2 Dec 1997 22:52:42 -0700 Date: Tue, 2 Dec 1997 22:52:42 -0700 Message-Id: <199712030552.WAA18257@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Glenn Dicus" Cc: Subject: Re: Help In-Reply-To: <199712030356.TAA02914@mail.nomadix.com> References: <199712030356.TAA02914@mail.nomadix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am trying to get as much information regarding FreeBSD on mobile > platforms. Can you send me some information? What do you want to know? Nate From owner-freebsd-mobile Tue Dec 2 22:21:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA13765 for mobile-outgoing; Tue, 2 Dec 1997 22:21:32 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA13760 for ; Tue, 2 Dec 1997 22:21:29 -0800 (PST) (envelope-from handy@sag.space.lockheed.com) Received: from localhost by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA29220; Tue, 2 Dec 1997 22:21:20 -0800 Date: Tue, 2 Dec 1997 22:21:19 -0800 (PST) From: Brian Handy To: Glenn Dicus Cc: mobile@FreeBSD.ORG Subject: Re: Help In-Reply-To: <199712030356.TAA02914@mail.nomadix.com> Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 9 Jan 1980, Glenn Dicus wrote: >I am trying to get as much information regarding FreeBSD on mobile >platforms. Can you send me some information? Hi Glenn, Hmm, your question is a bit vague. Can you give us an idea what you want to do? We've got a lot of people running FreeBSD on a plethora of laptops, and recent improvements to the power management stuff have made it a really workable system. What do you want to do? Happy trails, Brian From owner-freebsd-mobile Tue Dec 2 23:39:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA17866 for mobile-outgoing; Tue, 2 Dec 1997 23:39:20 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA17861; Tue, 2 Dec 1997 23:39:15 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id IAA01569; Wed, 3 Dec 1997 08:39:56 +0100 (MET) (envelope-from sos) Message-Id: <199712030739.IAA01569@sos.freebsd.dk> Subject: Re: Fix for slow reacting ATAPI CD-ROM In-Reply-To: <199712030408.WAA11699@iworks.InterWorks.org> from "Daniel M. Eischen" at "Dec 2, 97 10:08:48 pm" To: deischen@iworks.interworks.org (Daniel M. Eischen) Date: Wed, 3 Dec 1997 08:39:55 +0100 (MET) Cc: sos@FreeBSD.dk, freebsd-hackers@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.dk X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Daniel M. Eischen who wrote: > > I was able to lower the wait time to 75 usec for my CD-ROM drive, > but anything <= 70 usecs would not work. > > According to the comments in atapi.h: > > #define AT_DRQT_MPROC 0 /* microprocessor DRQ - 3 msec delay */ > #define AT_DRQT_INTR 1 /* interrupt DRQ - 10 msec delay */ > #define AT_DRQT_ACCEL 2 /* accelerated DRQ - 50 usec delay */ > > my CD-ROM drive should have a 50usec delay. The code in atapi.c > uses these numbers without any tolerance. I assume these numbers > come from some sort of ATAPI spec, but shouldn't we allow some > tolerance? Increasing these waits will not affect drives that > conform to the times, so I don't see why they can't be larger. Hmm, I *think* the above values are directly from the spec, but havn't checked. I'll go check when I get home, and changing it to 100usec really shouldn't be a problem, and should provide you with a safe margin... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. From owner-freebsd-mobile Wed Dec 3 05:29:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA07951 for mobile-outgoing; Wed, 3 Dec 1997 05:29:22 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from www.giovannelli.it (www.giovannelli.it [194.184.65.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA07939 for ; Wed, 3 Dec 1997 05:29:13 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from giovannelli.it (ts3port8d.masternet.it [194.184.65.175]) by www.giovannelli.it (8.8.8/8.8.5) with ESMTP id OAA00564 for ; Wed, 3 Dec 1997 14:28:37 +0100 (MET) Message-ID: <348557C4.F1F588B2@giovannelli.it> Date: Wed, 03 Dec 1997 13:59:48 +0100 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.ORG Subject: Re: What does "unsupported" really mean? References: <199711262106.WAA15575@gvr.gvr.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guido van Rooij wrote: > > - The pcic type (PCMCIA interface chip). Toshiba, Dell, NEC, Sharp, > > and IBM all use parts that are compatible with FreeBSD. Acer (at > > least) does not. YMMV; if at all possible, boot a FreeBSD kernel > > built with pcic support in order to find out what you're looking at. I haven't problems on TI (texas instrument, now acer) travelmate series... I use a TI 6160 that works like a charm with FreeBSD-current, Xfree 3.3.1, Xaccel 3.1. (Neomagic 128zv, 800x600x65000). The pcmcia works too (modem and ethernet) , even if not the Sandisk compact flash , so I couldn't get the pictures made with my digital camera , . The other laptop I have is an old Travelmate tm4000 (486sx 25mhz, 8mb ram, 120mb hd) which works with FreeBSD very well. It made for a lot of time the web server for www.giovannelli.it :-). And has scsi controller too :-) -- Regards... Gianmarco "Unix expert since yesterday" http://www2.masternet.it From owner-freebsd-mobile Wed Dec 3 08:48:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA23709 for mobile-outgoing; Wed, 3 Dec 1997 08:48:24 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA23690 for ; Wed, 3 Dec 1997 08:48:15 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA08350; Wed, 3 Dec 1997 09:48:12 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA19775; Wed, 3 Dec 1997 09:48:10 -0700 Date: Wed, 3 Dec 1997 09:48:10 -0700 Message-Id: <199712031648.JAA19775@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gmarco@giovannelli.it Cc: freebsd-mobile@freebsd.org Subject: Re: What does "unsupported" really mean? In-Reply-To: <348557C4.F1F588B2@giovannelli.it> References: <199711262106.WAA15575@gvr.gvr.org> <348557C4.F1F588B2@giovannelli.it> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [ Success with TI 6160 deleted ] > The pcmcia works too (modem and ethernet) , even if not the Sandisk > compact flash , so I couldn't get the pictures made with my digital > camera , . Well, since I'm getting a digital camera and PCMCIA adapter for the memory chips in it, maybe I'll get time to build a driver for it in the near future. :) Nate From owner-freebsd-mobile Wed Dec 3 09:04:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA25018 for mobile-outgoing; Wed, 3 Dec 1997 09:04:18 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from sctmg02.sct.ucarb.com (sctmg02.sct.ucarb.com [140.170.101.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA25007 for ; Wed, 3 Dec 1997 09:04:11 -0800 (PST) (envelope-from NguyenHM@ucarb.com) Received: by SCTMG02 with Internet Mail Service (5.0.1458.49) id ; Wed, 3 Dec 1997 12:02:09 -0500 Message-ID: <332F90115D96D0119CD500805FEA976BBE1AF6@HSCMS01> From: "Nguyen HM (Mike)" To: freebsd-mobile@freebsd.org Subject: Compaq Armada 1590 video Date: Wed, 3 Dec 1997 12:04:58 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, This laptop has a Chips&Technologies CT 68554 video controller and an 800x600 TFT display. Does anyone have a XFree86 configuration file for this particular combo the I can try? Thanks, Mike. ******************************************* * H. Michael Nguyen * Unix Systems * ********************** Administrator * * Union Carbide ********************** * Corporation * (281) 212-8073 * * Houston, TX * nguyenhm@ucarb.com * ******************************************* From owner-freebsd-mobile Wed Dec 3 10:58:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA03376 for mobile-outgoing; Wed, 3 Dec 1997 10:58:30 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA03361 for ; Wed, 3 Dec 1997 10:58:20 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id KAA10557; Wed, 3 Dec 1997 10:56:28 -0800 (PST) Message-Id: <199712031856.KAA10557@mail.nomadix.com> From: "Glenn Dicus" To: "Nate Williams" Cc: Subject: Re: Help Date: Wed, 9 Jan 1980 23:10:55 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to implement Ethernet LAN PC Cards. I have seen the package PAO, however the support for this patch is in japanese. Is the package included in 2.2.2-RELEASE sufficient to implement the cards? If so, the documentation at freebsd.org is woefully inadequit. Is there any news groups besides comp.unix.freebsd.misc/announce? Thanks Glenn Dicus ---------- : From: Nate Williams : To: Glenn Dicus : Cc: mobile@freebsd.org : Subject: Re: Help : Date: Tuesday, December 02, 1997 9:52 PM : : > I am trying to get as much information regarding FreeBSD on mobile : > platforms. Can you send me some information? : : What do you want to know? : : : Nate From owner-freebsd-mobile Wed Dec 3 11:51:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07332 for mobile-outgoing; Wed, 3 Dec 1997 11:51:18 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07321 for ; Wed, 3 Dec 1997 11:51:13 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA09440; Wed, 3 Dec 1997 12:51:08 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA20303; Wed, 3 Dec 1997 12:51:05 -0700 Date: Wed, 3 Dec 1997 12:51:05 -0700 Message-Id: <199712031951.MAA20303@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Glenn Dicus" Cc: "Nate Williams" , Subject: Re: Help In-Reply-To: <199712031856.KAA10557@mail.nomadix.com> References: <199712031856.KAA10557@mail.nomadix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am trying to implement Ethernet LAN PC Cards. Do you mean write a driver for one, or use an ethernet PC Card? > PAO, however the support for this patch is in japanese. Is the package > included in 2.2.2-RELEASE sufficient to implement the cards? Sure, but the code in 2.2.5-STABLE is better yet. > If so, the > documentation at freebsd.org is woefully inadequit. Use the source. :) > Is there any news > groups besides comp.unix.freebsd.misc/announce? Nope, everything you should need is in the source or available via this newsgroup, or from the hardware manufacturers. Nate From owner-freebsd-mobile Wed Dec 3 14:58:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA20884 for mobile-outgoing; Wed, 3 Dec 1997 14:58:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from coconut.itojun.org (root@coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA20879 for ; Wed, 3 Dec 1997 14:58:53 -0800 (PST) (envelope-from itojun@itojun.org) Received: from localhost (itojun@localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.8.5/3.6Wbeta6) with ESMTP id HAA24965; Thu, 4 Dec 1997 07:58:25 +0900 (JST) To: Nate Williams cc: "Glenn Dicus" , mobile@FreeBSD.ORG In-reply-to: nate's message of Wed, 03 Dec 1997 12:51:05 MST. <199712031951.MAA20303@mt.sri.com> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: Help From: Jun-ichiro itojun Itoh Date: Thu, 04 Dec 1997 07:58:25 +0900 Message-ID: <24961.881189905@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> PAO, however the support for this patch is in japanese. Is the package >> included in 2.2.2-RELEASE sufficient to implement the cards? >Sure, but the code in 2.2.5-STABLE is better yet. You can ask about PAO here too. People who knows a bit about PAO is reading this mailing list. PAO for 2.2.5-RELEASE is already there. visit http://www.jp.FreeBSD.org/PAO/ itojun From owner-freebsd-mobile Wed Dec 3 20:17:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA16648 for mobile-outgoing; Wed, 3 Dec 1997 20:17:22 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA16630 for ; Wed, 3 Dec 1997 20:17:14 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA01478; Thu, 4 Dec 1997 14:41:53 +1030 (CST) Message-Id: <199712040411.OAA01478@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: "Nate Williams" , mobile@freebsd.org Subject: Re: Help In-reply-to: Your message of "Wed, 09 Jan 1980 23:10:55 -0800." <199712031856.KAA10557@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Dec 1997 14:41:52 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am trying to implement Ethernet LAN PC Cards. I have seen the package > PAO, however the support for this patch is in japanese. Is the package > included in 2.2.2-RELEASE sufficient to implement the cards? I'm afraid that you're just not managing to communicate your requirements well enough to give you a usable answer. What are you trying to implement? Support for a new card? A new card design? Or are you just trying to get a new card working with your system? mike From owner-freebsd-mobile Wed Dec 3 21:08:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA20148 for mobile-outgoing; Wed, 3 Dec 1997 21:08:44 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA20138 for ; Wed, 3 Dec 1997 21:08:37 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id VAA13605 for ; Wed, 3 Dec 1997 21:06:47 -0800 (PST) Message-Id: <199712040506.VAA13605@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: PC Card Initialization Date: Wed, 3 Dec 1997 17:56:00 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk When initializing during bootup I keep getting the message Card inserted, slot 0 Card inserted, slot 1 Card inserted, slot 0 Card inserted, slot 1 . . . with beeps Thanks Glenn Dicus From owner-freebsd-mobile Wed Dec 3 21:33:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA21636 for mobile-outgoing; Wed, 3 Dec 1997 21:33:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA21628 for ; Wed, 3 Dec 1997 21:33:52 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id PAA01720; Thu, 4 Dec 1997 15:59:01 +1030 (CST) Message-Id: <199712040529.PAA01720@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: mobile@freebsd.org Subject: Re: Help In-reply-to: Your message of "Wed, 03 Dec 1997 21:11:02 -0800." <199712040509.VAA13712@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Dec 1997 15:59:01 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am trying to get existing cards working on an ElanSC400 microcontroller. Please; you *must* assume that other people cannot read your mind. To be able to help you, we have to have *all* of the facts. We're now at what, the fourth iteration, and I still have to ask: - Which cards? - The SC400 is a processor. It doesn't have any PCCARD slots, so you must be talking about the SC400 on a board of some sort, using a PCIC of some description. Which one(s)? - What problems are you experiencing? mike From owner-freebsd-mobile Wed Dec 3 22:30:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA25925 for mobile-outgoing; Wed, 3 Dec 1997 22:30:38 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA25911 for ; Wed, 3 Dec 1997 22:30:33 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA01864; Thu, 4 Dec 1997 16:55:44 +1030 (CST) Message-Id: <199712040625.QAA01864@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: mobile@freebsd.org Subject: Re: Help In-reply-to: Your message of "Wed, 03 Dec 1997 21:53:14 -0800." <199712040551.VAA15167@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Dec 1997 16:55:43 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm keeping this cc'd to the list; there's every chance that this information is useful to other people as well. > Sorry, you have to excuse me. I have been trying to get the PC Card on the > ElanSC400 Evaluation Board for 3 weeks 24-7 with no luck what so ever. The > problems have been to many to name. However, my present situation is that > FreeBSD does not recognize the second slot when a card is inserted. The > cards that I have tried have been Eagle Technology's NE2000, Fujitsu > MBH10302, 3Com 3C3589C/D. OK. You still haven't identified the PCIC on this board; is it integrated into the SC400, or is it a separate part? If the latter, what is it? Do you have datasheets for it? > Also, a reoccurring problem has been pccardc's inability to read the CIS, > returning "no entry in database for "null" ("null")". It sounds like this is indicative of a pretty major problem; if pccardc can't read the CIS information, pccardd (which uses the same code) is not going to be able to determine what the card is. First step is to identify the pcic and work out what's not working. mike From owner-freebsd-mobile Wed Dec 3 22:31:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA25974 for mobile-outgoing; Wed, 3 Dec 1997 22:31:14 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA25965 for ; Wed, 3 Dec 1997 22:31:10 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA01878; Thu, 4 Dec 1997 16:56:22 +1030 (CST) Message-Id: <199712040626.QAA01878@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: mobile@freebsd.org Subject: Re: PC Card Initialization In-reply-to: Your message of "Wed, 03 Dec 1997 17:56:00 -0800." <199712040506.VAA13605@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Dec 1997 16:56:22 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > When initializing during bootup I keep getting the message > Card inserted, slot 0 > Card inserted, slot 1 > Card inserted, slot 0 > Card inserted, slot 1 > . > . > . > > with beeps *definitely* something bad in the pcic support for your hardware. mike From owner-freebsd-mobile Wed Dec 3 22:52:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA26997 for mobile-outgoing; Wed, 3 Dec 1997 22:52:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA26992 for ; Wed, 3 Dec 1997 22:52:13 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA13700; Wed, 3 Dec 1997 23:52:12 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA23942; Wed, 3 Dec 1997 23:52:09 -0700 Date: Wed, 3 Dec 1997 23:52:09 -0700 Message-Id: <199712040652.XAA23942@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Glenn Dicus" Cc: "Mobile FreeBSD" Subject: Re: PC Card Initialization In-Reply-To: <199712040506.VAA13605@mail.nomadix.com> References: <199712040506.VAA13605@mail.nomadix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > When initializing during bootup I keep getting the message > Card inserted, slot 0 > Card inserted, slot 1 > Card inserted, slot 0 > Card inserted, slot 1 This happens to me once in a while as well. I'm not sure why, but it *generally* seems to occur when my sources a bit out of date (some kernel files don't agree with other kernel files.) Was the kernel made from scratch? Nate From owner-freebsd-mobile Thu Dec 4 00:04:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01309 for mobile-outgoing; Thu, 4 Dec 1997 00:04:20 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA01304 for ; Thu, 4 Dec 1997 00:04:17 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id BAA14173; Thu, 4 Dec 1997 01:04:14 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id BAA24286; Thu, 4 Dec 1997 01:04:12 -0700 Date: Thu, 4 Dec 1997 01:04:12 -0700 Message-Id: <199712040804.BAA24286@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike Smith Cc: "Glenn Dicus" , mobile@FreeBSD.ORG Subject: Re: Help In-Reply-To: <199712040625.QAA01864@word.smith.net.au> References: <199712040551.VAA15167@mail.nomadix.com> <199712040625.QAA01864@word.smith.net.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I'm keeping this cc'd to the list; there's every chance that this > information is useful to other people as well. > > > Sorry, you have to excuse me. I have been trying to get the PC Card on the > > ElanSC400 Evaluation Board for 3 weeks 24-7 with no luck what so ever. The > > problems have been to many to name. In the future, try emailing the mobile list. We're here to help, or at least bitch about the hardware. :) > > However, my present situation is that > > FreeBSD does not recognize the second slot when a card is inserted. Sounds like a VLSI board. They do things a non-standard way, and it's possible the VLSI work-around code doesn't work on all the hardware. > The > > cards that I have tried have been Eagle Technology's NE2000, Fujitsu > > MBH10302, 3Com 3C3589C/D. The 3COM card should *always* work. If it doesn't, then you've got setup/hardware problems. > > Also, a reoccurring problem has been pccardc's inability to read the CIS, > > returning "no entry in database for "null" ("null")". > > It sounds like this is indicative of a pretty major problem; if pccardc > can't read the CIS information, pccardd (which uses the same code) is > not going to be able to determine what the card is. Right, something is *really* bogus. Did this ever work? What kind of changes are you making to the FreeBSD kernel code? Did you make any changes? We'd like to help, but need more information than you're giving us. Nate From owner-freebsd-mobile Thu Dec 4 12:17:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA24720 for mobile-outgoing; Thu, 4 Dec 1997 12:17:42 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from dominator.eecs.harvard.edu (dominator.eecs.harvard.edu [140.247.60.28]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA24699 for ; Thu, 4 Dec 1997 12:17:36 -0800 (PST) (envelope-from karp@eecs.harvard.edu) Received: (from karp@localhost) by dominator.eecs.harvard.edu (8.6.12/8.6.12) id PAA29884 for freebsd-mobile@freebsd.org; Thu, 4 Dec 1997 15:17:34 -0500 Date: Thu, 4 Dec 1997 15:17:34 -0500 From: Brad Karp Message-Id: <199712042017.PAA29884@dominator.eecs.harvard.edu> To: freebsd-mobile@freebsd.org Subject: 2.2-STABLE boot floppy that supports PCMCIA ed card? Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've several IBM 380-series laptops that work quite well with PAO (I actually ported PAO for 2.2.2 to 2.2.5 about three weeks ago, and have been using that, though it appears "official" PAO for 2.2.5 has just been released). However, I wanted to give 2.2-STABLE a try. Trouble is, I have a Linksys Ethernet combo card that appears to have a different CIS tuple than most people's Linksys cards. The standard PAO pccard.conf doesn't recognize it. I had to tweak the entry in my 2.2.X-PAO systems to have the card recognized, after which it worked swimmingly. I have a new 380D (i.e., it has no FreeBSD on it at all), and I want to install 2.2-STABLE (a SNAP as of 12/4). But I find that: - the 12/4 boot.flp from 2.2-STABLE won't recognize my Linksys PCMCIA Ethernet card at all - the 2.2.2-PAO boot floppy has a pccard.conf compiled into it that doesn't recognize my Linksys PCMCIA Ethernet card - there's no 2.2.5-PAO boot floppy available yet (In case you're wondering how I was ever able to get FreeBSD installed on my _other_ 380s with this Linksys card, I used a 3C589D to do those initial PAO installations, and switched to the Linksys card later, because it supports hardware Ethernet multicast filtering, unlike the lame 3C589D. But I don't have the 3C589Ds at my disposal anymore.) I know there was some traffic in November on this, when it was suggested that the querier, who _already_ had FreeBSD on his system, pull the changes via cvsup and rebuild/reinstall that way. So, at the risk of repeating the November question: is there really no boot floppy that recognizes PCMCIA ed cards? How hard could it be to make 2.2- STABLE support this? All suggestions appreciated, -Brad, karp@eecs.harvard.edu From owner-freebsd-mobile Thu Dec 4 12:26:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA25826 for mobile-outgoing; Thu, 4 Dec 1997 12:26:01 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA25799 for ; Thu, 4 Dec 1997 12:25:42 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id MAA18507 for ; Thu, 4 Dec 1997 12:23:53 -0800 (PST) Message-Id: <199712042023.MAA18507@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: PC Card Initialization Date: Thu, 4 Dec 1997 12:25:57 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Thanks Glenn Dicus : > When initializing during bootup I keep getting the message : > Card inserted, slot 0 : > Card inserted, slot 1 : > Card inserted, slot 0 : > Card inserted, slot 1 : : This happens to me once in a while as well. I'm not sure why, but it : *generally* seems to occur when my sources a bit out of date (some : kernel files don't agree with other kernel files.) Was the kernel made : from scratch? : Correct! I have fixed the problem this problem. However, I am now getting resource allocation errors and pccardc does not recognize the CIS on all my cards. glenn From owner-freebsd-mobile Thu Dec 4 13:09:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA01467 for mobile-outgoing; Thu, 4 Dec 1997 13:09:34 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA01454 for ; Thu, 4 Dec 1997 13:09:30 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id NAA20323 for ; Thu, 4 Dec 1997 13:07:47 -0800 (PST) Message-Id: <199712042107.NAA20323@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: PCMCIA and ElanSC400 Date: Thu, 4 Dec 1997 13:09:51 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk : > I'm keeping this cc'd to the list; there's every chance that this : > information is useful to other people as well. : > : > > Sorry, you have to excuse me. I have been trying to get the PC Card on the : > > ElanSC400 Evaluation Board for 3 weeks 24-7 with no luck what so ever. The : > > problems have been to many to name. : : In the future, try emailing the mobile list. We're here to help, or at : least bitch about the hardware. :) : : > > However, my present situation is that : > > FreeBSD does not recognize the second slot when a card is inserted. : : Sounds like a VLSI board. They do things a non-standard way, and : it's possible the VLSI work-around code doesn't work on all the : hardware. Actually it's an AMD ElanSC400 Evaluation Board. The ElanSC400 microcontroller has the following integrated capabilities: 486 CPU Core 82365 register set compatible Dual PC Card (PCMCIA Vers2.1) which is compliant with ExCA. DRAM controller ISA-VL Bus Controller LCD Graphics Controller Dual Interrupt Controllers 8259 Dual DMA Controllers 8237 EPP Parallel Port Serial UART 16550 IrDA Port Matrix Keyboard On the evaluation board are all the interfacing which include two ISA slots and two PC Card slots. Becuase some of the functionality of the microcontroller is multiplexed only a subset of functions can be used at the same time. For evaluation purposes AMD include the Super I/O chip so that the microcontroller could be evaluated as a whole. : > The : > > cards that I have tried have been Eagle Technology's NE2000, Fujitsu : > > MBH10302, 3Com 3C3589C/D. : : The 3COM card should *always* work. If it doesn't, then you've got : setup/hardware problems. : > > Also, a reoccurring problem has been pccardc's inability to read the CIS, : > > returning "no entry in database for "null" ("null")". : > : > It sounds like this is indicative of a pretty major problem; if pccardc : > can't read the CIS information, pccardd (which uses the same code) is : > not going to be able to determine what the card is. The cards are detected and identified using Windows 95. : Right, something is *really* bogus. Did this ever work? What kind of : changes are you making to the FreeBSD kernel code? Did you make any : changes? We'd like to help, but need more information than you're : giving us. In order to use an ISA slot, with an interrupt, I had to configure the CSC register for the ElanSC400 to map PIRQ4 to IRQ9. I did this in "init_main.c". Also, ElanSC400's PC Card controller has two modes of operation (standard and enhanced). In standard mode: There are a total of six memory windows. Two are fixed (one for each socket) and the remaining four can "float"(can be configured for Socket A or B on a window-by-window basis Nominal 8 MHz cycle speed only No DMA initiators In enhanced mode: There are a total of ten memory windows. Five are fixed for each socket Nominal 8 MHz cycle speed or nominal 33 MHz PC Cards can be configured as DMA initiators in this mode So, I had to set some bits in a register to enable enhanced mode. My thinking here was that FreeBSD was expecting fully capable slots when the OS found a slot. I put the inline assembly in "pcic_configure()" Still, however, FreeBSD does not detect slot 1 and a resource allocation failure occurs for slot 0. thanks glenn From owner-freebsd-mobile Thu Dec 4 13:09:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA01497 for mobile-outgoing; Thu, 4 Dec 1997 13:09:47 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA01491 for ; Thu, 4 Dec 1997 13:09:44 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id NAA20327 for ; Thu, 4 Dec 1997 13:07:59 -0800 (PST) Message-Id: <199712042107.NAA20327@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: PCMCIA and ElanSC400 Date: Thu, 4 Dec 1997 13:10:03 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk : : I'm keeping this cc'd to the list; there's every chance that this : information is useful to other people as well. : : > Sorry, you have to excuse me. I have been trying to get the PC Card on the : > ElanSC400 Evaluation Board for 3 weeks 24-7 with no luck what so ever. The : > problems have been to many to name. However, my present situation is that : > FreeBSD does not recognize the second slot when a card is inserted. The : > cards that I have tried have been Eagle Technology's NE2000, Fujitsu : > MBH10302, 3Com 3C3589C/D. : : OK. You still haven't identified the PCIC on this board; is it : integrated into the SC400, or is it a separate part? If the latter, : what is it? Do you have datasheets for it? : The PCIC is integrated and is compatible with the Intel 82365SL (Rev. B). From owner-freebsd-mobile Thu Dec 4 14:33:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA10571 for mobile-outgoing; Thu, 4 Dec 1997 14:33:14 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA10554 for ; Thu, 4 Dec 1997 14:33:10 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA19733; Thu, 4 Dec 1997 15:33:08 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA27702; Thu, 4 Dec 1997 15:33:06 -0700 Date: Thu, 4 Dec 1997 15:33:06 -0700 Message-Id: <199712042233.PAA27702@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Glenn Dicus" Cc: "Mobile FreeBSD" Subject: Re: PCMCIA and ElanSC400 In-Reply-To: <199712042107.NAA20323@mail.nomadix.com> References: <199712042107.NAA20323@mail.nomadix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > : > > However, my present situation is that > : > > FreeBSD does not recognize the second slot when a card is inserted. > : > : Sounds like a VLSI board. They do things a non-standard way, and > : it's possible the VLSI work-around code doesn't work on all the > : hardware. > > Actually it's an AMD ElanSC400 Evaluation Board. The ElanSC400 > microcontroller has the following integrated capabilities: > > 486 CPU Core > 82365 register set compatible Dual PC Card (PCMCIA Vers2.1) which > is compliant with ExCA. The VLSI PCIC controller claims to be '82365 compatible' as well, but it isn't 100% compatible. I *highly* suspect this board is using the VLSI chipset, or something related to it. Do you have any documentation on the above controller? > : > > Also, a reoccurring problem has been pccardc's inability to read the > CIS, > : > > returning "no entry in database for "null" ("null")". > : > > : > It sounds like this is indicative of a pretty major problem; if pccardc > > : > can't read the CIS information, pccardd (which uses the same code) is > : > not going to be able to determine what the card is. > > > The cards are detected and identified using Windows 95. With the same board? Note that Win95 gets access to all of the necessary hardware information that we've been asking about above, and we don't have access to said documentation. It's hard to know what we're dealing with w/out docs. > : Right, something is *really* bogus. Did this ever work? What kind of > : changes are you making to the FreeBSD kernel code? Did you make any > : changes? We'd like to help, but need more information than you're > : giving us. > > > In order to use an ISA slot, with an interrupt, I had to configure the CSC > register for the ElanSC400 to map PIRQ4 to IRQ9. I did this in > "init_main.c". Hmm, this could screw up the controller ability to recognize slot insertion/removal, leading to the error you mentioned earlier. > Also, ElanSC400's PC Card controller has two modes of > operation (standard and enhanced). > > In standard mode: > > There are a total of six memory windows. Two are fixed (one for each > socket) and the remaining four can "float"(can be configured for Socket A > or B on a window-by-window basis > > Nominal 8 MHz cycle speed only > > No DMA initiators > > > In enhanced mode: > > There are a total of ten memory windows. Five are fixed for each socket > > Nominal 8 MHz cycle speed or nominal 33 MHz > > PC Cards can be configured as DMA initiators in this mode > > So, I had to set some bits in a register to enable enhanced mode. Try enabling standard mode. The 'floating' windows sounds like a better way to go, although I'm not really familiar with the code in question. > Still, however, FreeBSD does not detect slot 1 and a resource allocation > failure occurs for slot 0. See above. The slot 1 detection is a common problem, and the resource allocation problem is probably something silly. (Though, it doesn't mean it's easy to figure out. Most silly bugs are only fixe after beating your head against the wall for about 3 months, and then realizing you had an extra semi-colon on your while loop. :) Nate From owner-freebsd-mobile Thu Dec 4 14:34:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA10703 for mobile-outgoing; Thu, 4 Dec 1997 14:34:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA10697 for ; Thu, 4 Dec 1997 14:34:42 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA19588; Thu, 4 Dec 1997 15:16:59 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA27562; Thu, 4 Dec 1997 15:16:53 -0700 Date: Thu, 4 Dec 1997 15:16:53 -0700 Message-Id: <199712042216.PAA27562@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Karp Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: <199712042017.PAA29884@dominator.eecs.harvard.edu> References: <199712042017.PAA29884@dominator.eecs.harvard.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Trouble is, I have a Linksys Ethernet combo card that appears to have a > different CIS tuple than most people's Linksys cards. The standard PAO > pccard.conf doesn't recognize it. I had to tweak the entry in my 2.2.X-PAO > systems to have the card recognized, after which it worked swimmingly. > > I have a new 380D (i.e., it has no FreeBSD on it at all), and I want to install > 2.2-STABLE (a SNAP as of 12/4). But I find that: > > - the 12/4 boot.flp from 2.2-STABLE won't recognize my Linksys PCMCIA > Ethernet card at all The standard FreeBSD boot floppy only recognizes the 3Com and the IBM cards. It doesn't have the PCCARD support built in. > - the 2.2.2-PAO boot floppy has a pccard.conf compiled into it that > doesn't recognize my Linksys PCMCIA Ethernet card ;( > - there's no 2.2.5-PAO boot floppy available yet ;( > So, at the risk of repeating the November question: is there really no boot > floppy that recognizes PCMCIA ed cards? How hard could it be to make 2.2- > STABLE support this? The boot floppy support in PAO is (was) not released, so building a PCCARD boot floppy is not currently possible w/out lots of work. Nate From owner-freebsd-mobile Thu Dec 4 14:34:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA10733 for mobile-outgoing; Thu, 4 Dec 1997 14:34:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA10725 for ; Thu, 4 Dec 1997 14:34:50 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA19739; Thu, 4 Dec 1997 15:34:48 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA27731; Thu, 4 Dec 1997 15:34:46 -0700 Date: Thu, 4 Dec 1997 15:34:46 -0700 Message-Id: <199712042234.PAA27731@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Glenn Dicus" Cc: "Mobile FreeBSD" Subject: Re: PCMCIA and ElanSC400 In-Reply-To: <199712042107.NAA20327@mail.nomadix.com> References: <199712042107.NAA20327@mail.nomadix.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > : OK. You still haven't identified the PCIC on this board; is it > : integrated into the SC400, or is it a separate part? If the latter, > : what is it? Do you have datasheets for it? > : > > The PCIC is integrated and is compatible with the Intel 82365SL (Rev. B). 'Compatible' is a very scarey word. A volkswagen bug is compatible with a 4x4 pickup too, but it operates very differently. :) Nate From owner-freebsd-mobile Thu Dec 4 15:41:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA15638 for mobile-outgoing; Thu, 4 Dec 1997 15:41:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA15632 for ; Thu, 4 Dec 1997 15:41:50 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.7/3.6Wbeta6-ntc_mailserver1.03) id IAA16451; Fri, 5 Dec 1997 08:41:34 +0900 (JST) Date: Fri, 5 Dec 1997 08:41:34 +0900 (JST) Message-Id: <199712042341.IAA16451@afs.ntc.mita.keio.ac.jp> To: nate@mt.sri.com Cc: karp@eecs.harvard.edu, freebsd-mobile@FreeBSD.ORG, hosokawa@ntc.keio.ac.jp Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: Your message of "Thu, 4 Dec 1997 15:16:53 -0700". <199712042216.PAA27562@mt.sri.com> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> The boot floppy support in PAO is (was) not released, so building a >> PCCARD boot floppy is not currently possible w/out lots of work. I compiled it today (for 2.2.5-RELEASE, I'll put it at FreeBSD/incoming or somewhere). I'll port it to 2.2-STABLE and 3.0-CURRENT. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Thu Dec 4 15:46:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA15880 for mobile-outgoing; Thu, 4 Dec 1997 15:46:05 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA15875 for ; Thu, 4 Dec 1997 15:46:02 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA20210; Thu, 4 Dec 1997 16:46:00 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA28027; Thu, 4 Dec 1997 16:45:58 -0700 Date: Thu, 4 Dec 1997 16:45:58 -0700 Message-Id: <199712042345.QAA28027@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: <199712042341.IAA16451@afs.ntc.mita.keio.ac.jp> References: <199712042216.PAA27562@mt.sri.com> <199712042341.IAA16451@afs.ntc.mita.keio.ac.jp> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> The boot floppy support in PAO is (was) not released, so building a > >> PCCARD boot floppy is not currently possible w/out lots of work. > > I compiled it today (for 2.2.5-RELEASE, I'll put it at > FreeBSD/incoming or somewhere). > I'll port it to 2.2-STABLE and 3.0-CURRENT. Great, thanks! Nate ps. Any chance of the changes you made to make the floppy being made available? From owner-freebsd-mobile Thu Dec 4 16:13:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17538 for mobile-outgoing; Thu, 4 Dec 1997 16:13:42 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from duncan.cs.utk.edu (DUNCAN.CS.UTK.EDU [128.169.94.83]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA17530 for ; Thu, 4 Dec 1997 16:13:34 -0800 (PST) (envelope-from key@cs.utk.edu) Received: from LOCALHOST.cs.utk.edu by duncan.cs.utk.edu with SMTP (cf v2.11c-UTK) id TAA22262; Thu, 4 Dec 1997 19:13:21 -0500 Message-Id: <199712050013.TAA22262@duncan.cs.utk.edu> To: Brad Karp cc: freebsd-mobile@freebsd.org Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? Date: Thu, 04 Dec 1997 19:13:20 -0500 From: Ken Key Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Brad, what I learned was that v2.2-STABLE does not have PCMCIA direct support, only a few enablers. What I ended up doing was to boot my TP-560 off of the v2.2.2-PAO boot floppy, go under the options editor and set the release name to 2.2-97MMDD-SNAP, go under the Media Type and set it to FTP via URL to the releng22.freebsd.org SNAP server. I then cvsup'ed the RELENG_2_2, made the world, and fixed up things in /etc. I also had to install the RELENG_2_2 /stand/sysinstal to replace the PAO sysinstall that was put onto the system. But this was all predicated on v2.2.2-PAO working with my LinkSys Combo. Mine shows the Idents of "E-CARD", "E-CARD", which PAO listed as untested and warns me about, but did work for me. Your mail said that PAO boot floppy didn't like your copy of the card, so that doesn't help you. You might want to build a fixed PAO boot floppy that grok's your card on your running system. BTW, I only tried to use it on IRQ 10 or IRQ 11 on PAO. Trying to use it on IRQ 15 on 2.2-STABLE, which should have been free, failed to work. Also, I added an ed0 at 0x300 to version of the PCCARD kernel as my LinkSys will only configure to 0x300 and 0x320. regards, K^2 (key@cs.utk.edu) From owner-freebsd-mobile Thu Dec 4 16:52:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA20782 for mobile-outgoing; Thu, 4 Dec 1997 16:52:37 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA20777 for ; Thu, 4 Dec 1997 16:52:34 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA20687; Thu, 4 Dec 1997 17:52:20 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA28518; Thu, 4 Dec 1997 17:52:19 -0700 Date: Thu, 4 Dec 1997 17:52:19 -0700 Message-Id: <199712050052.RAA28518@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ken Key Cc: Brad Karp , freebsd-mobile@freebsd.org Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: <199712050013.TAA22262@duncan.cs.utk.edu> References: <199712050013.TAA22262@duncan.cs.utk.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > BTW, I only tried to use it on IRQ 10 or IRQ 11 on PAO. Trying to use it > on IRQ 15 on 2.2-STABLE, which should have been free, failed to work. Apparently, IRQ15 is 'used' on the ThinkPad's for some bridge code. At least, no-one has been ability to use it for some reason that we're guessing it's being used by some internal hardware. :( Nate From owner-freebsd-mobile Thu Dec 4 18:47:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA00635 for mobile-outgoing; Thu, 4 Dec 1997 18:47:40 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from Tandem.com (suntan.tandem.com [192.216.221.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA00613 for ; Thu, 4 Dec 1997 18:47:36 -0800 (PST) (envelope-from grog@lemis.com) Received: from papillon.lemis.com ([168.87.69.104]) by Tandem.com (8.8.8/2.0.1) with ESMTP id SAA19264; Thu, 4 Dec 1997 18:47:25 -0800 (PST) Received: (grog@localhost) by papillon.lemis.com (8.8.8/8.6.12) id SAA07180; Thu, 4 Dec 1997 18:29:05 +0800 (CST) Message-ID: <19971204182901.29141@lemis.com> Date: Thu, 4 Dec 1997 18:29:01 +0800 From: Greg Lehey To: Nate Williams Cc: mobile@FreeBSD.ORG Subject: Re: Help References: <199712040551.VAA15167@mail.nomadix.com> <199712040625.QAA01864@word.smith.net.au> <199712040804.BAA24286@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199712040804.BAA24286@mt.sri.com>; from Nate Williams on Thu, Dec 04, 1997 at 01:04:12AM -0700 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Dec 04, 1997 at 01:04:12AM -0700, Nate Williams wrote: >> I'm keeping this cc'd to the list; there's every chance that this >> information is useful to other people as well. >> >>> Sorry, you have to excuse me. I have been trying to get the PC Card on the >>> ElanSC400 Evaluation Board for 3 weeks 24-7 with no luck what so ever. The >>> problems have been to many to name. > > In the future, try emailing the mobile list. We're here to help, or at > least bitch about the hardware. :) > >>> However, my present situation is that >>> FreeBSD does not recognize the second slot when a card is inserted. > > Sounds like a VLSI board. They do things a non-standard way, and > it's possible the VLSI work-around code doesn't work on all the > hardware. > >> The >>> cards that I have tried have been Eagle Technology's NE2000, Fujitsu >>> MBH10302, 3Com 3C3589C/D. > > The 3COM card should *always* work. If it doesn't, then you've got > setup/hardware problems. About this time last year, I spent 3 days trying to get a 3C589C working on my AcerNote Light. I still can't get it to work with PCMCIA support. The problem is the bridge in the Acer. Mike Smith has more details on that. But I'd certainly qualify the statement that the 3C589 should *always* work. Greg From owner-freebsd-mobile Thu Dec 4 20:49:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12578 for mobile-outgoing; Thu, 4 Dec 1997 20:49:01 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA12566 for ; Thu, 4 Dec 1997 20:48:57 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id VAA22142; Thu, 4 Dec 1997 21:48:56 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id VAA29324; Thu, 4 Dec 1997 21:48:55 -0700 Date: Thu, 4 Dec 1997 21:48:55 -0700 Message-Id: <199712050448.VAA29324@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Greg Lehey Cc: Nate Williams , mobile@FreeBSD.ORG Subject: Re: Help In-Reply-To: <19971204182901.29141@lemis.com> References: <199712040551.VAA15167@mail.nomadix.com> <199712040625.QAA01864@word.smith.net.au> <199712040804.BAA24286@mt.sri.com> <19971204182901.29141@lemis.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> The > >>> cards that I have tried have been Eagle Technology's NE2000, Fujitsu > >>> MBH10302, 3Com 3C3589C/D. > > > > The 3COM card should *always* work. If it doesn't, then you've got > > setup/hardware problems. > > About this time last year, I spent 3 days trying to get a 3C589C > working on my AcerNote Light. I still can't get it to work with > PCMCIA support. The problem is the bridge in the Acer. Mike Smith > has more details on that. But I'd certainly qualify the statement > that the 3C589 should *always* work. Ok, let me re-phrase. *IF* your pccard controller is supported/working, then the card that *will* work will be the 3C589 series, since they are the most heavily used/tested cards in FreeBSD. If you controller doesn't work or in unsupported all bets are off. Nate From owner-freebsd-mobile Fri Dec 5 14:28:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA17259 for mobile-outgoing; Fri, 5 Dec 1997 14:28:03 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA17237 for ; Fri, 5 Dec 1997 14:27:58 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id OAA18721 for ; Fri, 5 Dec 1997 14:26:08 -0800 (PST) Message-Id: <199712052226.OAA18721@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: outb in pcic_probe Date: Fri, 5 Dec 1997 14:28:47 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Looking over the sourc code for outb I have noticed that there are several definitions for outb, all of which are hard to understand. In pcic_probe there are two successive outb() calls to the same configuration port outb(sp->index, 0x0E); outb(sp>index, 0x37); Then setb(sp, 0x3A, 0x40); Does anyone know what this code is doing to the registers? If so, which definition of outb(), setb() are being implemented? I am using FreeBSD 2.2.2-RELEASE. Thanks Glenn Dicus From owner-freebsd-mobile Fri Dec 5 15:29:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA22942 for mobile-outgoing; Fri, 5 Dec 1997 15:29:21 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailbag.jf.intel.com (mailbag.jf.intel.com [134.134.248.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA22935 for ; Fri, 5 Dec 1997 15:29:15 -0800 (PST) (envelope-from batie@aahz.jf.intel.com) Received: from aahz.jf.intel.com (aahz.jf.intel.com [192.198.161.2]) by mailbag.jf.intel.com (8.8.6/8.8.5) with ESMTP id PAA16175 for ; Fri, 5 Dec 1997 15:31:20 -0800 (PST) Received: (from batie@localhost) by aahz.jf.intel.com (8.8.5/8.8.5) id PAA07567; Fri, 5 Dec 1997 15:28:07 -0800 (PST) Message-ID: <19971205152807.60696@aahz.jf.intel.com> Date: Fri, 5 Dec 1997 15:28:07 -0800 From: Alan Batie To: mobile@freebsd.org Subject: pccard interrupts Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=3V7upXqbjpZ4EhLz X-Mailer: Mutt 0.85 Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii I've got a new Mitsubishi Amity CN, and installed FreeBSD 2.2.5 RELEASE on part of it. I had a Linksys EthernetCard working this morning (uses the ed0 driver), but this afternoon, all I get is device timeout --- it's not getting the interrupts. I swear I didn't change anything! Well, ok, I did rebuild a kernel adding in sound drivers, but tried taking them back out and it didn't make a difference. I'm completely stumped... -- Alan Batie ------ What goes up, must come down. batie@aahz.jf.intel.com \ / Ask any system administrator. +1 503-264-8844 (voice) \ / --unknown D0 D2 39 0E 02 34 D6 B4 \/ 5A 41 21 8F 23 5F 08 9D --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNIiOBhCfrckvDwdpAQH1QwQAisDIEnVWXyRdEOb+vHT6KSCWJRSWWJs5 /Rqfr/WJX9xONQMv4qbMeCK1wj/a8GVmP7w7/xEiaSottCxRgQLds0fzzo+jiZPo BDkkmw5pW+lB5if1Opr4gYfg9PRjBgWZ2wEdR2fGtQW/67taFpJhXWTGNLUngNgj tajjVWYHwlc= =Kcfv -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-mobile Fri Dec 5 15:43:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA24116 for mobile-outgoing; Fri, 5 Dec 1997 15:43:49 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from cs.uoregon.edu (vitalstatistix.cs.uoregon.edu [128.223.8.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA24108 for ; Fri, 5 Dec 1997 15:43:44 -0800 (PST) (envelope-from zappala@cs.uoregon.edu) Received: from cs.uoregon.edu (suffix.cs.uoregon.edu [128.223.200.37]) by cs.uoregon.edu (8.8.7/8.8.5) with ESMTP id PAA13451; Fri, 5 Dec 1997 15:43:41 -0800 (PST) Message-Id: <199712052343.PAA13451@cs.uoregon.edu> X-Mailer: exmh version 1.6.9 8/22/96 To: freebsd-mobile@freebsd.org cc: zappala@cs.uoregon.edu Subject: CardBus machines -- still unclear Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 Dec 1997 15:43:41 -0800 From: Daniel Zappala Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I would very much like to get an IBM 560X and am still unclear whether I can boot any version of FreeBSD on it. In the archives I have read: > If the 560X is the new CardBus machine, then it's not supported in > FreeBSD. Newer CardBus/PCI machines are not supported 'out of the box' > yet. The same goes for new 760's if they are also CardBus. I take it this means the OS will boot, but any cards in the slot (i.e. a NIC) won't be recognized. However, my understanding of CardBus is that it is supposed to be backward compatible with PC-Card, so I'm unclear on why you couldn't use 16-bit PCMCIA cards in this slot. In particular, the IBM machine says you can use either 2 16-bit cards or 1 32-bit card. This view seems to be supported by the following quote from the archives: > You need to consider whether the hardware is critical to the system's > operation or not. > > For example, this Toshiba 220CDS has a USB port (unsupported) and > software-selectable PCMCIA/CardBus ports. > > USB isn't critical, and I can disable the CardBus stuff, so it works > really well. > > When you're buying a laptop, there are two *critical* things to look at: > - The pcic type (PCMCIA interface chip). Toshiba, Dell, NEC, Sharp, > and IBM all use parts that are compatible with FreeBSD. Acer (at > least) does not. YMMV; if at all possible, boot a FreeBSD kernel > built with pcic support in order to find out what you're looking at. So what can I expect from a "CardBus machine": a) have it not boot the OS b) have it boot the OS but not recognize the NIC or other PCMCIA cards c) have it boot the OS and recognize any 16-bit cards, but not be able to use CardBus cards. I'd love to hear the answer is b :-) Thanks, Daniel Zappala zappala@cs.uoregon.edu From owner-freebsd-mobile Fri Dec 5 16:18:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26588 for mobile-outgoing; Fri, 5 Dec 1997 16:18:04 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA26571 for ; Fri, 5 Dec 1997 16:17:58 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id RAA29520; Fri, 5 Dec 1997 17:17:56 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id RAA03570; Fri, 5 Dec 1997 17:17:55 -0700 Date: Fri, 5 Dec 1997 17:17:55 -0700 Message-Id: <199712060017.RAA03570@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alan Batie Cc: mobile@FreeBSD.ORG Subject: Re: pccard interrupts In-Reply-To: <19971205152807.60696@aahz.jf.intel.com> References: <19971205152807.60696@aahz.jf.intel.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I've got a new Mitsubishi Amity CN, and installed FreeBSD 2.2.5 RELEASE > on part of it. I had a Linksys EthernetCard working this morning (uses > the ed0 driver), but this afternoon, all I get is device timeout --- it's > not getting the interrupts. I swear I didn't change anything! Well, ok, > I did rebuild a kernel adding in sound drivers, but tried taking them back > out and it didn't make a difference. I'm completely stumped... What does /etc/pccard.conf look like? Is is possible that the sound-card probed wiped out your hardware somehow? Did you try turning it off and leaving it off for a bit, then turning it back on? Nate From owner-freebsd-mobile Fri Dec 5 16:18:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26725 for mobile-outgoing; Fri, 5 Dec 1997 16:18:51 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA26711 for ; Fri, 5 Dec 1997 16:18:47 -0800 (PST) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id RAA00713; Fri, 5 Dec 1997 17:18:43 -0700 (MST) Message-Id: <199712060018.RAA00713@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: Daniel Zappala cc: freebsd-mobile@freebsd.org Subject: Re: CardBus machines -- still unclear In-reply-to: Your message of "Fri, 05 Dec 1997 15:43:41 PST." <199712052343.PAA13451@cs.uoregon.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 05 Dec 1997 17:18:42 -0700 Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > > I would very much like to get an IBM 560X and am still unclear > whether I can boot any version of FreeBSD on it. > ... > So what can I expect from a "CardBus machine": > > a) have it not boot the OS > b) have it boot the OS but not recognize the NIC or other PCMCIA cards > c) have it boot the OS and recognize any 16-bit cards, but not be able > to use CardBus cards. > > I'd love to hear the answer is b :-) don't you mean c? thats the answer I want! How about DEC, are their machine known to be compatible with FreeBSD? I'm leaning towards the ultra 2000... -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD From owner-freebsd-mobile Fri Dec 5 16:43:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA28966 for mobile-outgoing; Fri, 5 Dec 1997 16:43:05 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailbag.jf.intel.com (mailbag.jf.intel.com [134.134.248.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA28961 for ; Fri, 5 Dec 1997 16:42:59 -0800 (PST) (envelope-from batie@aahz.jf.intel.com) Received: from aahz.jf.intel.com (aahz.jf.intel.com [192.198.161.2]) by mailbag.jf.intel.com (8.8.6/8.8.5) with ESMTP id QAA19429; Fri, 5 Dec 1997 16:45:09 -0800 (PST) Received: (from batie@localhost) by aahz.jf.intel.com (8.8.5/8.8.5) id QAA07881; Fri, 5 Dec 1997 16:41:57 -0800 (PST) Message-ID: <19971205164144.42795@aahz.jf.intel.com> Date: Fri, 5 Dec 1997 16:41:44 -0800 From: Alan Batie To: Nate Williams Cc: mobile@FreeBSD.ORG Subject: Re: pccard interrupts References: <19971205152807.60696@aahz.jf.intel.com> <199712060017.RAA03570@mt.sri.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=T4sUOijqQbZv57TR X-Mailer: Mutt 0.85 In-Reply-To: <199712060017.RAA03570@mt.sri.com>; from Nate Williams on Fri, Dec 05, 1997 at 05:17:55PM -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii On Fri, Dec 05, 1997 at 05:17:55PM -0700, Nate Williams wrote: > What does /etc/pccard.conf look like? Is is possible that the > sound-card probed wiped out your hardware somehow? Did you try turning > it off and leaving it off for a bit, then turning it back on? io 0x240-0x360 irq 3 5 10 14 memory 0xd4000 96k card "LINKSYS" "E-CARD" config 0x20 "ed0" 5 insert echo LinkSys PCMCIA Ethernet inserted insert /etc/pccard_ether ed0 remove echo LinkSys PCMCIA Ethernet removed remove /sbin/ifconfig ed0 delete It turns out it's getting the "driver allocation failed" error; I added some code to cardd.c so that it prints out the ioctl error: ... log_2s("driver allocation failed for %s: %s", sp->card->mauf, strerror(errno)); ... with the appropriate cloning of log_1s into log_2s and including errno.h Anyhow, it's reporting "Device Busy"; nevertheless, I can ifconfig it, which initializes the card enough that it goes from a dark Rx light to a blinking Rx light... followed by the ed0 timeout messages, indicating everything is working but the interrupts. I suspect the problem is in the sound somewhere, as it is also at IRQ 5, the LinkSys (according to pccardc anyhow) only will use IRQ 5, and there's no way to fiddle with the sound hardware in the BIOS. I would say "well, time to get a new ethercard" except that it worked once... and I do have access to a 3c589, which I have set for irq 10, and it acts similarly --- prints out the ethernet address, the [*UTP*] that I assume indicates its properly in UTP mode, but pings get "sendto: Host is down" (the host I'm pinging is the one I'm currently typing this message on ). Don't even get the device is busy or allocation failed errors. -- Alan Batie ------ What goes up, must come down. batie@aahz.jf.intel.com \ / Ask any system administrator. +1 503-264-8844 (voice) \ / --unknown D0 D2 39 0E 02 34 D6 B4 \/ 5A 41 21 8F 23 5F 08 9D --T4sUOijqQbZv57TR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNIifSBCfrckvDwdpAQG1mQP8DAO0AOHMsCTo9LmDEOpQFdvExr/RgBxI onicY0vdpysdJqLfqj4/ASipr73g7GsTWPkY+eCWi+dANm0TJgaI/QNn2jdSr/9r nMmRRSMb4jkBZzhp51nwApLQMFv43L34FFwZFTCmh9cCCFFiEixAFfOhXLfBOu1f igwCMFre2gs= =qJ6N -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- From owner-freebsd-mobile Fri Dec 5 17:07:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA00817 for mobile-outgoing; Fri, 5 Dec 1997 17:07:22 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA00811 for ; Fri, 5 Dec 1997 17:07:20 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id SAA29801; Fri, 5 Dec 1997 18:07:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id SAA03685; Fri, 5 Dec 1997 18:07:15 -0700 Date: Fri, 5 Dec 1997 18:07:15 -0700 Message-Id: <199712060107.SAA03685@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alan Batie Cc: Nate Williams , mobile@FreeBSD.ORG Subject: Re: pccard interrupts In-Reply-To: <19971205164144.42795@aahz.jf.intel.com> References: <19971205152807.60696@aahz.jf.intel.com> <199712060017.RAA03570@mt.sri.com> <19971205164144.42795@aahz.jf.intel.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Fri, Dec 05, 1997 at 05:17:55PM -0700, Nate Williams wrote: > > What does /etc/pccard.conf look like? Is is possible that the > > sound-card probed wiped out your hardware somehow? Did you try turning > > it off and leaving it off for a bit, then turning it back on? > > io 0x240-0x360 > irq 3 5 10 14 Remove IRQ 5 from this list. > memory 0xd4000 96k > > card "LINKSYS" "E-CARD" > config 0x20 "ed0" 5 Change the 5 to a '?' (w/out the quotes) > insert echo LinkSys PCMCIA Ethernet inserted > insert /etc/pccard_ether ed0 > remove echo LinkSys PCMCIA Ethernet removed > remove /sbin/ifconfig ed0 delete > > It turns out it's getting the "driver allocation failed" error; > I added some code to cardd.c so that it prints out the ioctl error: That's because I'll bet IRQ 5 is 'used', either by the hardware and/or by FreeBSD. > Anyhow, it's reporting "Device Busy"; nevertheless, I can ifconfig it, > which initializes the card enough that it goes from a dark Rx light to > a blinking Rx light... followed by the ed0 timeout messages, indicating > everything is working but the interrupts. Right. > I suspect the problem is in > the sound somewhere, as it is also at IRQ 5, the LinkSys (according to > pccardc anyhow) only will use IRQ 5 Naw, that' a farce. It'll go anywhere you want it to be, as long as you have a free interrupt. The CIS IRQ values are bogus and you can ignore them. , and there's no way to fiddle with > the sound hardware in the BIOS. I would say "well, time to get a new > ethercard" except that it worked once... and I do have access to a 3c589, > which I have set for irq 10, and it acts similarly --- prints out the > ethernet address, the [*UTP*] that I assume indicates its properly in > UTP mode, but pings get "sendto: Host is down" (the host I'm pinging is > the one I'm currently typing this message on ). Don't even get the device > is busy or allocation failed errors. Only when the system is *really* confused do I get the busy errors. I'm guessing that the above mentioned changes will make things work again. Nate From owner-freebsd-mobile Fri Dec 5 17:11:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01185 for mobile-outgoing; Fri, 5 Dec 1997 17:11:36 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailbag.jf.intel.com (mailbag.jf.intel.com [134.134.248.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01177 for ; Fri, 5 Dec 1997 17:11:33 -0800 (PST) (envelope-from batie@aahz.jf.intel.com) Received: from aahz.jf.intel.com (aahz.jf.intel.com [192.198.161.2]) by mailbag.jf.intel.com (8.8.6/8.8.5) with ESMTP id RAA19866; Fri, 5 Dec 1997 17:13:42 -0800 (PST) Received: (from batie@localhost) by aahz.jf.intel.com (8.8.5/8.8.5) id RAA08033; Fri, 5 Dec 1997 17:10:29 -0800 (PST) Message-ID: <19971205171029.50612@aahz.jf.intel.com> Date: Fri, 5 Dec 1997 17:10:29 -0800 From: Alan Batie To: Nate Williams Cc: mobile@FreeBSD.ORG Subject: Re: pccard interrupts References: <19971205152807.60696@aahz.jf.intel.com> <199712060017.RAA03570@mt.sri.com> <19971205164144.42795@aahz.jf.intel.com> <199712060107.SAA03685@mt.sri.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=wRRV7LY7NUeQGEoC X-Mailer: Mutt 0.85 In-Reply-To: <199712060107.SAA03685@mt.sri.com>; from Nate Williams on Fri, Dec 05, 1997 at 06:07:15PM -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii On Fri, Dec 05, 1997 at 06:07:15PM -0700, Nate Williams wrote: > Only when the system is *really* confused do I get the busy errors. I'm > guessing that the above mentioned changes will make things work again. OK; I'm just heading home now, so I'll try it there and see what happens... -- Alan Batie ------ What goes up, must come down. batie@aahz.jf.intel.com \ / Ask any system administrator. +1 503-264-8844 (voice) \ / --unknown D0 D2 39 0E 02 34 D6 B4 \/ 5A 41 21 8F 23 5F 08 9D --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNIimBRCfrckvDwdpAQFQNgQAl6JpQGizr7K1bAjjCNq/i/qyxY/Fk6UX SAi5hwIlaDMb8YpTcXZ6zr/h0Sv1MIXwbMKsHeKxM/G/l2LuhxiKvXxSoZI0+5fI y4G0nuGP9dgt4K53eP2v9ewjjKNl69SWqbpVAHphFal0fFBbDx9LhQRm/7p+16TV g10JArdL2cQ= =7xiu -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- From owner-freebsd-mobile Fri Dec 5 17:14:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01351 for mobile-outgoing; Fri, 5 Dec 1997 17:14:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01341 for ; Fri, 5 Dec 1997 17:14:09 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id SAA29851; Fri, 5 Dec 1997 18:14:08 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id SAA03748; Fri, 5 Dec 1997 18:14:05 -0700 Date: Fri, 5 Dec 1997 18:14:05 -0700 Message-Id: <199712060114.SAA03748@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Daniel Zappala Cc: freebsd-mobile@freebsd.org Subject: Re: CardBus machines -- still unclear In-Reply-To: <199712052343.PAA13451@cs.uoregon.edu> References: <199712052343.PAA13451@cs.uoregon.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I would very much like to get an IBM 560X and am still unclear > whether I can boot any version of FreeBSD on it. It'll boot fine. :) > > If the 560X is the new CardBus machine, then it's not supported in > > FreeBSD. Newer CardBus/PCI machines are not supported 'out of the box' > > yet. The same goes for new 760's if they are also CardBus. > > I take it this means the OS will boot, but any cards in the slot > (i.e. a NIC) won't be recognized. Right. However, all is not lost w/regard to the cards. (See below) > However, my understanding of CardBus is that it is supposed to be > backward compatible with PC-Card, so I'm unclear on why you couldn't > use 16-bit PCMCIA cards in this slot. In particular, the IBM machine > says you can use either 2 16-bit cards or 1 32-bit card. You can, but the FreeBSD probe code didn't (!) know to look in the PCI domain for the card. That changed earlier this week for *ONE* particular PCI/CardBus controller, the CLPD6832 (?). However, adding other CardBus controllers should be pretty easy to do, but I don't have the hardware and/or docs to do it. > > USB isn't critical, and I can disable the CardBus stuff, so it works > > really well. > > > > When you're buying a laptop, there are two *critical* things to look at: > > > - The pcic type (PCMCIA interface chip). Toshiba, Dell, NEC, Sharp, > > and IBM all use parts that are compatible with FreeBSD. Acer (at > > least) does not. YMMV; if at all possible, boot a FreeBSD kernel > > built with pcic support in order to find out what you're looking at. > > So what can I expect from a "CardBus machine": IFF the CardBus machine has a mode to setup itself up to look like an ISA/PCMCIA controller it'll work 'out of the box'. If it doesn't, you need to write the code to set it into that mode (and the framework for this is now in place). Finally, at some point in the future the controller probe code will *also* be modified to recognize PCI/CardBus controllers in ISA emulation mode at PCI address spaces, if that proves to work. It seems to work with some cards, although I prefer the current solution of forcing the cards to appear in the ISA address space. So, to answer your question. > a) have it not boot the OS > b) have it boot the OS but not recognize the NIC or other PCMCIA cards > c) have it boot the OS and recognize any 16-bit cards, but not be able > to use CardBus cards. > > I'd love to hear the answer is b :-) The answer is b) with 99% assurance, and c) possibly. Your best bet is to take the PAO boot floppy (see http://www.jp.freebsd.org/PAO) and see if it recognizes things. If it does, there's a good chance it *might* be supported in FreeBSD (the PAO code does some PCI probe things that the stock FreeBSD code doesn't yet). Nate From owner-freebsd-mobile Fri Dec 5 17:15:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01446 for mobile-outgoing; Fri, 5 Dec 1997 17:15:07 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01441 for ; Fri, 5 Dec 1997 17:15:04 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id SAA29858; Fri, 5 Dec 1997 18:15:01 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id SAA03755; Fri, 5 Dec 1997 18:14:58 -0700 Date: Fri, 5 Dec 1997 18:14:58 -0700 Message-Id: <199712060114.SAA03755@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Alan Batie Cc: Nate Williams , mobile@FreeBSD.ORG Subject: Re: pccard interrupts In-Reply-To: <19971205171029.50612@aahz.jf.intel.com> References: <19971205152807.60696@aahz.jf.intel.com> <199712060017.RAA03570@mt.sri.com> <19971205164144.42795@aahz.jf.intel.com> <199712060107.SAA03685@mt.sri.com> <19971205171029.50612@aahz.jf.intel.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Only when the system is *really* confused do I get the busy errors. I'm > > guessing that the above mentioned changes will make things work again. > > OK; I'm just heading home now, so I'll try it there and see what happens... Please let me know what happens. Nate From owner-freebsd-mobile Fri Dec 5 20:52:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA16959 for mobile-outgoing; Fri, 5 Dec 1997 20:52:02 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp5.portal.net.au [202.12.71.105]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA16885 for ; Fri, 5 Dec 1997 20:51:53 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA01530; Sat, 6 Dec 1997 14:22:37 +1030 (CST) Message-Id: <199712060352.OAA01530@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: "Mobile FreeBSD" Subject: Re: PC Card Initialization In-reply-to: Your message of "Thu, 04 Dec 1997 12:25:57 -0800." <199712042023.MAA18507@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 14:22:37 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Correct! I have fixed the problem this problem. However, I am now getting > resource allocation errors and pccardc does not recognize the CIS on all my > cards. Don't bother with *anything* until pccardc can give you a meaningful dump of the CIS. Nothing else will work until this is happening. You *must* establish why reading the CIS is failing; in your case that will probably involve walking through the pccard code with the SC400 documentation in hand until you locate the point at which things diverge from expectations. I'd start with a great slab of extra debugging printfs() in the pcic code around the point where the code tries to talk to the cards. mike (I can't hit AMD's website just now, or I'd go look and see if there was anything obvious in the docco/app notes.) From owner-freebsd-mobile Fri Dec 5 20:53:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17154 for mobile-outgoing; Fri, 5 Dec 1997 20:53:55 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp5.portal.net.au [202.12.71.105]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA17144 for ; Fri, 5 Dec 1997 20:53:48 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA01497; Sat, 6 Dec 1997 14:15:51 +1030 (CST) Message-Id: <199712060345.OAA01497@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: "Glenn Dicus" , "Mobile FreeBSD" Subject: Re: PCMCIA and ElanSC400 In-reply-to: Your message of "Thu, 04 Dec 1997 15:33:06 PDT." <199712042233.PAA27702@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 14:15:51 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Actually it's an AMD ElanSC400 Evaluation Board. The ElanSC400 > > microcontroller has the following integrated capabilities: > > > > 486 CPU Core > > 82365 register set compatible Dual PC Card (PCMCIA Vers2.1) which > > is compliant with ExCA. > > The VLSI PCIC controller claims to be '82365 compatible' as well, but it > isn't 100% compatible. I *highly* suspect this board is using the VLSI > chipset, or something related to it. > > Do you have any documentation on the above controller? It's all on AMD's website; note that the PCIC is (AFAIR) integrated *within* the CPU itself. mike From owner-freebsd-mobile Fri Dec 5 20:54:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA17183 for mobile-outgoing; Fri, 5 Dec 1997 20:54:03 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp5.portal.net.au [202.12.71.105]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA17161 for ; Fri, 5 Dec 1997 20:53:55 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA01451; Sat, 6 Dec 1997 14:09:41 +1030 (CST) Message-Id: <199712060339.OAA01451@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Glenn Dicus" cc: "Mobile FreeBSD" Subject: Re: outb in pcic_probe In-reply-to: Your message of "Fri, 05 Dec 1997 14:28:47 -0800." <199712052226.OAA18721@mail.nomadix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Dec 1997 14:09:40 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Looking over the sourc code for outb I have noticed that there are several > definitions for outb, all of which are hard to understand. They are less hard to understand if you some familiarity with the Intel instruction set, or a reference thereto. There is only one definition of outb() however, and it does what you expect; writes a value to a port. > In pcic_probe > there are two successive outb() calls to the same configuration port > > outb(sp->index, 0x0E); > outb(sp->index, 0x37); > > Then > > setb(sp, 0x3A, 0x40); > > Does anyone know what this code is doing to the registers? If so, which > definition of outb(), setb() are being implemented? I am using FreeBSD > 2.2.2-RELEASE. The first two calls are obvious; the second is defined in pcic and even has a *comment* attached to the definition. /* * Set bit(s) of a register */ static inline void setb(struct pcic_slot *sp, int reg, unsigned char mask) { sp->putb(sp, reg, sp->getb(sp, reg) | mask); } mike From owner-freebsd-mobile Fri Dec 5 21:54:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA20864 for mobile-outgoing; Fri, 5 Dec 1997 21:54:32 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from afs.ntc.mita.keio.ac.jp (afs.ntc.mita.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA20839 for ; Fri, 5 Dec 1997 21:54:22 -0800 (PST) (envelope-from hosokawa@ntc.keio.ac.jp) Received: (from hosokawa@localhost) by afs.ntc.mita.keio.ac.jp (8.8.7/3.6Wbeta6-ntc_mailserver1.03) id OAA22824; Sat, 6 Dec 1997 14:53:40 +0900 (JST) Date: Sat, 6 Dec 1997 14:53:40 +0900 (JST) Message-Id: <199712060553.OAA22824@afs.ntc.mita.keio.ac.jp> To: nate@mt.sri.com Cc: freebsd-mobile@freebsd.org, hosokawa@ntc.keio.ac.jp Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: Your message of "Thu, 4 Dec 1997 16:45:58 -0700". <199712042345.QAA28027@mt.sri.com> From: hosokawa@ntc.keio.ac.jp (HOSOKAWA Tatsumi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <199712042345.QAA28027@mt.sri.com> nate@mt.sri.com writes: >> > >> The boot floppy support in PAO is (was) not released, so building a >> > >> PCCARD boot floppy is not currently possible w/out lots of work. >> > >> > I compiled it today (for 2.2.5-RELEASE, I'll put it at >> > FreeBSD/incoming or somewhere). >> > I'll port it to 2.2-STABLE and 3.0-CURRENT. >> >> Great, thanks! I put them at FreeBSD/incoming: boot.flp w/ PC-card support (English version): ftp://ftp.freebsd.org/pub/FreeBSD/incoming/boot-pao-971206.flp MD5 (boot-pao-971206.flp) = f056387ccd8d69e13737edfdd37a38f5 boot.flp w/ PC-card support (Japanese/English version): ftp://ftp.freebsd.org/pub/FreeBSD/incoming/boot-pao-jp-971206.flp MD5 (boot-pao-jp-971206.flp) = f0addfd32e806d5708555334c90a3515 >> ps. Any chance of the changes you made to make the floppy being made >> available? I put the source of these floppies at: ftp://ftp.freebsd.org/pub/FreeBSD/incoming/release-I18N-PAO-971206.tar.gz I think I have to separate I18N support and PC-card support, but I have not done it yet.... p.s. I'll take a vacation next week, so I can't reply to e-mail until wednesday. Sorry. -- HOSOKAWA, Tatsumi Network Technology Center Keio University hosokawa@ntc.keio.ac.jp From owner-freebsd-mobile Fri Dec 5 23:45:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA27975 for mobile-outgoing; Fri, 5 Dec 1997 23:45:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA27966 for ; Fri, 5 Dec 1997 23:45:40 -0800 (PST) (envelope-from batie@agora.rdrop.com) Received: (from batie@localhost) by agora.rdrop.com (8.8.5/8.8.5) id XAA09634; Fri, 5 Dec 1997 23:45:37 -0800 (PST) Message-ID: <19971205234537.26385@agora.rdrop.com> Date: Fri, 5 Dec 1997 23:45:37 -0800 From: Alan Batie To: Nate Williams Cc: mobile@freebsd.org Subject: Re: pccard interrupts References: <19971205152807.60696@aahz.jf.intel.com> <199712060017.RAA03570@mt.sri.com> <19971205164144.42795@aahz.jf.intel.com> <199712060107.SAA03685@mt.sri.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=zYM0uCDKw75PZbzx X-Mailer: Mutt 0.76 In-Reply-To: <199712060107.SAA03685@mt.sri.com>; from Nate Williams on Fri, Dec 05, 1997 at 06:07:15PM -0700 Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii On Fri, Dec 05, 1997 at 06:07:15PM -0700, Nate Williams wrote: > Remove IRQ 5 from this list. > Change the 5 to a '?' (w/out the quotes) This worked, but I had to put in a specific interrupt, not using the ? -- Alan Batie ______ It's not my fault! It's some guy batie@agora.rdrop.com \ / named "General Protection"! +1 503 452-0960 \ / --Ratbert PGP FP: DE 3C 29 17 C0 49 \/ 7A 27 40 A5 3C 37 4A DA 52 B9 It is my policy to avoid purchase of any products from companies which use unrequested email advertisements or telephone solicitation. --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNIkCoIv4wNua7QglAQEJJAQAmydLAvnqPvmqJn0GtW64/NveNJ9Ddmjm Y/XnKA/u+PPusBeYAeoMvXMwJsssPp0vS76EkU6Zbmg/D43XaXnFMIocZQvee/Y+ nUtOhu2bMHtxlFkalLgnJ69A4Rr2uT3T5Nkj9SdLIx57A3xJ35Qoux/7O6Z3L8+d 0TbZo2jI9Ik= =1bJ7 -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-mobile Sat Dec 6 13:57:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA17680 for mobile-outgoing; Sat, 6 Dec 1997 13:57:54 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from dominator.eecs.harvard.edu (dominator.eecs.harvard.edu [140.247.60.28]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA17667 for ; Sat, 6 Dec 1997 13:57:46 -0800 (PST) (envelope-from karp@eecs.harvard.edu) Received: from localhost (localhost [127.0.0.1]) by dominator.eecs.harvard.edu (8.6.12/8.6.12) with SMTP id QAA13115; Sat, 6 Dec 1997 16:57:43 -0500 From: Brad Karp Message-Id: <199712062157.QAA13115@dominator.eecs.harvard.edu> X-Authentication-Warning: dominator.eecs.harvard.edu: Host localhost didn't use HELO protocol To: Ken Key Cc: freebsd-mobile@freebsd.org Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-reply-to: Your message of "Thu, 04 Dec 97 19:13:20 EST." <199712050013.TAA22262@duncan.cs.utk.edu> Date: Sat, 06 Dec 97 16:57:43 -0500 X-Mts: smtp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > What I ended up doing was to boot my TP-560 off > of the v2.2.2-PAO boot floppy, go under the options editor and set the > release name to 2.2-97MMDD-SNAP, go under the Media Type and set it to > FTP via URL to the releng22.freebsd.org SNAP server. I then cvsup'ed > the RELENG_2_2, made the world, and fixed up things in /etc. I also > had to install the RELENG_2_2 /stand/sysinstal to replace the PAO > sysinstall that was put onto the system. [I managed to get my hands on a 3C589D for the initial install, so my original unrecognized Linksys problem is now taken care of, and I'm running 2.2-971204-SNAP on my IBM 380. I'll post my pccard.conf entry for this card (which has a different CIS tuple than any I've seen anywhere) shortly.] Does pulling 2.2-97MMDD-SNAP get one the latest and greatest PCMCIA support that I see so much traffic on this list about? Or is it necessary to explicitly cvsup RELENG_2_2, in addition? If the cvsup is necessary, I'm a bit confused, as I thought that the SNAPs were by definition the latest RELENG_2_2 build. (This question, too, went by in November, but I saw no answer posted.) Clarifications appreciated! -Brad, karp@eecs.harvard.edu From owner-freebsd-mobile Sat Dec 6 15:20:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA23319 for mobile-outgoing; Sat, 6 Dec 1997 15:20:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA23303 for ; Sat, 6 Dec 1997 15:20:07 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id QAA08515; Sat, 6 Dec 1997 16:19:57 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id QAA06897; Sat, 6 Dec 1997 16:19:55 -0700 Date: Sat, 6 Dec 1997 16:19:55 -0700 Message-Id: <199712062319.QAA06897@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Karp Cc: Ken Key , freebsd-mobile@FreeBSD.ORG Subject: Re: 2.2-STABLE boot floppy that supports PCMCIA ed card? In-Reply-To: <199712062157.QAA13115@dominator.eecs.harvard.edu> References: <199712050013.TAA22262@duncan.cs.utk.edu> <199712062157.QAA13115@dominator.eecs.harvard.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > [I managed to get my hands on a 3C589D for the initial install, so my > original unrecognized Linksys problem is now taken care of, and I'm > running 2.2-971204-SNAP on my IBM 380. I'll post my pccard.conf entry > for this card (which has a different CIS tuple than any I've seen > anywhere) shortly.] > > Does pulling 2.2-97MMDD-SNAP get one the latest and greatest PCMCIA > support that I see so much traffic on this list about? Or is it > necessary to explicitly cvsup RELENG_2_2, in addition? If you want to stay -current with -stable (*grin*), then you need to CVSup. If you're happy with the current bits that you have, then stick with them. Note, there are known suspend/resume bugs in the code you have, but they don't occur very often. > If the cvsup is necessary, I'm a bit confused, as I thought that the > SNAPs were by definition the latest RELENG_2_2 build. Yes, but bits change everyday, so the SNAPS are a particular machines latest build. Your machine can build it's own 'unofficial' SNAP if you CVSup the sources. :) Nate From owner-freebsd-mobile Sat Dec 6 15:31:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA24214 for mobile-outgoing; Sat, 6 Dec 1997 15:31:02 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from dominator.eecs.harvard.edu (dominator.eecs.harvard.edu [140.247.60.28]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA24201 for ; Sat, 6 Dec 1997 15:30:58 -0800 (PST) (envelope-from karp@eecs.harvard.edu) Received: (from karp@localhost) by dominator.eecs.harvard.edu (8.6.12/8.6.12) id SAA15532 for freebsd-mobile@freebsd.org; Sat, 6 Dec 1997 18:30:57 -0500 Date: Sat, 6 Dec 1997 18:30:57 -0500 From: Brad Karp Message-Id: <199712062330.SAA15532@dominator.eecs.harvard.edu> To: freebsd-mobile@freebsd.org Subject: pccard.conf entry for Linksys Combo Ethernet (EC2T) Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Just wanted to share a pccard.conf entry I had to cook up to get my Linksys PCMCIA Ethernet Combo (10Base{2,T}) card recognized by 2.2.5-STABLE. My card seems to have different CIS ID strings than the Linksys cards that have entries in PAO's pccard.conf. Odd. # Linksys Combo PCMCIA EthenretCard (model EC2T on box) card "Linksys" "Combo PCMCIA EthernetCard (EC" config 0x1 "ed0" ? insert echo Linksys Ethernet inserted insert /etc/pccard_ether ed0 remove echo Linksys Ethernet removed remove /sbin/ifconfig ed0 delete Yes, the second string looks truncated--the string is so long that the fixed array size in the slot data structure truncates it. BTW, this suggests that someone ought to change the strcmp for the CIS strings in pccardd to strncmp, so the comparison is bounded by the length of the slot's stored string, eh? That way, one could safely put `pccardc dumpcis` into a pccard.conf entry verbatim. -Brad, karp@eecs.harvard.edu From owner-freebsd-mobile Sat Dec 6 21:23:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA15728 for mobile-outgoing; Sat, 6 Dec 1997 21:23:08 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA15721 for ; Sat, 6 Dec 1997 21:23:04 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA10561; Sat, 6 Dec 1997 22:22:57 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA07772; Sat, 6 Dec 1997 22:22:54 -0700 Date: Sat, 6 Dec 1997 22:22:54 -0700 Message-Id: <199712070522.WAA07772@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Karp Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: pccard.conf entry for Linksys Combo Ethernet (EC2T) In-Reply-To: <199712062330.SAA15532@dominator.eecs.harvard.edu> References: <199712062330.SAA15532@dominator.eecs.harvard.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Just wanted to share a pccard.conf entry I had to cook up to get my > Linksys PCMCIA Ethernet Combo (10Base{2,T}) card recognized by 2.2.5-STABLE. Thanks, I've committed this to -current, and will merge it into 2.2.5-STABLE soon with other changes. Nate