From owner-freebsd-mobile Sun Apr 2 7: 7:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 52BAF37B833 for ; Sun, 2 Apr 2000 07:07:32 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn26.imasy.or.jp [202.227.24.218]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id XAA25683 for ; Sun, 2 Apr 2000 23:07:05 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004021407.XAA25683@tasogare.imasy.or.jp> To: freebsd-mobile@FreeBSD.org Subject: Call for review: Wildcard entry support X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 02 Apr 2000 23:07:01 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 31 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, http://www.freebsd.org/~iwasaki/pccard/pccardd-generic.diff is the patches to support wildcard entry for generic serial and fixed disk as fallthrough entry like # GENERIC PCMCIA modem generic serial config auto "sio" ? config auto "sio4" ? # just in case config auto "sio5" ? # just in case reset 10000 # for unstable cards insert logger -t pccard:$device -s PCMCIA Modem inserted remove logger -t pccard:$device -s PCMCIA Modem removed # GENERIC Flash ATA / ATA HDD generic fixed_disk config auto "ata" ? config auto "ata4" ? # just in case config auto "ata5" ? # just in case insert logger -t pccard:$device -s Flash ATA / ATA HDD inserted remove logger -t pccard:$device -s Flash ATA / ATA HDD removed at your bottom of config file (/etc/defaults/pccard.conf or /etc/pccard.conf.sample). This was done based on Mihira-san's work http://home.jp.freebsd.org/~sanpei/4-current/usr.sbin-pccard-pccardd.diff (thanks mihira-san!) Please try this, I'll commit this 2 or 3 days later if no objections. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 9: 9:35 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id D376D37B6B6 for ; Sun, 2 Apr 2000 09:09:29 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from kwaifong.pacific.net.hk (kwaifong.pacific.net.hk [202.14.67.7]) by cwb.pacific.net.hk with ESMTP id AAA17268 for ; Mon, 3 Apr 2000 00:09:16 +0800 (HKT) Received: from alexkwan (ppp176.dyn30.pacific.net.hk [202.64.30.176]) by kwaifong.pacific.net.hk with SMTP id AAA24286 for ; Mon, 3 Apr 2000 00:09:15 +0800 (HKT) Message-ID: <000701bf9cbe$2449d140$b01e40ca@alexkwan> From: "Alex Kwan" To: Subject: 3com574TX and DE-660 on FreeBSD4.0 Date: Mon, 3 Apr 2000 00:10:50 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! My laptop was worked underFreeBSD, I have two LAN Cards, 3com574TX and DE-660., and I wanted to make these two cards work under same IP (192.168.1.1). (1) when I inserted the LAN Card, the Manufacturer and Model both are correct but got a error message "ep0: No irq=" or "ed0: No irq the part of my pccard.conf is (I copy it from pccard.conf.sample): config 0x1 "ep0" ? 0x1 (on 3com574TX section) config 0x20 "ed0 ? 0x10 (on D-660E section) do I needed specifiy irq# instead of the "?" ? (2) How to complete the ifconfig_X="XXXXX" of /etc/defaults/rc.conf ? (3) I am using the default pccard_ether, do I need any modify? Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 11:51:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id 8AF4D37BCD5 for ; Sun, 2 Apr 2000 11:51:46 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id CAA29908; Mon, 3 Apr 2000 02:51:44 +0800 (HKT) Received: from alexkwan (ppp21.dyn30.pacific.net.hk [202.64.30.21]) by tsingyi.pacific.net.hk with SMTP id CAA05812; Mon, 3 Apr 2000 02:51:39 +0800 (HKT) Message-ID: <001101bf9cd4$d664e700$151e40ca@alexkwan> From: "Alex Kwan" To: "Warner Losh" Cc: References: <000701bf9a60$714be380$571e40ca@alexkwan> <200003301948.MAA26181@harmony.village.org> Subject: Re: How to create a entry to my modem card Date: Mon, 3 Apr 2000 02:52:18 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! It is my fault before, I have not setup to PCIC mode by BIOS, and now I got the dumpcis: Manuf=[PCMCIA_CARD_56KFaxModem] Cardvers=[FM56C-NF] ........... Turple#6, Code=0x1b (Configuration Entry) length=19 000: e0 81 9d 5f 55 4d 5d 26 36 35 fc 14 aa 60 f8 03 010: 07 24 28 config index = 0x20 (default) interface byte = 0x81 (I/O) wait signal supported card decodes 20 address line IRQ Modes: IRQs: BERR 2 4 9 11 13 15 ............. Would you please teach me how to create a entry to pccard.conf for my modem card? Sorry and Thanks! > > Either create a specific entry from the output of dumpcis, or send the > dumpcis output here and I'll show you how to write one. > > Warner > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 12:51:27 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 230AE37B605 for ; Sun, 2 Apr 2000 12:51:00 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA84194; Sun, 2 Apr 2000 13:50:39 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA53955; Sun, 2 Apr 2000 13:50:03 -0600 (MDT) Message-Id: <200004021950.NAA53955@harmony.village.org> To: "Alex Kwan" Subject: Re: How to create a entry to my modem card Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 03 Apr 2000 02:52:18 +0800." <001101bf9cd4$d664e700$151e40ca@alexkwan> References: <001101bf9cd4$d664e700$151e40ca@alexkwan> <000701bf9a60$714be380$571e40ca@alexkwan> <200003301948.MAA26181@harmony.village.org> Date: Sun, 02 Apr 2000 13:50:03 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <001101bf9cd4$d664e700$151e40ca@alexkwan> "Alex Kwan" writes: : Manuf=[PCMCIA_CARD_56KFaxModem] Cardvers=[FM56C-NF] : ........... : Turple#6, Code=0x1b (Configuration Entry) length=19 : 000: e0 81 9d 5f 55 4d 5d 26 36 35 fc 14 aa 60 f8 03 : 010: 07 24 28 : config index = 0x20 (default) : interface byte = 0x81 (I/O) wait signal supported : card decodes 20 address line : IRQ Modes: : IRQs: BERR 2 4 9 11 13 15 : ............. : Would you please teach me how to create a entry to pccard.conf for my modem : card? Sure. Take the mfg and card version and put them in an entry like so: card "PCMCIA_CARD_56KFaxModem" "FM56C-NF" config auto "sio2" ? If "auto" doesn't work, then try 0x20, since that matches your config info. The IRQs are bogus. Ignore them. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 13: 1:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id 60CFD37B832 for ; Sun, 2 Apr 2000 13:01:11 -0700 (PDT) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com (07-026.dial.008.popsite.net [209.69.77.26]) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id NAA23724; Sun, 2 Apr 2000 13:00:33 -0700 (PDT) Received: by argon.blackdawn.com (Postfix, from userid 1000) id 326CB1945; Sun, 2 Apr 2000 16:00:03 -0400 (EDT) Date: Sun, 2 Apr 2000 16:00:03 -0400 From: Will Andrews To: Alex Kwan Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 3com574TX and DE-660 on FreeBSD4.0 Message-ID: <20000402160003.B78448@argon.blackdawn.com> References: <000701bf9cbe$2449d140$b01e40ca@alexkwan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000701bf9cbe$2449d140$b01e40ca@alexkwan>; from alexkwan@pacific.net.hk on Mon, Apr 03, 2000 at 12:10:50AM +0800 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 03, 2000 at 12:10:50AM +0800, Alex Kwan wrote: > My laptop was worked underFreeBSD, I have two LAN Cards, > 3com574TX and DE-660., and I wanted to make these two cards Which 3Com 3C574TX? I have the 3CCFE574B-TX, which has a non-Cardbus and a (reportedly) Cardbus version. My version works under FreeBSD 4.0-RELEASE and 5.0-CURRENT. I don't know about 3.x, though. > work under same IP (192.168.1.1). It isn't possible to give more than one NIC the same IP (as far as I know), but it IS possible to give a card more than one IP. > (1) when I inserted the LAN Card, the Manufacturer and Model both are > correct > but got a error message "ep0: No irq=" or "ed0: No irq > the part of my pccard.conf is (I copy it from pccard.conf.sample): > config 0x1 "ep0" ? 0x1 (on 3com574TX section) > config 0x20 "ed0 ? 0x10 (on D-660E section) > do I needed specifiy irq# instead of the "?" ? Here's my pccard.conf's defaults: io 0x240-0x360 irq 9 10 memory 0xd4000 96k Your config line matches mine. The "?" is to enable polling mode (IIANM). Be careful about the irq line. pccardd can't know prior what IRQs are in use (don't ask me why), so you have to manipulate it to get it to pick the right IRQ. The above two seem generally available on laptops. > (2) How to complete the ifconfig_X="XXXXX" of /etc/defaults/rc.conf ? pccard_ifconfig="DHCP" which is mine. Use the above if you use DHCP, or use it for setting up static IP's and routes. > (3) I am using the default pccard_ether, do I need any modify? No. Please search the mailing list archives next time you ask questions similar to these two (and for the answer to DE-660). Only if you find sufficiently outdated information (say, six months or more) and nothing newer, should you ask the mailing list for help. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 15:46:30 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pinacolada.net (196-28-51-12.prtc.net [196.28.51.12]) by hub.freebsd.org (Postfix) with ESMTP id B27E237BB3C for ; Sun, 2 Apr 2000 15:46:18 -0700 (PDT) (envelope-from dmuran@pinacolada.net) Received: from acrys [10.196.2.190] by pinacolada.net with ESMTP (SMTPD32-6.00) id A9F61ECF010C; Sun, 22 Mar 2020 18:51:18 -0500 Reply-To: From: "D.A. Muran-de Assereto" To: Subject: Thinkpad 1450 problems Date: Sun, 2 Apr 2000 18:44:16 -0400 Message-ID: <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I got PAO3 working on my Thinkpad 1450 by setting up pcic0 to use IRQ5, even though it's shared with my internal (unused) soundcard. When attempting to go to 4.0 for the USB stuff, I set it up the same way and it hangs at boot because the kernel now detects the soundcard. Just sits there for hours looking forlorn.... I looked in the kernel config files and could find no reference to the pnp device from 3.x to disable it. Any pointers on what steps to take next? Dave Muran-de Assereto *** Aude Sapere *** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 17:53:19 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C4A0237B78E for ; Sun, 2 Apr 2000 17:53:13 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA85297; Sun, 2 Apr 2000 18:53:12 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA56233; Sun, 2 Apr 2000 18:52:34 -0600 (MDT) Message-Id: <200004030052.SAA56233@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: Wildcard entry support Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 02 Apr 2000 23:07:01 +0900." <200004021407.XAA25683@tasogare.imasy.or.jp> References: <200004021407.XAA25683@tasogare.imasy.or.jp> Date: Sun, 02 Apr 2000 18:52:34 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004021407.XAA25683@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : Please try this, I'll commit this 2 or 3 days later if no objections. This sounds great. But do we need the just in case entries? I was going to suggest this over on the nomads mailing list, after talking about the VIKING problem, but it looks like you've beaten me to the punch by actually doing it :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 17:54: 0 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B5D2137BC6B for ; Sun, 2 Apr 2000 17:53:57 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA85303; Sun, 2 Apr 2000 18:53:55 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA56246; Sun, 2 Apr 2000 18:53:19 -0600 (MDT) Message-Id: <200004030053.SAA56246@harmony.village.org> To: "Alex Kwan" Subject: Re: 3com574TX and DE-660 on FreeBSD4.0 Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 03 Apr 2000 00:10:50 +0800." <000701bf9cbe$2449d140$b01e40ca@alexkwan> References: <000701bf9cbe$2449d140$b01e40ca@alexkwan> Date: Sun, 02 Apr 2000 18:53:19 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <000701bf9cbe$2449d140$b01e40ca@alexkwan> "Alex Kwan" writes: : do I needed specifiy irq# instead of the "?" ? No. Buy you do need to have a list of valid irqs in your irq line. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 17:54:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6DC1737BC72 for ; Sun, 2 Apr 2000 17:54:48 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA85315; Sun, 2 Apr 2000 18:54:46 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA56273; Sun, 2 Apr 2000 18:54:10 -0600 (MDT) Message-Id: <200004030054.SAA56273@harmony.village.org> To: Will Andrews Subject: Re: 3com574TX and DE-660 on FreeBSD4.0 Cc: Alex Kwan , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 02 Apr 2000 16:00:03 EDT." <20000402160003.B78448@argon.blackdawn.com> References: <20000402160003.B78448@argon.blackdawn.com> <000701bf9cbe$2449d140$b01e40ca@alexkwan> Date: Sun, 02 Apr 2000 18:54:09 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000402160003.B78448@argon.blackdawn.com> Will Andrews writes: : It isn't possible to give more than one NIC the same IP (as far as I know), : but it IS possible to give a card more than one IP. It is possible to give all NICs the same address, so long as only one NIC is plugged in at a time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 17:55:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5EC6737BC03 for ; Sun, 2 Apr 2000 17:55:46 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id SAA85326; Sun, 2 Apr 2000 18:55:42 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id SAA56296; Sun, 2 Apr 2000 18:55:03 -0600 (MDT) Message-Id: <200004030055.SAA56296@harmony.village.org> To: dmuran@pinacolada.net Subject: Re: Thinkpad 1450 problems Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sun, 02 Apr 2000 18:44:16 EDT." <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> References: <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> Date: Sun, 02 Apr 2000 18:55:03 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> "D.A. Muran-de Assereto" writes: : I looked in the kernel config files and could find no reference to the pnp : device from 3.x to disable it. Any pointers on what steps to take next? Just remove the irq xx from the pcic line. Go to polling. It slightly increases the chance of a lockup, but only very slightly. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 20:20: 0 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pinacolada.net (196-28-51-12.prtc.net [196.28.51.12]) by hub.freebsd.org (Postfix) with ESMTP id 72EB137B942 for ; Sun, 2 Apr 2000 20:19:40 -0700 (PDT) (envelope-from dmuran@pinacolada.net) Received: from acrys [10.196.2.190] by pinacolada.net with ESMTP (SMTPD32-6.00) id AA49FE0100FA; Sun, 22 Mar 2020 23:25:45 -0500 Reply-To: From: "D.A. Muran-de Assereto" To: Subject: RE: Thinkpad 1450 problems Date: Sun, 2 Apr 2000 23:19:11 -0400 Message-ID: <003101bf9d1b$62190d30$0101a8c0@tuad.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200004030055.SAA56296@harmony.village.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The slight chance of a lockup appears to be 100%. System boots fine either with or without the card inserted until pccardd runs and detects the card (Linksys Combo Ethernet E2CT). It gives me a messages saying that the card was detected, and then locks hard until I remove the card, at which point it gives me a fatal trap 12 while in kernel mode and reboots. I got this far by turning off CardBus support in the BIOS and doing as you said...it detects the control interrupt as 3 and claims that pcic0 is operating in kludge mode. Before I turned off Cardbus, the PCI->Cardbus bridge was detecting at IRQ9, now it's at IRQ 10, which appears to be the IRQ the E2CT is trying to work at. Oddly enough, this also caused the USB support to break, it seems. Before I turned off the CardBus support, it was detecting fine. Now it detects ohci0 at irq 255 and tells me to switch on USB support and to turn off PNP-BIOS support....which is not an option. -----Original Message----- From: owner-freebsd-mobile@FreeBSD.ORG [mailto:owner-freebsd-mobile@FreeBSD.ORG]On Behalf Of Warner Losh Sent: Sunday, April 02, 2000 20:55 To: dmuran@pinacolada.net Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad 1450 problems In message <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> "D.A. Muran-de Assereto" writes: : I looked in the kernel config files and could find no reference to the pnp : device from 3.x to disable it. Any pointers on what steps to take next? Just remove the irq xx from the pcic line. Go to polling. It slightly increases the chance of a lockup, but only very slightly. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 21:18:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from pinacolada.net (196-28-51-12.prtc.net [196.28.51.12]) by hub.freebsd.org (Postfix) with ESMTP id 45BBD37BB2D for ; Sun, 2 Apr 2000 21:18:20 -0700 (PDT) (envelope-from dmuran@pinacolada.net) Received: from acrys [10.196.2.161] by pinacolada.net with ESMTP (SMTPD32-6.00) id A8172344010C; Mon, 23 Mar 2020 00:24:39 -0500 Reply-To: From: "D.A. Muran-de Assereto" To: Subject: RE: Thinkpad 1450 problems -- partially solved Date: Mon, 3 Apr 2000 00:18:00 -0400 Message-ID: <003201bf9d23$99979e90$0101a8c0@tuad.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <003101bf9d1b$62190d30$0101a8c0@tuad.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK, I got the card to work by tinkering with the pccard.conf. USB still doesn't work, unfortunately, obviating the reason I wanted to go to 4.0 in the first place. Still, now that I've done it, it'd be kind of dumb to go back, since I have other solutions. Thanks for the help, Warner. Dave -----Original Message----- From: owner-freebsd-mobile@FreeBSD.ORG [mailto:owner-freebsd-mobile@FreeBSD.ORG]On Behalf Of D.A. Muran-de Assereto Sent: Sunday, April 02, 2000 23:19 To: freebsd-mobile@freebsd.org Subject: RE: Thinkpad 1450 problems The slight chance of a lockup appears to be 100%. System boots fine either with or without the card inserted until pccardd runs and detects the card (Linksys Combo Ethernet E2CT). It gives me a messages saying that the card was detected, and then locks hard until I remove the card, at which point it gives me a fatal trap 12 while in kernel mode and reboots. I got this far by turning off CardBus support in the BIOS and doing as you said...it detects the control interrupt as 3 and claims that pcic0 is operating in kludge mode. Before I turned off Cardbus, the PCI->Cardbus bridge was detecting at IRQ9, now it's at IRQ 10, which appears to be the IRQ the E2CT is trying to work at. Oddly enough, this also caused the USB support to break, it seems. Before I turned off the CardBus support, it was detecting fine. Now it detects ohci0 at irq 255 and tells me to switch on USB support and to turn off PNP-BIOS support....which is not an option. -----Original Message----- From: owner-freebsd-mobile@FreeBSD.ORG [mailto:owner-freebsd-mobile@FreeBSD.ORG]On Behalf Of Warner Losh Sent: Sunday, April 02, 2000 20:55 To: dmuran@pinacolada.net Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad 1450 problems In message <001601bf9cf4$fa1dbf30$0101a8c0@tuad.org> "D.A. Muran-de Assereto" writes: : I looked in the kernel config files and could find no reference to the pnp : device from 3.x to disable it. Any pointers on what steps to take next? Just remove the irq xx from the pcic line. Go to polling. It slightly increases the chance of a lockup, but only very slightly. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 21:46:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id D873537BAB3 for ; Sun, 2 Apr 2000 21:46:45 -0700 (PDT) (envelope-from mw@theatre.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id GAA23379 for freebsd-mobile@freebsd.org; Mon, 3 Apr 2000 06:46:44 +0200 (CEST) Received: (from mw@localhost) by theatre.lan (8.9.3/8.9.3) id EAA01067 for freebsd-mobile@freebsd.org; Mon, 3 Apr 2000 04:12:18 +0200 (CEST) (envelope-from mw) Date: Mon, 3 Apr 2000 04:12:17 +0200 From: Martin Welk To: freebsd-mobile@freebsd.org Subject: FreeBSD and Token Ring Message-ID: <20000403041217.B718@theatre.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Organization: Private UUCP/Usenet site. X-Operating-System: FreeBSD http://www.freebsd.org/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm using FreeBSD for some years now and I'm really satisfied with it - to keep that up, I wanted to install FreeBSD on my IBM ThinkPad 600E, but I need support for an IBM Token Ring 4/16 PC Card 2, which I haven't found a hint for in any documentation yet... Please, tell me there is some driver, probably in development and not in the source tree or something like that which I can use. Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sun Apr 2 22: 5:43 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0DEF837BD0A for ; Sun, 2 Apr 2000 22:05:42 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e335V0t24750; Sun, 2 Apr 2000 22:31:00 -0700 (PDT) Date: Sun, 2 Apr 2000 22:31:00 -0700 From: Alfred Perlstein To: Martin Welk Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: FreeBSD and Token Ring Message-ID: <20000402223059.A21029@fw.wintelcom.net> References: <20000403041217.B718@theatre.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000403041217.B718@theatre.lan>; from mw@theatre.sax.de on Mon, Apr 03, 2000 at 04:12:17AM +0200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Martin Welk [000402 22:12] wrote: > Hi, > > I'm using FreeBSD for some years now and I'm really satisfied with it - to > keep that up, I wanted to install FreeBSD on my IBM ThinkPad 600E, but > I need support for an IBM Token Ring 4/16 PC Card 2, which I haven't found > a hint for in any documentation yet... Please, tell me there is some > driver, probably in development and not in the source tree or something > like that which I can use. There is some support for token ring: pseudo-device token #Generic TokenRing # oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 # (no options needed) device oltr0 at isa? but you'll have to compile your kernel with it to check it out. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 2:52: 3 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from guardian.apnic.net (guardian.apnic.net [203.37.255.100]) by hub.freebsd.org (Postfix) with ESMTP id 72AE437BD6B for ; Mon, 3 Apr 2000 02:51:55 -0700 (PDT) (envelope-from bruce.campbell@apnic.net) Received: (from mail@localhost) by guardian.apnic.net (8.9.3/8.9.3) id TAA27904; Mon, 3 Apr 2000 19:51:21 +1000 (EST) Received: from julubu.staff.apnic.net(192.168.1.37) by int-gw.staff.apnic.net via smap (V2.1) id xma027900; Mon, 3 Apr 00 19:50:51 +1000 Date: Mon, 3 Apr 2000 19:50:49 +1000 (EST) From: Bruce Campbell X-Sender: bc@julubu.staff.apnic.net To: Atsushi Onoe Cc: freebsd-mobile@freebsd.org Subject: Re: awi driver for FreeBSD current Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Friday, 24th of March 2000, Onoe-san scribed: > I've put the ported awi driver from NetBSD current to FreeBSD current. > I'm not quite sure about the differences between FreeBSD 4.0 and > -current but it will be expected to work on FreeBSD 4.0 as well. It appears to work on FreeBSD 4.0-STABLE nicely with my BayStack 650 (FH) and basestation. dhclient triggered directly from pccard_ether does not work; a forced delay of ~20 seconds after inserting the card seems to be required before the pretty lights will play. It is slightly more stable than the code in late november 1999 which had a tendency to lose its base station at the first sign of excess traffic, ie a simple test (ping -f -s 2048 le-laptop) from a 100meg workstation does not require reinserting the card to get it to find the base station again. FYI. --==-- Bruce. Now why is one of my WaveLAN cards making rattling noises... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 3:13:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from guardian.apnic.net (guardian.apnic.net [203.37.255.100]) by hub.freebsd.org (Postfix) with ESMTP id F25A537B634 for ; Mon, 3 Apr 2000 03:13:35 -0700 (PDT) (envelope-from bc-freebsd@vicious.dropbear.id.au) Received: (from mail@localhost) by guardian.apnic.net (8.9.3/8.9.3) id UAA28096 for ; Mon, 3 Apr 2000 20:13:26 +1000 (EST) Received: from julubu.staff.apnic.net(192.168.1.37) by int-gw.staff.apnic.net via smap (V2.1) id xma028087; Mon, 3 Apr 00 20:13:08 +1000 Date: Mon, 3 Apr 2000 20:13:06 +1000 (EST) From: Bruce Campbell X-Sender: bc@julubu.staff.apnic.net To: freebsd-mobile@freebsd.org Subject: obscure panics under 4.0-STABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Unrelated to my previous message, I've been experiencing odd panics on a 4.0-STABLE system whenever particular network processes (using promiscious mode) are specifically killed, specifically 'arpwatch' and 'tcpdump'. I'm not sure whether its a few suspend/resume cycles, a busy network, or changing IP address which is the initial trigger for the problem (which I cannot duplicate right now, in accordance with Murphy's Law). Is this a 'oh, that was fixed in kern/{376,3329}' problem or something specific to 4.0-stable? [1] Mailing lists do not seem to have anything matching. --==-- Bruce. [1] Yes, I realise this is inadequate information at the current time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 3:19:43 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by hub.freebsd.org (Postfix) with ESMTP id 6260F37B723 for ; Mon, 3 Apr 2000 03:19:32 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-32.mail.demon.net with esmtp (Exim 2.12 #1) id 12c3x6-000ECL-0W; Mon, 3 Apr 2000 11:19:27 +0100 Received: from henny.qubesoft.com (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id LAA89322; Mon, 3 Apr 2000 11:21:22 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Mon, 3 Apr 2000 11:16:21 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Randy Bush Cc: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Did you get your USB support working after switching off PnP OS and switching on USB support in your BIOS? Nick On Thu, 23 Mar 2000, Randy Bush wrote: > note the > > uhci0: rev 0x01 int d irq 255 on pci0.7.2 > create_intr: requested irq255 too high, limit is 15 > usb0: could not map irq > > > Copyright (c) 1992-1999 FreeBSD Inc. > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > FreeBSD 3.4-RELEASE #0: Thu Mar 23 19:15:08 JST 2000 > root@roam.psg.com:/usr/src/sys/compile/ROAM > Timecounter "i8254" frequency 1193182 Hz > CPU: Pentium/P55C (quarter-micron) (298.44-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x582 Stepping = 2 > Features=0x8001bf > real memory = 134217728 (131072K bytes) > avail memory = 127660032 (124668K bytes) > Preloaded elf kernel "kernel" at 0xc02b8000. > Probing for devices on PCI bus 0: > chip0: rev 0x01 on pci0.0.0 > chip1: rev 0x02 on pci0.7.0 > ide_pci0: rev 0x01 on pci0.7.1 > uhci0: rev 0x01 int d irq 255 on pci0.7.2 > create_intr: requested irq255 too high, limit is 15 > usb0: could not map irq > chip2: rev 0x02 on pci0.7.3 > vga0: rev 0x01 int a irq 9 on pci0.8.0 > pcic0: rev 0x00 int a irq 255 on pci0.10.0 > RL5C4XX PCI Config Reg: [CSC isa irq] > Probing for devices on the ISA bus: > sc0 on isa > sc0: VGA color <16 virtual consoles, flags=0x0> > wi0 not found > atkbdc0 at 0x60-0x6f on motherboard > atkbd0 irq 1 on isa > psm0 irq 12 on isa > psm0: model VersaPad, device ID 0 > sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa > sio0: type 16550A > sio1 at 0x2f8-0x2ff irq 3 on isa > sio1: type 16550A > pcm1 at 0x220 irq 5 drq 1 on isa > ESS1879 (rev 11, native mode) > 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: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S > ppc0 at 0x378 irq 7 flags 0x40 on isa > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > lpt0: on ppbus 0 > lpt0: Interrupt-driven port > ep0 not found at 0x300 > wlp0 not found at 0x300 > awi0 not found at 0x300 > pcic0 at 0x3e0-0x3e1 irq 11 on isa > PC-Card ctlr(0) Ricoh RL5C475/476 [CardBus bridge mode] (5 mem & 2 I/O windows) > pcic0: slot 0 controller I/O address 0x3e0 > vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa > npx0 on motherboard > npx0: INT 16 interface > apm0 on isa > apm: found APM BIOS version 1.2 > Initializing PC-card drivers: awi ep wi wlp sio wdc > Intel Pentium detected, installing workaround for F00F bug > changing root device to wd0s2a > cmd ntpd pid 139 tried to use non-present sched_get_priority_max > cmd ntpd pid 139 tried to use non-present sched_setscheduler > > > # USB support > # UHCI controller > controller uhci0 > # OHCI controller > controller ohci0 > # General USB code (mandatory for USB) > controller usb0 > # > # Generic USB device driver > device ugen0 > # Human Interface Device (anything with buttons and dials) > device uhid0 > # USB keyboard > device ukbd0 > # USB printer > device ulpt0 > # USB mouse > device ums0 > # > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 6:20:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id E868937BE0C for ; Mon, 3 Apr 2000 06:20:23 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from kwaifong.pacific.net.hk (kwaifong.pacific.net.hk [202.14.67.7]) by mongkok.pacific.net.hk with ESMTP id VAA21623; Mon, 3 Apr 2000 21:20:21 +0800 (HKT) Received: from alexkwan (ppp203.dyn30.pacific.net.hk [202.64.30.203]) by kwaifong.pacific.net.hk with SMTP id VAA29256; Mon, 3 Apr 2000 21:20:18 +0800 (HKT) Message-ID: <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> From: "Alex Kwan" To: "Warner Losh" Cc: References: <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> Subject: Re: cuaa2 or sio2 (can't make sio2 match cuaa2 on FreeBSD4.0) Date: Mon, 3 Apr 2000 21:21:50 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Warner, I am very sorry that to make you trouble again, it was because my FreeBSD Box was 4.0, so I create the device (cd /dev then ./MAKEDEV cuaa2 sio2), but it was a error message "sio2 - no such device name" (./MAKEDEV sio2 cuaa2 is same error) How can I make the cuaa2 match the interface sio2 of Modem Card? Thanks > In message <007301bf9a50$5dfbafa0$581e40ca@alexkwan> "Alex Kwan" writes: > : I am using a normal pcmcia modem card to dialup, > : the device name of ppp.conf is sio2 or cuaa2? > > For 4.0, use the cuaaX device that corresponds to the device number in > the probe message. You may need to create this in /dev. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 7:13:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 7A95037B9D7 for ; Mon, 3 Apr 2000 07:13:36 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.13 #1) id 12c7bd-000HUo-00; Mon, 03 Apr 2000 07:13:29 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nick Hibma Cc: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx References: Message-Id: Date: Mon, 03 Apr 2000 07:13:29 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org yes. sorry not to report it. so many people told me the same thing that i presumed i was just being stupid about common lore. randy > Did you get your USB support working after switching off PnP OS and > switching on USB support in your BIOS? > > Nick > > > On Thu, 23 Mar 2000, Randy Bush wrote: > >> note the >> >> uhci0: rev 0x01 int d irq 255 on pci0.7.2 >> create_intr: requested irq255 too high, limit is 15 >> usb0: could not map irq >> >> >> Copyright (c) 1992-1999 FreeBSD Inc. >> Copyright (c) 1982, 1986, 1989, 1991, 1993 >> The Regents of the University of California. All rights reserved. >> FreeBSD 3.4-RELEASE #0: Thu Mar 23 19:15:08 JST 2000 >> root@roam.psg.com:/usr/src/sys/compile/ROAM >> Timecounter "i8254" frequency 1193182 Hz >> CPU: Pentium/P55C (quarter-micron) (298.44-MHz 586-class CPU) >> Origin = "GenuineIntel" Id = 0x582 Stepping = 2 >> Features=0x8001bf >> real memory = 134217728 (131072K bytes) >> avail memory = 127660032 (124668K bytes) >> Preloaded elf kernel "kernel" at 0xc02b8000. >> Probing for devices on PCI bus 0: >> chip0: rev 0x01 on pci0.0.0 >> chip1: rev 0x02 on pci0.7.0 >> ide_pci0: rev 0x01 on pci0.7.1 >> uhci0: rev 0x01 int d irq 255 on pci0.7.2 >> create_intr: requested irq255 too high, limit is 15 >> usb0: could not map irq >> chip2: rev 0x02 on pci0.7.3 >> vga0: rev 0x01 int a irq 9 on pci0.8.0 >> pcic0: rev 0x00 int a irq 255 on pci0.10.0 >> RL5C4XX PCI Config Reg: [CSC isa irq] >> Probing for devices on the ISA bus: >> sc0 on isa >> sc0: VGA color <16 virtual consoles, flags=0x0> >> wi0 not found >> atkbdc0 at 0x60-0x6f on motherboard >> atkbd0 irq 1 on isa >> psm0 irq 12 on isa >> psm0: model VersaPad, device ID 0 >> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa >> sio0: type 16550A >> sio1 at 0x2f8-0x2ff irq 3 on isa >> sio1: type 16550A >> pcm1 at 0x220 irq 5 drq 1 on isa >> ESS1879 (rev 11, native mode) >> 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: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S >> ppc0 at 0x378 irq 7 flags 0x40 on isa >> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode >> ppc0: FIFO with 16/16/8 bytes threshold >> lpt0: on ppbus 0 >> lpt0: Interrupt-driven port >> ep0 not found at 0x300 >> wlp0 not found at 0x300 >> awi0 not found at 0x300 >> pcic0 at 0x3e0-0x3e1 irq 11 on isa >> PC-Card ctlr(0) Ricoh RL5C475/476 [CardBus bridge mode] (5 mem & 2 I/O windows) >> pcic0: slot 0 controller I/O address 0x3e0 >> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa >> npx0 on motherboard >> npx0: INT 16 interface >> apm0 on isa >> apm: found APM BIOS version 1.2 >> Initializing PC-card drivers: awi ep wi wlp sio wdc >> Intel Pentium detected, installing workaround for F00F bug >> changing root device to wd0s2a >> cmd ntpd pid 139 tried to use non-present sched_get_priority_max >> cmd ntpd pid 139 tried to use non-present sched_setscheduler >> >> >> # USB support >> # UHCI controller >> controller uhci0 >> # OHCI controller >> controller ohci0 >> # General USB code (mandatory for USB) >> controller usb0 >> # >> # Generic USB device driver >> device ugen0 >> # Human Interface Device (anything with buttons and dials) >> device uhid0 >> # USB keyboard >> device ukbd0 >> # USB printer >> device ulpt0 >> # USB mouse >> device ums0 >> # >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-mobile" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 7:23:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by hub.freebsd.org (Postfix) with ESMTP id 114E837B68B for ; Mon, 3 Apr 2000 07:23:30 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1) id 12c7lH-0009fz-0V; Mon, 3 Apr 2000 15:23:27 +0100 Received: from henny.qubesoft.com (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id PAA95628; Mon, 3 Apr 2000 15:25:41 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Mon, 3 Apr 2000 15:20:37 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Randy Bush Cc: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > yes. sorry not to report it. so many people told me the same thing that i > presumed i was just being stupid about common lore. A number of people are having problems with VAIO's because it kind of does not work, becasue the BIOS is broken. And I would like to get a bit of a feel for when it is. Nick -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 7:50:57 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 5A1C137BDF9 for ; Mon, 3 Apr 2000 07:50:50 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.13 #1) id 12c8Bj-000Hhr-00; Mon, 03 Apr 2000 07:50:47 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nick Hibma Cc: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx References: Message-Id: Date: Mon, 03 Apr 2000 07:50:47 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > A number of people are having problems with VAIO's because it kind of > does not work, becasue the BIOS is broken. And I would like to get a bit > of a feel for when it is. i am not having problems with my vaio other than my own stupidities. but it is on 3.4-release+pao. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 8: 7:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1961137B6DB for ; Mon, 3 Apr 2000 08:07:30 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id JAA88170; Mon, 3 Apr 2000 09:07:21 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id JAA61267; Mon, 3 Apr 2000 09:06:42 -0600 (MDT) Message-Id: <200004031506.JAA61267@harmony.village.org> To: "Alex Kwan" Subject: Re: cuaa2 or sio2 (can't make sio2 match cuaa2 on FreeBSD4.0) Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 03 Apr 2000 21:21:50 +0800." <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> References: <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> Date: Mon, 03 Apr 2000 09:06:42 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> "Alex Kwan" writes: : I am very sorry that to make you trouble again, it was because my FreeBSD : Box was 4.0, so I create the device (cd /dev then ./MAKEDEV cuaa2 sio2), : but it was a error message "sio2 - no such device name" : (./MAKEDEV sio2 cuaa2 is same error) How can I make the cuaa2 match : the interface sio2 of Modem Card? ttyd2 is what you to make, not sio2. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 8:37:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id 9A0DF37BE27 for ; Mon, 3 Apr 2000 08:37:30 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id XAA07689; Mon, 3 Apr 2000 23:37:28 +0800 (HKT) Received: from alexkwan (ppp228.dyn30.pacific.net.hk [202.64.30.228]) by tsingyi.pacific.net.hk with SMTP id XAA26335; Mon, 3 Apr 2000 23:37:26 +0800 (HKT) Message-ID: <000701bf9d82$dbe83200$e41e40ca@alexkwan> From: "Alex Kwan" To: "Warner Losh" Cc: References: <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> <200004031506.JAA61267@harmony.village.org> Subject: Re: cuaa2 or sio2 (can't make sio2 match cuaa2 on FreeBSD4.0) Date: Mon, 3 Apr 2000 23:39:53 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! The /dev is already have ttyd0, ttyd1, ttyd2, ttyd3., When I inserted modem card, following error message was shown: driver allocation failed for [PCMCIA_CARD_56KFaxModem] (FM56C-F ) device not config. (1) What is the problem? (my LAN Card 3com574 is working well) (2) the set device line on /etc/ppp.conf is set /dev/ttyd2 or /dev/cuaa2? Thanks > > ttyd2 is what you to make, not sio2. > > Warner > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 8:59:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id A7A0737B731 for ; Mon, 3 Apr 2000 08:59:23 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn30.imasy.or.jp [202.227.24.222]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id AAA01311; Tue, 4 Apr 2000 00:58:49 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004031558.AAA01311@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: Wildcard entry support In-Reply-To: Your message of "Sun, 02 Apr 2000 18:52:34 -0600" <200004030052.SAA56233@harmony.village.org> References: <200004030052.SAA56233@harmony.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 04 Apr 2000 00:58:45 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 21 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In message <200004021407.XAA25683@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: > : Please try this, I'll commit this 2 or 3 days later if no objections. > > This sounds great. But do we need the just in case entries? I think it is better to have them because more than two available config lines are needed if two cards use the same generic entry. Also, I'm expecting that a lot of normal cards can be supported by generic entries and this will cause few new card to be added. In this case, the `just in case' entries make sense. > I was going to suggest this over on the nomads mailing list, after > talking about the VIKING problem, but it looks like you've beaten me > to the punch by actually doing it :-) No, I was not going to beat you :-) Having multiple config lines can solve a part of `No free configuration' problems, but I knew this just recently by tracking down the source code because there is no sample entries like this. # man pccard.conf says; just `There may be multiple config lines' :-< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 9: 5:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1E36637BE1C for ; Mon, 3 Apr 2000 09:05:45 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA88441; Mon, 3 Apr 2000 10:05:18 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA61765; Mon, 3 Apr 2000 10:04:40 -0600 (MDT) Message-Id: <200004031604.KAA61765@harmony.village.org> To: "Alex Kwan" Subject: Re: cuaa2 or sio2 (can't make sio2 match cuaa2 on FreeBSD4.0) Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Mon, 03 Apr 2000 23:39:53 +0800." <000701bf9d82$dbe83200$e41e40ca@alexkwan> References: <000701bf9d82$dbe83200$e41e40ca@alexkwan> <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> <200004031506.JAA61267@harmony.village.org> Date: Mon, 03 Apr 2000 10:04:40 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <000701bf9d82$dbe83200$e41e40ca@alexkwan> "Alex Kwan" writes: : The /dev is already have ttyd0, ttyd1, ttyd2, ttyd3., : When I inserted modem card, following error message was shown: : driver allocation failed for [PCMCIA_CARD_56KFaxModem] : (FM56C-F ) device not config. : : (1) What is the problem? (my LAN Card 3com574 is working well) : (2) the set device line on /etc/ppp.conf is set /dev/ttyd2 or /dev/cuaa2? What do you have in your /etc/pccard.conf? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 9:29:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C2B0937B692 for ; Mon, 3 Apr 2000 09:29:44 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA88518; Mon, 3 Apr 2000 10:29:33 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA61924; Mon, 3 Apr 2000 10:28:54 -0600 (MDT) Message-Id: <200004031628.KAA61924@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: Wildcard entry support Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 04 Apr 2000 00:58:45 +0900." <200004031558.AAA01311@tasogare.imasy.or.jp> References: <200004031558.AAA01311@tasogare.imasy.or.jp> <200004030052.SAA56233@harmony.village.org> Date: Mon, 03 Apr 2000 10:28:54 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004031558.AAA01311@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : I think it is better to have them because more than two available : config lines are needed if two cards use the same generic entry. : Also, I'm expecting that a lot of normal cards can be supported by : generic entries and this will cause few new card to be added. : In this case, the `just in case' entries make sense. Does the generic entry give you one of the cards, unspecified in number, or does it give you an unlimited number of them. If the form, I can see why you'd want to have more just in case. If the latter, then I don't see the point. If the generic code can eliminate a large number of entries (say all of the modems), then having a couple of extra lines shouldn't be a huge deal. They seem like they might be nops to me, which is why I ask. : > I was going to suggest this over on the nomads mailing list, after : > talking about the VIKING problem, but it looks like you've beaten me : > to the punch by actually doing it :-) : : No, I was not going to beat you :-) Ah. I mean beat as in "get there first" not beat as in "assualt or do bodily harm to". : Having multiple config lines can solve a part of `No free : configuration' problems, but I knew this just recently by tracking : down the source code because there is no sample entries like this. Understood. : # man pccard.conf says; just `There may be multiple config lines' :-< Yes. The man page for pccard.conf likely should be enhanced. I wonder if the folks over at freebsd-doc@ would be up to the task. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 10:20:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id CEC3437BC98 for ; Mon, 3 Apr 2000 10:20:26 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by cwb.pacific.net.hk with ESMTP id BAA27443; Tue, 4 Apr 2000 01:20:16 +0800 (HKT) Received: from alexkwan (ppp79.dyn29.pacific.net.hk [202.64.29.79]) by tsingyi.pacific.net.hk with SMTP id BAA08816; Tue, 4 Apr 2000 01:20:09 +0800 (HKT) Message-ID: <000f01bf9d91$381237c0$4f1d40ca@alexkwan> From: "Alex Kwan" To: "Warner Losh" Cc: References: <000701bf9d82$dbe83200$e41e40ca@alexkwan> <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> <200004031506.JAA61267@harmony.village.org> <200004031604.KAA61765@harmony.village.org> Subject: Re: Everything is ok for my modem card right now Date: Tue, 4 Apr 2000 01:21:33 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Warner, Now everything is great! FreeBSD is fun! I exec pccardc dumpcis to checked the card's information again, I try another config index : 0x23 (auto and 0x20 are both not work), it was worked and probed as sio4 (I don't know why, my pccard.conf was sio2), so I make a device ttyd4 and set device /dev/ttyd4 on ppp.conf. The dialup ppp is working with no problem all. You are very kind. Thanks again! Alex > > What do you have in your /etc/pccard.conf? > > Warner > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 10:36: 7 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 87D3B37BCB5 for ; Mon, 3 Apr 2000 10:36:03 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA88820; Mon, 3 Apr 2000 11:36:00 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA62418; Mon, 3 Apr 2000 11:35:21 -0600 (MDT) Message-Id: <200004031735.LAA62418@harmony.village.org> To: "Alex Kwan" Subject: Re: Everything is ok for my modem card right now Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 04 Apr 2000 01:21:33 +0800." <000f01bf9d91$381237c0$4f1d40ca@alexkwan> References: <000f01bf9d91$381237c0$4f1d40ca@alexkwan> <000701bf9d82$dbe83200$e41e40ca@alexkwan> <000f01bf9d6f$b4b73720$cb1e40ca@alexkwan> <007301bf9a50$5dfbafa0$581e40ca@alexkwan> <200003301946.MAA26153@harmony.village.org> <200004031506.JAA61267@harmony.village.org> <200004031604.KAA61765@harmony.village.org> Date: Mon, 03 Apr 2000 11:35:21 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <000f01bf9d91$381237c0$4f1d40ca@alexkwan> "Alex Kwan" writes: : so I make a device ttyd4 and set device /dev/ttyd4 on ppp.conf. The dialup Yes. That's because sio2 and sio3 were already in the kernel, so the pccard code was unable to snag them. It used the next available one. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 10:50:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from lavender.yy.cs.keio.ac.jp (ppp156.dialup.st.keio.ac.jp [131.113.27.156]) by hub.freebsd.org (Postfix) with ESMTP id 5A1C437BB98 for ; Mon, 3 Apr 2000 10:49:58 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id CAA42107; Tue, 4 Apr 2000 02:49:42 +0900 (JST) Message-Id: <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> To: imp@village.org Cc: FreeBSD-mobile@FreeBSD.org Subject: [NEWCARD] pcic_handle in pcic_{enable,disable}_socket X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 04 Apr 2000 02:49:41 +0900 From: MIHIRA Sanpei Yoshiro Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Warner I'm trying and test NEWCARD configuration(/sys/dev/pccard,pcic) for Native-CardBus support under FreeBSD. I can compile. But if I insert PC-Card, kernel panicked..... I read /sys/dev/pcic/i82365.c, I think current problem is below NULL pointer(Yes I know this line has XXXIMPXXX!!). int pcic_enable_socket(device_t dev, device_t child) { struct pcic_handle *h = NULL; /* XXXIMPXXX */ ~~~~ i82365.c:pcic_attach function ph_read/write are setted. Warner-san, What plan do you have? Cheers --- MIHIRA Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 11: 5:42 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1E6C937C08A for ; Mon, 3 Apr 2000 11:05:38 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA88907; Mon, 3 Apr 2000 12:05:36 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA62588; Mon, 3 Apr 2000 12:04:57 -0600 (MDT) Message-Id: <200004031804.MAA62588@harmony.village.org> To: Randy Bush Subject: Re: usb on vaio 505tx Cc: Nick Hibma , FreeBSD Laptoppers In-reply-to: Your message of "Mon, 03 Apr 2000 07:50:47 PDT." References: Date: Mon, 03 Apr 2000 12:04:57 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Randy Bush writes: : i am not having problems with my vaio other than my own stupidities. but it : is on 3.4-release+pao. I have minor suspend/resume problems on my 505-TS. I haven't tried USB. I have -current on my laptop and it is my primary development platform for laptops. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 11:12:52 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 5C65637BF79 for ; Mon, 3 Apr 2000 11:12:50 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.13 #1) id 12cBL7-000IuE-00; Mon, 03 Apr 2000 11:12:41 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: Nick Hibma , FreeBSD Laptoppers Subject: Re: usb on vaio 505tx References: <200004031804.MAA62588@harmony.village.org> Message-Id: Date: Mon, 03 Apr 2000 11:12:41 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have minor suspend/resume problems on my 505-TS. i found options PCIC_RESUME_RESET options PSM_HOOKAPM #hook the APM resume event, useful #for some laptops options PSM_RESETAFTERSUSPEND #reset the device at the resume event quite helpful randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 11:20: 7 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 83A4A37BF98 for ; Mon, 3 Apr 2000 11:20:02 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn30.imasy.or.jp [202.227.24.222]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id DAA11822; Tue, 4 Apr 2000 03:19:38 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004031819.DAA11822@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: Wildcard entry support In-Reply-To: Your message of "Mon, 03 Apr 2000 10:28:54 -0600" <200004031628.KAA61924@harmony.village.org> References: <200004031628.KAA61924@harmony.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 04 Apr 2000 03:19:36 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 31 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : I think it is better to have them because more than two available > : config lines are needed if two cards use the same generic entry. > : Also, I'm expecting that a lot of normal cards can be supported by > : generic entries and this will cause few new card to be added. > : In this case, the `just in case' entries make sense. > > Does the generic entry give you one of the cards, unspecified in > number, or does it give you an unlimited number of them. If the form, > I can see why you'd want to have more just in case. If the latter, > then I don't see the point. If the generic code can eliminate a large > number of entries (say all of the modems), then having a couple of > extra lines shouldn't be a huge deal. They seem like they might be > nops to me, which is why I ask. I was expecting the latter but actual code seems to say the former. Currently generic entry can support only one card at the same time, so the extra lines make sense only if the same type of card (but different card) uses the same configuraion. Changing 2 lines of conf->inuse = 1; to if (cp->func_id == 0) conf->inuse = 1; in cardd.c is my expected behavior, an unlimited number of cards can share one generic entry using different configuration for each cards. > : No, I was not going to beat you :-) > > Ah. I mean beat as in "get there first" not beat as in "assualt or do > bodily harm to". OK, I learned a useful expression :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 12:18:22 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B5DBF37B5FF for ; Mon, 3 Apr 2000 12:18:18 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA89100; Mon, 3 Apr 2000 13:18:16 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA62888; Mon, 3 Apr 2000 13:17:37 -0600 (MDT) Message-Id: <200004031917.NAA62888@harmony.village.org> To: Randy Bush Subject: Re: usb on vaio 505tx Cc: Nick Hibma , FreeBSD Laptoppers In-reply-to: Your message of "Mon, 03 Apr 2000 11:12:41 PDT." References: <200004031804.MAA62588@harmony.village.org> Date: Mon, 03 Apr 2000 13:17:37 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Randy Bush writes: : > I have minor suspend/resume problems on my 505-TS. : : i found : : options PCIC_RESUME_RESET : options PSM_HOOKAPM #hook the APM resume event, useful : #for some laptops : options PSM_RESETAFTERSUSPEND #reset the device at the resume event : : quite helpful Yes. They are quite helpful. The problems that I have is that sometimes when I do a suspend to disk, when it wakes up the pccard events aren't seen. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 12:22:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id 9859C37B5FF for ; Mon, 3 Apr 2000 12:22:21 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 12cCQW-0003AQ-00 for freebsd-mobile@FreeBSD.ORG; Mon, 03 Apr 2000 15:22:20 -0400 Date: Mon, 3 Apr 2000 15:22:19 -0400 From: Peter Radcliffe To: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx Message-ID: <20000403152219.D6526@pir.net> Mail-Followup-To: FreeBSD Laptoppers References: <200004031804.MAA62588@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from randy@psg.com on Mon, Apr 03, 2000 at 11:12:41AM -0700 X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Randy Bush probably said: > > I have minor suspend/resume problems on my 505-TS. > options PCIC_RESUME_RESET > options PSM_HOOKAPM #hook the APM resume event, useful > #for some laptops > options PSM_RESETAFTERSUSPEND #reset the device at the resume event Even with those I get very occasional suspend problems. Very, very, occasionally when I suspend to memory (or disk) under freebsd 3.4-PAO the machine will beep (as it usually does), screen goes blank ... but it never suspends, power light stays on. All I can do at this point is power cycle. I've tried building with a debugging kernel, can't get to the debugger at this point (which might be because I'm in X then). I havn't had it happen since someone suggested trying the BIOS battery level function to see if it's completely dead or not ... It happens so infrequently it's quite difficult to debug. It's never happened to me under doze (but then I run doze on that box very infrequently and suspend even less frequently) but is very annoying when it does happen and I was in the middle of something. Anyone else seen this ? P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 13:37:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id E43E537B666 for ; Mon, 3 Apr 2000 13:36:13 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA20886; Mon, 3 Apr 2000 14:33:49 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA00900; Mon, 3 Apr 2000 14:33:43 -0600 (MDT) (envelope-from nate) Date: Mon, 3 Apr 2000 14:33:43 -0600 (MDT) Message-Id: <200004032033.OAA00900@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: Randy Bush , Nick Hibma , FreeBSD Laptoppers Subject: Re: usb on vaio 505tx In-Reply-To: <200004031917.NAA62888@harmony.village.org> References: <200004031804.MAA62588@harmony.village.org> <200004031917.NAA62888@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : > I have minor suspend/resume problems on my 505-TS. > : > : i found > : > : options PCIC_RESUME_RESET > : options PSM_HOOKAPM #hook the APM resume event, useful > : #for some laptops > : options PSM_RESETAFTERSUSPEND #reset the device at the resume event > : > : quite helpful > > Yes. They are quite helpful. The problems that I have is that > sometimes when I do a suspend to disk, when it wakes up the pccard > events aren't seen. This may be a known 'race' in the existing code that Guido and I both attempted to fix. What happens is that 'removal' event never makes it into pccardd before the kernel goes down (the select fires, and/or the actual event is never read). When the kernel comes back up, the 'insertion' event is fired back. When this happens, pccardd is unable to recognize that the card was 'removed', because it's state is that the card is still inserted. So, the insertion event is ignored. We both tried working around this race, but never got a completely satisfactory solution... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 13:54: 5 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 07AFD37B95D for ; Mon, 3 Apr 2000 13:52:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA89469; Mon, 3 Apr 2000 14:51:23 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA63575; Mon, 3 Apr 2000 14:50:44 -0600 (MDT) Message-Id: <200004032050.OAA63575@harmony.village.org> To: nate@yogotech.com (Nate Williams) Subject: Re: usb on vaio 505tx Cc: Randy Bush , Nick Hibma , FreeBSD Laptoppers In-reply-to: Your message of "Mon, 03 Apr 2000 14:33:43 MDT." <200004032033.OAA00900@nomad.yogotech.com> References: <200004032033.OAA00900@nomad.yogotech.com> <200004031804.MAA62588@harmony.village.org> <200004031917.NAA62888@harmony.village.org> Date: Mon, 03 Apr 2000 14:50:44 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004032033.OAA00900@nomad.yogotech.com> Nate Williams writes: : This may be a known 'race' in the existing code that Guido and I both : attempted to fix. While that problem might exist, in this case I think something else is going on. I believe that the bridge chips are being reset by the BIOS in the suspend routine and then not properly resotred in the resume routine to bring them back to a known state. The driver doesn't even see the card events. The pcic chip is alive (since timeouts work), just disconnected from the interrupt stream. This seems to be true even if we explicitly reconnect the management irq in the resume routine. That's what leads me to believe that one of the other bridge chips involved is being put in a strange state. It has been a while since I looked at the problem, so maybe my recollection of it is stale and obsolete. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 15:41:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 63D8B37BC59 for ; Mon, 3 Apr 2000 15:41:47 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id PAA02685; Mon, 3 Apr 2000 15:46:21 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200004032246.PAA02685@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Duncan Barclay Cc: freebsd-mobile@freebsd.org Subject: Re: Raylink driver - getting APM working In-reply-to: Your message of "Fri, 31 Mar 2000 22:30:33 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Apr 2000 15:46:21 -0700 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm having trouble understanding what needs to be done to get a network driver > (for Raylink/Webgear Aviator 2.4GHz cards) to APM suspend and resume properly > under 3.x (are we still calling 3.x -stable?). Oh, I'm actually talking > about the interactions between pccard and apm within the kernel so I can > finish writing the driver. There's nothing specific that needs to be done; the pccard infrastructure will fake removal of the card before suspend, and reinsertion after resume. > I noticed that for 4.x all APM has disappeared from things that have > it in RELENG_3 (e.g. aic). That's correct; it's handled at a higher level. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 20:56:55 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8F6F637B89E for ; Mon, 3 Apr 2000 20:56:52 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id VAA90802; Mon, 3 Apr 2000 21:56:48 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id VAA65987; Mon, 3 Apr 2000 21:56:07 -0600 (MDT) Message-Id: <200004040356.VAA65987@harmony.village.org> To: MIHIRA Sanpei Yoshiro Subject: Re: [NEWCARD] pcic_handle in pcic_{enable,disable}_socket Cc: FreeBSD-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 04 Apr 2000 02:49:41 +0900." <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> References: <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> Date: Mon, 03 Apr 2000 21:56:07 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> MIHIRA Sanpei Yoshiro writes: : I'm trying and test NEWCARD configuration(/sys/dev/pccard,pcic) : for Native-CardBus support under FreeBSD. Yea! : I can compile. But if I insert PC-Card, kernel panicked..... Boo. : I read /sys/dev/pcic/i82365.c, I think current problem is below : NULL pointer(Yes I know this line has XXXIMPXXX!!). : : int : pcic_enable_socket(device_t dev, device_t child) : { : struct pcic_handle *h = NULL; /* XXXIMPXXX */ : ~~~~ : i82365.c:pcic_attach function ph_read/write are setted. : : Warner-san, What plan do you have? OK. Each pccard child of pcic (or other bridges that supports a 16bit card) has a pcic_handle as its ivar. So, what needs to happen here is that we need to get the right device, and get its ivars. I've just committed a few changes that make sure that this is the case. Now, we get much further than before. We get into the reading of the CIS before we die. Looks like we/re passing a bad pointer to bus_alloc_resource in pccard_cis_scan. Looks like a bogus cast to struct device * of the pccard_softc. Those aren't right. I'm working on that part of things. Any cast of softc to a struct device is likely wrong, in case you see any in the code. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Mon Apr 3 21:26:18 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5D73237B813 for ; Mon, 3 Apr 2000 21:26:15 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA90871; Mon, 3 Apr 2000 22:26:11 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA66194; Mon, 3 Apr 2000 22:25:31 -0600 (MDT) Message-Id: <200004040425.WAA66194@harmony.village.org> To: MIHIRA Sanpei Yoshiro Subject: Re: [NEWCARD] pcic_handle in pcic_{enable,disable}_socket Cc: FreeBSD-mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 04 Apr 2000 02:49:41 +0900." <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> References: <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> Date: Mon, 03 Apr 2000 22:25:30 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004031749.CAA42107@lavender.yy.cs.keio.ac.jp> MIHIRA Sanpei Yoshiro writes: : Warner-san, What plan do you have? I hate to follow up this twice... I've spent a few minutes looking into this. I've managed to make it boot. I can insert and remove cards, but the CIS isn't mapping. So pccard_cis_scan can't really find anything... So, that's the next step. Making the CIS mappable. This would involve card_set_resource_attribute being implemented by pcic, like the power interface we have now. So that's what my short term plans are. If you wanted to implement this before I can get to it, I wouldn't complain :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 2:28:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from swan.en-bio.com.au (swan.en-bio.COM.AU [203.35.254.3]) by hub.freebsd.org (Postfix) with ESMTP id C5C6337C18F for ; Tue, 4 Apr 2000 02:28:25 -0700 (PDT) (envelope-from Tony.Maher@eBioinformatics.com) Received: from shad.internal.en-bio (www-cache.en-bio.com.au [203.35.254.2]) by swan.en-bio.com.au (8.9.1a/8.9.1) with ESMTP id TAA04643 for ; Tue, 4 Apr 2000 19:28:23 +1000 Received: (from tonym@localhost) by shad.internal.en-bio (8.9.1b+Sun/8.9.1) id TAA05174 for freebsd-mobile@FreeBSD.ORG; Tue, 4 Apr 2000 19:28:05 +1000 (EST) Date: Tue, 4 Apr 2000 19:28:05 +1000 (EST) From: Tony Maher Message-Id: <200004040928.TAA05174@shad.internal.en-bio> To: freebsd-mobile@FreeBSD.ORG Subject: scsi adaptor Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, looking to buy a scsi adapter and see 2 available from pccard.conf # Adaptec SlimSCSI (also included with Sony CD-ROM players) card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" # NewMedia Bustoaster SCSI card "New Media" "SCSI" Want to attach any of the following: tape drive/Jaz/external disks/scanner(?)/cdrom burner Anyone with any recommendations between the two? Or first hand experience on one or the other? thanks tonym To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 6:19:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ptldpop2.ptld.uswest.net (ptldpop2.ptld.uswest.net [198.36.160.2]) by hub.freebsd.org (Postfix) with SMTP id BC91937B84A for ; Tue, 4 Apr 2000 06:19:12 -0700 (PDT) (envelope-from wwoods@cybcon.com) Received: (qmail 9776 invoked by alias); 4 Apr 2000 13:19:05 -0000 Delivered-To: fixup-freebsd-mobile@FreeBSD.ORG@fixme Received: (qmail 9765 invoked by uid 0); 4 Apr 2000 13:19:04 -0000 Received: from unknown (HELO laptop.cybcon.com) (63.227.213.90) by ptldpop2.ptld.uswest.net with SMTP; 4 Apr 2000 13:19:04 -0000 Content-Length: 558 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004040928.TAA05174@shad.internal.en-bio> Date: Tue, 04 Apr 2000 06:19:00 -0700 (PDT) Reply-To: bwoods2@uswest.net From: William Woods To: Tony Maher Subject: RE: scsi adaptor Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I use this one: On 04-Apr-00 Tony Maher wrote: > Hello, > ># Adaptec SlimSCSI (also included with Sony CD-ROM players) > card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" With a CDROM Burner...works great ---------------------------------- E-Mail: bwoods2@uswest.net Date: 04-Apr-00 Time: 06:18:28l ---------------------------------- NOTICE TO BULK E-MAILERS: Pursuant to US Code, Title 47, Chapter 5, Subchapter II, 227, and all unsolicited commercial e-mail sent to this address is subject to a download and archival fee in the amount of $500 US To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 8:48:38 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id 6A44937BAD8 for ; Tue, 4 Apr 2000 08:48:35 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 12cVZ1-0002Tq-00 for freebsd-mobile@FreeBSD.ORG; Tue, 04 Apr 2000 11:48:23 -0400 Date: Tue, 4 Apr 2000 11:48:23 -0400 From: Peter Radcliffe To: freebsd-mobile@FreeBSD.ORG Subject: Re: scsi adaptor Message-ID: <20000404114823.D8140@pir.net> Mail-Followup-To: freebsd-mobile@FreeBSD.ORG References: <200004040928.TAA05174@shad.internal.en-bio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from wwoods@cybcon.com on Tue, Apr 04, 2000 at 06:19:00AM -0700 X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org William Woods probably said: > I use this one: Ditto. > ># Adaptec SlimSCSI (also included with Sony CD-ROM players) > > card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" > With a CDROM Burner...works great I use it with external disk, cdrom, etc. P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 10: 2:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id C059137B792 for ; Tue, 4 Apr 2000 10:02:42 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from kwaifong.pacific.net.hk (kwaifong.pacific.net.hk [202.14.67.7]) by mongkok.pacific.net.hk with ESMTP id BAA21915 for ; Wed, 5 Apr 2000 01:02:36 +0800 (HKT) Received: from alexkwan (ppp13.dyn30.pacific.net.hk [202.64.30.13]) by kwaifong.pacific.net.hk with SMTP id BAA11251 for ; Wed, 5 Apr 2000 01:02:34 +0800 (HKT) Message-ID: <000701bf9e57$e9758640$0d1e40ca@alexkwan> From: "Alex Kwan" To: Subject: Re: How to make sound config on my laptop? Date: Wed, 5 Apr 2000 01:04:04 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have install FreeBSD4.0 on my laptop Toshiba510CDT (the sound card was Crystal PnP), I have added a entry "device pcm" and re-compile the kernel. the questions are: 1. Is this config is enough and correct, do I need "device snd"? 2. I can't found any sound device (like snd0 or audio), do I need create it manually? 3. How to test the sound (I have downloaded a sound file xxxxxx.au)? Thanks a lot Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 11:27:11 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from nohow.demon.co.uk (nohow.demon.co.uk [212.228.18.189]) by hub.freebsd.org (Postfix) with ESMTP id 7CF5837B68A for ; Tue, 4 Apr 2000 11:27:02 -0700 (PDT) (envelope-from noway@nohow.demon.co.uk) Received: from localhost (noway@localhost) by nohow.demon.co.uk (8.9.3/8.9.3) with ESMTP id TAA69555; Tue, 4 Apr 2000 19:24:59 +0100 (BST) (envelope-from noway@nohow.demon.co.uk) Date: Tue, 4 Apr 2000 19:24:59 +0100 (BST) From: Jose Marques To: Tony Maher Cc: freebsd-mobile@FreeBSD.ORG Subject: RE: scsi adaptor In-Reply-To: Message-ID: X-No-Archive: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 4 Apr 2000, William Woods wrote: > ># Adaptec SlimSCSI (also included with Sony CD-ROM players) > > card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" > > With a CDROM Burner...works great I second that. I use it with a Yamaha CRW6416S and can reliably write CDs at 4x speed on a slow P120 (the same hardware under Win95 can only write at single speed reliably). I've also used it with an HP DDS-2 DAT drive and my dumps run at approx 700K/sec with compression. Finally tosha reports that it can read audio data at just under 5x speed (just over 900K/sec). I've also used it with a old 100MB ZIP drive reliably. Note: when I bought my 1460B it did not come with a cable that would fit into Mac style SCSI ports as found on the ZIP. I had to send off for a suitable cable from Adaptec. The cable itself was free but the postage and packing charge was very expensive. -- Jose Marques To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 11:56:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id C0AFE37B53A for ; Tue, 4 Apr 2000 11:56:28 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by cwb.pacific.net.hk with ESMTP id CAA07775; Wed, 5 Apr 2000 02:56:22 +0800 (HKT) Received: from alexkwan (ppp107.dyn30.pacific.net.hk [202.64.30.107]) by tsingyi.pacific.net.hk with SMTP id CAA15920; Wed, 5 Apr 2000 02:56:16 +0800 (HKT) Message-ID: <001501bf9e67$cdf57960$6b1e40ca@alexkwan> From: "Alex Kwan" To: "Sean O'Connell" Cc: References: <000701bf9e57$e9758640$0d1e40ca@alexkwan> <20000404134217.B13783@stat.Duke.EDU> Subject: Re: How to make sound config on my laptop? Date: Wed, 5 Apr 2000 02:57:44 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Sean, This laptop can't touch the bios, the rebuild kernel have not found the sound card and there is no pcmX driver was attached, I have checked the sound card resources from MS Win98 was: Name: CRYSTAL PnP Sound System Codec I/O: 0534-0537 I/O: 0388-038B I/O: 0220-022F IRQ: 05 DMA: 01 DMA: 00 What can I do to make the kernel found the sound card and attached the pcmX driver? > > > > I have install FreeBSD4.0 on my laptop Toshiba510CDT > > (the sound card was Crystal PnP), I have added a entry > > "device pcm" and re-compile the kernel. the questions are: > > 1. Is this config is enough and correct, do I need "device snd"? > > It ought to be. The only other thing it might need is > "device csa" but only if it is a pci chip (I think). > > Does the kernel find it? ("options PNPBIOS" may be needed ... make > sure to set "Plug and Play OS" to NO in your BIOS, if you can) > > > 2. I can't found any sound device (like snd0 or audio), do I need > > create it manually? > > cd /dev; sh MAKEDEV snd0 > > assuming that the kernel detects it as pcm0 (otherwise make the > appropriate number snd1 for pcm1, etc) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 13:46:44 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id E21E837B864 for ; Tue, 4 Apr 2000 13:46:41 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by cwb.pacific.net.hk with ESMTP id EAA15601; Wed, 5 Apr 2000 04:46:38 +0800 (HKT) Received: from alexkwan (ppp235.dyn30.pacific.net.hk [202.64.30.235]) by tsingyi.pacific.net.hk with SMTP id EAA23982; Wed, 5 Apr 2000 04:46:37 +0800 (HKT) Message-ID: <000801bf9e77$35995000$eb1e40ca@alexkwan> From: "Alex Kwan" To: "Sean O'Connell" Cc: References: <000701bf9e57$e9758640$0d1e40ca@alexkwan> <20000404134217.B13783@stat.Duke.EDU> <001501bf9e67$cdf57960$6b1e40ca@alexkwan> <20000404150950.A13831@stat.Duke.EDU> Subject: Re: The Crystal PnP soundcard now work Date: Wed, 5 Apr 2000 04:49:00 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Sean, Thanks! The "device pcm0 at isa? port? irq5 drq1 flags 0x10" is worked! one more question, if I play music CD with KDE multimedia, do I need change the /etc/fstab, because my CDROM now mount with ISO9660. Thanks a lot! > > to your kernel config file? This card ought to be detected. > If worse comes to worse, > > device pcm at isa? port? irq 5 drq 1 flags 0x10 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 16:24:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from swan.en-bio.com.au (swan.en-bio.COM.AU [203.35.254.3]) by hub.freebsd.org (Postfix) with ESMTP id DDFD237B92D for ; Tue, 4 Apr 2000 16:24:29 -0700 (PDT) (envelope-from Tony.Maher@eBioinformatics.com) Received: from shad.internal.en-bio (www-cache.en-bio.com.au [203.35.254.2]) by swan.en-bio.com.au (8.9.1a/8.9.1) with ESMTP id JAA08382; Wed, 5 Apr 2000 09:20:50 +1000 Received: (from tonym@localhost) by shad.internal.en-bio (8.9.1b+Sun/8.9.1) id JAA15585; Wed, 5 Apr 2000 09:20:32 +1000 (EST) Date: Wed, 5 Apr 2000 09:20:32 +1000 (EST) From: Tony Maher Message-Id: <200004042320.JAA15585@shad.internal.en-bio> To: noway@nohow.demon.co.uk, pir@pir.net, wwoods@cybcon.com Cc: freebsd-mobile@FreeBSD.ORG Subject: RE: scsi adaptor Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks guys. An adaptec it is. tonym To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 19:54:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from bond.interpacket.net (us-la-gate.interpacket.net [209.198.223.250]) by hub.freebsd.org (Postfix) with SMTP id DE6D137B55F for ; Tue, 4 Apr 2000 19:54:21 -0700 (PDT) (envelope-from jon@interpacket.net) Received: (qmail 5051 invoked from network); 5 Apr 2000 02:54:20 -0000 Received: from host-192-168-4-50.la.interpacket.net (HELO ?192.168.2.3?) (192.168.4.50) by bond.la.interpacket.net with SMTP; 5 Apr 2000 02:54:20 -0000 Mime-Version: 1.0 X-Sender: jonm@bond.interpacket.net Message-Id: Date: Tue, 4 Apr 2000 19:53:33 -0700 To: freebsd-mobile@FreeBSD.ORG From: Jon Mansey Subject: is there any hope? Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi list, I am trying to get sound working on my Presario 305, it uses the ESS Maestro sound chip, it uses IRQ 11 shared with the USB controller and the TI cardbus controller (according to windoze). The OSS READMEs mention to disable in BIOS the other devices using the IRQ to enable the sound chip to work. The BIOS of course doesnt allow anything like this kind of functionality. IS there any hope? By the way everything else is working nicely on this cute little sub-notebook, wavelan PCMCIA, apm, X11 at 800x600x16k. Havent tried usb yet. Its PAO 3.4 by the way if it matters. If anyone has gotten this sound chip working with OSS and shared IRQs, Id be interested to hear the secret. If it sounds like a lost cause, Id like to know so I dont waste any more time on it. Would 4.0 help at all? TIA, Jon. PS the 305 has an intriguing built-in RJ45 ethernet connector on the side, but apparently it has no controller chip on board as nothing is recognized by FreeB or W9x. So enticing to have a notebook with built in 100bT. Anyone know what is the deal? Did Compaq pull back from installing built in LAN at the last minute? Shame! -- jon@interpacket.net Chief Science Officer ------------------------------------------------------------------ "Low-cost & high-speed access to the US Internet via Satellite" InterPacket Networks, Inc. http://www.interpacket.net 1901 Main St. tel (310) 382 3300 Santa Monica, California 90405 fax (310) 382 3310 ------------------------------------------------------------------ "Unix IS user friendly...It's just selective about who its friends are." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Tue Apr 4 19:59:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mass.cdrom.com (adsl-63-193-112-57.dsl.snfc21.pacbell.net [63.193.112.57]) by hub.freebsd.org (Postfix) with ESMTP id C172237B812 for ; Tue, 4 Apr 2000 19:59:38 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id UAA18257; Tue, 4 Apr 2000 20:04:29 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200004050304.UAA18257@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Jon Mansey Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: is there any hope? In-reply-to: Your message of "Tue, 04 Apr 2000 19:53:33 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 04 Apr 2000 20:04:29 -0700 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi list, > > I am trying to get sound working on my Presario 305, it uses the ESS > Maestro sound chip, it uses IRQ 11 shared with the USB controller and > the TI cardbus controller (according to windoze). OSS doesn't support shared interrupts; you're out of luck. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 6:32: 3 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by hub.freebsd.org (Postfix) with ESMTP id EEF3337B69F for ; Wed, 5 Apr 2000 06:31:47 -0700 (PDT) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id e35DVRU98120 for ; Wed, 5 Apr 2000 15:31:27 +0200 (CEST) Received: from niobe.lpthe.jussieu.fr (root@niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (8.9.1a/jtpda-5.3.1) with ESMTP id PAA13816 for ; Wed, 5 Apr 2000 15:31:27 +0200 (MET DST) Received: from (talon@localhost) by niobe.lpthe.jussieu.fr (8.9.3/jtpda-5.3.1) id PAA10161 for freebsd-mobile@FreeBSD.ORG; Wed, 5 Apr 2000 15:31:26 +0200 (CEST) Date: Wed, 5 Apr 2000 15:31:26 +0200 From: Michel TALON To: freebsd-mobile@FreeBSD.ORG Subject: Re: The Crystal PnP soundcard now work Message-ID: <20000405153125.A10121@lpthe.jussieu.fr> References: <000701bf9e57$e9758640$0d1e40ca@alexkwan> <20000404134217.B13783@stat.Duke.EDU> <001501bf9e67$cdf57960$6b1e40ca@alexkwan> <20000404150950.A13831@stat.Duke.EDU> <000801bf9e77$35995000$eb1e40ca@alexkwan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000801bf9e77$35995000$eb1e40ca@alexkwan>; from alexkwan@pacific.net.hk on Wed, Apr 05, 2000 at 04:49:00AM +0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Apr 05, 2000 at 04:49:00AM +0800, Alex Kwan wrote: > Hi! Sean, > > Thanks! The "device pcm0 at isa? port? irq5 drq1 flags 0x10" is worked! > one more question, if I play music CD with KDE multimedia, do I need > change the /etc/fstab, because my CDROM now mount with ISO9660. I have encountered the same problem on my laptop (Dell Inspiron 3500). I have upgraded to 4.0 this morning, and putting device pcm in the kernel config file, the card is not detected. I assume i have to fully qualify the device. But this raises on question: the sound card is a Neomagic PCI card, and LINT says that PCI card should be attached automatically. I assume that the syntax device pcm0 at isa? port? irq5 triggers some SoundBlaster compatibility mode. I seem to remember that there are PCI probes in the newpcm code. So can you explain what happens? (Conversely, i have upgraded my desktop yesterday, which has a SoundBlaster ISA/PnP and device pcm device smb finds it very well. Moreover it gives very good sound). -- Michel TALON To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 8:14:25 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id BC33E37B9F5 for ; Wed, 5 Apr 2000 08:14:21 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from kwaifong.pacific.net.hk (kwaifong.pacific.net.hk [202.14.67.7]) by cwb.pacific.net.hk with ESMTP id XAA22360 for ; Wed, 5 Apr 2000 23:14:17 +0800 (HKT) Received: from alexkwan (ppp44.dyn30.pacific.net.hk [202.64.30.44]) by kwaifong.pacific.net.hk with SMTP id XAA26750 for ; Wed, 5 Apr 2000 23:14:16 +0800 (HKT) Message-ID: <000b01bf9f11$efa52060$2c1e40ca@alexkwan> From: "Alex Kwan" To: Subject: Re: How to config PCMCIA Atapi Cdrom Drive and PCMCIA Atapi Zip Drive Date: Wed, 5 Apr 2000 23:15:41 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I wanted to make my PCMCIA ATAPI CDROM Drive and PCMCIA ATAPI 250 MB ZIP Drive under my FreeBSD4.0 Box, but I can't found any entry about these drive on pccard.conf.sample, How to make it work? Do I need waiting for the PAO4.0 ? because I read their documents said that the above drive are supported by PAO3.3, device are acd and wfd0. Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 8:31:51 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.prod.itd.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id 20FFE37B8C3 for ; Wed, 5 Apr 2000 08:31:38 -0700 (PDT) (envelope-from prmoyer@mail.earthlink.net) Received: from mail.earthlink.net (ip138.wilmington5.de.pub-ip.psi.net [38.30.231.138]) by harrier.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id IAA20321 for ; Wed, 5 Apr 2000 08:31:35 -0700 (PDT) Message-Id: <200004051531.IAA20321@harrier.prod.itd.earthlink.net> From: "Philip R. Moyer" Reply-To: pmoyer@hyperon.com To: freebsd-mobile@freebsd.org Subject: various interesting problems in 4.0-STABLE Date: Wed, 05 Apr 2000 11:32:07 -0400 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm running 4.0-STABLE on a Sony VIAO PCG-F350, and I've run into some interesting problems (quirks?) since the upgrade. First, and perhaps most bothersome, is that the pccard support doesn't seem to handle insert/remove events properly. Sometimes I get an entry in /var/log/messages like: Mar 31 15:15:59 penrose pccardd[52383]: No card in database for ""("") when I try to insert a card. This particular message was for a modem card that the system recognizes without any trouble on boot. Second, killing and restarting pccardd doesn't always pick up new cards, either. Sometimes I get entries like the above example. Other times, I get entries (again in /var/log/messages) that indicate the card isn't configured correctly. For example, I've been trying to get my 3Com multifunction card working correctly, so I was messing around with pccard.conf and restarting pccardd. Here's an example entry: Mar 31 15:18:21 penrose /kernel: pccard: card inserted, slot 1 Mar 31 15:18:21 penrose pccardd[52398]: driver allocation failed for 3Com(3CXM/3CCM556): Device not configured Mar 31 15:18:31 penrose /kernel: ep0: No I/O space?! I gave up and decided to work on it later. When I got to work this morning, though, and booted up my machine, I got: Apr 5 09:50:18 penrose /kernel: ep0: <3Com 3C556> at port 0x240-0x25f irq 5 slot 1 on pccard1 Apr 5 09:50:18 penrose /kernel: ep0: Ethernet address 00:00:86:3b:69:38 Apr 5 09:50:18 penrose /kernel: ep0: supplying EUI64: 00:00:86:ff:fe:3b:69:38 Apr 5 09:50:18 penrose pccard:ep0: 3Com 3CCFEM556B inserted Apr 5 09:50:18 penrose /kernel: ep0: starting DAD for fe80:000b::0200:86ff:fe3b:6938 Apr 5 09:50:19 penrose /kernel: ep0: DAD complete for fe80:000b::0200:86ff:fe3b:6938 - no duplicates found Now, don't get me wrong. I'm not complaining that it's working. :-) I'm just observing that hot swapping the cards doesn't seem to work properly. Perhaps this is a problem with the hardware, and not 4.0, but I'm curious if anyone else has noticed this behavior. Third, the Sony has a Glidepoint touchpad for a mouse. On occasion, I notice that it seems to generate a spurious button-one-down event; I get a popup menu in the root window when I haven't clicked anything. I'll also get spontaneous cutting in xterms, even without a button down. This seems like it's more of an XFree86 issue than a BSD issue. If anyone has run into and overcome these problems, I'd be interested in hearing about your solution. As a side note, Warner, I've got a Xircom RealPort 10/100 LAN + 56K modem card that I'd like to get working at some point. Is there a crib sheet somewhere for translating CIS dumps into working pccard.conf entries? Cheers, Phil To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10: 2: 4 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 9DC1037BE00 for ; Wed, 5 Apr 2000 10:01:57 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA97043; Wed, 5 Apr 2000 11:01:52 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA79623; Wed, 5 Apr 2000 11:01:07 -0600 (MDT) Message-Id: <200004051701.LAA79623@harmony.village.org> To: "Alex Kwan" Subject: Re: How to config PCMCIA Atapi Cdrom Drive and PCMCIA Atapi Zip Drive Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 05 Apr 2000 23:15:41 +0800." <000b01bf9f11$efa52060$2c1e40ca@alexkwan> References: <000b01bf9f11$efa52060$2c1e40ca@alexkwan> Date: Wed, 05 Apr 2000 11:01:07 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <000b01bf9f11$efa52060$2c1e40ca@alexkwan> "Alex Kwan" writes: : I wanted to make my PCMCIA ATAPI CDROM Drive and : PCMCIA ATAPI 250 MB ZIP Drive under my FreeBSD4.0 Box, : but I can't found any entry about these drive on pccard.conf.sample, : How to make it work? Use pccard dumpcis to find out the mfg and "version" strings for the card and then put pccard.conf. And send them to me so I can add them to pccard.conf.sample. The device you want to deal with in pccard.conf is ata since that's the controller. Other devices will attach to that. : Do I need waiting for the PAO4.0 ? There will be no PAO 4. : because I read their documents said that the above drive are supported : by PAO3.3, device are acd and wfd0. Snag the entry from PAO3's pccard.conf, hack on it to make FreeBSD 4's pccardd happy and you should be set. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10: 5:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 69EDF37BC88 for ; Wed, 5 Apr 2000 10:05:20 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA97064; Wed, 5 Apr 2000 11:05:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA79648; Wed, 5 Apr 2000 11:04:28 -0600 (MDT) Message-Id: <200004051704.LAA79648@harmony.village.org> To: pmoyer@hyperon.com Subject: Re: various interesting problems in 4.0-STABLE Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 05 Apr 2000 11:32:07 EDT." <200004051531.IAA20321@harrier.prod.itd.earthlink.net> References: <200004051531.IAA20321@harrier.prod.itd.earthlink.net> Date: Wed, 05 Apr 2000 11:04:28 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004051531.IAA20321@harrier.prod.itd.earthlink.net> "Philip R. Moyer" writes: : First, and perhaps most bothersome, is that the pccard support doesn't : seem to handle insert/remove events properly. Sometimes I get an entry : in /var/log/messages like: : : Mar 31 15:15:59 penrose pccardd[52383]: No card in database for ""("") : : when I try to insert a card. This particular message was for a modem card : that the system recognizes without any trouble on boot. This is odd. What did you upgrade from? : Mar 31 15:18:31 penrose /kernel: ep0: No I/O space?! You have tried to use an address that is already in use. : Now, don't get me wrong. I'm not complaining that it's working. :-) I'm : just observing that hot swapping the cards doesn't seem to work properly. : Perhaps this is a problem with the hardware, and not 4.0, but I'm curious if : anyone else has noticed this behavior. I haven't seen that. : Third, the Sony has a Glidepoint touchpad for a mouse. On occasion, I notice : that it seems to generate a spurious button-one-down event; I get a popup : menu in the root window when I haven't clicked anything. I'll also get : spontaneous cutting in xterms, even without a button down. This seems like : it's more of an XFree86 issue than a BSD issue. It is a driver issue. There are knobs, iirc, for this. : If anyone has run into and overcome these problems, I'd be interested in : hearing about your solution. As a side note, Warner, I've got a Xircom : RealPort 10/100 LAN + 56K modem card that I'd like to get working at some : point. Is there a crib sheet somewhere for translating CIS dumps into : working pccard.conf entries? I just posted one. Basically, you just need to translate the mfg and version strings in the CIS into the first line of the entry. Next, try the following line: config auto "sio" ? and see if that will properly pickup the card. Otherwise try the config entries one at a time until you find one that works. 0x23 is typical. However, make sure the realport card isn't cardbus. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10: 6:27 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cbisinet.cbis.com (cbisinet.cbis.com [206.230.22.18]) by hub.freebsd.org (Postfix) with ESMTP id C4CEE37C020 for ; Wed, 5 Apr 2000 10:06:18 -0700 (PDT) (envelope-from jeff.king@convergys.com) Received: from notes.cbis.com (cdcnw02.matrixx.com [170.14.73.35]) by cbisinet.cbis.com (8.9.1/8.9.1) with SMTP id NAA06775 for ; Wed, 5 Apr 2000 13:06:11 -0400 (EDT) From: jeff.king@convergys.com Received: by notes.cbis.com(Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) id 852568B8.005DFC7B ; Wed, 5 Apr 2000 13:06:34 -0400 X-Lotus-FromDomain: CVG To: freebsd-mobile@FreeBSD.ORG Message-ID: <852568B8.005DFBFA.00@notes.cbis.com> Date: Wed, 5 Apr 2000 13:08:46 -0400 Subject: unsubscribe freebsd-mobile Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org unsubscribe freebsd-mobile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10: 6:52 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cbisinet.cbis.com (cbisinet.cbis.com [206.230.22.18]) by hub.freebsd.org (Postfix) with ESMTP id D172B37BF1F for ; Wed, 5 Apr 2000 10:06:47 -0700 (PDT) (envelope-from jeff.king@convergys.com) Received: from notes.cbis.com (cdcnw02.matrixx.com [170.14.73.35]) by cbisinet.cbis.com (8.9.1/8.9.1) with SMTP id NAA08100 for ; Wed, 5 Apr 2000 13:06:44 -0400 (EDT) From: jeff.king@convergys.com Received: by notes.cbis.com(Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) id 852568B8.005E0A8D ; Wed, 5 Apr 2000 13:07:08 -0400 X-Lotus-FromDomain: CVG To: freebsd-mobile@FreeBSD.ORG Message-ID: <852568B8.005E07BE.00@notes.cbis.com> Date: Wed, 5 Apr 2000 13:09:16 -0400 Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe freebsd-mobile-digest -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10:18:54 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id AB1C737B755 for ; Wed, 5 Apr 2000 10:18:30 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id BAA27424; Thu, 6 Apr 2000 01:18:21 +0800 (HKT) Received: from alexkwan (ppp41.dyn30.pacific.net.hk [202.64.30.41]) by tsingyi.pacific.net.hk with SMTP id BAA15878; Thu, 6 Apr 2000 01:18:19 +0800 (HKT) Message-ID: <000201bf9f23$462eb0c0$291e40ca@alexkwan> From: "Alex Kwan" To: "Sean O'Connell" Cc: References: <000b01bf9f11$efa52060$2c1e40ca@alexkwan> <20000405115548.N13991@stat.Duke.EDU> Subject: Re: How to config PCMCIA Atapi Cdrom Drive and PCMCIA Atapi Zip Drive Date: Thu, 6 Apr 2000 01:15:29 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! Sean and other FreeBSD fans, (1) CDROM use acd0c or ad0? Do I need create /dev/acd0a and /dev/acd0c manually? (2) ZIP I create the entry in pccard.conf by myself, and it was detected, but I got following error message: 'ata-2 - slave: ata2_command : timeout waiting for intr.' 'ata-2 - slave: ata2_identify failed' 'ata-2 - master : floppy device - No Driver' If This Zip Drive were running at MS Win98 and without manufactuer's driver, it will be recognized as a movable disk. now I am trying changed the ata2 to atapifd0 (I found this on hardware.txt ), do you know what is the device name of atapifd on /dev? do I needed to create one? Thanks > > It should work with 4.0. You'll need to do something like the > following > > # Sony-branded PCCard CD-ROM > card " " "NinjaATA-" > config auto "ata2" 15 > insert logger -t pccard:$device -s Sony CD-ROM inserted > remove logger -t pccard:$device -s Sony CD-ROM remove > > (this is for the Sony drive .. you'll need to use the > pccardc dumpcis command to get the appropiate entries > for your cdrom). As for the Zip drive, I am not sure. > > What do error you see on the console (or in /var/log/messages) when > you insert them? > > You can usually construct an entry using the time-honored "monkey see, > monkey do" technique for similar entries. > > S > ----------------------------------------------------------------------- > Sean O'Connell Email: sean@stat.Duke.EDU > Institute of Statistics and Decision Sciences Phone: (919) 684-5419 > Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 10:47:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id DF0D337B6B1 for ; Wed, 5 Apr 2000 10:47:38 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id BAA29983 for ; Thu, 6 Apr 2000 01:47:37 +0800 (HKT) Received: from alexkwan (ppp182.dyn29.pacific.net.hk [202.64.29.182]) by tsingyi.pacific.net.hk with SMTP id BAA18685 for ; Thu, 6 Apr 2000 01:47:36 +0800 (HKT) Message-ID: <001001bf9f27$5ce33bc0$291e40ca@alexkwan> From: "Alex Kwan" To: Subject: Fw: How to config PCMCIA Atapi Cdrom Drive and PCMCIA Atapi Zip Drive Date: Thu, 6 Apr 2000 01:49:58 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----- Original Message ----- From: Alex Kwan To: Warner Losh Sent: Thursday, April 06, 2000 1:48 AM Subject: Re: How to config PCMCIA Atapi Cdrom Drive and PCMCIA Atapi Zip Drive > Hi! Warner, > > (1) CDROM: > I already have a internal CDROM (but it is too slowly), > device is acd0a and acd0c (why one CDROM have two device a and c?), > do I need create acd1a and acd1c manually? > > (2) ZIP Drive > I have create a entry on pccard.conf by myself as follow > (you have told me how to do that before), > card "Iomega" "PCMCIA to 16 bit ATAPI Adapter" > config 0x1 "ata2" ? > insert logger -t pccard: $device -s Iomega Zip 250MB inserted > remove logger -t pccard: $device -s Iomega Zip 250MB removed > > it was detected by pccardd and the ata2 was up, but I got following error > message: > 'ata2 - slave : ata2_command: timeout waiting fot intr.' > 'ata2 - slave : ata2 identify failed' > 'ata2 - master: floppy device - No Driver' > > my drive was detected but no driver, how can I do next step? > > Thanks a lot! > > > > > > Use pccard dumpcis to find out the mfg and "version" strings for the > > card and then put pccard.conf. And send them to me so I can add them > > to pccard.conf.sample. The device you want to deal with in > > pccard.conf is ata since that's the controller. Other devices will > > attach to that. > > > > : Do I need waiting for the PAO4.0 ? > > > > There will be no PAO 4. > > > > : because I read their documents said that the above drive are supported > > : by PAO3.3, device are acd and wfd0. > > > > Snag the entry from PAO3's pccard.conf, hack on it to make FreeBSD 4's > > pccardd happy and you should be set. > > > > Warner > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 11: 2:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id 85D1737B92E; Wed, 5 Apr 2000 11:02:42 -0700 (PDT) (envelope-from mi@kot.ne.mediaone.net) Received: from rtfm.newton (root@rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id OAA95146; Wed, 5 Apr 2000 14:02:41 -0400 (EDT) From: Mikhail Teterin X-Relay-IP: 10.10.0.1 Received: (from mi@localhost) by rtfm.newton (8.9.3/8.9.3) id OAA83117; Wed, 5 Apr 2000 14:02:41 -0400 (EDT) (envelope-from mi@kot.ne.mediaone.net) Message-Id: <200004051802.OAA83117@rtfm.newton> Subject: Linksys: PCMPC200 To: stable@freebsd.org Date: Wed, 5 Apr 2000 14:02:41 -0400 (EDT) Cc: mobile@freebsd.org X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" To: mi@kot.ne.mediaone.net Cc: stable@freebsd.org, mobile@freebsd.org In-reply-to: <200004051802.OAA83117@rtfm.newton> (message from Mikhail Teterin on Wed, 5 Apr 2000 14:02:41 -0400 (EDT)) Subject: Re: Linksys: PCMPC200 Message-Id: <20000405181327.27DBB37BBE8@hub.freebsd.org> Date: Wed, 5 Apr 2000 11:13:27 -0700 (PDT) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Should the subject work with FreeBSD-4? The install kernel does NOT see > it... Do I need PAO for that? The earlier PCMPC-100 is listed in > pcard.conf.sample PCMPC200 ? isnt that a card bus card? we dont support card bus at this time. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 11:21:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 8122337B988 for ; Wed, 5 Apr 2000 11:21:24 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn15.imasy.or.jp [202.227.24.207]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id DAA16021; Thu, 6 Apr 2000 03:21:20 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004051821.DAA16021@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.freebsd.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: Wildcard entry support In-Reply-To: Your message of "Tue, 04 Apr 2000 03:19:36 +0900" <200004031819.DAA11822@tasogare.imasy.or.jp> References: <200004031819.DAA11822@tasogare.imasy.or.jp> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 03:21:19 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 34 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > : I think it is better to have them because more than two available > > : config lines are needed if two cards use the same generic entry. > > : Also, I'm expecting that a lot of normal cards can be supported by > > : generic entries and this will cause few new card to be added. > > : In this case, the `just in case' entries make sense. > > > > Does the generic entry give you one of the cards, unspecified in > > number, or does it give you an unlimited number of them. If the form, > > I can see why you'd want to have more just in case. If the latter, > > then I don't see the point. If the generic code can eliminate a large > > number of entries (say all of the modems), then having a couple of > > extra lines shouldn't be a huge deal. They seem like they might be > > nops to me, which is why I ask. > > I was expecting the latter but actual code seems to say the former. > Currently generic entry can support only one card at the same time, > so the extra lines make sense only if the same type of card (but > different card) uses the same configuraion. Changing 2 lines of > conf->inuse = 1; > to > if (cp->func_id == 0) > conf->inuse = 1; > in cardd.c is my expected behavior, an unlimited number of cards can > share one generic entry using different configuration for each cards. Sorry for my misunderstanding, no additional code is needed for this. OK, I'll remove 'just in case' config line from pccard.conf and commit them first. I'll improve this feature later If there is an opportunity. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 13: 1:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 8CD7137B52C for ; Wed, 5 Apr 2000 13:01:44 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb60.imasy.or.jp [202.227.24.188]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id FAA10611 for ; Thu, 6 Apr 2000 05:01:41 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004052001.FAA10611@tasogare.imasy.or.jp> To: freebsd-mobile@FreeBSD.ORG Subject: Call for review: restart pccardd by SIGHUP X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 05:01:40 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 14 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff is for restarting pccardd by sending SIGHUP like # kill -HUP `cat /var/run/pccardd.pid` On restart, some efforts would be made for consistency such as maintain resource and card entry (except for generic entry) being used. I'll commit this around coming weekend if no objections. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 13: 7:39 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id CD95137BC37 for ; Wed, 5 Apr 2000 13:07:35 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id OAA13074; Wed, 5 Apr 2000 14:07:31 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id OAA17156; Wed, 5 Apr 2000 14:07:29 -0600 (MDT) (envelope-from nate) Date: Wed, 5 Apr 2000 14:07:29 -0600 (MDT) Message-Id: <200004052007.OAA17156@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mitsuru IWASAKI Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: <200004052001.FAA10611@tasogare.imasy.or.jp> References: <200004052001.FAA10611@tasogare.imasy.or.jp> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff > is for restarting pccardd by sending SIGHUP like > > # kill -HUP `cat /var/run/pccardd.pid` > > On restart, some efforts would be made for consistency such as > maintain resource and card entry (except for generic entry) being > used. This is *really* a good thing. Right now it's too difficult to debug the system and get a working configuration. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 13:48:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id A940637BF8C for ; Wed, 5 Apr 2000 13:48:11 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn57.imasy.or.jp [202.227.24.249]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id FAA14401; Thu, 6 Apr 2000 05:48:07 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004052048.FAA14401@tasogare.imasy.or.jp> To: nate@yogotech.com Cc: iwasaki@jp.FreeBSD.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Wed, 5 Apr 2000 14:07:29 -0600 (MDT)" <200004052007.OAA17156@nomad.yogotech.com> References: <200004052007.OAA17156@nomad.yogotech.com> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 05:48:06 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 19 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff > > is for restarting pccardd by sending SIGHUP like > > > > # kill -HUP `cat /var/run/pccardd.pid` > > > > On restart, some efforts would be made for consistency such as > > maintain resource and card entry (except for generic entry) being > > used. > > This is *really* a good thing. Right now it's too difficult to debug > the system and get a working configuration. Thanks! Actually I thought of sysctl(machdep.checkio) in 3.X to get current available resources dynamically, but I couldn't get how to get them from resource manager of newbus system in 4.X and -CURRENT. The solution is that detect used resources comparing initial state vs. current state of resource pool within pccardd and reflect them after reloading config files. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 14:18:54 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 36A0637B64B for ; Wed, 5 Apr 2000 14:18:50 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 12cxCF-000AWv-0Y; Wed, 5 Apr 2000 22:18:43 +0100 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12cwkO-000Ax1-00; Wed, 05 Apr 2000 21:49:56 +0100 Content-Length: 909 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004052007.OAA17156@nomad.yogotech.com> Date: Wed, 05 Apr 2000 21:49:56 +0100 (BST) From: Duncan Barclay To: Nate Williams Subject: Re: Call for review: restart pccardd by SIGHUP Cc: freebsd-mobile@FreeBSD.ORG, Mitsuru IWASAKI Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 05-Apr-00 Nate Williams wrote: >> http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff >> is for restarting pccardd by sending SIGHUP like >> >> # kill -HUP `cat /var/run/pccardd.pid` >> >> On restart, some efforts would be made for consistency such as >> maintain resource and card entry (except for generic entry) being >> used. > > This is *really* a good thing. Right now it's too difficult to debug > the system and get a working configuration. I second that. And can we have an optin to specify which configuration file to read from. This is useful for setups that change as one moves location. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 14:20:53 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 7FC4937B536 for ; Wed, 5 Apr 2000 14:20:49 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id PAA13640; Wed, 5 Apr 2000 15:20:46 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id PAA17618; Wed, 5 Apr 2000 15:20:45 -0600 (MDT) (envelope-from nate) Date: Wed, 5 Apr 2000 15:20:45 -0600 (MDT) Message-Id: <200004052120.PAA17618@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Duncan Barclay Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG, Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: References: <200004052007.OAA17156@nomad.yogotech.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff > >> is for restarting pccardd by sending SIGHUP like > >> > >> # kill -HUP `cat /var/run/pccardd.pid` > >> > >> On restart, some efforts would be made for consistency such as > >> maintain resource and card entry (except for generic entry) being > >> used. > > > > This is *really* a good thing. Right now it's too difficult to debug > > the system and get a working configuration. > > I second that. And can we have an optin to specify which configuration file > to read from. This is useful for setups that change as one moves location. Umm, /etc/pccard.conf should be constant, and shouldn't require any changing whatsoever. /etc/rc.conf may require changing, but the card database certainly shouldn't... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 14:46: 3 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 58C9437B991 for ; Wed, 5 Apr 2000 14:45:59 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdnb18.imasy.or.jp [202.227.24.146]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id GAA22548; Thu, 6 Apr 2000 06:45:56 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004052145.GAA22548@tasogare.imasy.or.jp> To: dmlb@ragnet.demon.co.uk Cc: nate@yogotech.com, freebsd-mobile@FreeBSD.ORG, iwasaki@jp.FreeBSD.org Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Wed, 05 Apr 2000 21:49:56 +0100 (BST)" References: X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 06:45:55 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 10 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I second that. And can we have an optin to specify which configuration file > to read from. This is useful for setups that change as one moves location. The `-f' option would be a useful for you :) Now that default configuration file is /etc/defaults/pccard.conf which includes /etc/pccard.conf as the user configuration file, but you can chage it with `-f' option for your special purpose. Having `include' keyword in your /etc/pccard.conf also would be useful. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 17:24:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from guardian.apnic.net (guardian.apnic.net [203.37.255.100]) by hub.freebsd.org (Postfix) with ESMTP id 1A7B537BCFC for ; Wed, 5 Apr 2000 17:24:21 -0700 (PDT) (envelope-from bc-freebsd@vicious.dropbear.id.au) Received: (from mail@localhost) by guardian.apnic.net (8.9.3/8.9.3) id KAA12956 for ; Thu, 6 Apr 2000 10:24:15 +1000 (EST) Received: from julubu.staff.apnic.net(192.168.1.37) by int-gw.staff.apnic.net via smap (V2.1) id xma012946; Thu, 6 Apr 00 10:23:52 +1000 Date: Thu, 6 Apr 2000 10:23:51 +1000 (EST) From: Bruce Campbell X-Sender: bc@julubu.staff.apnic.net To: freebsd-mobile@freebsd.org Subject: Re: obscure panics under 4.0-STABLE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 3 Apr 2000, Bruce Campbell wrote: bc> Unrelated to my previous message, I've been experiencing odd panics on a bc> 4.0-STABLE system whenever particular network processes (using promiscious bc> mode) are specifically killed, specifically 'arpwatch' and 'tcpdump'. bc> bc> I'm not sure whether its a few suspend/resume cycles, a busy network, or bc> changing IP address which is the initial trigger for the problem (which I bc> cannot duplicate right now, in accordance with Murphy's Law). Further information, it does appear to require a few suspend/resume cycles to trigger a panic, ie, the below is attempting to kill tcpdump after tcpdump has been running on a very unloaded network, then suspend/resumed[1]: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0x0 stack pointer = 0x10:0xc931bd5c frame pointer = 0x10:0xc931bd94 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 424 (tcpdump) interrupt mask = net tty trap number = 12 panic: page fault syncing disks ... 6 6 4 done Uptime: 10h55m3s 4.0-STABLE, painstakenly (P133) compiled from cvs. --==-- Bruce. [1] The wonders of sending one's laptop off to diagnose someone else's home network. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 17:31:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id A164E37B939 for ; Wed, 5 Apr 2000 17:30:59 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.13 #1) id 12d0CD-0004iK-00; Wed, 05 Apr 2000 17:30:53 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bruce Campbell Cc: freebsd-mobile@freebsd.org Subject: Re: obscure panics under 4.0-STABLE References: Message-Id: Date: Wed, 05 Apr 2000 17:30:53 -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org for the little it's worth, on 3.4+pao, if i make the error of starting tcpdump while dhclient is running, or vice versa, i get lockups. both try to put the ether card into promiscuous mode. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 18:16:24 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id 8937B37B9FB for ; Wed, 5 Apr 2000 18:16:20 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id SAA09576; Wed, 5 Apr 2000 18:16:18 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Wed, 5 Apr 2000 18:16:18 -0700 (PDT) From: robert bowen Message-Id: <200004060116.SAA09576@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: freebsd-mobile@freebsd.org Reply-To: robert@braingarage.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: older Panasonic SCSI? CD-Rom Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just got given an older Panasonic cd-rom drive. It has a controller card that is marked panasonic. The plug on the cd-rom drive is marked "SCSI", but the cis tuple says that the card is a "parallel port". How can I tell what driver to use with it? I tried to get it to work with the same settings as an Adaptek but no luck. I wonder if this is some kind of proprietary interface that needs a windows-only driver? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 18:55:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from canweb.canbox.com (bay110.qetc.com [209.51.234.110]) by hub.freebsd.org (Postfix) with ESMTP id 3E52937BE0F for ; Wed, 5 Apr 2000 18:55:27 -0700 (PDT) (envelope-from snowden@computercurrents.com) Received: from canweb.canbox.com (localhost [127.0.0.1]) by canweb.canbox.com (8.9.3/8.9.3/Debian/GNU) with SMTP id VAA27669 for ; Wed, 5 Apr 2000 21:58:53 -0400 Message-ID: <138068107.954986333728.JavaMail.nobody@canweb.canbox.com> Date: Wed, 5 Apr 2000 21:58:53 -0400 (EDT) From: Lamila Snowden To: freebsd-mobile@freebsd.org Subject: Rapid Replication Strategy Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have 21 laptops to prep w/ FreeBSD 3.4 I have one up and running just the way it should be. from loading it from the 3.4CD and then the apps (Applixware for FBSD, etc) I'd like to replicate it onto the rest. The whole HD is solely FBSD. The rest have no OS and are 3 diffrent models, diffrent hd's but the same video chipset etc. NO CDROMs either. same PCMCIA NICs I'd like to make up some type of boot disk with the PCMCIA NIC drivers loading at floppy boot. Thought about using tomsrtbt which is a Linux boot/rescue disk w/ some net/disk utils. 2 questions pls; 1. Recommendations for a boot disk with NIC drivers 2. For NT I would use ghost or an imaging product like that. I have been looking into dd, dump|restore, tar, pax, and find|cpio What are your reccommendations for setting up a HD image for 2 purposes, to roll out the rest of these, to keep the image as a file incase of a hd failure in the future or for prepping more notebooks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 19:30:45 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 15EE137B9AB for ; Wed, 5 Apr 2000 19:30:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA98775; Wed, 5 Apr 2000 20:27:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA85532; Wed, 5 Apr 2000 20:26:14 -0600 (MDT) Message-Id: <200004060226.UAA85532@harmony.village.org> To: nate@yogotech.com (Nate Williams) Subject: Re: Call for review: restart pccardd by SIGHUP Cc: Duncan Barclay , freebsd-mobile@FreeBSD.ORG, Mitsuru IWASAKI In-reply-to: Your message of "Wed, 05 Apr 2000 15:20:45 MDT." <200004052120.PAA17618@nomad.yogotech.com> References: <200004052120.PAA17618@nomad.yogotech.com> <200004052007.OAA17156@nomad.yogotech.com> Date: Wed, 05 Apr 2000 20:26:14 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004052120.PAA17618@nomad.yogotech.com> Nate Williams writes: : Umm, /etc/pccard.conf should be constant, and shouldn't require any : changing whatsoever. /etc/rc.conf may require changing, but the card : database certainly shouldn't... The card database lives in a file that also specifies which I/O ranges and which IRQs to use. These must be edited. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 19:30:57 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 15A9E37B97B for ; Wed, 5 Apr 2000 19:30:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA98785 for ; Wed, 5 Apr 2000 20:29:16 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA85558; Wed, 5 Apr 2000 20:28:29 -0600 (MDT) Message-Id: <200004060228.UAA85558@harmony.village.org> To: robert@braingarage.com Subject: Re: older Panasonic SCSI? CD-Rom Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 05 Apr 2000 18:16:18 PDT." <200004060116.SAA09576@smartie.braingarage.com> References: <200004060116.SAA09576@smartie.braingarage.com> Date: Wed, 05 Apr 2000 20:28:29 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004060116.SAA09576@smartie.braingarage.com> robert bowen writes: : I just got given an older Panasonic cd-rom drive. It has : a controller card that is marked panasonic. The plug on : the cd-rom drive is marked "SCSI", but the cis tuple : says that the card is a "parallel port". How can I tell : what driver to use with it? I tried to get it to work : with the same settings as an Adaptek but no luck. I : wonder if this is some kind of proprietary interface : that needs a windows-only driver? There are two or three PAO2 drivers being ported to CAM in nomads that this card might work with. However, I've not kept close track of the patches. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 19:31:42 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1FE2037B573 for ; Wed, 5 Apr 2000 19:31:39 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA98780; Wed, 5 Apr 2000 20:28:01 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA85545; Wed, 5 Apr 2000 20:27:14 -0600 (MDT) Message-Id: <200004060227.UAA85545@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP Cc: nate@yogotech.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 06 Apr 2000 05:48:06 +0900." <200004052048.FAA14401@tasogare.imasy.or.jp> References: <200004052048.FAA14401@tasogare.imasy.or.jp> <200004052007.OAA17156@nomad.yogotech.com> Date: Wed, 05 Apr 2000 20:27:14 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004052048.FAA14401@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : Thanks! Actually I thought of sysctl(machdep.checkio) in 3.X to get : current available resources dynamically, but I couldn't get how to get : them from resource manager of newbus system in 4.X and -CURRENT. I'd be happy to work with you to add this to my "hints" driver posted earlier. If we can get away from having to specify the IRQs and ioports in the pccard.conf file, I'd be very happy. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 19:33: 3 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id E295137B9C1 for ; Wed, 5 Apr 2000 19:32:59 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA98812; Wed, 5 Apr 2000 20:32:57 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA85612; Wed, 5 Apr 2000 20:32:10 -0600 (MDT) Message-Id: <200004060232.UAA85612@harmony.village.org> To: Atsushi Onoe Subject: Re: awi driver for FreeBSD current Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 24 Mar 2000 17:30:03 +0900." <200003240830.RAA00609@duplo.sm.sony.co.jp> References: <200003240830.RAA00609@duplo.sm.sony.co.jp> <200001192354.IAA01247@duplo.sm.sony.co.jp> Date: Wed, 05 Apr 2000 20:32:10 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200003240830.RAA00609@duplo.sm.sony.co.jp> Atsushi Onoe writes: : I've put the ported awi driver from NetBSD current to FreeBSD current. : I'm not quite sure about the differences between FreeBSD 4.0 and -current : but it will be expected to work on FreeBSD 4.0 as well. I've committed this to -current just now, or will if the server accepts the changes... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 20: 6:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 02DEB37B8ED for ; Wed, 5 Apr 2000 20:06:56 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id VAA16213; Wed, 5 Apr 2000 21:06:50 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id VAA19486; Wed, 5 Apr 2000 21:06:49 -0600 (MDT) (envelope-from nate) Date: Wed, 5 Apr 2000 21:06:49 -0600 (MDT) Message-Id: <200004060306.VAA19486@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: nate@yogotech.com (Nate Williams), Duncan Barclay , freebsd-mobile@FreeBSD.ORG, Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: <200004060226.UAA85532@harmony.village.org> References: <200004052120.PAA17618@nomad.yogotech.com> <200004052007.OAA17156@nomad.yogotech.com> <200004060226.UAA85532@harmony.village.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : Umm, /etc/pccard.conf should be constant, and shouldn't require any > : changing whatsoever. /etc/rc.conf may require changing, but the card > : database certainly shouldn't... > > The card database lives in a file that also specifies which I/O ranges > and which IRQs to use. These must be edited. For the machine, yes. But, once it is customized for a particular hardware platform, it shouldn't have to be edited again, no matter what location your harware is at. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 20:54:22 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from canweb.canbox.com (bay110.qetc.com [209.51.234.110]) by hub.freebsd.org (Postfix) with ESMTP id CD3AE37B871 for ; Wed, 5 Apr 2000 20:54:05 -0700 (PDT) (envelope-from snowden@computercurrents.com) Received: from canweb.canbox.com (localhost [127.0.0.1]) by canweb.canbox.com (8.9.3/8.9.3/Debian/GNU) with SMTP id XAA06918; Wed, 5 Apr 2000 23:57:01 -0400 Message-ID: <138081494.954993421257.JavaMail.nobody@canweb.canbox.com> Date: Wed, 5 Apr 2000 23:57:01 -0400 (EDT) From: Lem Snowden To: sean@stat.Duke.EDU Subject: RE:Rapid Replication Strategy Cc: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanx for the suggestion I'm gratefull, However if there's a "cleaner" way to do this ... The NIC is the Netgear 10/100 NIC, supported by PAO M/N FA410TX Remember I need to keep a hd-image file parked somewhere incase I need to roll out more of these puppies. tried dd to a file of the whole drive but if I dd a 1.2GB drive onto a 3.4GB drive I got a 1.2GB drive ... I need to experiment with dump|restore and NOT MAKING UP THE filesystems myself and then polpulating them individually from tar balls ... yech .. too much work .. If there was only Ghost for ufs filesystems like FBSD's, wishfull thinking .. > ----- Original Message ----- > From: Sean O'Connell > To: Lamila Snowden > Received: 04/05/2000 10:56 PM > Subject: Re: Rapid Replication Strategy > > Lamila Snowden stated: > > I have 21 laptops to prep w/ FreeBSD 3.4 > > I have one up and running just the way it should be. from loading it from the 3.4CD and then the apps (Applixware for FBSD, etc) > > I'd like to replicate it onto the rest. The whole HD is solely FBSD. > > The rest have no OS and are 3 diffrent models, diffrent hd's but the same video chipset etc. NO CDROMs either. same PCMCIA NICs > > I'd like to make up some type of boot disk with the PCMCIA NIC drivers loading at floppy boot. > > Thought about using tomsrtbt which is a Linux boot/rescue disk w/ some net/disk utils. > > > > 2 questions pls; > > 1. Recommendations for a boot disk with NIC drivers > > 2. For NT I would use ghost or an imaging product like that. > > I have been looking into dd, dump|restore, tar, pax, and find|cpio > > > > What are your reccommendations for setting up a HD image for 2 purposes, to roll out the rest of these, to keep the image as a file incase of a hd failure in the future or for prepping more notebooks. > > What is the NIC that you are using? The following is somewhat > bogus :) If it the 3C509, you could build a BOOTP kernel using > the zp0 device and then netboot the sucker from a floppy. Use > nfs mount the a copy of a running FreeBSD OS with the a copy of > that bootp kernel in its root directory. Then write a little > script that partions and newfs the harddrive and then dumps and > restores image(s) over nfs (from another mount point). > > It would be more tricky if you had to invoke pccardd somehow and > get that working (all you'd need would be one of the 3C509 cards > and this would greatly simply the bootp business). > > This is by no means slick, but you could probably get it to work. > You'd need to setup a bootp (dhcp) server entry for each NIC. > I use something like this at work for desktops so it is a bit > easier (I have a gzip'd dump for root/var/usr filesystems) and > I have a script that does some stuff based on the machine name > and disktypes, etc. > > S > ----------------------------------------------------------------------- > Sean O'Connell Email: sean@stat.Duke.EDU > Institute of Statistics and Decision Sciences Phone: (919) 684-5419 > Duke University Fax: (919) 684-8594 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 20:58:53 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from lambic.physics.montana.edu (lambic.physics.montana.edu [153.90.192.128]) by hub.freebsd.org (Postfix) with ESMTP id 4D08237B997 for ; Wed, 5 Apr 2000 20:58:47 -0700 (PDT) (envelope-from handy@lambic.physics.montana.edu) Received: from localhost (handy@localhost) by lambic.physics.montana.edu (8.9.3/8.9.3) with ESMTP id VAA72639; Wed, 5 Apr 2000 21:58:02 -0600 (MDT) (envelope-from handy@lambic.physics.montana.edu) Date: Wed, 5 Apr 2000 21:58:02 -0600 (MDT) From: Brian Handy To: Lem Snowden Cc: sean@stat.Duke.EDU, freebsd-mobile@FreeBSD.ORG Subject: RE:Rapid Replication Strategy In-Reply-To: <138081494.954993421257.JavaMail.nobody@canweb.canbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> > I have 21 laptops to prep w/ FreeBSD 3.4 >> > I have one up and running just the way it should be. from loading it from the 3.4CD and then the apps (Applixware for FBSD, etc) >> > I'd like to replicate it onto the rest. The whole HD is solely FBSD. Could this be a job for PicoBSD? Drop in your PicoBSD floppy, boot the laptop, dd the disk image from somewhere to the resident HD and move on to the next one? Brian -- Dr. Brian Handy Mail: handy@physics.montana.edu Department of Physics Phone: (406) 994-6317 Montana State University Fax: (406) 994-4452 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 21: 0:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id D70D237BACF for ; Wed, 5 Apr 2000 21:00:33 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id NAA21345; Thu, 6 Apr 2000 13:29:16 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <138081494.954993421257.JavaMail.nobody@canweb.canbox.com> Date: Thu, 06 Apr 2000 13:29:15 +0930 (CST) From: "Daniel O'Connor" To: Lem Snowden Subject: RE:Rapid Replication Strategy Cc: freebsd-mobile@freebsd.org, sean@stat.Duke.EDU Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 06-Apr-00 Lem Snowden wrote: > I need to experiment with dump|restore and NOT MAKING UP THE filesystems > myself and then polpulating them individually from tar balls ... yech .. > too much work .. You should be able to make a script to fdisk/disklabel/newfs'd the drives for you and suck the dump off a remote system and restore it onto your freshly newfs'd disks. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Wed Apr 5 23:45:37 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 65C5F37BAD1 for ; Wed, 5 Apr 2000 23:45:33 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from ragnet.demon.co.uk ([158.152.46.40]) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 12d62i-0003JQ-0Y; Thu, 6 Apr 2000 07:45:28 +0100 Received: from dmlb by ragnet.demon.co.uk with local (Exim 3.03 #1) id 12d60w-000FdM-00; Thu, 06 Apr 2000 07:43:38 +0100 Content-Length: 1614 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200004052120.PAA17618@nomad.yogotech.com> Date: Thu, 06 Apr 2000 07:43:38 +0100 (BST) From: Duncan Barclay To: Nate Williams Subject: Re: Call for review: restart pccardd by SIGHUP Cc: Mitsuru IWASAKI , freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 05-Apr-00 Nate Williams wrote: >> >> http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff >> >> is for restarting pccardd by sending SIGHUP like >> >> >> >> # kill -HUP `cat /var/run/pccardd.pid` >> >> >> >> On restart, some efforts would be made for consistency such as >> >> maintain resource and card entry (except for generic entry) being >> >> used. >> > >> > This is *really* a good thing. Right now it's too difficult to debug >> > the system and get a working configuration. >> >> I second that. And can we have an optin to specify which configuration file >> to read from. This is useful for setups that change as one moves location. > > Umm, /etc/pccard.conf should be constant, and shouldn't require any > changing whatsoever. /etc/rc.conf may require changing, but the card > database certainly shouldn't... > > > Nate Under the present system I have to restart pccardd on a number of occasions: Xircom Realport card: This is a ethernet/modem card. To change function I need to replace the database entry to assign the required driver. Ethernet card: At various sites (home, work) different network addresses are used. So insert and remove lines need changing Granted the second example can be done via scripts but I see no way around the first problem. Duncan --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned. ________________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 0:35:28 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id EC73C37BEBA for ; Thu, 6 Apr 2000 00:35:24 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id BAA99800; Thu, 6 Apr 2000 01:35:11 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id BAA89388; Thu, 6 Apr 2000 01:34:24 -0600 (MDT) Message-Id: <200004060734.BAA89388@harmony.village.org> To: "Daniel O'Connor" Subject: Re: Rapid Replication Strategy Cc: Lem Snowden , freebsd-mobile@FreeBSD.ORG, sean@stat.Duke.EDU In-reply-to: Your message of "Thu, 06 Apr 2000 13:29:15 +0930." References: Date: Thu, 06 Apr 2000 01:34:24 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message "Daniel O'Connor" writes: : You should be able to make a script to fdisk/disklabel/newfs'd the drives for : you and suck the dump off a remote system and restore it onto your freshly : newfs'd disks. People have been happy with diskprep: http://people.freebsd.org/~imp/diskprep which does exactly this. It even supports sucking in config files so that you could make all the disk have 4 partitions, with one 32M, one 128M type swap, one 50M and one that's the rest of the disk. Can't do it interactively, but you can with a simple config file. Oh, and please tune my filesystems: $minfree = 5; $opt_perf = "space"; $part{a}{type} = "4.2BSD"; $part{a}{size} = 32*1024*2; $part{b}{type} = "swap"; $part{a}{size} = 128*1024*2; $part{e}{type} = "4.2BSD"; $part{e}{size} = 50*1024*2; $part{f}{type} = "4.2BSD"; $hog_part = 'f'; I gotta find someone to write a manpage for this. :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 0:36: 9 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6507E37BFFE for ; Thu, 6 Apr 2000 00:36:06 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id BAA99805; Thu, 6 Apr 2000 01:36:04 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id BAA89404; Thu, 6 Apr 2000 01:35:17 -0600 (MDT) Message-Id: <200004060735.BAA89404@harmony.village.org> To: Duncan Barclay Subject: Re: Call for review: restart pccardd by SIGHUP Cc: Nate Williams , Mitsuru IWASAKI , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 06 Apr 2000 07:43:38 BST." References: Date: Thu, 06 Apr 2000 01:35:17 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message Duncan Barclay writes: : Xircom Realport card: : This is a ethernet/modem card. To change function I need to : replace the database entry to assign the required driver. Reasonable. : Ethernet card: : At various sites (home, work) different network addresses are used. : So insert and remove lines need changing Scripts or dhcp. :-) : Granted the second example can be done via scripts but I see no way around : the first problem. Adding support for multi-function cards :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 2:41:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mailgate.Cadence.COM (mailgate.Cadence.COM [158.140.2.1]) by hub.freebsd.org (Postfix) with ESMTP id 39D1737BC71 for ; Thu, 6 Apr 2000 02:41:24 -0700 (PDT) (envelope-from dmlb@ragnet.demon.co.uk) Received: from symnt3.Cadence.COM (symnt3.Cadence.COM [194.32.101.100]) by mailgate.Cadence.COM (8.9.3/8.9.3) with ESMTP id CAA13743; Thu, 6 Apr 2000 02:41:17 -0700 (PDT) Message-Id: <200004060941.CAA13743@mailgate.Cadence.COM> Received: from pc287-cam.cadence.com ([194.32.97.124]) by symnt3.Cadence.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id H3FK25GR; Thu, 6 Apr 2000 10:40:06 +0100 Comments: Authenticated sender is From: "Duncan Barclay" To: Warner Losh , freebsd-mobile@FreeBSD.ORG Date: Thu, 6 Apr 2000 10:43:15 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Call for review: restart pccardd by SIGHUP Reply-To: dmlb@ragnet.demon.co.uk Cc: Nate Williams , Mitsuru IWASAKI , freebsd-mobile@FreeBSD.ORG In-reply-to: <200004060735.BAA89404@harmony.village.org> References: Your message of "Thu, 06 Apr 2000 07:43:38 BST." X-mailer: Pegasus Mail for Win32 (v2.53/R1) X-Received: By mailgate.Cadence.COM as CAA13743 at Thu Apr 6 02:41:17 2000 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In message Duncan > : Ethernet card: > : At various sites (home, work) different network addresses > are used. : So insert and remove lines need changing > > Scripts or dhcp. :-) dhcp part of the problem - used at work but not a home ;-) Having said that I plan on playing with DHCP for my Libretto. At present it can be connected to the home network via ethenet, wireless LAN or dialup. It's a real pain getting the routing and name serving right - I hope DHCP will be the answer. Duncan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 8:13:22 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 2594C37C069; Thu, 6 Apr 2000 08:12:33 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id RAA19885; Thu, 6 Apr 2000 17:11:28 +0200 (MET DST) Message-ID: <38ECA91E.F98AE48@we.lc.ehu.es> Date: Thu, 06 Apr 2000 17:11:26 +0200 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Cc: freebsd-mobile@FreeBSD.org Subject: proposal of a better solution for "statclock broken" laptops Content-Type: multipart/mixed; boundary="------------F056678DFC8CD17B1088D5B8" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------F056678DFC8CD17B1088D5B8 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Let's begin exposing the background: Some laptops suffer of the "statclock broken" problem: APM suspend does not work while the RTC is generating periodic interrupts (which are used for the statistical clock). Currently, the "solution" consists of setting the 0x20 flag for the apm(4) driver. If this flag is set, the cpu_initclocks() routine in sys/i386/isa/clock.c does not initialize the statclok at all. As a consequence, the functionality of the statclock is lost. I tried another solution which seems to work for my laptop (a Dell I3.7k). I added two small routines to clock.c, named statclock_stop() and statclock_restart(). The first one simply disables the periodic interrupts from the MC146818A RTC; the second one re-enables those interrupts. Then, I modified apm_default_suspend() and apm_default_resume() (in sys/i386/apm/apm.c) for respectively stopping and restarting the statclock if the 0x20 flag is set. With these small modifications, now I can suspend and resume my laptop while retaining the statclock functionality. I attach a patchfile (against 4.0-RELEASE) to this message. It's possible that my solution needs to be reworked in order to make it SMP-safe or something. I would love to hear any comments. Saludos, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein --------------F056678DFC8CD17B1088D5B8 Content-Type: text/plain; charset=us-ascii; name="statclock.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="statclock.patch" --- sys/i386/isa/clock.c.orig Tue Jan 4 23:24:59 2000 +++ sys/i386/isa/clock.c Thu Apr 6 17:05:26 2000 @@ -132,7 +132,6 @@ int clkintr_pending; int disable_rtc_set; /* disable resettodr() if != 0 */ volatile u_int idelayed; -int statclock_disable; u_int stat_imask = SWI_CLOCK_MASK; #ifndef TIMER_FREQ #define TIMER_FREQ 1193182 @@ -827,6 +826,28 @@ #endif /* !defined(SMP) */ } +/* The following two functions are used in apm.c for stopping and + * restarting the statclock interrupts from the RTC, if the apm's + * broken_statclock flag is active (some laptops don't enter suspend + * mode while the RTC is generating interrupts) */ + +void +statclock_stop(void) +{ + /* disable RTC interrupts and clear any pending one */ + writertc(RTC_STATUSB, RTCSB_24HR); + rtcin(RTC_INTR); +} + +void +statclock_restart(void) +{ + /* don't trust the APM BIOS (paranoia?) */ + rtcin(RTC_INTR); + /* re-enable periodic interrupts */ + writertc(RTC_STATUSB, rtc_statusb); +} + /* * Initialize the time of day register, based on the time base which is, e.g. * from a filesystem. @@ -975,20 +996,9 @@ struct intrec *clkdesc; #endif /* APIC_IO */ - if (statclock_disable) { - /* - * The stat interrupt mask is different without the - * statistics clock. Also, don't set the interrupt - * flag which would normally cause the RTC to generate - * interrupts. - */ - stat_imask = HWI_MASK | SWI_MASK; - rtc_statusb = RTCSB_24HR; - } else { - /* Setting stathz to nonzero early helps avoid races. */ - stathz = RTC_NOPROFRATE; - profhz = RTC_PROFRATE; - } + /* Setting stathz to nonzero early helps avoid races. */ + stathz = RTC_NOPROFRATE; + profhz = RTC_PROFRATE; /* Finish initializing 8253 timer 0. */ #ifdef APIC_IO @@ -1023,9 +1033,6 @@ writertc(RTC_STATUSA, rtc_statusa); writertc(RTC_STATUSB, RTCSB_24HR); - /* Don't bother enabling the statistics clock. */ - if (statclock_disable) - return; diag = rtcin(RTC_DIAG); if (diag != 0) printf("RTC BIOS diagnostic error %b\n", diag, RTCDG_BITS); --- sys/i386/include/clock.h.orig Wed Dec 29 05:32:58 1999 +++ sys/i386/include/clock.h Thu Apr 6 17:00:42 2000 @@ -16,7 +16,6 @@ */ extern int adjkerntz; extern int disable_rtc_set; -extern int statclock_disable; extern u_int timer_freq; extern int timer0_max_count; extern u_int tsc_freq; @@ -45,6 +44,8 @@ #endif int sysbeep __P((int pitch, int period)); void i8254_restore __P((void)); +void statclock_stop __P((void)); +void statclock_restart __P((void)); #endif /* _KERNEL */ --- sys/i386/apm/apm.c.orig Sun Feb 6 15:57:05 2000 +++ sys/i386/apm/apm.c Thu Apr 6 17:01:58 2000 @@ -56,6 +56,8 @@ static u_long apm_version; +static int broken_statclock = 0; + int apm_evindex; #define SCFLAG_ONORMAL 0x0000001 @@ -402,6 +404,10 @@ u_int second, minute, hour; struct timeval resume_time, tmp_time; + /* re-enable statclock if it's broken */ + if (broken_statclock) + statclock_restart(); + /* modified for adjkerntz */ pl = splsoftclock(); i8254_restore(); /* restore timer_freq and hz */ @@ -451,6 +457,11 @@ microtime(&suspend_time); timevalsub(&diff_time, &suspend_time); splx(pl); + + /* stop statclock if it's broken */ + if (broken_statclock) + statclock_stop(); + return 0; } @@ -1003,7 +1014,7 @@ flags = 0; if (flags & 0x20) - statclock_disable = 1; + broken_statclock = 1; sc->initialized = 0; --------------F056678DFC8CD17B1088D5B8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 8:14:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id BD4F237C052 for ; Thu, 6 Apr 2000 08:14:22 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn9.imasy.or.jp [202.227.24.201]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id AAA01878; Fri, 7 Apr 2000 00:14:15 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004061514.AAA01878@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, nate@yogotech.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Wed, 05 Apr 2000 20:27:14 -0600" <200004060227.UAA85545@harmony.village.org> References: <200004060227.UAA85545@harmony.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 07 Apr 2000 00:14:11 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 14 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > In message <200004052048.FAA14401@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: > : Thanks! Actually I thought of sysctl(machdep.checkio) in 3.X to get > : current available resources dynamically, but I couldn't get how to get > : them from resource manager of newbus system in 4.X and -CURRENT. > > I'd be happy to work with you to add this to my "hints" driver posted > earlier. If we can get away from having to specify the IRQs and > ioports in the pccard.conf file, I'd be very happy. Ah, that would be nice! I hope that we can get available (or used) address range (ioport and iomem) continuously, not address by address. What kind of driver interface to be provided? # device file read/ioctl, or sysctl? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 8:19:50 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8696137C024 for ; Thu, 6 Apr 2000 08:19:47 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id JAA01379; Thu, 6 Apr 2000 09:19:45 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id JAA91480; Thu, 6 Apr 2000 09:18:57 -0600 (MDT) Message-Id: <200004061518.JAA91480@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP Cc: nate@yogotech.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 07 Apr 2000 00:14:11 +0900." <200004061514.AAA01878@tasogare.imasy.or.jp> References: <200004061514.AAA01878@tasogare.imasy.or.jp> <200004060227.UAA85545@harmony.village.org> Date: Thu, 06 Apr 2000 09:18:57 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004061514.AAA01878@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : Ah, that would be nice! I hope that we can get available (or used) : address range (ioport and iomem) continuously, not address by address. Yes. : What kind of driver interface to be provided? : # device file read/ioctl, or sysctl? What kind of interface do you want? I was thinking ioctl, but could go sysctl. I can give you either a list of all resources in use of a given type in a given range, or I can act as an oracle and say "yes this range you want to use is already in use" or "no, that's a good range." I suspect that the latter would be easier than the former and just as useful. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 8:49:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 816B937C062 for ; Thu, 6 Apr 2000 08:49:26 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn9.imasy.or.jp [202.227.24.201]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id AAA14952; Fri, 7 Apr 2000 00:49:22 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004061549.AAA14952@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, nate@yogotech.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Thu, 06 Apr 2000 09:18:57 -0600" <200004061518.JAA91480@harmony.village.org> References: <200004061518.JAA91480@harmony.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 07 Apr 2000 00:49:19 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : What kind of driver interface to be provided? > : # device file read/ioctl, or sysctl? > > What kind of interface do you want? I was thinking ioctl, but could Maybe ioctl would be enough. > go sysctl. I can give you either a list of all resources in use of a > given type in a given range, or I can act as an oracle and say "yes > this range you want to use is already in use" or "no, that's a good > range." I suspect that the latter would be easier than the former and > just as useful. I think the former would be easier because, user specify available range roughly, and pccardd will correct it eliminating all of resources in use from resource pool, "Please tell me all of used addres range from 0x240 to 0x3ff. My master said that this range is all available but I don't think so... Oh, 0x300-0x31f is already in use, OK, I'll desable this range for pccard, Thanks!". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 10:10:32 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 3B3AE37BF9A for ; Thu, 6 Apr 2000 10:10:29 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA22651; Thu, 6 Apr 2000 11:10:27 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA22387; Thu, 6 Apr 2000 11:10:26 -0600 (MDT) (envelope-from nate) Date: Thu, 6 Apr 2000 11:10:26 -0600 (MDT) Message-Id: <200004061710.LAA22387@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Jose M. Alcaide" Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: proposal of a better solution for "statclock broken" laptops In-Reply-To: <38ECA91E.F98AE48@we.lc.ehu.es> References: <38ECA91E.F98AE48@we.lc.ehu.es> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [ Moved to -mobile only ] > Some laptops suffer of the "statclock broken" problem: APM suspend > does not work while the RTC is generating periodic interrupts (which > are used for the statistical clock). Currently, the "solution" consists > of setting the 0x20 flag for the apm(4) driver. If this flag is set, > the cpu_initclocks() routine in sys/i386/isa/clock.c does not > initialize the statclok at all. As a consequence, the functionality > of the statclock is lost. > > I tried another solution which seems to work for my laptop (a Dell I3.7k). This is good stuff Jose. Unfortunately, as the author and bug-finder of the original 'broken statclock' code, I don't have time to delve into if your new solution works. Partly because the machine in question is no longer in my service, and partly because I don't have time to do '-current' development anymore. Note also that someone (you?) sent a patch a few days ago that caused the statclock to start working again due to a missing read call to the interrupt, which also might fix it. I don't have the reference handy, but it may be that the statclock has worked the entire time, it just that something forgot to read a critical register. Ahh, it was *you* that proposed the fix, and later assigned it to Bruce. Can you tell me what is different about the fix you posted in your PR vs. this one? Finally, not having the statclock is *really* not that big of a deal. It makes for better heuristics in the scheduler, but in fact makes very little difference in most machines as far as performance goes. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 11:38: 5 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id ACE1037BAF5 for ; Thu, 6 Apr 2000 11:37:59 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA02186; Thu, 6 Apr 2000 12:37:56 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA92697; Thu, 6 Apr 2000 12:37:08 -0600 (MDT) Message-Id: <200004061837.MAA92697@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP Cc: nate@yogotech.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 07 Apr 2000 00:49:19 +0900." <200004061549.AAA14952@tasogare.imasy.or.jp> References: <200004061549.AAA14952@tasogare.imasy.or.jp> <200004061518.JAA91480@harmony.village.org> Date: Thu, 06 Apr 2000 12:37:08 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004061549.AAA14952@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : > go sysctl. I can give you either a list of all resources in use of a : > given type in a given range, or I can act as an oracle and say "yes : > this range you want to use is already in use" or "no, that's a good : > range." I suspect that the latter would be easier than the former and : > just as useful. : : I think the former would be easier because, user specify available : range roughly, and pccardd will correct it eliminating all of : resources in use from resource pool, "Please tell me all of used : addres range from 0x240 to 0x3ff. My master said that this range is : all available but I don't think so... Oh, 0x300-0x31f is already in : use, OK, I'll desable this range for pccard, Thanks!". OK. This won't take into account device drivers that are loaded after pccardd gets into information, but will likely be enough to do the right thing. Hmmm, thinking in API terms... struct resource_usage { long base; // Base of resource to query long length; // Length of resource int type; // Type of resource u_int8_t *map; // Map of resources in use. } You'd pass the base (0x240 in your example), the length (0x1bf) and the type SYS_RES_IOPORT if that's visible to userland. map would point to an area that is at least 0x1bf bits long (or 56 bytes). Bits in this range would be set when that resource is in use. You could also get IRQs this way, which is bar far the most useful thing to do. Hmmm, come to think of it, you could use this just before allocating resources to the card too if you wanted to. It would be the most flexible way to deal :-). BTW, on the topic of IRQs, I have two questions. How would you feel about making the default behavior of the pcic device to be polling rather than using an interrupt. This is a simple change to the config file. It should help on installations. Second, I'd like make the default for the pcic to *NOT* share interrupts. You'd have to set a flag in the device to enable it. This will also help people get things setup correctly. I know that the default polling is dangarous because it increases the window of system hangs, but for system installs, this won't matter because one generally doesn't pull the plug and expect things to work :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 12:42:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id 0B32E37B5F8 for ; Thu, 6 Apr 2000 12:42:56 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id MAA11101; Thu, 6 Apr 2000 12:41:36 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Thu, 6 Apr 2000 12:41:36 -0700 (PDT) From: robert bowen Message-Id: <200004061941.MAA11101@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: Warner Losh Reply-To: robert@braingarage.com Cc: Mitsuru IWASAKI , nate@yogotech.com, freebsd-mobile@FreeBSD.ORG References: <200004061549.AAA14952@tasogare.imasy.or.jp> <200004061518.JAA91480@harmony.village.org> <200004061837.MAA92697@harmony.village.org> In-Reply-To: <200004061837.MAA92697@harmony.village.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: Re: Call for review: restart pccardd by SIGHUP Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I heartily agree with your points about polling and non-sharing irq's. In my case, I would have been able to FTP install if that had been the case. Things would have been much easier. Robert Quoting Warner Losh : > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 12:43:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id B18D837C16E for ; Thu, 6 Apr 2000 12:43:45 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id MAA11121; Thu, 6 Apr 2000 12:43:45 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Thu, 6 Apr 2000 12:43:45 -0700 (PDT) From: robert bowen Message-Id: <200004061943.MAA11121@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: freebsd-mobile@freebsd.org Reply-To: robert@braingarage.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: changes to pccardd in -stable? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I cvsup'ed and did a fresh -stable buildworld yesterday, and now I get those 'no card in database for ""("")' messages whenever I suspend/resume the laptop. Everything else works as it did before so I wonder what could have changed. R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 12:43:52 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id 92F1A37C165 for ; Thu, 6 Apr 2000 12:43:45 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id MAA11119; Thu, 6 Apr 2000 12:43:45 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Thu, 6 Apr 2000 12:43:45 -0700 (PDT) From: robert bowen Message-Id: <200004061943.MAA11119@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: freebsd-mobile@freebsd.org Reply-To: robert@braingarage.com MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: changes to pccardd in -stable? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I cvsup'ed and did a fresh -stable buildworld yesterday, and now I get those 'no card in database for ""("")' messages whenever I suspend/resume the laptop. Everything else works as it did before so I wonder what could have changed. R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 12:58:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 3866737B8F1 for ; Thu, 6 Apr 2000 12:58:29 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn49.imasy.or.jp [202.227.24.241]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id EAA15431; Fri, 7 Apr 2000 04:58:24 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004061958.EAA15431@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.FreeBSD.org, nate@yogotech.com, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Thu, 06 Apr 2000 12:37:08 -0600" <200004061837.MAA92697@harmony.village.org> References: <200004061837.MAA92697@harmony.village.org> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 07 Apr 2000 04:58:23 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 53 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > OK. This won't take into account device drivers that are loaded after > pccardd gets into information, but will likely be enough to do the > right thing. > > Hmmm, thinking in API terms... > > struct resource_usage { > long base; // Base of resource to query > long length; // Length of resource > int type; // Type of resource > u_int8_t *map; // Map of resources in use. > } Great! > You'd pass the base (0x240 in your example), the length (0x1bf) and > the type SYS_RES_IOPORT if that's visible to userland. map would > point to an area that is at least 0x1bf bits long (or 56 bytes). Bits > in this range would be set when that resource is in use. You could OK, I can check map[i] != 0 if the resource is in use for each 8 bytes address. > also get IRQs this way, which is bar far the most useful thing to do. > > Hmmm, come to think of it, you could use this just before allocating > resources to the card too if you wanted to. It would be the most > flexible way to deal :-). Maybe we can get away from resource management in pccardd eventually :) > BTW, on the topic of IRQs, I have two questions. How would you feel > about making the default behavior of the pcic device to be polling > rather than using an interrupt. This is a simple change to the config > file. It should help on installations. Second, I'd like make the I prefer polling mode because it works in most of cases and user can change to use interrupt easily by UserConfig or loader command. I'm having `device pcic0 at isa? irq 0' line in my config file for a long time. > default for the pcic to *NOT* share interrupts. You'd have to set a > flag in the device to enable it. This will also help people get > things setup correctly. I'm not sure about this, but I believe you :) > I know that the default polling is dangarous because it increases the > window of system hangs, but for system installs, this won't matter > because one generally doesn't pull the plug and expect things to work > :-) I'm using my development laptop in polling mode, but no serious problems so far in spite of hard testing :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 13:47:52 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 64FD537B8F7 for ; Thu, 6 Apr 2000 13:47:49 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn49.imasy.or.jp [202.227.24.241]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id FAA25760; Fri, 7 Apr 2000 05:47:41 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004062047.FAA25760@tasogare.imasy.or.jp> To: robert@braingarage.com Cc: freebsd-mobile@freebsd.org Subject: Re: changes to pccardd in -stable? In-Reply-To: Your message of "Thu, 6 Apr 2000 12:43:45 -0700 (PDT)" <200004061943.MAA11121@smartie.braingarage.com> References: <200004061943.MAA11121@smartie.braingarage.com> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 07 Apr 2000 05:47:40 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 13 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: robert bowen Subject: changes to pccardd in -stable? Not yet MFC, I did nothing for -stable recently. > I cvsup'ed and did a fresh -stable buildworld yesterday, > and now I get those 'no card in database for ""("")' > messages whenever I suspend/resume the laptop. > Everything else works as it did before so I wonder what > could have changed. probably the card was inserted incompletely or sysctl machdep.pccard.pcic_resume_reset is not good for your laptop. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 14:34: 5 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B599E37BDB6 for ; Thu, 6 Apr 2000 14:34:00 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA02806; Thu, 6 Apr 2000 15:33:54 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA93664; Thu, 6 Apr 2000 15:33:03 -0600 (MDT) Message-Id: <200004062133.PAA93664@harmony.village.org> To: Mitsuru IWASAKI Subject: Re: Call for review: restart pccardd by SIGHUP Cc: nate@yogotech.com, freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 07 Apr 2000 04:58:23 +0900." <200004061958.EAA15431@tasogare.imasy.or.jp> References: <200004061958.EAA15431@tasogare.imasy.or.jp> <200004061837.MAA92697@harmony.village.org> Date: Thu, 06 Apr 2000 15:33:03 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004061958.EAA15431@tasogare.imasy.or.jp> Mitsuru IWASAKI writes: : OK, I can check map[i] != 0 if the resource is in use for each : 8 bytes address. Yes. Assuming that your starting address is 8 byte aligned. : > also get IRQs this way, which is bar far the most useful thing to do. : > : > Hmmm, come to think of it, you could use this just before allocating : > resources to the card too if you wanted to. It would be the most : > flexible way to deal :-). : : Maybe we can get away from resource management in pccardd eventually :) cd sys/compile/NEWCARD ; make :-) : > BTW, on the topic of IRQs, I have two questions. How would you feel : > about making the default behavior of the pcic device to be polling : > rather than using an interrupt. This is a simple change to the config : > file. It should help on installations. Second, I'd like make the : : I prefer polling mode because it works in most of cases and user can : change to use interrupt easily by UserConfig or loader command. I'm : having `device pcic0 at isa? irq 0' line in my config file for a long time. Yes. I think that some thought should be given here since it would be nice to do polling or irq routing from userconfig. I like the irq 0 hack, I think. : > default for the pcic to *NOT* share interrupts. You'd have to set a : > flag in the device to enable it. This will also help people get : > things setup correctly. : : I'm not sure about this, but I believe you :) I've helped several people whose cardbus bridge was sharing an interrupt with another device. This caused problems. Moving it fixed the problem. : > I know that the default polling is dangarous because it increases the : > window of system hangs, but for system installs, this won't matter : > because one generally doesn't pull the plug and expect things to work : > :-) : : I'm using my development laptop in polling mode, but no serious : problems so far in spite of hard testing :-) Cool. I've noticed a 2x increase of hanging. One time in 100 (yes, I did 100 insert/removes) with polling, one time in 190 with IRQ managmenet interrupts. This was on a lightly loaded network card. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 15:44:21 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-198-202.guate.net [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id E110937B89F for ; Thu, 6 Apr 2000 15:43:41 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id QAA00402 for freebsd-mobile@freebsd.org; Thu, 6 Apr 2000 16:43:25 -0600 (CST) (envelope-from obonilla) Date: Thu, 6 Apr 2000 16:43:25 -0600 From: Oscar Bonilla To: freebsd-mobile@freebsd.org Subject: Sony Vaio CD-ROM Message-ID: <20000406164325.A333@fisicc-ufm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm trying to make the Vaio CDROM (PCMCIA Interface) work with -CURRENT. this is the CIS for the card: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 00 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 512b, 1 units Tuple #2, code = 0x15 (Version 1 info), length = 26 000: 04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 56 31 010: 2e 30 00 41 50 30 30 20 00 ff Version = 4.1, Manuf = [ ],card vers = [NinjaATA-] Addit. info = [V1.0],[AP00 ] Tuple #3, code = 0x1a (Configuration map), length = 5 000: 01 23 00 02 03 Reg len = 2, config register addr = 0x200, last config = 0x23 Registers: XX------ Tuple #4, code = 0x1b (Configuration entry), length = 21 000: e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 03 01 010: 30 68 d0 10 00 Config index = 0x21(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 1.5 x 100mA Wait scale Speed = 1.5 x 1 us Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQ level = 3 Memory space length = 0x61f0 Tuple #5, code = 0x1b (Configuration entry), length = 15 000: 22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 00 Config index = 0x22 Card decodes 16 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x190 block length = 0x8 I/O address # 2: block start = 0x396 block length = 0x2 IRQ modes: Level IRQs: 4 5 11 13 14 Memory space length = 0x10 Tuple #6, code = 0x1b (Configuration entry), length = 15 000: 23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 00 Config index = 0x23 Card decodes 16 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x1a0 block length = 0x8 I/O address # 2: block start = 0x3a6 block length = 0x2 IRQ modes: Level IRQs: 4 5 11 13 14 Memory space length = 0x10 Tuple #7, code = 0x14 (No link), length = 0 Tuple #8, code = 0xff (Terminator), length = 0 1 slots found this is what I have in /etc/pccard.conf card " " "NinjaATA-" config 0x23 "ata2" ? insert logger -t pccard:$device -s Sony Vaio CD-ROM Card inserted remove logger -t pccard:$device -s Sony Vaio CD-ROM Card removed this is the relevant entries in my kernel config file device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices this is the error message I get Apr 6 16:34:17 voyager pccardd[46]: driver allocation failed for (NinjaATA-): Device not configured What am I doing wrong? Regards, -oscar -- pgp public key: finger obonilla@fisicc-ufm.edu pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 15:53: 2 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from wally.eecs.harvard.edu (wally.eecs.harvard.edu [140.247.60.30]) by hub.freebsd.org (Postfix) with ESMTP id 66BD937BD5A for ; Thu, 6 Apr 2000 15:52:53 -0700 (PDT) (envelope-from karp@eecs.harvard.edu) Received: (from karp@localhost) by wally.eecs.harvard.edu (8.10.0/8.10.0) id e36MqjJ00967; Thu, 6 Apr 2000 18:52:45 -0400 (EDT) Date: Thu, 6 Apr 2000 18:52:45 -0400 (EDT) From: Brad Karp Message-Id: <200004062252.e36MqjJ00967@wally.eecs.harvard.edu> To: obonilla@fisicc-ufm.edu Subject: Re: Sony Vaio CD-ROM Cc: freebsd-mobile@freebsd.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Add the following to your /etc/pccard.conf.sample (or pccard.conf, whichever your pccardd uses). Works great for me on my 505TR w/Sony CD-ROM. card " " "NinjaATA-" config auto "ata0" ? insert logger -t pccard:$device -s NinjaATA inserted remove logger -t pccard:$device -s NinjaATA removed -Brad, karp@eecs.harvard.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 16: 1:15 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 945CB37C1DE for ; Thu, 6 Apr 2000 16:01:09 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (lxpx73.lx.ehu.es [158.227.99.73]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id BAA21323; Fri, 7 Apr 2000 01:00:50 +0200 (MET DST) Message-ID: <38ED1721.BF297B57@we.lc.ehu.es> Date: Fri, 07 Apr 2000 01:00:49 +0200 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Nate Williams Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: proposal of a better solution for "statclock broken" laptops References: <38ECA91E.F98AE48@we.lc.ehu.es> <200004061710.LAA22387@nomad.yogotech.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > This is good stuff Jose. Unfortunately, as the author and bug-finder of > the original 'broken statclock' code, I don't have time to delve into if > your new solution works. Partly because the machine in question is no > longer in my service, and partly because I don't have time to do > '-current' development anymore. Unfortunately I have only one laptop which presents the "broken statclock" problem, and it works fine now :-) I could commit the changes to -CURRENT, but I am not the maintainer of clock.c and I don't want to start a conflict. > Note also that someone (you?) sent a patch a few days ago that caused > the statclock to start working again due to a missing read call to the > interrupt, which also might fix it. I don't have the reference handy, > but it may be that the statclock has worked the entire time, it just > that something forgot to read a critical register. > > Ahh, it was *you* that proposed the fix, and later assigned it to Bruce. > Can you tell me what is different about the fix you posted in your PR > vs. this one? They deal with different problems. The statclock did not start on my Dell I3.7k because of a pending interrupt being not cleared at startup. The patch included in PR 17800 fixes this problem. The "broken statclock" is a different problem, related to APM: some machines cannot be put in suspended state while the statclock is generating interrupts. Unfortunately, my Dell I3.7k is one of those machines, so once I got the statclock working thanks to my own fix included in PR 17800, I needed to set apm(4)'s 0x20 flag for being able to suspend my laptop; but then the statclock was lost again! I suggest a different solution which keeps both the statclock and APM suspend working. > Finally, not having the statclock is *really* not that big of a deal. > It makes for better heuristics in the scheduler, but in fact makes very > little difference in most machines as far as performance goes. True, we can live without the statclock, but if there is some way to keep it working... (actually, the statclock problem is one of my obsessions since I got my I3.7k in January) :-) :-) Saludos, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 16: 4:10 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 037F737B589 for ; Thu, 6 Apr 2000 16:04:05 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id RAA25672; Thu, 6 Apr 2000 17:03:58 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id RAA25151; Thu, 6 Apr 2000 17:03:58 -0600 (MDT) (envelope-from nate) Date: Thu, 6 Apr 2000 17:03:58 -0600 (MDT) Message-Id: <200004062303.RAA25151@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Jose M. Alcaide" Cc: Nate Williams , freebsd-mobile@FreeBSD.ORG Subject: Re: proposal of a better solution for "statclock broken" laptops In-Reply-To: <38ED1721.BF297B57@we.lc.ehu.es> References: <38ECA91E.F98AE48@we.lc.ehu.es> <200004061710.LAA22387@nomad.yogotech.com> <38ED1721.BF297B57@we.lc.ehu.es> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Ahh, it was *you* that proposed the fix, and later assigned it to Bruce. > > Can you tell me what is different about the fix you posted in your PR > > vs. this one? > > They deal with different problems. The statclock did not start on my > Dell I3.7k because of a pending interrupt being not cleared at startup. > The patch included in PR 17800 fixes this problem. Ok, so even if it starts up, it doesn't work right if you suspend, correct? > The "broken statclock" is a different problem, related to APM: some > machines cannot be put in suspended state while the statclock is generating > interrupts. I am very familiar with the problem, having had the luck of tracking it down about 2 years ago. :( I thought maybe you found a special initialization routine that caused it work without any special 'suspend/resume' code. > > Finally, not having the statclock is *really* not that big of a deal. > > It makes for better heuristics in the scheduler, but in fact makes very > > little difference in most machines as far as performance goes. > > True, we can live without the statclock, but if there is some way > to keep it working... (actually, the statclock problem is one of my > obsessions since I got my I3.7k in January) :-) :-) *grin* Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 16:32:48 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-198-202.guate.net [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id 6A7B737BF2C for ; Thu, 6 Apr 2000 16:32:39 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id RAA00385; Thu, 6 Apr 2000 17:32:04 -0600 (CST) (envelope-from obonilla) Date: Thu, 6 Apr 2000 17:32:03 -0600 From: Oscar Bonilla To: Brad Karp Cc: freebsd-mobile@freebsd.org Subject: Re: Sony Vaio CD-ROM Message-ID: <20000406173203.A363@fisicc-ufm.edu> References: <200004062252.e36MqjJ00967@wally.eecs.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004062252.e36MqjJ00967@wally.eecs.harvard.edu>; from karp@eecs.harvard.edu on Thu, Apr 06, 2000 at 06:52:45PM -0400 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Apr 06, 2000 at 06:52:45PM -0400, Brad Karp wrote: > Add the following to your /etc/pccard.conf.sample (or pccard.conf, whichever > your pccardd uses). Works great for me on my 505TR w/Sony CD-ROM. > > card " " "NinjaATA-" > config auto "ata0" ? > insert logger -t pccard:$device -s NinjaATA inserted > remove logger -t pccard:$device -s NinjaATA removed > > -Brad, karp@eecs.harvard.edu could you send my your kernel config file... if I add those settings to my /etc/pccard.conf the machine freezes ;( Mine is a 505FX and the PCCARD is a PCGA-PC5 Thanks, -Oscar -- pgp public key: finger obonilla@fisicc-ufm.edu pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 16:43:28 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from wally.eecs.harvard.edu (wally.eecs.harvard.edu [140.247.60.30]) by hub.freebsd.org (Postfix) with ESMTP id B23EE37B762 for ; Thu, 6 Apr 2000 16:43:14 -0700 (PDT) (envelope-from karp@eecs.harvard.edu) Received: (from karp@localhost) by wally.eecs.harvard.edu (8.10.0/8.10.0) id e36NhDF08548; Thu, 6 Apr 2000 19:43:13 -0400 (EDT) Date: Thu, 6 Apr 2000 19:43:13 -0400 (EDT) From: Brad Karp Message-Id: <200004062343.e36NhDF08548@wally.eecs.harvard.edu> To: obonilla@fisicc-ufm.edu Subject: Re: Sony Vaio CD-ROM Cc: freebsd-mobile@freebsd.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK, here's the kernel config file. Again, I have a 505TR and the CD-ROM is a PCGA-CD51. I've no idea what is different about your hardware, I'm afraid--sorry! -Brad, karp@eecs.harvard.edu --- machine i386 #cpu I386_CPU #cpu I486_CPU cpu I586_CPU #cpu I686_CPU ident LEIBNIZ maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options INET6 options IPSEC options IPSEC_ESP options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem #options MD_ROOT #MD is a potential root device options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs device isa #device eisa device pci device card #device cardbus # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 #device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device amd # AMD 53C974 (Teckram DC-390(T)) #device dpt # DPT Smartcache - See LINT for options! #device isp # Qlogic family #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets) #device adv0 at isa? port ? irq ? #device adw #device bt0 at isa? port ? irq ? #device aha0 at isa? port ? irq ? #device aic0 at isa? port ? irq ? # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) # RAID controllers #device amr # AMI MegaRAID #device mlx # Mylex DAC960 family # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? # Advanced Power Management # PCCARD (PCMCIA) support device pcic0 at isa? port 0x3e0 irq 10 iomem 0xd0000 #device pccbb # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 #device sio2 at isa? disable port IO_COM3 irq 5 #device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? port? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer #device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da0 # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device tx # SMC 9432TX (83c170 ``EPIC'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. #device miibus # MII bus support #device dc # DEC/Intel 21143 and various workalikes #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device ste # Sundance ST201 (D-Link DFE-550TX) #device tl # Texas Instruments ThunderLAN #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 #device ex #device ep # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really # exists only as a PCMCIA device, so there is no ISA attatement needed # and resources will always be dynamically assigned by the pccard code. device wi # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP # mode (the factory default). If you set the switches on your ISA # card for a manually chosen I/O address and IRQ, you must specify # those paremeters here. device an # The probe order of these is presently determined by i386/isa/isa_compat.c. #device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 #device fe0 at isa? port 0x300 irq ? #device le0 at isa? port 0x300 irq 5 iomem 0xd0000 #device lnc0 at isa? port 0x280 irq 10 drq 0 #device cs0 at isa? port 0x300 irq ? #device sn0 at isa? port 0x300 irq 10 # requires PCCARD (PCMCIA) support to be activated # XXX BROKEN #device xe0 at isa? port? irq ? # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support #pseudo-device sl 1 # Kernel SLIP #pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 pseudo-device faith 1 # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da0 device ums # Mouse #device aue # ADMtek USB ethernet #device cue # CATC USB ethernet #device kue # Kawasaki LSI USB ethernet #options DDB options PERFMON options ICMP_BANDLIM options SOFTUPDATES options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options PCIC_RESUME_RESET options PNPBIOS device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 device pcm0 at isa? irq 5 drq 1 options PSM_HOOKRESUME options PSM_RESETAFTERSUSPEND To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 21:34:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id B92DD37B891 for ; Thu, 6 Apr 2000 21:34:34 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA13957 for freebsd-mobile@freebsd.org; Thu, 6 Apr 2000 21:34:44 -0700 Date: Thu, 6 Apr 2000 21:34:44 -0700 From: Arun Sharma To: freebsd-mobile@freebsd.org Subject: TI PCI-1131 supported in 4.0 ? Message-ID: <20000406213444.A13922@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I had this working at some point after modifying 3.3 + PAO. But with 4.0, I get the 'no card in database for ""("")' error. Is my PCIC supported in 4.0 ? If not, are there any patches I can try on top of 4.0 to get it to work ? Thanks in advance, -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 21:51: 8 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from cwb.pacific.net.hk (cwb.pacific.net.hk [202.14.67.92]) by hub.freebsd.org (Postfix) with ESMTP id 4911037BD2D for ; Thu, 6 Apr 2000 21:51:05 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by cwb.pacific.net.hk with ESMTP id MAA20638 for ; Fri, 7 Apr 2000 12:50:53 +0800 (HKT) Received: from alexkwan (ppp209.dyn11.pacific.net.hk [202.64.11.209]) by tsingyi.pacific.net.hk with SMTP id MAA13665 for ; Fri, 7 Apr 2000 12:50:52 +0800 (HKT) Message-ID: <000f01bfa04e$58870480$d10b40ca@alexkwan> From: "Alex Kwan" To: Subject: RE: How to Config Japanese Style Keyboard of Toshiba Libretto DoCoMo Date: Fri, 7 Apr 2000 13:01:32 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I have a small note book it was Toshiba Libretto for DoCoMo, the keyboard was a Japanese Style, After I install the FreeBSD in the Note Book, the displayed symbol was not match to what I hit, How to config it? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Thu Apr 6 22:29:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id 6FBE837C243 for ; Thu, 6 Apr 2000 22:29:33 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id WAA13403; Thu, 6 Apr 2000 22:28:13 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Thu, 6 Apr 2000 22:28:13 -0700 (PDT) From: robert bowen Message-Id: <200004070528.WAA13403@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: Arun Sharma Reply-To: robert@braingarage.com Cc: freebsd-mobile@FreeBSD.ORG References: <20000406213444.A13922@sharmas.dhs.org> In-Reply-To: <20000406213444.A13922@sharmas.dhs.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: Re: TI PCI-1131 supported in 4.0 ? Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org That is the chip in my TP240 and it works great. With 4.0-Release I had no problem, but it started showing up in 4.0-stable from yesterday. It works great, but I get those "no card in database for "" ("")" errors like you are describing. I had them in 3.4PAO also, but they disappeared from 4.0-R Robert Quoting Arun Sharma : > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 0:56:51 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from atohasi.mickey.ai.kyutech.ac.jp (atohasi.mickey.ai.kyutech.ac.jp [131.206.21.80]) by hub.freebsd.org (Postfix) with ESMTP id BF35637B5A9 for ; Fri, 7 Apr 2000 00:56:39 -0700 (PDT) (envelope-from ohashi@atohasi.mickey.ai.kyutech.ac.jp) Received: from atohasi.mickey.ai.kyutech.ac.jp (localhost [127.0.0.1]) by atohasi.mickey.ai.kyutech.ac.jp (8.9.3/8.9.3) with ESMTP id QAA10745; Fri, 7 Apr 2000 16:57:00 +0900 (JST) (envelope-from ohashi@atohasi.mickey.ai.kyutech.ac.jp) Date: Fri, 07 Apr 2000 16:56:59 +0900 Message-ID: <14573.38091.782623.61791G@atohasi.mickey.ai.kyutech.ac.jp> From: ohashi@mickey.ai.kyutech.ac.jp To: alexkwan@pacific.net.hk Cc: freebsd-mobile@FreeBSD.ORG Subject: RE: How to Config Japanese Style Keyboard of Toshiba Libretto DoCoMo In-Reply-To: In your message of "Fri, 7 Apr 2000 13:01:32 +0800" <000f01bfa04e$58870480$d10b40ca@alexkwan> References: <000f01bfa04e$58870480$d10b40ca@alexkwan> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) MULE/2.3 (SUETSUMUHANA) (based on Emacs 19.34) MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Fri, 7 Apr 2000 13:01:32 +0800, Alex Kwan wrote: > I have a small note book it was Toshiba Libretto for DoCoMo, > the keyboard was a Japanese Style, After I install the FreeBSD in > the Note Book, the displayed symbol was not match to what I hit, > How to config it? Add the following line in /etc/rc.conf. keymap="jp.106" If you want use X11, you also set jp106 in your XF86Config. -- Takeshi OHASHI ohashi@mickey.ai.kyutech.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 6:34:29 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id EA4D337BE6D for ; Fri, 7 Apr 2000 06:34:01 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id PAA24143; Fri, 7 Apr 2000 15:33:19 +0200 (MET DST) Message-ID: <38EDE39C.94D94F43@we.lc.ehu.es> Date: Fri, 07 Apr 2000 15:33:16 +0200 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: Nate Williams Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: proposal of a better solution for "statclock broken" laptops References: <38ECA91E.F98AE48@we.lc.ehu.es> <200004061710.LAA22387@nomad.yogotech.com> <38ED1721.BF297B57@we.lc.ehu.es> <200004062303.RAA25151@nomad.yogotech.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nate Williams wrote: > > > > They deal with different problems. The statclock did not start on my > > Dell I3.7k because of a pending interrupt being not cleared at startup. > > The patch included in PR 17800 fixes this problem. > > Ok, so even if it starts up, it doesn't work right if you suspend, > correct? Yes, indeed. Summarizing: - at first, statclock didn't work and APM suspend worked on my laptop. - after I fixed the statclock initialization (PR 17800), it worked, but APM suspend got broken. I needed to set the apm(4)'s 0x20 flag in order to get suspend working again, but this disabled the statclock, going back to the beginning. - with my second set of changes, which disable the statclock interrupts just before suspend, and re-enable them just after resume, APM suspend works, and the statclock does too. > I thought maybe you found a special initialization routine that caused > it work without any special 'suspend/resume' code. Unfortunately I didn't. The RTC periodic interrupt generator is very simple, and there is little to do with its initialization. Saludos, -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@FreeBSD.org Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-946013071 ----------------------------------------------------------------------- "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 8: 8: 2 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from meer.meer.net (meer.meer.net [140.174.164.2]) by hub.freebsd.org (Postfix) with ESMTP id 13DCB37B581 for ; Fri, 7 Apr 2000 08:08:01 -0700 (PDT) (envelope-from gnn@neville-neil.com) Received: from jchurch.meer.net (unknown-35-202.wrs.com [147.11.35.202]) by meer.meer.net (8.9.3/8.9.3/meer) with ESMTP id IAA245444 for ; Fri, 7 Apr 2000 08:07:57 -0700 (PDT) Received: from neville-neil.com (localhost [127.0.0.1]) by jchurch.meer.net (8.9.3/8.9.2) with ESMTP id IAA17680 for ; Fri, 7 Apr 2000 08:13:10 -0700 (PDT) (envelope-from gnn@neville-neil.com) Message-Id: <200004071513.IAA17680@jchurch.meer.net> To: freebsd-mobile@freebsd.org Subject: Portege 7100 Anyone? Date: Fri, 07 Apr 2000 08:13:10 -0700 From: George Neville-Neil Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Folks, I've just gotten a Toshiba 7100 with a Trident 9540 (according to dmesg) display controller in it. I've looked on the laptop and X pages and this specific chipset is not shown nor do ones "near" it work (i.e 9440). Anyone had any luck with this? Anyone able to point me to where Xconfigurator would be? Thanks, George To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 11: 5: 2 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 25EA237BB77 for ; Fri, 7 Apr 2000 11:04:43 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn31.imasy.or.jp [202.227.24.223]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id DAA11548 for ; Sat, 8 Apr 2000 03:04:40 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004071804.DAA11548@tasogare.imasy.or.jp> To: freebsd-mobile@FreeBSD.ORG Subject: revised: Call for review: restart pccardd by SIGHUP In-Reply-To: Your message of "Thu, 06 Apr 2000 05:01:40 +0900" <200004052001.FAA10611@tasogare.imasy.or.jp> References: <200004052001.FAA10611@tasogare.imasy.or.jp> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 08 Apr 2000 03:04:39 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 17 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Revised version of paches is available at http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff > is for restarting pccardd by sending SIGHUP like > > # kill -HUP `cat /var/run/pccardd.pid` > > On restart, some efforts would be made for consistency such as > maintain resource and card entry (except for generic entry) being used. ^^^^^^^^^^^^^^^^^^^^^^^^ This one was little bit troublesome, but completed now. I'v tested this two days enough, but more testing or review is welcome. I'll commit this tomorrow. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 15:10:47 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-198-202.guate.net [209.198.197.202]) by hub.freebsd.org (Postfix) with ESMTP id 5C09D37C200 for ; Fri, 7 Apr 2000 15:10:14 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id QAA00754; Fri, 7 Apr 2000 16:04:59 -0600 (CST) (envelope-from obonilla) Date: Fri, 7 Apr 2000 16:04:59 -0600 From: Oscar Bonilla To: Dirk-Willem van Gulik Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Sony Vaio CD-ROM Message-ID: <20000407160459.A736@fisicc-ufm.edu> References: <20000406164325.A333@fisicc-ufm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from dirkx@webweaving.org on Fri, Apr 07, 2000 at 07:16:30AM +0200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Apr 07, 2000 at 07:16:30AM +0200, Dirk-Willem van Gulik wrote: > > Hmm, this works on Pao. What is your kernel config for the ata > drivers? > this is my kernel config file (complete)... ---------------------------------------------------------------------------- machine i386 cpu I586_CPU ident VAIO maxusers 32 options PQ_NORMALCACHE #color for 256k/16k cache options INCLUDE_CONFIG_FILE #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options SOFTUPDATES device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers device aic0 # SCSI peripherals device scbus0 at aic0 device da0 at scbus0 target 0 unit 0 device sa0 at scbus0 target 6 device cd device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 options PSM_HOOKRESUME options PSM_RESETAFTERSUSPEND device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 # at nexus? flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? #port 0x3e0 irq 10 iomem 0xd0000 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 #device sio2 at isa? disable port IO_COM3 irq 5 #device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # ISA Ethernet NICs. device ep # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device vn # Vnode driver (turns a file into a device) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf 4 #Berkeley packet filter device pcm device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 ---------------------------------------------------------------------------- this is the entry I'm using in /etc/pccard.conf ---------------------------------------------------------------------------- card " " "NinjaATA-" config auto "ata2" ? insert logger -t pccard:$device -s NinjaATA inserted remove logger -t pccard:$device -s NinjaATA removed ---------------------------------------------------------------------------- this is the output of pccardc dumpcis ---------------------------------------------------------------------------- Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: dc 00 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 100nS, Memory block size = 512b, 1 units Tuple #2, code = 0x15 (Version 1 info), length = 26 000: 04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 56 31 010: 2e 30 00 41 50 30 30 20 00 ff Version = 4.1, Manuf = [ ],card vers = [NinjaATA-] Addit. info = [V1.0],[AP00 ] Tuple #3, code = 0x1a (Configuration map), length = 5 000: 01 23 00 02 03 Reg len = 2, config register addr = 0x200, last config = 0x23 Registers: XX------ Tuple #4, code = 0x1b (Configuration entry), length = 21 000: e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 03 01 010: 30 68 d0 10 00 Config index = 0x21(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 1.5 x 100mA Wait scale Speed = 1.5 x 1 us Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQ level = 3 Memory space length = 0x61f0 Tuple #5, code = 0x1b (Configuration entry), length = 15 000: 22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 00 Config index = 0x22 Card decodes 16 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x190 block length = 0x8 I/O address # 2: block start = 0x396 block length = 0x2 IRQ modes: Level IRQs: 4 5 11 13 14 Memory space length = 0x10 Tuple #6, code = 0x1b (Configuration entry), length = 15 000: 23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 00 Config index = 0x23 Card decodes 16 address lines, full 8/16 Bit I/O I/O address # 1: block start = 0x1a0 block length = 0x8 I/O address # 2: block start = 0x3a6 block length = 0x2 IRQ modes: Level IRQs: 4 5 11 13 14 Memory space length = 0x10 Tuple #7, code = 0x14 (No link), length = 0 Tuple #8, code = 0xff (Terminator), length = 0 1 slots found -- pgp public key: finger obonilla@fisicc-ufm.edu pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 22:43:35 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4A6D437B695 for ; Fri, 7 Apr 2000 22:43:32 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA09029; Fri, 7 Apr 2000 23:43:31 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA09485; Fri, 7 Apr 2000 23:42:37 -0600 (MDT) Message-Id: <200004080542.XAA09485@harmony.village.org> To: robert@braingarage.com Subject: Re: TI PCI-1131 supported in 4.0 ? Cc: Arun Sharma , freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Thu, 06 Apr 2000 22:28:13 PDT." <200004070528.WAA13403@smartie.braingarage.com> References: <200004070528.WAA13403@smartie.braingarage.com> <20000406213444.A13922@sharmas.dhs.org> Date: Fri, 07 Apr 2000 23:42:37 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200004070528.WAA13403@smartie.braingarage.com> robert bowen writes: : That is the chip in my TP240 and it works great. : With 4.0-Release I had no problem, but it started : showing up in 4.0-stable from yesterday. It works : great, but I get those "no card in database for : "" ("")" errors like you are describing. I had : them in 3.4PAO also, but they disappeared from : 4.0-R Can you try booting a 5.0-current kernel and let me know if the problem goes away? I merged some code from PAO/nomads ML into -current that addresses the issues that soem people have with TI chipsets. You might also check to make sure that you have the cardbus bridge setup in legacy mode in the BIOS, if you can. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 23: 9:22 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id AC17F37BAB3; Fri, 7 Apr 2000 23:09:18 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA09102; Sat, 8 Apr 2000 00:09:17 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA09623; Sat, 8 Apr 2000 00:08:23 -0600 (MDT) Message-Id: <200004080608.AAA09623@harmony.village.org> To: mobile@freebsd.org Cc: mdodd@freebsd.org Subject: Two pccards in the tree for a while Date: Sat, 08 Apr 2000 00:08:23 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been thinking about driver attachments in the NEWCARD world. I'd like to make them as compatible as I can to the oldcard world. To that end, I'd like to propose a small addition to each of the pccard driver attachments in anticipation of NEWCARD. Right now the typical pccard_probe routine looks like one of the following: foo_pccard_probe(device_t dev) { device_set_description(dev, "foo pccard thing"); return 0; } or foo_pccard_probe(device_t dev) { return foo_probe(dev); } Where foo_probe might be expanded inline foo_pccard_probe. I'd like to propose a small addition. I'd like to move to primarily identifying the cards by their OEM number and OEM ID (these numbers are similar to the pci vendor codes). Each driver would have a table of IDs that they support. So the above driver's probe routines would turn into foo_pccard_probe(device_t dev) { if (pccard_probe_vendor_id(dev, &foo_vendor_table)) return ENXIO; /* Optionally probe the hardware here */ device_set_description(dev, "foo card thang"); return 0; } I'd also provide a pccard_probe_fucntion_id() as well for ata and sio to use. For existing pccard drivers, the changes are trivial to have them continue to work with OLDCARD. More work if you want to get a good, accurate list of vendor ids, but NetBSD can be a good place to look. I may also provide a pccard_probe_cis_strings() routine, since I know there are some cards that are only identifiable by their CIS strings, but these are few and far between. Of course, it is highly desirable to have the ability for a driver to read its own CIS in various ways, and as that is accomplished, the results will be available in both OLDCARD and NEWCARD. The xe driver is the only one right now that does this, but there are other drivers that would like to do this, but they have pccardd provide them with information at the moment for things like ethernet address. However, in the old world order, pccardd desides what card gets what drivers. So, these new functions would be implemented as return 0; in OLDCARD so that we can use the same drivers (in source) for both the old and new code. There may be other problems that crop up along the way. This is the only one that I'm seeing on my horizon right now, so I thought I'd get people talking about these issues before I get to the point of needing to jump on them. I have the CIS reading code approaching completion and I think the next thing after that is driver attachment. I'll know more in a few days. I think the transition period in -current is going to be long enough that these issues are important. It would also be nice if we can use the same or substantially drivers in -stable and -current for as long as possible. Comments? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Fri Apr 7 23:48:26 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id D8B8837BA30 for ; Fri, 7 Apr 2000 23:48:22 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 12dp2Q-0001Mu-00 for freebsd-mobile@FreeBSD.ORG; Sat, 08 Apr 2000 02:48:10 -0400 Date: Sat, 8 Apr 2000 02:48:10 -0400 From: Peter Radcliffe To: freebsd-mobile@FreeBSD.ORG Subject: ISA pcmcia bridge; Intel i82365 not working in 4.0 Message-ID: <20000408024809.A5251@pir.net> Mail-Followup-To: freebsd-mobile@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just upgraded my home desktop machine to 4.0 to make use of the SBLive support. Binary 4.0 install, cvsup to -stable, built a new kernel, etc. I get; pcic0: at port 0x3e0 iomem 0xd8000 irq 9 on isa0 pcic0: management irq 9 pccard0: on pcic0 pccard1: on pcic0 pccard2: on pcic0 pccard3: on pcic0 It recognises I have 4 slots. I'm using the same irq and memory configs as I did with 3.3-PAO on this machine and I get ... nothing when I slot a card in. No insertion event, nothing. Two of the LEDs on the network card I'm testing with flash briefly on insertion. So I go around the back of the machine to try slots 0 and 1 (3 and 4 are on a tray at the front of the machine, so I tend to use those) and try again. I got one; pccard: card inserted, slot 0 Apr 8 01:27:58 peem pccardd[52]: No card in database for ""("") pccard: card removed, slot 0 which I can't reproduce. I've tried other memory locations, etc, no joy. Any suggestions ? P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 0:38:10 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from web2.sea.nwserv.com (web2.sea.nwserv.com [216.145.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 6C7D737B5A7 for ; Sat, 8 Apr 2000 00:38:00 -0700 (PDT) (envelope-from asaddi@philosophysw.com) Received: from localhost (asaddi@localhost) by web2.sea.nwserv.com (8.9.3/8.9.3) with ESMTP id AAA85729 for ; Sat, 8 Apr 2000 00:37:59 -0700 (PDT) (envelope-from asaddi@philosophysw.com) Date: Sat, 8 Apr 2000 00:37:59 -0700 (PDT) From: Allan Saddi X-Sender: asaddi@web2.sea.nwserv.com To: freebsd-mobile@freebsd.org Subject: Strange suspend/standby behavior Message-ID: Organization: Philosophy SoftWorks MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I inherited an old Compaq Presario 1215 recently. I installed 4.0-RELEASE (and subsequently 4.0-STABLE) on it. Much to my surprise, I got almost everything about it working in a few hours. (Except the modem -- it's probably a winmodem.) Good job, BTW. :) Anyway, I'm having a minor problem with the suspend/standby feature. When running on batteries, after I issue a 'zzz', it sleeps for *exactly* 15 minutes, resumes on its own, and then spontaneously reboots! Putting it in standby only results in it resuming after 15 minutes as well. When plugged into the AC outlet, it remains in suspend/standby for however long, until I choose to wake it. Has anyone else experienced anything similar? I've played around with the power settings in BIOS, scrutinized the source code, scoured the mailing lists, and I've even tried single stepping through the kernel APM code with DDB... I still can't figure out why it's doing this. And unfortunately, it just reboots... no panic, no core dump, no error messages. I'll probably pick up a null modem cable in a few days so I can gdb it. But I'm not at all familiar with APM/APM BIOS... Does anyone have any suggestions for debugging this or for helping me get to the root of this strange behavior? I've included an excerpt from /var/log/messages showing a suspend/resume operation, dmesg output, and my kernel config at the end. TIA! -- Allan Saddi "The Earth is the cradle of mankind, asaddi@philosophysw.com but we cannot live in the cradle http://www.philosophysw.com/asaddi/ forever." - K.E. Tsiolkovsky [/var/log/messages] Apr 7 02:48:14 trantor /kernel: ed0: unload Apr 7 02:48:15 trantor /kernel: stray irq 3 Apr 7 02:48:16 trantor /kernel: pccard: card disabled, slot 0 Apr 7 02:48:16 trantor /kernel: Execute APM hook "default suspend." Apr 7 02:48:16 trantor /kernel: Received APM Event: PMEV_STANDBYRESUME Apr 7 02:48:16 trantor /kernel: Execute APM hook "default resume." Apr 7 02:48:16 trantor /kernel: resumed from suspended mode (slept 00:15:00) Apr 7 02:48:16 trantor /kernel: ata0: resetting devices .. done Apr 7 02:48:16 trantor /kernel: ata1: resetting devices .. done Apr 7 02:48:16 trantor /kernel: pccard: card inserted, slot 0 Apr 7 02:48:16 trantor /kernel: Received APM Event: PMEV_UPDATETIME [rest of messages probably lost due to spontaneous reboot] [dmesg output] Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #42: Fri Apr 7 02:27:42 PDT 2000 root@utopia.philosophysw.com:/usr/src/sys/compile/TRANTOR Timecounter "i8254" frequency 1193182 Hz CPU: Cyrix GXm (8.04-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x3343 Stepping=3 Revision=3 real memory = 25165824 (24576K bytes) config> di ata1 config> q avail memory = 21901312 (21388K bytes) Preloaded elf kernel "kernel" at 0xc02ba000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02ba09c. Preloaded elf module "splash_bmp.ko" at 0xc02ba0ec. Preloaded splash_image_data "/knights.bmp" at 0xc02ba190. apm0: on motherboard apm: APM BIOS version 0102 apm: Code16 0xc00f0000, Data 0xc0000400 apm: Code entry 0x00005b83, Idling CPU disabled, Management enabled apm: CS_limit=0xffff, DS_limit=0xffff apm: Engaged control enabled apm: found APM BIOS v1.2, connected at v1.2 apm: Slow Idling CPU disabled Add hook "default suspend" Add hook "default resume" npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: port 0x5000-0x500f,0x4000-0x401f,0x3000-0x307f mem 0x40010000-0x40010fff at device 18.0 on pci0 isa0: on isab0 pci0: at 20.0 irq 0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: flags 0x400 irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic0: at port 0x3e0 iomem 0xd0000 irq 11 on isa0 pcic0: management irq 11 pccard0: on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: on sbc0 ad0: 1556MB [3162/16/63] at ata0-master using BIOSPIO Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 ed0 at port 0x240-0x25f irq 3 slot 0 on pccard0 ed0: address 00:80:c8:42:2f:d9, type Linksys (16 bit) APM ioctl: cmd = 0x20005005 called apm_event_enable() APM ioctl: cmd = 0x4040500b APM ioctl: cmd = 0xc018500a APM ioctl: cmd = 0xc018500a apmwrite: event 0x2 enabled apmwrite: event 0x3 enabled apmwrite: event 0xa enabled apmwrite: event 0xb enabled [kernel config] machine i386 cpu I586_CPU ident TRANTOR maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extentions options _KPOSIX_PRIORITY_SCHEDULING options DDB device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 flags 0x400 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? flags 0x20 # Advanced Power Management options APM_DEBUG # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 11 port 0x3e0 iomem 0xd0000 # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # ISA Ethernet NICs. device ed # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter device pcm device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 1: 9:23 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from smartie.braingarage.com (m206-51.dsl.tsoft.com [198.144.206.51]) by hub.freebsd.org (Postfix) with ESMTP id D9F0037B59F for ; Sat, 8 Apr 2000 01:09:20 -0700 (PDT) (envelope-from robert@braingarage.com) Received: (from nobody@localhost) by smartie.braingarage.com (8.9.3/8.9.3) id BAA18805; Sat, 8 Apr 2000 01:09:08 -0700 (PDT) (envelope-from robert@braingarage.com) Date: Sat, 8 Apr 2000 01:09:08 -0700 (PDT) From: robert bowen Message-Id: <200004080809.BAA18805@smartie.braingarage.com> X-Authentication-Warning: smartie.braingarage.com: nobody set sender to robert@braingarage.com using -f To: Peter Radcliffe Reply-To: robert@braingarage.com Cc: freebsd-mobile@FreeBSD.ORG References: <20000408024809.A5251@pir.net> In-Reply-To: <20000408024809.A5251@pir.net> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You might try setting just "device pcic0" with no arguments in your kernel config file to cause it to use polling mode. It solved a lot of problems for me, and it seems that I'm not the only one. Robert Quoting Peter Radcliffe : > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 5: 5: 6 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id 0EA3437B8A1 for ; Sat, 8 Apr 2000 05:05:04 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id UAA04111 for ; Sat, 8 Apr 2000 20:05:02 +0800 (HKT) Received: from alexkwan (ppp141.dyn30.pacific.net.hk [202.64.30.141]) by tsingyi.pacific.net.hk with SMTP id UAA12969 for ; Sat, 8 Apr 2000 20:05:01 +0800 (HKT) Message-ID: <000d01bfa152$fd41c780$8d1e40ca@alexkwan> From: "Alex Kwan" To: Subject: Re: How to config apmd_flags on /etc/defaults/rc.conf Date: Sat, 8 Apr 2000 20:07:17 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! If I set 'YES' to apmd_enable on /etc/defaults/rc.conf, How to set the apmd_flags usually? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 6:20:30 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.webweaving.org (va-138.skylink.it [194.185.55.138]) by hub.freebsd.org (Postfix) with ESMTP id B31C937B8C8 for ; Sat, 8 Apr 2000 06:20:24 -0700 (PDT) (envelope-from dirkx@mobile.webweaving.org) Received: (from dirkx@localhost) by mobile.webweaving.org (8.9.3/8.9.3) id JAA20138; Fri, 7 Apr 2000 09:30:01 +0200 (CEST) (envelope-from dirkx) Date: Fri, 7 Apr 2000 09:30:01 +0200 (CEST) From: Dirk-Willem van Gulik X-Sender: dirkx@vaio.ispra.webweaving.org To: Alex Kwan Cc: freebsd-mobile@FreeBSD.ORG Subject: RE: How to Config Japanese Style Keyboard of Toshiba Libretto DoCoMo In-Reply-To: <000f01bfa04e$58870480$d10b40ca@alexkwan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Check out www.jp.freebsd.org/PAO for how to set/change your keyboard and/or use a international install. Otherwise check /usr/share/doc for the handbook. Dw On Fri, 7 Apr 2000, Alex Kwan wrote: > Hi! > > I have a small note book it was Toshiba Libretto for DoCoMo, > the keyboard was a Japanese Style, After I install the FreeBSD in > the Note Book, the displayed symbol was not match to what I hit, > How to config it? > > Thanks > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 6:20:40 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.webweaving.org (va-138.skylink.it [194.185.55.138]) by hub.freebsd.org (Postfix) with ESMTP id 463E037B8C8 for ; Sat, 8 Apr 2000 06:20:32 -0700 (PDT) (envelope-from dirkx@mobile.webweaving.org) Received: (from dirkx@localhost) by mobile.webweaving.org (8.9.3/8.9.3) id LAA19041; Thu, 6 Apr 2000 11:16:25 +0200 (CEST) (envelope-from dirkx) Date: Thu, 6 Apr 2000 11:16:25 +0200 (CEST) From: Dirk-Willem van Gulik X-Sender: dirkx@vaio.ispra.webweaving.org To: Lamila Snowden Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Rapid Replication Strategy In-Reply-To: <138068107.954986333728.JavaMail.nobody@canweb.canbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've done this in the past by simply using 'dump 0' to get a backup of the machine. Then boot from floppy as usual, go into the shell and just dhclient an address and do a 'restore'. Alternatively if you have the small IDC to big IDE adaptor you can just ghost them. But that requires opening the machine to get at the HD. Dw On Wed, 5 Apr 2000, Lamila Snowden wrote: > I have 21 laptops to prep w/ FreeBSD 3.4 > I have one up and running just the way it should be. from loading it from the 3.4CD and then the apps (Applixware for FBSD, etc) > I'd like to replicate it onto the rest. The whole HD is solely FBSD. > The rest have no OS and are 3 diffrent models, diffrent hd's but the same video chipset etc. NO CDROMs either. same PCMCIA NICs > I'd like to make up some type of boot disk with the PCMCIA NIC drivers loading at floppy boot. > Thought about using tomsrtbt which is a Linux boot/rescue disk w/ some net/disk utils. > > 2 questions pls; > 1. Recommendations for a boot disk with NIC drivers > 2. For NT I would use ghost or an imaging product like that. > I have been looking into dd, dump|restore, tar, pax, and find|cpio > > What are your reccommendations for setting up a HD image for 2 purposes, to roll out the rest of these, to keep the image as a file incase of a hd failure in the future or for prepping more notebooks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 6:20:46 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.webweaving.org (va-138.skylink.it [194.185.55.138]) by hub.freebsd.org (Postfix) with ESMTP id 1BB1637BB72 for ; Sat, 8 Apr 2000 06:20:39 -0700 (PDT) (envelope-from dirkx@mobile.webweaving.org) Received: (from dirkx@localhost) by mobile.webweaving.org (8.9.3/8.9.3) id IAA14215; Tue, 4 Apr 2000 08:38:40 +0200 (CEST) (envelope-from dirkx) Date: Tue, 4 Apr 2000 08:38:40 +0200 (CEST) From: Dirk-Willem van Gulik X-Sender: dirkx@vaio.ispra.webweaving.org To: Peter Radcliffe Cc: FreeBSD Laptoppers Subject: Re: usb on vaio 505tx In-Reply-To: <20000403152219.D6526@pir.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 3 Apr 2000, Peter Radcliffe wrote: > Very, very, occasionally when I suspend to memory (or disk) under freebsd > 3.4-PAO the machine will beep (as it usually does), screen goes blank ... > but it never suspends, power light stays on. > > All I can do at this point is power cycle. > > I've tried building with a debugging kernel, can't get to the debugger > at this point (which might be because I'm in X then). I havn't had it > happen since someone suggested trying the BIOS battery level function > to see if it's completely dead or not ... I've had the same at rare occasions. And I've not been able to get into the debugger from the console or from the serial port. Nor does the Fn+F2 and other 'special's work. Which suggest a harder hang outside the kernel. Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 6:22: 0 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mobile.webweaving.org (va-138.skylink.it [194.185.55.138]) by hub.freebsd.org (Postfix) with ESMTP id 28CA537B63A for ; Sat, 8 Apr 2000 06:20:24 -0700 (PDT) (envelope-from dirkx@mobile.webweaving.org) Received: (from dirkx@localhost) by mobile.webweaving.org (8.9.3/8.9.3) id HAA19673; Fri, 7 Apr 2000 07:16:30 +0200 (CEST) (envelope-from dirkx) Date: Fri, 7 Apr 2000 07:16:30 +0200 (CEST) From: Dirk-Willem van Gulik X-Sender: dirkx@vaio.ispra.webweaving.org To: Oscar Bonilla Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Sony Vaio CD-ROM In-Reply-To: <20000406164325.A333@fisicc-ufm.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmm, this works on Pao. What is your kernel config for the ata drivers? Dw. On Thu, 6 Apr 2000, Oscar Bonilla wrote: > card " " "NinjaATA-" > config 0x23 "ata2" ? > insert logger -t pccard:$device -s Sony Vaio CD-ROM Card inserted > remove logger -t pccard:$device -s Sony Vaio CD-ROM Card removed > > this is the relevant entries in my kernel config file > > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices > > this is the error message I get > > Apr 6 16:34:17 voyager pccardd[46]: driver allocation failed for (NinjaATA-): Device not configured > > What am I doing wrong? > > Regards, > > -oscar > > -- > pgp public key: finger obonilla@fisicc-ufm.edu > pgp fingerprint: 6D 18 8C 90 4C DF F0 4B DF 35 1F 69 A1 33 C7 BC > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 14: 8:27 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 09D1D37BA42 for ; Sat, 8 Apr 2000 14:08:22 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id PAA13293; Sat, 8 Apr 2000 15:08:16 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA22845; Sat, 8 Apr 2000 15:08:15 -0600 (MDT) Message-Id: <200004082108.PAA22845@harmony.village.org> To: Peter Radcliffe Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sat, 08 Apr 2000 02:48:10 EDT." <20000408024809.A5251@pir.net> References: <20000408024809.A5251@pir.net> Date: Sat, 08 Apr 2000 15:08:15 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000408024809.A5251@pir.net> Peter Radcliffe writes: : It recognises I have 4 slots. I'm using the same irq and memory configs : as I did with 3.3-PAO on this machine and I get ... nothing when I slot : a card in. No insertion event, nothing. Two of the LEDs on the : network card I'm testing with flash briefly on insertion. so you have two cards installed in your machine then, right? : So I go around the back of the machine to try slots 0 and 1 (3 and 4 : are on a tray at the front of the machine, so I tend to use those) : and try again. I got one; : : pccard: card inserted, slot 0 : Apr 8 01:27:58 peem pccardd[52]: No card in database for ""("") : pccard: card removed, slot 0 : : which I can't reproduce. : : I've tried other memory locations, etc, no joy. : Any suggestions ? Hmmm. You might try different memory locations. Also, FreeBSD 4.0 doesn't support multiple pcic cards in a system very well. You must use polling mode, at a start, and even that might not work. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 14:42:58 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id 595F737B900 for ; Sat, 8 Apr 2000 14:42:51 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 12e308-0006AH-00 ; Sat, 08 Apr 2000 17:42:44 -0400 Date: Sat, 8 Apr 2000 17:42:44 -0400 From: Peter Radcliffe To: Warner Losh Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Message-ID: <20000408174243.C19691@pir.net> Mail-Followup-To: Warner Losh , freebsd-mobile@FreeBSD.ORG References: <20000408024809.A5251@pir.net> <200004082108.PAA22845@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004082108.PAA22845@harmony.village.org>; from imp@village.org on Sat, Apr 08, 2000 at 03:08:15PM -0600 X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Warner Losh probably said: > so you have two cards installed in your machine then, right? No, I don't. I have one card that provides 4 slots. > Hmmm. You might try different memory locations. I tried a couple of different locations. I'll try more. > Also, FreeBSD 4.0 doesn't support multiple pcic cards in a system > very well. You must use polling mode, at a start, and even that > might not work. Using just device pcic0 it isn't detected at all. At irq 9 (which I was using with 3.4-PAO, and I have marked as in use by a legacy card in the bios) I get; pcic0: at port 0x3e0 iomem 0xd4000 irq 9 on isa0 pcic0: management irq 9 pccard0: on pcic0 pccard1: on pcic0 pccard2: on pcic0 pccard3: on pcic0 Using 0xd4000 I get; pccard: card inserted, slot 3 which is slightly more promising. poering the slot down and up again gets me removal/insertion events. Inserting or removing the card does not give me events. None of 0xd0000 0xd4000 0xd8000 let it work. pccardd gives me some output I'd expect, but doesn't see the card. It syslogs the card as ""(""). Any more clues for me ? P. pir@peem# pccardd -d -f /etc/pccard.conf Code 252 not found Code 252 not found code Unknown ignored Code 198 not found Code 198 not found code Unknown ignored Code 238 not found Code 238 not found code Unknown ignored Code 238 not found Code 238 not found code Unknown ignored Code 236 not found Code 236 not found code Unknown ignored Code 251 not found Code 251 not found code Unknown ignored Code 232 not found Code 232 not found code Unknown ignored P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 15:15:43 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by hub.freebsd.org (Postfix) with ESMTP id AB55E37B59C for ; Sat, 8 Apr 2000 15:15:35 -0700 (PDT) (envelope-from michel@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id e38MFYU88781 for ; Sun, 9 Apr 2000 00:15:34 +0200 (CEST) Received: from rose.lpthe.jussieu.fr ([134.157.10.102]) by parthe.lpthe.jussieu.fr (8.9.1a/jtpda-5.3.1) with ESMTP id AAA04300 for ; Sun, 9 Apr 2000 00:15:32 +0200 (MET DST) Received: (from michel@localhost) by rose.lpthe.jussieu.fr (8.9.3/8.9.3) id XAA00472 for freebsd-mobile@FreeBSD.ORG; Sat, 8 Apr 2000 23:28:58 +0200 (CEST) (envelope-from michel) Date: Sat, 8 Apr 2000 23:28:58 +0200 From: Michel Talon To: freebsd-mobile@FreeBSD.ORG Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Message-ID: <20000408232858.A426@lpthe.jussieu.fr> References: <20000408024809.A5251@pir.net> <200004080809.BAA18805@smartie.braingarage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200004080809.BAA18805@smartie.braingarage.com> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Apr 08, 2000 at 01:09:08AM -0700, robert bowen wrote: > You might try setting just "device pcic0" with no > arguments in your kernel config file to cause it to use > polling mode. It solved a lot of problems for me, and it > seems that I'm not the only one. > > Robert > > Quoting Peter Radcliffe : > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > At present i can say the same with my Inspiron 3500, which has a TI PCI-1220 PCI-CardBus Bridge. The same setup which worked perfectly under FreeBSD-3.3+PAO does not see any insertion or removal events ( It was IRQ 11, port 0x3e0 ) . If i boot with the card, it is recognized, but the removal event does not appear. I have tried various other combinations of IRQ and port without success. However in polling mode, everything works OK. Note that, after having recompiled kernel to polling mode i have seen for the first time silo overflows on my machine. Don't know if it is perfectly correlated, because it appeared just on one connection. By the way i have just tested wether parallel port Zip works under FreeBSD 4.0-Release on laptop. The answer is yes (and i have propagated false information from other messages) here is my dmesg: ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode vpo0: on ppbus0 vpo0: EPP 1.9 mode ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port da0 at vpo0 bus 0 target 6 lun 0 da0: Removable Direct Access SCSI-2 device da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) Note that (and it was the same in 3.3) i had to put the port in EPP mode for this to work. Fortunately the bios has this option here. Under ECP mode (if i remember correctly) the probe did not succeed. -- Michel Talon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 15:31:17 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.79.126]) by hub.freebsd.org (Postfix) with ESMTP id 08FD237BCDA for ; Sat, 8 Apr 2000 15:31:12 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.79.115]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA18446; Sat, 8 Apr 2000 16:31:09 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id QAA15428; Sat, 8 Apr 2000 16:31:09 -0600 (MDT) (envelope-from nate) Date: Sat, 8 Apr 2000 16:31:09 -0600 (MDT) Message-Id: <200004082231.QAA15428@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michel Talon Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 In-Reply-To: <20000408232858.A426@lpthe.jussieu.fr> References: <20000408024809.A5251@pir.net> <200004080809.BAA18805@smartie.braingarage.com> <20000408232858.A426@lpthe.jussieu.fr> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > However in polling mode, everything works OK. Note that, after > having recompiled kernel to polling mode i have seen for the first > time silo overflows on my machine. Don't know if it is perfectly > correlated, because it appeared just on one connection. Silo overflows on a PC-CARD modem is a normal thing, since PC serial cards don't use fast interrupts like the built-in serial ports. (Doing so is a hard enough problem that no-one has attempted it). Also, ou may not have seen them in 3.3-PAO because I think the PAO patches actually removed the printf from the driver ;(. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 16: 1:31 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8BD2E37B544 for ; Sat, 8 Apr 2000 16:01:18 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA13633; Sat, 8 Apr 2000 17:01:16 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA23442; Sat, 8 Apr 2000 17:01:15 -0600 (MDT) Message-Id: <200004082301.RAA23442@harmony.village.org> To: Peter Radcliffe Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sat, 08 Apr 2000 17:42:44 EDT." <20000408174243.C19691@pir.net> References: <20000408174243.C19691@pir.net> <20000408024809.A5251@pir.net> <200004082108.PAA22845@harmony.village.org> Date: Sat, 08 Apr 2000 17:01:15 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000408174243.C19691@pir.net> Peter Radcliffe writes: : Using just : device pcic0 : it isn't detected at all. You need to give it an address at least. : Using 0xd4000 I get; : pccard: card inserted, slot 3 do slots 0 and 1 work? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 17:14:57 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [209.192.237.190]) by hub.freebsd.org (Postfix) with ESMTP id DD03A37B58D for ; Sat, 8 Apr 2000 17:14:54 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 12e5NN-00070k-00 ; Sat, 08 Apr 2000 20:14:53 -0400 Date: Sat, 8 Apr 2000 20:14:52 -0400 From: Peter Radcliffe To: Warner Losh Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Message-ID: <20000408201452.E19691@pir.net> Mail-Followup-To: Warner Losh , freebsd-mobile@FreeBSD.ORG References: <20000408174243.C19691@pir.net> <20000408024809.A5251@pir.net> <200004082108.PAA22845@harmony.village.org> <20000408174243.C19691@pir.net> <200004082301.RAA23442@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004082301.RAA23442@harmony.village.org>; from imp@village.org on Sat, Apr 08, 2000 at 05:01:15PM -0600 X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Warner Losh probably said: > You need to give it an address at least. device pcic0 at isa? port 0x3e0 didn't help. > : Using 0xd4000 I get; > : pccard: card inserted, slot 3 > > do slots 0 and 1 work? Nope, behave exactly the same as slots 2 and 3. I've tried another irq, tried yet more memory locations ... nada. P. -- pir pir@pir.net pir@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message From owner-freebsd-mobile Sat Apr 8 21:27:19 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4873F37B70D for ; Sat, 8 Apr 2000 21:27:15 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA14258; Sat, 8 Apr 2000 22:27:14 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA27914; Sat, 8 Apr 2000 22:27:12 -0600 (MDT) Message-Id: <200004090427.WAA27914@harmony.village.org> To: Peter Radcliffe Subject: Re: ISA pcmcia bridge; Intel i82365 not working in 4.0 Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Sat, 08 Apr 2000 20:14:52 EDT." <20000408201452.E19691@pir.net> References: <20000408201452.E19691@pir.net> <20000408174243.C19691@pir.net> <20000408024809.A5251@pir.net> <200004082108.PAA22845@harmony.village.org> <20000408174243.C19691@pir.net> <200004082301.RAA23442@harmony.village.org> Date: Sat, 08 Apr 2000 22:27:12 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000408201452.E19691@pir.net> Peter Radcliffe writes: : device pcic0 at isa? port 0x3e0 : Nope, behave exactly the same as slots 2 and 3. : : I've tried another irq, tried yet more memory locations ... nada. OK. What's the exact model of this card? I've not seen one like it and don't understand what's going on. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message