From owner-freebsd-mobile Sun Nov 2 02:59:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA14925 for mobile-outgoing; Sun, 2 Nov 1997 02:59:11 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA14914 for ; Sun, 2 Nov 1997 02:59:08 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id LAA02437; Sun, 2 Nov 1997 11:58:59 +0100 (MET) From: Guido van Rooij Message-Id: <199711021058.LAA02437@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711020208.TAA00926@rocky.mt.sri.com> from Nate Williams at "Nov 1, 97 07:08:54 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 11:58:59 +0100 (MET) Cc: freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > [ > I'm not sure why, but you have *REALLY* long lines you're using, which > are made mostly of just white-space tagged on the end what is giving my > mailer fits. > ] I did a cut&paste from one syscons window to another. Apparently it also copies white space at the end of line. > > > > # Nokia GSM > > card "Nokia Mobile Phones" "DTP-2 ver II" > > config 0x20 "sio1" 3 0x2f8 > > What the heck is this 0x2f8 stuff at the end of your config line? Is it > a PAO extension? Anyway, if you read the email I sent to the list, you > need to pick the entry that corresponds to "sio1/0x2f8", which is not > index 0x20, but index 0x22 Forget about the 0x2f8 stuff. That was wrong. > > > Tuple #14, code = 0x1b (Configuration entry), length = 8 > > 000: 22 18 a3 60 f8 02 07 03 > > Config index = 0x22 > > Card decodes 3 address lines, 8 Bit I/O only > > I/O address # 1: block start = 0x2f8 block length = 0x8 > > IRQ modes: > > IRQ level = 3 > > Unfortunately, it looks like it only supports IRQ 3 as well. > > So: > card "Nokia Mobile Phones" "DTP-2 ver II" > config 0x22 "sio1" 3 > > Should work. > Well...it does not :-( From owner-freebsd-mobile Sun Nov 2 03:01:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA15077 for mobile-outgoing; Sun, 2 Nov 1997 03:01:48 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA15072 for ; Sun, 2 Nov 1997 03:01:44 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id MAA02452; Sun, 2 Nov 1997 12:01:33 +0100 (MET) From: Guido van Rooij Message-Id: <199711021101.MAA02452@gvr.gvr.org> Subject: Re: card removal problems In-Reply-To: <199711020211.TAA00945@rocky.mt.sri.com> from Nate Williams at "Nov 1, 97 07:11:32 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 12:01:33 +0100 (MET) Cc: freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > Just like with the PAO release I experience problems when removing a > > card from a slot. Sometimes this results in a total lockup of the > > system, while it keeps beeping. > > There is a race where it's possible that the driver in in use when you > remove it that is un-avoidable. But, this seems to happen pretty > rarely. > > > With the PAO release, the solution was to fist cut power from the card and > > then remove it. This was done via the power subcommand of pccardc. > > Wouldn;t it be wise to introduce that subcommand? Or am I the only > > one experiencing problems when removing cards? > > I'd like to introduct as few things *as necessary* to the release, but > if it's necessary then we should add it. Too many 'fixes' that went > into PAO tree that masked the real problem, so before we add the power > let's try and figure out what the problem is. Agreed. But to be honest: I wouldn't know a quicker solution that preventing the interrupts and cutting down the power would then do the trick. -Guido From owner-freebsd-mobile Sun Nov 2 03:22:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA15666 for mobile-outgoing; Sun, 2 Nov 1997 03:22:59 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA15661 for ; Sun, 2 Nov 1997 03:22:53 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id MAA02609; Sun, 2 Nov 1997 12:22:37 +0100 (MET) From: Guido van Rooij Message-Id: <199711021122.MAA02609@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711020208.TAA00926@rocky.mt.sri.com> from Nate Williams at "Nov 1, 97 07:08:54 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 12:22:37 +0100 (MET) Cc: freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > Unfortunately, it looks like it only supports IRQ 3 as well. > It also does 4. > So: > card "Nokia Mobile Phones" "DTP-2 ver II" > config 0x22 "sio1" 3 > > Should work. Hmm..when booting, I see: PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) pcic: controller irq 3 So irq 3 is in use :-( Perhaps pccard_alloc_intr should start from the higher interrupts and work down the list. -Guido From owner-freebsd-mobile Sun Nov 2 03:42:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16515 for mobile-outgoing; Sun, 2 Nov 1997 03:42:48 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16510 for ; Sun, 2 Nov 1997 03:42:43 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id MAA03897; Sun, 2 Nov 1997 12:42:28 +0100 (MET) From: Guido van Rooij Message-Id: <199711021142.MAA03897@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021122.MAA02609@gvr.gvr.org> from Guido van Rooij at "Nov 2, 97 12:22:37 pm" To: guido@gvr.gvr.org (Guido van Rooij) Date: Sun, 2 Nov 1997 12:42:27 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 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: > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > down the list. I did that change and it worked. Perhaps it would even be better to be able to configure the irq the pcic will be using. -Guido this is my patch: cvs diff: Diffing /home/src/src/sys/pccard Index: /home/src/src/sys/pccard/pccard.c =================================================================== RCS file: /home/cvsup/freebsd/CVS/src/sys/pccard/pccard.c,v retrieving revision 1.27.2.3 diff -u -r1.27.2.3 pccard.c --- pccard.c 1997/10/30 00:38:25 1.27.2.3 +++ pccard.c 1997/11/02 11:25:40 @@ -481,7 +481,7 @@ int irq; unsigned int mask; - for (irq = 1; irq < ICU_LEN; irq++) { + for (irq = ICU_LEN-1; irq > 0; irq--) { mask = 1ul << irq; if (!(mask & imask)) continue; From owner-freebsd-mobile Sun Nov 2 03:49:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16713 for mobile-outgoing; Sun, 2 Nov 1997 03:49:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16708 for ; Sun, 2 Nov 1997 03:49:06 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id MAA04006; Sun, 2 Nov 1997 12:48:59 +0100 (MET) From: Guido van Rooij Message-Id: <199711021148.MAA04006@gvr.gvr.org> Subject: Re: card removal problems In-Reply-To: <199711020211.TAA00945@rocky.mt.sri.com> from Nate Williams at "Nov 1, 97 07:11:32 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 12:48:59 +0100 (MET) Cc: freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > Just like with the PAO release I experience problems when removing a > > card from a slot. Sometimes this results in a total lockup of the > > system, while it keeps beeping. > > There is a race where it's possible that the driver in in use when you > remove it that is un-avoidable. But, this seems to happen pretty > rarely. Actually, it seems that it almost always locks up for me once a driver has ben allocated. I inserted that modem card I was talking about after applying my patch (so pcic would use not irq 3). It was not being used but still the machine locked up. I am now going to implement the power patches to see if that would solve my problem. -Guido From owner-freebsd-mobile Sun Nov 2 03:59:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16935 for mobile-outgoing; Sun, 2 Nov 1997 03:59:52 -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 DAA16926 for ; Sun, 2 Nov 1997 03:59:43 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from giovannelli.it (ts2port8d.masternet.it [194.184.65.207]) by www.giovannelli.it (8.8.7/8.8.5) with ESMTP id NAA00548 for ; Sun, 2 Nov 1997 13:03:46 +0100 (MET) Message-ID: <345C7999.6B591CCE@giovannelli.it> Date: Sun, 02 Nov 1997 13:01:13 +0000 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: mobile@freebsd.org Subject: Sundisk ata card Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have bought a Sundisk compactflash 15mb to use in my canon powershot 350. I have seen it is supported in the pccard database, but if I use the lines supplied I receive only Driver Allocation failure. 1) Is there anyone that succeded in use it ? 2) Have I to add a dummy hdisk entry in the kernel config file ? 3) Is there anyone that have to share with me his working pccard.conf ? :-) Thanks in advance... -- Regards... Gianmarco "Unix expert since yesterday" http://www2.masternet.it From owner-freebsd-mobile Sun Nov 2 06:14:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA21291 for mobile-outgoing; Sun, 2 Nov 1997 06:14:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA21286 for ; Sun, 2 Nov 1997 06:14:50 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id PAA04580; Sun, 2 Nov 1997 15:14:31 +0100 (MET) From: Guido van Rooij Message-Id: <199711021414.PAA04580@gvr.gvr.org> Subject: Re: card removal problems In-Reply-To: From guido at "Nov 2, 97 12:48:59 pm" To: guido@gvr.gvr.org (guido) Date: Sun, 2 Nov 1997 15:14:30 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido wrote: > Nate Williams wrote: > > > Just like with the PAO release I experience problems when removing a > > > card from a slot. Sometimes this results in a total lockup of the > > > system, while it keeps beeping. > > > > There is a race where it's possible that the driver in in use when you > > remove it that is un-avoidable. But, this seems to happen pretty > > rarely. > > Actually, it seems that it almost always locks up for me once a driver > has ben allocated. I inserted that modem card I was talking about > after applying my patch (so pcic would use not irq 3). It was not being > used but still the machine locked up. > I am now going to implement the power patches to see if that would > solve my problem. > An update: I tried to remove 2 modem cards for a couple of times. The Nokia one (irq3) did lock up my system each time (I tried 3 times). The other one (angia) went ok for 2 times. Note that in the lockup case, nothing is printed on the console. Perhaps it is card specific (?). -Guido From owner-freebsd-mobile Sun Nov 2 06:39:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA23213 for mobile-outgoing; Sun, 2 Nov 1997 06:39:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from chuck.schiele-ct.de (chuck.schiele-ct.de [193.141.27.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA23201 for ; Sun, 2 Nov 1997 06:39:53 -0800 (PST) (envelope-from br@schiele-ct.de) Received: from schiele-ct.de (localhost.schiele-ct.de [127.0.0.1]) by chuck.schiele-ct.de (8.8.5/8.8.5) with ESMTP id PAA01201; Sun, 2 Nov 1997 15:42:36 +0100 (CET) Message-Id: <199711021442.PAA01201@chuck.schiele-ct.de> To: Nate Williams cc: freebsd-mobile@freebsd.org Subject: Re: PCCARD modem config? In-reply-to: Your message of "Fri, 31 Oct 1997 13:42:13 MST." <199710312042.NAA25979@rocky.mt.sri.com> Date: Sun, 02 Nov 1997 15:42:36 +0100 From: Bernd Rosauer Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams: > > > [Nate's explanations skipped] > > > > > > # Germany's famouse MicroLink modem card > > > card "ELSA'Aachen'Germany" "MicroLink 33.6MC" > > > config 0x32 "sio2" 10 > > > insert echo "Microlink 33.6 modem inserted" > > > removed echo "Microlink 33.6 modem removed" > > > > I got it. Thanks for the great lesson! You are a wizard. ;-) > > > > I guess, everyone on this planet knows ELSA's MicroLink card now. :-) > > So, does the entry work? If so, I can add it to the standard FreeBSD > pccard.conf.sample file. Yes, it works. Thanks again! -Bernd From owner-freebsd-mobile Sun Nov 2 06:48:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA24336 for mobile-outgoing; Sun, 2 Nov 1997 06:48:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from sonyinet.sony.co.jp (sonyinet.sony.co.jp [202.238.80.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA24327 for ; Sun, 2 Nov 1997 06:48:50 -0800 (PST) (envelope-from saeki@saskg.semicon.sony.co.jp) Received: by sonyinet.sony.co.jp (3.6Wbeta5-97080515) id XAA17750; Sun, 2 Nov 1997 23:48:18 +0900 (JST) Received: from sonygw.sony.co.jp(43.0.1.249) by sonyinet.sony.co.jp via smap (V2.0) id xma017746; Sun, 2 Nov 97 23:47:52 +0900 Received: from s64.saskg.semicon.sony.co.jp ([43.0.234.82]) by sonygw.sony.co.jp (8.6.12+2.4W/3.4W-97082917) with ESMTP id XAA00932; Sun, 2 Nov 1997 23:47:35 +0900 Received: from s64 by s64.saskg.semicon.sony.co.jp (8.7.4+2.6Wbeta6/3.4W5-Mimoric1.2-MX) id XAA24850; Sun, 2 Nov 1997 23:49:53 +0900 (JST) Message-Id: <199711021449.XAA24850@s64.saskg.semicon.sony.co.jp> To: imp@village.org, mobile@FreeBSD.ORG Cc: saeki@saskg.semicon.sony.co.jp Subject: Re: Question... In-Reply-To: Your message of "Sun, 02 Nov 1997 00:38:13 -0700" References: <199711020738.AAA04963@harmony.village.org> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 02 Nov 1997 23:49:53 +0900 From: Takashi Saeki Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk From: Warner Losh Subject: Question... Date: Sun, 02 Nov 1997 00:38:13 -0700 > i just tried to get my libretto booted under freebsd. the pao stuff > didn't seem to work for me :-(. i'll try to get a good bug report. > however, that's not what I'm writing about. > Can you find libretto pccard floppy in SUPPORTED.CARDS ? I think it is not supported by PAO yet. You can boot from it, but it can't work under FreeBSD. > has anybody managed to get a pccard floppy working under freebsd? > I am going to write the driver, but very busy these days. # It is 23:45 on Sunday, now. How hardworking Japanese is ! ;-) Wait a few month, please ! -- Saeki Takashi saeki@jp.freebsd.org/saeki@saskg.semicon.sony.co.jp From owner-freebsd-mobile Sun Nov 2 09:07:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01026 for mobile-outgoing; Sun, 2 Nov 1997 09:07:21 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01018 for ; Sun, 2 Nov 1997 09:07:15 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA09225; Sun, 2 Nov 1997 10:07:13 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA02909; Sun, 2 Nov 1997 10:07:11 -0700 (MST) Date: Sun, 2 Nov 1997 10:07:11 -0700 (MST) Message-Id: <199711021707.KAA02909@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021122.MAA02609@gvr.gvr.org> References: <199711020208.TAA00926@rocky.mt.sri.com> <199711021122.MAA02609@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > It also does 4. Not at sio1 according to the dumpcis output. > Hmm..when booting, I see: > PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) > pcic: controller irq 3 > > So irq 3 is in use :-( > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > down the list. Been there, done that. It breaks other laptops. :( Nate From owner-freebsd-mobile Sun Nov 2 09:08:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01079 for mobile-outgoing; Sun, 2 Nov 1997 09:08:30 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01071 for ; Sun, 2 Nov 1997 09:08:23 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA09247; Sun, 2 Nov 1997 10:08:15 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA02917; Sun, 2 Nov 1997 10:08:14 -0700 (MST) Date: Sun, 2 Nov 1997 10:08:14 -0700 (MST) Message-Id: <199711021708.KAA02917@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: guido@gvr.gvr.org (Guido van Rooij), nate@mt.sri.com, freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021142.MAA03897@gvr.gvr.org> References: <199711021122.MAA02609@gvr.gvr.org> <199711021142.MAA03897@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > > down the list. See the CVS logs. :) > I did that change and it worked. Perhaps it would even be better > to be able to configure the irq the pcic will be using. This is the best solution, but there's no easy solution to implementing it. If you can come up with one I'm all ears/eyes. Nate From owner-freebsd-mobile Sun Nov 2 09:09:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01127 for mobile-outgoing; Sun, 2 Nov 1997 09:09:51 -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 JAA01117 for ; Sun, 2 Nov 1997 09:09:46 -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 CAA25160; Mon, 3 Nov 1997 02:09:36 +0900 (JST) To: Warner Losh cc: mobile@FreeBSD.ORG In-reply-to: imp's message of Sun, 02 Nov 1997 00:38:13 MST. <199711020738.AAA04963@harmony.village.org> 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: Question... From: Jun-ichiro itojun Itoh Date: Mon, 03 Nov 1997 02:09:35 +0900 Message-ID: <25156.878490575@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >i just tried to get my libretto booted under freebsd. the pao stuff >didn't seem to work for me :-(. i'll try to get a good bug report. >however, that's not what I'm writing about. >has anybody managed to get a pccard floppy working under freebsd? sorry the floppy drive is not supported by neither stock FreeBSD-current nor PAO. itojun From owner-freebsd-mobile Sun Nov 2 09:10:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01185 for mobile-outgoing; Sun, 2 Nov 1997 09:10:51 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA01179 for ; Sun, 2 Nov 1997 09:10:48 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xS3Xs-00073c-00; Sun, 2 Nov 1997 10:10:40 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id KAA06515; Sun, 2 Nov 1997 10:10:01 -0700 (MST) Message-Id: <199711021710.KAA06515@harmony.village.org> To: Jun-ichiro itojun Itoh Subject: Re: Question... Cc: mobile@freebsd.org In-reply-to: Your message of "Mon, 03 Nov 1997 02:09:35 +0900." <25156.878490575@coconut.itojun.org> References: <25156.878490575@coconut.itojun.org> Date: Sun, 02 Nov 1997 10:10:01 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <25156.878490575@coconut.itojun.org> Jun-ichiro itojun Itoh writes: : sorry the floppy drive is not supported by neither stock : FreeBSD-current nor PAO. Bummer. :-(. I guess I'll have to see about adding support for it when I get the chance. Warner From owner-freebsd-mobile Sun Nov 2 09:11:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01224 for mobile-outgoing; Sun, 2 Nov 1997 09:11:29 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA01217 for ; Sun, 2 Nov 1997 09:11:26 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xS3YU-00073e-00; Sun, 2 Nov 1997 10:11:18 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id KAA06532; Sun, 2 Nov 1997 10:10:39 -0700 (MST) Message-Id: <199711021710.KAA06532@harmony.village.org> To: Takashi Saeki Subject: Re: Question... Cc: mobile@freebsd.org In-reply-to: Your message of "Sun, 02 Nov 1997 23:49:53 +0900." <199711021449.XAA24850@s64.saskg.semicon.sony.co.jp> References: <199711021449.XAA24850@s64.saskg.semicon.sony.co.jp> <199711020738.AAA04963@harmony.village.org> Date: Sun, 02 Nov 1997 10:10:39 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711021449.XAA24850@s64.saskg.semicon.sony.co.jp> Takashi Saeki writes: : Can you find libretto pccard floppy in SUPPORTED.CARDS ? No. : You can boot from it, but it can't work under FreeBSD. So I've discovered. : I am going to write the driver, but very busy these days. : # It is 23:45 on Sunday, now. How hardworking Japanese is ! ;-) : : Wait a few month, please ! OK. I'll be very happy to test anything you come up with. Warner From owner-freebsd-mobile Sun Nov 2 09:12:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01290 for mobile-outgoing; Sun, 2 Nov 1997 09:12:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01285 for ; Sun, 2 Nov 1997 09:12:49 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA09273; Sun, 2 Nov 1997 10:12:41 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA02976; Sun, 2 Nov 1997 10:12:39 -0700 (MST) Date: Sun, 2 Nov 1997 10:12:39 -0700 (MST) Message-Id: <199711021712.KAA02976@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: card removal problems In-Reply-To: <199711021148.MAA04006@gvr.gvr.org> References: <199711020211.TAA00945@rocky.mt.sri.com> <199711021148.MAA04006@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Just like with the PAO release I experience problems when removing a > > > card from a slot. Sometimes this results in a total lockup of the > > > system, while it keeps beeping. > > > > There is a race where it's possible that the driver in in use when you > > remove it that is un-avoidable. But, this seems to happen pretty > > rarely. > > Actually, it seems that it almost always locks up for me once a driver > has ben allocated. I inserted that modem card I was talking about > after applying my patch (so pcic would use not irq 3). It was not being > used but still the machine locked up. I'm confused. You say it would lockup the machine *only* after a driver was allocated, or it didn't matter. If it doesn't matter, then something is wrong with your PCIC controller, since all we do is apply power (or not) to your controller. > I am now going to implement the power patches to see if that would > solve my problem. I'd like to think there is a better solution that doesn't require user interaction. So, if there's no entry for the card in question in /etc/pccard.conf, after inserting it, waiting for a driver to be NOT found, and then removing the card your box will lockup? If so, then the power patches won't make any difference unless they 'power' down the card differently than I do in removal, which means that I can power the card down the same way and you won't need the 'power' patches. Nate From owner-freebsd-mobile Sun Nov 2 09:15:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01374 for mobile-outgoing; Sun, 2 Nov 1997 09:15:02 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA01362 for ; Sun, 2 Nov 1997 09:14:58 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA09280; Sun, 2 Nov 1997 10:14:54 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA02994; Sun, 2 Nov 1997 10:14:53 -0700 (MST) Date: Sun, 2 Nov 1997 10:14:53 -0700 (MST) Message-Id: <199711021714.KAA02994@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org Subject: Re: card removal problems In-Reply-To: <199711021414.PAA04580@gvr.gvr.org> References: <199711021414.PAA04580@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > An update: I tried to remove 2 modem cards for a couple of times. > The Nokia one (irq3) did lock up my system each time (I tried 3 times). > The other one (angia) went ok for 2 times. Note that in the lockup > case, nothing is printed on the console. OK, can you break into the system with DDB? Also, did this lockup occur with your patch in place? Finally, is IRQ4 in use with the second card? > Perhaps it is card specific (?). I wouldn't doubt it one bit, but it might be related to the card resources, not necessarily the card. These are things we need to find out rather than 'fixing' something that could be fixed in a more user-friendly manner. Nate From owner-freebsd-mobile Sun Nov 2 09:38:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA02361 for mobile-outgoing; Sun, 2 Nov 1997 09:38:11 -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 JAA02355 for ; Sun, 2 Nov 1997 09:38:07 -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 CAA25688; Mon, 3 Nov 1997 02:37:58 +0900 (JST) To: Warner Losh cc: mobile@FreeBSD.ORG In-reply-to: imp's message of Sun, 02 Nov 1997 10:10:01 MST. <199711021710.KAA06515@harmony.village.org> 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: Question... From: Jun-ichiro itojun Itoh Date: Mon, 03 Nov 1997 02:37:57 +0900 Message-ID: <25684.878492277@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >: sorry the floppy drive is not supported by neither stock >: FreeBSD-current nor PAO. >Bummer. :-(. I guess I'll have to see about adding support for it >when I get the chance. To clarify: I meant that "you cannot access floppy drive from running FreeBSD kernel". You will be able to install FreeBSD by using the pcmcia floppy drive. (since boot loader on the floppy drive from BIOS, not from FreeBSD kernel) http://www.jp.freebsd.org/PAO/#flp has boot floppy image with PAO support included. itojun From owner-freebsd-mobile Sun Nov 2 09:46:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA02689 for mobile-outgoing; Sun, 2 Nov 1997 09:46:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA02684 for ; Sun, 2 Nov 1997 09:46:49 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xS46o-00074i-00; Sun, 2 Nov 1997 10:46:46 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id KAA06799; Sun, 2 Nov 1997 10:46:07 -0700 (MST) Message-Id: <199711021746.KAA06799@harmony.village.org> To: Jun-ichiro itojun Itoh Subject: Re: Question... Cc: mobile@freebsd.org In-reply-to: Your message of "Mon, 03 Nov 1997 02:37:57 +0900." <25684.878492277@coconut.itojun.org> References: <25684.878492277@coconut.itojun.org> Date: Sun, 02 Nov 1997 10:46:07 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <25684.878492277@coconut.itojun.org> Jun-ichiro itojun Itoh writes: : To clarify: I meant that "you cannot access floppy drive from : running FreeBSD kernel". You will be able to install FreeBSD : by using the pcmcia floppy drive. (since boot loader on the floppy : drive from BIOS, not from FreeBSD kernel) : : http://www.jp.freebsd.org/PAO/#flp : has boot floppy image with PAO support included. Yes. I'm using that to boot from. It booted fine, but the minimal install set didn't include the PAO patches, nor the source like the docs said it would. I'm not sure exactly why it didn't, but I'm working on grabbing the PAO patches to the 2.2.2R tree that I installed from migrated to the laptop and then doing a build on it. And then, once I have a supported driver for the 3C589D that I have (the boot disk says the card never comes ready), then I can NFS mount /usr/{src,obj} from my beefy build box and do a make installworld. I have a -current kernel that seems to work, but is missing the recompiled binaries... Warner From owner-freebsd-mobile Sun Nov 2 11:04:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA06651 for mobile-outgoing; Sun, 2 Nov 1997 11:04:28 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA06646 for ; Sun, 2 Nov 1997 11:04:13 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05422; Sun, 2 Nov 1997 20:03:57 +0100 (MET) From: Guido van Rooij Message-Id: <199711021903.UAA05422@gvr.gvr.org> Subject: Re: card removal problems In-Reply-To: <199711021712.KAA02976@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 10:12:39 am" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:03:57 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > > Just like with the PAO release I experience problems when removing a > > > > card from a slot. Sometimes this results in a total lockup of the > > > > system, while it keeps beeping. > > > > > > There is a race where it's possible that the driver in in use when you > > > remove it that is un-avoidable. But, this seems to happen pretty > > > rarely. > > > > Actually, it seems that it almost always locks up for me once a driver > > has ben allocated. I inserted that modem card I was talking about > > after applying my patch (so pcic would use not irq 3). It was not being > > used but still the machine locked up. > > I'm confused. You say it would lockup the machine *only* after a driver > was allocated, or it didn't matter. If it doesn't matter, then > something is wrong with your PCIC controller, since all we do is apply > power (or not) to your controller. No, this is after I changed pccard.c to go downwards with irq's. So now I can allocate a driver. > > > I am now going to implement the power patches to see if that would > > solve my problem. > > I'd like to think there is a better solution that doesn't require user > interaction. > > So, if there's no entry for the card in question in /etc/pccard.conf, > after inserting it, waiting for a driver to be NOT found, and then > removing the card your box will lockup? If so, then the power patches No. It does certianly not lock up then/ > won't make any difference unless they 'power' down the card differently > than I do in removal, which means that I can power the card down the > same way and you won't need the 'power' patches. > Is there anything I can do, except low level kernel debugging to daignose this? -Guido From owner-freebsd-mobile Sun Nov 2 11:05:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA06690 for mobile-outgoing; Sun, 2 Nov 1997 11:05:16 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA06685 for ; Sun, 2 Nov 1997 11:05:10 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05413; Sun, 2 Nov 1997 20:02:11 +0100 (MET) From: Guido van Rooij Message-Id: <199711021902.UAA05413@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021708.KAA02917@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 10:08:14 am" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:02:11 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > > > down the list. > > See the CVS logs. :) > > > I did that change and it worked. Perhaps it would even be better > > to be able to configure the irq the pcic will be using. > > This is the best solution, but there's no easy solution to implementing > it. If you can come up with one I'm all ears/eyes. Yeah..I've looked at the way it is doen now and it isn't quite easy. Anyway, we could introduce an option so at least we can do both ;-) -Guido From owner-freebsd-mobile Sun Nov 2 11:08:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA06847 for mobile-outgoing; Sun, 2 Nov 1997 11:08:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA06750 for ; Sun, 2 Nov 1997 11:07:01 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05435; Sun, 2 Nov 1997 20:06:15 +0100 (MET) From: Guido van Rooij Message-Id: <199711021906.UAA05435@gvr.gvr.org> Subject: Re: card removal problems In-Reply-To: <199711021714.KAA02994@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 10:14:53 am" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:06:15 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > An update: I tried to remove 2 modem cards for a couple of times. > > The Nokia one (irq3) did lock up my system each time (I tried 3 times). > > The other one (angia) went ok for 2 times. Note that in the lockup > > case, nothing is printed on the console. > > OK, can you break into the system with DDB? Also, did this lockup occur > with your patch in place? Finally, is IRQ4 in use with the second card? I'll try to get into the system. But since ctrl-alt-del no longer works I doubt that the console driver will allow me to break into DDB. Irq 4 is not in use. I don't remember if the other slot had a card but if it had it was the 3com etherlink 3. > > > Perhaps it is card specific (?). > > I wouldn't doubt it one bit, but it might be related to the card > resources, not necessarily the card. These are things we need to find > out rather than 'fixing' something that could be fixed in a more > user-friendly manner. > I do agree. I'll see what I can come up with further. -Guido From owner-freebsd-mobile Sun Nov 2 11:13:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07016 for mobile-outgoing; Sun, 2 Nov 1997 11:13:02 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07007 for ; Sun, 2 Nov 1997 11:12:58 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05459; Sun, 2 Nov 1997 20:12:49 +0100 (MET) From: Guido van Rooij Message-Id: <199711021912.UAA05459@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021707.KAA02909@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 10:07:11 am" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:12:48 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > > > > It also does 4. > > Not at sio1 according to the dumpcis output. Are your sure? Se 0c21 and 0x23 -Guido Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 61 00 ff Attribute memory device information: Device number 1, type SRAM, WPS = OFF Speed = 250nS, Memory block size = 512b, 1 units Tuple #3, code = 0x15 (Version 1 info), length = 38 000: 04 01 4e 6f 6b 69 61 20 4d 6f 62 69 6c 65 20 50 010: 68 6f 6e 65 73 00 44 54 50 2d 32 20 76 65 72 20 020: 49 49 00 00 00 ff Version = 4.1, Manuf = [Nokia Mobile Phones],card vers = [DTP-2 ver II] Addit. info = [],[] Tuple #4, code = 0x20 (Manufacturer ID), length = 4 000: 24 01 00 01 PCMCIA ID = 0x124, OEM ID = 0x100 Tuple #5, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #6, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 7c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #7, code = 0x22 (Functional EXT), length = 9 000: 01 1f ff 00 10 00 00 10 00 Modem interface capabilities: Tuple #8, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 26 04 00 01 37 07 00 00 b5 Data modem services available: Tuple #9, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 07 00 ea 00 b5 Tuple #10, code = 0x22 (Functional EXT), length = 8 000: 23 06 00 07 00 ea 00 b5 Tuple #11, code = 0x1a (Configuration map), length = 5 000: 01 24 00 40 07 Reg len = 2, config register addr = 0x4000, last config = 0x24 Registers: XXX----- Tuple #12, code = 0x1b (Configuration entry), length = 18 000: e0 41 99 7f 55 c5 4b d5 19 4d 5d 6d 34 23 30 bc 010: 86 20 Config index = 0x20(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4 x 1V, ext = 0x4b Maximum operating supply voltage: 5 x 1V, ext = 0x19 Continuous supply current: 4.5 x 10mA Max current average over 1 second: 5.5 x 10mA Max current average over 10 ms: 7 x 10mA Power down supply current: 3 x 1mA Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQ level = 3 Max twin cards = 0 Misc attr: (Read-only) (Power down supported) Tuple #13, code = 0x1b (Configuration entry), length = 8 000: 21 18 a3 60 f8 03 07 04 Config index = 0x21 Card decodes 3 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: IRQ level = 4 Tuple #14, code = 0x1b (Configuration entry), length = 8 000: 22 18 a3 60 f8 02 07 03 Config index = 0x22 Card decodes 3 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 IRQ modes: IRQ level = 3 Tuple #15, code = 0x1b (Configuration entry), length = 8 000: 23 18 a3 60 e8 03 07 04 Config index = 0x23 Card decodes 3 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 IRQ modes: IRQ level = 4 Tuple #16, code = 0x1b (Configuration entry), length = 8 000: 24 18 a3 60 e8 02 07 03 Config index = 0x24 Card decodes 3 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 IRQ modes: IRQ level = 3 Tuple #17, code = 0x14 (No link), length = 0 Tuple #18, code = 0xff (Terminator), length = 0 2 slots found From owner-freebsd-mobile Sun Nov 2 11:13:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07071 for mobile-outgoing; Sun, 2 Nov 1997 11:13:26 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07062 for ; Sun, 2 Nov 1997 11:13:23 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id MAA09950; Sun, 2 Nov 1997 12:13:14 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id MAA03336; Sun, 2 Nov 1997 12:13:11 -0700 (MST) Date: Sun, 2 Nov 1997 12:13:11 -0700 (MST) Message-Id: <199711021913.MAA03336@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021902.UAA05413@gvr.gvr.org> References: <199711021708.KAA02917@rocky.mt.sri.com> <199711021902.UAA05413@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > I did that change and it worked. Perhaps it would even be better > > > to be able to configure the irq the pcic will be using. > > > > This is the best solution, but there's no easy solution to implementing > > it. If you can come up with one I'm all ears/eyes. > > Yeah..I've looked at the way it is doen now and it isn't quite easy. Right now assigning an IRQ to a device == claiming it's an ISA device. > Anyway, we could introduce an option so at least we can do both ;-) Options are evil. :) Nate From owner-freebsd-mobile Sun Nov 2 11:15:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07198 for mobile-outgoing; Sun, 2 Nov 1997 11:15:15 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07189 for ; Sun, 2 Nov 1997 11:15:13 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id MAA09962; Sun, 2 Nov 1997 12:15:11 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id MAA03364; Sun, 2 Nov 1997 12:15:08 -0700 (MST) Date: Sun, 2 Nov 1997 12:15:08 -0700 (MST) Message-Id: <199711021915.MAA03364@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: card removal problems In-Reply-To: <199711021903.UAA05422@gvr.gvr.org> References: <199711021712.KAA02976@rocky.mt.sri.com> <199711021903.UAA05422@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I'm confused. You say it would lockup the machine *only* after a driver > > was allocated, or it didn't matter. If it doesn't matter, then > > something is wrong with your PCIC controller, since all we do is apply > > power (or not) to your controller. > > No, this is after I changed pccard.c to go downwards with irq's. So > now I can allocate a driver. So, it'll only lockup your machine *IF* the driver has been allocated, right? This is good, since it means we don't have any hardware problems. Also, it means that whatever the 'power' command was doing, we should be able to do also when 'shutting' down the card at removal time to see if it makes any difference (if there is any difference.) > Is there anything I can do, except low level kernel debugging to > diagnose this? print statements in the PCCARD code and/or sio code. :( Nate From owner-freebsd-mobile Sun Nov 2 11:18:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07386 for mobile-outgoing; Sun, 2 Nov 1997 11:18:51 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07380 for ; Sun, 2 Nov 1997 11:18:46 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id MAA09986; Sun, 2 Nov 1997 12:18:44 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id MAA03389; Sun, 2 Nov 1997 12:18:42 -0700 (MST) Date: Sun, 2 Nov 1997 12:18:42 -0700 (MST) Message-Id: <199711021918.MAA03389@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021912.UAA05459@gvr.gvr.org> References: <199711021707.KAA02909@rocky.mt.sri.com> <199711021912.UAA05459@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Nate Williams wrote: > > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > > > > > > > It also does 4. > > > > Not at sio1 according to the dumpcis output. > > Are your sure? Se 0c21 and 0x23 0x21 is at 0x3f8/sio0, and 0x23 is at 0x3e8/sio3, not at sio1. In the future the IRQ allocation won't be as important since we can really choose any IRQ we want as long as the card thinks it's using one of it's 'acceptable' IRQ's, but we're not yet there. Nate From owner-freebsd-mobile Sun Nov 2 11:26:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07701 for mobile-outgoing; Sun, 2 Nov 1997 11:26:40 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07696 for ; Sun, 2 Nov 1997 11:26:33 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05639; Sun, 2 Nov 1997 20:26:11 +0100 (MET) From: Guido van Rooij Message-Id: <199711021926.UAA05639@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021708.KAA02917@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 10:08:14 am" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:26:11 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > > > down the list. > > See the CVS logs. :) > > > I did that change and it worked. Perhaps it would even be better > > to be able to configure the irq the pcic will be using. > > This is the best solution, but there's no easy solution to implementing > it. If you can come up with one I'm all ears/eyes. It would not be that hard. Modify config to come up with something in ioconf.c. Let's call it card_devtab with something like: id, irq, flags when irq is 0, alloacte one. When it is set, use it. The flags field is for whatever usage. -Guido From owner-freebsd-mobile Sun Nov 2 11:28:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07864 for mobile-outgoing; Sun, 2 Nov 1997 11:28:54 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07854 for ; Sun, 2 Nov 1997 11:28:48 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05665; Sun, 2 Nov 1997 20:28:40 +0100 (MET) From: Guido van Rooij Message-Id: <199711021928.UAA05665@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021913.MAA03336@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 12:13:11 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:28:40 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > > I did that change and it worked. Perhaps it would even be better > > > > to be able to configure the irq the pcic will be using. > > > > > > This is the best solution, but there's no easy solution to implementing > > > it. If you can come up with one I'm all ears/eyes. > > > > Yeah..I've looked at the way it is doen now and it isn't quite easy. > > Right now assigning an IRQ to a device == claiming it's an ISA device. > Why? We could try to assign te irq we want and just fail if it does not work. I do agree it is not as clean as possible, but then again: this is to avoid breakage ;-) > > Anyway, we could introduce an option so at least we can do both ;-) > > Options are evil. :) Bugs are worse. -Guido From owner-freebsd-mobile Sun Nov 2 11:38:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA08634 for mobile-outgoing; Sun, 2 Nov 1997 11:38:41 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA08627 for ; Sun, 2 Nov 1997 11:38:38 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id MAA10133; Sun, 2 Nov 1997 12:38:36 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id MAA03539; Sun, 2 Nov 1997 12:38:33 -0700 (MST) Date: Sun, 2 Nov 1997 12:38:33 -0700 (MST) Message-Id: <199711021938.MAA03539@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021926.UAA05639@gvr.gvr.org> References: <199711021708.KAA02917@rocky.mt.sri.com> <199711021926.UAA05639@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > I did that change and it worked. Perhaps it would even be better > > > to be able to configure the irq the pcic will be using. > > > > This is the best solution, but there's no easy solution to implementing > > it. If you can come up with one I'm all ears/eyes. > > It would not be that hard. Modify config to come up with something > in ioconf.c. Let's call it card_devtab with something like: > id, irq, flags There you go, but that's not trivial. :) > when irq is 0, alloacte one. When it is set, use it. The flags field is > for whatever usage. I await your patches. :) Nate From owner-freebsd-mobile Sun Nov 2 11:41:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA08864 for mobile-outgoing; Sun, 2 Nov 1997 11:41:24 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA08859 for ; Sun, 2 Nov 1997 11:41:21 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id MAA10155; Sun, 2 Nov 1997 12:41:19 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id MAA03575; Sun, 2 Nov 1997 12:41:16 -0700 (MST) Date: Sun, 2 Nov 1997 12:41:16 -0700 (MST) Message-Id: <199711021941.MAA03575@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021928.UAA05665@gvr.gvr.org> References: <199711021913.MAA03336@rocky.mt.sri.com> <199711021928.UAA05665@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > > I did that change and it worked. Perhaps it would even be better > > > > > to be able to configure the irq the pcic will be using. > > > > Right now assigning an IRQ to a device == claiming it's an ISA device. > > > > Why? Because that's the way config works now. :( > > > Anyway, we could introduce an option so at least we can do both ;-) > > > > Options are evil. :) > > Bugs are worse. *CORRECT* solutions solve both. Kludges are worse than bugs when they 'fix' the problem but introduce new bugs. Fixing a bug on one machine but introducing a different one on another machine is worse (by breaking things on their box, by requiring them to do something special or making them work harder than they have to). Nate From owner-freebsd-mobile Sun Nov 2 11:57:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA09561 for mobile-outgoing; Sun, 2 Nov 1997 11:57:28 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA09556 for ; Sun, 2 Nov 1997 11:57:21 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA05961; Sun, 2 Nov 1997 20:57:10 +0100 (MET) From: Guido van Rooij Message-Id: <199711021957.UAA05961@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021938.MAA03539@rocky.mt.sri.com> from Nate Williams at "Nov 2, 97 12:38:33 pm" To: nate@mt.sri.com (Nate Williams) Date: Sun, 2 Nov 1997 20:57:10 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > when irq is 0, alloacte one. When it is set, use it. The flags field is > > for whatever usage. > > I await your patches. :) > One question: if there are muliple pcic's, are they all reporting though the same irq? The reason I ask is that, when looking at the code it seems there is only code for one pcic, whereas the kernel config file show 2 lines for two devices.. -Guido From owner-freebsd-mobile Sun Nov 2 12:36:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA10997 for mobile-outgoing; Sun, 2 Nov 1997 12:36:47 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA10992 for ; Sun, 2 Nov 1997 12:36:43 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id NAA10551; Sun, 2 Nov 1997 13:36:34 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id NAA03863; Sun, 2 Nov 1997 13:36:32 -0700 (MST) Date: Sun, 2 Nov 1997 13:36:32 -0700 (MST) Message-Id: <199711022036.NAA03863@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Guido van Rooij Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711021957.UAA05961@gvr.gvr.org> References: <199711021938.MAA03539@rocky.mt.sri.com> <199711021957.UAA05961@gvr.gvr.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > when irq is 0, alloacte one. When it is set, use it. The flags field is > > > for whatever usage. > > > > I await your patches. :) > > One question: if there are muliple pcic's, are they all reporting though > the same irq? The reason I ask is that, when looking at the code it > seems there is only code for one pcic, whereas the kernel config > file show 2 lines for two devices.. There is really one pcic, and two slots. IMHO the config stuff is backware in that respect, although not totally so since there can be one PCIC/slot. For now, the irq should be configured for the 'card' device,and not the pcic device. :( Nate From owner-freebsd-mobile Sun Nov 2 16:49:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22073 for mobile-outgoing; Sun, 2 Nov 1997 16:49:39 -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 QAA22062 for ; Sun, 2 Nov 1997 16:49:31 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00538; Mon, 3 Nov 1997 11:11:37 +1030 (CST) Message-Id: <199711030041.LAA00538@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Guido van Rooij cc: guido@gvr.gvr.org (Guido van Rooij), nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 12:42:27 BST." <199711021142.MAA03897@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:11:37 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Guido van Rooij wrote: > > > > Perhaps pccard_alloc_intr should start from the higher interrupts and work > > down the list. > > I did that change and it worked. Perhaps it would even be better > to be able to configure the irq the pcic will be using. We have already been over this; the lower interrupt is generally safer based on previous experience. All your change has done is free IRQ 3 which you had erroneously assigned to your card. This demonstrates that there is nothing wrong with anything other than your configuration, and if you assign a free interrupt to your card, it will work. mike From owner-freebsd-mobile Sun Nov 2 16:51:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22165 for mobile-outgoing; Sun, 2 Nov 1997 16:51:23 -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 QAA22160 for ; Sun, 2 Nov 1997 16:51:14 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00519; Mon, 3 Nov 1997 11:09:49 +1030 (CST) Message-Id: <199711030039.LAA00519@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Guido van Rooij cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 12:22:37 BST." <199711021122.MAA02609@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:09:49 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Nate Williams wrote: > > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > It also does 4. Um, am I coming in at a bad place here? Are you talking about a PCCARD that only supports IRQ 3? > > So: > > card "Nokia Mobile Phones" "DTP-2 ver II" > > config 0x22 "sio1" 3 > > > > Should work. > > Hmm..when booting, I see: > PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) > pcic: controller irq 3 > > So irq 3 is in use :-( ... and thus specifying it as the IRQ to use is a really bad idea. > Perhaps pccard_alloc_intr should start from the higher interrupts and work > down the list. Your pccard.conf entry mandates an interrupt that is not available. The pccard code knows this, and refuses to talk to the card. Select a different interrupt. mike From owner-freebsd-mobile Sun Nov 2 16:57:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22615 for mobile-outgoing; Sun, 2 Nov 1997 16:57:24 -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 QAA22604 for ; Sun, 2 Nov 1997 16:57:13 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00584; Mon, 3 Nov 1997 11:19:29 +1030 (CST) Message-Id: <199711030049.LAA00584@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Guido van Rooij cc: guido@gvr.gvr.org (guido), nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG Subject: Re: card removal problems In-reply-to: Your message of "Sun, 02 Nov 1997 15:14:30 BST." <199711021414.PAA04580@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:19:28 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > An update: I tried to remove 2 modem cards for a couple of times. > The Nokia one (irq3) did lock up my system each time (I tried 3 times). > The other one (angia) went ok for 2 times. Note that in the lockup > case, nothing is printed on the console. If you feel like patching things, try putting a test in the sio driver's interrupt handler that checks the 'gone' flag, and puke if it gets an interrupt when the card is 'gone'. It should also perform some basic sanity checks on the data it's getting; the sio interrupt is handled by a fast interrupt handler which will preclude (AFAIK) any other interrupt handler from running. If the modem generates an interrupt as it goes, it's possible that it's spinning forever in the handler. If you want to experiment with this, remove the RI_FAST flag from sioattach(). You should then be able to break into DDB inside siointr1(). mike From owner-freebsd-mobile Sun Nov 2 17:04:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA23054 for mobile-outgoing; Sun, 2 Nov 1997 17:04:39 -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 RAA23044 for ; Sun, 2 Nov 1997 17:04:33 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00637; Mon, 3 Nov 1997 11:27:06 +1030 (CST) Message-Id: <199711030057.LAA00637@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Guido van Rooij cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 20:12:48 BST." <199711021912.UAA05459@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 11:27:06 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Nate Williams wrote: > > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > > > > > > > It also does 4. > > > > Not at sio1 according to the dumpcis output. > > Are your sure? Se 0c21 and 0x23 Remember chaps, the IRQ from the CIS is complete rubbish. PCCARDs only have *one* interrupt pin; it's the routing in the pcic that does the work. mike From owner-freebsd-mobile Sun Nov 2 17:40:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25477 for mobile-outgoing; Sun, 2 Nov 1997 17:40:31 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25469 for ; Sun, 2 Nov 1997 17:40:27 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id SAA12172; Sun, 2 Nov 1997 18:36:53 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id SAA04684; Sun, 2 Nov 1997 18:36:50 -0700 (MST) Date: Sun, 2 Nov 1997 18:36:50 -0700 (MST) Message-Id: <199711030136.SAA04684@rocky.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: Guido van Rooij , guido@gvr.gvr.org (Guido van Rooij), nate@mt.sri.com, freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030041.LAA00538@word.smith.net.au> References: <199711021142.MAA03897@gvr.gvr.org> <199711030041.LAA00538@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 > All your change has done is free IRQ 3 which you had erroneously > assigned to your card. Actually, given the current 'state of affairs' in pccardd, IRQ 3 was the only interrupt that would work at sio1. :( Nate From owner-freebsd-mobile Sun Nov 2 17:41:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25525 for mobile-outgoing; Sun, 2 Nov 1997 17:41:34 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25519 for ; Sun, 2 Nov 1997 17:41:30 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id SAA12179; Sun, 2 Nov 1997 18:37:58 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id SAA04692; Sun, 2 Nov 1997 18:37:57 -0700 (MST) Date: Sun, 2 Nov 1997 18:37:57 -0700 (MST) Message-Id: <199711030137.SAA04692@rocky.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: Guido van Rooij , nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030039.LAA00519@word.smith.net.au> References: <199711021122.MAA02609@gvr.gvr.org> <199711030039.LAA00519@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 > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > > > > It also does 4. > > Um, am I coming in at a bad place here? Are you talking about a PCCARD > that only supports IRQ 3? Yes, the card only supports interrupt 3 @ sio1. (And, FreeBSD doesn't yet have the smarts to fake it out.) > > So irq 3 is in use :-( > > ... and thus specifying it as the IRQ to use is a really bad idea. True, but it's not obvious that it's a bad idea unless you look at the boot messages. Nate From owner-freebsd-mobile Sun Nov 2 17:43:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25602 for mobile-outgoing; Sun, 2 Nov 1997 17:43:29 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25594 for ; Sun, 2 Nov 1997 17:43:24 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id SAA12192; Sun, 2 Nov 1997 18:39:52 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id SAA04709; Sun, 2 Nov 1997 18:39:51 -0700 (MST) Date: Sun, 2 Nov 1997 18:39:51 -0700 (MST) Message-Id: <199711030139.SAA04709@rocky.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: Guido van Rooij , nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030057.LAA00637@word.smith.net.au> References: <199711021912.UAA05459@gvr.gvr.org> <199711030057.LAA00637@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 > > > > > Unfortunately, it looks like it only supports IRQ 3 as well. > > > > > > > > > > > > > It also does 4. > > > > > > Not at sio1 according to the dumpcis output. > > > > Are your sure? Se 0c21 and 0x23 > > Remember chaps, the IRQ from the CIS is complete rubbish. PCCARDs > only have *one* interrupt pin; it's the routing in the pcic that does > the work. Yes, but the current FreeBSD code tells the driver/card that it's using the specific interrupt, so it doesn't always work correctly. We should tell the driver card that it's using an 'acceptable' interrupt, but use whatever one that is free, but we don't. (It's obvious that something is up with this when using the if_ep driver. If I use an 'acceptable' interrupt it works, but if I use a free but not specified interrupt the card doesn't work. :( ) Nate From owner-freebsd-mobile Sun Nov 2 17:50:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25999 for mobile-outgoing; Sun, 2 Nov 1997 17:50:18 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25952; Sun, 2 Nov 1997 17:49:55 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.5) with ESMTP id BAA28582; Mon, 3 Nov 1997 01:21:29 GMT Message-Id: <199711030121.BAA28582@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: nate@FreeBSD.org cc: freebsd-mobile@FreeBSD.org Subject: Positive results Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 01:21:29 +0000 From: Brian Somers Sender: owner-freebsd-mobile@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Just to say that 2.2-STABLE seems just about perfect on my laptop. Suspend/resume w/ a 3c589c works, and the card is now transfering at 600-900k per second !!!! Last time I tested I was getting 200-300k. CD & sound card continue to work too. Well done everyone that was involved :-) If anyone's interested, the machine's an Acer 950: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.5-STABLE #0: Mon Nov 3 00:36:03 GMT 1997 brian@shift.lan.awfulhak.org:/usr/src/sys/compile/SHIFT CPU: Pentium (120.00-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 41943040 (40960K bytes) avail memory = 38424576 (37524K bytes) Probing for devices on PCI bus 0: chip0 rev 173 on pci0:0 pci0:2: ACER Labs, device=0x1449, class=old (misc) [no driver assigned] vga0 rev 0 on pci0:6 pci0:7: CMD, device=0x0640, class=storage (ide) int a irq 14 [no driver assigned] Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1037MB (2125800 sectors), 2362 cyls, 15 heads, 60 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, accel, dma, iordis wcd0: 689Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray wcd0: no disc inside, unlocked ep0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.1 sb0 at 0x240 irq 5 drq 1 on isa sb0: sbxvi0 at 0x240 irq 5 drq 5 on isa sbxvi0: sbmidi0 at 0x330 on isa PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) pcic: controller irq 9 Initializing PC-card drivers: ep sio IP packet filtering initialized, divert disabled, unlimited logging Card inserted, slot 0 ep0: utp/bnc[*UTP*] address 00:a0:24:64:fa:d7 ep0: unload Return IRQ=10 stray irq 10 Card disabled, slot 0 resumed from suspended mode (slept 00:01:31) Card inserted, slot 0 ep0: utp/bnc[*UTP*] address 00:a0:24:64:fa:d7 ep0: unload Return IRQ=10 Card removed, slot 0 stray irq 10 Card inserted, slot 0 ep0: utp/bnc[*UTP*] address 00:a0:24:64:fa:d7 -- Brian , , Don't _EVER_ lose your sense of humour.... From owner-freebsd-mobile Sun Nov 2 17:51:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA26096 for mobile-outgoing; Sun, 2 Nov 1997 17:51:49 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA26080 for ; Sun, 2 Nov 1997 17:51:40 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id SAA12267; Sun, 2 Nov 1997 18:48:53 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id SAA04825; Sun, 2 Nov 1997 18:48:52 -0700 (MST) Date: Sun, 2 Nov 1997 18:48:52 -0700 (MST) Message-Id: <199711030148.SAA04825@rocky.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: Guido van Rooij , guido@gvr.gvr.org (guido), freebsd-mobile@freebsd.org Subject: Re: card removal problems In-Reply-To: <199711030049.LAA00584@word.smith.net.au> References: <199711021414.PAA04580@gvr.gvr.org> <199711030049.LAA00584@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 > > An update: I tried to remove 2 modem cards for a couple of times. > > The Nokia one (irq3) did lock up my system each time (I tried 3 times). > > The other one (angia) went ok for 2 times. Note that in the lockup > > case, nothing is printed on the console. > > If you feel like patching things, try putting a test in the sio > driver's interrupt handler that checks the 'gone' flag, and puke if it > gets an interrupt when the card is 'gone'. This is similar to the (off-line) advice I gave him. > It should also perform some > basic sanity checks on the data it's getting; the sio interrupt is > handled by a fast interrupt handler which will preclude (AFAIK) any > other interrupt handler from running. Actually, no. We don't register any card interrupts as 'fast', which could also be some cause for concern. (Bruce has mentioned it in the past, but things seem to work, so I haven't made any changes.) > If the modem generates an interrupt as it goes, it's possible that > it's spinning forever in the handler. That's my suspicion as well, but there are some sanity checks in there. As I pointed out in private email, we may be missing one or doing it in the wrong order, opening up a race condition. Nate From owner-freebsd-mobile Sun Nov 2 18:25:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA27939 for mobile-outgoing; Sun, 2 Nov 1997 18:25:29 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gta.gta.com (gta.gta.com [199.120.225.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA27929 for ; Sun, 2 Nov 1997 18:25:21 -0800 (PST) (envelope-from paul@gta.com) Message-Id: <199711030231.VAA27824@gta.gta.com> Received: forwarded by SMTP 1.6.0. X-Sender: paul@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Sun, 02 Nov 1997 21:25:03 -0800 To: freebsd-mobile@FreeBSD.ORG From: Paul Emerson Subject: Libretto 50 - US Version and PAO Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I've recently obtained a Toshiba Libretto 50 (English version). I was quite intrested in running FreeBSD on this tiny computer since its been run on the earlier versions of the Libretto. I've install FreeBSD on many different systems, so I am quite familar with the installation process. I've tried to perform the PAO install from the PAO boot floppy, but I am getting some strange errors and have been unable to perform an install in this manner. I've tried using a 3c589 and a SCSI PC Card (aic0) but both devices have problems. On other notebook computers these two exact cards operate correctly. When I configure the kernel and remove the conflicts then move on to the installation process, the devices are not available to the install. Flipping over to a virtual console I see IRQ 10 (which indicated no conflicts), assigned to the 3c589 has problems (messages "ep0 failed to come up"). The same type of problem occurs with aic0, the scsi bus never seems to settle. Questions. 1. Has anyone installed FreeBSD (PAO 2.2.2) on a English version Libretto 50? 2. Are there any known problems with this version of the Libretto? 3. Is it possible that my L50 has some problem specific to it? (I have used all these cards with Win95 just fine). Thanks Paul Paul Emerson Global Technology Associates, Inc. Tel: +1.407.380.0220 x23 Fax: +1.407.380.6080 Mobile: +1.407.497.3379 Email: paul@gta.com From owner-freebsd-mobile Sun Nov 2 19:22:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA00913 for mobile-outgoing; Sun, 2 Nov 1997 19:22:30 -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 TAA00905 for ; Sun, 2 Nov 1997 19:22:18 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA01109; Mon, 3 Nov 1997 13:44:40 +1030 (CST) Message-Id: <199711030314.NAA01109@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , Guido van Rooij , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 18:39:51 PDT." <199711030139.SAA04709@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 13:44:39 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Remember chaps, the IRQ from the CIS is complete rubbish. PCCARDs > > only have *one* interrupt pin; it's the routing in the pcic that does > > the work. > > Yes, but the current FreeBSD code tells the driver/card that it's using > the specific interrupt, so it doesn't always work correctly. We should > tell the driver card that it's using an 'acceptable' interrupt, but use > whatever one that is free, but we don't. Uh, I don't think we are on the same wavelength. Consider: device sio1 at isa? port "IO_COM2" tty irq3 vector siointr # Megahertz XJ4336 card "Megahertz" "XJ4336-CC4336" config 0x21 "sio1" 10 insert echo Modem arrives... remove echo Modem departs... Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 21 08 aa 60 f8 02 07 Config index = 0x21 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 This *works*. To me, it is clear that the IRQ parameter from the pccard.conf entry is being propagated to the sio probe/attach. What am I missing in your example? mike From owner-freebsd-mobile Sun Nov 2 20:23:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA04478 for mobile-outgoing; Sun, 2 Nov 1997 20:23:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA04464 for ; Sun, 2 Nov 1997 20:23:53 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id VAA13132; Sun, 2 Nov 1997 21:22:30 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id VAA05299; Sun, 2 Nov 1997 21:22:28 -0700 (MST) Date: Sun, 2 Nov 1997 21:22:28 -0700 (MST) Message-Id: <199711030422.VAA05299@rocky.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: Nate Williams , Guido van Rooij , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030314.NAA01109@word.smith.net.au> References: <199711030139.SAA04709@rocky.mt.sri.com> <199711030314.NAA01109@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 > > > Remember chaps, the IRQ from the CIS is complete rubbish. PCCARDs > > > only have *one* interrupt pin; it's the routing in the pcic that does > > > the work. > > > > Yes, but the current FreeBSD code tells the driver/card that it's using > > the specific interrupt, so it doesn't always work correctly. We should > > tell the driver card that it's using an 'acceptable' interrupt, but use > > whatever one that is free, but we don't. > > Uh, I don't think we are on the same wavelength. Consider: > > device sio1 at isa? port "IO_COM2" tty irq3 vector siointr > > # Megahertz XJ4336 > card "Megahertz" "XJ4336-CC4336" > config 0x21 "sio1" 10 > insert echo Modem arrives... > remove echo Modem departs... > > Tuple #6, code = 0x1b (Configuration entry), length = 7 > 000: 21 08 aa 60 f8 02 07 > Config index = 0x21 > Card decodes 10 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x2f8 block length = 0x8 You left out the part of the 'supported IRQs' or whatever it says. > This *works*. To me, it is clear that the IRQ parameter from the > pccard.conf entry is being propagated to the sio probe/attach. Yes, but in the CIS tuple, some cards claim to support only some interrupts, so if you use a different interrupt for that index then they don't work. Nate From owner-freebsd-mobile Sun Nov 2 20:26:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA04702 for mobile-outgoing; Sun, 2 Nov 1997 20:26:11 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA04695 for ; Sun, 2 Nov 1997 20:26:07 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id VAA13159; Sun, 2 Nov 1997 21:26:05 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id VAA05318; Sun, 2 Nov 1997 21:26:03 -0700 (MST) Date: Sun, 2 Nov 1997 21:26:03 -0700 (MST) Message-Id: <199711030426.VAA05318@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul Emerson Cc: freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <199711030231.VAA27824@gta.gta.com> References: <199711030231.VAA27824@gta.gta.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Questions. > > 1. Has anyone installed FreeBSD (PAO 2.2.2) on a English version Libretto 50? Warner Losh has. > 2. Are there any known problems with this version of the Libretto? Yes, you cannot charge them while running. > 3. Is it possible that my L50 has some problem specific to it? (I have used > all these cards with Win95 just fine). Possibly, since PAO was developed on a L50, it's running on one English L50 that I know of. Do these cards work in the Win95 that was installed on the Libretto, or just on other machines with Win95? Nate From owner-freebsd-mobile Sun Nov 2 20:48:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA05883 for mobile-outgoing; Sun, 2 Nov 1997 20:48:49 -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 UAA05870 for ; Sun, 2 Nov 1997 20:48:39 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id PAA01498; Mon, 3 Nov 1997 15:10:57 +1030 (CST) Message-Id: <199711030440.PAA01498@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , Guido van Rooij , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 21:22:28 PDT." <199711030422.VAA05299@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 15:10:56 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Tuple #6, code = 0x1b (Configuration entry), length = 7 > > 000: 21 08 aa 60 f8 02 07 > > Config index = 0x21 > > Card decodes 10 address lines, 8 Bit I/O only > > I/O address # 1: block start = 0x2f8 block length = 0x8 > > You left out the part of the 'supported IRQs' or whatever it says. Ah. No, I didn't - there isn't one. Does this mean that pccardd will prefer the IRQ from the CIS tuple over that from the pccard.conf file? > > This *works*. To me, it is clear that the IRQ parameter from the > > pccard.conf entry is being propagated to the sio probe/attach. > > Yes, but in the CIS tuple, some cards claim to support only some > interrupts, so if you use a different interrupt for that index then they > don't work. Which component "doesn't work"? The card has no idea which IRQ it's triggering, and AFAIK the pcic doesn't interpret the CIS, nor does the kernel, so I can't see anything other than pccardd that's at fault here... mike From owner-freebsd-mobile Sun Nov 2 20:52:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA06057 for mobile-outgoing; Sun, 2 Nov 1997 20:52:40 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA06049 for ; Sun, 2 Nov 1997 20:52:35 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSEV2-0007JH-00; Sun, 2 Nov 1997 21:52:28 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id VAA10476 for ; Sun, 2 Nov 1997 21:51:53 -0700 (MST) Message-Id: <199711030451.VAA10476@harmony.village.org> To: mobile@freebsd.org Subject: PAO trials, update Date: Sun, 02 Nov 1997 21:51:53 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk OK. I figured out what happened when I tried to boot the PAO disk. ep0 failed to come ready. I managed to get PAO over to the laptop and rebuild things following the README in 2.2.2-RELEASE from the PAO distribution. I now have a system that mostly work. However, when I insert my 3C589D card, I get the following messages in syslog: ... pccardd[33]: Card "3Com Corporation"("3C589D") matched "3Com Coproration" ("3C589") ep0: failed to come ready. Return IRQ=11 ... /kernel: stray irq 11 ... pccardd[33]: driver allocation failed for 3Com Corporation (Device not confiugred) ... pccardd[33]: pccardd started which looks like pccardd did, in fact, see the card. I have the pccard.conf.sample from the PAO as my config file (and I took irq 10 out of the list, because I think my sound card is at irq 10). So has naybody seen this problem before? What information is needed for me to help you help me debug this problem? My plan is to get an ethernet card working long enough to do a make installworld from a -current tree NFS mounted from my beefy build box. Then track -current from time to time on the laptop. Again, I have a Libretto 50CT and a 3C589D ethernet card. This is with 2.2.2-RELEASE from the walnut creek cdrom (minimal install) using the latest PAO boot disk for that, following the steps as outlined in the PAO README. Thank you for any help that you might be able to render. Warner From owner-freebsd-mobile Sun Nov 2 21:21:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA07332 for mobile-outgoing; Sun, 2 Nov 1997 21:21:49 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA07321 for ; Sun, 2 Nov 1997 21:21:41 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id WAA13465; Sun, 2 Nov 1997 22:20:19 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id WAA05479; Sun, 2 Nov 1997 22:20:17 -0700 (MST) Date: Sun, 2 Nov 1997 22:20:17 -0700 (MST) Message-Id: <199711030520.WAA05479@rocky.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: Nate Williams , Guido van Rooij , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030440.PAA01498@word.smith.net.au> References: <199711030422.VAA05299@rocky.mt.sri.com> <199711030440.PAA01498@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 > > > Tuple #6, code = 0x1b (Configuration entry), length = 7 > > > 000: 21 08 aa 60 f8 02 07 > > > Config index = 0x21 > > > Card decodes 10 address lines, 8 Bit I/O only > > > I/O address # 1: block start = 0x2f8 block length = 0x8 > > > > You left out the part of the 'supported IRQs' or whatever it says. > > Ah. No, I didn't - there isn't one. > > Does this mean that pccardd will prefer the IRQ from the CIS tuple over > that from the pccard.conf file? No, it won't. But the card may not work if the IRQ from the pccard.conf doesn't match the one in the CIS. The FreeBSD pccardd doesn't do anything with the CIS IRQ list in any case. > > > This *works*. To me, it is clear that the IRQ parameter from the > > > pccard.conf entry is being propagated to the sio probe/attach. > > > > Yes, but in the CIS tuple, some cards claim to support only some > > interrupts, so if you use a different interrupt for that index then they > > don't work. > > Which component "doesn't work"? The card has no idea which IRQ it's > triggering, and AFAIK the pcic doesn't interpret the CIS, nor does the > kernel, so I can't see anything other than pccardd that's at fault > here... Don't know. If I try to use the first free irq for my ethernet card it doesn't work (I can't remember which one it is, but it is free). However, if it's one of the 'accepted' IRQ's, it does work. I have no good explanation of why this is the way it is, other than what I stated already. Nate From owner-freebsd-mobile Sun Nov 2 21:32:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA07957 for mobile-outgoing; Sun, 2 Nov 1997 21:32:06 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA07951 for ; Sun, 2 Nov 1997 21:32:03 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSF7J-0007KV-00; Sun, 2 Nov 1997 22:32:01 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id WAA10692; Sun, 2 Nov 1997 22:31:26 -0700 (MST) Message-Id: <199711030531.WAA10692@harmony.village.org> To: Nate Williams Subject: Re: Libretto 50 - US Version and PAO Cc: Paul Emerson , freebsd-mobile@freebsd.org In-reply-to: Your message of "Sun, 02 Nov 1997 21:26:03 MST." <199711030426.VAA05318@rocky.mt.sri.com> References: <199711030426.VAA05318@rocky.mt.sri.com> <199711030231.VAA27824@gta.gta.com> Date: Sun, 02 Nov 1997 22:31:26 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711030426.VAA05318@rocky.mt.sri.com> Nate Williams writes: : > Questions. : > : > 1. Has anyone installed FreeBSD (PAO 2.2.2) on a English version Libretto 50? : : Warner Losh has. I have installed it, but Paul's problems sound real familiar to me as well. : > 2. Are there any known problems with this version of the Libretto? : : Yes, you cannot charge them while running. I can't get the 3C589D card that i have working at all on my FreeBSD boot. : > 3. Is it possible that my L50 has some problem specific to it? (I have used : > all these cards with Win95 just fine). : : Possibly, since PAO was developed on a L50, it's running on one English : L50 that I know of. Do these cards work in the Win95 that was installed : on the Libretto, or just on other machines with Win95? Actually, according to the PAO web page, the testbed was the L30. Maybe something changed between the two of them? I have FreeBSD running on my machine, but it doesn't seem to grok the 3com card, so i've not been able to upgrade to -current. One oddity of the libretto 50CT (and maybe others) is that it doesn't have a 12V line for pc card slot 0. The linksys ethernet card i tried first didn't work under win95, but the 3com 3c589d card works great. in fact, i'm typing using the 3com card right now on the libretto runing win95. So i can report partial success on my libretto. Rumors were at LISA that Linux worked on this box, but i've not seen it actually running. I don't have a scsi card yet, so i can't comment on that. oh, i just noticed that on win95 irq 15 is used for this, as well as i/o addresses 0x0110 to 0x011f. i'll have to see if i can make freebsd us those parameters..... so i'll reboot now and try :-). Warner From owner-freebsd-mobile Sun Nov 2 21:38:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA08302 for mobile-outgoing; Sun, 2 Nov 1997 21:38: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 VAA08297 for ; Sun, 2 Nov 1997 21:38:52 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA01689; Mon, 3 Nov 1997 16:04:55 +1030 (CST) Message-Id: <199711030534.QAA01689@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Sun, 02 Nov 1997 22:20:17 PDT." <199711030520.WAA05479@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 16:04:55 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Which component "doesn't work"? The card has no idea which IRQ it's > > triggering, and AFAIK the pcic doesn't interpret the CIS, nor does the > > kernel, so I can't see anything other than pccardd that's at fault > > here... > > Don't know. If I try to use the first free irq for my ethernet card it > doesn't work (I can't remember which one it is, but it is free). > However, if it's one of the 'accepted' IRQ's, it does work. I have no > good explanation of why this is the way it is, other than what I stated > already. Well, it sounds like my logic above is screwed. Let's be Sherlock: - pccardd doesn't do it (I checked) - the kernel doesn't do it (I checked) - the card _can't_ do it (it has no idea what IRQ is actually being generated) So once the impossible has been eliminated, I can only conclude that the pcic *does* interpret the CIS. Without the PCCARD standard or any pcic documentation to hand I can't go much further than this, but I think we do need to establish whether this is really the case, and if it is, what we can do about it. mike From owner-freebsd-mobile Sun Nov 2 21:50:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA08815 for mobile-outgoing; Sun, 2 Nov 1997 21:50:31 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA08810 for ; Sun, 2 Nov 1997 21:50:25 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSFP0-0007LA-00; Sun, 2 Nov 1997 22:50:18 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id WAA10746; Sun, 2 Nov 1997 22:49:43 -0700 (MST) Message-Id: <199711030549.WAA10746@harmony.village.org> To: Nate Williams Subject: Re: Libretto 50 - US Version and PAO Cc: Paul Emerson , freebsd-mobile@freebsd.org In-reply-to: Your message of "Sun, 02 Nov 1997 21:26:03 MST." <199711030426.VAA05318@rocky.mt.sri.com> References: <199711030426.VAA05318@rocky.mt.sri.com> <199711030231.VAA27824@gta.gta.com> Date: Sun, 02 Nov 1997 22:49:43 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711030426.VAA05318@rocky.mt.sri.com> Nate Williams writes: : Warner Losh has. Well, ok. i have managed to get the 3c589d running on my libretto 50ct under freebsd 2.2.2-RELEASE. i had to use i/o address range 0x110-0x120 and irq 15 in my pccard.conf for it to work. now, hopefully nfs in -current works well enough for me to do a make installworld. Warner From owner-freebsd-mobile Sun Nov 2 21:53:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA08934 for mobile-outgoing; Sun, 2 Nov 1997 21:53:04 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA08925 for ; Sun, 2 Nov 1997 21:52:59 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSFRZ-0007LC-00; Sun, 2 Nov 1997 22:52:57 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id WAA10760 for ; Sun, 2 Nov 1997 22:52:23 -0700 (MST) Message-Id: <199711030552.WAA10760@harmony.village.org> Subject: Re: PAO trials, update Cc: mobile@freebsd.org In-reply-to: Your message of "Sun, 02 Nov 1997 21:51:53 MST." <199711030451.VAA10476@harmony.village.org> References: <199711030451.VAA10476@harmony.village.org> Date: Sun, 02 Nov 1997 22:52:23 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711030451.VAA10476@harmony.village.org> Warner Losh writes: : OK. I figured out what happened when I tried to boot the PAO disk. : ep0 failed to come ready. I managed to get PAO over to the laptop and : rebuild things following the README in 2.2.2-RELEASE from the PAO : distribution. I now have a system that mostly work. However, when I : insert my 3C589D card, I get the following messages in syslog: I hate to followup mt own post. however, if i used irq 15 and i/o range 0x110-0x120 once i got things installed, things started to work. at least well enough to ping. so i've debugged this problem. Warner From owner-freebsd-mobile Sun Nov 2 21:59:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09200 for mobile-outgoing; Sun, 2 Nov 1997 21:59:15 -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 VAA09192 for ; Sun, 2 Nov 1997 21:59:09 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA01754; Mon, 3 Nov 1997 16:24:33 +1030 (CST) Message-Id: <199711030554.QAA01754@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: Nate Williams , Paul Emerson , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Sun, 02 Nov 1997 22:31:26 PDT." <199711030531.WAA10692@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 16:24:32 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > : > 2. Are there any known problems with this version of the Libretto? > : > : Yes, you cannot charge them while running. > > I can't get the 3C589D card that i have working at all on my FreeBSD > boot. The 'D' doesn't work with the 'zp' driver in 2.2.2; it may or may not work with the 'ep' driver; I'm not sure whether the delay problem was specific to 'zp'. mike From owner-freebsd-mobile Sun Nov 2 22:07:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09538 for mobile-outgoing; Sun, 2 Nov 1997 22:07:15 -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 WAA09533 for ; Sun, 2 Nov 1997 22:07:11 -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 PAA08386; Mon, 3 Nov 1997 15:06:34 +0900 (JST) To: Warner Losh cc: Nate Williams , Paul Emerson , freebsd-mobile@FreeBSD.ORG In-reply-to: imp's message of Sun, 02 Nov 1997 22:31:26 MST. <199711030531.WAA10692@harmony.village.org> 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: Libretto 50 - US Version and PAO From: Jun-ichiro itojun Itoh Date: Mon, 03 Nov 1997 15:06:33 +0900 Message-ID: <8382.878537193@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >: > 2. Are there any known problems with this version of the Libretto? >: Yes, you cannot charge them while running. >I can't get the 3C589D card that i have working at all on my FreeBSD >boot. I may not be right, but: I think there may not be an entry for 3C589D card in the /etc/pccard.conf (in the boot floppy) Couldn't you try out with other ethernet cards? >Actually, according to the PAO web page, the testbed was the L30. >Maybe something changed between the two of them? I have FreeBSD >running on my machine, but it doesn't seem to grok the 3com card, so >i've not been able to upgrade to -current. There's no big difference between Libretto 30(Japanese) and Libretto 50 (regardless of US/Japanese). itojun From owner-freebsd-mobile Sun Nov 2 22:35:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA10755 for mobile-outgoing; Sun, 2 Nov 1997 22:35:23 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA10750 for ; Sun, 2 Nov 1997 22:35:20 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSG6Y-0007Lv-00; Sun, 2 Nov 1997 23:35:18 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id XAA10859; Sun, 2 Nov 1997 23:34:39 -0700 (MST) Message-Id: <199711030634.XAA10859@harmony.village.org> To: Jun-ichiro itojun Itoh Subject: Re: Libretto 50 - US Version and PAO Cc: Nate Williams , Paul Emerson , freebsd-mobile@freebsd.org In-reply-to: Your message of "Mon, 03 Nov 1997 15:06:33 +0900." <8382.878537193@coconut.itojun.org> References: <8382.878537193@coconut.itojun.org> Date: Sun, 02 Nov 1997 23:34:39 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <8382.878537193@coconut.itojun.org> Jun-ichiro itojun Itoh writes: : Couldn't you try out with other ethernet cards? No. I just have the one. But it does seem to be working for me now that I'm using irq 15 rather than irq 11. Must have a conflict with irq 11 in the Libretto 50. Warner From owner-freebsd-mobile Sun Nov 2 22:49:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11460 for mobile-outgoing; Sun, 2 Nov 1997 22:49:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA11450 for ; Sun, 2 Nov 1997 22:49:07 -0800 (PST) (envelope-from cau@lectura.CS.Arizona.EDU) Received: from lectura.CS.Arizona.EDU (lectura.CS.Arizona.EDU [192.12.69.186]) by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id XAA23682 for ; Sun, 2 Nov 1997 23:49:06 -0700 (MST) Received: (from cau@localhost) by lectura.CS.Arizona.EDU (8.8.8/8.8.7) id XAA14988 for freebsd-mobile@freebsd.org; Sun, 2 Nov 1997 23:49:05 -0700 (MST) From: "Carlos A. Ugarte" Message-Id: <199711030649.XAA14988@lectura.CS.Arizona.EDU> Subject: Help on installing to a Compaq Contura Aero To: freebsd-mobile@freebsd.org Date: Sun, 2 Nov 1997 23:49:05 -0700 (MST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi there, I'm having some trouble installing 2.2.2-RELEASE on to a Compaq Contura Aero. I've downloaded the PAO boot floppy and got it to boot, but it hangs at a certain part - when it is Initializing PC-card controller... I was going to try and install over the parallel port using one of those laplink cables and PLIP, but it never got that far. For those of you who do not know, the Aeros use a PC-card/PCMCIA floppy (and they only have one PCMCIA slot). I tried removing the floppy card and installing a PCMCIA ethernet card when prompted, but it still hung looking for the PC-card controller. Any ideas? Am I missing something basic here? I've never installed FreeBSD on this (or any other) laptop, but the Aero was working fine before (running DOS). I've seen mention that it works in the PAO docs as well as some of the mailing list archives, so someone must have gotten it running. Thanks for any help. Carlos From owner-freebsd-mobile Sun Nov 2 22:50:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11620 for mobile-outgoing; Sun, 2 Nov 1997 22:50:42 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gta.gta.com (gta.gta.com [199.120.225.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA11612 for ; Sun, 2 Nov 1997 22:50:35 -0800 (PST) (envelope-from paul@gta.com) Message-Id: <199711030656.BAA27966@gta.gta.com> Received: forwarded by SMTP 1.6.0. X-Sender: paul@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 03 Nov 1997 01:49:55 -0800 To: Warner Losh From: Paul Emerson Subject: Re: Libretto 50 - US Version and PAO Cc: freebsd-mobile@FreeBSD.ORG In-Reply-To: <199711030531.WAA10692@harmony.village.org> References: <199711030426.VAA05318@rocky.mt.sri.com> <199711030231.VAA27824@gta.gta.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 22:31 11/2/97 -0700, you wrote: > >I have installed it, but Paul's problems sound real familiar to me as >well. >> >I can't get the 3C589D card that i have working at all on my FreeBSD >boot. > OK, let me make things clear. 1. I have a few 3c589c cards. Both exhibit the same behavior,(IRQ 10) "stray interrupt, etc.", "ep0 won't come up". This message is on one of the virtual consoles durning the install. This card is currently running on my L50 under Win95. The same card works with the PAO boot install on other laptops. 2. I have the Adaptec 1450A. It shows up as aic0. I know this card isn't listed but on other laptops it works with the PAO install using a CDROM. This card fails on the L50 with the PAO install. 3. I've tried using just the L50 stand alone and with the extended port replicator. Both slot were tested but the same results. 4. I've install FreeBSD using the DOS boot/install method (I have a Win95 and FreeBSD partitions). So I have it install but all the card fail with the PAO kernel (modem, ethernet and scsi). Using the standard 2.2.2 (non-pao kernel) I can use the ethernet 3c589 as the zp device. 5. I've corresponded with a guy in Hong Kong who just did a PAO install on a L50 (Japaneese model). He had no problems: 3c589c Irq10. Conclusions 1. Hardware must be OK as all the card work correctly on the same machine under Win95 2. Perhaps something is different between the Japanese and English model. 3. Something is incorrect in the PAO kernel. Paul Paul Emerson Global Technology Associates, Inc. Tel: +1.407.380.0220 x23 Fax: +1.407.380.6080 Mobile: +1.407.497.3379 Email: paul@gta.com From owner-freebsd-mobile Sun Nov 2 22:58:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11975 for mobile-outgoing; Sun, 2 Nov 1997 22:58:20 -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 WAA11967 for ; Sun, 2 Nov 1997 22:58:15 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA01957; Mon, 3 Nov 1997 17:23:53 +1030 (CST) Message-Id: <199711030653.RAA01957@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: Jun-ichiro itojun Itoh , Nate Williams , Paul Emerson , freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Sun, 02 Nov 1997 23:34:39 PDT." <199711030634.XAA10859@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 17:23:53 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In message <8382.878537193@coconut.itojun.org> Jun-ichiro itojun Itoh writes: > : Couldn't you try out with other ethernet cards? > > No. I just have the one. But it does seem to be working for me now > that I'm using irq 15 rather than irq 11. Must have a conflict with > irq 11 in the Libretto 50. Just following on a discussion with Nate about the whole IRQ-in-CIS thing; can you throw the 'pccard dumpcis' output for your '589 this way, as well as the configuration index that you're currently using? Ta. mike From owner-freebsd-mobile Sun Nov 2 23:43:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA14017 for mobile-outgoing; Sun, 2 Nov 1997 23:43:16 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from shell3.ba.best.com (mcravit@shell3.ba.best.com [206.184.139.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA14012 for ; Sun, 2 Nov 1997 23:43:14 -0800 (PST) (envelope-from mcravit@shell3.ba.best.com) Received: from localhost (mcravit@localhost) by shell3.ba.best.com (8.8.7/8.7.3) with SMTP id XAA00462 for ; Sun, 2 Nov 1997 23:43:14 -0800 (PST) Date: Sun, 2 Nov 1997 23:43:14 -0800 (PST) From: Matthew Cravit To: freebsd-mobile@freebsd.org Subject: Problems with sounds on a Toshiba Satellite 205 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a Toshiba Satellite 205CDS laptop, and am running FreeBSD 2.2.2-RELEASE. I'm having some trouble getting the sound card configured properly. I've now gotten things to the point where I can do a cat testfile.au > /dev/audio and have it play, but when I try things like the RealAudio player, I get only static from the speakers. This laptop has an ESS AudioDrive sound chipset. The kernel configuration I'm using looks like: controller snd0 device sb0 at isa? port 0x220 irq 10 drq 1 vector sbintr device opl0 at isa? port 0x388 conflicts options SBC_IRQ=10 and when the system boots, I get the following: sb0 at 0x220 irq 10 drq 1 on isa sb0: opl0 at 0x388 on isa opl0: Does anyone have any suggestions, pointers, or other places I should be looking? This is the only thing that's still not working since I moved from Linux to FreeBSD, and it's getting a bit frustrating. Thanks in advance. /MC -- Matthew Cravit, N9VWG | Experience is what allows you to E-mail: mcravit@best.com (home) | recognize a mistake the second mcravit@taos.com (work) | time you make it. From owner-freebsd-mobile Mon Nov 3 00:49:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA18219 for mobile-outgoing; Mon, 3 Nov 1997 00:49:44 -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 AAA18211 for ; Mon, 3 Nov 1997 00:49:37 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id TAA02405; Mon, 3 Nov 1997 19:15:30 +1030 (CST) Message-Id: <199711030845.TAA02405@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Matthew Cravit cc: freebsd-mobile@freebsd.org Subject: Re: Problems with sounds on a Toshiba Satellite 205 In-reply-to: Your message of "Sun, 02 Nov 1997 23:43:14 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Nov 1997 19:15:30 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > and have it play, but when I try things like the RealAudio player, I get > only static from the speakers. This laptop has an ESS AudioDrive sound > chipset. The kernel configuration I'm using looks like: You appear to be running in Soundblaster emulation mode. The SB Pro is an 8-bit mono adapter; your RA player is probably trying to run stereo and/or 16-bit audio data. (I see similar results on a 220CDS) mike From owner-freebsd-mobile Mon Nov 3 01:13:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA19549 for mobile-outgoing; Mon, 3 Nov 1997 01:13:03 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from DonaldBurr.dyn.ml.org (root@199-170-160-99.la.inreach.net [199.107.160.99]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA19542 for ; Mon, 3 Nov 1997 01:12:59 -0800 (PST) (envelope-from dburr@POBoxes.com) Received: from DonaldBurr.dyn.ml.org (dburr@DonaldBurr.DonaldBurr.dyn.ml.org [192.160.60.1]) by DonaldBurr.dyn.ml.org (8.8.5/8.8.5) with SMTP id BAA19381; Mon, 3 Nov 1997 01:13:54 -0800 (PST) Message-ID: X-Mailer: XFMail 1.1 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 03 Nov 1997 01:10:49 -0800 (PST) Organization: Starfleet Command From: Donald Burr To: Matthew Cravit Subject: RE: Problems with sounds on a Toshiba Satellite 205 Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- My secret spy satellite informs me that on 03-Nov-97, Matthew Cravit wrote: >I have a Toshiba Satellite 205CDS laptop, and am running FreeBSD >2.2.2-RELEASE. I'm having some trouble getting the sound card configured >properly. I've now gotten things to the point where I can do a > >cat testfile.au > /dev/audio > >and have it play, but when I try things like the RealAudio player, I get >only static from the speakers. This laptop has an ESS AudioDrive sound >chipset. The kernel configuration I'm using looks like: Sadly, many soundcards (and built-in sound support modules) that claim to be "16-bit" really are only 8-bit cards. Some programs are picky about the hardware they run on, and RealAudio is one of these programs. You have to tell it that you are using an 8-bit device. To do this, run raplayer, go into the "View" menu, choose "Preferences", then click on the "Advanced" tab. Be sure to select the "Disable 16-bit sound (use 8-bit only)" tab. I had the exact same problem with my old laptop, a CTX EZBOOK 486, which also used the ESS chipset. - --- Donald Burr - Ask me for my PGP key | PGP: Your WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. Phone: (805) 957-9666 FAX: (800) 492-5954 | USE IT. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNF2Vz/jpixuAwagxAQHUMgP+LrVdfnYZDo0QJOVjn+sVqseAaKIEyF2c /jDlnG4HRvZvfbxF79YKpgF6+XJRa50u879Lg6k03xiZuD4tqY/wXi3XbiVzjqmN I3puaXWqkUDCtcu6kt7a4Qsy6eFWy7Phm5r7F5VXimiBtmONO29SbFEM9pmWVf4s cWPtFNnBk/s= =7y1r -----END PGP SIGNATURE----- From owner-freebsd-mobile Mon Nov 3 04:57:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA29495 for mobile-outgoing; Mon, 3 Nov 1997 04:57:06 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from postman.opengroup.org (postman.opengroup.org [130.105.1.152]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA29487 for ; Mon, 3 Nov 1997 04:57:03 -0800 (PST) (envelope-from loverso@opengroup.org) Received: from opengroup.org (coltsfoot.camb.opengroup.org [130.105.3.72]) by postman.opengroup.org (8.8.6/8.8.6) with ESMTP id HAA22447; Mon, 3 Nov 1997 07:56:03 -0500 (EST) Message-Id: <199711031256.HAA22447@postman.opengroup.org> To: Matthew Cravit Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Problems with sounds on a Toshiba Satellite 205 In-reply-to: Message from Matthew Cravit . X-Face: "UZ!}1W2N?eJdN(`1%|/OOPqJ).Idk?UyvWw'W-%`Gto8^IkEm>.g1O$[.;~}8E=Ire0|lO .o>:NlJS1@vO9bVmswRoq3j DdX9YGSeJ5a(mfX[1u>Z63G5_^+'8LVqjqvn X-Url: http://www.osf.org/~loverso/ Date: Mon, 03 Nov 1997 07:55:54 -0500 From: John Robert LoVerso Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > cat testfile.au > /dev/audio > and have it play, but when I try things like the RealAudio player, I get > only static from the speakers. Make sure you check off the '8 bit only' box in the RealAudio player configuration. I always need to do this with my laptop with an ESS that is being used in SB emulation mode (8 bit). John From owner-freebsd-mobile Mon Nov 3 08:27:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA11949 for mobile-outgoing; Mon, 3 Nov 1997 08:27:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA11944 for ; Mon, 3 Nov 1997 08:27:53 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id JAA17141; Mon, 3 Nov 1997 09:26:09 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA07117; Mon, 3 Nov 1997 09:26:05 -0700 (MST) Date: Mon, 3 Nov 1997 09:26:05 -0700 (MST) Message-Id: <199711031626.JAA07117@rocky.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: Warner Losh , Nate Williams , Paul Emerson , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <199711030554.QAA01754@word.smith.net.au> References: <199711030531.WAA10692@harmony.village.org> <199711030554.QAA01754@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 can't get the 3C589D card that i have working at all on my FreeBSD > > boot. > > The 'D' doesn't work with the 'zp' driver in 2.2.2; it may or may not > work with the 'ep' driver; I'm not sure whether the delay problem was > specific to 'zp'. It works fine with the zp driver in 2.2.5, and worked with the ep driver all along. Nate From owner-freebsd-mobile Mon Nov 3 08:28:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA12038 for mobile-outgoing; Mon, 3 Nov 1997 08:28:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA12021 for ; Mon, 3 Nov 1997 08:28:43 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id JAA17166; Mon, 3 Nov 1997 09:28:35 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA07134; Mon, 3 Nov 1997 09:28:33 -0700 (MST) Date: Mon, 3 Nov 1997 09:28:33 -0700 (MST) Message-Id: <199711031628.JAA07134@rocky.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: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030534.QAA01689@word.smith.net.au> References: <199711030520.WAA05479@rocky.mt.sri.com> <199711030534.QAA01689@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 > > > Which component "doesn't work"? The card has no idea which IRQ it's > > > triggering, and AFAIK the pcic doesn't interpret the CIS, nor does the > > > kernel, so I can't see anything other than pccardd that's at fault > > > here... > > > > Don't know. If I try to use the first free irq for my ethernet card it > > doesn't work (I can't remember which one it is, but it is free). > > However, if it's one of the 'accepted' IRQ's, it does work. I have no > > good explanation of why this is the way it is, other than what I stated > > already. > > Well, it sounds like my logic above is screwed. Let's be Sherlock: > > - pccardd doesn't do it (I checked) As did I. > - the kernel doesn't do it (I checked) It never did. > - the card _can't_ do it (it has no idea what IRQ is actually being > generated) Is that true? How do you know that it doesn't know which IRQ is being used via the driver? > So once the impossible has been eliminated, I can only conclude that > the pcic *does* interpret the CIS. But it doesn't, I checked. :) Nate From owner-freebsd-mobile Mon Nov 3 08:30:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA12210 for mobile-outgoing; Mon, 3 Nov 1997 08:30:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA12204 for ; Mon, 3 Nov 1997 08:30:43 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id JAA17170; Mon, 3 Nov 1997 09:29:34 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA07142; Mon, 3 Nov 1997 09:29:32 -0700 (MST) Date: Mon, 3 Nov 1997 09:29:32 -0700 (MST) Message-Id: <199711031629.JAA07142@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jun-ichiro itojun Itoh Cc: Warner Losh , Nate Williams , Paul Emerson , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <8382.878537193@coconut.itojun.org> References: <199711030531.WAA10692@harmony.village.org> <8382.878537193@coconut.itojun.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >: > 2. Are there any known problems with this version of the Libretto? > >: Yes, you cannot charge them while running. > >I can't get the 3C589D card that i have working at all on my FreeBSD > >boot. > > I may not be right, but: > I think there may not be an entry for 3C589D card in the > /etc/pccard.conf (in the boot floppy) There is one, since it's the same for all the rest of the 3C589 cards. > There's no big difference between Libretto 30(Japanese) and > Libretto 50 (regardless of US/Japanese). Actually, there is quite a difference between the 30 and the 50. The hardware is faster, etc... Nate From owner-freebsd-mobile Mon Nov 3 08:48:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA13507 for mobile-outgoing; Mon, 3 Nov 1997 08:48:46 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA13495 for ; Mon, 3 Nov 1997 08:48:37 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id JAA17280; Mon, 3 Nov 1997 09:47:54 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA07259; Mon, 3 Nov 1997 09:47:53 -0700 (MST) Date: Mon, 3 Nov 1997 09:47:53 -0700 (MST) Message-Id: <199711031647.JAA07259@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul Emerson Cc: Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <199711030656.BAA27966@gta.gta.com> References: <199711030426.VAA05318@rocky.mt.sri.com> <199711030231.VAA27824@gta.gta.com> <199711030531.WAA10692@harmony.village.org> <199711030656.BAA27966@gta.gta.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >I can't get the 3C589D card that i have working at all on my FreeBSD > >boot. > > > OK, let me make things clear. > > 1. I have a few 3c589c cards. Both exhibit the same behavior,(IRQ 10) > "stray interrupt, etc.", "ep0 won't come up". This message is on one of > the virtual > consoles durning the install. This card is currently running on my L50 > under Win95. The same card works with the PAO boot install on other laptops. Did you get Warner's email? It *might* be due to the io settings, and not related to the IRQ, or maybe related to both the IRQ and io settings used by pccardd. > 2. I have the Adaptec 1450A. It shows up as aic0. I know this card isn't > listed but on other laptops it works with the PAO install using a CDROM. > This card fails on the L50 with the PAO install. Again, if the io settings are hosed, then nothing will work right. > 3. I've tried using just the L50 stand alone and with the extended port > replicator. > Both slot were tested but the same results. Both slots? I thought it only had one slot? > 4. I've install FreeBSD using the DOS boot/install method (I have a Win95 > and FreeBSD partitions). So I have it install but all the card fail with > the PAO kernel (modem, ethernet and scsi). Using the standard 2.2.2 > (non-pao kernel) I can use the ethernet 3c589 as the zp device. That's a good sign. > Conclusions > > 1. Hardware must be OK as all the card work correctly on the same machine > under Win95 Agreed. > 2. Perhaps something is different between the Japanese and English model. See Warner's experience described in email. > 3. Something is incorrect in the PAO kernel. Something is assumed incorrectly in the PAO kernel for your box, yes. Nate From owner-freebsd-mobile Mon Nov 3 08:50:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA13642 for mobile-outgoing; Mon, 3 Nov 1997 08:50:27 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA13634 for ; Mon, 3 Nov 1997 08:50:21 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id JAA17307; Mon, 3 Nov 1997 09:50:20 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA07277; Mon, 3 Nov 1997 09:50:16 -0700 (MST) Date: Mon, 3 Nov 1997 09:50:16 -0700 (MST) Message-Id: <199711031650.JAA07277@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Carlos A. Ugarte" Cc: freebsd-mobile@freebsd.org Subject: Re: Help on installing to a Compaq Contura Aero In-Reply-To: <199711030649.XAA14988@lectura.CS.Arizona.EDU> References: <199711030649.XAA14988@lectura.CS.Arizona.EDU> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm having some trouble installing 2.2.2-RELEASE on to a Compaq > Contura Aero. I've downloaded the PAO boot floppy and got it to > boot, but it hangs at a certain part - when it is The PAO boot floppy is too different from the stock 2.2.2 sources (or 2.2.5 sources) for me to be of any help. Unfortunately, the diffs to build a boot floppy are not distributed, so I can't even build you one using stock FreeBSD sources, so this one must be answered by any Nomad's on this list. Sorry, Nate From owner-freebsd-mobile Mon Nov 3 13:29:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05479 for mobile-outgoing; Mon, 3 Nov 1997 13:29:19 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05473 for ; Mon, 3 Nov 1997 13:29:10 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id WAA10801; Mon, 3 Nov 1997 22:26:33 +0100 (MET) From: Guido van Rooij Message-Id: <199711032126.WAA10801@gvr.gvr.org> Subject: Re: problems after PAO -> 2.2.5 stable In-Reply-To: <199711030534.QAA01689@word.smith.net.au> from Mike Smith at "Nov 3, 97 04:04:55 pm" To: mike@smith.net.au (Mike Smith) Date: Mon, 3 Nov 1997 22:26:33 +0100 (MET) Cc: nate@mt.sri.com, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Well, it sounds like my logic above is screwed. Let's be Sherlock: > > - pccardd doesn't do it (I checked) > - the kernel doesn't do it (I checked) > - the card _can't_ do it (it has no idea what IRQ is actually being > generated) > > So once the impossible has been eliminated, I can only conclude that > the pcic *does* interpret the CIS. > Mine does not. I now configured it to use irq 11 (thoygh the cis tuples only mention 3 and 4). -Guido From owner-freebsd-mobile Mon Nov 3 13:59:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA07803 for mobile-outgoing; Mon, 3 Nov 1997 13:59:48 -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 NAA07788 for ; Mon, 3 Nov 1997 13:59:45 -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 AA09383; Mon, 3 Nov 1997 13:59:38 -0800 Date: Mon, 3 Nov 1997 13:59:38 -0800 (PST) From: "Brian N. Handy" To: Nate Williams Cc: freebsd-mobile@freebsd.org Subject: Status: TP560 In-Reply-To: <199711020215.TAA00954@rocky.mt.sri.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 Well, running the most recent -STABLE additions plus the patch Nate posted here, my laptop 'mostly' works. I can suspend with either my 3C589D or my Megahertz XJ4336 installed and it suspends and resumes like it's supposed to. The only problem I have now is sometimes on resume it doesn't get the card back in the system correctly. What do I mean? Well, when you pull a card, you get something like this: Nov 3 13:54:33 kriek /kernel: Card removed, slot 0 And later, when either you resume or you insert a card, you first get... Nov 3 13:54:41 kriek /kernel: Card inserted, slot 0 ...followed by a short time period, then a: Nov 3 13:54:51 kriek /kernel: ep0: utp/bnc[*UTP*] address 00:60:97:8d:83:ba My problem seems to be that when I suspend, it doesn't always finish the above job upon resume. I get the message that the card was inserted, but it never finishes coming up. (E.g., this second line never makes it into the syslog.) This happens with both my enet card and the modem card. Popping the card out and putting it back in always works. Brian From owner-freebsd-mobile Mon Nov 3 14:05:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA08292 for mobile-outgoing; Mon, 3 Nov 1997 14:05:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA08287 for ; Mon, 3 Nov 1997 14:05:55 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id PAA19363; Mon, 3 Nov 1997 15:05:47 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA09008; Mon, 3 Nov 1997 15:05:45 -0700 (MST) Date: Mon, 3 Nov 1997 15:05:45 -0700 (MST) Message-Id: <199711032205.PAA09008@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Brian N. Handy" Cc: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Status: TP560 In-Reply-To: References: <199711020215.TAA00954@rocky.mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Well, running the most recent -STABLE additions plus the patch Nate posted > here, my laptop 'mostly' works. I can suspend with either my 3C589D or my > Megahertz XJ4336 installed and it suspends and resumes like it's supposed > to. What happens when it doesn't want to suspend, and you tell it to try and it fails? (Or, doesn't that happen with your setup?) > The only problem I have now is sometimes on resume it doesn't get the card > back in the system correctly. What do I mean? Well, when you pull a > card, you get something like this: ... > > My problem seems to be that when I suspend, it doesn't always finish the > [] job upon resume. Hmm..... Have you dinked with the cards at all? There is the possibility that the driver doesn't think it needs to configure a driver since nothing has changed. I know how to 'fix it', but I wasn't sure it it ever happened. If you haven't touched the cards, then I'm pretty sure what's happening, and there is a simple solution to it. Nate From owner-freebsd-mobile Mon Nov 3 16:49:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17949 for mobile-outgoing; Mon, 3 Nov 1997 16:49:08 -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 QAA17942 for ; Mon, 3 Nov 1997 16:49:02 -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 JAA22972; Tue, 4 Nov 1997 09:48:43 +0900 (JST) To: Nate Williams cc: freebsd-mobile@FreeBSD.ORG In-reply-to: nate's message of Mon, 03 Nov 1997 09:29:32 MST. <199711031629.JAA07142@rocky.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: Libretto 50 - US Version and PAO From: Jun-ichiro itojun Itoh Date: Tue, 04 Nov 1997 09:48:43 +0900 Message-ID: <22968.878604523@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> There's no big difference between Libretto 30(Japanese) and >> Libretto 50 (regardless of US/Japanese). >Actually, there is quite a difference between the 30 and the 50. The >hardware is faster, etc... I know those machines well. does CPU speed or IDE disk size affect the behavior of pcic? :-) itojun From owner-freebsd-mobile Mon Nov 3 16:52:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA18240 for mobile-outgoing; Mon, 3 Nov 1997 16:52:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA18235 for ; Mon, 3 Nov 1997 16:52:14 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id RAA20511; Mon, 3 Nov 1997 17:52:11 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id RAA10415; Mon, 3 Nov 1997 17:52:09 -0700 (MST) Date: Mon, 3 Nov 1997 17:52:09 -0700 (MST) Message-Id: <199711040052.RAA10415@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jun-ichiro itojun Itoh Cc: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <22968.878604523@coconut.itojun.org> References: <199711031629.JAA07142@rocky.mt.sri.com> <22968.878604523@coconut.itojun.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> There's no big difference between Libretto 30(Japanese) and > >> Libretto 50 (regardless of US/Japanese). > >Actually, there is quite a difference between the 30 and the 50. The > >hardware is faster, etc... > > I know those machines well. does CPU speed or IDE disk size > affect the behavior of pcic? :-) No, but there may be other (less obvious) changes that affect the PCIC. It appears there is given Warner's experiences. Nate From owner-freebsd-mobile Mon Nov 3 17:07:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19668 for mobile-outgoing; Mon, 3 Nov 1997 17:07:48 -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 RAA19663 for ; Mon, 3 Nov 1997 17:07:43 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00412; Tue, 4 Nov 1997 11:33:36 +1030 (CST) Message-Id: <199711040103.LAA00412@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , freebsd-mobile@freebsd.org Subject: Re: problems after PAO -> 2.2.5 stable In-reply-to: Your message of "Mon, 03 Nov 1997 09:28:33 PDT." <199711031628.JAA07134@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Nov 1997 11:33:34 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > - the card _can't_ do it (it has no idea what IRQ is actually being > > generated) > > Is that true? How do you know that it doesn't know which IRQ is being > used via the driver? I must be slow; I can only see one window here: - The card is supported by a driver for "normal" ISA cards. - The driver ignores the IRQ passed in the isa_device structure and instead reads an IRQ value from the card. - The card reports its configured IRQ based on the config index selected. The obvious culprit here then is the driver, which is our problem. Does the ep driver do this? In any other case, how can it matter what the card thinks? If it wants to generate an interrupt, it has exactly one pin it can wiggle; regardless of what it thinks the pin is connected to, it's what the pcic does with it that matters. I was suspecting that the pcic was trying to be smart, but now you've shot that down, and Guido has demonstrated that it's not a problem for him either. mike From owner-freebsd-mobile Mon Nov 3 19:51:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA04412 for mobile-outgoing; Mon, 3 Nov 1997 19:51:19 -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 TAA04374 for ; Mon, 3 Nov 1997 19:51:06 -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 AA16226; Mon, 3 Nov 1997 19:50:00 -0800 Date: Mon, 3 Nov 1997 19:50:00 -0800 (PST) From: "Brian N. Handy" To: Nate Williams Cc: freebsd-mobile@freebsd.org Subject: Re: Status: TP560 In-Reply-To: <199711032205.PAA09008@rocky.mt.sri.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 >> Well, running the most recent -STABLE additions plus the patch Nate posted >> here, my laptop 'mostly' works. I can suspend with either my 3C589D or my >> Megahertz XJ4336 installed and it suspends and resumes like it's supposed >> to. > >What happens when it doesn't want to suspend, and you tell it to try and >it fails? (Or, doesn't that happen with your setup?) It suspends just fine. The only obvious problem seems to occur when I resume. >> My problem seems to be that when I suspend, it doesn't always finish the >> [] job upon resume. > >Hmm..... Have you dinked with the cards at all? Nope. >There is the possibility that the driver doesn't think it needs to >configure a driver since nothing has changed. I know how to 'fix it', >but I wasn't sure it it ever happened. If you haven't touched the >cards, then I'm pretty sure what's happening, and there is a simple >solution to it. The cards were left alone, in their slots when this happens. Brian From owner-freebsd-mobile Mon Nov 3 21:07:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09912 for mobile-outgoing; Mon, 3 Nov 1997 21:07:14 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA09906 for ; Mon, 3 Nov 1997 21:07:07 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id WAA22092; Mon, 3 Nov 1997 22:07:00 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id WAA11746; Mon, 3 Nov 1997 22:06:58 -0700 (MST) Date: Mon, 3 Nov 1997 22:06:58 -0700 (MST) Message-Id: <199711040506.WAA11746@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Brian N. Handy" Cc: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Status: TP560 In-Reply-To: References: <199711032205.PAA09008@rocky.mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> Well, running the most recent -STABLE additions plus the patch Nate posted > >> here, my laptop 'mostly' works. I can suspend with either my 3C589D or my > >> Megahertz XJ4336 installed and it suspends and resumes like it's supposed > >> to. > > > >What happens when it doesn't want to suspend, and you tell it to try and > >it fails? (Or, doesn't that happen with your setup?) > > It suspends just fine. The only obvious problem seems to occur when I > resume. OK. I want to know what happens when you attempt to suspend the box with 'zzz', and the APM BIOS says 'NO WAY'. I suppose I'll have to try and test it myself unless John Polstra gets around to it. > >> My problem seems to be that when I suspend, it doesn't always finish the > >> [] job upon resume. > > > >Hmm..... Have you dinked with the cards at all? > > Nope. *sigh* OK, I'll look into fixing it, but it's not going to happen anytime soon since I'm leaving to go interview the end of this week (not for me, for people who want jobs. :), and I'm preparing materials for it now. Nate From owner-freebsd-mobile Mon Nov 3 23:03:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA17445 for mobile-outgoing; Mon, 3 Nov 1997 23:03:52 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA17440 for ; Mon, 3 Nov 1997 23:03:48 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSd1V-00008G-00; Tue, 4 Nov 1997 00:03:37 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id AAA03199; Tue, 4 Nov 1997 00:03:11 -0700 (MST) Message-Id: <199711040703.AAA03199@harmony.village.org> To: Mike Smith Subject: Re: Libretto 50 - US Version and PAO Cc: Jun-ichiro itojun Itoh , Nate Williams , Paul Emerson , freebsd-mobile@freebsd.org In-reply-to: Your message of "Mon, 03 Nov 1997 17:23:53 +1030." <199711030653.RAA01957@word.smith.net.au> References: <199711030653.RAA01957@word.smith.net.au> Date: Tue, 04 Nov 1997 00:03:10 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711030653.RAA01957@word.smith.net.au> Mike Smith writes: : Just following on a discussion with Nate about the whole IRQ-in-CIS : thing; can you throw the 'pccard dumpcis' output for your '589 this : way, as well as the configuration index that you're currently using? Further experimentation has shown that the irq makes no difference at all. What really did matter was the i/o range. The range 0x240-0x2e0 was what caused the problems. After removing that range of addresses and adding irqs, I was able to bring up the card on irq 10, 11 and 15. Also a warning. The format of pccard.conf has changed between 2.2.2R PAO and -current, so a make installworld needs some help before you'll have -current on your machine. BTW, has anybody been able to get the Libretto 30 XFConfig file working on the 50? I'm having problems getting to work, but that may be due to the way I installed XFree86... none of the lib*.a files were installed the first time... I'm trying again, but nfs is slow... Warner From owner-freebsd-mobile Mon Nov 3 23:12:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18249 for mobile-outgoing; Mon, 3 Nov 1997 23:12:30 -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 XAA18240 for ; Mon, 3 Nov 1997 23:12:25 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA01681; Tue, 4 Nov 1997 17:38:26 +1030 (CST) Message-Id: <199711040708.RAA01681@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 00:03:10 PDT." <199711040703.AAA03199@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Nov 1997 17:38:26 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In message <199711030653.RAA01957@word.smith.net.au> Mike Smith writes: > : Just following on a discussion with Nate about the whole IRQ-in-CIS > : thing; can you throw the 'pccard dumpcis' output for your '589 this > : way, as well as the configuration index that you're currently using? > > Further experimentation has shown that the irq makes no difference at > all. What really did matter was the i/o range. The range 0x240-0x2e0 > was what caused the problems. After removing that range of addresses > and adding irqs, I was able to bring up the card on irq 10, 11 and 15. Gotcha. Want to bet there's something at 0x240? Nate; you're the last source of "the IRQ matters" evidence - can we reevaluate this when you're free to test your set? mike From owner-freebsd-mobile Mon Nov 3 23:17:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18456 for mobile-outgoing; Mon, 3 Nov 1997 23:17:54 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA18451 for ; Mon, 3 Nov 1997 23:17:50 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSdFF-00008c-00; Tue, 4 Nov 1997 00:17:49 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id AAA03266; Tue, 4 Nov 1997 00:17:23 -0700 (MST) Message-Id: <199711040717.AAA03266@harmony.village.org> To: Mike Smith Subject: Re: Libretto 50 - US Version and PAO Cc: freebsd-mobile@freebsd.org In-reply-to: Your message of "Tue, 04 Nov 1997 17:38:26 +1030." <199711040708.RAA01681@word.smith.net.au> References: <199711040708.RAA01681@word.smith.net.au> Date: Tue, 04 Nov 1997 00:17:23 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711040708.RAA01681@word.smith.net.au> Mike Smith writes: : Gotcha. Want to bet there's something at 0x240? lots of money :-). i haven't booted windows to find out what the hardware is, but sound cards are generally to blame.... Warner From owner-freebsd-mobile Tue Nov 4 00:30:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA23786 for mobile-outgoing; Tue, 4 Nov 1997 00:30:29 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA23776 for ; Tue, 4 Nov 1997 00:30:23 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id AAA09693; Tue, 4 Nov 1997 00:30:22 -0800 (PST) Message-ID: <19971104003022.26835@hydrogen.nike.efn.org> Date: Tue, 4 Nov 1997 00:30:22 -0800 From: John-Mark Gurney To: FreeBSD Mobile Subject: problems resuming hard disk... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk well.. the new resume code works beautifully on my Toshiba T1960CS.. now I have major problems resuming when I have multi-block enabled on the hard disk... if I have it disabled, it comes up immediately, otherwise sometimes I have to wait for it to unwedge... other times it failes to unwedge, and I loose my machine... is there any plans on improving the code so that it will do a proper initalization of the hard disk upon resume? any ideas? running -current from a few days ago.... thanks for the help.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Tue Nov 4 01:24:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA27592 for mobile-outgoing; Tue, 4 Nov 1997 01:24:47 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA27577 for ; Tue, 4 Nov 1997 01:24:41 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id KAA21389; Tue, 4 Nov 1997 10:23:35 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John-Mark Gurney cc: FreeBSD Mobile Subject: Re: problems resuming hard disk... In-reply-to: Your message of "Tue, 04 Nov 1997 00:30:22 PST." <19971104003022.26835@hydrogen.nike.efn.org> Date: Tue, 04 Nov 1997 10:23:34 +0100 Message-ID: <21387.878635414@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <19971104003022.26835@hydrogen.nike.efn.org>, John-Mark Gurney writes : >well.. the new resume code works beautifully on my Toshiba T1960CS.. >now I have major problems resuming when I have multi-block enabled >on the hard disk... if I have it disabled, it comes up immediately, >otherwise sometimes I have to wait for it to unwedge... other times >it failes to unwedge, and I loose my machine... I have a patch in for review with John Dyson, but have not heard from him yet. Try this patch: Index: /sys/i386/isa/wd.c =================================================================== RCS file: /home/ncvs/src/sys/i386/isa/wd.c,v retrieving revision 1.141 diff -u -r1.141 wd.c --- wd.c 1997/10/12 16:22:01 1.141 +++ wd.c 1997/10/28 17:03:43 @@ -1,3 +1,4 @@ +#define DISABLE_PCI_IDE 1 /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -453,6 +454,7 @@ du->dk_lunit = lunit; du->dk_port = dvp->id_iobase; + du->dk_altport = du->dk_port + wd_ctlr; /* * Use the individual device flags or the controller * flags. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Tue Nov 4 05:33:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA11183 for mobile-outgoing; Tue, 4 Nov 1997 05:33:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from merit.edu (merit.edu [198.108.1.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA11178 for ; Tue, 4 Nov 1997 05:33:51 -0800 (PST) (envelope-from web@merit.edu) Received: from ohm.merit.edu (ohm.merit.edu [198.108.60.65]) by merit.edu (8.8.7/8.8.5) with ESMTP id IAA07177; Tue, 4 Nov 1997 08:33:40 -0500 (EST) From: William Bulley Received: (web@localhost) by ohm.merit.edu (8.6.9/8.6.5) id IAA04472; Tue, 4 Nov 1997 08:33:50 -0500 Message-Id: <199711041333.IAA04472@ohm.merit.edu> Subject: Which Modem PC Card? (was Re: Status: TP560) To: handy@sag.space.lockheed.com (Brian N. Handy) Date: Tue, 4 Nov 1997 08:33:50 -0500 (EST) Cc: freebsd-mobile@FreeBSD.ORG In-Reply-To: from "Brian N. Handy" at Nov 3, 97 01:59:38 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Brian N. Handy: > > Well, running the most recent -STABLE additions plus the patch Nate posted > here, my laptop 'mostly' works. I can suspend with either my 3C589D or my > Megahertz XJ4336 installed and it suspends and resumes like it's supposed to. Sorry for the interruption. :-) I tried pricing PCMCIA modem cards and found them to range from $115 US to nearly $200 for a 28.8/33.3 class card (not 56Kflex/X2 style). Does anyone have any suggestions to offer as to which manufacturer and within a manufacturer which model number is the most cost effective modem card that is reliable (i.e., works) in a laptop setting? Thanks in advance. Regards, web... -- William Bulley, N8NXN Senior Systems Research Programmer Merit Network, Inc. Email: web@merit.edu 4251 Plymouth Road, Suite C Phone: (313) 764-9993 Ann Arbor, Michigan 48105-2785 Fax: (313) 647-3185 [ What's all this fuss over the end of the century and mission critial ] [ programs failing due to dates? If people simply started using Roman ] [ Numerials, the problem goes away! MCM = 1900 MIM = 1999 MM = 2000 ] From owner-freebsd-mobile Tue Nov 4 07:40:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA17303 for mobile-outgoing; Tue, 4 Nov 1997 07:40:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA17293 for ; Tue, 4 Nov 1997 07:40:14 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id IAA25861; Tue, 4 Nov 1997 08:39:57 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id IAA13793; Tue, 4 Nov 1997 08:39:55 -0700 (MST) Date: Tue, 4 Nov 1997 08:39:55 -0700 (MST) Message-Id: <199711041539.IAA13793@rocky.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: Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <199711040708.RAA01681@word.smith.net.au> References: <199711040703.AAA03199@harmony.village.org> <199711040708.RAA01681@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 > > : Just following on a discussion with Nate about the whole IRQ-in-CIS > > : thing; can you throw the 'pccard dumpcis' output for your '589 this > > : way, as well as the configuration index that you're currently using? > > > > Further experimentation has shown that the irq makes no difference at > > all. What really did matter was the i/o range. The range 0x240-0x2e0 > > was what caused the problems. After removing that range of addresses > > and adding irqs, I was able to bring up the card on irq 10, 11 and 15. > > Gotcha. Want to bet there's something at 0x240? > > Nate; you're the last source of "the IRQ matters" evidence - can we > reevaluate this when you're free to test your set? Yep, it appears that I'm confused badly, and there may be something else on my box that is causing things to fail when I don't specificy the IRQ. But, it looks like I'm going to have to eat my words about requiring the IRQ to be the same as the CIS port. On that note, does it mean that any of the other information used in the CIS tuples (besides the size) is relevant? Couldn't we just determine the io size and map it anywhere then? It would *sure* be nice if we could simplify the CIS tuple processing. :) ;) Nate From owner-freebsd-mobile Tue Nov 4 07:43:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA17544 for mobile-outgoing; Tue, 4 Nov 1997 07:43:37 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA17537 for ; Tue, 4 Nov 1997 07:43:31 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id IAA25884; Tue, 4 Nov 1997 08:43:29 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id IAA13816; Tue, 4 Nov 1997 08:43:27 -0700 (MST) Date: Tue, 4 Nov 1997 08:43:27 -0700 (MST) Message-Id: <199711041543.IAA13816@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: John-Mark Gurney Cc: FreeBSD Mobile Subject: Re: problems resuming hard disk... In-Reply-To: <19971104003022.26835@hydrogen.nike.efn.org> References: <19971104003022.26835@hydrogen.nike.efn.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > is there any plans on improving the code so that it will do a proper > initalization of the hard disk upon resume? any ideas? Sure, I have plans that you'll attempt to fix it correctly, and submit the code to -mobile when you're done? Oh, you mean you want someone else to do it? It ain't gonna be me, my plate for laptop things is more than overflowing. Nate From owner-freebsd-mobile Tue Nov 4 07:51:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA17893 for mobile-outgoing; Tue, 4 Nov 1997 07:51:30 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA17884 for ; Tue, 4 Nov 1997 07:51:20 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id IAA25936; Tue, 4 Nov 1997 08:51:13 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id IAA13865; Tue, 4 Nov 1997 08:51:11 -0700 (MST) Date: Tue, 4 Nov 1997 08:51:11 -0700 (MST) Message-Id: <199711041551.IAA13865@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: William Bulley Cc: freebsd-mobile@freebsd.org Subject: Re: Which Modem PC Card? (was Re: Status: TP560) In-Reply-To: <199711041333.IAA04472@ohm.merit.edu> References: <199711041333.IAA04472@ohm.merit.edu> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I tried pricing PCMCIA modem cards and found them to range from $115 US > to nearly $200 for a 28.8/33.3 class card (not 56Kflex/X2 style). Does > anyone have any suggestions to offer as to which manufacturer and within > a manufacturer which model number is the most cost effective modem card > that is reliable (i.e., works) in a laptop setting? Thanks in advance. I will only say that we bought USR Sportster's, since all of our modems are external Sportsters, and we've had no problems whatsoever. I went with the non-56K models, and save quite a few bucks. However, they are probably not the cheapest, but they do work pretty well when connecting to another Sportster, and we've had good luck connecting to anything else we've found. Nate From owner-freebsd-mobile Tue Nov 4 08:21:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19384 for mobile-outgoing; Tue, 4 Nov 1997 08:21:24 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from dragon.awen.com (dragon.awen.com [207.33.155.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19379 for ; Tue, 4 Nov 1997 08:21:11 -0800 (PST) (envelope-from mburgett@dragon.awen.com) Received: (from mburgett@localhost) by dragon.awen.com (8.8.8/8.8.7) id IAA14484; Tue, 4 Nov 1997 08:21:08 -0800 (PST) Message-Id: <199711041621.IAA14484@dragon.awen.com> From: "Mike Burgett" To: "freebsd-mobile@freebsd.org" Date: Tue, 04 Nov 97 08:21:07 -0800 Reply-To: "Mike Burgett" Priority: Normal X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: FreeBSD and TP 760e - compatible? Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm thinking of getting a laptop/notebook, or whatever they're called this week. A mobile computing platform. :) I've found a used TP 760e I can afford, but haven't turned up a lot about it in searching the freebsd-mobile archives. The two messages I found looked like someone was trying to diagnose APM/ethernet problems. (and I saw at least the inference that sound wouldn't work.) Any experiences you'd care to share would be appreciated. What I definitely need to have working is: 10BaseT ethernet (for use at home) Dialup PPP (for use away from home) XFree86 (all the time :) Pretty much everything else is negotiable. Thanks, Mike From owner-freebsd-mobile Tue Nov 4 12:40:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA05808 for mobile-outgoing; Tue, 4 Nov 1997 12:40:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA05800 for ; Tue, 4 Nov 1997 12:40:49 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id MAA15007; Tue, 4 Nov 1997 12:40:25 -0800 (PST) Message-ID: <19971104124024.60855@hydrogen.nike.efn.org> Date: Tue, 4 Nov 1997 12:40:24 -0800 From: John-Mark Gurney To: Poul-Henning Kamp Cc: FreeBSD Mobile Subject: Re: problems resuming hard disk... References: <19971104003022.26835@hydrogen.nike.efn.org> <21387.878635414@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <21387.878635414@critter.freebsd.dk>; from Poul-Henning Kamp on Tue, Nov 04, 1997 at 10:23:34AM +0100 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp scribbled this message on Nov 4: > In message <19971104003022.26835@hydrogen.nike.efn.org>, John-Mark Gurney writes > : > >well.. the new resume code works beautifully on my Toshiba T1960CS.. > >now I have major problems resuming when I have multi-block enabled > >on the hard disk... if I have it disabled, it comes up immediately, > >otherwise sometimes I have to wait for it to unwedge... other times > >it failes to unwedge, and I loose my machine... > > I have a patch in for review with John Dyson, but have not heard from > him yet. YES!!!! it works... now resuming the hard drive simply spits out an interrupt timeout error, and resumes immediately... I LOVE it!! :) I assume the commit message I saw a bit ago added this to the tree? thanks again for the patch.. :) -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Tue Nov 4 12:46:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA06211 for mobile-outgoing; Tue, 4 Nov 1997 12:46:01 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA06204 for ; Tue, 4 Nov 1997 12:45:53 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id VAA26103; Tue, 4 Nov 1997 21:43:50 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John-Mark Gurney cc: FreeBSD Mobile Subject: Re: problems resuming hard disk... In-reply-to: Your message of "Tue, 04 Nov 1997 12:40:24 PST." <19971104124024.60855@hydrogen.nike.efn.org> Date: Tue, 04 Nov 1997 21:43:50 +0100 Message-ID: <26101.878676230@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <19971104124024.60855@hydrogen.nike.efn.org>, John-Mark Gurney write s: >Poul-Henning Kamp scribbled this message on Nov 4: >> In message <19971104003022.26835@hydrogen.nike.efn.org>, John-Mark Gurney >writes >> : >> >well.. the new resume code works beautifully on my Toshiba T1960CS.. >> >now I have major problems resuming when I have multi-block enabled >> >on the hard disk... if I have it disabled, it comes up immediately, >> >otherwise sometimes I have to wait for it to unwedge... other times >> >it failes to unwedge, and I loose my machine... >> >> I have a patch in for review with John Dyson, but have not heard from >> him yet. > >YES!!!! it works... now resuming the hard drive simply spits out an >interrupt timeout error, and resumes immediately... I LOVE it!! :) You may want to try turning on flag 0x4000 on your disk. >I assume the commit message I saw a bit ago added this to the tree? yes. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Tue Nov 4 13:41:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA10242 for mobile-outgoing; Tue, 4 Nov 1997 13:41:07 -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 NAA10236 for ; Tue, 4 Nov 1997 13:41:05 -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 AA27871; Tue, 4 Nov 1997 13:41:01 -0800 Date: Tue, 4 Nov 1997 13:41:01 -0800 (PST) From: "Brian N. Handy" To: freebsd-mobile@freebsd.org Subject: Ethernet Cards 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 Hi, Right now I have a 3C589D that's giving me fits on the network at Montana State. It periodically hangs and I have to do an 'ifconfig ep0 up' to get it un-wedged. I'm suspecting a noisy network, but I'm not wholly sure. I'm tempted to run down to the Fry's hardware loan pool and buy another card and give it a try. Can someone recommend about 2-3 cards that are worth checking out? (I want this many so I can stand a good chance of finding one in stock.) I know Mike recommends the ACCTON, if I can find it I'll grab it. Thanks! Brian From owner-freebsd-mobile Tue Nov 4 15:29:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17818 for mobile-outgoing; Tue, 4 Nov 1997 15:29:52 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17809 for ; Tue, 4 Nov 1997 15:29:47 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id AAA01200 for freebsd-mobile@freebsd.org; Wed, 5 Nov 1997 00:29:35 +0100 (MET) From: Guido van Rooij Message-Id: <199711042329.AAA01200@gvr.gvr.org> Subject: wd failures on resume To: freebsd-mobile@freebsd.org Date: Wed, 5 Nov 1997 00:29:35 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have my wdc configured with flags 0x80ff80ff. When I suspend and resume my system, bad things happen to my filesystems (fortunately both times, the damage was repairable, manually, with fsck). Anyway, when I remove the ff part, things do not break. I haven't seen such errors when not suspending/resuming. Question: is anything know about multi sector breakage? Is theer some rule of thumb on the amount of sectors that should be set (ff defaults to the maximume number)? -Guido From owner-freebsd-mobile Tue Nov 4 16:58:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA24110 for mobile-outgoing; Tue, 4 Nov 1997 16:58:34 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from nomad.ipv6.irdu.nus.sg (NUSLR4e1.dialup.nus.edu.sg [137.132.253.124]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA24103 for ; Tue, 4 Nov 1997 16:58:29 -0800 (PST) (envelope-from roland@irdu.nus.edu.sg) Received: from localhost (roland@localhost) by nomad.ipv6.irdu.nus.sg (8.8.5/8.8.5) with SMTP id IAA00532; Wed, 5 Nov 1997 08:58:10 +0800 (SGT) X-Authentication-Warning: nomad.ipv6.irdu.nus.sg: roland owned process doing -bs Date: Wed, 5 Nov 1997 08:58:09 +0800 (SGT) From: Roland Yeo X-Sender: roland@nomad.ipv6.irdu.nus.sg To: Mike Burgett cc: "freebsd-mobile@freebsd.org" Subject: Re: FreeBSD and TP 760e - compatible? In-Reply-To: <199711041621.IAA14484@dragon.awen.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 4 Nov 1997, Mike Burgett wrote: > > I've found a used TP 760e I can afford, but haven't turned up a lot about it > in searching the freebsd-mobile archives. > > Any experiences you'd care to share would be appreciated. What I definitely > need to have working is: > > 10BaseT ethernet (for use at home) > Dialup PPP (for use away from home) > XFree86 (all the time :) > the Mwave DSP modem that comes with some 760 series won't work. there aren't any Freebsd drivers for them. you can do a search on Mwave audiodrive to read more about this. (you might also have problem getting sound to work, if they're based on the Mwave DSP. the other think to watch for is the video chip. the 760E uses a Trident CYBER9320 chip. check the XFree86 3.3.1 release notes to see if thats supported. other than that, should be no problems. I have a 760XD (video chip: Trident CYBER9385) with a 3C589 10Base-T, running with xfree86-3.3.1. (Mwave Modem and sound doesn't work unfortunately.) regards, roland -- Roland Yeo Internet R&D Unit, National University of Singapore From owner-freebsd-mobile Tue Nov 4 17:17:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25111 for mobile-outgoing; Tue, 4 Nov 1997 17:17:02 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA25104 for ; Tue, 4 Nov 1997 17:16:56 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSu5Q-0000YR-00; Tue, 4 Nov 1997 18:16:48 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id SAA06785 for ; Tue, 4 Nov 1997 18:16:29 -0700 (MST) Message-Id: <199711050116.SAA06785@harmony.village.org> Subject: Re: Libretto 50 - US Version and PAO To: freebsd-mobile@freebsd.org In-reply-to: Your message of "Tue, 04 Nov 1997 00:03:10 MST." <199711040703.AAA03199@harmony.village.org> References: <199711040703.AAA03199@harmony.village.org> <199711030653.RAA01957@word.smith.net.au> Date: Tue, 04 Nov 1997 18:16:29 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711040703.AAA03199@harmony.village.org> Warner Losh writes: : BTW, has anybody been able to get the Libretto 30 XFConfig file : working on the 50? I'm having problems getting to work, but that may : be due to the way I installed XFree86... none of the lib*.a files were : installed the first time... I'm trying again, but nfs is slow... OK. I hate to followup myself, but here's what I did to get the stuff running on the Libretto 50. I deleted the line that said chipset "clgs6335" and the XF86_SVGA server correctly detected that I had a Chips & Technology 65550 chipset (same as windows) and I have X working now, at least in 640x480 mode on the internal LCD screen. Warner From owner-freebsd-mobile Tue Nov 4 17:17:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25148 for mobile-outgoing; Tue, 4 Nov 1997 17:17:35 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25140 for ; Tue, 4 Nov 1997 17:17:31 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id RAA15436; Tue, 4 Nov 1997 17:17:22 -0800 (PST) Message-ID: <19971104171721.19450@hydrogen.nike.efn.org> Date: Tue, 4 Nov 1997 17:17:21 -0800 From: John-Mark Gurney To: Guido van Rooij Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wd failures on resume References: <199711042329.AAA01200@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199711042329.AAA01200@gvr.gvr.org>; from Guido van Rooij on Wed, Nov 05, 1997 at 12:29:35AM +0100 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guido van Rooij scribbled this message on Nov 5: > I have my wdc configured with flags 0x80ff80ff. When I suspend and > resume my system, bad things happen to my filesystems (fortunately > both times, the damage was repairable, manually, with fsck). > Anyway, when I remove the ff part, things do not break. > I haven't seen such errors when not suspending/resuming. > > Question: is anything know about multi sector breakage? > Is theer some rule of thumb on the amount of sectors that should > be set (ff defaults to the maximume number)? try with a new -current... Poul just commited a patch to the tree that fixed my problems over here... or have you already (it went in earlier today or last night)? ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Tue Nov 4 18:46:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA01911 for mobile-outgoing; Tue, 4 Nov 1997 18:46:01 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA01895 for ; Tue, 4 Nov 1997 18:45:52 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA00551; Wed, 5 Nov 1997 13:11:38 +1030 (CST) Message-Id: <199711050241.NAA00551@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Brian N. Handy" cc: freebsd-mobile@freebsd.org Subject: Re: Ethernet Cards In-reply-to: Your message of "Tue, 04 Nov 1997 13:41:01 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 13:11:37 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm tempted to run down to the Fry's hardware loan pool and buy another > card and give it a try. Can someone recommend about 2-3 cards that are > worth checking out? (I want this many so I can stand a good chance of > finding one in stock.) I know Mike recommends the ACCTON, if I can find > it I'll grab it. I recently bought a couple of cards branded "Alloy". They identify themselves as "DANPEX", and opening one up (how nice that they just clip together 8) they are based on a Tamerack part. I suspect that a large proportion of the low-end "NE2000 compatible" cards will be using this or a similar part. mike From owner-freebsd-mobile Tue Nov 4 19:07:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA03583 for mobile-outgoing; Tue, 4 Nov 1997 19:07:27 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA03571 for ; Tue, 4 Nov 1997 19:07:18 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA00657; Wed, 5 Nov 1997 13:33:18 +1030 (CST) Message-Id: <199711050303.NAA00657@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 18:16:29 PDT." <199711050116.SAA06785@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 13:33:16 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > OK. I hate to followup myself, but here's what I did to get the stuff > running on the Libretto 50. I deleted the line that said chipset > "clgs6335" and the XF86_SVGA server correctly detected that I had a > Chips & Technology 65550 chipset (same as windows) and I have X > working now, at least in 640x480 mode on the internal LCD screen. Yay. The 65550 is actually pretty qool; I have run mine doing sync-on-green driving a 21" Apollo monitor at 1152x900x16bpp. The XF86 driver is pretty stable; I occasionally get the server exploding when I swap back from a vty, but that's about it. At this point in time, it certainly seems to be the best chipset to look for in a portable from the free-software point of view. mike From owner-freebsd-mobile Tue Nov 4 19:14:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA03970 for mobile-outgoing; Tue, 4 Nov 1997 19:14:13 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA03959 for ; Tue, 4 Nov 1997 19:14:07 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA00694; Wed, 5 Nov 1997 13:39:30 +1030 (CST) Message-Id: <199711050309.NAA00694@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: Mike Smith , Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 08:39:55 PDT." <199711041539.IAA13793@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 13:39:28 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Nate; you're the last source of "the IRQ matters" evidence - can we > > reevaluate this when you're free to test your set? > > Yep, it appears that I'm confused badly, and there may be something else > on my box that is causing things to fail when I don't specificy the IRQ. > But, it looks like I'm going to have to eat my words about requiring the > IRQ to be the same as the CIS port. I wouldn't put it that way; just that we're having to learn some real truths about the hardware here. > On that note, does it mean that any of the other information used in the > CIS tuples (besides the size) is relevant? Couldn't we just determine > the io size and map it anywhere then? It would *sure* be nice if we > could simplify the CIS tuple processing. :) ;) Well, from my reading of things, yes; I can't actually see anything that the card itself could actually be using to determine where it's actually mapped. It sounds like the configuration entries are basically junk there for the convenience of lazy DOS driver authors. mike From owner-freebsd-mobile Tue Nov 4 20:14:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA08724 for mobile-outgoing; Tue, 4 Nov 1997 20:14:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA08707 for ; Tue, 4 Nov 1997 20:14:49 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id VAA00545; Tue, 4 Nov 1997 21:14:42 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id VAA16352; Tue, 4 Nov 1997 21:14:39 -0700 (MST) Date: Tue, 4 Nov 1997 21:14:39 -0700 (MST) Message-Id: <199711050414.VAA16352@rocky.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: Nate Williams , Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-Reply-To: <199711050309.NAA00694@word.smith.net.au> References: <199711041539.IAA13793@rocky.mt.sri.com> <199711050309.NAA00694@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 > > On that note, does it mean that any of the other information used in the > > CIS tuples (besides the size) is relevant? Couldn't we just determine > > the io size and map it anywhere then? It would *sure* be nice if we > > could simplify the CIS tuple processing. :) ;) > > Well, from my reading of things, yes; I can't actually see anything > that the card itself could actually be using to determine where it's > actually mapped. It sounds like the configuration entries are > basically junk there for the convenience of lazy DOS driver authors. Great. So, your re-write of pccardd should go much quicker now, right? *grin* Nate From owner-freebsd-mobile Tue Nov 4 21:06:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA11930 for mobile-outgoing; Tue, 4 Nov 1997 21:06:06 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA11922 for ; Tue, 4 Nov 1997 21:06:00 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id PAA00312; Wed, 5 Nov 1997 15:31:46 +1030 (CST) Message-Id: <199711050501.PAA00312@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nate Williams cc: freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 21:14:39 PDT." <199711050414.VAA16352@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 15:31:45 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > On that note, does it mean that any of the other information used in the > > > CIS tuples (besides the size) is relevant? Couldn't we just determine > > > the io size and map it anywhere then? It would *sure* be nice if we > > > could simplify the CIS tuple processing. :) ;) > > > > Well, from my reading of things, yes; I can't actually see anything > > that the card itself could actually be using to determine where it's > > actually mapped. It sounds like the configuration entries are > > basically junk there for the convenience of lazy DOS driver authors. > > Great. So, your re-write of pccardd should go much quicker now, right? > *grin* Well, now that you mention it. My exams finished today, and I feel like a new human being. #1 on my list (aside for the stuff I'm doing for Jordan) is to start leveraging BIOS support; that means PnP and APM and ACPI. PnP is a great contender now that JMG has Doug R's kld stuff in and happening, and I think it's the right way to address the PCCARD stuff too. One big issue (to me) is dealing with the fact that I need another segment descriptor for the PnP BIOS interface. I'm thinking however that I *don't* need one for the APM interface anymore, if I can call old non-32-bit APM biossen from real mode with the vm86 thunker then I can call the 32-bit ones using the same code I use for calling the BIOS32 service directory. I can't just steal another selector without breaking (potential) compatability with Linux-WABI and WINE. Anyway, I'll be playing with that this afternoon, so hopefully I'll have something useful to report a bit later. mike From owner-freebsd-mobile Tue Nov 4 21:09:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA12093 for mobile-outgoing; Tue, 4 Nov 1997 21:09:34 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA12086 for ; Tue, 4 Nov 1997 21:09:30 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSxLT-0000ff-00; Tue, 4 Nov 1997 21:45:35 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id VAA12602; Tue, 4 Nov 1997 21:43:47 -0700 (MST) Message-Id: <199711050443.VAA12602@harmony.village.org> To: Mike Smith Subject: Re: Libretto 50 - US Version and PAO Cc: freebsd-mobile@freebsd.org In-reply-to: Your message of "Wed, 05 Nov 1997 13:33:16 +1030." <199711050303.NAA00657@word.smith.net.au> References: <199711050303.NAA00657@word.smith.net.au> Date: Tue, 04 Nov 1997 21:43:47 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050303.NAA00657@word.smith.net.au> Mike Smith writes: : At this point in time, it certainly seems to be the best chipset to : look for in a portable from the free-software point of view. How do you get it to use the monitor and/or switch back and forth? Warner From owner-freebsd-mobile Tue Nov 4 21:22:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA12903 for mobile-outgoing; Tue, 4 Nov 1997 21:22:20 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA12886 for ; Tue, 4 Nov 1997 21:21:58 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id PAA00364; Wed, 5 Nov 1997 15:47:45 +1030 (CST) Message-Id: <199711050517.PAA00364@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: Mike Smith , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 21:43:47 PDT." <199711050443.VAA12602@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 15:47:45 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In message <199711050303.NAA00657@word.smith.net.au> Mike Smith writes: > : At this point in time, it certainly seems to be the best chipset to > : look for in a portable from the free-software point of view. > > How do you get it to use the monitor and/or switch back and forth? Keyboard hotkeys. At least on the Toshiba and Sharp systems I have access to these hit the SMI interrupt, which is handled by the BIOS. What's important to remember is that the SMI BIOS code reprograms the chip when you swap from one mode (LCD, both, external) to the next, so you want to have two modes in your XF86Config file, procedure then (for me) goes: - Start X on LCD - hotkey to external-only mode - alt-ctrl-+ to swap to sync-on-green mode tuned for external monitor then coming back - hotkey to LCD - alt-ctrl-+ to swap back to mode tuned for LCD It's possible to get things pretty confused, but generally if you screw up you can recover by restarting X (alt-ctrl-bksp). Swapping to a text-mode console obviously doesn't work for a sync-on-green monitor 8). Given that I've been doing this on a Toshiba 220CDS, I'd say your chances of having it work on the Libretto are pretty good. mike From owner-freebsd-mobile Tue Nov 4 21:33:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA13490 for mobile-outgoing; Tue, 4 Nov 1997 21:33:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA13485 for ; Tue, 4 Nov 1997 21:33:53 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSy6A-0000iP-00; Tue, 4 Nov 1997 22:33:50 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id WAA12950; Tue, 4 Nov 1997 22:33:33 -0700 (MST) Message-Id: <199711050533.WAA12950@harmony.village.org> To: Mike Smith Subject: Re: Libretto 50 - US Version and PAO Cc: freebsd-mobile@freebsd.org In-reply-to: Your message of "Wed, 05 Nov 1997 15:47:45 +1030." <199711050517.PAA00364@word.smith.net.au> References: <199711050517.PAA00364@word.smith.net.au> Date: Tue, 04 Nov 1997 22:33:33 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050517.PAA00364@word.smith.net.au> Mike Smith writes: : Keyboard hotkeys. At least on the Toshiba and Sharp systems I have : access to these hit the SMI interrupt, which is handled by the BIOS. Well, I can't seem to find these on the Libretto. there's a windows program that seems to do the trick, but I don't wanna boot win95 just to do that. Warner From owner-freebsd-mobile Tue Nov 4 21:47:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14196 for mobile-outgoing; Tue, 4 Nov 1997 21:47:40 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA14191 for ; Tue, 4 Nov 1997 21:47:35 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id QAA00453 for ; Wed, 5 Nov 1997 16:13:50 +1030 (CST) Message-Id: <199711050543.QAA00453@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 22:33:33 PDT." <199711050533.WAA12950@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 16:13:49 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In message <199711050517.PAA00364@word.smith.net.au> Mike Smith writes: > : Keyboard hotkeys. At least on the Toshiba and Sharp systems I have > : access to these hit the SMI interrupt, which is handled by the BIOS. > > Well, I can't seem to find these on the Libretto. there's a windows > program that seems to do the trick, but I don't wanna boot win95 just > to do that. Uh. OK, the Libretto doesn't have the 'Fn' key and the little icons across the function keys? (This is how the 220 lets you dink the power level, keyboard lock, NumLock etc...) You might have to get chummy with the XF86 people and get them to add these controls to their driver... mike From owner-freebsd-mobile Tue Nov 4 22:10:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA15587 for mobile-outgoing; Tue, 4 Nov 1997 22:10:28 -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 WAA15582 for ; Tue, 4 Nov 1997 22:10:26 -0800 (PST) (envelope-from karp@eecs.harvard.edu) Received: (from karp@localhost) by dominator.eecs.harvard.edu (8.6.12/8.6.12) id BAA29815 for freebsd-mobile@freebsd.org; Wed, 5 Nov 1997 01:10:24 -0500 Date: Wed, 5 Nov 1997 01:10:24 -0500 From: Brad Karp Message-Id: <199711050610.BAA29815@dominator.eecs.harvard.edu> To: freebsd-mobile@freebsd.org Subject: IBM ThinkPad PS2.EXE API Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In the past week or so, someone claimed that specs for the IBM ThinkPad BIOS routines for configuring power management (implemented by the PS2.EXE command under DOS) were publically available. I'm interested in writing code to do a subset of PS2.EXE's functionality for FreeBSD, so I read this with interest. In particular, I'd like to write code to configure the location of the hibernation file on disk, so that I can make a partition for the hibernation file for use under FreeBSD, without having Win95 or NT installed on my IBM 380. However, I've scoured IBM's web sites without finding a trace of any document that describes this API. Can anyone supply a pointer to this document, and/or provide the document his or herself? Thanks, -Brad, karp@eecs.harvard.edu From owner-freebsd-mobile Tue Nov 4 22:36:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA17109 for mobile-outgoing; Tue, 4 Nov 1997 22:36:36 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from u3.farm.idt.net (root@u3.farm.idt.net [169.132.8.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA17100 for ; Tue, 4 Nov 1997 22:36:34 -0800 (PST) (envelope-from garycorc@idt.net) Received: from idt.net (ppp-61.ts-1.mlb.idt.net [169.132.71.61]) by u3.farm.idt.net (8.8.5/8.8.5) with ESMTP id BAA07491; Wed, 5 Nov 1997 01:35:32 -0500 (EST) Message-ID: <3460135C.6C24E1EC@idt.net> Date: Wed, 05 Nov 1997 01:34:04 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: Mike Smith CC: Warner Losh , freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO References: <199711050517.PAA00364@word.smith.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mike Smith wrote: > > > In message <199711050303.NAA00657@word.smith.net.au> Mike Smith writes: > > : At this point in time, it certainly seems to be the best chipset to > > : look for in a portable from the free-software point of view. > > > > How do you get it to use the monitor and/or switch back and forth? > > Keyboard hotkeys. At least on the Toshiba and Sharp systems I have > access to these hit the SMI interrupt, which is handled by the BIOS. What is an 'SMI' interrupt? I've never heard of that one... And are you saying that the BIOS can be (is) used _while_ running FreeBSD? I thought that wasn't possible - or is that only an 'old' limitation? (I don't track -current ...) On a different (but somewhat related :) note: could you please tell me what the key sequence is to switch *back* to the X screen after you've switched over to a text mode virtual terminal? I never did find it in the docs I have, and thought one of you might know off the top of your head... Thanks, Gary From owner-freebsd-mobile Tue Nov 4 23:02:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18294 for mobile-outgoing; Tue, 4 Nov 1997 23:02:20 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA18286 for ; Tue, 4 Nov 1997 23:02:13 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id IAA27315; Wed, 5 Nov 1997 08:00:36 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Nate Williams cc: Mike Smith , Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Tue, 04 Nov 1997 21:14:39 MST." <199711050414.VAA16352@rocky.mt.sri.com> Date: Wed, 05 Nov 1997 08:00:35 +0100 Message-ID: <27313.878713235@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050414.VAA16352@rocky.mt.sri.com>, Nate Williams writes: >> > On that note, does it mean that any of the other information used in the >> > CIS tuples (besides the size) is relevant? Couldn't we just determine >> > the io size and map it anywhere then? It would *sure* be nice if we >> > could simplify the CIS tuple processing. :) ;) >> >> Well, from my reading of things, yes; I can't actually see anything >> that the card itself could actually be using to determine where it's >> actually mapped. It sounds like the configuration entries are >> basically junk there for the convenience of lazy DOS driver authors. Not quite. There are two kinds of mappings, one where the pcic does all the work and one where the card does the work. The latter kind should be used for leveling driveways with, but that is nontheless the reason for 80% of the CIS complexity. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Tue Nov 4 23:18:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA18983 for mobile-outgoing; Tue, 4 Nov 1997 23:18:54 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA18975 for ; Tue, 4 Nov 1997 23:18:49 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA00748; Wed, 5 Nov 1997 17:44:47 +1030 (CST) Message-Id: <199711050714.RAA00748@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Gary T. Corcoran" cc: Mike Smith , Warner Losh , freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 01:34:04 CDT." <3460135C.6C24E1EC@idt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 17:44:47 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Keyboard hotkeys. At least on the Toshiba and Sharp systems I have > > access to these hit the SMI interrupt, which is handled by the BIOS. > > What is an 'SMI' interrupt? I've never heard of that one... SMI is the System Management Interrupt. It's a 486 feature that provides something like an NMI that runs in a completely separate context. > And are you saying that the BIOS can be (is) used _while_ running FreeBSD? The SMI BIOS is completely independant, and yes, it can run even if FreeBSD is running. Other parts of the BIOS (eg. APM) are currently used, and I'm working on more just now. > On a different (but somewhat related :) note: could you please tell me what > the key sequence is to switch *back* to the X screen after you've switched > over to a text mode virtual terminal? I never did find it in the docs > I have, and thought one of you might know off the top of your head... The X screen is running on a vty, so just switch back to that vty; normally it'd be on vty3, so alt-f3 will do the trick. mike From owner-freebsd-mobile Tue Nov 4 23:31:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA20138 for mobile-outgoing; Tue, 4 Nov 1997 23:31:34 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA20133 for ; Tue, 4 Nov 1997 23:31:31 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xSzw0-0000lB-00; Wed, 5 Nov 1997 00:31:28 -0700 Received: (from imp@localhost) by harmony.village.org (8.8.7/8.8.3) id AAA17137 for mobile@freebsd.org; Wed, 5 Nov 1997 00:31:11 -0700 (MST) Date: Wed, 5 Nov 1997 00:31:11 -0700 (MST) From: Warner Losh Message-Id: <199711050731.AAA17137@harmony.village.org> To: mobile@freebsd.org Subject: APM 1.2 Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Casually browsing the apm sources, i've noticed that 1.0 and 1.1 versions of apm are supported. the apm command tells me my machine supports 1.2. what does 1.2 add over 1.1? Warner From owner-freebsd-mobile Wed Nov 5 00:21:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA23133 for mobile-outgoing; Wed, 5 Nov 1997 00:21:01 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailhub (tfs.com [140.145.250.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA23126 for ; Wed, 5 Nov 1997 00:20:57 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from schizo.dk.tfs.com by mailhub (SMI-8.6/SMI-SVR4) id AAA12254; Wed, 5 Nov 1997 00:13:18 -0800 Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id JAA17856; Wed, 5 Nov 1997 09:19:06 +0100 (MET) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id IAA00274; Wed, 5 Nov 1997 08:55:13 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith cc: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 15:31:45 +1030." <199711050501.PAA00312@word.smith.net.au> Date: Wed, 05 Nov 1997 08:55:13 +0100 Message-ID: <272.878716513@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050501.PAA00312@word.smith.net.au>, Mike Smith writes: >One big issue (to me) is dealing with the fact that I need another >segment descriptor for the PnP BIOS interface. This is no big deal, we have plenty available. I do not like the idea of trying to go through the vm86 interface to get to the APM. Making another descriptor for use for PnP is a piece of cake, see how simple it is in the APM code :-) My docking station is supposedly handled by the PnP event mechanism, so I'm pretty interested in this stuff obviously. We will also need to enlist Stefan Esser to really get this to the right place, because doing hot-plug/PnP/CardBus requires the ability to modify the PCI setup, and hopefully all the drivers can be taught this in some kind of meaningful way. Anyway, go! go! go! -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Wed Nov 5 01:42:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA28108 for mobile-outgoing; Wed, 5 Nov 1997 01:42:32 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA28098 for ; Wed, 5 Nov 1997 01:42:27 -0800 (PST) (envelope-from rb@gid.co.uk) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id JAA21213; Wed, 5 Nov 1997 09:34:31 GMT Received: from [194.32.164.2] by seagoon.gid.co.uk; Wed, 5 Nov 1997 09:32:26 GMT X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: <199711050610.BAA29815@dominator.eecs.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 5 Nov 1997 09:31:54 +0000 To: Brad Karp From: Bob Bishop Subject: Re: IBM ThinkPad PS2.EXE API Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 6:10 am +0000 5/11/97, Brad Karp wrote: >In the past week or so, someone claimed that specs for the IBM ThinkPad >BIOS routines for configuring power management (implemented by the PS2.EXE >command under DOS) were publically available. Have a look at http://developer.intel.com/ial/powermgm/specs.htm You probably want http://developer.intel.com/ial/powermgm/apmovr.htm -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK From owner-freebsd-mobile Wed Nov 5 01:57:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA29150 for mobile-outgoing; Wed, 5 Nov 1997 01:57:40 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA29144 for ; Wed, 5 Nov 1997 01:57:33 -0800 (PST) (envelope-from rb@gid.co.uk) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id JAA21505; Wed, 5 Nov 1997 09:50:27 GMT Received: from [194.32.164.2] by seagoon.gid.co.uk; Wed, 5 Nov 1997 09:47:56 GMT X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: <199711050731.AAA17137@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 5 Nov 1997 09:47:23 +0000 To: Warner Losh From: Bob Bishop Subject: Re: APM 1.2 Cc: mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 7:31 am +0000 5/11/97, Warner Losh wrote: >Casually browsing the apm sources, i've noticed that 1.0 and 1.1 versions of >apm are supported. the apm command tells me my machine supports 1.2. what >does 1.2 add over 1.1? >From http://developer.intel.com/ial/powermgm/apmovr.htm: >1.2 February 1996 >Added support for Get/Set/Disable Resume Timer.Added Get Capabilities >function. >Added Enable/Disable Resume on Ring Indicator function. >Added a PCMCIA socket on/off indicator returned with a Normal > Resume System Notification PM Event from the Get PM Event function. >Added Capabilities Change Notification >Added Enable/Disable Timer Based Requests function. >New error codes defined for the new functions. >Added multiple battery support to Get Power Status call. Power > Status Change event must be posted when number of > batteries installed changes. >Changes to 32-bit Interface Connect return parameters. >Clarifications to Engage/Disengage Power Management, > Enable/Disable Power Management, Restore APM BIOS Power-On > Defaults, and Set Power State functions. >Changes to Enable/Disable Power Management function error codes. >Changes to the CPU Usage Functions section. >Added the requirement for 16-bit and 32-bit APM interface support. >Clarifications to Battery Low Notification and Update Time Notification. >Updated APM System State table >Reordered function sections numerically. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK From owner-freebsd-mobile Wed Nov 5 02:12:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA00460 for mobile-outgoing; Wed, 5 Nov 1997 02:12:14 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA00452 for ; Wed, 5 Nov 1997 02:12:09 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id LAA03425; Wed, 5 Nov 1997 11:11:59 +0100 (MET) From: Guido van Rooij Message-Id: <199711051011.LAA03425@gvr.gvr.org> Subject: Re: wd failures on resume In-Reply-To: <19971104171721.19450@hydrogen.nike.efn.org> from John-Mark Gurney at "Nov 4, 97 05:17:21 pm" To: gurney_j@resnet.uoregon.edu Date: Wed, 5 Nov 1997 11:11:59 +0100 (MET) Cc: freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John-Mark Gurney wrote: > Guido van Rooij scribbled this message on Nov 5: > > I have my wdc configured with flags 0x80ff80ff. When I suspend and > > resume my system, bad things happen to my filesystems (fortunately > > both times, the damage was repairable, manually, with fsck). > > Anyway, when I remove the ff part, things do not break. > > I haven't seen such errors when not suspending/resuming. > > > > Question: is anything know about multi sector breakage? > > Is theer some rule of thumb on the amount of sectors that should > > be set (ff defaults to the maximume number)? > > try with a new -current... Poul just commited a patch to the tree that > fixed my problems over here... or have you already (it went in earlier > today or last night)? I typed my question in when I was too tired. I should have mentioned that I was running 2.2.5-STABEL and Poul's patch is not necessary there. -Guido From owner-freebsd-mobile Wed Nov 5 03:13:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA03373 for mobile-outgoing; Wed, 5 Nov 1997 03:13:55 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA03364 for ; Wed, 5 Nov 1997 03:13:46 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id VAA00341; Wed, 5 Nov 1997 21:39:48 +1030 (CST) Message-Id: <199711051109.VAA00341@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: mobile@freebsd.org Subject: Re: APM 1.2 In-reply-to: Your message of "Wed, 05 Nov 1997 00:31:11 PDT." <199711050731.AAA17137@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 21:39:46 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Casually browsing the apm sources, i've noticed that 1.0 and 1.1 versions of > apm are supported. the apm command tells me my machine supports 1.2. what > does 1.2 add over 1.1? 0.1? 8) Seriously, the APM specs are online on Microsoft's site, should you wish to compare the various revisions. I only have a hardcopy of 1.1, as the Sharp I was working on was there. Now I'm on a Toshiba and at 1.2, I want to update. mike From owner-freebsd-mobile Wed Nov 5 03:44:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA04811 for mobile-outgoing; Wed, 5 Nov 1997 03:44:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA04781 for ; Wed, 5 Nov 1997 03:44:42 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id WAA00451; Wed, 5 Nov 1997 22:06:14 +1030 (CST) Message-Id: <199711051136.WAA00451@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: Mike Smith , Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 08:55:13 BST." <272.878716513@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 22:06:12 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In message <199711050501.PAA00312@word.smith.net.au>, Mike Smith writes: > > >One big issue (to me) is dealing with the fact that I need another > >segment descriptor for the PnP BIOS interface. > > This is no big deal, we have plenty available. No, we're out. If we want to be able to run Linux WABI, it wants (AFAIR) everything from 11 or 12 and up. At any rate, I think I have a solution which deposes the APM descriptors and makes them "general purpose" ones. I'll know Friday when I get to test it. > I do not like the > idea of trying to go through the vm86 interface to get to the APM. I was only *ever* proposing this for dealing with APM biossen that don't support the 32-bit interface. I don't actually know if it's worth the effort though, as we don't support such systems now... > My docking station is supposedly handled by the PnP event mechanism, > so I'm pretty interested in this stuff obviously. Hmm, I should get you to add my extra PnP rummaging and see which event signalling mechanism it uses. In particular, I'm interested to know if anyone uses the 'system device' method rather than the 'polled flag' method. > We will also need to enlist Stefan Esser to really get this to the > right place, because doing hot-plug/PnP/CardBus requires the ability > to modify the PCI setup, and hopefully all the drivers can be taught > this in some kind of meaningful way. Woo, CardBus. Not sure I'm ready for that just yet. > Anyway, go! go! go! I just happen to know you grok x86 assembler better than I do, so I want to pick your brain for suggestions here. Any other takers are welcome, of course. I have an interface (the PnP protected-mode interface, FWIW) which expects to be called via a "far call", ie. lcall seg:ofs. It also wants to take arguments on the (16-bit) stack. I'm trying to work out how to write an assembly shim to make this possible, as gcc doesn't grok "far" in any way shape or form. Presuming I have the segments created correctly, how do I make a call into another segment with arbitrary arguments on the stack? (I need to arrange a new data segment as well...) I'm stuffed on this one, short of custom-rolling a shim for each argument arrangement... mike From owner-freebsd-mobile Wed Nov 5 04:00:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA05695 for mobile-outgoing; Wed, 5 Nov 1997 04:00:35 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (ppp13.portal.net.au [202.12.71.113]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA05664 for ; Wed, 5 Nov 1997 04:00:04 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id WAA00523; Wed, 5 Nov 1997 22:20:31 +1030 (CST) Message-Id: <199711051150.WAA00523@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: Nate Williams , Mike Smith , Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 08:00:35 BST." <27313.878713235@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Nov 1997 22:20:27 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> Well, from my reading of things, yes; I can't actually see anything > >> that the card itself could actually be using to determine where it's > >> actually mapped. It sounds like the configuration entries are > >> basically junk there for the convenience of lazy DOS driver authors. > > Not quite. There are two kinds of mappings, one where the pcic does all > the work and one where the card does the work. The latter kind should > be used for leveling driveways with, but that is nontheless the reason > for 80% of the CIS complexity. Well, from looking at the current pcic driver sources I can't see how a mapped-at-zero card could work with what we have. That would tend to imply to me that while they are supported by the CIS design, there ain't too many of them around. How far off the mark am I? And is there a decent, non-expensive, reference to the CIS structure anywhere? mike From owner-freebsd-mobile Wed Nov 5 04:37:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA07376 for mobile-outgoing; Wed, 5 Nov 1997 04:37:50 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from twinlark.arctic.org (twinlark.arctic.org [204.62.130.91]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id EAA07371 for ; Wed, 5 Nov 1997 04:37:48 -0800 (PST) (envelope-from dgaudet-list-freebsd-mobile@arctic.org) Received: (qmail 26108 invoked by uid 500); 5 Nov 1997 12:37:48 -0000 Date: Wed, 5 Nov 1997 04:37:48 -0800 (PST) From: Dean Gaudet To: Bob Bishop cc: Brad Karp , freebsd-mobile@FreeBSD.ORG Subject: Re: IBM ThinkPad PS2.EXE API In-Reply-To: Message-ID: Organization: Transmeta Corp. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Unfortunately that's not what he wants... he wants a book that I referred to which is called the "thinkpad 560 technical reference". IBM produces such books for all of their computers and they include the BIOS interface. I could only find the desktop books online. I've only got a photocopy of the tp560 reference, and I can't find the part#. I sent a message off to IBM asking for the part# (and asking if they'd put it online like the others). I looked briefly at the desktop books, but they don't seem to include SMAPI (system mgmt API). SMAPI is the API for the thinkpads that lets you control all the settables like serial settings, parallel settings, performance settings (for battery power), and so on. It includes some of what APM does, but APM generally complements it. Dean On Wed, 5 Nov 1997, Bob Bishop wrote: > At 6:10 am +0000 5/11/97, Brad Karp wrote: > >In the past week or so, someone claimed that specs for the IBM ThinkPad > >BIOS routines for configuring power management (implemented by the PS2.EXE > >command under DOS) were publically available. > > Have a look at http://developer.intel.com/ial/powermgm/specs.htm > > You probably want http://developer.intel.com/ial/powermgm/apmovr.htm > > > -- > Bob Bishop (0118) 977 4017 international code +44 118 > rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK > > > From owner-freebsd-mobile Wed Nov 5 05:44:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA10306 for mobile-outgoing; Wed, 5 Nov 1997 05:44:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from kiste.ki.informatik.uni-frankfurt.de (kiste-5.ki.informatik.uni-frankfurt.de [141.2.5.112]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA10229 for ; Wed, 5 Nov 1997 05:43:38 -0800 (PST) (envelope-from marko@kiste.ki.informatik.uni-frankfurt.de) Received: (from marko@localhost) by kiste.ki.informatik.uni-frankfurt.de (8.7.6/8.7.3) id OAA06979; Wed, 5 Nov 1997 14:15:01 +0100 (MEZ) Date: Wed, 5 Nov 1997 14:15:01 +0100 (MEZ) Message-Id: <199711051315.OAA06979@kiste.ki.informatik.uni-frankfurt.de> From: Marko Schuetz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-mobile@freebsd.org Subject: subscribe X-Mailer: VM 6.34 under Emacs 20.2.1 Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk subscribe From owner-freebsd-mobile Wed Nov 5 06:18:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA11813 for mobile-outgoing; Wed, 5 Nov 1997 06:18:15 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailhub (tfs.com [140.145.250.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA11807 for ; Wed, 5 Nov 1997 06:18:12 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from schizo.dk.tfs.com by mailhub (SMI-8.6/SMI-SVR4) id GAA14395; Wed, 5 Nov 1997 06:11:06 -0800 Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id PAA01099; Wed, 5 Nov 1997 15:16:54 +0100 (MET) Received: from critter.freebsd.dk (localhost.dk.tfs.com [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id PAA00805; Wed, 5 Nov 1997 15:15:50 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Warner Losh cc: mobile@freebsd.org Subject: Re: APM 1.2 In-reply-to: Your message of "Wed, 05 Nov 1997 00:31:11 MST." <199711050731.AAA17137@harmony.village.org> Date: Wed, 05 Nov 1997 15:15:48 +0100 Message-ID: <803.878739348@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050731.AAA17137@harmony.village.org>, Warner Losh writes: >Casually browsing the apm sources, i've noticed that 1.0 and 1.1 versions of >apm are supported. the apm command tells me my machine supports 1.2. what >does 1.2 add over 1.1? It's almost usable, as opposed to "marginally useful". You can find the spec somewhere on Intel's site. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Wed Nov 5 06:29:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA12368 for mobile-outgoing; Wed, 5 Nov 1997 06:29:33 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailhub (tfs.com [140.145.250.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA12361 for ; Wed, 5 Nov 1997 06:29:28 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from schizo.dk.tfs.com by mailhub (SMI-8.6/SMI-SVR4) id GAA14533; Wed, 5 Nov 1997 06:21:23 -0800 Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id PAA01155; Wed, 5 Nov 1997 15:27:09 +0100 (MET) Received: from critter.freebsd.dk (localhost.dk.tfs.com [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id PAA00997; Wed, 5 Nov 1997 15:26:05 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith cc: Nate Williams , Warner Losh , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 22:20:27 +1030." <199711051150.WAA00523@word.smith.net.au> Date: Wed, 05 Nov 1997 15:26:05 +0100 Message-ID: <995.878739965@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711051150.WAA00523@word.smith.net.au>, Mike Smith writes: >> >> Well, from my reading of things, yes; I can't actually see anything >> >> that the card itself could actually be using to determine where it's >> >> actually mapped. It sounds like the configuration entries are >> >> basically junk there for the convenience of lazy DOS driver authors. >> >> Not quite. There are two kinds of mappings, one where the pcic does all >> the work and one where the card does the work. The latter kind should >> be used for leveling driveways with, but that is nontheless the reason >> for 80% of the CIS complexity. > >Well, from looking at the current pcic driver sources I can't see how a >mapped-at-zero card could work with what we have. That would tend to >imply to me that while they are supported by the CIS design, there >ain't too many of them around. true, but you have to support them anyway to be "compliant" :-( >How far off the mark am I? And is there a decent, non-expensive, >reference to the CIS structure anywhere? Not really. I paid a small fortune for my copy of the badly written standard :-( -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Wed Nov 5 06:31:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA12544 for mobile-outgoing; Wed, 5 Nov 1997 06:31:57 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mailhub (tfs.com [140.145.250.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA12538 for ; Wed, 5 Nov 1997 06:31:54 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from schizo.dk.tfs.com by mailhub (SMI-8.6/SMI-SVR4) id GAA14552; Wed, 5 Nov 1997 06:24:22 -0800 Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id PAA01190; Wed, 5 Nov 1997 15:30:06 +0100 (MET) Received: from critter.freebsd.dk (localhost.dk.tfs.com [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id PAA01016; Wed, 5 Nov 1997 15:29:03 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 22:06:12 +1030." <199711051136.WAA00451@word.smith.net.au> Date: Wed, 05 Nov 1997 15:29:03 +0100 Message-ID: <1014.878740143@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199711051136.WAA00451@word.smith.net.au>, Mike Smith writes: >> In message <199711050501.PAA00312@word.smith.net.au>, Mike Smith writes: >> >> >One big issue (to me) is dealing with the fact that I need another >> >segment descriptor for the PnP BIOS interface. >> >> This is no big deal, we have plenty available. > >No, we're out. If we want to be able to run Linux WABI, it wants >(AFAIR) everything from 11 or 12 and up. At any rate, I think I have a >solution which deposes the APM descriptors and makes them "general >purpose" ones. I'll know Friday when I get to test it. they What ??? They must be out of their mind :-( >> I do not like the >> idea of trying to go through the vm86 interface to get to the APM. > >I was only *ever* proposing this for dealing with APM biossen that >don't support the 32-bit interface. I don't actually know if it's >worth the effort though, as we don't support such systems now... Ahh, ok. >> My docking station is supposedly handled by the PnP event mechanism, >> so I'm pretty interested in this stuff obviously. > >Hmm, I should get you to add my extra PnP rummaging and see which event >signalling mechanism it uses. In particular, I'm interested to know if >anyone uses the 'system device' method rather than the 'polled flag' >method. polled flag in my case. >> We will also need to enlist Stefan Esser to really get this to the >> right place, because doing hot-plug/PnP/CardBus requires the ability >> to modify the PCI setup, and hopefully all the drivers can be taught >> this in some kind of meaningful way. > >Woo, CardBus. Not sure I'm ready for that just yet. Well, I still havn't seen any cards, so it's no rush yet :-) >I have an interface (the PnP protected-mode interface, FWIW) which >expects to be called via a "far call", ie. lcall seg:ofs. It also >wants to take arguments on the (16-bit) stack. I'm trying to work out >how to write an assembly shim to make this possible, as gcc doesn't >grok "far" in any way shape or form. > >Presuming I have the segments created correctly, how do I make a call >into another segment with arbitrary arguments on the stack? (I need to >arrange a new data segment as well...) I'm stuffed on this one, short >of custom-rolling a shim for each argument arrangement... I looked at that one. My idea was to do two levels of wrappers: 1. (Inline) Assembly call_pnp(segment, offset, int stackdepth, u_int16_t *stack) 2. C wrappers for each PnP function that constructs the above. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Wed Nov 5 07:58:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA17756 for mobile-outgoing; Wed, 5 Nov 1997 07:58:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA17750 for ; Wed, 5 Nov 1997 07:58:50 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xT7qw-0000zn-00; Wed, 5 Nov 1997 08:58:46 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id IAA19091; Wed, 5 Nov 1997 08:58:32 -0700 (MST) Message-Id: <199711051558.IAA19091@harmony.village.org> To: Mike Smith Subject: Re: Libretto 50 - US Version and PAO Cc: freebsd-mobile@freebsd.org In-reply-to: Your message of "Wed, 05 Nov 1997 16:13:49 +1030." <199711050543.QAA00453@word.smith.net.au> References: <199711050543.QAA00453@word.smith.net.au> Date: Wed, 05 Nov 1997 08:58:32 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711050543.QAA00453@word.smith.net.au> Mike Smith writes: : Uh. OK, the Libretto doesn't have the 'Fn' key and the little icons : across the function keys? Nope. Heck, there isn't even a cap locks led... : You might have to get chummy with the XF86 people and get them to add : these controls to their driver... I was afraid you'd say something like that... Warner From owner-freebsd-mobile Wed Nov 5 08:21:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA19082 for mobile-outgoing; Wed, 5 Nov 1997 08:21:58 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from wired.com (get.wired.com [204.62.131.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA19063 for ; Wed, 5 Nov 1997 08:21:45 -0800 (PST) (envelope-from robr@wired.com) Received: from get.wired.com (localhost [127.0.0.1]) by wired.com (8.8.6/8.7.3) with ESMTP id IAA10424; Wed, 5 Nov 1997 08:21:30 -0800 (PST) Message-Id: <199711051621.IAA10424@wired.com> To: Dean Gaudet cc: Bob Bishop , Brad Karp , freebsd-mobile@freebsd.org Subject: Re: IBM ThinkPad PS2.EXE API In-reply-to: Your message of "Wed, 05 Nov 1997 04:37:48 PST." Date: Wed, 05 Nov 1997 08:21:25 -0800 From: William Robertson Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Unfortunately that's not what he wants... he wants a book that I referred to which is called the "thinkpad 560 technical reference". the part number is/was #76H7587 for the "IBM Thinkpad 650 Technical Reference". i got mine a year ago for about 30$US. not worth it. it's only half the story. SMAPI allows you to set some basic power type stuff, and do some monitoring. Such as: Which power mode am/should I be in? Setting the resume timer. Which display to use. Missing are things, like on how to enable and disable on board devices, changing their interrupts/io portz, how to slow down the cpu and anything to with what you want, mucking with how hibernation works. The book refers to the "IBM Personal System/2 Hardware Interface Technical Reference" and "IBM Personal Computer BIOS Interface", which i ain't seen. rob From owner-freebsd-mobile Wed Nov 5 10:58:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA28950 for mobile-outgoing; Wed, 5 Nov 1997 10:58:10 -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 KAA28941 for ; Wed, 5 Nov 1997 10:58:08 -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 AA03475; Wed, 5 Nov 1997 10:58:07 -0800 Date: Wed, 5 Nov 1997 10:58:07 -0800 (PST) From: "Brian N. Handy" To: freebsd-mobile@freebsd.org Subject: New pccard entry 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 Hey folks, I just picked up an NE2000 compatible from Fry's, and it seems to work just about fine. Here's the pccard.conf entry for it, I confess I haven't checked -current to see if this is there. # Apollo RE450CT NE-2000 Clone (PIO Mode) card "Ethernet" "Adapter" config 0x1 "ed0" 11 0x10 insert echo Apollo NE2000 inserted insert /etc/pccard_ether ed0 link0 -link1 remove echo Apollo NE2000 removed remove /sbin/ifconfig ed0 delete Note the descriptive names it has in it's bios. :-) One question I have -- and I see this on my desktop every so often as well. It doesn't seem to effect anything, but I occasionally get these in my syslog: Nov 5 10:50:36 kriek /kernel: ed0: device timeout I've only seen these with NE2000 clones. Any ideas? Thanks, Brian From owner-freebsd-mobile Wed Nov 5 11:39:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA01980 for mobile-outgoing; Wed, 5 Nov 1997 11:39:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hq.pro-ns.net (hq.pro-ns.net [208.200.182.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA01972 for ; Wed, 5 Nov 1997 11:39:14 -0800 (PST) (envelope-from wmo@hq.pro-ns.net) Received: from hq.pro-ns.net (localhost [127.0.0.1]) by hq.pro-ns.net (8.7.5/8.7.3) with ESMTP id NAA27274 for ; Wed, 5 Nov 1997 13:39:06 -0600 (CST) Message-Id: <199711051939.NAA27274@hq.pro-ns.net> To: freebsd-mobile@freebsd.org Subject: Some APM stuff MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27271.878758746.1@hq.pro-ns.net> Date: Wed, 05 Nov 1997 13:39:06 -0600 From: "Bill O'Hanlon" Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm somewhat interested in getting some of the APM stuff working on my laptop, which is a Compaq Concerto. It's a little old, so if this just isn't going to happen, it's no big deal. On the off chance that any of these observations help advance the cause, I'm sending them. Feel free to ignore all of this -- I'm just tinkering for the fun of it. There's a couple things I'll mention. First, I've got two PCMCIA cards in it, and they both work fine. One's an Intel Faxmodem 14.4, and the other is a Linksys Ethernet card. (Don't buy these, by the way -- the dongle for the ethernet connection is loose and fragile. I'm on my second dongle, and they're not cheap.) Nate, you mentioned a while back that some people have to use sio.c with some of the probes commented out to get the modem card to work. I'm one of them. So, if anyone wants to run that issue down, I'd be happy to try your code. Since it works with the probes (3, 5 and 6, if I recall correctly) commented out, I'm happy with it the way it is. I might look at it after I get around the APM things. First of all, here's the output from apm. Is that APM version possible?? Maybe I'm too far back on this old machine to be able to get this stuff working. APM version: 0.27 APM Managment: Enabled AC Line status: on-line Battery status: charging Remaining battery life: 100% Next, here's the boot output from a kernel with APM_DEBUG defined. The thing that I think might be useful for people working on the APM stuff is the part where "Add hook" is called for BOTH Cirrus Logic and Intel PCIC hardware. Is this right? It doesn't look right. Plus, both are in there multiple times. Oh, I suppose I should mention what doesn't work: if I do a "zzz", I get a panic. The stack trace from DDB has a zillion calls to "apm_processevent" and "apm_suspend" -- as if they're calling each other in an infinite loop. Interestingly, the machine DID suspend right after the debugger prompt comes up -- so it's almost like the suspend would work if the routines weren't calling each other to death. Resuming from suspend brings it back up with the debugger active, so the resume almost seems to work, too. If this helps anyone trying to get the APM stuff working in a general fashion, great. If not, I'll just continue to poke at it myself. Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #2: Tue Nov 4 23:49:29 CST 1997 wmo@rebma.pro-ns.net:/usr4/src/sys/compile/MIATA2 CPU: i486DX (486-class CPU) real memory = 12845056 (12544K bytes) avail memory = 10461184 (10216K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> Add hook "system keyboard" ed0 not found at 0x280 sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 not found at 0x2f8 sio2 not found at 0x3e8 psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 pca0 on motherboard pca0: PC speaker audio driver fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 122MB (249900 sectors), 980 cyls, 15 heads, 17 S/T, 512 B/S npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: APM BIOS version 0001 apm: Code32 0xf00f0000, Code16 0xf00f0000, Data 0xf00f0000 apm: Code entry 0x0000c505, Idling CPU disabled, Management enabled apm: CS_limit=0x1f, DS_limit=0x655 apm: found APM BIOS version 0.27 apm: Slow Idling CPU disabled Add hook "default suspend" Add hook "default resume" called apm_event_enable() ppc0 at 0x3bc irq 7 on isa ppc0: Generic chipset in EPP mode (EPP 1.9) ppi0: on ppbus 0 PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) Add hook "Cirrus Logic PD672X" Add hook "Cirrus Logic PD672X" pcic: controller irq 3 Add hook "Cirrus Logic PD672X" Add hook "Cirrus Logic PD672X" Add hook "Intel 82365" Add hook "Intel 82365" Initializing PC-card drivers: ed sio wd0: wdcontrol: wdcommand failed reading fsbn 0wd0: status 1 error 4 Card inserted, slot 1 WARNING: / was not properly dismounted. ed0: address 00:80:c8:80:c4:1a, type NE2000 (16 bit) Slot 1, unfielded interrupt (5) APM ioctl: cmd = 0x20005005 called apm_event_enable() APM ioctl: cmd = 0x40185002 From owner-freebsd-mobile Wed Nov 5 12:52:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA07369 for mobile-outgoing; Wed, 5 Nov 1997 12:52:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA07364 for ; Wed, 5 Nov 1997 12:52:14 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id NAA06735; Wed, 5 Nov 1997 13:52:07 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id NAA20683; Wed, 5 Nov 1997 13:52:04 -0700 (MST) Date: Wed, 5 Nov 1997 13:52:04 -0700 (MST) Message-Id: <199711052052.NAA20683@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Bill O'Hanlon" Cc: freebsd-mobile@freebsd.org Subject: Re: Some APM stuff In-Reply-To: <199711051939.NAA27274@hq.pro-ns.net> References: <199711051939.NAA27274@hq.pro-ns.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > First of all, here's the output from apm. Is that APM version > possible?? Maybe I'm too far back on this old machine to be able > to get this stuff working. > > APM version: 0.27 This is 'interesting', to say the least. Otherwise it appears to be working right, but that might be due to the flags that are on by default. Poul can comment on that. > Next, here's the boot output from a kernel with APM_DEBUG defined. > The thing that I think might be useful for people working on the > APM stuff is the part where "Add hook" is called for BOTH Cirrus Logic > and Intel PCIC hardware. Is this right? It doesn't look right. > Plus, both are in there multiple times. I don't have time to look at it right now, maybe someone else can (Mike?) > Oh, I suppose I should mention what doesn't work: if I do a > "zzz", I get a panic. The stack trace from DDB has a zillion > calls to "apm_processevent" and "apm_suspend" -- as if they're > calling each other in an infinite loop. Until recently we didn't deal with things correctly with regards to error handling by the BIOS. I fixed it Tuesday, and your code might not have the change in it. revision 1.63 date: 1997/11/04 17:37:52; author: nate; state: Exp; lines: +6 -3 - If the APM BIOS fails to suspend the system after running the suspend hooks, run the resume hooks to re-configure the system back to where it was. Can you update apm.c to make sure it's version 1.63, to make sure that fix doesn't make things work. Nate From owner-freebsd-mobile Wed Nov 5 12:59:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA07757 for mobile-outgoing; Wed, 5 Nov 1997 12:59:13 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from twinlark.arctic.org (twinlark.arctic.org [204.62.130.91]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA07750 for ; Wed, 5 Nov 1997 12:59:11 -0800 (PST) (envelope-from dgaudet-list-freebsd-mobile@arctic.org) Received: (qmail 10385 invoked by uid 500); 5 Nov 1997 20:59:09 -0000 Date: Wed, 5 Nov 1997 12:59:08 -0800 (PST) From: Dean Gaudet To: William Robertson cc: Bob Bishop , Brad Karp , freebsd-mobile@FreeBSD.ORG Subject: Re: IBM ThinkPad PS2.EXE API In-Reply-To: <199711051621.IAA10424@wired.com> Message-ID: Organization: Transmeta Corp. 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, 5 Nov 1997, William Robertson wrote: > the part number is/was #76H7587 for the "IBM Thinkpad 650 Technical > Reference". i got mine a year ago for about 30$US. not worth it. > > it's only half the story. SMAPI allows you to set some basic power type > stuff, and do some monitoring. Such as: Which power mode am/should I > be in? Setting the resume timer. Which display to use. > > Missing are things, like on how to enable and disable on board > devices, changing their interrupts/io portz, how to slow down the cpu > and anything to with what you want, mucking with how hibernation > works. Oh hmm. You're right, I didn't notice how much was missing. It only lets you select between the various power mgmt modes "high", "auto", "manual", doesn't let you define each. Ugh. I wonder if some coercing could get PS2.EXE to run in a DOS box, with the interrupts simulated. Dean From owner-freebsd-mobile Wed Nov 5 14:17:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13421 for mobile-outgoing; Wed, 5 Nov 1997 14:17:08 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hammurabi.nh.ultra.net (hammurabi.nh.ultra.net [205.162.79.24]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13403 for ; Wed, 5 Nov 1997 14:17:02 -0800 (PST) (envelope-from paulg@mtghouse.com) Received: from lucy.portsmouth (paulg.nh.ultranet.com [207.41.158.58]) by hammurabi.nh.ultra.net (8.8.5/ult1.04) with SMTP id RAA11381 for ; Wed, 5 Nov 1997 17:16:44 -0500 (EST) Received: (qmail 25229 invoked from network); 5 Nov 1997 22:18:21 -0000 Received: from unknown (HELO larry) (192.32.47.65) by 192.32.47.84 with SMTP; 5 Nov 1997 22:18:21 -0000 Message-ID: <3460F0AB.794BDF32@mtghouse.com> Date: Wed, 05 Nov 1997 17:18:19 -0500 From: Paul Goransson Organization: Meetinghouse/Qosnetics/QA-Robotics X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Etherlink III PCMCIA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just purchased a Etherlink III PCMCIA card for my Winbook laptop on which I have FreeBSD running. I have just found that the model that was delivered (3c589d) is not supported by FreeBSD only models a-c, which I cannot seem to purchase anywhere. Does anybody know of a source of a driver that will work with the 3c589d, or a source of an alternate PCMCIA card/model for which support does exist in FreeBSD. Paul Goransson paulg@qosnet.com From owner-freebsd-mobile Wed Nov 5 17:28:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25957 for mobile-outgoing; Wed, 5 Nov 1997 17:28:16 -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 RAA25945 for ; Wed, 5 Nov 1997 17:28:09 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id LAA00464; Thu, 6 Nov 1997 11:51:12 +1030 (CST) Message-Id: <199711060121.LAA00464@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: Mike Smith , Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 15:29:03 BST." <1014.878740143@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 11:51:11 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >No, we're out. If we want to be able to run Linux WABI, it wants > >(AFAIR) everything from 11 or 12 and up. At any rate, I think I have a > >solution which deposes the APM descriptors and makes them "general > >purpose" ones. I'll know Friday when I get to test it. > > they What ??? > > They must be out of their mind :-( Quite possibly. Willows TWIN wants (by default) everything from 12 up. At least we have source for that. Check with sos about WABI; he was closer to having it run than I was. > >> I do not like the > >> idea of trying to go through the vm86 interface to get to the APM. > > > >I was only *ever* proposing this for dealing with APM biossen that > >don't support the 32-bit interface. I don't actually know if it's > >worth the effort though, as we don't support such systems now... > > Ahh, ok. Oh, and doing the connects, for obvious reasons. > >Hmm, I should get you to add my extra PnP rummaging and see which event > >signalling mechanism it uses. In particular, I'm interested to know if > >anyone uses the 'system device' method rather than the 'polled flag' > >method. > > polled flag in my case. Thought so. The 'system device' method would involve about 10x as much code I think. > >I have an interface (the PnP protected-mode interface, FWIW) which > >expects to be called via a "far call", ie. lcall seg:ofs. It also > >wants to take arguments on the (16-bit) stack. I'm trying to work out > >how to write an assembly shim to make this possible, as gcc doesn't > >grok "far" in any way shape or form. > > > >Presuming I have the segments created correctly, how do I make a call > >into another segment with arbitrary arguments on the stack? (I need to > >arrange a new data segment as well...) I'm stuffed on this one, short > >of custom-rolling a shim for each argument arrangement... > > I looked at that one. My idea was to do two levels of wrappers: Yeah, these are the ideas I had. I wanted implementation suggestions 8) > 1. (Inline) Assembly > call_pnp(segment, offset, int stackdepth, u_int16_t *stack) You left the data segment out... One thing I was wondering; does pnp_func(u_int16_t a, u_int16_b) construct the stack properly, or will we still get int-sized objects on the stack? mike From owner-freebsd-mobile Wed Nov 5 17:33:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA26309 for mobile-outgoing; Wed, 5 Nov 1997 17:33:17 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA26298; Wed, 5 Nov 1997 17:33:11 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xTGoZ-0001EX-00; Wed, 5 Nov 1997 18:32:55 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id SAA21956; Wed, 5 Nov 1997 18:32:44 -0700 (MST) Message-Id: <199711060132.SAA21956@harmony.village.org> To: Paul Goransson Subject: Re: Etherlink III PCMCIA Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org In-reply-to: Your message of "Wed, 05 Nov 1997 17:18:19 EST." <3460F0AB.794BDF32@mtghouse.com> References: <3460F0AB.794BDF32@mtghouse.com> Date: Wed, 05 Nov 1997 18:32:44 -0700 From: Warner Losh Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <3460F0AB.794BDF32@mtghouse.com> Paul Goransson writes: : Does anybody know of a source of a driver that will work with the : 3c589d, or My 3C589D works w/o a hitch with both 2.2.2R PAO and -current's ep pcmcia driver. I'm also told that the zp driver works as well, although it doesn't support hot plugging. I did have to hack the pccard.conf that came with PAO to exclude an I/O range that my Libretto 50CT otherwise had in use. Warner From owner-freebsd-mobile Wed Nov 5 17:43:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA27182 for mobile-outgoing; Wed, 5 Nov 1997 17:43:28 -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 RAA27171; Wed, 5 Nov 1997 17:43:20 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id MAA00561; Thu, 6 Nov 1997 12:09:18 +1030 (CST) Message-Id: <199711060139.MAA00561@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Paul Goransson cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Etherlink III PCMCIA In-reply-to: Your message of "Wed, 05 Nov 1997 17:18:19 CDT." <3460F0AB.794BDF32@mtghouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 12:09:18 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I just purchased a Etherlink III PCMCIA card for my Winbook laptop > on which I have FreeBSD running. I have just found that the > model that was delivered (3c589d) is not supported by FreeBSD > only models a-c, which I cannot seem to purchase anywhere. The 3C589D is supported, as even the most brief search of the -mobile list archive would have shown you. Please take advantage of the resources that are available to you. Now, if you were to tell us which *version* of FreeBSD you are running, we could identify a number of possible difficulties which might be preventing you from enjoying the use of your '589. mike From owner-freebsd-mobile Wed Nov 5 17:47:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA27654 for mobile-outgoing; Wed, 5 Nov 1997 17:47:46 -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 RAA27640 for ; Wed, 5 Nov 1997 17:47:37 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id MAA00598; Thu, 6 Nov 1997 12:13:39 +1030 (CST) Message-Id: <199711060143.MAA00598@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Brian N. Handy" cc: freebsd-mobile@FreeBSD.ORG Subject: Re: New pccard entry In-reply-to: Your message of "Wed, 05 Nov 1997 10:58:07 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 12:13:39 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hey folks, > > I just picked up an NE2000 compatible from Fry's, and it seems to work > just about fine. Here's the pccard.conf entry for it, I confess I haven't > checked -current to see if this is there. > > # Apollo RE450CT NE-2000 Clone (PIO Mode) > card "Ethernet" "Adapter" > config 0x1 "ed0" 11 0x10 The '0x10' is a PAO-ism. Nuke it. > insert echo Apollo NE2000 inserted > insert /etc/pccard_ether ed0 link0 -link1 And the 'ed' driver doesn't use the link flags for NE2000 clones. > remove echo Apollo NE2000 removed > remove /sbin/ifconfig ed0 delete > > > Note the descriptive names it has in it's bios. :-) Heh. Is the package for the card crimped closed, or does it just snap together? If the latter, if you have a chance to open it up, I'd be interested in knowing what the chip inside is... > One question I have -- and I see this on my desktop every so often as > well. It doesn't seem to effect anything, but I occasionally get these in > my syslog: > > Nov 5 10:50:36 kriek /kernel: ed0: device timeout > > I've only seen these with NE2000 clones. Any ideas? It usually means that there's a problem with your network cabling; the 8390 generates a 'transmission complete' interrupt when it's finished sending a packet, but if it doesn't hear itself on the network it won't generate it, leading to the timeout message above. mike From owner-freebsd-mobile Wed Nov 5 17:52:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA28378 for mobile-outgoing; Wed, 5 Nov 1997 17:52:59 -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 RAA28358 for ; Wed, 5 Nov 1997 17:52:49 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id MAA00618; Thu, 6 Nov 1997 12:16:03 +1030 (CST) Message-Id: <199711060146.MAA00618@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: Mike Smith , Nate Williams , Warner Losh , freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Wed, 05 Nov 1997 15:26:05 BST." <995.878739965@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 12:16:02 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >Well, from looking at the current pcic driver sources I can't see how a > >mapped-at-zero card could work with what we have. That would tend to > >imply to me that while they are supported by the CIS design, there > >ain't too many of them around. > > true, but you have to support them anyway to be "compliant" :-( Uh, do we care? Given the way the PCMCIA people feel about money, I can't see us pursuing any sort of "certification" from them, and if mapped-at-zero cards are a real rarity that's responsible for a great deal of our pain, I can think of some pretty explicit things we should be doing to our support for them. > >How far off the mark am I? And is there a decent, non-expensive, > >reference to the CIS structure anywhere? > > Not really. I paid a small fortune for my copy of the badly written > standard :-( Ouch. (The comment, I know it's grossly overpriced.) mike From owner-freebsd-mobile Wed Nov 5 18:22:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA00869 for mobile-outgoing; Wed, 5 Nov 1997 18:22:15 -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 SAA00852 for ; Wed, 5 Nov 1997 18:22:07 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id MAA00734; Thu, 6 Nov 1997 12:48:06 +1030 (CST) Message-Id: <199711060218.MAA00734@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Bill O'Hanlon" cc: freebsd-mobile@freebsd.org Subject: Re: Some APM stuff In-reply-to: Your message of "Wed, 05 Nov 1997 13:39:06 MDT." <199711051939.NAA27274@hq.pro-ns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 12:48:05 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm somewhat interested in getting some of the APM stuff working > on my laptop, which is a Compaq Concerto. It's a little old, so > if this just isn't going to happen, it's no big deal. We can but try. Tell me, do you have the courage (and experience, and tools) necessary to open it up and eyeball the PCIC? Knowing what the hardware is can often help a great deal. > On the off chance that any of these observations help advance the > cause, I'm sending them. Feel free to ignore all of this -- I'm > just tinkering for the fun of it. Datapoints are always worthwhile. If nothing else, this is in the archive now, so if we're chasing it later, we have a reference. > There's a couple things I'll mention. First, I've got two PCMCIA > cards in it, and they both work fine. One's an Intel Faxmodem > 14.4, and the other is a Linksys Ethernet card. (Don't buy these, > by the way -- the dongle for the ethernet connection is loose and > fragile. I'm on my second dongle, and they're not cheap.) Aren't they all? > Nate, you mentioned a while back that some people have to use sio.c > with some of the probes commented out to get the modem card to > work. I'm one of them. So, if anyone wants to run that issue > down, I'd be happy to try your code. Since it works with the probes > (3, 5 and 6, if I recall correctly) commented out, I'm happy with > it the way it is. This sounds like interrupts aren't working at all. Or if they are, they work kinda strangely. In sio.c:sioprobe(), there are some delays that were inserted to deal with various slow modems; you might want to increase them (see where the failing tests are made and increase the delays before the tests are performed). If you have a chance to check the card in another laptop, it would be interesting to know if the problem(s) follow the card or stay with the machine. > First of all, here's the output from apm. Is that APM version > possible?? Maybe I'm too far back on this old machine to be able > to get this stuff working. > > APM version: 0.27 This looks pretty kinky, but the BIOS is claiming that the function is supported. > APM Managment: Enabled > AC Line status: on-line > Battery status: charging > Remaining battery life: 100% How do these correspond to reality? If you pull the AC power, does the status change to match? Is the battery actually charging (ie. not full?) > Oh, I suppose I should mention what doesn't work: if I do a > "zzz", I get a panic. The stack trace from DDB has a zillion > calls to "apm_processevent" and "apm_suspend" -- as if they're > calling each other in an infinite loop. Interestingly, the > machine DID suspend right after the debugger prompt > comes up -- so it's almost like the suspend would work if the > routines weren't calling each other to death. Resuming from > suspend brings it back up with the debugger active, so the resume > almost seems to work, too. It would be useful to know what the APM events in question are; I suspect that we are not dealing with a response that the BIOS is sending in the correct fashion. > If this helps anyone trying to get the APM stuff working in > a general fashion, great. If not, I'll just continue to > poke at it myself. > apm: APM BIOS version 0001 Interesting that this and the other message disagree. It looks like your BIOS might be prior to APM-1.0, and reporting different values in the initial presence check and subsequent connects. > apm: Code32 0xf00f0000, Code16 0xf00f0000, Data 0xf00f0000 > apm: Code entry 0x0000c505, Idling CPU disabled, Management enabled > apm: CS_limit=0x1f, DS_limit=0x655 > apm: found APM BIOS version 0.27 Hmm, very low CS limit makes it look like this does most of its work in 16-bit mode. Interesting that they have the 32-bit entry in such a (potentially) old version. Do you have Windows 95 on this box by any chance? > ppc0 at 0x3bc irq 7 on isa > ppc0: Generic chipset in EPP mode (EPP 1.9) > ppi0: on ppbus 0 You should be able to add the 'nlpt' driver if you want to be able to print on this box. 8) > PC-Card Cirrus Logic PD672X (5 mem & 2 I/O windows) > Add hook "Cirrus Logic PD672X" > Add hook "Cirrus Logic PD672X" > pcic: controller irq 3 Suspend/resume hooks for the first slot, then IRQ allocation > Add hook "Cirrus Logic PD672X" > Add hook "Cirrus Logic PD672X" Suspend/resume hooks for the second slot. > Add hook "Intel 82365" > Add hook "Intel 82365" Erk. Where the F* did that come from? It looks like pccard_alloc_slot got called with garbage. It would be educational to know the contents of the slot structure on each call, if you could swing that. In particular, it looks like something is showing up looking like a third slot, but not on the Cirrus-like pcic. mike From owner-freebsd-mobile Wed Nov 5 22:42:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA23113 for mobile-outgoing; Wed, 5 Nov 1997 22:42:55 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA23097 for ; Wed, 5 Nov 1997 22:42:51 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id HAA01979; Thu, 6 Nov 1997 07:41:09 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith cc: Nate Williams , freebsd-mobile@freebsd.org Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Thu, 06 Nov 1997 11:51:11 +1030." <199711060121.LAA00464@word.smith.net.au> Date: Thu, 06 Nov 1997 07:41:06 +0100 Message-ID: <1977.878798466@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711060121.LAA00464@word.smith.net.au>, Mike Smith writes: >> 1. (Inline) Assembly >> call_pnp(segment, offset, int stackdepth, u_int16_t *stack) > >You left the data segment out... > >One thing I was wondering; does > >pnp_func(u_int16_t a, u_int16_b) > >construct the stack properly, or will we still get int-sized objects on >the stack? You still get 32bit stuff on the stack. C promotes them. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Wed Nov 5 23:36:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA27509 for mobile-outgoing; Wed, 5 Nov 1997 23:36:34 -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 XAA27503 for ; Wed, 5 Nov 1997 23:36:30 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA01727; Thu, 6 Nov 1997 17:59:22 +1030 (CST) Message-Id: <199711060729.RAA01727@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Thu, 06 Nov 1997 07:41:06 BST." <1977.878798466@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Nov 1997 17:59:20 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In message <199711060121.LAA00464@word.smith.net.au>, Mike Smith writes: > > >One thing I was wondering; does > > > >pnp_func(u_int16_t a, u_int16_b) > > > >construct the stack properly, or will we still get int-sized objects on > >the stack? > > You still get 32bit stuff on the stack. C promotes them. As Shakespeare would have said, "Puck". Alright, let's try something even more ugly. /* * pnpcall(int dseg, int coffs, int cseg, * int retoffs, int retseg, u_int_16 stack[PNP_MAXSTACK]) * pass (retoffs) and (retseg) in as junk. */ ENTRY(pnpcall) movl %cs,%di movl %di,(5*4)(%esp) movl pnpret,(4*4)(%esp) popl %di movl %di,%ds lret pnpret: /* fossick return value etc. */ About all I can see here is that we don't save any registers across the call, which might be Bad. Comments? mike From owner-freebsd-mobile Thu Nov 6 04:43:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA11147 for mobile-outgoing; Thu, 6 Nov 1997 04:43:27 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA11142 for ; Thu, 6 Nov 1997 04:43:24 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id NAA00480; Thu, 6 Nov 1997 13:41:32 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Mike Smith cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Thu, 06 Nov 1997 17:59:20 +1030." <199711060729.RAA01727@word.smith.net.au> Date: Thu, 06 Nov 1997 13:41:32 +0100 Message-ID: <478.878820092@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199711060729.RAA01727@word.smith.net.au>, Mike Smith writes: >> In message <199711060121.LAA00464@word.smith.net.au>, Mike Smith writes: >> >> >One thing I was wondering; does >> > >> >pnp_func(u_int16_t a, u_int16_b) >> > >> >construct the stack properly, or will we still get int-sized objects on >> >the stack? >> >> You still get 32bit stuff on the stack. C promotes them. > >As Shakespeare would have said, "Puck". > >Alright, let's try something even more ugly. > >/* > * pnpcall(int dseg, int coffs, int cseg, > * int retoffs, int retseg, u_int_16 stack[PNP_MAXSTACK]) > * pass (retoffs) and (retseg) in as junk. > */ >ENTRY(pnpcall) > movl %cs,%di > movl %di,(5*4)(%esp) > movl pnpret,(4*4)(%esp) > popl %di > movl %di,%ds > lret >pnpret: /* fossick return value etc. */ > >About all I can see here is that we don't save any registers across >the call, which might be Bad. > >Comments? Uhm, the "popl %di" comes from the wrong stack, right ? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Thu Nov 6 05:44:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA14185 for mobile-outgoing; Thu, 6 Nov 1997 05:44:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA14179 for ; Thu, 6 Nov 1997 05:44:48 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id AAA00574; Fri, 7 Nov 1997 00:10:28 +1030 (CST) Message-Id: <199711061340.AAA00574@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Libretto 50 - US Version and PAO In-reply-to: Your message of "Thu, 06 Nov 1997 13:41:32 BST." <478.878820092@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Nov 1997 00:10:28 +1030 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >Alright, let's try something even more ugly. > > > >/* > > * pnpcall(int dseg, int coffs, int cseg, > > * int retoffs, int retseg, u_int_16 stack[PNP_MAXSTACK]) > > * pass (retoffs) and (retseg) in as junk. > > */ > >ENTRY(pnpcall) > > movl %cs,%di > > movl %di,(5*4)(%esp) > > movl pnpret,(4*4)(%esp) > > popl %di > > movl %di,%ds > > lret > >pnpret: /* fossick return value etc. */ > > > >About all I can see here is that we don't save any registers across > >the call, which might be Bad. > > > >Comments? > > Uhm, the "popl %di" comes from the wrong stack, right ? Argh, yes the return address for the caller is still on top. OK, is anyone going to shoot me if I hardcode the various selector numbers into this? I can't see any other way of doing this cleanly... /* * int pnpcall(int dseg, int coffs, int cseg, * int retoffs, int retseg, u_int_16 stack[PNP_MAXSTACK]) * pass (retoffs) and (retseg) in as junk. */ #define LCALL(x,y) .byte 0x9a ; .long y ; .word x .data disave: .long 0 caller: .long 0 .text ENTRY(pnpcall) movl %di,disave popl %di movl %di,caller movl $GCODE_SEL,(5*4)(%esp) movl $pnpret,(4*4)(%esp) popl %di /* get data segement selector for PnP */ movl %di,%ds lret /* intersegment call */ pnpret: movl $GDATA_SEL,%di movl %di,%ds /* carry flag should be OK still; how do I return a value?! (%eax?) */ movl caller,%di pushl %di movl disave,%di ret Any better? mike From owner-freebsd-mobile Thu Nov 6 09:05:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA27811 for mobile-outgoing; Thu, 6 Nov 1997 09:05:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from church.cse.ogi.edu (cse.ogi.edu [129.95.20.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA27798 for ; Thu, 6 Nov 1997 09:05:48 -0800 (PST) (envelope-from jrb@church.cse.ogi.edu) Received: from church.cse.ogi.edu (localhost [127.0.0.1]) by church.cse.ogi.edu (8.8.6/8.8.6) with ESMTP id JAA25836 for freebsd-mobile@freebsd.org; Thu, 6 Nov 1997 09:05:42 -0800 (PST) Message-Id: <199711061705.JAA25836@church.cse.ogi.edu> To: freebsd-mobile@freebsd.org Subject: noteworthy/toshiba ethernet card hareware In-reply-to: Your message of "Fri, 07 Nov 1997 00:10:28 +1030." <199711061340.AAA00574@word.smith.net.au> Date: Thu, 06 Nov 1997 09:05:41 -0800 From: Jim Binkley Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk seems to have changed. It was a NE2000 compatible. Now it is a IBM jetdirect, whatever that is. Has anyone had *recent* luck with getting this to work somehow PAO or no PAO? I tried it under 2.2.2 PAO and ended up with no driver, although always possible that I should have had some other driver in the kernel. ed0 doesn't care for the card. Jim Binkley jrb@cse.ogi.edu From owner-freebsd-mobile Thu Nov 6 12:46:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA12034 for mobile-outgoing; Thu, 6 Nov 1997 12:46:56 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA12024; Thu, 6 Nov 1997 12:46:45 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id VAA08544; Thu, 6 Nov 1997 21:46:28 +0100 (MET) From: Guido van Rooij Message-Id: <199711062046.VAA08544@gvr.gvr.org> Subject: Re: Etherlink III PCMCIA In-Reply-To: <3460F0AB.794BDF32@mtghouse.com> from Paul Goransson at "Nov 5, 97 05:18:19 pm" To: paulg@mtghouse.com (Paul Goransson) Date: Thu, 6 Nov 1997 21:46:27 +0100 (MET) Cc: freebsd-questions@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Goransson wrote: > I just purchased a Etherlink III PCMCIA card for my Winbook laptop > on which I have FreeBSD running. I have just found that the > model that was delivered (3c589d) is not supported by FreeBSD > only models a-c, which I cannot seem to purchase anywhere. > > Does anybody know of a source of a driver that will work with the > 3c589d, or > > a source of an alternate PCMCIA card/model for which support does > exist in FreeBSD. The D model is supported, but you need to edit pccard.conf and add a D to the identifier for the card: card "3Com Corporation" "3C589D" -Guido From owner-freebsd-mobile Thu Nov 6 18:41:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA02098 for mobile-outgoing; Thu, 6 Nov 1997 18:41:37 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA02078; Thu, 6 Nov 1997 18:41:34 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id TAA17330; Thu, 6 Nov 1997 19:41:25 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id TAA26362; Thu, 6 Nov 1997 19:41:23 -0700 (MST) Date: Thu, 6 Nov 1997 19:41:23 -0700 (MST) Message-Id: <199711070241.TAA26362@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul Goransson Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Etherlink III PCMCIA In-Reply-To: <3460F0AB.794BDF32@mtghouse.com> References: <3460F0AB.794BDF32@mtghouse.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I just purchased a Etherlink III PCMCIA card for my Winbook laptop > on which I have FreeBSD running. I have just found that the > model that was delivered (3c589d) is not supported by FreeBSD > only models a-c FreeBSD 2.2.5 supported the D model. Nate From owner-freebsd-mobile Fri Nov 7 08:56:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA09503 for mobile-outgoing; Fri, 7 Nov 1997 08:56:26 -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 IAA09498 for ; Fri, 7 Nov 1997 08:56:23 -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 AA22243; Fri, 7 Nov 1997 08:56:23 -0800 Date: Fri, 7 Nov 1997 08:56:23 -0800 (PST) From: "Brian N. Handy" To: freebsd-mobile@freebsd.org Subject: disk drives 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 Question for the class...is it possible to plug two disk drives into your typical laptop at the same time? (In particular the TP560.) I need to build another drive for a guy, but I'd like to just plug it into the innards of my thinkpad, copy the salient bits over and then swap it into his machine. It wouldn't even have to *fit* inside the case for this. Seems like a stretch, but sure would be nice... Brian From owner-freebsd-mobile Fri Nov 7 09:52:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA12778 for mobile-outgoing; Fri, 7 Nov 1997 09:52:39 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA12773 for ; Fri, 7 Nov 1997 09:52:35 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id KAA22565; Fri, 7 Nov 1997 10:52:32 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA28513; Fri, 7 Nov 1997 10:52:31 -0700 (MST) Date: Fri, 7 Nov 1997 10:52:31 -0700 (MST) Message-Id: <199711071752.KAA28513@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Brian N. Handy" Cc: freebsd-mobile@freebsd.org Subject: Re: disk drives In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Question for the class...is it possible to plug two disk drives into your > typical laptop at the same time? (In particular the TP560.) I need to > build another drive for a guy, but I'd like to just plug it into the > innards of my thinkpad, copy the salient bits over and then swap it into > his machine. It wouldn't even have to *fit* inside the case for this. > Seems like a stretch, but sure would be nice... If you get it working, let me know. We couldn't find a way to do it earlier this week, and did it from scratch (using Windows in our case, but we couldn't even get two 'drives' hooked up at the same time. I suspect with dump/restore it would have worked, but I still would have had to go 'install' the stuff and partition the disk before-hand. Nate From owner-freebsd-mobile Fri Nov 7 10:36:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA15274 for mobile-outgoing; Fri, 7 Nov 1997 10:36:24 -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 KAA15268 for ; Fri, 7 Nov 1997 10:36:20 -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 DAA03701; Sat, 8 Nov 1997 03:35:50 +0900 (JST) To: Nate Williams cc: "Brian N. Handy" , freebsd-mobile@FreeBSD.ORG In-reply-to: nate's message of Fri, 07 Nov 1997 10:52:31 MST. <199711071752.KAA28513@rocky.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: disk drives From: Jun-ichiro itojun Itoh Date: Sat, 08 Nov 1997 03:35:49 +0900 Message-ID: <3697.878927749@coconut.itojun.org> Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Question for the class...is it possible to plug two disk drives into your >> typical laptop at the same time? (In particular the TP560.) I need to >> build another drive for a guy, but I'd like to just plug it into the >> innards of my thinkpad, copy the salient bits over and then swap it into >> his machine. It wouldn't even have to *fit* inside the case for this. >> Seems like a stretch, but sure would be nice... >If you get it working, let me know. We couldn't find a way to do it >earlier this week, and did it from scratch (using Windows in our case, >but we couldn't even get two 'drives' hooked up at the same time. I >suspect with dump/restore it would have worked, but I still would have >had to go 'install' the stuff and partition the disk before-hand. it is quite simple. buy this kind of product (pcmcia-to-ide harddisk interface), and perform a filesystem dump from wd0 to wd2. http://www.sparco.com/cgi-bin/product_lookup/catalog_.search?spn=A764324&show_discounts=0 i believe there are several products available for this, but i can't remember who manufactures this. itojun From owner-freebsd-mobile Fri Nov 7 10:49:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA16083 for mobile-outgoing; Fri, 7 Nov 1997 10:49:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA16070 for ; Fri, 7 Nov 1997 10:49:45 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id TAA03212; Fri, 7 Nov 1997 19:48:13 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Nate Williams cc: "Brian N. Handy" , freebsd-mobile@freebsd.org Subject: Re: disk drives In-reply-to: Your message of "Fri, 07 Nov 1997 10:52:31 MST." <199711071752.KAA28513@rocky.mt.sri.com> Date: Fri, 07 Nov 1997 19:48:13 +0100 Message-ID: <3210.878928493@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199711071752.KAA28513@rocky.mt.sri.com>, Nate Williams writes: >> Question for the class...is it possible to plug two disk drives into your >> typical laptop at the same time? (In particular the TP560.) I need to >> build another drive for a guy, but I'd like to just plug it into the >> innards of my thinkpad, copy the salient bits over and then swap it into >> his machine. It wouldn't even have to *fit* inside the case for this. >> Seems like a stretch, but sure would be nice... > >If you get it working, let me know. We couldn't find a way to do it >earlier this week, and did it from scratch (using Windows in our case, >but we couldn't even get two 'drives' hooked up at the same time. I >suspect with dump/restore it would have worked, but I still would have >had to go 'install' the stuff and partition the disk before-hand. I found a ISA card that has holes & connector for a 2.5" drive, pretty neat for this kind of stuff. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." From owner-freebsd-mobile Fri Nov 7 10:59:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA16624 for mobile-outgoing; Fri, 7 Nov 1997 10:59:11 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from u1.farm.idt.net (root@u1.farm.idt.net [169.132.8.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA16619 for ; Fri, 7 Nov 1997 10:59:07 -0800 (PST) (envelope-from garycorc@idt.net) Received: from idt.net (ppp-12.ts-1.mlb.idt.net [169.132.71.12]) by u1.farm.idt.net (8.8.5/8.8.5) with ESMTP id NAA26737; Fri, 7 Nov 1997 13:58:53 -0500 (EST) Message-ID: <3463648E.53CF998C@idt.net> Date: Fri, 07 Nov 1997 13:57:18 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: Nate Williams CC: "Brian N. Handy" , freebsd-mobile@FreeBSD.ORG Subject: Re: disk drives References: <199711071752.KAA28513@rocky.mt.sri.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nate Williams wrote: > > > Question for the class...is it possible to plug two disk drives into your > > typical laptop at the same time? (In particular the TP560.) I need to > > build another drive for a guy, but I'd like to just plug it into the > > innards of my thinkpad, copy the salient bits over and then swap it into > > his machine. It wouldn't even have to *fit* inside the case for this. > > Seems like a stretch, but sure would be nice... > > If you get it working, let me know. We couldn't find a way to do it > earlier this week, and did it from scratch (using Windows in our case, > but we couldn't even get two 'drives' hooked up at the same time. I > suspect with dump/restore it would have worked, but I still would have > had to go 'install' the stuff and partition the disk before-hand. I remember seeing _somebody_ (sorry, can't recall who, though it might have been Simple Technology ??) selling a combo of a new laptop hard drive and a PCMCIA card - you plug it in, run the provided (Windows ;-) software to do a 'drive copy', and then install your new drive. (And they mentioned you could then hook up your old drive as an external second drive if you wanted) Check your friendly computer sellers... Gary From owner-freebsd-mobile Fri Nov 7 11:36:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA18512 for mobile-outgoing; Fri, 7 Nov 1997 11:36:03 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from u3.farm.idt.net (root@u3.farm.idt.net [169.132.8.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA18501 for ; Fri, 7 Nov 1997 11:36:01 -0800 (PST) (envelope-from garycorc@idt.net) Received: from idt.net (ppp-12.ts-1.mlb.idt.net [169.132.71.12]) by u3.farm.idt.net (8.8.5/8.8.5) with ESMTP id OAA08890; Fri, 7 Nov 1997 14:29:16 -0500 (EST) Message-ID: <34636BAE.7BB0750D@idt.net> Date: Fri, 07 Nov 1997 14:27:42 -0500 From: "Gary T. Corcoran" X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: Jun-ichiro itojun Itoh CC: Nate Williams , "Brian N. Handy" , freebsd-mobile@FreeBSD.ORG Subject: Re: disk drives References: <3697.878927749@coconut.itojun.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jun-ichiro itojun Itoh wrote: > > >> Question for the class...is it possible to plug two disk drives into your > >> typical laptop at the same time? (In particular the TP560.) I need to > >> build another drive for a guy, but I'd like to just plug it into the > >> innards of my thinkpad, copy the salient bits over and then swap it into > >> his machine. It wouldn't even have to *fit* inside the case for this. > >> Seems like a stretch, but sure would be nice... > >If you get it working, let me know. We couldn't find a way to do it > >earlier this week, and did it from scratch (using Windows in our case, > >but we couldn't even get two 'drives' hooked up at the same time. I > >suspect with dump/restore it would have worked, but I still would have > >had to go 'install' the stuff and partition the disk before-hand. > > it is quite simple. > buy this kind of product (pcmcia-to-ide harddisk interface), > and perform a filesystem dump from wd0 to wd2. > http://www.sparco.com/cgi-bin/product_lookup/catalog_.search?spn=A764324&show_discounts=0 > i believe there are several products available for this, but > i can't remember who manufactures this. > I just found something in a Computer Discount Warehouse (CDW) catalog. I don't think it's what I was referring to in my previous post, but it's even better becaue it's not bundled with a drive. It is a product as described above, called "Easy Move Data Transfer kit", made by CMS Peripherals, $99.96, CDW #95772 Gary From owner-freebsd-mobile Fri Nov 7 16:57:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA05776 for mobile-outgoing; Fri, 7 Nov 1997 16:57:49 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA05771 for ; Fri, 7 Nov 1997 16:57:45 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id QAA18293; Fri, 7 Nov 1997 16:57:36 -0800 (PST) Message-ID: <19971107165736.37207@hydrogen.nike.efn.org> Date: Fri, 7 Nov 1997 16:57:36 -0800 From: John-Mark Gurney To: "Brian N. Handy" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: disk drives References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Brian N. Handy on Fri, Nov 07, 1997 at 08:56:23AM -0800 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian N. Handy scribbled this message on Nov 7: > Question for the class...is it possible to plug two disk drives into your > typical laptop at the same time? (In particular the TP560.) I need to > build another drive for a guy, but I'd like to just plug it into the > innards of my thinkpad, copy the salient bits over and then swap it into > his machine. It wouldn't even have to *fit* inside the case for this. > Seems like a stretch, but sure would be nice... with all these inventive ideas... I feel that I should throw in my opinion... buy a couple converters from the laptop mini connector to the normal 40pin IDC connector.. then throw both hard drives into a normal desktop machine... hope this helps... ttyl.. -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Sat Nov 8 10:03:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA16039 for mobile-outgoing; Sat, 8 Nov 1997 10:03:53 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from tibet.stepnet.com (tibet.stepnet.com [206.14.120.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA16034 for ; Sat, 8 Nov 1997 10:03:50 -0800 (PST) (envelope-from ping@stepnet.com) Received: (from ping@localhost) by tibet.stepnet.com (8.7.6/8.7.3) id KAA27682 for freebsd-mobile@freebsd.org; Sat, 8 Nov 1997 10:03:44 -0800 (PST) From: Ping Mai Message-Id: <199711081803.KAA27682@tibet.stepnet.com> Subject: 2.2.5-RELEASE on IBM TP701 To: freebsd-mobile@freebsd.org Date: Sat, 8 Nov 1997 10:03:44 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I installed 2.2.5 release on IBM TP701 and now the apm stuff don't seem to work. This box use to run 2.2-ALPHA with PAO patch and all the apm and pccard stuff work flawlessly. What should I do? Is there a PAO for 2.2.5? ping ------------------------------------------------------------ Steps Network Solutions, Inc. Ping Mai 56 Allison Street ping@stepnet.com San Francisco, CA 94112-3702 Voice: 415.860.0386 U.S.A. FAX: 415.333.4381 ------------------------------------------------------------ Work keeps away three great evils: boredom, vice, and need. - Voltaire From owner-freebsd-mobile Sat Nov 8 10:38:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA17726 for mobile-outgoing; Sat, 8 Nov 1997 10:38:03 -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 KAA17721 for ; Sat, 8 Nov 1997 10:38:01 -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 AA17411; Sat, 8 Nov 1997 10:37:56 -0800 Date: Sat, 8 Nov 1997 10:37:56 -0800 (PST) From: "Brian N. Handy" To: Ping Mai Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 2.2.5-RELEASE on IBM TP701 In-Reply-To: <199711081803.KAA27682@tibet.stepnet.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 >I installed 2.2.5 release on IBM TP701 and now the apm >stuff don't seem to work. This box use to run 2.2-ALPHA >with PAO patch and all the apm and pccard stuff work >flawlessly. What should I do? Is there a PAO for 2.2.5? Have you enabled the apm device in your kernel? What is it that tells you apm doesn't work? Brian From owner-freebsd-mobile Sat Nov 8 10:44:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA18160 for mobile-outgoing; Sat, 8 Nov 1997 10:44:45 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from tibet.stepnet.com (tibet.stepnet.com [206.14.120.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA18155 for ; Sat, 8 Nov 1997 10:44:42 -0800 (PST) (envelope-from ping@stepnet.com) Received: (from ping@localhost) by tibet.stepnet.com (8.7.6/8.7.3) id KAA27791; Sat, 8 Nov 1997 10:44:39 -0800 (PST) From: Ping Mai Message-Id: <199711081844.KAA27791@tibet.stepnet.com> Subject: Re: 2.2.5-RELEASE on IBM TP701 To: handy@sag.space.lockheed.com (Brian N. Handy) Date: Sat, 8 Nov 1997 10:44:39 -0800 (PST) Cc: freebsd-mobile@freebsd.org In-Reply-To: from "Brian N. Handy" at "Nov 8, 97 10:37:56 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >I installed 2.2.5 release on IBM TP701 and now the apm > >stuff don't seem to work. This box use to run 2.2-ALPHA > >with PAO patch and all the apm and pccard stuff work > >flawlessly. What should I do? Is there a PAO for 2.2.5? > > Have you enabled the apm device in your kernel? What is it that tells you > apm doesn't work? > > > Brian yes. - it does not suspend when i close the lid - apm -z or zzz suspends, but i cannot resume ------------------------------------------------------------ Steps Network Solutions, Inc. Ping Mai 56 Allison Street ping@stepnet.com San Francisco, CA 94112-3702 Voice: 415.860.0386 U.S.A. FAX: 415.333.4381 ------------------------------------------------------------ Work keeps away three great evils: boredom, vice, and need. - Voltaire From owner-freebsd-mobile Sat Nov 8 14:53:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA28693 for mobile-outgoing; Sat, 8 Nov 1997 14:53:26 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA28687 for ; Sat, 8 Nov 1997 14:53:19 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id PAA03665; Sat, 8 Nov 1997 15:53:10 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA02735; Sat, 8 Nov 1997 15:53:08 -0700 (MST) Date: Sat, 8 Nov 1997 15:53:08 -0700 (MST) Message-Id: <199711082253.PAA02735@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ping Mai Cc: freebsd-mobile@freebsd.org Subject: Re: 2.2.5-RELEASE on IBM TP701 In-Reply-To: <199711081803.KAA27682@tibet.stepnet.com> References: <199711081803.KAA27682@tibet.stepnet.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I installed 2.2.5 release on IBM TP701 and now the apm > stuff don't seem to work. Did you enable it in /etc/rc.conf? Also, what do you mean 'doesn't work'? > This box use to run 2.2-ALPHA > with PAO patch and all the apm and pccard stuff work > flawlessly. What should I do? Is there a PAO for 2.2.5? Upgrade to 2.2.5-STABLE, and I'll bet it works as well if not better than the PAO stuff. Nate From owner-freebsd-mobile Sat Nov 8 14:56:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA28835 for mobile-outgoing; Sat, 8 Nov 1997 14:56:19 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA28830 for ; Sat, 8 Nov 1997 14:56:16 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id PAA03692; Sat, 8 Nov 1997 15:56:11 -0700 (MST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA02743; Sat, 8 Nov 1997 15:56:09 -0700 (MST) Date: Sat, 8 Nov 1997 15:56:09 -0700 (MST) Message-Id: <199711082256.PAA02743@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ping Mai Cc: handy@sag.space.lockheed.com (Brian N. Handy), freebsd-mobile@freebsd.org Subject: Re: 2.2.5-RELEASE on IBM TP701 In-Reply-To: <199711081844.KAA27791@tibet.stepnet.com> References: <199711081844.KAA27791@tibet.stepnet.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >I installed 2.2.5 release on IBM TP701 and now the apm > > >stuff don't seem to work. This box use to run 2.2-ALPHA > > >with PAO patch and all the apm and pccard stuff work > > >flawlessly. What should I do? Is there a PAO for 2.2.5? > > > > Have you enabled the apm device in your kernel? What is it that tells you > > apm doesn't work? > yes. > > - it does not suspend when i close the lid This is a function of the hardware, and I don't know what changes the PAO stuff would have done to enable it differently. > - apm -z or zzz suspends, but i cannot resume This bug has been fixed in later releases, such as 2.2.5-STABLE. Nate From owner-freebsd-mobile Sat Nov 8 18:51:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA08514 for mobile-outgoing; Sat, 8 Nov 1997 18:51:12 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA08509 for ; Sat, 8 Nov 1997 18:51:09 -0800 (PST) (envelope-from hamada@astec.co.jp) Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1]) by tokyonet-entrance.astec.co.jp (8.6.12+2.5Wb7/3.4Wbeta5-astecMX2.3) with ESMTP id LAA10826; Sun, 9 Nov 1997 11:51:06 +0900 Received: from stone.astec.co.jp (stone.astec.co.jp [172.20.10.23]) by amont.astec.co.jp (8.7.6/3.6Wbeta5-astecMX2.4) with ESMTP id LAA11479; Sun, 9 Nov 1997 11:51:31 +0900 (JST) Received: (from hamada@localhost) by stone.astec.co.jp (8.8.5/3.5W-solaris1-1.2) id LAA06972; Sun, 9 Nov 1997 11:51:05 +0900 (JST) To: freebsd-mobile@FreeBSD.ORG CC: Nate Williams Subject: Re: 2.2.5-RELEASE on IBM TP701 References: <199711081844.KAA27791@tibet.stepnet.com> <199711082256.PAA02743@rocky.mt.sri.com> From: HAMADA Naoki Date: 09 Nov 1997 11:51:04 +0900 In-Reply-To: Nate Williams's message of 8 Nov 1997 23:11:32 -0000 Message-ID: Lines: 10 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Nate Williams writes: > > - it does not suspend when i close the lid > This is a function of the hardware, and I don't know what changes the > PAO stuff would have done to enable it differently. PAO stuff does nothing particular. This function can be enabled by the BIOS configuration utility, and the APM BIOS will automagically do the right thing. - nao