From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 27 05:44:09 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C37016A4CE for ; Sun, 27 Mar 2005 05:44:09 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [83.167.185.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4088D43D31 for ; Sun, 27 Mar 2005 05:44:08 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id EAA9765211; Sun, 27 Mar 2005 06:40:58 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46614-05; Sun, 27 Mar 2005 06:40:58 +0100 (BST) Received: from empiric.dek.spc.org (dhcp52.icir.org [192.150.187.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0DC4C651FA; Sun, 27 Mar 2005 06:40:58 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 3292162DB; Sat, 26 Mar 2005 21:44:02 -0800 (PST) Date: Sat, 26 Mar 2005 21:44:02 -0800 From: Bruce M Simpson To: Espen Tagestad Message-ID: <20050327054402.GC749@empiric.icir.org> Mail-Followup-To: Espen Tagestad , freebsd-mobile@freebsd.org References: <4245DEE6.9000505@modula.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4245DEE6.9000505@modula.no> cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 05:44:09 -0000 Hi, On Sat, Mar 26, 2005 at 11:15:02PM +0100, Espen Tagestad wrote: > The irq seems to be hardcoded to 3, but in Windows it shows up with irq= =20 > 7, which in the FreeBSD log I get a message like this: stray irq 7. The= =20 > card works well in Windows, so I don't think is a hardware problem. I've had a very, very similar problem before, with a Gemplus PCMCIA smartcard reader, under FreeBSD 4.x. Before anything else try hacking your /kernel.conf so that sio2 has the same ISA settings as under Windows. See man 5 kernel.conf for help here. Failing that, give my old 'route the PCMCIA ISA function interrupt separate= ly =66rom the ISA card service interrupt' patch at:- http://www.incunabulum.com/code/patches/sys/pccard-func-isa-routing.patch =2E..that is, assuming your PCMCIA-ISA bridge is a Ricoh chip. If it's another vendor, you may need to hack that patch a bit more. > Another one with the same problem as I (I guess) can be found here: > http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2004-May/003813.html >=20 > PS. The reason why I don't run FreeBSD 5 is that it just don't work on=20 > thia laptop at all. FreeBSD 5 is less likely to suffer from the same problem because the pcmcia/cardbus code is totally different. Hope this helps, BMS From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 27 18:48:41 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5801816A4CE for ; Sun, 27 Mar 2005 18:48:41 +0000 (GMT) Received: from [212.112.40.199] (212-112-40-199.lidnet.net [212.112.40.199]) by mx1.FreeBSD.org (Postfix) with SMTP id EABDD43D2F for ; Sun, 27 Mar 2005 18:48:39 +0000 (GMT) (envelope-from pkg@absaroka.eryn-lasgalen.org) Received: (qmail 13568 invoked by uid 1000); 27 Mar 2005 18:48:37 -0000 Date: Sun, 27 Mar 2005 20:48:37 +0200 From: Par Leijonhufvud To: freebsd-mobile@freebsd.org Message-ID: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.5.1i Subject: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 18:48:41 -0000 I just tried to run healthd on my R50E (5.3-RELEASE), and at first got worried about the 255 C temp... Anyone know what I'm missing? Or is it just not supported? I get the same temp with lmmon, so I suspect the latter. /Par -- Par Leijonhufvud par@hunter-gatherer.org "If you get upset, emotional, or angry you are not dealing with the emergency' -- Rick Grant (quoting RCAF pilot training) From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 08:28:53 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E11B516A4CF; Mon, 28 Mar 2005 08:28:53 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8914643D2D; Mon, 28 Mar 2005 08:28:53 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DEMPN-0000yx-Ht; Thu, 24 Mar 2005 10:05:33 +0300 From: Vladimir Grebenschikov To: Julian Elischer In-Reply-To: <42421D8D.5060502@elischer.org> References: <1110800717.1296.19.camel@localhost> <1111610025.1471.6.camel@localhost><42421D8D.5060502@elischer.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 24 Mar 2005 10:05:33 +0300 Message-Id: <1111647933.3557.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: freebsd-mobile@freebsd.org cc: "current@freebsd.org" cc: "Matthew N. Dodd" Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 08:28:54 -0000 =F7 =D3=D2, 23/03/2005 =D7 17:53 -0800, Julian Elischer =D0=C9=DB=C5=D4: >=20 > Matthew N. Dodd wrote: >=20 > > You want this: > > > > ftp://ftp.jurai.net/users/winter/cam-detach.patch > > > > You will then be able to perform a 'camcontrol detach daX', swap=20 > > cards, and run 'camcontrol rescan'. scu6a.lbxs > > >=20 >=20 > eject should imply a detach.. > i.e. I think your patch should call the detach code from the eject code. Not sure, how about this scenario: # camcontrol eject cd0 # camcontrol load cd0 If eject will also detach device, load will fail (no device). Also If I load cd manually - I will not be able mount it without rescan. > Either way can you commit it asap? > needed functionality. >=20 --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 08:28:56 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E73E16A4D3; Mon, 28 Mar 2005 08:28:56 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F09B43D53; Mon, 28 Mar 2005 08:28:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DEMNA-0000yd-ON; Thu, 24 Mar 2005 10:03:16 +0300 From: Vladimir Grebenschikov To: "Matthew N. Dodd" In-Reply-To: <20050323154642.J37251@sasami.jurai.net> References: <1110800717.1296.19.camel@localhost> <1111610025.1471.6.camel@localhost> <20050323154642.J37251@sasami.jurai.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 24 Mar 2005 10:03:15 +0300 Message-Id: <1111647795.3557.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: John Baldwin cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 08:28:56 -0000 =F7 =D3=D2, 23/03/2005 =D7 15:48 -0500, Matthew N. Dodd =D0=C9=DB=C5=D4: > You want this: >=20 > ftp://ftp.jurai.net/users/winter/cam-detach.patch >=20 > You will then be able to perform a 'camcontrol detach daX', swap cards,=20 > and run 'camcontrol rescan'. Yes, it works, thank you. --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 08:28:57 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5459B16A4D2; Mon, 28 Mar 2005 08:28:57 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E817743D46; Mon, 28 Mar 2005 08:28:56 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DEMVK-000105-EC; Thu, 24 Mar 2005 10:11:42 +0300 From: Vladimir Grebenschikov To: John Baldwin In-Reply-To: <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> References: <1110800717.1296.19.camel@localhost> <200503231411.46948.jhb@FreeBSD.org><42421D8D.5060502@elischer.org> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 24 Mar 2005 10:11:42 +0300 Message-Id: <1111648302.3557.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: Julian Elischer cc: "Matthew N. Dodd" cc: freebsd-mobile@FreeBSD.org Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 08:28:57 -0000 =F7 =D3=D2, 23/03/2005 =D7 23:05 -0500, John Baldwin =D0=C9=DB=C5=D4: > On Mar 23, 2005, at 9:00 PM, Matthew N. Dodd wrote: >=20 > > On Wed, 23 Mar 2005, Julian Elischer wrote: > >> eject should imply a detach.. > >> i.e. I think your patch should call the detach code from the eject=20 > >> code. > > > > Eject is for devices that support removable media. >=20 > So are flash memory sticks ejectable media from a slot in a laptop that=20 > never goes away? Seems like it should be an ejectable media to me.=20 > *shrug* Unfortunately, it seen as not-ejectable media. # camcontrol inquiry da0 pass0: Removable Direct Access SCSI-0 device=20 pass0: Serial Number 3 pass0: 40.000MB/s transfers=20 # # usbdevs -v ... Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 2: high speed, self powered, config 1, USB Memory Stick Slot(0x014d), Sony(0x054c), rev 1.10 port 6 powered # I guess usb device should be removed on skick removal and back, but it does not works :(. --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 11:12:56 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 754D116A4CE; Mon, 28 Mar 2005 11:12:56 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5744543D49; Mon, 28 Mar 2005 11:12:55 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SBCbsf089110 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 13:12:39 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SBBfVK086965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 13:11:41 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SBBe2l026861; Mon, 28 Mar 2005 13:11:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SBBe0n026860; Mon, 28 Mar 2005 13:11:40 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 13:11:40 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328111139.GY14532@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1111648302.3557.10.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.1 required=3.0 tests=BAYES_00,REMOVE_REMOVAL_NEAR autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.8 REMOVE_REMOVAL_NEAR List removal information X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-mobile@freebsd.org cc: "Matthew N. Dodd" cc: "current@freebsd.org" cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:12:56 -0000 On Thu, Mar 24, 2005 at 10:11:42AM +0300, Vladimir Grebenschikov wrote: > ? ??, 23/03/2005 ? 23:05 -0500, John Baldwin ?????: > > On Mar 23, 2005, at 9:00 PM, Matthew N. Dodd wrote: > > > > > On Wed, 23 Mar 2005, Julian Elischer wrote: > > >> eject should imply a detach.. > > >> i.e. I think your patch should call the detach code from the eject > > >> code. > > > > > > Eject is for devices that support removable media. > > > > So are flash memory sticks ejectable media from a slot in a laptop that > > never goes away? Seems like it should be an ejectable media to me. > > *shrug* > > Unfortunately, it seen as not-ejectable media. > > # camcontrol inquiry da0 > pass0: Removable Direct Access SCSI-0 device > pass0: Serial Number 3 > pass0: 40.000MB/s transfers > # It's _removeable_ direct access. Since this is a memory stick - I don't know how one could remove the flash media from the USB drive. But this device bug won't hurt as long as you can remove the drive. > # usbdevs -v > ... > Controller /dev/usb3: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > port 5 addr 2: high speed, self powered, config 1, USB Memory Stick > Slot(0x014d), Sony(0x054c), rev 1.10 > port 6 powered > # > > I guess usb device should be removed on skick removal and back, but it > does not works :(. So you say that the device still exists after unplugging the USB stick? This is not the intended behavour. Is it still mounted when you unplug? -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 11:35:20 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E831216A4CE; Mon, 28 Mar 2005 11:35:20 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182D743D5A; Mon, 28 Mar 2005 11:35:18 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFsWU-0004fg-Ex; Mon, 28 Mar 2005 15:35:10 +0400 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050328111139.GY14532@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost> <20050328111139.GY14532@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 15:35:10 +0400 Message-Id: <1112009710.1022.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: freebsd-mobile@freebsd.org cc: "Matthew N. Dodd" cc: "current@freebsd.org" cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:35:21 -0000 =F7 =D0=CE, 28/03/2005 =D7 13:11 +0200, Bernd Walter =D0=C9=DB=C5=D4: > >=20 > > Unfortunately, it seen as not-ejectable media. > >=20 > > # camcontrol inquiry da0 > > pass0: Removable Direct Access SCSI-0 device=20 > > pass0: Serial Number 3 > > pass0: 40.000MB/s transfers=20 > > # >=20 > It's _removeable_ direct access. oops, sorry. yes it is mentioned as removable. > Since this is a memory stick - I don't know how one could remove the > flash media from the USB drive. Just mechanically. > But this device bug won't hurt as long as you can remove the drive. I can remove even mounted device. So it is not problem. Problem is that I should do something after replace card by another card of different size to be able mount new card. camcontrol detach da0; camcontrol rescan all=20 helps, but, it should be much better if it will be issued automatically. > > # usbdevs -v > > ... > > Controller /dev/usb3: > > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > Intel(0x0000), rev 1.00 > > port 1 powered > > port 2 powered > > port 3 powered > > port 4 powered > > port 5 addr 2: high speed, self powered, config 1, USB Memory Stick > > Slot(0x014d), Sony(0x054c), rev 1.10 > > port 6 powered > > # > >=20 > > I guess usb device should be removed on skick removal and back, but it > > does not works :(. >=20 > So you say that the device still exists after unplugging the USB stick? Yes. > This is not the intended behavour. Is it still mounted when you unplug? No. (If be more exact it does not depends on mount state). USB device never disappear. Probably it reflect real state, I guess, card-reader itself hardwired to USB hub inside notebook and never disconnected. Probably there is kind of disconnect notification on CAM level ?=20 --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 11:40:39 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F23816A4CE for ; Mon, 28 Mar 2005 11:40:39 +0000 (GMT) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3C9043D48 for ; Mon, 28 Mar 2005 11:40:38 +0000 (GMT) (envelope-from espent@totem.fix.no) Received: from localhost (totem.fix.no [80.91.36.20]) by totem.fix.no (Postfix) with ESMTP id 064085F3829; Mon, 28 Mar 2005 13:40:37 +0200 (CEST) Received: from totem.fix.no ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 30247-02-7; Mon, 28 Mar 2005 13:40:27 +0200 (CEST) Received: by totem.fix.no (Postfix, from userid 1032) id 9C9655F3825; Mon, 28 Mar 2005 13:40:27 +0200 (CEST) Date: Mon, 28 Mar 2005 13:40:27 +0200 From: Espen Tagestad To: Espen Tagestad , freebsd-mobile@freebsd.org, bms@spc.org Message-ID: <20050328114027.GA30164@totem.fix.no> References: <4245DEE6.9000505@modula.no> <20050327054402.GC749@empiric.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050327054402.GC749@empiric.icir.org> User-Agent: Mutt/1.5.6i Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:40:39 -0000 Thanks for your answer. On Sat, Mar 26, 2005 at 09:44:02PM -0800, Bruce M Simpson wrote: > > The irq seems to be hardcoded to 3, but in Windows it shows up with irq > > 7, which in the FreeBSD log I get a message like this: stray irq 7. The > > card works well in Windows, so I don't think is a hardware problem. > > I've had a very, very similar problem before, with a Gemplus PCMCIA > smartcard reader, under FreeBSD 4.x. > > Before anything else try hacking your /kernel.conf so that sio2 has > the same ISA settings as under Windows. See man 5 kernel.conf for help here. That didn't helped at all. The device (sioX) is not up when this file is loaded, so I only get a error message here. > Failing that, give my old 'route the PCMCIA ISA function interrupt separately > from the ISA card service interrupt' patch at:- > http://www.incunabulum.com/code/patches/sys/pccard-func-isa-routing.patch > > ...that is, assuming your PCMCIA-ISA bridge is a Ricoh chip. If it's > another vendor, you may need to hack that patch a bit more. It looks like it is a 02Micro OZ6933 PCI-CardBus Bridge. > > PS. The reason why I don't run FreeBSD 5 is that it just don't work on > > thia laptop at all. > > FreeBSD 5 is less likely to suffer from the same problem because the > pcmcia/cardbus code is totally different. I got FreeBSD 5 up and running now. I found out that the only problem was that it had atapi dma turned on by default. I just turned it off, and it works great even with acpi enabled. But, the same problem occurs in FreeBSD 5 also. But there may of course be other things to do here, than it was with FreeBSD 4. I've tried to set the IRQ setting with device.hints, with no luck. It also seems like pcmcia-support is fully included in the kernel, as pccard is not running. Is that the case? regards, Espen From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 11:47:48 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C537C16A4D3; Mon, 28 Mar 2005 11:47:48 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 243F543D2D; Mon, 28 Mar 2005 11:47:48 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SBlcsf090483 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 13:47:39 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SBkZVK087144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 13:46:35 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SBkYPX027013; Mon, 28 Mar 2005 13:46:34 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SBkYQQ027012; Mon, 28 Mar 2005 13:46:34 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 13:46:34 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328114633.GZ14532@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost> <20050328111139.GY14532@cicely12.cicely.de> <1112009710.1022.19.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112009710.1022.19.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.1 required=3.0 tests=BAYES_00,REMOVE_REMOVAL_NEAR autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0003] * 0.8 REMOVE_REMOVAL_NEAR List removal information X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de cc: phk@freebsd.org Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:47:48 -0000 On Mon, Mar 28, 2005 at 03:35:10PM +0400, Vladimir Grebenschikov wrote: > ? ??, 28/03/2005 ? 13:11 +0200, Bernd Walter ?????: > > > > > > Unfortunately, it seen as not-ejectable media. > > > > > > # camcontrol inquiry da0 > > > pass0: Removable Direct Access SCSI-0 device > > > pass0: Serial Number 3 > > > pass0: 40.000MB/s transfers > > > # > > > > It's _removeable_ direct access. > > oops, sorry. yes it is mentioned as removable. > > > Since this is a memory stick - I don't know how one could remove the > > flash media from the USB drive. > > Just mechanically. > > > But this device bug won't hurt as long as you can remove the drive. > > I can remove even mounted device. So it is not problem. So in fact it is a flash card reader? In that case removeable is correct. You shouldn't eject mounted media - FreeBSD locks mounted media, but since your device can't physically lock it... > Problem is that I should do something after replace card by another card > of different size to be able mount new card. Yes - as already mentioned on the list by diffrent people: cp /dev/null > /dev/da0 > camcontrol detach da0; camcontrol rescan all > helps, but, it should be much better if it will be issued automatically. Yes - GEOM seems to ignore media change signals from drives. I've added PHK to the recipient list - maybe he has an idea about this problem. However - lots of cheap flash card readers are to stupid for even that. You just can't rely on an automatic reread. > > > # usbdevs -v > > > ... > > > Controller /dev/usb3: > > > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > > Intel(0x0000), rev 1.00 > > > port 1 powered > > > port 2 powered > > > port 3 powered > > > port 4 powered > > > port 5 addr 2: high speed, self powered, config 1, USB Memory Stick > > > Slot(0x014d), Sony(0x054c), rev 1.10 > > > port 6 powered > > > # > > > > > > I guess usb device should be removed on skick removal and back, but it > > > does not works :(. > > > > So you say that the device still exists after unplugging the USB stick? > > Yes. That shouldn't happen, unless you still have references to that device. Are you running with latest code? There were lots of ehci fixes lately. > > This is not the intended behavour. Is it still mounted when you unplug? > > No. (If be more exact it does not depends on mount state). > USB device never disappear. Probably it reflect real state, I guess, > card-reader itself hardwired to USB hub inside notebook and never > disconnected. > > Probably there is kind of disconnect notification on CAM level ? The first disconnect notification is from your root hub. The uhub driver then destroys the umass, which first destroys the scbus and so on. If one instance on the chain blocks the whole thing has to wait. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 12:11:00 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E605916A4CE; Mon, 28 Mar 2005 12:10:59 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 283D743D1F; Mon, 28 Mar 2005 12:10:59 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFt56-0004l0-L8; Mon, 28 Mar 2005 16:10:56 +0400 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050328114633.GZ14532@cicely12.cicely.de> References: <1110800717.1296.19.camel@localhost> <20050323205841.N37251@sasami.jurai.net> <77e48641fc04164b4c81cce75c42a38b@FreeBSD.org> <1111648302.3557.10.camel@localhost> <20050328111139.GY14532@cicely12.cicely.de> <1112009710.1022.19.camel@localhost> <20050328114633.GZ14532@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 16:10:56 +0400 Message-Id: <1112011856.1022.28.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: phk@freebsd.org cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 12:11:00 -0000 =F7 =D0=CE, 28/03/2005 =D7 13:46 +0200, Bernd Walter =D0=C9=DB=C5=D4: > On Mon, Mar 28, 2005 at 03:35:10PM +0400, Vladimir Grebenschikov wrote: > > ? ??, 28/03/2005 ? 13:11 +0200, Bernd Walter ?????: > > > >=20 > > > > Unfortunately, it seen as not-ejectable media. > > > >=20 > > > > # camcontrol inquiry da0 > > > > pass0: Removable Direct Access SCSI-0 device=20 > > > > pass0: Serial Number 3 > > > > pass0: 40.000MB/s transfers=20 > > > > # > > >=20 > > > It's _removeable_ direct access. > >=20 > > oops, sorry. yes it is mentioned as removable. > >=20 > > > Since this is a memory stick - I don't know how one could remove the > > > flash media from the USB drive. > >=20 > > Just mechanically. > >=20 > > > But this device bug won't hurt as long as you can remove the drive. > >=20 > > I can remove even mounted device. So it is not problem. >=20 > So in fact it is a flash card reader? > In that case removeable is correct. > You shouldn't eject mounted media - FreeBSD locks mounted media, but > since your device can't physically lock it... >=20 > > Problem is that I should do something after replace card by another car= d > > of different size to be able mount new card. >=20 > Yes - as already mentioned on the list by diffrent people: > cp /dev/null > /dev/da0 Yes, this works also, I've already relayed about it.=20 > > camcontrol detach da0; camcontrol rescan all=20 > > helps, but, it should be much better if it will be issued automatically= . >=20 > Yes - GEOM seems to ignore media change signals from drives. > I've added PHK to the recipient list - maybe he has an idea about this > problem. I am even not sure Is there such signal. > However - lots of cheap flash card readers are to stupid for even that. This is on-board in my notebook. But m$win detects disconnection. > You just can't rely on an automatic reread. I already do mount/umount and also should do redetect ... > > > > # usbdevs -v > > > > ... > > > > Controller /dev/usb3: > > > > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > > > > Intel(0x0000), rev 1.00 > > > > port 1 powered > > > > port 2 powered > > > > port 3 powered > > > > port 4 powered > > > > port 5 addr 2: high speed, self powered, config 1, USB Memory Stic= k > > > > Slot(0x014d), Sony(0x054c), rev 1.10 > > > > port 6 powered > > > > # > > > >=20 > > > > I guess usb device should be removed on skick removal and back, but= it > > > > does not works :(. > > >=20 > > > So you say that the device still exists after unplugging the USB stic= k? > >=20 > > Yes. >=20 > That shouldn't happen, unless you still have references to that device. > Are you running with latest code? Latest does not build due to error in ndis.=20 Now I have code of 24 March 05. > There were lots of ehci fixes lately. I've seen commits, But not sure that they are related - USB device stays connected even when stick itself removed. > > > This is not the intended behavour. Is it still mounted when you unplu= g? > >=20 > > No. (If be more exact it does not depends on mount state). > > USB device never disappear. Probably it reflect real state, I guess, > > card-reader itself hardwired to USB hub inside notebook and never > > disconnected. > >=20 > > Probably there is kind of disconnect notification on CAM level ?=20 >=20 > The first disconnect notification is from your root hub. > The uhub driver then destroys the umass, which first destroys the > scbus and so on. > If one instance on the chain blocks the whole thing has to wait. >=20 --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 12:13:38 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0D716A4CE; Mon, 28 Mar 2005 12:13:38 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5736743D4C; Mon, 28 Mar 2005 12:13:37 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SCDGH1030957; Mon, 28 Mar 2005 14:13:16 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 13:46:34 +0200." <20050328114633.GZ14532@cicely12.cicely.de> Date: Mon, 28 Mar 2005 14:13:16 +0200 Message-ID: <30956.1112011996@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: Vladimir Grebenschikov cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 12:13:38 -0000 In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: >> camcontrol detach da0; camcontrol rescan all >> helps, but, it should be much better if it will be issued automatically. > >Yes - GEOM seems to ignore media change signals from drives. >I've added PHK to the recipient list - maybe he has an idea about this >problem. No, GEOM doesn't ignore any such thing, because as far as I know GEOM doesn't get any such thing to ignore in the first place. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 12:58:37 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 511EB16A4CE; Mon, 28 Mar 2005 12:58:37 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 892EE43D48; Mon, 28 Mar 2005 12:58:36 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFtp9-0004t3-83; Mon, 28 Mar 2005 16:58:31 +0400 From: Vladimir Grebenschikov To: Poul-Henning Kamp In-Reply-To: <30956.1112011996@critter.freebsd.dk> References: <30956.1112011996@critter.freebsd.dk> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 16:58:31 +0400 Message-Id: <1112014711.1022.37.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 12:58:37 -0000 =F7 =D0=CE, 28/03/2005 =D7 14:13 +0200, Poul-Henning Kamp =D0=C9=DB=C5=D4: > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writ= es: >=20 > >> camcontrol detach da0; camcontrol rescan all=20 > >> helps, but, it should be much better if it will be issued automaticall= y. > > > >Yes - GEOM seems to ignore media change signals from drives. > >I've added PHK to the recipient list - maybe he has an idea about this > >problem. >=20 > No, GEOM doesn't ignore any such thing, because as far as I know > GEOM doesn't get any such thing to ignore in the first place. So, let's imagine following situation: We get SCSI BUS with removable da device. device detected as da0 and not mounted. Device disconnected from SCSI bus. And finally, another device with different geometry connected with same SCIS ID. Please describe how to suppose detect geometry change in this case ? --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:05:59 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EA6616A4D7; Mon, 28 Mar 2005 13:05:59 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F4AC43D1D; Mon, 28 Mar 2005 13:05:58 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SD5dsf093360 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 15:05:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SD4qVK087573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 15:04:53 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SD4qt7027337; Mon, 28 Mar 2005 15:04:52 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SD4pE5027336; Mon, 28 Mar 2005 15:04:51 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 15:04:51 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328130451.GB14532@cicely12.cicely.de> References: <30956.1112011996@critter.freebsd.dk> <1112014711.1022.37.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112014711.1022.37.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:05:59 -0000 On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > > > > >> camcontrol detach da0; camcontrol rescan all > > >> helps, but, it should be much better if it will be issued automatically. > > > > > >Yes - GEOM seems to ignore media change signals from drives. > > >I've added PHK to the recipient list - maybe he has an idea about this > > >problem. > > > > No, GEOM doesn't ignore any such thing, because as far as I know > > GEOM doesn't get any such thing to ignore in the first place. > > So, let's imagine following situation: > > We get SCSI BUS with removable da device. > device detected as da0 and not mounted. > Device disconnected from SCSI bus. > And finally, another device with different geometry connected with same > SCIS ID. This ist not a *media* exchange - this is a *device* and in this case even a scbus exchange. > Please describe how to suppose detect geometry change in this case ? This is a completely different case. You get a new device and GEOM gets a new device event. That your device didn't get disconnected is your problem. You won't see the new device as long as the old device blocks the USB event thread. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:13:48 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B82D16A4E6; Mon, 28 Mar 2005 13:13:48 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A03F43D1F; Mon, 28 Mar 2005 13:13:47 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SDDcsf093639 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 15:13:39 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SDDKVK087619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 15:13:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SDDK59027379; Mon, 28 Mar 2005 15:13:20 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SDDJe4027378; Mon, 28 Mar 2005 15:13:19 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 15:13:19 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20050328131318.GC14532@cicely12.cicely.de> References: <20050328114633.GZ14532@cicely12.cicely.de> <30956.1112011996@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30956.1112011996@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: Vladimir Grebenschikov cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:13:48 -0000 On Mon, Mar 28, 2005 at 02:13:16PM +0200, Poul-Henning Kamp wrote: > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > > >> camcontrol detach da0; camcontrol rescan all > >> helps, but, it should be much better if it will be issued automatically. > > > >Yes - GEOM seems to ignore media change signals from drives. > >I've added PHK to the recipient list - maybe he has an idea about this > >problem. > > No, GEOM doesn't ignore any such thing, because as far as I know > GEOM doesn't get any such thing to ignore in the first place. At least with (most) SCSI devices you get a media changed exception on the first access after that. Don't know if you see them under GEOM, but the kernel prints it: Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): CAM Status: SCSI Status Error Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): SCSI Status: Check Condition Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): UNIT ATTENTION asc:28,0 Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): Not ready to ready change, medium may have changed Mar 28 15:09:21 cicely13 kernel: (da0:ahc0:0:1:0): Retrying Command (per Sense Data) This was introduced with cp /dev/null /dev/da0, but happens on every possible access. As I said - many cheap devices are to stupid for this, but at least it's defined for SCSI and quality devices usually support it. This is true for all kind of removeable device types, da, cd, sa, ... -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:17:31 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E62E16A4CE; Mon, 28 Mar 2005 13:17:31 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 462C143D2F; Mon, 28 Mar 2005 13:17:31 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFu7Q-0004wm-Am; Mon, 28 Mar 2005 17:17:24 +0400 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050328130451.GB14532@cicely12.cicely.de> References: <30956.1112011996@critter.freebsd.dk> <1112014711.1022.37.camel@localhost> <20050328130451.GB14532@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 17:17:24 +0400 Message-Id: <1112015844.1022.44.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:17:31 -0000 =F7 =D0=CE, 28/03/2005 =D7 15:04 +0200, Bernd Walter =D0=C9=DB=C5=D4: > On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: > > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter = writes: > > >=20 > > > >> camcontrol detach da0; camcontrol rescan all=20 > > > >> helps, but, it should be much better if it will be issued automati= cally. > > > > > > > >Yes - GEOM seems to ignore media change signals from drives. > > > >I've added PHK to the recipient list - maybe he has an idea about th= is > > > >problem. > > >=20 > > > No, GEOM doesn't ignore any such thing, because as far as I know > > > GEOM doesn't get any such thing to ignore in the first place. > >=20 > > So, let's imagine following situation: > >=20 > > We get SCSI BUS with removable da device. > > device detected as da0 and not mounted. > > Device disconnected from SCSI bus. > > And finally, another device with different geometry connected with same > > SCIS ID. >=20 > This ist not a *media* exchange - this is a *device* and in > this case even a scbus exchange. Ok, so my case is media exchange, not device exchange. How it is supposed to work in this case ?=20 --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:28:51 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F1E216A4DD; Mon, 28 Mar 2005 13:28:51 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A9F43D1D; Mon, 28 Mar 2005 13:28:51 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SDScsf094169 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 15:28:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SDS3VK087679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 15:28:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SDS2Mk027421; Mon, 28 Mar 2005 15:28:02 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SDS2e1027420; Mon, 28 Mar 2005 15:28:02 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 15:28:02 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328132801.GD14532@cicely12.cicely.de> References: <30956.1112011996@critter.freebsd.dk> <1112014711.1022.37.camel@localhost> <20050328130451.GB14532@cicely12.cicely.de> <1112015844.1022.44.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112015844.1022.44.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:28:51 -0000 On Mon, Mar 28, 2005 at 05:17:24PM +0400, Vladimir Grebenschikov wrote: > ? ??, 28/03/2005 ? 15:04 +0200, Bernd Walter ?????: > > On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: > > > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > > > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > > > > > > > > >> camcontrol detach da0; camcontrol rescan all > > > > >> helps, but, it should be much better if it will be issued automatically. > > > > > > > > > >Yes - GEOM seems to ignore media change signals from drives. > > > > >I've added PHK to the recipient list - maybe he has an idea about this > > > > >problem. > > > > > > > > No, GEOM doesn't ignore any such thing, because as far as I know > > > > GEOM doesn't get any such thing to ignore in the first place. > > > > > > So, let's imagine following situation: > > > > > > We get SCSI BUS with removable da device. > > > device detected as da0 and not mounted. > > > Device disconnected from SCSI bus. > > > And finally, another device with different geometry connected with same > > > SCIS ID. > > > > This ist not a *media* exchange - this is a *device* and in > > this case even a scbus exchange. > > Ok, so my case is media exchange, not device exchange. No - it is a device exchange. GEOM only has problems with media exchange. A new device is no problem for GEOM. Your problem is very likely not GEOM related. > How it is supposed to work in this case ? You get a new device and all layers are freshly setup. That is get's the same device numers as the old is unrelated, it's still a new device after all. You should see why your disconnect doesn't work. Do you run recent RELENG_5 or -current code? Disconnect the device and "ps -axl | grep usb" - you will see the usb threads - each host controller has one of them. Normaly idle usb threads should wait in usbevt and usbtask should wait in usbtsk - see what it is in your case. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:32:49 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A76F16A4CE; Mon, 28 Mar 2005 13:32:49 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D7B343D5D; Mon, 28 Mar 2005 13:32:48 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SDWVKH031944; Mon, 28 Mar 2005 15:32:32 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: vova@fbsd.ru From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 17:17:24 +0400." <1112015844.1022.44.camel@localhost> Date: Mon, 28 Mar 2005 15:32:31 +0200 Message-ID: <31943.1112016751@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:32:49 -0000 In message <1112015844.1022.44.camel@localhost>, Vladimir Grebenschikov writes: >÷ ÐÎ, 28/03/2005 × 15:04 +0200, Bernd Walter ÐÉÛÅÔ: >> On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: >> > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: >> > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: >> > > >> > > >> camcontrol detach da0; camcontrol rescan all >> > > >> helps, but, it should be much better if it will be issued automatically. >> > > > >> > > >Yes - GEOM seems to ignore media change signals from drives. >> > > >I've added PHK to the recipient list - maybe he has an idea about this >> > > >problem. >> > > >> > > No, GEOM doesn't ignore any such thing, because as far as I know >> > > GEOM doesn't get any such thing to ignore in the first place. >> > >> > So, let's imagine following situation: >> > >> > We get SCSI BUS with removable da device. >> > device detected as da0 and not mounted. >> > Device disconnected from SCSI bus. >> > And finally, another device with different geometry connected with same >> > SCIS ID. >> >> This ist not a *media* exchange - this is a *device* and in >> this case even a scbus exchange. > >Ok, so my case is media exchange, not device exchange. >How it is supposed to work in this case ? That's a very good question. The original intent in GEOM was that the geom instance would represent the media while the drive (if separate for the media) would have another access mechanism. Driver support for this is not really meaterialized and therefore the model now is that when the media is ejected the geom device is removed and a new one created right away, even if a new media is not inserted right away. This works with the broken-by-design CDrom ioctls etc. What is missing is to tickle GEOM when the media is inserted so that the tasting takes place. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:33:50 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9081716A4CE; Mon, 28 Mar 2005 13:33:50 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9CF43D46; Mon, 28 Mar 2005 13:33:49 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SDXcti031971; Mon, 28 Mar 2005 15:33:38 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 15:13:19 +0200." <20050328131318.GC14532@cicely12.cicely.de> Date: Mon, 28 Mar 2005 15:33:38 +0200 Message-ID: <31970.1112016818@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: Vladimir Grebenschikov cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:33:50 -0000 In message <20050328131318.GC14532@cicely12.cicely.de>, Bernd Walter writes: >On Mon, Mar 28, 2005 at 02:13:16PM +0200, Poul-Henning Kamp wrote: >> In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: >> >> >> camcontrol detach da0; camcontrol rescan all >> >> helps, but, it should be much better if it will be issued automatically. >> > >> >Yes - GEOM seems to ignore media change signals from drives. >> >I've added PHK to the recipient list - maybe he has an idea about this >> >problem. >> >> No, GEOM doesn't ignore any such thing, because as far as I know >> GEOM doesn't get any such thing to ignore in the first place. > >At least with (most) SCSI devices you get a media changed exception >on the first access after that. Yes, but sane people would argue that is one turn too late in the game, whouldn' they ? We should get an async event as soon as the media disappears. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:40:49 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B706816A4D3; Mon, 28 Mar 2005 13:40:49 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id E801D43D2F; Mon, 28 Mar 2005 13:40:48 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SDecsf094811 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 15:40:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SDeMVK087749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 15:40:22 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SDeLLs027479; Mon, 28 Mar 2005 15:40:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SDeLZO027478; Mon, 28 Mar 2005 15:40:21 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 15:40:21 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20050328134020.GE14532@cicely12.cicely.de> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31970.1112016818@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: John Baldwin cc: Vladimir Grebenschikov cc: "Matthew N. Dodd" cc: freebsd-mobile@FreeBSD.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:40:49 -0000 On Mon, Mar 28, 2005 at 03:33:38PM +0200, Poul-Henning Kamp wrote: > In message <20050328131318.GC14532@cicely12.cicely.de>, Bernd Walter writes: > >On Mon, Mar 28, 2005 at 02:13:16PM +0200, Poul-Henning Kamp wrote: > >> In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > >> > >> >> camcontrol detach da0; camcontrol rescan all > >> >> helps, but, it should be much better if it will be issued automatically. > >> > > >> >Yes - GEOM seems to ignore media change signals from drives. > >> >I've added PHK to the recipient list - maybe he has an idea about this > >> >problem. > >> > >> No, GEOM doesn't ignore any such thing, because as far as I know > >> GEOM doesn't get any such thing to ignore in the first place. > > > >At least with (most) SCSI devices you get a media changed exception > >on the first access after that. > > Yes, but sane people would argue that is one turn too late in the > game, whouldn' they ? Ack. > We should get an async event as soon as the media disappears. Well - the without a request the drive has no transaction handle to contact the host. And we don't always have a physcial SCSI bus - e.g. USB devices can't contact the host without the host issuing a transfer. If you want media change events earlier we have to explizitly ask the devices. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 13:49:52 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7381216A4F2; Mon, 28 Mar 2005 13:49:52 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C851643D2F; Mon, 28 Mar 2005 13:49:51 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SDngsf095207 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 15:49:43 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SDmwVK087799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 15:48:58 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SDmvxo027524; Mon, 28 Mar 2005 15:48:57 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SDmviK027523; Mon, 28 Mar 2005 15:48:57 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 15:48:57 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20050328134856.GF14532@cicely12.cicely.de> References: <1112015844.1022.44.camel@localhost> <31943.1112016751@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <31943.1112016751@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0002] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 13:49:52 -0000 On Mon, Mar 28, 2005 at 03:32:31PM +0200, Poul-Henning Kamp wrote: > In message <1112015844.1022.44.camel@localhost>, Vladimir Grebenschikov writes: > >÷ ÐÎ, 28/03/2005 × 15:04 +0200, Bernd Walter ÐÉÛÅÔ: > >> On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: > >> > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > >> > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > >> > > > >> > > >> camcontrol detach da0; camcontrol rescan all > >> > > >> helps, but, it should be much better if it will be issued automatically. > >> > > > > >> > > >Yes - GEOM seems to ignore media change signals from drives. > >> > > >I've added PHK to the recipient list - maybe he has an idea about this > >> > > >problem. > >> > > > >> > > No, GEOM doesn't ignore any such thing, because as far as I know > >> > > GEOM doesn't get any such thing to ignore in the first place. > >> > > >> > So, let's imagine following situation: > >> > > >> > We get SCSI BUS with removable da device. > >> > device detected as da0 and not mounted. > >> > Device disconnected from SCSI bus. > >> > And finally, another device with different geometry connected with same > >> > SCIS ID. > >> > >> This ist not a *media* exchange - this is a *device* and in > >> this case even a scbus exchange. > > > >Ok, so my case is media exchange, not device exchange. > >How it is supposed to work in this case ? > > That's a very good question. He disconnects and reattaches the whole device. The disconnect blocks somewhere until something magic happens and then he gets the new device. Under USB you have to reprobe the device, as a freshly attached device is completely unconfigured. There is absolutely no chance that you can reconnect a USB device without getting a new instance. > The original intent in GEOM was that the geom instance would represent > the media while the drive (if separate for the media) would have > another access mechanism. Sounds reasonable. > Driver support for this is not really meaterialized and therefore > the model now is that when the media is ejected the geom device > is removed and a new one created right away, even if a new media > is not inserted right away. Do you get eject notifications from any device type? > This works with the broken-by-design CDrom ioctls etc. > > What is missing is to tickle GEOM when the media is inserted so > that the tasting takes place. Mmm. One of my problems is that it is possible with SCSI MO drives to eject the media, reinsert a new one and errously continue to work with the old GEOM layout. I already trashed the data on one media by forgetting to trigger a reprobe - since then I use a mount script. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 14:06:17 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1E5616A51B; Mon, 28 Mar 2005 14:06:16 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C86EE43D46; Mon, 28 Mar 2005 14:06:15 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFusd-00055F-3x; Mon, 28 Mar 2005 18:06:11 +0400 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050328132801.GD14532@cicely12.cicely.de> References: <30956.1112011996@critter.freebsd.dk> <1112014711.1022.37.camel@localhost> <20050328130451.GB14532@cicely12.cicely.de> <1112015844.1022.44.camel@localhost> <20050328132801.GD14532@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 18:06:10 +0400 Message-Id: <1112018770.1022.62.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 14:06:17 -0000 =F7 =D0=CE, 28/03/2005 =D7 15:28 +0200, Bernd Walter =D0=C9=DB=C5=D4: > On Mon, Mar 28, 2005 at 05:17:24PM +0400, Vladimir Grebenschikov wrote: > > ? ??, 28/03/2005 ? 15:04 +0200, Bernd Walter ?????: > > > On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrot= e: > > > > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > > > > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Wal= ter writes: > > > > >=20 > > > > > >> camcontrol detach da0; camcontrol rescan all=20 > > > > > >> helps, but, it should be much better if it will be issued auto= matically. > > > > > > > > > > > >Yes - GEOM seems to ignore media change signals from drives. > > > > > >I've added PHK to the recipient list - maybe he has an idea abou= t this > > > > > >problem. > > > > >=20 > > > > > No, GEOM doesn't ignore any such thing, because as far as I know > > > > > GEOM doesn't get any such thing to ignore in the first place. > > > >=20 > > > > So, let's imagine following situation: > > > >=20 > > > > We get SCSI BUS with removable da device. > > > > device detected as da0 and not mounted. > > > > Device disconnected from SCSI bus. > > > > And finally, another device with different geometry connected with = same > > > > SCIS ID. > > >=20 > > > This ist not a *media* exchange - this is a *device* and in > > > this case even a scbus exchange. > >=20 > > Ok, so my case is media exchange, not device exchange. >=20 > No - it is a device exchange. > GEOM only has problems with media exchange. > A new device is no problem for GEOM. > Your problem is very likely not GEOM related. I guess, may bad example messed up discussion. sorry. >From begin: I have USB-connected card-reader (Sony Memory Stick). It connected as umass0 (ehci), then as da0. It can't be unplugged. (on-board notebook device) Problem: When I change card (it was not mounted) da0 device does not detect media change and following mount fails. Workarounds (I know three at this moment): - kldunload umass; kldload umass - the ugliest, will affect other umass devices. - cat /dev/null > /dev/da0 before mount - GEOM hacking=20 (also I do not like do cat into device with data) - camcontrol detach da0; camcontrol rescan all - requires CAM patch So, I am asking about solution, how it is supposed to work,=20 I guess, like with CD, there is should not be special exercises after card change. Probably my card-read is too stupid to send any media change notifications, how to test it ? Another, probably related question, is there way to detect card insertion/removal ? > > How it is supposed to work in this case ?=20 >=20 > You get a new device and all layers are freshly setup. > That is get's the same device numers as the old is unrelated, it's > still a new device after all. >=20 > You should see why your disconnect doesn't work. It is not disconnected physically, just card removed. > Do you run recent RELENG_5 or -current code? 6-CURRENT. > Disconnect the device and "ps -axl | grep usb" - you will see the > usb threads - each host controller has one of them. > Normaly idle usb threads should wait in usbevt and usbtask should > wait in usbtsk - see what it is in your case. --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 14:24:45 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C2FC16A4CE; Mon, 28 Mar 2005 14:24:45 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE63643D53; Mon, 28 Mar 2005 14:24:44 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SEOUQY032734; Mon, 28 Mar 2005 16:24:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 15:48:57 +0200." <20050328134856.GF14532@cicely12.cicely.de> Date: Mon, 28 Mar 2005 16:24:30 +0200 Message-ID: <32733.1112019870@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 14:24:45 -0000 In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes: >> Driver support for this is not really meaterialized and therefore >> the model now is that when the media is ejected the geom device >> is removed and a new one created right away, even if a new media >> is not inserted right away. > >Do you get eject notifications from any device type? Right now I belive floppy disks DTRT. >One of my problems is that it is possible with SCSI MO drives to >eject the media, reinsert a new one and errously continue to work >with the old GEOM layout. >I already trashed the data on one media by forgetting to trigger >a reprobe - since then I use a mount script. Well, I have no idea how to pull the information out of the CAM/SCSI code, but I'm sure there is _some_ way it can be done. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 14:25:55 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC2616A4CF; Mon, 28 Mar 2005 14:25:55 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4C343D41; Mon, 28 Mar 2005 14:25:54 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SEPdsf096410 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 16:25:41 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SEPPVK088033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 16:25:26 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SEPP40027692; Mon, 28 Mar 2005 16:25:25 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SEPOlf027691; Mon, 28 Mar 2005 16:25:24 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 16:25:24 +0200 From: Bernd Walter To: Vladimir Grebenschikov Message-ID: <20050328142523.GG14532@cicely12.cicely.de> References: <30956.1112011996@critter.freebsd.dk> <1112014711.1022.37.camel@localhost> <20050328130451.GB14532@cicely12.cicely.de> <1112015844.1022.44.camel@localhost> <20050328132801.GD14532@cicely12.cicely.de> <1112018770.1022.62.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112018770.1022.62.camel@localhost> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0015] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 14:25:55 -0000 On Mon, Mar 28, 2005 at 06:06:10PM +0400, Vladimir Grebenschikov wrote: > ? ??, 28/03/2005 ? 15:28 +0200, Bernd Walter ?????: > > On Mon, Mar 28, 2005 at 05:17:24PM +0400, Vladimir Grebenschikov wrote: > > > ? ??, 28/03/2005 ? 15:04 +0200, Bernd Walter ?????: > > > > On Mon, Mar 28, 2005 at 04:58:31PM +0400, Vladimir Grebenschikov wrote: > > > > > ? ??, 28/03/2005 ? 14:13 +0200, Poul-Henning Kamp ?????: > > > > > > In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: > > > > > > > > > > > > >> camcontrol detach da0; camcontrol rescan all > > > > > > >> helps, but, it should be much better if it will be issued automatically. > > > > > > > > > > > > > >Yes - GEOM seems to ignore media change signals from drives. > > > > > > >I've added PHK to the recipient list - maybe he has an idea about this > > > > > > >problem. > > > > > > > > > > > > No, GEOM doesn't ignore any such thing, because as far as I know > > > > > > GEOM doesn't get any such thing to ignore in the first place. > > > > > > > > > > So, let's imagine following situation: > > > > > > > > > > We get SCSI BUS with removable da device. > > > > > device detected as da0 and not mounted. > > > > > Device disconnected from SCSI bus. > > > > > And finally, another device with different geometry connected with same > > > > > SCIS ID. > > > > > > > > This ist not a *media* exchange - this is a *device* and in > > > > this case even a scbus exchange. > > > > > > Ok, so my case is media exchange, not device exchange. > > > > No - it is a device exchange. > > GEOM only has problems with media exchange. > > A new device is no problem for GEOM. > > Your problem is very likely not GEOM related. > > I guess, may bad example messed up discussion. sorry. > > >From begin: > I have USB-connected card-reader (Sony Memory Stick). > It connected as umass0 (ehci), then as da0. > It can't be unplugged. (on-board notebook device) OK - then I got you wrong here - so you are really exchanging just the media. Yes - the thread is very mixed - and I don't imagine a memory stick, which describes the physical design IMO, to be an onboard device. > Problem: > When I change card (it was not mounted) da0 device does not detect > media change and following mount fails. Ack. > Workarounds (I know three at this moment): > - kldunload umass; kldload umass - the ugliest, will affect other > umass devices. > - cat /dev/null > /dev/da0 before mount - GEOM hacking > (also I do not like do cat into device with data) I think this is currently the official way. It just does what is required to trigger a GEOM rescan. Everthing else removes the complete device, which is more than required. > - camcontrol detach da0; camcontrol rescan all - requires CAM patch > > So, I am asking about solution, how it is supposed to work, > I guess, like with CD, there is should not be special exercises after > card change. If I got Poul right then even for the CD case it just works because of some evilness. > Probably my card-read is too stupid to send any media change > notifications, how to test it ? You should see SCSI messages from the kernel for the first access after exchanging the media. But from what I know GEOM doesn't know how to handle exchange notifications from SCSI devices. What we IMHO really need is to make the da driver poll the device for media exchange notifications - and hoope that the drive is capable to do. I don't have an idea for drives that don't support notifications. > Another, probably related question, is there way to detect card > insertion/removal ? You can explizitly ask a SCSI device for media and readyness state. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 14:38:51 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3596716A4D9; Mon, 28 Mar 2005 14:38:51 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49A8243D31; Mon, 28 Mar 2005 14:38:50 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SEcesf096936 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 16:38:42 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SEc3VK088112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 16:38:04 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SEc3DU027767; Mon, 28 Mar 2005 16:38:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SEc2Mb027766; Mon, 28 Mar 2005 16:38:02 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 16:38:02 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20050328143801.GH14532@cicely12.cicely.de> References: <20050328134856.GF14532@cicely12.cicely.de> <32733.1112019870@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32733.1112019870@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 14:38:51 -0000 On Mon, Mar 28, 2005 at 04:24:30PM +0200, Poul-Henning Kamp wrote: > In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes: > > >> Driver support for this is not really meaterialized and therefore > >> the model now is that when the media is ejected the geom device > >> is removed and a new one created right away, even if a new media > >> is not inserted right away. > > > >Do you get eject notifications from any device type? > > Right now I belive floppy disks DTRT. Interesting. > >One of my problems is that it is possible with SCSI MO drives to > >eject the media, reinsert a new one and errously continue to work > >with the old GEOM layout. > >I already trashed the data on one media by forgetting to trigger > >a reprobe - since then I use a mount script. > > Well, I have no idea how to pull the information out of the CAM/SCSI > code, but I'm sure there is _some_ way it can be done. There is the test unit ready command. Either it returns OK, or you may get usefull sense data. Here is an example: No media in the drive: [60]cicely13# camcontrol tur -n da -u 0 -v Unit is not ready (pass0:ahc0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass0:ahc0:0:1:0): CAM Status: SCSI Status Error (pass0:ahc0:0:1:0): SCSI Status: Check Condition (pass0:ahc0:0:1:0): NOT READY asc:3a,0 (pass0:ahc0:0:1:0): Medium not present Exit 1 Media just inserted and give the drive some time to spin up: [61]cicely13# camcontrol tur -n da -u 0 -v Unit is not ready (pass0:ahc0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass0:ahc0:0:1:0): CAM Status: SCSI Status Error (pass0:ahc0:0:1:0): SCSI Status: Check Condition (pass0:ahc0:0:1:0): UNIT ATTENTION asc:28,0 (pass0:ahc0:0:1:0): Not ready to ready change, medium may have changed Exit 1 Just retry TUR command: [62]cicely13# camcontrol tur -n da -u 0 -v Unit is ready Media ejected: [63]cicely13# camcontrol tur -n da -u 0 -v Unit is not ready (pass0:ahc0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass0:ahc0:0:1:0): CAM Status: SCSI Status Error (pass0:ahc0:0:1:0): SCSI Status: Check Condition (pass0:ahc0:0:1:0): NOT READY asc:3a,0 (pass0:ahc0:0:1:0): Medium not present Exit 1 Media reinserted without waiting the drive to spin up: [64]cicely13# camcontrol tur -n da -u 0 -v Unit is not ready (pass0:ahc0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass0:ahc0:0:1:0): CAM Status: SCSI Status Error (pass0:ahc0:0:1:0): SCSI Status: Check Condition (pass0:ahc0:0:1:0): NOT READY asc:98,0 (pass0:ahc0:0:1:0): Vendor Specific ASC Exit 1 After the drive spun up: [65]cicely13# camcontrol tur -n da -u 0 -v Unit is not ready (pass0:ahc0:0:1:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass0:ahc0:0:1:0): CAM Status: SCSI Status Error (pass0:ahc0:0:1:0): SCSI Status: Check Condition (pass0:ahc0:0:1:0): UNIT ATTENTION asc:28,0 (pass0:ahc0:0:1:0): Not ready to ready change, medium may have changed Exit 1 Retry TUR: [66]cicely13# camcontrol tur -n da -u 0 -v Unit is ready -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 14:42:49 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D440916A4EC; Mon, 28 Mar 2005 14:42:49 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D2D43D2F; Mon, 28 Mar 2005 14:42:49 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SEgcsf097060 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 16:42:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SEfaVK088131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 16:41:37 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SEfagw027784; Mon, 28 Mar 2005 16:41:36 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SEfZNH027783; Mon, 28 Mar 2005 16:41:36 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 16:41:35 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20050328144135.GI14532@cicely12.cicely.de> References: <20050328134856.GF14532@cicely12.cicely.de> <32733.1112019870@critter.freebsd.dk> <20050328143801.GH14532@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050328143801.GH14532@cicely12.cicely.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0001] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 14:42:50 -0000 On Mon, Mar 28, 2005 at 04:38:02PM +0200, Bernd Walter wrote: > On Mon, Mar 28, 2005 at 04:24:30PM +0200, Poul-Henning Kamp wrote: > > In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes: > > > > >> Driver support for this is not really meaterialized and therefore > > >> the model now is that when the media is ejected the geom device > > >> is removed and a new one created right away, even if a new media > > >> is not inserted right away. > > > > > >Do you get eject notifications from any device type? > > > > Right now I belive floppy disks DTRT. > > Interesting. > > > >One of my problems is that it is possible with SCSI MO drives to > > >eject the media, reinsert a new one and errously continue to work > > >with the old GEOM layout. > > >I already trashed the data on one media by forgetting to trigger > > >a reprobe - since then I use a mount script. > > > > Well, I have no idea how to pull the information out of the CAM/SCSI > > code, but I'm sure there is _some_ way it can be done. > > There is the test unit ready command. > Either it returns OK, or you may get usefull sense data. > Here is an example: This even works for my USB flash drives: [67]cicely13# camcontrol tur -n da -u 1 -v Unit is not ready (pass1:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass1:umass-sim0:0:0:0): SCSI Status: Check Condition (pass1:umass-sim0:0:0:0): NOT READY asc:3a,0 (pass1:umass-sim0:0:0:0): Medium not present Exit 1 [68]cicely13# camcontrol tur -n da -u 1 -v Unit is not ready (pass1:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass1:umass-sim0:0:0:0): SCSI Status: Check Condition (pass1:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (pass1:umass-sim0:0:0:0): Not ready to ready change, medium may have changed Exit 1 [69]cicely13# camcontrol tur -n da -u 1 -v Unit is ready [71]cicely13# camcontrol tur -n da -u 4 -v Unit is not ready (pass4:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass4:umass-sim1:1:0:0): CAM Status: SCSI Status Error (pass4:umass-sim1:1:0:0): SCSI Status: Check Condition (pass4:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0 (pass4:umass-sim1:1:0:0): Not ready to ready change, medium may have changed Exit 1 [72]cicely13# camcontrol tur -n da -u 4 -v Unit is ready Those are both more or less random flash card readers, so it seems that even cheap devices work. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 15:04:34 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 871E016A4CE; Mon, 28 Mar 2005 15:04:34 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2289343D1D; Mon, 28 Mar 2005 15:04:34 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.201] ([192.168.254.201]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j2SF1rWB000542; Mon, 28 Mar 2005 08:01:53 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <42481C66.7090409@samsco.org> Date: Mon, 28 Mar 2005 08:01:58 -0700 From: Scott User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <32733.1112019870@critter.freebsd.dk> In-Reply-To: <32733.1112019870@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 15:04:34 -0000 Poul-Henning Kamp wrote: > In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes: > > >>>Driver support for this is not really meaterialized and therefore >>>the model now is that when the media is ejected the geom device >>>is removed and a new one created right away, even if a new media >>>is not inserted right away. >> >>Do you get eject notifications from any device type? > > > Right now I belive floppy disks DTRT. > > >>One of my problems is that it is possible with SCSI MO drives to >>eject the media, reinsert a new one and errously continue to work >>with the old GEOM layout. >>I already trashed the data on one media by forgetting to trigger >>a reprobe - since then I use a mount script. > > > Well, I have no idea how to pull the information out of the CAM/SCSI > code, but I'm sure there is _some_ way it can be done. > So are you saying that an async notification mechanism needs to be invented for SCSI, or that all SCSI users should be required to use SES or SAFTE enclosures for all SCSI devices, or that we should be like Windows and constantly poll the devices? Scott From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 16:26:51 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A8C516A4CE; Mon, 28 Mar 2005 16:26:51 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E37943D31; Mon, 28 Mar 2005 16:26:50 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SGQUV6034231; Mon, 28 Mar 2005 18:26:32 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Scott From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 08:01:58 PDT." <42481C66.7090409@samsco.org> Date: Mon, 28 Mar 2005 18:26:30 +0200 Message-ID: <34230.1112027190@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 16:26:51 -0000 In message <42481C66.7090409@samsco.org>, Scott writes: >So are you saying that an async notification mechanism needs to be >invented for SCSI, or that all SCSI users should be required to use >SES or SAFTE enclosures for all SCSI devices, or that we should be like >Windows and constantly poll the devices? I don't care _how_ we make CAM/SCSI behave like the users expect. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 16:30:53 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6959816A4CE; Mon, 28 Mar 2005 16:30:53 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 073B143D5A; Mon, 28 Mar 2005 16:30:53 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.201] ([192.168.254.201]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j2SGSLgF000963; Mon, 28 Mar 2005 09:28:21 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <424830AC.7090309@samsco.org> Date: Mon, 28 Mar 2005 09:28:28 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <34230.1112027190@critter.freebsd.dk> In-Reply-To: <34230.1112027190@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 16:30:53 -0000 Poul-Henning Kamp wrote: > In message <42481C66.7090409@samsco.org>, Scott writes: > > >>So are you saying that an async notification mechanism needs to be >>invented for SCSI, or that all SCSI users should be required to use >>SES or SAFTE enclosures for all SCSI devices, or that we should be like >>Windows and constantly poll the devices? > > > I don't care _how_ we make CAM/SCSI behave like the users expect. > Well, I waved my hands at it for a few minutes, but nothing changed... hmm.... =-) My question to you was partially rhetorical, since a good solution just doesn't exist. Even the polling option isn't good because it will disrupt things like burning CD's; in Windows, the CD burning software packages that are out there go through an impressive set of hoops to deal with this polling problem. Scott From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 16:39:42 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE07516A4CE; Mon, 28 Mar 2005 16:39:42 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40E5243D3F; Mon, 28 Mar 2005 16:39:42 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2SGdM5Y034379; Mon, 28 Mar 2005 18:39:22 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Scott Long From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Mar 2005 09:28:28 PDT." <424830AC.7090309@samsco.org> Date: Mon, 28 Mar 2005 18:39:22 +0200 Message-ID: <34378.1112027962@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 16:39:43 -0000 In message <424830AC.7090309@samsco.org>, Scott Long writes: >>>So are you saying that an async notification mechanism needs to be >>>invented for SCSI, or that all SCSI users should be required to use >>>SES or SAFTE enclosures for all SCSI devices, or that we should be like >>>Windows and constantly poll the devices? >> >> I don't care _how_ we make CAM/SCSI behave like the users expect. > >Well, I waved my hands at it for a few minutes, but nothing changed... >hmm.... =-) > >My question to you was partially rhetorical, That's why you got a terse answer indicating that the problem may be a disparity between SCSI and users (reasonable IMO) expectations to how devices act. I'm not claiming there is any perfect solution, but that doesn't mean that we shouldn't attempt to create a decent or at least workable solution. CD drives are a very specific problem because the ioctls we implement (and want to keep implementing for compatibility reasons) are defined without regard to the drive vs. media dictomy. atapi-cd implments what looks to be a workable workaround for this. I can't possibly why disk devices can't just simulate DTRT with polling. I even remember trying to implement that in scsi_da and I probably still have the hole in my mailbox where a response from the CAM/SCSI clued would have gone, had something like that existed. I think I ran into this issue well over two years ago, and all my attempts to get people to look at it failed and I simply parked it "until somebody gives a shit". Now that somebody does, can we stop religious slamming ancient and bogus user interaction models around and work together to find out how to implement or at least simulate something that makes sense in this day and time ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 16:49:56 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96F3916A4FD for ; Mon, 28 Mar 2005 16:49:56 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD83B43D46 for ; Mon, 28 Mar 2005 16:49:55 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2SGnfsf001488 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 28 Mar 2005 18:49:42 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2SGn7VK088930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2005 18:49:07 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2SGn7YH028428; Mon, 28 Mar 2005 18:49:07 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2SGn6VF028427; Mon, 28 Mar 2005 18:49:06 +0200 (CEST) (envelope-from ticso) Date: Mon, 28 Mar 2005 18:49:06 +0200 From: Bernd Walter To: Scott Long Message-ID: <20050328164906.GM14532@cicely12.cicely.de> References: <34230.1112027190@critter.freebsd.dk> <424830AC.7090309@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424830AC.7090309@samsco.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0023] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: "current@freebsd.org" cc: vova@fbsd.ru cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 16:49:56 -0000 On Mon, Mar 28, 2005 at 09:28:28AM -0700, Scott Long wrote: > Poul-Henning Kamp wrote: > >In message <42481C66.7090409@samsco.org>, Scott writes: > > > > > >>So are you saying that an async notification mechanism needs to be > >>invented for SCSI, or that all SCSI users should be required to use > >>SES or SAFTE enclosures for all SCSI devices, or that we should be like > >>Windows and constantly poll the devices? > > > > > >I don't care _how_ we make CAM/SCSI behave like the users expect. > > > > Well, I waved my hands at it for a few minutes, but nothing changed... > hmm.... =-) > > My question to you was partially rhetorical, since a good solution just > doesn't exist. Even the polling option isn't good because it will > disrupt things like burning CD's; in Windows, the CD burning software > packages that are out there go through an impressive set of hoops to > deal with this polling problem. What exactly is the problem with burning and polling? I personaly could easily imagine a kernel thread that polls devices e.g. once every second. It is out of question IMO that we need an async change notification framework somehow. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 17:25:11 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050EB16A4CE for ; Mon, 28 Mar 2005 17:25:11 +0000 (GMT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE52443D54 for ; Mon, 28 Mar 2005 17:25:10 +0000 (GMT) (envelope-from finn@ISI.EDU) Received: from [128.9.160.30] (pbs.isi.edu [128.9.160.30]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id j2SHOKq18525 for ; Mon, 28 Mar 2005 09:24:20 -0800 (PST) Message-ID: <42483DAB.2000303@isi.edu> Date: Mon, 28 Mar 2005 09:23:55 -0800 From: Greg Finn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ISI-4-39-6-MailScanner: Found to be clean X-MailScanner-From: finn@isi.edu Subject: Dell precision M70 ... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 17:25:11 -0000 We are considering bying a few of these hefty laptops for kernel development work. The FLCL has nothing to say about these. Does anyone have advice regarding FreeBSD compatibility and this laptop? Thanks, --- ggf From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 18:38:41 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C1CC16A4CE for ; Mon, 28 Mar 2005 18:38:41 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C8243D58 for ; Mon, 28 Mar 2005 18:38:40 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 240F33D37; Mon, 28 Mar 2005 13:38:40 -0500 (EST) From: "Dan Langille" To: Torfinn Ingolfsen Date: Mon, 28 Mar 2005 13:38:40 -0500 MIME-Version: 1.0 Message-ID: <424808E0.31089.E8D5D5C@localhost> Priority: normal In-reply-to: <20050322202133.0204f644.torfinn.ingolfsen@broadpark.no> References: <423F3ED0.12201.61A3CFB@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-mobile@freebsd.org Subject: Re: USB card readers X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 18:38:41 -0000 On 22 Mar 2005 at 20:21, Torfinn Ingolfsen wrote: > This gives me the opportunity to comment on the "16 in 1 Cardreader USB > 2.0" made by SilverCrest (http://www.mysilvercrest.de/) > > I got this cardreader really cheap, but I don't know if I can recommend > it. The reason? It only works if the card is already inserted when you > attach the reader to an usb connector. Inserting and removing cards > while the card reader is attached has no effect. I have similar results with the "USB 2.0 Flash Card Reader" by StarTech.com. It works if the cards are in the device before the device is attached to the laptop. Inserting and/or removing cards while attached to the laptop does not generate any /var/log/messages entries. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 28 19:07:14 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCADC16A4CE for ; Mon, 28 Mar 2005 19:07:14 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF1443D41 for ; Mon, 28 Mar 2005 19:07:14 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j2SJ7CIw028816; Mon, 28 Mar 2005 11:07:12 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j2SJ7Crn028815; Mon, 28 Mar 2005 11:07:12 -0800 Date: Mon, 28 Mar 2005 11:07:12 -0800 From: Brooks Davis To: Dan Langille Message-ID: <20050328190712.GD14375@odin.ac.hmc.edu> References: <423F3ED0.12201.61A3CFB@localhost> <424808E0.31089.E8D5D5C@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KdquIMZPjGJQvRdI" Content-Disposition: inline In-Reply-To: <424808E0.31089.E8D5D5C@localhost> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-mobile@freebsd.org Subject: Re: USB card readers X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 19:07:15 -0000 --KdquIMZPjGJQvRdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2005 at 01:38:40PM -0500, Dan Langille wrote: > On 22 Mar 2005 at 20:21, Torfinn Ingolfsen wrote: >=20 > > This gives me the opportunity to comment on the "16 in 1 Cardreader USB > > 2.0" made by SilverCrest (http://www.mysilvercrest.de/) > >=20 > > I got this cardreader really cheap, but I don't know if I can recommend > > it. The reason? It only works if the card is already inserted when you > > attach the reader to an usb connector. Inserting and removing cards > > while the card reader is attached has no effect. >=20 > I have similar results with the "USB 2.0 Flash Card Reader" by=20 > StarTech.com. It works if the cards are in the device before the=20 > device is attached to the laptop. Inserting and/or removing cards=20 > while attached to the laptop does not generate any /var/log/messages=20 > entries. I just purchased a Sabrent 16-in-1 card reader and it seems to work. It shows up as four devices. There's no automatic media detection so you have to access the device once to get the right device nodes for the slices to appear, but otherwise it seems to work. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --KdquIMZPjGJQvRdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCSFXfXY6L6fI4GtQRAj1MAJ4iM3FFvVPoeYs3N+NqpsvwKTTzEACgugSj iIasO2ODFxbJgPImCxEaCJc= =iTtX -----END PGP SIGNATURE----- --KdquIMZPjGJQvRdI-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 00:13:21 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C467016A4CE for ; Tue, 29 Mar 2005 00:13:21 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [83.167.185.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5702F43D3F for ; Tue, 29 Mar 2005 00:13:21 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 45E1965218; Tue, 29 Mar 2005 01:10:11 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 64627-04-2; Tue, 29 Mar 2005 01:10:10 +0100 (BST) Received: from empiric.dek.spc.org (dhcp52.icir.org [192.150.187.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 1B9AF65216; Tue, 29 Mar 2005 01:10:06 +0100 (BST) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 87EB06893; Mon, 28 Mar 2005 16:13:13 -0800 (PST) Date: Mon, 28 Mar 2005 16:13:13 -0800 From: Bruce M Simpson To: Espen Tagestad Message-ID: <20050329001313.GE752@empiric.icir.org> Mail-Followup-To: Espen Tagestad , Espen Tagestad , freebsd-mobile@freebsd.org References: <4245DEE6.9000505@modula.no> <20050327054402.GC749@empiric.icir.org> <20050328114027.GA30164@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050328114027.GA30164@totem.fix.no> cc: Espen Tagestad cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 00:13:21 -0000 On Mon, Mar 28, 2005 at 01:40:27PM +0200, Espen Tagestad wrote: > It looks like it is a 02Micro OZ6933 PCI-CardBus Bridge. Ah. Warner would know more about these than I -- he went through quite a bit of pain I believe to get them to work. I believe some other vendors' bridges allow the ISA function interrupt to be routed to a different IRQ than the card service interrupt, but have never touched hardware with the O2Micro parts in. The reason this is sometimes needed is that not all PCMCIA devices will allow you to choose any available IRQ -- some of them will only support a very limited subset of IRQs in their configuration tuples, and this was the case with my smart card reader. > It also seems like pcmcia-support is fully included in the kernel, as > pccard is not running. Is that the case? Yes, NEWCARD does not require pccardd. BMS From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 02:12:36 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43AFF16A4CF for ; Tue, 29 Mar 2005 02:12:36 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 880E143D2F for ; Tue, 29 Mar 2005 02:12:35 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T2Bbqg091709; Mon, 28 Mar 2005 19:11:37 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 28 Mar 2005 19:11:37 -0700 (MST) Message-Id: <20050328.191137.74660165.imp@bsdimp.com> To: bms@spc.org From: Warner Losh In-Reply-To: <20050329001313.GE752@empiric.icir.org> References: <20050327054402.GC749@empiric.icir.org> <20050328114027.GA30164@totem.fix.no> <20050329001313.GE752@empiric.icir.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: espen@modula.no cc: espent@totem.fix.no cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 02:12:36 -0000 > On Mon, Mar 28, 2005 at 01:40:27PM +0200, Espen Tagestad wrote: > > It looks like it is a 02Micro OZ6933 PCI-CardBus Bridge. > > Ah. Warner would know more about these than I -- he went through quite a > bit of pain I believe to get them to work. > I believe some other vendors' bridges allow the ISA function interrupt to > be routed to a different IRQ than the card service interrupt, but have > never touched hardware with the O2Micro parts in. Yes and no. But it isn't really relevant to newcard, which always, for PCI devices, uses PCI interrupts. O2 Micro parts work fairly well, even. > The reason this is sometimes needed is that not all PCMCIA devices will > allow you to choose any available IRQ -- some of them will only support > a very limited subset of IRQs in their configuration tuples, and this > was the case with my smart card reader. The PC Cards have one interrupt pin, and have no knowledge of how they are routed. The pccard code ignores the interrupts listed unless we're plugged into an ISA bridge. So that can't be the issue. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 02:15:48 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FFAC16A4CE for ; Tue, 29 Mar 2005 02:15:48 +0000 (GMT) Received: from DMZ1.onewest.net (dmz1.onewest.net [199.104.81.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C5443D1F for ; Tue, 29 Mar 2005 02:15:48 +0000 (GMT) (envelope-from rfreidel@onewest.net) Received: from du85.192.onewest.net ([65.19.192.85] helo=mobile.onewest.net) by DMZ1.onewest.net with smtp (Exim 3.35 #1 (Debian)) id 1DG6Gh-0002K9-00 for ; Mon, 28 Mar 2005 19:15:48 -0700 Date: Mon, 28 Mar 2005 19:15:45 -0700 From: Ron Freidel To: freebsd-mobile@freebsd.org Message-Id: <20050328191545.20bc033d.rfreidel@onewest.net> X-Mailer: Sylpheed version 1.9.6 (GTK+ 2.6.4; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Dell inspirion 8600 backlight X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 02:15:48 -0000 I am wondering if anyone knows how to turn off the display on a Dell inspirion 8600 when it goes into suspend mode, or if not that then just turning off the backlight as in dpms. The only thing I have found is if I do a sysctl hw.acpi.video.crt0.active=1 and then sysctl hw.acpi.video.lcd0.active=0 that turns off the display completely, but it is difficult to get it to turn back on, plus the video card is still active so there is no power saving. Am currently running 6.0-CURRENT, built today, but I find the same thing on 5.3, and 5.4 pre. Thanks in advance. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 03:41:06 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0DF516A4CE for ; Tue, 29 Mar 2005 03:41:06 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01EAC43D46 for ; Tue, 29 Mar 2005 03:41:06 +0000 (GMT) (envelope-from rafege@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so396816wra for ; Mon, 28 Mar 2005 19:41:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:organization:reply-to:to:subject:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=ppyN5ySPHj++dxux83eUhVxMYSCT7dscKB6FVe8W6OP42Bu7hqBmcpkp0FsLxAc+SmLScr04OgIi4TqzkjJhtRfuBbgPIquiN9Qhn4A3wP74LrcP+AbI66CBMgeQHmgbSIp51RlFjHP1GXl0Hh7MJhjsjp9qScf01AiqvSnUoKg= Received: by 10.54.98.5 with SMTP id v5mr231168wrb; Mon, 28 Mar 2005 19:41:05 -0800 (PST) Received: from lmrmac.uhw.utoledo.edu ([131.183.85.137]) by mx.gmail.com with ESMTP id 45sm865258wri.2005.03.28.19.41.05; Mon, 28 Mar 2005 19:41:05 -0800 (PST) Date: Mon, 28 Mar 2005 22:41:04 -0500 From: rafege@gmail.com (Gary E. RAFE, Ph.D.) Organization: Rouillard & Rafe To: freebsd-mobile@freebsd.org Message-ID: <4248ce50.EPgAw1JUqTOxP5SSWezUttoa@lmrmac.uhw.utoledo.edu> User-Agent: nail 11.21 2/19/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Belkin F5U222 USB 2.0 Cardbus & 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rafege@gmail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 03:41:06 -0000 I came unto a Belkin F5U222 USB 2.0 Cardbus card today, and promptly tried to give it a go in my Toshiba Satellite Pro 6100 running FreeBSD 5.3-RELEASE. The results were not so good. The Belkin F5U222 has 2 USB 2.0 ports, and a wall-wart power supply with a mini coaxial plug. My first test was to see how it would react to my Lexar JumpDrive USB Flash drive device. The kernel messages follow, beginning with the Cardbus insertion, then the Flash drive insertion, and ending with a system hang: *** Insert unpowered Belkin F5U222 Cardbus *** cardbus1: Resource not specified in CIS: id=10, size=1000 ohci0: mem 0xfce02000-0xfce02fff irq 11 at device 0.0 on cardbus1 ohci0: [GIANT-LOCKED] usb3: OHCI version 1.0 usb3: on ohci0 usb3: USB revision 1.0 uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=1000 ohci1: mem 0xfce03000-0xfce03fff irq 11 at device 0.1 on cardbus1 ohci1: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: on ohci1 usb4: USB revision 1.0 uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=100 ehci0: mem 0xfce04000-0xfce040ff irq 11 at device 0.2 on cardbus1 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb3 ehci_pci_attach: companion usb4 usb5: EHCI version 1.0 usb5: companion controllers, 3 ports each: usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub6: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: 5 ports with 5 removable, self powered *** Insert Lexar JumpDrive Sport USB Flash Drive, forward port *** Mar 28 14:28:49 tsp6100a kernel: umass0: LEXAR MEDIA JUMPDRIVE SPORT, rev 2.00/20.00, addr 2 *** System Hang / Hard Reset *** After the system came back, I tried again, with the other USB port this time, with slightly different results (but not that much different, since a hard reset was needed to get the system back): *** Insert unpowered Belkin F5U222 *** cardbus1: Resource not specified in CIS: id=10, size=1000 ohci0: mem 0xfce02000-0xfce02fff irq 11 at device 0.0 on cardbus1 ohci0: [GIANT-LOCKED] usb3: OHCI version 1.0 usb3: on ohci0 usb3: USB revision 1.0 uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=1000 ohci1: mem 0xfce03000-0xfce03fff irq 11 at device 0.1 on cardbus1 ohci1: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: on ohci1 usb4: USB revision 1.0 uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=100 ehci0: mem 0xfce04000-0xfce040ff irq 11 at device 0.2 on cardbus1 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb3 ehci_pci_attach: companion usb4 usb5: EHCI version 1.0 usb5: companion controllers, 3 ports each: usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub6: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: 5 ports with 5 removable, self powered *** Insert Lexar JumpDrive Sport USB Flash Drive, rear port *** umass0: LEXAR MEDIA JUMPDRIVE SPORT, rev 2.00/20.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 121MB (248928 512 byte sectors: 64H 32S/T 121C) umass0: at uhub6 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device ehci_idone: need toggle update status=00080248 nstatus=80008d80 umass0: BBB reset failed, IOERROR ehci_idone: need toggle update status=00080248 nstatus=80028d80 umass0: detached (null): BBB bulk-in clear stall failed, CANCELLED umass0: LEXAR MEDIA JUMPDRIVE SPORT, rev 2.00/20.00, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers da1: 121MB (248928 512 byte sectors: 64H 32S/T 121C) *** Kernel Panic / Hard Reset *** One more go, this time with the power supply connected. Here, I get much further, attaching two different USB Flash drives successively (not, however, simultaneously). The trouble this time came when the Cardbus device itself was removed: *** Insert powered Belkin F5U222 Cardbus *** cardbus1: Resource not specified in CIS: id=10, size=1000 ohci0: mem 0xfce02000-0xfce02fff irq 11 at device 0.0 on cardbus1 ohci0: [GIANT-LOCKED] usb3: OHCI version 1.0 usb3: on ohci0 usb3: USB revision 1.0 uhub4: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=1000 ohci1: mem 0xfce03000-0xfce03fff irq 11 at device 0.1 on cardbus1 ohci1: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: on ohci1 usb4: USB revision 1.0 uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered cardbus1: Resource not specified in CIS: id=10, size=100 ehci0: mem 0xfce04000-0xfce040ff irq 11 at device 0.2 on cardbus1 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb3 ehci_pci_attach: companion usb4 usb5: EHCI version 1.0 usb5: companion controllers, 3 ports each: usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub6: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: 5 ports with 5 removable, self powered *** Insert Lexar JumpDrive Sport USB Flash Drive *** umass0: LEXAR MEDIA JUMPDRIVE SPORT, rev 2.00/20.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 121MB (248928 512 byte sectors: 64H 32S/T 121C) (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 121MB (248928 512 byte sectors: 64H 32S/T 121C) *** Remove Lexar JumpDrive Sport *** umass0: at uhub6 port 2 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry ehci_idone: need toggle update status=00080248 nstatus=80028d80 umass0: detached *** Insert SanDisk Cruzer Mini USB Flash Drive *** umass0: SanDisk Corporation Cruzer Mini, rev 2.00/0.10, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 244MB (501759 512 byte sectors: 64H 32S/T 244C) *** Remove SanDisk Cruzer Mini *** umass0: at uhub6 port 2 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry ehci_idone: need toggle update status=00080248 nstatus=80028d80 umass0: detached *** Remove powered Belkin F5U222 Cardbus *** *** System Hang / Hard Reset *** Note that I do not have any USB support compiled into the kernel, since USB does not survive APM suspend/resume cycles on this Toshiba. Instead, the kernel modules usb.ko, ums.ko, and umass.ko get loaded (and unloaded), as needed during initial startup, and around APM suspend/resumes cycles. I don't have a pressing need for USB 2.0 just now anyway, so this report is primarily a data point for the record. -- Gary E. RAFE, Ph.D. Please do not send me HTML-encoded mail. It will be discarded automatically. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 04:07:48 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2344616A4CE for ; Tue, 29 Mar 2005 04:07:48 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81E1843D39 for ; Tue, 29 Mar 2005 04:07:47 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (adsl-68-252-59-28.dsl.wotnoh.ameritech.net [68.252.59.28]) (authenticated bits=0)j2T3bQlu092803 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 28 Mar 2005 22:37:27 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-mobile@freebsd.org, Ron Freidel Date: Mon, 28 Mar 2005 23:07:39 -0500 User-Agent: KMail/1.8 References: <20050328191545.20bc033d.rfreidel@onewest.net> In-Reply-To: <20050328191545.20bc033d.rfreidel@onewest.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4109984.gLAQsUYDeu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503282307.46660.mistry.7@osu.edu> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on crumpet.united-ware.com Subject: Re: Dell inspirion 8600 backlight X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 04:07:48 -0000 --nextPart4109984.gLAQsUYDeu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 28 March 2005 09:15 pm, Ron Freidel wrote: > I am wondering if anyone knows how to turn off the display on a > Dell inspirion 8600 when it goes into suspend mode, or if not that > then just turning off the backlight as in dpms. > > The only thing I have found is if I do a > > sysctl hw.acpi.video.crt0.active=3D1 > > and then > > sysctl hw.acpi.video.lcd0.active=3D0 > > that turns off the display completely, but it is difficult to get > it to turn back on, plus the video card is still active so there is > no power saving. > > Am currently running 6.0-CURRENT, built today, but I find the same > thing on 5.3, and 5.4 pre. > > Thanks in advance. > Have you tried the VESA DPMS patch for acpi_video that was floating=20 around on the list a while ago? It shuts off the video adapter when=20 going into suspend. =2D-=20 Anish Mistry --nextPart4109984.gLAQsUYDeu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCSNSSxqA5ziudZT0RAnhCAJ0SPUwZXYcdqEsZ1EInmPzSpGMIBQCbBI1D YdrCgkZsTD3Evpr6EdPTyeI= =XObk -----END PGP SIGNATURE----- --nextPart4109984.gLAQsUYDeu-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 06:23:51 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4EA16A4CE for ; Tue, 29 Mar 2005 06:23:51 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2553743D2D for ; Tue, 29 Mar 2005 06:23:51 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j2T6Notq006756; Mon, 28 Mar 2005 22:23:50 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j2T6NoTW006755; Mon, 28 Mar 2005 22:23:50 -0800 Date: Mon, 28 Mar 2005 22:23:50 -0800 From: Brooks Davis To: "Gary E. RAFE, Ph.D." Message-ID: <20050329062350.GA3515@odin.ac.hmc.edu> References: <4248ce50.EPgAw1JUqTOxP5SSWezUttoa@lmrmac.uhw.utoledo.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <4248ce50.EPgAw1JUqTOxP5SSWezUttoa@lmrmac.uhw.utoledo.edu> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-mobile@freebsd.org Subject: Re: Belkin F5U222 USB 2.0 Cardbus & 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 06:23:51 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2005 at 10:41:04PM -0500, Gary E. RAFE, Ph.D. wrote: > I came unto a Belkin F5U222 USB 2.0 Cardbus card today, > and promptly tried to give it a go in my > Toshiba Satellite Pro 6100 running FreeBSD 5.3-RELEASE. >=20 > The results were not so good. There have been MAJOR improvements in the state of USB, particularly USB 2.0 support in the last few weeks. You need to upgrade to 5.4-STABLE. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCSPR2XY6L6fI4GtQRAuDFAJ9f3FHg8JA8zJUVQ3asl2B61QIAGwCfZGK4 kg7kTPb9MIHUibUEBMPm4Cw= =jymw -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 07:04:09 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F410E16A4CE; Tue, 29 Mar 2005 07:04:08 +0000 (GMT) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B40743D39; Tue, 29 Mar 2005 07:04:08 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.50 (FreeBSD)) id 1DFzNU-0000K8-DR; Mon, 28 Mar 2005 22:54:20 +0400 From: Vladimir Grebenschikov To: ticso@cicely.de In-Reply-To: <20050328143801.GH14532@cicely12.cicely.de> References: <20050328134856.GF14532@cicely12.cicely.de> <32733.1112019870@critter.freebsd.dk> <20050328143801.GH14532@cicely12.cicely.de> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Mar 2005 22:54:19 +0400 Message-Id: <1112036059.1077.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: "current@freebsd.org" cc: "Matthew N. Dodd" cc: freebsd-mobile@freebsd.org cc: Poul-Henning Kamp cc: Julian Elischer Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 07:04:09 -0000 =F7 =D0=CE, 28/03/2005 =D7 16:38 +0200, Bernd Walter =D0=C9=DB=C5=D4: > On Mon, Mar 28, 2005 at 04:24:30PM +0200, Poul-Henning Kamp wrote: > > In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter wr= ites: > >=20 > > >> Driver support for this is not really meaterialized and therefore > > >> the model now is that when the media is ejected the geom device > > >> is removed and a new one created right away, even if a new media > > >> is not inserted right away. > > > > > >Do you get eject notifications from any device type? > >=20 > > Right now I belive floppy disks DTRT. >=20 > Interesting. >=20 > > >One of my problems is that it is possible with SCSI MO drives to > > >eject the media, reinsert a new one and errously continue to work > > >with the old GEOM layout. > > >I already trashed the data on one media by forgetting to trigger > > >a reprobe - since then I use a mount script. > >=20 > > Well, I have no idea how to pull the information out of the CAM/SCSI > > code, but I'm sure there is _some_ way it can be done. >=20 > There is the test unit ready command. > Either it returns OK, or you may get usefull sense data. > Here is an example: Same with my memory stick: // card in card-reader # camcontrol tur -n da -u 0 -v Unit is ready // card is just removed # camcontrol tur -n da -u 0 -v Unit is not ready (pass0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0=20 (pass0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass0:umass-sim0:0:0:0): SCSI Status: Check Condition (pass0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (pass0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed // card is just inserted # camcontrol tur -n da -u 0 -v Unit is not ready (pass0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0=20 (pass0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass0:umass-sim0:0:0:0): SCSI Status: Check Condition (pass0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (pass0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed // 1 sec later (card still here) # camcontrol tur -n da -u 0 -v Unit is ready # --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 07:17:00 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21C1B16A4CE for ; Tue, 29 Mar 2005 07:17:00 +0000 (GMT) Received: from mx1.modula.no (mx1.modula.no [62.70.15.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 637AC43D49 for ; Tue, 29 Mar 2005 07:16:59 +0000 (GMT) (envelope-from espen@modula.no) Received: from localhost (unknown [62.70.15.23]) by mx1.modula.no (Postfix) with ESMTP id D613C5DA3D; Tue, 29 Mar 2005 09:16:55 +0200 (CEST) Received: from mx1.modula.no ([62.70.15.23]) by localhost (mx1.modula.no [62.70.15.23]) (amavisd-new, port 10024) with ESMTP id 65630-05; Tue, 29 Mar 2005 09:16:55 +0200 (CEST) Received: from [127.0.0.1] (www04.modula.no [62.70.15.17]) by mx1.modula.no (Postfix) with ESMTP id 177665DA24; Tue, 29 Mar 2005 09:16:55 +0200 (CEST) Message-ID: <424900E9.3050703@modula.no> Date: Tue, 29 Mar 2005 09:16:57 +0200 From: Espen Tagestad User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Warner Losh References: <20050327054402.GC749@empiric.icir.org> <20050328114027.GA30164@totem.fix.no> <20050329001313.GE752@empiric.icir.org> <20050328.191137.74660165.imp@bsdimp.com> In-Reply-To: <20050328.191137.74660165.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mx1.modula.no cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 07:17:00 -0000 Warner Losh wrote: >>Ah. Warner would know more about these than I -- he went through quite a >>bit of pain I believe to get them to work. >>I believe some other vendors' bridges allow the ISA function interrupt to >>be routed to a different IRQ than the card service interrupt, but have >>never touched hardware with the O2Micro parts in. > > > Yes and no. But it isn't really relevant to newcard, which always, > for PCI devices, uses PCI interrupts. O2 Micro parts work fairly > well, even. Ok? I tried Debian once, and there I could asign different irqs for each pcmcia device. This is a Acer Travelmate 630 with a built-in Orinoco wireless pcmcia card. This was then asigned to irq 7, and the modem-card got irq 11. But still, overflows occured making the connection useless. >>The reason this is sometimes needed is that not all PCMCIA devices will >>allow you to choose any available IRQ -- some of them will only support >>a very limited subset of IRQs in their configuration tuples, and this >>was the case with my smart card reader. > > > The PC Cards have one interrupt pin, and have no knowledge of how they > are routed. The pccard code ignores the interrupts listed unless > we're plugged into an ISA bridge. So that can't be the issue. But do you have any suggestions on what could be the problem then? I don't have a clue anymore. I tried to disable the internal pcmcia-card by removing device wi from my kernel configuration. The card is no longer seen on my system, but that may doesn't mean it won't make interrupt problems? Or could it be that this isn't a interrupt problem at all? Espen From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 07:57:43 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B88CD16A4CE for ; Tue, 29 Mar 2005 07:57:43 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 024D543D46 for ; Tue, 29 Mar 2005 07:57:43 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T7v0Ek096037; Tue, 29 Mar 2005 00:57:00 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 00:57:02 -0700 (MST) Message-Id: <20050329.005702.28817035.imp@bsdimp.com> To: espen@modula.no From: "M. Warner Losh" In-Reply-To: <4245DEE6.9000505@modula.no> References: <4245DEE6.9000505@modula.no> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 07:57:43 -0000 In message: <4245DEE6.9000505@modula.no> Espen Tagestad writes: : Some data: I'm running 4.11-STABLE on a Acer Travelmate 630 series : laptop. The output from pccardd from startup shows this line after : adding the sio-device as a generic modem: : : sio2: unable to activate interrupt in fast mode - using normal mode That always happens with pccard. : When trying to do some activity on the network after connecting this : messages shows up in my log: : : sio2: xxx more interrupt-level buffer overflows (total xxx) : : (xxx is a number) That's because you have a slow machine :-(. Its interrupt latency is too large. You're best bet is to hack sio.c to have a lower interrupt threshold. : I've read a lot of documentation on the net about this issue, and I : think I've tried most of the tips and tricks suggested. I tried to : change the irq assigned for the card without luck, I have set the : cp4ticks to 4096 in sio.c (that removed the interrupt-level buffer : overflows in the log, but then network still don't work as it should), I : changed the list of available irqs in pccard.conf, and I really don't : know what to do next. What does it mean 'network doesn't work'. : The irq seems to be hardcoded to 3, but in Windows it shows up with irq : 7, which in the FreeBSD log I get a message like this: stray irq 7. The : card works well in Windows, so I don't think is a hardware problem. Yes. We use pci interrupts when we can with oldcard. One can use other kinds of interrupts, but I doubt that will help too much... : Does anyone have any tips or suggestions on how to get this card to work : properly with FreeBSD? Has anyone managed to get this card, or some of : the other Sony-Ericsson GC-cards, to work at all with FreeBSD? Hacking sio.c is your best bet. If you can service the interrupts fast enough, and get the data into ppp, it should work. If you are getting the data and the network isn't working, then you'll need to diagnose why. : PS. The reason why I don't run FreeBSD 5 is that it just don't work on : thia laptop at all. bummer. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:00:46 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E83BA16A4CE; Tue, 29 Mar 2005 08:00:46 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 753DC43D58; Tue, 29 Mar 2005 08:00:46 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T80JXv096066; Tue, 29 Mar 2005 01:00:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:00:21 -0700 (MST) Message-Id: <20050329.010021.32059840.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <32733.1112019870@critter.freebsd.dk> References: <20050328134856.GF14532@cicely12.cicely.de> <32733.1112019870@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:00:47 -0000 In message: <32733.1112019870@critter.freebsd.dk> "Poul-Henning Kamp" writes: : >> Driver support for this is not really meaterialized and therefore : >> the model now is that when the media is ejected the geom device : >> is removed and a new one created right away, even if a new media : >> is not inserted right away. : > : >Do you get eject notifications from any device type? : : Right now I belive floppy disks DTRT. Isn't there hardware assist for this? Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:02:30 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2240616A4CE; Tue, 29 Mar 2005 08:02:30 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65F3743D4C; Tue, 29 Mar 2005 08:02:29 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T824H1039734; Tue, 29 Mar 2005 10:02:04 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:00:21 PDT." <20050329.010021.32059840.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:02:04 +0200 Message-ID: <39733.1112083324@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:02:30 -0000 In message <20050329.010021.32059840.imp@bsdimp.com>, "M. Warner Losh" writes: >In message: <32733.1112019870@critter.freebsd.dk> > "Poul-Henning Kamp" writes: >: >> Driver support for this is not really meaterialized and therefore >: >> the model now is that when the media is ejected the geom device >: >> is removed and a new one created right away, even if a new media >: >> is not inserted right away. >: > >: >Do you get eject notifications from any device type? >: >: Right now I belive floppy disks DTRT. > >Isn't there hardware assist for this? Only partial. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:06:58 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92C2716A508; Tue, 29 Mar 2005 08:06:58 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29CA843D53; Tue, 29 Mar 2005 08:06:58 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T84UJE096112; Tue, 29 Mar 2005 01:04:30 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:04:33 -0700 (MST) Message-Id: <20050329.010433.66709025.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <39733.1112083324@critter.freebsd.dk> References: <20050329.010021.32059840.imp@bsdimp.com> <39733.1112083324@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:06:58 -0000 In message: <39733.1112083324@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20050329.010021.32059840.imp@bsdimp.com>, "M. Warner Losh" writes: : >In message: <32733.1112019870@critter.freebsd.dk> : > "Poul-Henning Kamp" writes: : >: >> Driver support for this is not really meaterialized and therefore : >: >> the model now is that when the media is ejected the geom device : >: >> is removed and a new one created right away, even if a new media : >: >> is not inserted right away. : >: > : >: >Do you get eject notifications from any device type? : >: : >: Right now I belive floppy disks DTRT. : > : >Isn't there hardware assist for this? : : Only partial. You should be getting a change notification on the first access after the change happens... Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:08:55 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE38B16A4CE; Tue, 29 Mar 2005 08:08:55 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EDF543D2F; Tue, 29 Mar 2005 08:08:55 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T88aMI039801; Tue, 29 Mar 2005 10:08:36 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:04:33 PDT." <20050329.010433.66709025.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:08:36 +0200 Message-ID: <39800.1112083716@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:08:56 -0000 In message <20050329.010433.66709025.imp@bsdimp.com>, "M. Warner Losh" writes: >: Only partial. > >You should be getting a change notification on the first access after >the change happens... Right, that's what I mean by "partial". Full support would be an interrupt when a media is removed or inserted. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:12:50 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4946D16A4CF; Tue, 29 Mar 2005 08:12:50 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAB4543D41; Tue, 29 Mar 2005 08:12:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8BknJ096214; Tue, 29 Mar 2005 01:11:46 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:11:48 -0700 (MST) Message-Id: <20050329.011148.69987814.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <31970.1112016818@critter.freebsd.dk> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:12:50 -0000 In message: <31970.1112016818@critter.freebsd.dk> "Poul-Henning Kamp" writes: : We should get an async event as soon as the media disappears. We don't really need to know it is gone until the next time we try to access it... Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:13:14 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C00916A630; Tue, 29 Mar 2005 08:13:14 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C4B43D5A; Tue, 29 Mar 2005 08:13:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8AqHl096199; Tue, 29 Mar 2005 01:10:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:10:54 -0700 (MST) Message-Id: <20050329.011054.68136294.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <30956.1112011996@critter.freebsd.dk> References: <20050328114633.GZ14532@cicely12.cicely.de> <30956.1112011996@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:13:14 -0000 In message: <30956.1112011996@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20050328114633.GZ14532@cicely12.cicely.de>, Bernd Walter writes: : : >> camcontrol detach da0; camcontrol rescan all : >> helps, but, it should be much better if it will be issued automatically. : > : >Yes - GEOM seems to ignore media change signals from drives. : >I've added PHK to the recipient list - maybe he has an idea about this : >problem. : : No, GEOM doesn't ignore any such thing, because as far as I know : GEOM doesn't get any such thing to ignore in the first place. The usb dongles don't appear to 'generate media gone on walkabout events' as far as I've seen. However, we should investigate the possibility of querying the status for at each open, and updating the geometry, et al, if it has changed. This kind of polling would be 'lazy' so it wouldn't interfere with other parts of the system, but it would likely be sufficient (since eject in the middle of I/O will generate an I/O error). Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:16:02 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31BE516A4CE for ; Tue, 29 Mar 2005 08:16:02 +0000 (GMT) Received: from mx1.modula.no (mx1.modula.no [62.70.15.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD82843D1D for ; Tue, 29 Mar 2005 08:16:01 +0000 (GMT) (envelope-from espen@modula.no) Received: from localhost (unknown [62.70.15.23]) by mx1.modula.no (Postfix) with ESMTP id C44E65D935; Tue, 29 Mar 2005 10:15:58 +0200 (CEST) Received: from mx1.modula.no ([62.70.15.23]) by localhost (mx1.modula.no [62.70.15.23]) (amavisd-new, port 10024) with ESMTP id 70623-03; Tue, 29 Mar 2005 10:15:58 +0200 (CEST) Received: from [127.0.0.1] (www04.modula.no [62.70.15.17]) by mx1.modula.no (Postfix) with ESMTP id E17B85D8FD; Tue, 29 Mar 2005 10:15:57 +0200 (CEST) Message-ID: <42490EBF.6020704@modula.no> Date: Tue, 29 Mar 2005 10:15:59 +0200 From: Espen Tagestad User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <4245DEE6.9000505@modula.no> <20050329.005702.28817035.imp@bsdimp.com> In-Reply-To: <20050329.005702.28817035.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mx1.modula.no cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:16:02 -0000 M. Warner Losh wrote: > That's because you have a slow machine :-(. Its interrupt latency is > too large. You're best bet is to hack sio.c to have a lower interrupt > threshold. I don't think my machine is too slow, it is a 1,8Ghz Pentium 4 Mobile. I'll have a look in sio.c on how to lower the interrupt threshold. > : I've read a lot of documentation on the net about this issue, and I > : think I've tried most of the tips and tricks suggested. I tried to > : change the irq assigned for the card without luck, I have set the > : cp4ticks to 4096 in sio.c (that removed the interrupt-level buffer > : overflows in the log, but then network still don't work as it should), I > : changed the list of available irqs in pccard.conf, and I really don't > : know what to do next. > > What does it mean 'network doesn't work'. I get connected, but when transfering special amounts of data (may be binary) the network does not respond. Another example is that ssh don't work unless I use ssh version 1. http works, but https does not. And when the network doesn't work (but I am still connected via ppp) I get this sio overflows in the log. > : The irq seems to be hardcoded to 3, but in Windows it shows up with irq > : 7, which in the FreeBSD log I get a message like this: stray irq 7. The > : card works well in Windows, so I don't think is a hardware problem. > > Yes. We use pci interrupts when we can with oldcard. One can use > other kinds of interrupts, but I doubt that will help too much... Hmm, ok. > : Does anyone have any tips or suggestions on how to get this card to work > : properly with FreeBSD? Has anyone managed to get this card, or some of > : the other Sony-Ericsson GC-cards, to work at all with FreeBSD? > > Hacking sio.c is your best bet. If you can service the interrupts > fast enough, and get the data into ppp, it should work. If you are > getting the data and the network isn't working, then you'll need to > diagnose why. I'm very sure that there's a problem with the interrupts, since I'm getting these sio overflows in my log. They often appear when the network do not respond. Do you have any tips on what to look for in sio.c? :) On FreeBSD 4 I increased cp4ticks to 4096, after someone (I don't remember where) said that this value could be too small for 115200. I've also set the speed in ppp.conf to 9200, but still the same result. > : PS. The reason why I don't run FreeBSD 5 is that it just don't work on > : thia laptop at all. > > bummer. Well, I got FreeBSD 5 working yesterday, as I wrote in one of my previous posts. The symptoms is the same, but it takes much longer time until I get the sio interrupt-overflows in the system log. Often I get only one log entry, but the network is still not responding as it should. Espen From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:16:10 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7216616A4CE; Tue, 29 Mar 2005 08:16:10 +0000 (GMT) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8C9543D3F; Tue, 29 Mar 2005 08:16:09 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by pastinakel.tue.nl (Postfix, from userid 40) id 0A2CB14BB67; Tue, 29 Mar 2005 10:16:09 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by pastinakel.tue.nl (Postfix) with ESMTP id 984D214BB3E; Tue, 29 Mar 2005 10:16:05 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.3/8.13.1/Submit) id j2T8G5Dx058213; Tue, 29 Mar 2005 10:16:05 +0200 (CEST) (envelope-from stijn) Date: Tue, 29 Mar 2005 10:16:05 +0200 From: Stijn Hoop To: "M. Warner Losh" Message-ID: <20050329081605.GA57775@pcwin002.win.tue.nl> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> <20050329.011148.69987814.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20050329.011148.69987814.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Spam-DCC: : pastinakel.tue.nl 1074; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on pastinakel.tue.nl X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=6.3 tests=BAYES_00 autolearn=ham version=2.64 cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:16:10 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 29, 2005 at 01:11:48AM -0700, M. Warner Losh wrote: > In message: <31970.1112016818@critter.freebsd.dk> > "Poul-Henning Kamp" writes: > : We should get an async event as soon as the media disappears. >=20 > We don't really need to know it is gone until the next time we try to > access it... =46rom a desktop user experience point of view, it is rather nice to get a notification if and when removable media disappears, without continously polling said media. This statement intentionally ignores the question of how to get such an event through the kernel to userspace. --Stijn --=20 Q: Why is Batman better than Bill Gates? A: Batman was able to beat the Penguin. --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCSQ7FY3r/tLQmfWcRAhlcAJ9ucYYCFBPYPeKTyi+a45VWH+BDXACggfpx 1tg/wkuOz+gm6+Uf/jd1RKo= =XbjE -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:16:17 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1AE116A4F7; Tue, 29 Mar 2005 08:16:17 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E44243D41; Tue, 29 Mar 2005 08:16:17 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8FSXP096247; Tue, 29 Mar 2005 01:15:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:15:30 -0700 (MST) Message-Id: <20050329.011530.97368915.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20050328144135.GI14532@cicely12.cicely.de> References: <32733.1112019870@critter.freebsd.dk> <20050328143801.GH14532@cicely12.cicely.de> <20050328144135.GI14532@cicely12.cicely.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:16:17 -0000 In message: <20050328144135.GI14532@cicely12.cicely.de> Bernd Walter writes: : On Mon, Mar 28, 2005 at 04:38:02PM +0200, Bernd Walter wrote: : > On Mon, Mar 28, 2005 at 04:24:30PM +0200, Poul-Henning Kamp wrote: : > > In message <20050328134856.GF14532@cicely12.cicely.de>, Bernd Walter writes: : > > : > > >> Driver support for this is not really meaterialized and therefore : > > >> the model now is that when the media is ejected the geom device : > > >> is removed and a new one created right away, even if a new media : > > >> is not inserted right away. : > > > : > > >Do you get eject notifications from any device type? : > > : > > Right now I belive floppy disks DTRT. : > : > Interesting. : > : > > >One of my problems is that it is possible with SCSI MO drives to : > > >eject the media, reinsert a new one and errously continue to work : > > >with the old GEOM layout. : > > >I already trashed the data on one media by forgetting to trigger : > > >a reprobe - since then I use a mount script. : > > : > > Well, I have no idea how to pull the information out of the CAM/SCSI : > > code, but I'm sure there is _some_ way it can be done. : > : > There is the test unit ready command. : > Either it returns OK, or you may get usefull sense data. : > Here is an example: : : This even works for my USB flash drives: : [67]cicely13# camcontrol tur -n da -u 1 -v : Unit is not ready : (pass1:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 : (pass1:umass-sim0:0:0:0): CAM Status: SCSI Status Error : (pass1:umass-sim0:0:0:0): SCSI Status: Check Condition : (pass1:umass-sim0:0:0:0): NOT READY asc:3a,0 : (pass1:umass-sim0:0:0:0): Medium not present : Exit 1 : [68]cicely13# camcontrol tur -n da -u 1 -v : Unit is not ready : (pass1:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 : (pass1:umass-sim0:0:0:0): CAM Status: SCSI Status Error : (pass1:umass-sim0:0:0:0): SCSI Status: Check Condition : (pass1:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 : (pass1:umass-sim0:0:0:0): Not ready to ready change, medium may have changed : Exit 1 : [69]cicely13# camcontrol tur -n da -u 1 -v : Unit is ready : : [71]cicely13# camcontrol tur -n da -u 4 -v : Unit is not ready : (pass4:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 : (pass4:umass-sim1:1:0:0): CAM Status: SCSI Status Error : (pass4:umass-sim1:1:0:0): SCSI Status: Check Condition : (pass4:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0 : (pass4:umass-sim1:1:0:0): Not ready to ready change, medium may have changed : Exit 1 : [72]cicely13# camcontrol tur -n da -u 4 -v : Unit is ready : : Those are both more or less random flash card readers, so it seems that : even cheap devices work. Maybe we should move the TUR processing into daopen? Right now we assume that the values from XPT_CALC_GEOMETRY are invairant and we never need to check to see if they've changed. Since daopen isn't usually called that often, optimizing it isn't really much of an issue. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:20:52 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6679016A4CE; Tue, 29 Mar 2005 08:20:52 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id D70BC43D54; Tue, 29 Mar 2005 08:20:51 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8GVcJ096306; Tue, 29 Mar 2005 01:16:31 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:16:33 -0700 (MST) Message-Id: <20050329.011633.33548829.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <39800.1112083716@critter.freebsd.dk> References: <20050329.010433.66709025.imp@bsdimp.com> <39800.1112083716@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:20:52 -0000 In message: <39800.1112083716@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20050329.010433.66709025.imp@bsdimp.com>, "M. Warner Losh" writes: : : >: Only partial. : > : >You should be getting a change notification on the first access after : >the change happens... : : Right, that's what I mean by "partial". Full support would be an interrupt : when a media is removed or inserted. And what hardware, apart from PC Card, actually supports this? Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:21:47 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB7DD16A4CE; Tue, 29 Mar 2005 08:21:47 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id C61E643D5D; Tue, 29 Mar 2005 08:21:46 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T8LWNN039954; Tue, 29 Mar 2005 10:21:32 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:11:48 PDT." <20050329.011148.69987814.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:21:32 +0200 Message-ID: <39953.1112084492@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:21:47 -0000 In message <20050329.011148.69987814.imp@bsdimp.com>, "M. Warner Losh" writes: >In message: <31970.1112016818@critter.freebsd.dk> > "Poul-Henning Kamp" writes: >: We should get an async event as soon as the media disappears. > >We don't really need to know it is gone until the next time we try to >access it... Tell that to somebody who is editing a document on the floppy that is no longer there :-) And while I agree with you that in one sense we don't _really_ need to know. But in another and more important sense I think we need to critically consider the actual usage model seen from a users point of view. And once we have settled on that model, we should implement it to the best of our ability, rather than try to see what we "can get away with". I will maintain, based on what little that I have read about user interfaces, that the logical and intuitive behaviour for a computing system is to notice immediately (< 2s) that a storage media has been removed. I'm willing to be a tad more tolerant about inserts, but not much more than 5 seconds. I don't really care if our hardware is lame and brain-dead and needs to be polled in Shakespearan english by actors in victorian custumes, our job is to hide all that crap and give the system what to the users look like a consistent and predictable behaviour. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:23:42 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C68E116A4CE; Tue, 29 Mar 2005 08:23:42 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F85A43D5E; Tue, 29 Mar 2005 08:23:42 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T8NUJ5040084; Tue, 29 Mar 2005 10:23:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:16:33 PDT." <20050329.011633.33548829.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:23:30 +0200 Message-ID: <40083.1112084610@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:23:42 -0000 In message <20050329.011633.33548829.imp@bsdimp.com>, "M. Warner Losh" writes: >: >: Only partial. >: > >: >You should be getting a change notification on the first access after >: >the change happens... >: >: Right, that's what I mean by "partial". Full support would be an interrupt >: when a media is removed or inserted. > >And what hardware, apart from PC Card, actually supports this? >From my point of view that is not really a relevant question in this discussion. The driver write will have to work with whatever his hardware can do, and compensate for less than ideal support with polling if necessary. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:24:33 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AD3F16A4CE; Tue, 29 Mar 2005 08:24:33 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EA1443D39; Tue, 29 Mar 2005 08:24:32 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T8OL8l040099; Tue, 29 Mar 2005 10:24:22 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Stijn Hoop From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 10:16:05 +0200." <20050329081605.GA57775@pcwin002.win.tue.nl> Date: Tue, 29 Mar 2005 10:24:21 +0200 Message-ID: <40098.1112084661@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:24:33 -0000 In message <20050329081605.GA57775@pcwin002.win.tue.nl>, Stijn Hoop writes: > >From a desktop user experience point of view, it is rather nice to get >a notification if and when removable media disappears, without >continously polling said media. This statement intentionally ignores >the question of how to get such an event through the kernel to >userspace. GEOM has that mechanism already, what is lacking is drivers noticing and telling GEOM. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:42:46 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B43816A4CE for ; Tue, 29 Mar 2005 08:42:46 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 677AE43D2D for ; Tue, 29 Mar 2005 08:42:45 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8d2K7096513; Tue, 29 Mar 2005 01:39:02 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:39:05 -0700 (MST) Message-Id: <20050329.013905.97853189.imp@bsdimp.com> To: espen@modula.no From: "M. Warner Losh" In-Reply-To: <42490EBF.6020704@modula.no> References: <4245DEE6.9000505@modula.no> <20050329.005702.28817035.imp@bsdimp.com> <42490EBF.6020704@modula.no> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:42:46 -0000 In message: <42490EBF.6020704@modula.no> Espen Tagestad writes: : M. Warner Losh wrote: : > That's because you have a slow machine :-(. Its interrupt latency is : > too large. You're best bet is to hack sio.c to have a lower interrupt : > threshold. : : I don't think my machine is too slow, it is a 1,8Ghz Pentium 4 Mobile. : I'll have a look in sio.c on how to lower the interrupt threshold. Let me rephrase: Your machine is too slow at servicing the interrupts. Otherwise you wouldn't get an sio overflow. Lowering the interrupt threshold can deal with this problem, since it increases the amount of latency that your machine will have. This is 4.x, so you should still see decent interrupt latency, even with non-fast interrupts. This doesn't match my expectations, since I've run the non-fast interrupts at 38400 before on 4.x, and I'd expect that something else is going on. Either you aren't getting them, or the device looks like a 16550 because that's all we've enabled in its fifo, and the wireless data rates are much higher and need something special done with them. : > : I've read a lot of documentation on the net about this issue, and I : > : think I've tried most of the tips and tricks suggested. I tried to : > : change the irq assigned for the card without luck, I have set the : > : cp4ticks to 4096 in sio.c (that removed the interrupt-level buffer : > : overflows in the log, but then network still don't work as it should), I : > : changed the list of available irqs in pccard.conf, and I really don't : > : know what to do next. : > : > What does it mean 'network doesn't work'. : : I get connected, but when transfering special amounts of data (may be : binary) the network does not respond. Another example is that ssh don't : work unless I use ssh version 1. http works, but https does not. And : when the network doesn't work (but I am still connected via ppp) I get : this sio overflows in the log. Getting sio overflows means that packet checksums should fail and retransmission should happen. If you get only a few, it should still work. chances are good that simpler, less bursty/chatty protocols work better, which is what you are seeing. : > : The irq seems to be hardcoded to 3, but in Windows it shows up with irq : > : 7, which in the FreeBSD log I get a message like this: stray irq 7. The : > : card works well in Windows, so I don't think is a hardware problem. : > : > Yes. We use pci interrupts when we can with oldcard. One can use : > other kinds of interrupts, but I doubt that will help too much... : : Hmm, ok. On second thought you may benefit from using isa interrupts. hw.pcic_intr_path=1 will allow you to assign interrupts via pccard.conf. This may or may not help. If it doesn't, make sure you are actually getting the interrupt (vmstat -i). : > : Does anyone have any tips or suggestions on how to get this card to work : > : properly with FreeBSD? Has anyone managed to get this card, or some of : > : the other Sony-Ericsson GC-cards, to work at all with FreeBSD? : > : > Hacking sio.c is your best bet. If you can service the interrupts : > fast enough, and get the data into ppp, it should work. If you are : > getting the data and the network isn't working, then you'll need to : > diagnose why. : : I'm very sure that there's a problem with the interrupts, since I'm : getting these sio overflows in my log. They often appear when the : network do not respond. Do you have any tips on what to look for in : sio.c? :) On FreeBSD 4 I increased cp4ticks to 4096, after someone (I : don't remember where) said that this value could be too small for : 115200. I've also set the speed in ppp.conf to 9200, but still the same : result. Do you know if your card is actually respecting the baud rate set, or just sending it as fast as it can? What data rates does the device handle? com->fifo_image = com->unit == siotsunit ? 0 : t->c_ispeed <= 4800 ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_MEDH; You might change this to be FIFO_ENABLE, which will give you more interrupts, but a greater interrupt tolerenace. You should also investigating to see if the card has a larger fifo that can be enabled (because it really is a 16650 or 16950 or the like). This may help quite a bit if the card emulates something with a much larger fifo. Are you sure you are even getting interrupts for the sio card? vmstat -i will tell you. Otherwise, sio is falling back into polling mode, which works OK for slow data speeds, be terrible at high data rate. : > : PS. The reason why I don't run FreeBSD 5 is that it just don't work on : > : thia laptop at all. : > : > bummer. : : Well, I got FreeBSD 5 working yesterday, as I wrote in one of my : previous posts. The symptoms is the same, but it takes much longer time : until I get the sio interrupt-overflows in the system log. Often I get : only one log entry, but the network is still not responding as it should. Right now, I'd concentrate on understanding why 4.x fails. I've run non-fast interrupts there as fast as 38400 w/o lost data on a 4.x laptop. 5.x's interrupt preformance might not be as good as 4.x's, so we should try to track down why interrupt latency is hurting you so much more than it hurts others. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:48:42 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 261AB16A537; Tue, 29 Mar 2005 08:48:42 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0BED43D5C; Tue, 29 Mar 2005 08:48:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T8k0Zp096581; Tue, 29 Mar 2005 01:46:00 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 01:46:02 -0700 (MST) Message-Id: <20050329.014602.66168889.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <39953.1112084492@critter.freebsd.dk> References: <20050329.011148.69987814.imp@bsdimp.com> <39953.1112084492@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:48:42 -0000 In message: <39953.1112084492@critter.freebsd.dk> "Poul-Henning Kamp" writes: : I will maintain, based on what little that I have read about user : interfaces, that the logical and intuitive behaviour for a computing : system is to notice immediately (< 2s) that a storage media has : been removed. I'm willing to be a tad more tolerant about inserts, : but not much more than 5 seconds. Then we'd have to poll every second in a sane way to accomplish that. And finding the sane way that doesn't interfere with other bus usage may be tricky. Unless we're going to give events to the actual user (meaning userland entities that inform the user in a friendly way), I'd maintain that there's no difference between knowing that the media is ejected immediately, and the time of next use. The user experience will be the same either way. : I don't really care if our hardware is lame and brain-dead and needs : to be polled in Shakespearan english by actors in victorian custumes, : our job is to hide all that crap and give the system what to the : users look like a consistent and predictable behaviour. Assuming, of course, that it can be done with a reasonable level of performance for the rest of the system, and that unintended consequences of the polling don't happen (like keeping a disk spinning all the time, when it would have spun down). However, other systems do effect polling in some fashion without spinning things up, so it would be just a matter of finding these things. In the short run, however, adding a few checks to critical parts of the path, like daopen, would make the user experience much better. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 08:57:43 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B5CB16A4CE; Tue, 29 Mar 2005 08:57:43 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD2FB43D31; Tue, 29 Mar 2005 08:57:42 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.3/8.13.1) with ESMTP id j2T8vSm2040327; Tue, 29 Mar 2005 10:57:28 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 29 Mar 2005 01:46:02 PDT." <20050329.014602.66168889.imp@bsdimp.com> Date: Tue, 29 Mar 2005 10:57:28 +0200 Message-ID: <40326.1112086648@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 08:57:43 -0000 In message <20050329.014602.66168889.imp@bsdimp.com>, "M. Warner Losh" writes: >Then we'd have to poll every second in a sane way to accomplish that. >And finding the sane way that doesn't interfere with other bus usage >may be tricky. > >Unless we're going to give events to the actual user (meaning userland >entities that inform the user in a friendly way), I'd maintain that >there's no difference between knowing that the media is ejected >immediately, and the time of next use. The user experience will be >the same either way. The filesystems could get an upcall now when the disk disappears, but I have not had time to try to implement this sensibly in any filesystems yet. >In the short run, however, adding a few checks to critical parts of >the path, like daopen, would make the user experience much better. Absolutely, I just get uncomfortable when I see too much "...we can get away with...", I want us to stay the UNIX that solves problems the right way. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 09:03:57 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D735716A4D6; Tue, 29 Mar 2005 09:03:57 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FD9843D31; Tue, 29 Mar 2005 09:03:57 +0000 (GMT) (envelope-from imp@BSDIMP.COM) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2T921pi096794; Tue, 29 Mar 2005 02:02:01 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 02:02:03 -0700 (MST) Message-Id: <20050329.020203.94399805.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <40326.1112086648@critter.freebsd.dk> References: <20050329.014602.66168889.imp@bsdimp.com> <40326.1112086648@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 09:03:58 -0000 In message: <40326.1112086648@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20050329.014602.66168889.imp@bsdimp.com>, "M. Warner Losh" writes: : : >Then we'd have to poll every second in a sane way to accomplish that. : >And finding the sane way that doesn't interfere with other bus usage : >may be tricky. : > : >Unless we're going to give events to the actual user (meaning userland : >entities that inform the user in a friendly way), I'd maintain that : >there's no difference between knowing that the media is ejected : >immediately, and the time of next use. The user experience will be : >the same either way. : : The filesystems could get an upcall now when the disk disappears, : but I have not had time to try to implement this sensibly in any : filesystems yet. This would be useful. : >In the short run, however, adding a few checks to critical parts of : >the path, like daopen, would make the user experience much better. : : Absolutely, I just get uncomfortable when I see too much "...we can : get away with...", I want us to stay the UNIX that solves problems : the right way. engineering is always a tradeoff between what we can easily get done to ease current pain, versus what we can get done later and better, but with more pain to the user between now and then. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 10:22:27 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAE6D16A4CE; Tue, 29 Mar 2005 10:22:27 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E1F843D3F; Tue, 29 Mar 2005 10:22:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 41DDF7A423; Tue, 29 Mar 2005 02:22:25 -0800 (PST) Message-ID: <42492C60.50005@elischer.org> Date: Tue, 29 Mar 2005 02:22:24 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en, hu MIME-Version: 1.0 To: "M. Warner Losh" References: <20050329.010433.66709025.imp@bsdimp.com> <39800.1112083716@critter.freebsd.dk> <20050329.011633.33548829.imp@bsdimp.com> In-Reply-To: <20050329.011633.33548829.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 10:22:27 -0000 M. Warner Losh wrote: >In message: <39800.1112083716@critter.freebsd.dk> > "Poul-Henning Kamp" writes: >: In message <20050329.010433.66709025.imp@bsdimp.com>, "M. Warner Losh" writes: >: >: >: Only partial. >: > >: >You should be getting a change notification on the first access after >: >the change happens... >: >: Right, that's what I mean by "partial". Full support would be an interrupt >: when a media is removed or inserted. > >And what hardware, apart from PC Card, actually supports this? > > well, back to the original argument.... usb and firewire devices do.. >Warner > > From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 10:44:17 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B140616A4CE; Tue, 29 Mar 2005 10:44:17 +0000 (GMT) Received: from mail23.syd.optusnet.com.au (mail23.syd.optusnet.com.au [211.29.133.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD74043D68; Tue, 29 Mar 2005 10:44:16 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) j2TAhnfd022240 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 29 Mar 2005 20:43:49 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])j2TAhm7l070056; Tue, 29 Mar 2005 20:43:48 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost)j2TAhlOk070055; Tue, 29 Mar 2005 20:43:47 +1000 (EST) (envelope-from pjeremy) Date: Tue, 29 Mar 2005 20:43:47 +1000 From: Peter Jeremy To: Stijn Hoop Message-ID: <20050329104347.GB69824@cirb503493.alcatel.com.au> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> <20050329.011148.69987814.imp@bsdimp.com> <20050329081605.GA57775@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050329081605.GA57775@pcwin002.win.tue.nl> User-Agent: Mutt/1.4.2i cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 10:44:17 -0000 On Tue, 2005-Mar-29 10:16:05 +0200, Stijn Hoop wrote: >From a desktop user experience point of view, it is rather nice to get >a notification if and when removable media disappears, without >continously polling said media. There's no reason why the kernel couldn't regularly poll removable media as long as it didn't interfere with normal operation of the device or intrude upon the user (who remembers Amiga FDD's ticking?). > This statement intentionally ignores >the question of how to get such an event through the kernel to >userspace. I don't believe this is a problem. For a command line interface, you run "ls" and get a snapshot of the directory contents - you don't expect the output from an old "ls" to magically update itself when a file is deleted, you re-run "ls". GUI file browsers are more of a problem but as long as the browser doesn't cache the results from one invocation to another, this wouldn't seem to be a problem. In any case, the majority of the computer users seem quite happy with a user interface that, upon ejecting a removable medium and inserting a different medium, will happily display the union of the contents of the old and new media. It would take a seriously warped mind to manage anything so non-intuitive so anything we achieve will be an improvement over the status quo. -- Peter Jeremy From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 10:47:07 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6471916A4CF; Tue, 29 Mar 2005 10:47:07 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7057D43D5A; Tue, 29 Mar 2005 10:47:06 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2TAknsf038530 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 29 Mar 2005 12:46:51 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2TAjpVK095238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2005 12:45:52 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2TAjp9d033493; Tue, 29 Mar 2005 12:45:51 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2TAjpWl033492; Tue, 29 Mar 2005 12:45:51 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2005 12:45:51 +0200 From: Bernd Walter To: Julian Elischer Message-ID: <20050329104549.GF28703@cicely12.cicely.de> References: <20050329.010433.66709025.imp@bsdimp.com> <39800.1112083716@critter.freebsd.dk> <20050329.011633.33548829.imp@bsdimp.com> <42492C60.50005@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42492C60.50005@elischer.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 10:47:07 -0000 On Tue, Mar 29, 2005 at 02:22:24AM -0800, Julian Elischer wrote: > > > M. Warner Losh wrote: > > >In message: <39800.1112083716@critter.freebsd.dk> > > "Poul-Henning Kamp" writes: > >: In message <20050329.010433.66709025.imp@bsdimp.com>, "M. Warner Losh" > >writes: > >: > >: >: Only partial. > >: > > >: >You should be getting a change notification on the first access after > >: >the change happens... > >: > >: Right, that's what I mean by "partial". Full support would be an > >interrupt > >: when a media is removed or inserted. > > > >And what hardware, apart from PC Card, actually supports this? > > > > > > well, back to the original argument.... usb and firewire devices do.. No - you can't insert media directly into usb or firewire. You always need a usb/firewire drive in between - usb/firewire are not drives - they are busses. Ever tried to get a CF media directly into your USB plug? No USB drive will contact you on media exchange - USB has no usefull mechanism for a device to contact the host. PC Card can be seen differently. Current PC Card usually implement an ata drive, but older JEDEC flash cards do not. But since we don't create a JEDEC drive instance independend of media existence this is more an academic view. In real world we see drive insert/eject with PC Card too. There is no drive without anything inserted. There are also points were things are not so obvious on the first look. CF ist one example. Technically it builds a whole ata drive in all three modes. But if we use it in an USB flash card reader we have to handle it as a media in a USB drive. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 10:52:10 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8700416A4CE; Tue, 29 Mar 2005 10:52:10 +0000 (GMT) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB9A943D5E; Tue, 29 Mar 2005 10:52:07 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by kweetal.tue.nl (Postfix, from userid 40) id 1F05713B634; Tue, 29 Mar 2005 12:52:07 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id 17F4213B8D3; Tue, 29 Mar 2005 12:52:01 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.3/8.13.1/Submit) id j2TAq0XF061060; Tue, 29 Mar 2005 12:52:00 +0200 (CEST) (envelope-from stijn) Date: Tue, 29 Mar 2005 12:52:00 +0200 From: Stijn Hoop To: Peter Jeremy Message-ID: <20050329105200.GB57775@pcwin002.win.tue.nl> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> <20050329.011148.69987814.imp@bsdimp.com> <20050329081605.GA57775@pcwin002.win.tue.nl> <20050329104347.GB69824@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uQr8t48UFsdbeI+V" Content-Disposition: inline In-Reply-To: <20050329104347.GB69824@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Spam-DCC: CollegeOfNewCaledonia: kweetal.tue.nl 1189; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on kweetal.tue.nl X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=6.3 tests=BAYES_00 autolearn=ham version=2.64 cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 10:52:10 -0000 --uQr8t48UFsdbeI+V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 29, 2005 at 08:43:47PM +1000, Peter Jeremy wrote: > On Tue, 2005-Mar-29 10:16:05 +0200, Stijn Hoop wrote: > > From a desktop user experience point of view, it is rather nice to get > > a notification if and when removable media disappears, without > > continously polling said media. >=20 > There's no reason why the kernel couldn't regularly poll removable media > as long as it didn't interfere with normal operation of the device or > intrude upon the user (who remembers Amiga FDD's ticking?). Powersaving reasons (as has been stated in this thread already, I believe) come to mind. Or, in some cases, physical wear & tear on the hardware -- although I believe it's not the case for regular USB flash drives, I can imagine an implementation that needs to access the physical media in order to determine status (cardreaders?). But as Poul-Henning said, it's up to the drivers themselves to resort to polling if needed. > > This statement intentionally ignores > > the question of how to get such an event through the kernel to > > userspace. >=20 > I don't believe this is a problem. For a command line interface, you > run "ls" and get a snapshot of the directory contents - you don't expect > the output from an old "ls" to magically update itself when a file is > deleted, you re-run "ls". GUI file browsers are more of a problem but > as long as the browser doesn't cache the results from one invocation to > another, this wouldn't seem to be a problem. I was not thinking of contents exactly; more of the desktop user experience where, by inserting an USB drive, an icon appears on the desktop. That icon should be removed when the drive is removed again. Other similar usecases abound. > In any case, the majority of the computer users seem quite happy with > a user interface that, upon ejecting a removable medium and inserting > a different medium, will happily display the union of the contents of > the old and new media. I might be misreading the sarcasm here, but I for one am not happy with the mixed contents. I'm already a bit weary of using removable media with FreeBSD because I'm unsure what works and what does not. This is a situation I would like to remedy. > It would take a seriously warped mind to > manage anything so non-intuitive so anything we achieve will be an > improvement over the status quo. That I can agree with. --Stijn --=20 There are of course many problems connected with life, of which some of the most popular are 'Why are people born?', 'Why do they die?', and `Why do they spend so much of the intervening time wearing digital watches?' -- Douglas Adams, "The Hitchhikers Guide To The Galaxy" --uQr8t48UFsdbeI+V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCSTNQY3r/tLQmfWcRAgSMAJ485AnYOAgisKErCK7WigEmPj/zVgCgga3L Mz4cW1UNSFyb/O/P6r4ohaE= =N1B3 -----END PGP SIGNATURE----- --uQr8t48UFsdbeI+V-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 11:14:03 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD6116A4CE for ; Tue, 29 Mar 2005 11:14:03 +0000 (GMT) Received: from totem.fix.no (totem.fix.no [80.91.36.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86CC643D60 for ; Tue, 29 Mar 2005 11:14:02 +0000 (GMT) (envelope-from espent@totem.fix.no) Received: from localhost (totem.fix.no [80.91.36.20]) by totem.fix.no (Postfix) with ESMTP id 09DC25F3828; Tue, 29 Mar 2005 13:14:01 +0200 (CEST) Received: from totem.fix.no ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id 72781-01-6; Tue, 29 Mar 2005 13:13:57 +0200 (CEST) Received: by totem.fix.no (Postfix, from userid 1032) id A79115F3827; Tue, 29 Mar 2005 13:13:57 +0200 (CEST) Date: Tue, 29 Mar 2005 13:13:57 +0200 From: Espen Tagestad To: "M. Warner Losh" Message-ID: <20050329111357.GA72575@totem.fix.no> References: <4245DEE6.9000505@modula.no> <20050329.005702.28817035.imp@bsdimp.com> <42490EBF.6020704@modula.no> <20050329.013905.97853189.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050329.013905.97853189.imp@bsdimp.com> User-Agent: Mutt/1.5.6i cc: espen@modula.no cc: freebsd-mobile@freebsd.org Subject: Re: Sony Ericsson GC85 GPRS/EDGE pcmcia card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 11:14:03 -0000 On Tue, Mar 29, 2005 at 01:39:05AM -0700, M. Warner Losh wrote: > Let me rephrase: Your machine is too slow at servicing the > interrupts. Otherwise you wouldn't get an sio overflow. Lowering the > interrupt threshold can deal with this problem, since it increases the > amount of latency that your machine will have. This is 4.x, so you > should still see decent interrupt latency, even with non-fast > interrupts. This doesn't match my expectations, since I've run the > non-fast interrupts at 38400 before on 4.x, and I'd expect that > something else is going on. Either you aren't getting them, or the > device looks like a 16550 because that's all we've enabled in its > fifo, and the wireless data rates are much higher and need something > special done with them. Ok, I've reinstalled FreeBSD 4. The device appear like a 16550A in the log: sio4 at port 0x2e8-0x2ef irq 7 flags 0x40000 slot 1 on pccard1 sio4: type 16550A > Getting sio overflows means that packet checksums should fail and > retransmission should happen. If you get only a few, it should still > work. chances are good that simpler, less bursty/chatty protocols > work better, which is what you are seeing. Ok. > On second thought you may benefit from using isa interrupts. > hw.pcic_intr_path=1 will allow you to assign interrupts via > pccard.conf. This may or may not help. If it doesn't, make sure you > are actually getting the interrupt (vmstat -i). Now that worked. Setting hw.pcic.intr_path=1 let me force the sio-device to irq 7. All messages are now gone, but the card still seems to have problems. The "unable to activate interrupt in fast mode - using normal mode" is gone, and I can't get any more sio overflows in the systemlog. vmstat -i shows that sio4 irq7 is getting a lot of interrupts. Could it be that it is in a conflict with other hardware on the system? I know that the paralell port may use irq7. I have disabled it in my kernel config, though. > Do you know if your card is actually respecting the baud rate set, or > just sending it as fast as it can? What data rates does the device > handle? I have no idea. The card should support higher data rates than 115200, because EDGE can go up to 238kbps (almost 3G). In Windows the card is also a com port, but the highest posible baud rate is 115200. I guess you need a little more to achieve 238kbps. > com->fifo_image = com->unit == siotsunit ? 0 > : t->c_ispeed <= 4800 > ? FIFO_ENABLE : FIFO_ENABLE | FIFO_RX_MEDH; > > You might change this to be FIFO_ENABLE, which will give you more > interrupts, but a greater interrupt tolerenace. You should also > investigating to see if the card has a larger fifo that can be enabled > (because it really is a 16650 or 16950 or the like). This may help > quite a bit if the card emulates something with a much larger fifo. I done that too. The log entries may gave disappeared because of that, not the hard setting of irq7 via hw.pcic.intr_path and pcmcia.conf. Maybe I should try them one at a time, I think I got too optimistic here :) But still I have the same problem. > Are you sure you are even getting interrupts for the sio card? vmstat > -i will tell you. Otherwise, sio is falling back into polling mode, > which works OK for slow data speeds, be terrible at high data rate. Yes, it is getting interrupts according to the output of vmstat -i, at irq7. I have also now tried to connect with the port set to both 115200 and 38400. But the result is the same.... :( > Right now, I'd concentrate on understanding why 4.x fails. I've run > non-fast interrupts there as fast as 38400 w/o lost data on a 4.x > laptop. 5.x's interrupt preformance might not be as good as 4.x's, so > we should try to track down why interrupt latency is hurting you so > much more than it hurts others. That's ok. As I said I reinstalled FreeBSD 4 now, so we can try solving it there first. I've also tried running at 38400, see above. regards, Espen From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 11:21:03 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2257016A4CE; Tue, 29 Mar 2005 11:21:03 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2765443D5F; Tue, 29 Mar 2005 11:21:02 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j2TBKnsf039613 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 29 Mar 2005 13:20:51 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j2TBKLVK095433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2005 13:20:22 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j2TBKLqj033669; Tue, 29 Mar 2005 13:20:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j2TBIUwB033665; Tue, 29 Mar 2005 13:18:30 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2005 13:18:30 +0200 From: Bernd Walter To: Stijn Hoop Message-ID: <20050329111830.GG28703@cicely12.cicely.de> References: <20050328131318.GC14532@cicely12.cicely.de> <31970.1112016818@critter.freebsd.dk> <20050329.011148.69987814.imp@bsdimp.com> <20050329081605.GA57775@pcwin002.win.tue.nl> <20050329104347.GB69824@cirb503493.alcatel.com.au> <20050329105200.GB57775@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050329105200.GB57775@pcwin002.win.tue.nl> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=0.0 required=3.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de X-Mailman-Approved-At: Tue, 29 Mar 2005 13:39:06 +0000 cc: current@freebsd.org cc: vova@fbsd.ru cc: Peter Jeremy cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 11:21:03 -0000 On Tue, Mar 29, 2005 at 12:52:00PM +0200, Stijn Hoop wrote: > On Tue, Mar 29, 2005 at 08:43:47PM +1000, Peter Jeremy wrote: > > On Tue, 2005-Mar-29 10:16:05 +0200, Stijn Hoop wrote: > > > From a desktop user experience point of view, it is rather nice to get > > > a notification if and when removable media disappears, without > > > continously polling said media. > > > > There's no reason why the kernel couldn't regularly poll removable media > > as long as it didn't interfere with normal operation of the device or > > intrude upon the user (who remembers Amiga FDD's ticking?). > > Powersaving reasons (as has been stated in this thread already, I > believe) come to mind. Or, in some cases, physical wear & tear on the > hardware -- although I believe it's not the case for regular USB flash > drives, I can imagine an implementation that needs to access the > physical media in order to determine status (cardreaders?). Wear shouldn't be a problem. All recent media types have mechanism for that. > But as Poul-Henning said, it's up to the drivers themselves to resort > to polling if needed. Yes - and the most interesting these days is the da driver. > > > This statement intentionally ignores > > > the question of how to get such an event through the kernel to > > > userspace. > > > > I don't believe this is a problem. For a command line interface, you > > run "ls" and get a snapshot of the directory contents - you don't expect > > the output from an old "ls" to magically update itself when a file is > > deleted, you re-run "ls". GUI file browsers are more of a problem but > > as long as the browser doesn't cache the results from one invocation to > > another, this wouldn't seem to be a problem. > > I was not thinking of contents exactly; more of the desktop user > experience where, by inserting an USB drive, an icon appears on the > desktop. That icon should be removed when the drive is removed again. > Other similar usecases abound. But since you are talking about drive removal there shouldn't be a real problem. OK - GEOM and CAM could issue newbus notifications, but I think that's already on someones todo list. So far you get an umass attachment and easily process the rest. > > In any case, the majority of the computer users seem quite happy with > > a user interface that, upon ejecting a removable medium and inserting > > a different medium, will happily display the union of the contents of > > the old and new media. > > I might be misreading the sarcasm here, but I for one am not happy > with the mixed contents. I'm already a bit weary of using removable > media with FreeBSD because I'm unsure what works and what does not. > This is a situation I would like to remedy. Everything works fine as long as you trigger a GEOM rescan after media exchange. drive exchange doesn't need any special handling. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 15:47:49 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E50C16A4CE; Tue, 29 Mar 2005 15:47:49 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A5BB43D1D; Tue, 29 Mar 2005 15:47:48 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2TFiUFi000848; Tue, 29 Mar 2005 08:44:30 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 08:44:30 -0700 (MST) Message-Id: <20050329.084430.74749236.imp@bsdimp.com> To: julian@elischer.org From: Warner Losh In-Reply-To: <42492C60.50005@elischer.org> References: <39800.1112083716@critter.freebsd.dk> <20050329.011633.33548829.imp@bsdimp.com> <42492C60.50005@elischer.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: ticso@cicely.de Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 15:47:49 -0000 > well, back to the original argument.... usb and firewire devices do.. No they don't. They umass device (the thing that the CF card plugs into) does. However, there's no asynchonous event that happens when the CF (or whatever) card is inserted or removed. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 16:14:21 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D091E16A4CE for ; Tue, 29 Mar 2005 16:14:21 +0000 (GMT) Received: from smtp109.mail.sc5.yahoo.com (smtp109.mail.sc5.yahoo.com [66.163.170.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 073C143D5F for ; Tue, 29 Mar 2005 16:14:21 +0000 (GMT) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?192.168.1.49?) (khairil?yusof@219.94.119.249 with plain) by smtp109.mail.sc5.yahoo.com with SMTP; 29 Mar 2005 16:14:19 -0000 From: Khairil Yusof To: Par Leijonhufvud In-Reply-To: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-2oZLzKeqPx1qaGXzxhNW" Date: Tue, 29 Mar 2005 19:44:51 +0800 Message-Id: <1112096691.59233.2.camel@wolverine> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port cc: Freebsd-mobile@freebsd.org Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 16:14:22 -0000 --=-2oZLzKeqPx1qaGXzxhNW Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-03-27 at 20:48 +0200, Par Leijonhufvud wrote: > I just tried to run healthd on my R50E (5.3-RELEASE), and at first got > worried about the 255 C temp... Anyone know what I'm missing? Or is it > just not supported? I get the same temp with lmmon, so I suspect the > latter. You should be able to get the temperature via acpi: $ sysctl -a | grep temperature hw.acpi.thermal.tz0.temperature: 48.0C CPU fan, shutdown when critical etc. are also handled by acpi. Hope this helps. --=-2oZLzKeqPx1qaGXzxhNW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCST+zDAqnLW/+/X8RAjcxAJ4z4aXTfBPjfBuuvcXTVZh1zzhPdwCg/ewZ /zhDoB6+Cz+mx/RZ/hbLpds= =z8wn -----END PGP SIGNATURE----- --=-2oZLzKeqPx1qaGXzxhNW-- From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 16:20:05 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 813CF16A4CE; Tue, 29 Mar 2005 16:20:05 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 873CE43D62; Tue, 29 Mar 2005 16:20:04 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2TGHKx7002893; Tue, 29 Mar 2005 09:17:20 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 09:17:23 -0700 (MST) Message-Id: <20050329.091723.04191734.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20050329104549.GF28703@cicely12.cicely.de> References: <20050329.011633.33548829.imp@bsdimp.com> <42492C60.50005@elischer.org> <20050329104549.GF28703@cicely12.cicely.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: vova@fbsd.ru cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org cc: phk@phk.freebsd.dk cc: julian@elischer.org Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 16:20:05 -0000 In message: <20050329104549.GF28703@cicely12.cicely.de> Bernd Walter writes: : PC Card can be seen differently. : Current PC Card usually implement an ata drive, but older JEDEC : flash cards do not. But we don't support older JEDEC flash cards :-) If we did, however, they would go away when the card was ejected... : But since we don't create a JEDEC drive instance independend of : media existence this is more an academic view. Yes. : In real world we see drive insert/eject with PC Card too. : There is no drive without anything inserted. Yes. The drive and the controler both go away when you swap out the CF card that's in a PC Card adapter. : There are also points were things are not so obvious on the first look. : CF ist one example. : Technically it builds a whole ata drive in all three modes. : But if we use it in an USB flash card reader we have to handle it : as a media in a USB drive. Correct. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 17:07:46 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E70016A4CE; Tue, 29 Mar 2005 17:07:46 +0000 (GMT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id B49AF43D4C; Tue, 29 Mar 2005 17:07:45 +0000 (GMT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id j2TH7gaa052833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Tue, 29 Mar 2005 12:07:42 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id j2TH7gTo052830; Tue, 29 Mar 2005 12:07:42 -0500 (EST) (envelope-from wollman) Date: Tue, 29 Mar 2005 12:07:42 -0500 (EST) From: Garrett Wollman Message-Id: <200503291707.j2TH7gTo052830@khavrinen.lcs.mit.edu> To: Warner Losh In-Reply-To: <20050329.084430.74749236.imp@bsdimp.com> References: <39800.1112083716@critter.freebsd.dk> <20050329.011633.33548829.imp@bsdimp.com> <42492C60.50005@elischer.org> <20050329.084430.74749236.imp@bsdimp.com> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: current@FreeBSD.ORG cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 17:07:46 -0000 < said: > No they don't. They umass device (the thing that the CF card plugs > into) does. However, there's no asynchonous event that happens when > the CF (or whatever) card is inserted or removed. With newer memory devices, the card *is* the umass device. Certainly that's the case with Sony Memory Stick. The "reader" is nothing more than a hub. (CF is unusual in that regard because it's really a slimmed-down PC-CARD device.) -GAWollman From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 17:28:38 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E463B16A4CF for ; Tue, 29 Mar 2005 17:28:38 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C62643D60 for ; Tue, 29 Mar 2005 17:28:38 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 24F8E311C for ; Tue, 29 Mar 2005 19:29:15 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 53288-6B93CEC6; Tue, 29 Mar 2005 19:29:14 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 88E9C30C4 for ; Tue, 29 Mar 2005 19:29:14 +0200 (CEST) Message-ID: <4249907E.9010609@splatterworld.de> Date: Tue, 29 Mar 2005 19:29:34 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> <1112096691.59233.2.camel@wolverine> In-Reply-To: <1112096691.59233.2.camel@wolverine> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.51; host: guga.plzk.de) cc: Freebsd-mobile@freebsd.org Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 17:28:39 -0000 Khairil Yusof schrieb: > $ sysctl -a | grep temperature > >hw.acpi.thermal.tz0.temperature: 48.0C > >CPU fan, shutdown when critical etc. are also handled by acpi. > >Hope this helps > > as short hint, if u got a value like hw.acpi.thermal.tz0.temperature: 3212 u have to convert this into (celsius maybe) doing this by calculate: (value/10)-273 = 48.2 -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 17:28:41 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 470D716A4CE; Tue, 29 Mar 2005 17:28:41 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE52643D48; Tue, 29 Mar 2005 17:28:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j2THRi8h003665; Tue, 29 Mar 2005 10:27:44 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 29 Mar 2005 10:27:48 -0700 (MST) Message-Id: <20050329.102748.32720578.imp@bsdimp.com> To: wollman@khavrinen.lcs.mit.edu From: "M. Warner Losh" In-Reply-To: <200503291707.j2TH7gTo052830@khavrinen.lcs.mit.edu> References: <42492C60.50005@elischer.org> <20050329.084430.74749236.imp@bsdimp.com> <200503291707.j2TH7gTo052830@khavrinen.lcs.mit.edu> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@FreeBSD.ORG cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 17:28:41 -0000 In message: <200503291707.j2TH7gTo052830@khavrinen.lcs.mit.edu> Garrett Wollman writes: : < said: : : > No they don't. They umass device (the thing that the CF card plugs : > into) does. However, there's no asynchonous event that happens when : > the CF (or whatever) card is inserted or removed. : : With newer memory devices, the card *is* the umass device. Certainly : that's the case with Sony Memory Stick. The "reader" is nothing more : than a hub. (CF is unusual in that regard because it's really a : slimmed-down PC-CARD device.) But the 'hub' doesn't report when the memory device comes and goes. All the hubs I've tested recently have da devices for all the memory card(s) they can read and you have to do a camcontrol rescan after you've inserted the memory device to read. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 17:39:43 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15F0B16A4CE; Tue, 29 Mar 2005 17:39:43 +0000 (GMT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id A27A043D48; Tue, 29 Mar 2005 17:39:42 +0000 (GMT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id j2THddaa053081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.lcs.mit.edu issuer=SSL+20Client+20CA); Tue, 29 Mar 2005 12:39:40 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id j2THdd4M053078; Tue, 29 Mar 2005 12:39:39 -0500 (EST) (envelope-from wollman) Date: Tue, 29 Mar 2005 12:39:39 -0500 (EST) From: Garrett Wollman Message-Id: <200503291739.j2THdd4M053078@khavrinen.lcs.mit.edu> To: "M. Warner Losh" In-Reply-To: <20050329.102748.32720578.imp@bsdimp.com> References: <42492C60.50005@elischer.org> <20050329.084430.74749236.imp@bsdimp.com> <200503291707.j2TH7gTo052830@khavrinen.lcs.mit.edu> <20050329.102748.32720578.imp@bsdimp.com> X-Spam-Score: -19.8 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES X-Scanned-By: MIMEDefang 2.37 cc: current@FreeBSD.ORG cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Reattach/redetect allways connected umass device - is it possible ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 17:39:43 -0000 < said: > But the 'hub' doesn't report when the memory device comes and goes. > All the hubs I've tested recently have da devices for all the memory > card(s) they can read and you have to do a camcontrol rescan after > you've inserted the memory device to read. The one that I have (Sony MS-AC1) acts like a true USB hub. You eject the Memory Stick brand recordable medium and uhubN reports a child gone. (It works exactly the same if you use the camera's USB connection.) Perhaps Sony is the outlier here. -GAWollman From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 20:43:12 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6578916A4CE for ; Tue, 29 Mar 2005 20:43:12 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE29843D45 for ; Tue, 29 Mar 2005 20:43:11 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 3E832311C; Tue, 29 Mar 2005 22:43:52 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 54054-4B909410; Tue, 29 Mar 2005 22:43:50 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 7645230C4; Tue, 29 Mar 2005 22:43:50 +0200 (CEST) Message-ID: <4249BE1A.6050401@splatterworld.de> Date: Tue, 29 Mar 2005 22:44:10 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: pablo@lacnic.net, freebsd-mobile@freebsd.org X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.51; host: guga.plzk.de) Subject: Re: wireless linksys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 20:43:12 -0000 just an idea, way 1: grab the windows driver from the dlink ftp (use the italian one ftp.dlink.it / he's more often up to date) use "ndis" the bsd answer to ndiswrapper for linux have a look at http://www.freebsd.org/cgi/man.cgi?query=ndis&apropos=0&sektion=0&manpath=FreeBSD+5.3-RELEASE+and+Ports&format=html way 2: use project evil, its a more handy way to emulate windows drivers with bsd look here at the announcement http://lists.freebsd.org/pipermail/freebsd-hardware/2004-January/001005.html hope i could help -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 29 23:28:31 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDFAF16A4CE for ; Tue, 29 Mar 2005 23:28:31 +0000 (GMT) Received: from bsd.ultra-secure.de (bsd.ultra-secure.de [62.146.20.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF79E43D53 for ; Tue, 29 Mar 2005 23:28:30 +0000 (GMT) (envelope-from rainer@ultra-secure.de) Received: (qmail 86175 invoked by uid 1005); 29 Mar 2005 23:28:28 -0000 Received: from rainer@ultra-secure.de by bsd.ultra-secure.de by uid 89 with qmail-scanner-1.22 (clamdscan: 0.75.1. spamassassin: 2.64. Clear:RC:1(84.154.174.6):. Processed in 0.107896 secs); 29 Mar 2005 23:28:28 -0000 Received: from unknown (HELO ?192.168.1.10?) (rainer@ultra-secure.de@84.154.174.6) by bsd.ultra-secure.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 Mar 2005 23:28:28 -0000 Message-ID: <4249EE51.5040204@ultra-secure.de> Date: Wed, 30 Mar 2005 02:09:53 +0200 From: Rainer Duffner User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Finn References: <42483DAB.2000303@isi.edu> In-Reply-To: <42483DAB.2000303@isi.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Dell precision M70 ... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 23:28:31 -0000 Greg Finn wrote: > > We are considering bying a few of these hefty laptops for kernel > development > work. The FLCL has nothing to say about these. Does anyone have advice > regarding FreeBSD compatibility and this laptop? Does the NVIDIA-driver also work with the OpenGL cards? I've had quite good luck getting my Fujitsu-Siemens E8010 to work with FreeBSD 5.3 (S3 even worked). I needed to run VMware4, so I resorted to SuSE 9.2 for the moment. I hope to be able to try out 5.4 and a CURRENT snapshot later this month. The HighEnd-versions (Celsius Mobile H210 and H230) are even "more or less" (i.e.: on request) SuSE or RedHat certified, which could mean better compatibility with FreeBSD, too. The M70 only lists XP. The ATI-cards of the higher-end Lifebook and Celsius Mobile systems may be problem, though (I've only got a i865-gfx - I don't want to play games and I didn't want to pay the price-tag for something I don't use). Can't you just order one, see how it works out and return it in case it doesn't? Depending on how large your order ("few") is, you may be able to cut a special deal. cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer@ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 03:59:36 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98DFC16A4CE; Wed, 30 Mar 2005 03:59:36 +0000 (GMT) Received: from alcoholic.geiin.org (usen-59x87x89x234.ap-US02.usen.ad.jp [59.87.89.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0391243D45; Wed, 30 Mar 2005 03:59:36 +0000 (GMT) (envelope-from yoichi@geiin.org) Received: from alcoholic.local-net.geiin.org (alcoholic.local-net [192.168.1.1]) by alcoholic.geiin.org (Postfix) with ESMTP id 5DC561DF82; Wed, 30 Mar 2005 12:59:35 +0900 (JST) Date: Wed, 30 Mar 2005 12:59:35 +0900 Message-ID: <86ekdxg4wo.wl%yoichi@geiin.org> From: Yoichi NAKAYAMA To: wpaul@freebsd.org In-Reply-To: <87d5tri5c2.wl%yoichi@FreeBSD.org> References: <87zmwyclyb.wl%yoichi@FreeBSD.org> <20050320.102234.105099355.imp@bsdimp.com> <87y8cici5l.wl%yoichi@FreeBSD.org> <20050320.140430.82508419.imp@bsdimp.com> <87oedddc35.wl%yoichi@FreeBSD.org> <874qf5qnvn.wl%yoichi@FreeBSD.org> <87d5tri5c2.wl%yoichi@FreeBSD.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) Organization: Geiin.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: WLI2-CB-G54L doesn't work X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 03:59:36 -0000 At Wed, 23 Mar 2005 09:17:01 +0900, Yoichi Nakayama wrote: > > At Mon, 21 Mar 2005 19:44:44 +0900, > Yoichi Nakayama wrote: > > I invoked pciconf -l -v and it describes the card as > > none6@pci1:0:0: class=0x020000 card=0x03341154 chip=0x222017fe rev=0x00 hdr=0x00 > > vendor = 'InProComm Inc' > > class = network > > subclass = ethernet > > > > http://pciids.sourceforge.net/pci.ids saids > > 17fe Linksys, A Division of Cisco Systems > > 2220 [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01) > > > > I noticed I have misthought that it has ath chip, and I looked at > > http://buffalo.melcoinc.co.jp/download/driver/lan/wdrv.html (in Japanese) > > again. Then I found that I've wrongly looked at WLI-CB-AG54L spec instead > > of WLI2-CB-G54L which I have. > > Then I tried ndis driver, but I got following panic on "ifconfig ndis0 up": > panic: _mtx_lock_sleep: recursed on non-recursive mutex ndis softc lock @ /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1463 > It is caused by recursive lock introduced in if_ndis.c rev 1.82. I've cvsup'ed current box yesterday and confirmed that the problem has gone. Thanks for the fix! -- Yoichi NAKAYAMA From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 04:22:54 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 127F716A4CF; Wed, 30 Mar 2005 04:22:54 +0000 (GMT) In-Reply-To: <86ekdxg4wo.wl%yoichi@geiin.org> from Yoichi NAKAYAMA at "Mar 30, 2005 12:59:35 pm" To: yoichi@geiin.org (Yoichi NAKAYAMA) Date: Wed, 30 Mar 2005 04:22:54 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20050330042254.127F716A4CF@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-mobile@freebsd.org Subject: Re: WLI2-CB-G54L doesn't work X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 04:22:54 -0000 > At Wed, 23 Mar 2005 09:17:01 +0900, > Yoichi Nakayama wrote: > > > > At Mon, 21 Mar 2005 19:44:44 +0900, > > Yoichi Nakayama wrote: > > > I invoked pciconf -l -v and it describes the card as > > > none6@pci1:0:0: class=0x020000 card=0x03341154 chip=0x222017fe rev=0x00 hdr=0x00 > > > vendor = 'InProComm Inc' > > > class = network > > > subclass = ethernet > > > > > > http://pciids.sourceforge.net/pci.ids saids > > > 17fe Linksys, A Division of Cisco Systems > > > 2220 [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01) > > > > > > I noticed I have misthought that it has ath chip, and I looked at > > > http://buffalo.melcoinc.co.jp/download/driver/lan/wdrv.html (in Japanese) > > > again. Then I found that I've wrongly looked at WLI-CB-AG54L spec instead > > > of WLI2-CB-G54L which I have. > > > > Then I tried ndis driver, but I got following panic on "ifconfig ndis0 up": > > panic: _mtx_lock_sleep: recursed on non-recursive mutex ndis softc lock @ /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1463 > > It is caused by recursive lock introduced in if_ndis.c rev 1.82. > > I've cvsup'ed current box yesterday and confirmed that > the problem has gone. Thanks for the fix! > -- > Yoichi NAKAYAMA Does this mean your card actually works now with the NDISulator? I haven't been able to get my hands on a NIC with an InProComm chipset for testing yet, and nobody else has reported to me if it works or not. If you can confirm that it works with Project Evil, I would really appreciate it. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose ============================================================================= From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 05:32:57 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBBA516A4CE for ; Wed, 30 Mar 2005 05:32:57 +0000 (GMT) Received: from [212.112.40.199] (212-112-40-199.lidnet.net [212.112.40.199]) by mx1.FreeBSD.org (Postfix) with SMTP id 2FAD943D45 for ; Wed, 30 Mar 2005 05:32:56 +0000 (GMT) (envelope-from pkg@absaroka.eryn-lasgalen.org) Received: (qmail 29804 invoked by uid 1000); 30 Mar 2005 05:32:45 -0000 Date: Wed, 30 Mar 2005 07:32:45 +0200 From: Par Leijonhufvud To: Freebsd-mobile@freebsd.org Message-ID: <20050330053245.GA29697@absaroka.eryn-lasgalen.org> References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> <1112096691.59233.2.camel@wolverine> <4249907E.9010609@splatterworld.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4249907E.9010609@splatterworld.de> User-Agent: Mutt/1.5.5.1i Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 05:32:58 -0000 Stefan Bauer [2005.03.29] wrote: > if u got a value like hw.acpi.thermal.tz0.temperature: 3212 > > u have to convert this into (celsius maybe) doing this by calculate: > > (value/10)-273 = 48.2 That helps. 61 C does not sound overly high? /Par -- Par Leijonhufvud par@hunter-gatherer.org Movie The Wizard of Oz: Transported to a surreal landscape, a young girl kills the first woman she meets, then teams up with three complete strangers to kill again. From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 08:39:10 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B37E16A4CE for ; Wed, 30 Mar 2005 08:39:10 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F034443D5E for ; Wed, 30 Mar 2005 08:39:09 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 59FD4311C; Wed, 30 Mar 2005 10:39:55 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 56698-6776E120; Wed, 30 Mar 2005 10:39:54 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id A27CB30C4; Wed, 30 Mar 2005 10:39:54 +0200 (CEST) Message-ID: <424A65EB.4020609@splatterworld.de> Date: Wed, 30 Mar 2005 10:40:11 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Par Leijonhufvud References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> <1112096691.59233.2.camel@wolverine> <4249907E.9010609@splatterworld.de> <20050330053245.GA29697@absaroka.eryn-lasgalen.org> In-Reply-To: <20050330053245.GA29697@absaroka.eryn-lasgalen.org> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.54; host: guga.plzk.de) cc: Freebsd-mobile@freebsd.org Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 08:39:10 -0000 Par Leijonhufvud schrieb: >That helps. 61 C does not sound overly high? > >/Par > > depends on what u are still doing with this machine, if u got 61C in idle then its definitely high. -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 09:25:43 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5687616A4EF for ; Wed, 30 Mar 2005 09:25:43 +0000 (GMT) Received: from [212.112.40.199] (212-112-40-199.lidnet.net [212.112.40.199]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CFB043D4C for ; Wed, 30 Mar 2005 09:25:42 +0000 (GMT) (envelope-from pkg@absaroka.eryn-lasgalen.org) Received: (qmail 31195 invoked by uid 1000); 30 Mar 2005 09:25:42 -0000 Date: Wed, 30 Mar 2005 11:25:42 +0200 From: Par Leijonhufvud To: Freebsd-mobile@freebsd.org Message-ID: <20050330092542.GC31050@absaroka.eryn-lasgalen.org> References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> <1112096691.59233.2.camel@wolverine> <4249907E.9010609@splatterworld.de> <20050330053245.GA29697@absaroka.eryn-lasgalen.org> <424A65EB.4020609@splatterworld.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424A65EB.4020609@splatterworld.de> User-Agent: Mutt/1.5.5.1i Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 09:25:43 -0000 Stefan Bauer [2005.03.30] wrote: > depends on what u are still doing with this machine, if u got 61C in > idle then its definitely high. Running KDE (Xopen), a few xterms, a vim session, not much else. Fan (at least the one I can hear) runs every now and then, not continually. Just checked; 61.2 a minute before the fan started, then 54.2 just after it had stopped again, 57.2 a minute later. /Par -- Par Leijonhufvud par@hunter-gatherer.org "The mental image I got at first was really kinda disgusting and disturbing. The second mental image was worse." -- Ryan Tucker From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 09:30:53 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E9516A4CE for ; Wed, 30 Mar 2005 09:30:53 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF0043D58 for ; Wed, 30 Mar 2005 09:30:52 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id B29B0311C for ; Wed, 30 Mar 2005 11:31:38 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 56933-03BF1E23; Wed, 30 Mar 2005 11:31:38 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 46D6630C4 for ; Wed, 30 Mar 2005 11:31:38 +0200 (CEST) Message-ID: <424A720A.4000801@splatterworld.de> Date: Wed, 30 Mar 2005 11:31:54 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 References: <20050327184837.GA13455@absaroka.eryn-lasgalen.org> <1112096691.59233.2.camel@wolverine> <4249907E.9010609@splatterworld.de> <20050330053245.GA29697@absaroka.eryn-lasgalen.org> <424A65EB.4020609@splatterworld.de> <20050330092542.GC31050@absaroka.eryn-lasgalen.org> In-Reply-To: <20050330092542.GC31050@absaroka.eryn-lasgalen.org> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.54; host: guga.plzk.de) cc: Freebsd-mobile@freebsd.org Subject: Re: Healthd on a Thinkpad R50E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 09:30:53 -0000 Par Leijonhufvud schrieb: >Running KDE (Xopen), a few xterms, a vim session, not much else. Fan >(at least the one I can hear) runs every now and then, not continually. > >Just checked; 61.2 a minute before the fan started, then 54.2 just after >it had stopped again, 57.2 a minute later. > > no fear then, sounds ok. -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 10:29:30 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD63C16A4CF for ; Wed, 30 Mar 2005 10:29:30 +0000 (GMT) Received: from web30708.mail.mud.yahoo.com (web30708.mail.mud.yahoo.com [68.142.200.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 56E2743D53 for ; Wed, 30 Mar 2005 10:29:30 +0000 (GMT) (envelope-from neshort@yahoo.com) Received: (qmail 24497 invoked by uid 60001); 30 Mar 2005 10:29:29 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Cq/NpfvjOFZfYuJSb+8mEEuEzyN9N6pSJDhPEPGAd/bVhxor7/BVoUywBstxiwEP+9Pru5t9qKFR2cQ7DHqfmxrAr42ORRQLYy5jOiNSJYHowWZmYpFaq/lvS3/BM5f6q14zB5hz+Z02J3m4Z+DlvYHwjApnfR1V+LwvGIQXgKk= ; Message-ID: <20050330102929.24495.qmail@web30708.mail.mud.yahoo.com> Received: from [208.240.243.170] by web30708.mail.mud.yahoo.com via HTTP; Wed, 30 Mar 2005 02:29:29 PST Date: Wed, 30 Mar 2005 02:29:29 -0800 (PST) From: Neil Short To: freebsd-mobile@freebsd.org, freebsd-amd64@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nvidia-driver slow X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 10:29:31 -0000 The xorg "nv" driver works great - at the cost of not being able to return to console-land. The nvidia driver works horribly. Molasses in winter comes to mind. The moused daemon starts running hard and the processor runs at 100%. I'm hoping the problem is some dumb mistake on my part. I'm hoping it will be apparent to you all. Here's what I have: /boot/loader.conf: linux_load="YES" nvidia_load="YES" /etc/rc.conf: ... linux_enable="YES" moused_enable="YES" moused_flags="-3 -E 100" moused_type="auto" # "auto" is the default sshd_enable="YES" usbd_enable="YES" ... uname -a: FreeBSD carmen.opera 5.4-BETA1 FreeBSD 5.4-BETA1 #0: Fri Mar 18 09:28:57 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 EQUIPMENT HP Pavilion zv5000 (same family as the famous Compaq R3000z.) Processor: XP-M. And in that vein, here's `head device.hints`: ... # my stuff: hint.atkbd.0.flags="0x9" hint.acpi.0.disabled="1" # ======== ... If history always begins this morning, the world holds exciting surprises around every corner (241). --Ann Coulter. Treason. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 13:06:19 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FEEF16A4CE for ; Wed, 30 Mar 2005 13:06:19 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C633D43D45 for ; Wed, 30 Mar 2005 13:06:18 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 54862311C for ; Wed, 30 Mar 2005 15:07:06 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 57746-3D9F8339; Wed, 30 Mar 2005 15:07:05 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id B9E8230C4 for ; Wed, 30 Mar 2005 15:07:05 +0200 (CEST) Message-ID: <424AA489.7020701@splatterworld.de> Date: Wed, 30 Mar 2005 15:07:21 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Cc: freebsd-mobile@freebsd.org References: <20050330102929.24495.qmail@web30708.mail.mud.yahoo.com> In-Reply-To: <20050330102929.24495.qmail@web30708.mail.mud.yahoo.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.54; host: guga.plzk.de) Subject: Re: nvidia-driver slow X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 13:06:19 -0000 Neil Short schrieb: >The xorg "nv" driver works great - at the cost of not >being able to return to console-land. > > i guess a wrong keyboard type in xorg.conf is responsible for. have a look at XkbLayout and XkbModel >/boot/loader.conf: >linux_load="YES" >nvidia_load="YES" > >/etc/rc.conf: >... >linux_enable="YES" > > first, i never used this driver packages before but i found the "without_linux" option inside Makefile. i would give it a try to rebuild the /usr/ports/X11/nvidia-driver without linux compatibility define that with make WITHOUT_LINUX=YES inside the port dir -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 30 13:18:02 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12AFD16A4CE; Wed, 30 Mar 2005 13:18:02 +0000 (GMT) Received: from alcoholic.geiin.org (usen-59x87x89x234.ap-US02.usen.ad.jp [59.87.89.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B0243D1F; Wed, 30 Mar 2005 13:18:01 +0000 (GMT) (envelope-from yoichi@FreeBSD.org) Received: from localhost.geiin.org (localhost [127.0.0.1]) by alcoholic.geiin.org (Postfix) with ESMTP id 5924119BC62; Wed, 30 Mar 2005 22:18:10 +0900 (JST) Date: Wed, 30 Mar 2005 22:18:09 +0900 Message-ID: <87d5th6zn2.wl%yoichi@FreeBSD.org> From: Yoichi Nakayama To: wpaul@FreeBSD.ORG (Bill Paul) In-Reply-To: <20050330042254.127F716A4CF@hub.freebsd.org> References: <86ekdxg4wo.wl%yoichi@geiin.org> <20050330042254.127F716A4CF@hub.freebsd.org> User-Agent: Wanderlust/2.15.1 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) IMITATION/1.14.6 (=?ISO-2022-JP?B?GyRCMGxIVjpxJGobKEI=?=) APEL/10.6 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) Organization: Geiin.org X-Face: wLZki+KbGjgKe0,<&3g*rA|R**vj[a8L%[v]ecJh1L(Uqm|LBx; v7Nq7n%?0d.aS]F#[~C\!{m?m,C&#U5}$_pZvBR>5VmX1Ol0`P\M-U8`sUF<5Quj'z&zzW8r|Zl9#W7Wut3duYzpKrP{n+AbarKtJ!i"Al7]P;-?[=iBZa*]r=>C':0~JECx]IH+RXq=/hUX}MB9e]oQKBxsDd/ X-SKK: Daredevil SKK/12.2.1 (Sone) MIME-Version: 1.0 (generated by EMIKO 1.14.1 - "Choanoflagellata") Content-Type: text/plain; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: WLI2-CB-G54L doesn't work X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 13:18:02 -0000 At Wed, 30 Mar 2005 04:22:54 +0000 (GMT), Bill Paul wrote: > > > At Wed, 23 Mar 2005 09:17:01 +0900, > > Yoichi Nakayama wrote: > > > > > > At Mon, 21 Mar 2005 19:44:44 +0900, > > > Yoichi Nakayama wrote: > > > > I invoked pciconf -l -v and it describes the card as > > > > none6@pci1:0:0: class=0x020000 card=0x03341154 chip=0x222017fe rev=0x00 hdr=0x00 > > > > vendor = 'InProComm Inc' > > > > class = network > > > > subclass = ethernet > > > > > > > > http://pciids.sourceforge.net/pci.ids saids > > > > 17fe Linksys, A Division of Cisco Systems > > > > 2220 [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01) > > > > > > > > I noticed I have misthought that it has ath chip, and I looked at > > > > http://buffalo.melcoinc.co.jp/download/driver/lan/wdrv.html (in Japanese) > > > > again. Then I found that I've wrongly looked at WLI-CB-AG54L spec instead > > > > of WLI2-CB-G54L which I have. > > > > > > Then I tried ndis driver, but I got following panic on "ifconfig ndis0 up": > > > panic: _mtx_lock_sleep: recursed on non-recursive mutex ndis softc lock @ /usr/src/sys/modules/ndis/../../compat/ndis/kern_ndis.c:1463 > > > It is caused by recursive lock introduced in if_ndis.c rev 1.82. > > > > I've cvsup'ed current box yesterday and confirmed that > > the problem has gone. Thanks for the fix! > > -- > > Yoichi NAKAYAMA > > Does this mean your card actually works now with the NDISulator? > I haven't been able to get my hands on a NIC with an InProComm > chipset for testing yet, and nobody else has reported to me if > it works or not. If you can confirm that it works with Project Evil, > I would really appreciate it. Yes! The card works fine as ndis0, by using i2220.sys and NET2G54L.inf, on FreeBSD-current. -- Yoichi NAKAYAMA From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 31 10:27:57 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFB8616A4CE for ; Thu, 31 Mar 2005 10:27:57 +0000 (GMT) Received: from smtp109.mail.sc5.yahoo.com (smtp109.mail.sc5.yahoo.com [66.163.170.7]) by mx1.FreeBSD.org (Postfix) with SMTP id B9CC143D55 for ; Thu, 31 Mar 2005 10:27:57 +0000 (GMT) (envelope-from trini4mail@yahoo.it) Received: from unknown (HELO ?151.38.88.50?) (trini4mail@151.38.88.50 with plain) by smtp109.mail.sc5.yahoo.com with SMTP; 31 Mar 2005 10:27:57 -0000 Message-ID: <424BD0AF.8090000@yahoo.it> Date: Thu, 31 Mar 2005 12:27:59 +0200 From: "francesco ( trini )" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: I wanna buy a portable HD via USB X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 10:27:57 -0000 Hello , i want know if can i buy a portable HD to use with my Toshiba notebook with USB connection. There is a possibility that a HD work with USB connection on my Freebsd-5.4-prerelease ? Thanks From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 31 11:00:12 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F72216A4CE for ; Thu, 31 Mar 2005 11:00:12 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7FFB43D48 for ; Thu, 31 Mar 2005 11:00:11 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 11D71311C; Thu, 31 Mar 2005 13:01:06 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 62052-61A1DB90; Thu, 31 Mar 2005 13:01:05 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 55AA830C4; Thu, 31 Mar 2005 13:01:05 +0200 (CEST) Message-ID: <424BD87B.9060505@splatterworld.de> Date: Thu, 31 Mar 2005 13:01:15 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: "francesco ( trini )" References: <424BD0AF.8090000@yahoo.it> In-Reply-To: <424BD0AF.8090000@yahoo.it> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.56; host: guga.plzk.de) cc: freebsd-mobile@freebsd.org Subject: Re: I wanna buy a portable HD via USB X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 11:00:12 -0000 francesco ( trini ) schrieb: > Hello , i want know if can i buy a portable HD to use with my Toshiba > notebook with USB connection. There is a possibility that a HD work > with USB connection on my Freebsd-5.4-prerelease ? > Thanks hi, let me point you at http://www.freebsd.org/cgi/man.cgi?query=umass&sektion=4&manpath=FreeBSD+5.3-RELEASE (umass) is what u are looking for. keep in mind that only devices known to work are listed in this section. Owing to the generic nature of most USB devices, with some exceptions any device of a given class will be supported, even if not explicitly listed here. -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 31 21:41:50 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48DA716A4CE for ; Thu, 31 Mar 2005 21:41:50 +0000 (GMT) Received: from jade.spiritone.com (jade.aracnet.com [216.99.193.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF80743D46 for ; Thu, 31 Mar 2005 21:41:48 +0000 (GMT) (envelope-from henryt@aracnet.com) Received: from [216.99.201.233] (216-99-201-233.dial.spiritone.com [216.99.201.233]) (authenticated bits=0) by jade.spiritone.com (8.12.8/8.12.8) with ESMTP id j2VLfcOp020631; Thu, 31 Mar 2005 13:41:46 -0800 Message-ID: <424C6E97.6050403@aracnet.com> Date: Thu, 31 Mar 2005 13:41:43 -0800 From: henry tieman User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050318 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "francesco ( trini )" References: <424BD0AF.8090000@yahoo.it> In-Reply-To: <424BD0AF.8090000@yahoo.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: I wanna buy a portable HD via USB X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 21:41:50 -0000 francesco ( trini ) wrote: > Hello , i want know if can i buy a portable HD to use with my Toshiba > notebook with USB connection. There is a possibility that a HD work > with USB connection on my Freebsd-5.4-prerelease ? > Thanks > I have three different USB hard drives. They have all worked on every operating system I have tried - XP, Fedora core 2, FreeBSD 4.9 and FreeBSD 5.3. I do not think you will have an issue if you purchase a recent model USB hard disk enclosure. FreeBSD was the hardest to get it working on, but I do have them working with FreeBSD. I built the FBSD 4 kernel with umass and ehci(high speed USB). Henry -- Henry Tieman Objects in the mirror are closer than they appear. From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 31 23:24:16 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72C316A4F2 for ; Thu, 31 Mar 2005 23:24:15 +0000 (GMT) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AEFD43D3F for ; Thu, 31 Mar 2005 23:24:15 +0000 (GMT) (envelope-from wwk761@telus.net) Received: from localhost ([199.185.220.240]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20050331232414.IFZC13305.priv-edtnes51.telusplanet.net@localhost> for ; Thu, 31 Mar 2005 16:24:14 -0700 Received: from 64.26.155.200 ( [64.26.155.200]) as user wwk761@192.168.200.1 by webmail.telus.net with HTTP; Thu, 31 Mar 2005 15:24:14 -0800 Message-ID: <1112311454.424c869ebdcb2@webmail.telus.net> Date: Thu, 31 Mar 2005 15:24:14 -0800 From: wwk761@telus.net To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 64.26.155.200 Subject: Re2: I wanna buy a portable HD via USB X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 23:24:16 -0000 You will be never able to boot xp from USB. At least I was not. FreeBSD will boot without a complain. Same goes for ME and USB support as far as backup drive is concern. Not even Symantec ghost 9 is able to boot any of the M$ft OS's. Probably because Msft owns the USB driver spec. /r/ wlodek From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 08:58:36 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70E4316A4CE for ; Fri, 1 Apr 2005 08:58:36 +0000 (GMT) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C82DD43D48 for ; Fri, 1 Apr 2005 08:58:35 +0000 (GMT) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.13.4/8.13.4/d) with ESMTP id j318wOdk020465 for ; Fri, 1 Apr 2005 02:58:24 -0600 (CST) Date: Fri, 1 Apr 2005 02:58:24 -0600 (CST) From: Scott Bennett Message-Id: <200504010858.j318wOte020464@mp.cs.niu.edu> To: freebsd-mobile@freebsd.org Subject: NDIS with Dell 1450 Dual-Band wireless card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 08:58:36 -0000 In January, I posted the following twice to the freebsd-questions list, but got no response either time. > I'm trying to get wireless connectivity on a Dell Inspiron XPS using >a Dell 1450 [actually Broadcom] dual-band wireless card by using the NDIS >facility in 5.3. Everything *appears* to have compiled and installed okay, >but after the root file system is mounted after a boot, I get the following: > >SMP: AP CPU #1 Launched! >Mounting root from ufs:/dev/ad0s2a >ndis0: mem 0xfafec000-0xfafedfff irq 17 at device 3.0 on pci2 >ndis0: NDIS API version: 5.0 >ndis0: NDIS ERROR: c000138d (unknown error) >ndis0: NDIS NUMERRORS: 1 >ndis0: argptr: 0x103 >ndis0: init handler failed >device_attach: ndis0 attach returned 6 > >I do have pccard_enable="YES" in /etc/rc.conf. The handbook says, > > "Note: Some Windows drivers require additional files to operate. You > may include them with ndiscvt by using the -f option. Consult the > ndiscvt(8) manual page for more information." > >There are many other files and subdirectories in the Windows XP directory >from which I lifted the bcmwl5.{inf,sys} files. Are the error messages >above suggesting that I should have included any others among those files? >Or is that not the problem? Any clues to help get this working will be >appreciated. I've made no further progress on the matter since then, but would still very much like to get it working. If anyone can suggest what to do about it, I'd be very grateful. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 09:18:05 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3748016A4CE for ; Fri, 1 Apr 2005 09:18:05 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5C8B43D58 for ; Fri, 1 Apr 2005 09:18:04 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id A885D30DB for ; Fri, 1 Apr 2005 11:19:10 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 67910-765FF0AE; Fri, 01 Apr 2005 11:19:10 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 02F2930D0 for ; Fri, 1 Apr 2005 11:19:09 +0200 (CEST) Message-ID: <424D1213.3070206@splatterworld.de> Date: Fri, 01 Apr 2005 11:19:15 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Cc: freebsd-mobile@freebsd.org References: <200504010858.j318wOte020464@mp.cs.niu.edu> In-Reply-To: <200504010858.j318wOte020464@mp.cs.niu.edu> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.58; host: guga.plzk.de) Subject: Re: NDIS with Dell 1450 Dual-Band wireless card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 09:18:05 -0000 Scott Bennett schrieb: > I've made no further progress on the matter since then, but would still >very much like to get it working. If anyone can suggest what to do about it, >I'd be very grateful. > > load ndis and if_ndis with bootloader on startup: edit /etc/loader.conf and add the two lines below: ndis_load="YES" if_ndis_load="YES" then do a reboot and kldunload followed by a kldload and it should be work. -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 10:05:45 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0217616A4CF for ; Fri, 1 Apr 2005 10:05:45 +0000 (GMT) Received: from web30708.mail.mud.yahoo.com (web30708.mail.mud.yahoo.com [68.142.200.141]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FF3043D46 for ; Fri, 1 Apr 2005 10:05:44 +0000 (GMT) (envelope-from neshort@yahoo.com) Received: (qmail 41054 invoked by uid 60001); 1 Apr 2005 10:05:44 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=nUVHf2rTNd/0DewCX5xE0+BMacV3Z5sjicUHz6qVb4+kBqdH+kFsoykEIcdTkY6rhy5VR9DH3qzDep570dgGQOkmiQJ1xxHqOaeGKgMLNRF1HKTMqE67NJr2Awog/NZyVwmwAD1Aq08m08uVHyyWl9rweixJcQyU7wcYOHuC4n4= ; Message-ID: <20050401100544.41052.qmail@web30708.mail.mud.yahoo.com> Received: from [208.240.243.170] by web30708.mail.mud.yahoo.com via HTTP; Fri, 01 Apr 2005 02:05:43 PST Date: Fri, 1 Apr 2005 02:05:43 -0800 (PST) From: Neil Short To: freebsd-amd64@freebsd.org, freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: growisofs DVD write woes on HP/Compaq laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:05:45 -0000 Has anybody had success writing DVDs on this equipment? here's my sad effort: carmen# growisofs -Z /dev/cd0 -dvd-compat dvd1 :-( /dev/cd0: media is not recognized as recordable DVD: 10 What is in the drive is a blank DVD-R pertinant dmesg stuff: ... acd0: CDRW at ata1-master PIO4 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 16.000MB/s transfers cd0: cd present [174027 x 2048 byte records] ... If history always begins this morning, the world holds exciting surprises around every corner (241). --Ann Coulter. Treason. __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 10:28:25 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1AF616A4CE for ; Fri, 1 Apr 2005 10:28:25 +0000 (GMT) Received: from web60004.mail.yahoo.com (web60004.mail.yahoo.com [216.109.116.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 520AD43D45 for ; Fri, 1 Apr 2005 10:28:25 +0000 (GMT) (envelope-from chrism@autobleep.com) Received: (qmail 46251 invoked by uid 60001); 1 Apr 2005 10:28:24 -0000 Message-ID: <20050401102824.46249.qmail@web60004.mail.yahoo.com> Received: from [198.54.202.4] by web60004.mail.yahoo.com via HTTP; Fri, 01 Apr 2005 02:28:24 PST X-RocketYMMF: chris_martinus1 Date: Fri, 1 Apr 2005 02:28:24 -0800 (PST) From: Chris Martinus To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: What to buy? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: chrism@autobleep.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:28:26 -0000 After wading thru the laptop compatibility list yesterday, I'm feeling less the wiser. I need to buy a new low-end notebook computer with the intention of using it mainly with FreeBSD - and particularly with the Vodafone 3G card. Choices revolve mainly around Acer, HP and Toshiba. Does anyone have a recommendation on a best choice for FreeBSD compatibility? From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 10:31:36 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5664D16A4CE for ; Fri, 1 Apr 2005 10:31:36 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAAD043D1F for ; Fri, 1 Apr 2005 10:31:35 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 5595230DB for ; Fri, 1 Apr 2005 12:32:42 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 68165-1A7064A7; Fri, 01 Apr 2005 12:32:41 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id CE26730D0 for ; Fri, 1 Apr 2005 12:32:41 +0200 (CEST) Message-ID: <424D234E.8050404@splatterworld.de> Date: Fri, 01 Apr 2005 12:32:46 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Cc: freebsd-mobile@freebsd.org References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> In-Reply-To: <20050401102824.46249.qmail@web60004.mail.yahoo.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.58; host: guga.plzk.de) Subject: Re: What to buy? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:31:36 -0000 Chris Martinus schrieb: >Does anyone have a recommendation on a best choice for >FreeBSD compatibility? > > have a look at the FLCL (freebsd laptop compatibility list) http://gerda.univie.ac.at/freebsd-laptops/ -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 10:45:15 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A3216A4E4 for ; Fri, 1 Apr 2005 10:45:15 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6833043D3F for ; Fri, 1 Apr 2005 10:45:14 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 54A7130DB for ; Fri, 1 Apr 2005 12:46:21 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 68231-05478AFE; Fri, 01 Apr 2005 12:46:20 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id C5FC030D0 for ; Fri, 1 Apr 2005 12:46:20 +0200 (CEST) Message-ID: <424D2681.5060808@splatterworld.de> Date: Fri, 01 Apr 2005 12:46:25 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Cc: freebsd-mobile@freebsd.org References: <20050401100544.41052.qmail@web30708.mail.mud.yahoo.com> In-Reply-To: <20050401100544.41052.qmail@web30708.mail.mud.yahoo.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.58; host: guga.plzk.de) Subject: Re: growisofs DVD write woes on HP/Compaq laptop X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:45:15 -0000 Neil Short schrieb: >acd0: CDRW at ata1-master PIO4 >cd0 at ata1 bus 0 target 0 lun 0 >cd0: Removable CD-ROM >SCSI-0 device >cd0: 16.000MB/s transfers >cd0: cd present [174027 x 2048 byte records] > > is this burner attached via usb? or just plugged in? if its just plugged in then u need the lines below in your kernel config: device atapicam device scbus device cd device pass scbus and cd is as far as i can see included but whats about pass and atapicam? -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 10:59:54 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2FA716A4CE for ; Fri, 1 Apr 2005 10:59:54 +0000 (GMT) Received: from rid.plzk.de (rid.plzk.de [213.146.119.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3183943D48 for ; Fri, 1 Apr 2005 10:59:54 +0000 (GMT) (envelope-from duke@splatterworld.de) Received: from mail.plzk.de (mail.plzk.de [127.0.0.1]) by rid.plzk.de (Postfix) with ESMTP id 16C3E30DB for ; Fri, 1 Apr 2005 13:01:01 +0200 (CEST) Received: from rid.plzk.de (mail.plzk.de [127.0.0.1]) by mail.plzk.de (AvMailGate-2.0.2-10) id 68315-5999FA7B; Fri, 01 Apr 2005 13:01:00 +0200 Received: from [192.168.0.4] (puff.plzk.de [192.168.0.4]) by rid.plzk.de (Postfix) with ESMTP id 8B99E30D0 for ; Fri, 1 Apr 2005 13:01:00 +0200 (CEST) Message-ID: <424D29F1.4030504@splatterworld.de> Date: Fri, 01 Apr 2005 13:01:05 +0200 From: Stefan Bauer User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 Cc: freebsd-mobile@freebsd.org References: <200504010858.j318wOte020464@mp.cs.niu.edu> <424D1213.3070206@splatterworld.de> In-Reply-To: <424D1213.3070206@splatterworld.de> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-10; AVE: 6.30.0.7; VDF: 6.30.0.58; host: guga.plzk.de) Subject: Re: NDIS with Dell 1450 Dual-Band wireless card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 10:59:54 -0000 Stefan Bauer schrieb: > load ndis and if_ndis with bootloader on startup: > > edit /etc/loader.conf > sorry my fault, the directory is /boot means edit then: /boot/loader.conf -- Sincerely yours Stefan Bauer --- SplatterWorld - you have to know this, nothing else... www.splatterworld.de - www.splatterworld.com - www.splatterworld.net German IRCD splatterworld.de.quakenet.org Hosted by SplatterWorld From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 12:23:11 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 736EB16A4CE for ; Fri, 1 Apr 2005 12:23:11 +0000 (GMT) Received: from web30704.mail.mud.yahoo.com (web30704.mail.mud.yahoo.com [68.142.200.137]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F7FE43D1F for ; Fri, 1 Apr 2005 12:23:11 +0000 (GMT) (envelope-from neshort@yahoo.com) Received: (qmail 33783 invoked by uid 60001); 1 Apr 2005 12:23:10 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=kz8OLdibdtpQoRkqWa6WxJ6g1EXAUlLv7jN45FYJHaLAIrM3j0ytWb/qcSr2GxCFeFbng687tOHWcU7zxFiqiynI+AEVeQ1qIJ3Ps6EJT4ODViV8TNeX7NKkhw6CJB1xi8G5TL97e3Q/hGQlhep29kHrtr0LOMi2ZQbaDGSygXs= ; Message-ID: <20050401122310.33781.qmail@web30704.mail.mud.yahoo.com> Received: from [208.240.243.170] by web30704.mail.mud.yahoo.com via HTTP; Fri, 01 Apr 2005 04:23:10 PST Date: Fri, 1 Apr 2005 04:23:10 -0800 (PST) From: Neil Short To: freebsd-mobile@freebsd.org In-Reply-To: <20050401120030.EE27416A4E2@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: growisofs DVD write woes on HP/Compaq X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:23:11 -0000 Quoted:========== Date: Fri, 01 Apr 2005 12:46:25 +0200 From: Stefan Bauer Subject: Re: growisofs DVD write woes on HP/Compaq laptop Cc: freebsd-mobile@freebsd.org Message-ID: <424D2681.5060808@splatterworld.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Neil Short schrieb: >acd0: CDRW at ata1-master PIO4 >cd0 at ata1 bus 0 target 0 lun 0 >cd0: Removable CD-ROM >SCSI-0 device >cd0: 16.000MB/s transfers >cd0: cd present [174027 x 2048 byte records] > > is this burner attached via usb? or just plugged in? if its just plugged in then u need the lines below in your kernel config: device atapicam device scbus device cd device pass scbus and cd is as far as i can see included but whats about pass and atapicam? =============== I wish it were that easy. My kernel config file does have those devices specified. This bone-head DVD+RW drive doesn't even work right in winDOH!s (I left a tiny sliver for it when I wiped this drive for a real OS.) I'm not going to fool with it until I get HP to fix it on winDOH!s Thanks for your input. __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 12:35:36 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5EBB16A4CE for ; Fri, 1 Apr 2005 12:35:36 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1335543D2D for ; Fri, 1 Apr 2005 12:35:36 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j31CZYff083637; Fri, 1 Apr 2005 06:35:35 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <424D3FFA.4070309@centtech.com> Date: Fri, 01 Apr 2005 06:35:06 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050325 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stefan Bauer References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> <424D234E.8050404@splatterworld.de> In-Reply-To: <424D234E.8050404@splatterworld.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/798/Thu Mar 31 03:54:41 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-mobile@freebsd.org Subject: Re: What to buy? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:35:37 -0000 Stefan Bauer wrote: > Chris Martinus schrieb: > >> Does anyone have a recommendation on a best choice for >> FreeBSD compatibility? >> >> > have a look at the FLCL (freebsd laptop compatibility list) > > http://gerda.univie.ac.at/freebsd-laptops/ I think you missed it: "After wading thru the laptop compatibility list yesterday, I'm feeling less the wiser." Chris - people seem to like the IBM Thinkpads, and most Dell laptops work very well. It really depends on what you need to have functioning, and what features you need. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 12:39:25 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0596916A4CE for ; Fri, 1 Apr 2005 12:39:25 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961EE43D48 for ; Fri, 1 Apr 2005 12:39:24 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j31CdO3n083647; Fri, 1 Apr 2005 06:39:24 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <424D40DF.6080204@centtech.com> Date: Fri, 01 Apr 2005 06:38:55 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050325 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Neil Short References: <20050401122310.33781.qmail@web30704.mail.mud.yahoo.com> In-Reply-To: <20050401122310.33781.qmail@web30704.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/798/Thu Mar 31 03:54:41 2005 on mh1.centtech.com X-Virus-Status: Clean cc: freebsd-mobile@freebsd.org Subject: Re: growisofs DVD write woes on HP/Compaq X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:39:25 -0000 Neil Short wrote: > Quoted:========== > Date: Fri, 01 Apr 2005 12:46:25 +0200 > From: Stefan Bauer > Subject: Re: growisofs DVD write woes on HP/Compaq > laptop > Cc: freebsd-mobile@freebsd.org > Message-ID: <424D2681.5060808@splatterworld.de> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > > Neil Short schrieb: > > >>acd0: CDRW at ata1-master PIO4 >>cd0 at ata1 bus 0 target 0 lun 0 >>cd0: Removable CD-ROM >>SCSI-0 device >>cd0: 16.000MB/s transfers >>cd0: cd present [174027 x 2048 byte records] >> >> > > is this burner attached via usb? or just plugged in? > > if its just plugged in then u need the lines below in > your kernel > config: > > device atapicam > device scbus > device cd > device pass > > > scbus and cd is as far as i can see included but whats > about pass and > atapicam? > > =============== > I wish it were that easy. My kernel config file does > have those devices specified. > > This bone-head DVD+RW drive doesn't even work right in > winDOH!s (I left a tiny sliver for it when I wiped > this drive for a real OS.) I'm not going to fool with > it until I get HP to fix it on winDOH!s I bet it doesn't like DVD-R's. Did you try a DVD+R or DVD+RW? Here's the command I use: growisofs -speed=4 -dvd-compat -Z /dev/cd0=nameof.iso Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 1 13:54:20 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BFD116A4CF for ; Fri, 1 Apr 2005 13:54:20 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A5F343D5C for ; Fri, 1 Apr 2005 13:54:20 +0000 (GMT) (envelope-from freebsd@irotas.net) Received: from web3.messagingengine.com (web3.internal [10.202.2.212]) by frontend1.messagingengine.com (Postfix) with ESMTP id 1D6E2C6B38C; Fri, 1 Apr 2005 08:54:19 -0500 (EST) Received: by web3.messagingengine.com (Postfix, from userid 99) id 94837D4C; Fri, 1 Apr 2005 08:54:19 -0500 (EST) Message-Id: <1112363659.21916.230890212@webmail.messagingengine.com> X-Sasl-Enc: RC0yqhcOzSGFJdesywvUA2vIG5biS8/PFMS6vUjtSO/4 1112363659 From: "Adam McLaurin" To: freebsd-mobile@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> In-Reply-To: <20050401102824.46249.qmail@web60004.mail.yahoo.com> Date: Fri, 01 Apr 2005 08:54:19 -0500 cc: chrism@autobleep.com Subject: Re: What to buy? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 13:54:20 -0000 Hi Chris, If you're at all interested in buying a laptop pre-loaded with FreeBSD, I've found 2 companies in the US that are willing to do it. http://www.storeanywhere.com/ http://www.nextcomputing.com/ I think both of them would be happy to customize the system to your liking (you mentioned you needed low-end; they could probably accomodate). I have myself considered purchasing a laptop from them later in the year. Note that NextCom's website doesn't explicitly mention FreeBSD, but I've spoken to their reps and they say they've done it before and would be happy to do it again. Thanks, Adam On Fri, 1 Apr 2005 02:28:24 -0800 (PST), "Chris Martinus" said: > After wading thru the laptop compatibility list > yesterday, I'm feeling less the wiser. > > I need to buy a new low-end notebook computer with the > intention of using it mainly with FreeBSD - and > particularly with the Vodafone 3G card. > > Choices revolve mainly around Acer, HP and Toshiba. > > Does anyone have a recommendation on a best choice for > FreeBSD compatibility? > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 05:27:31 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D721516A4CE for ; Sat, 2 Apr 2005 05:27:31 +0000 (GMT) Received: from sarajevo.pacific.net.sg (sarajevo.pacific.net.sg [203.120.90.134]) by mx1.FreeBSD.org (Postfix) with SMTP id AAE4C43D1D for ; Sat, 2 Apr 2005 05:27:30 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: (qmail 25306 invoked from network); 2 Apr 2005 05:27:28 -0000 Received: from unknown (HELO maxwell2.pacific.net.sg) (203.120.90.192) by sarajevo with SMTP; 2 Apr 2005 05:27:28 -0000 Received: from [192.168.0.107] ([210.24.124.135]) by maxwell2.pacific.net.sg with ESMTP <20050402052727.YLPF1191.maxwell2.pacific.net.sg@[192.168.0.107]>; Sat, 2 Apr 2005 13:27:27 +0800 Message-ID: <424E2D0B.9060909@pacific.net.sg> Date: Sat, 02 Apr 2005 13:26:35 +0800 From: Erich Dollansky Organization: oceanare pte ltd User-Agent: Mozilla Thunderbird 1.0 (X11/20050224) X-Accept-Language: en-us, en MIME-Version: 1.0 To: chrism@autobleep.com References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> In-Reply-To: <20050401102824.46249.qmail@web60004.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: What to buy? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 05:27:32 -0000 Hi, IBM notebooks habe a good reputation when it comes to FreeBSD. The problem with them is that they are not really low-end. Chris Martinus wrote: > After wading thru the laptop compatibility list > yesterday, I'm feeling less the wiser. > > I need to buy a new low-end notebook computer with the > intention of using it mainly with FreeBSD - and > particularly with the Vodafone 3G card. > > Choices revolve mainly around Acer, HP and Toshiba. You must check the keyboard - LCD problem with Acers. I have seen some Acers with ugly keyboard impressions on the LCD after only a few months of usage. Erich From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 08:39:01 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B29E016A4CE for ; Sat, 2 Apr 2005 08:39:01 +0000 (GMT) Received: from mailhub03.unibe.ch (mailhub03-eth0.unibe.ch [130.92.9.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD2543D54 for ; Sat, 2 Apr 2005 08:39:00 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub03.unibe.ch [130.92.254.67]) by mailhub03.unibe.ch (Postfix) with ESMTP id 6D3211536F; Sat, 2 Apr 2005 10:39:01 +0200 (CEST) Received: from mailhub03.unibe.ch ([130.92.9.70]) by localhost (scanhub03.unibe.ch [130.92.254.67]) (amavisd-new, port 10024) with LMTP id 29691-01-83; Sat, 2 Apr 2005 10:38:56 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub03.unibe.ch (Postfix) with ESMTP id D03CF1536C; Sat, 2 Apr 2005 10:39:00 +0200 (CEST) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id j328cwW29743; Sat, 2 Apr 2005 10:38:58 +0200 (MET DST) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id j328cvf1004325; Sat, 2 Apr 2005 10:38:57 +0200 (MEST) Date: Sat, 2 Apr 2005 10:38:57 +0200 From: Tobias Roth To: Erich Dollansky Message-ID: <20050402083856.GA4303@droopy.unibe.ch> Mail-Followup-To: Erich Dollansky , freebsd-mobile@freebsd.org, chrism@autobleep.com References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> <424E2D0B.9060909@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424E2D0B.9060909@pacific.net.sg> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: chrism@autobleep.com cc: freebsd-mobile@freebsd.org Subject: marks on laptop screens [was: What to buy?] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 08:39:01 -0000 On Sat, Apr 02, 2005 at 01:26:35PM +0800, Erich Dollansky wrote: > > You must check the keyboard - LCD problem with Acers. I have seen some > Acers with ugly keyboard impressions on the LCD after only a few months > of usage. that happenes with almost any modern notebook, if it is carried around in a slim bag that doesn't protect it appropriately. i have seen it with Dells, IBMs, Ibooks and Vayos. since i prefer to carry my laptop around in a common backpack instead of an actual notebook bag (for fear of theft mainly), i always put a piece of soft plastic between the screen and the keyboard when i close the laptop. almost any material will work, even a piece of paper. i don't think the marks can be avoided by other means, since the laptop shells are just too flexible these days. but the manufacturers should notify customers of that problem. cheers, t. From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 09:12:43 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1900D16A4CE for ; Sat, 2 Apr 2005 09:12:43 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2A6D43D1D for ; Sat, 2 Apr 2005 09:12:42 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1050574wra for ; Sat, 02 Apr 2005 01:12:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Ff4UnwwZD2oSQb86oRm7D4g8BpyFsRGHKI85BfqXlG7bPZEZ0Mhu6REzPd3acqfmN0/eXm22YEVzuHkDIsCteVXLkefi9Zghoh4N0UXKMyl+VsJCl1NWRPGhXhznTqjCeiMv74Q9+//rZquX/JHdEhlEZMiwxHGJzb/0Pscl4Iw= Received: by 10.54.52.27 with SMTP id z27mr1383715wrz; Sat, 02 Apr 2005 01:12:42 -0800 (PST) Received: by 10.54.40.69 with HTTP; Sat, 2 Apr 2005 01:12:42 -0800 (PST) Message-ID: <2fd864e050402011262c831ac@mail.gmail.com> Date: Sat, 2 Apr 2005 01:12:42 -0800 From: Astrodog To: freebsd-mobile@freebsd.org In-Reply-To: <20050402083856.GA4303@droopy.unibe.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> <424E2D0B.9060909@pacific.net.sg> <20050402083856.GA4303@droopy.unibe.ch> Subject: Re: marks on laptop screens [was: What to buy?] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Astrodog List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 09:12:43 -0000 On Apr 2, 2005 12:38 AM, Tobias Roth wrote: > On Sat, Apr 02, 2005 at 01:26:35PM +0800, Erich Dollansky wrote: > > > > You must check the keyboard - LCD problem with Acers. I have seen some > > Acers with ugly keyboard impressions on the LCD after only a few months > > of usage. > > that happenes with almost any modern notebook, if it is carried around > in a slim bag that doesn't protect it appropriately. i have seen it > with Dells, IBMs, Ibooks and Vayos. > since i prefer to carry my laptop around in a common backpack instead of > an actual notebook bag (for fear of theft mainly), i always put a piece > of soft plastic between the screen and the keyboard when i close the > laptop. almost any material will work, even a piece of paper. > i don't think the marks can be avoided by other means, since the laptop > shells are just too flexible these days. but the manufacturers should > notify customers of that problem. > > cheers, t. > _______________________________________________ I've noticed the Compaq / HP R3000 lines of laptops don't seem to have this issue. They have a plastic/rubber.... pad around the LCD, and the keyboard is slightly depressed. From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 17:30:50 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7812316A4CE for ; Sat, 2 Apr 2005 17:30:50 +0000 (GMT) Received: from salvador.pacific.net.sg (salvador.pacific.net.sg [203.120.90.219]) by mx1.FreeBSD.org (Postfix) with SMTP id 4B90143D46 for ; Sat, 2 Apr 2005 17:30:49 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: (qmail 21014 invoked from network); 2 Apr 2005 17:30:47 -0000 Received: from unknown (HELO maxwell6.pacific.net.sg) (203.120.90.212) by salvador with SMTP; 2 Apr 2005 17:30:47 -0000 Received: from [192.168.0.107] ([210.24.247.53]) by maxwell6.pacific.net.sg with ESMTP <20050402173047.RTVK1233.maxwell6.pacific.net.sg@[192.168.0.107]>; Sun, 3 Apr 2005 01:30:47 +0800 Message-ID: <424ED68A.4030101@pacific.net.sg> Date: Sun, 03 Apr 2005 01:29:46 +0800 From: Erich Dollansky Organization: oceanare pte ltd User-Agent: Mozilla Thunderbird 1.0 (X11/20050224) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tobias Roth References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> <424E2D0B.9060909@pacific.net.sg> <20050402083856.GA4303@droopy.unibe.ch> In-Reply-To: <20050402083856.GA4303@droopy.unibe.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: chrism@autobleep.com cc: freebsd-mobile@freebsd.org Subject: Re: marks on laptop screens [was: What to buy?] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 17:30:50 -0000 Hi, Tobias Roth wrote: > On Sat, Apr 02, 2005 at 01:26:35PM +0800, Erich Dollansky wrote: > >>You must check the keyboard - LCD problem with Acers. I have seen some >>Acers with ugly keyboard impressions on the LCD after only a few months >>of usage. > > > that happenes with almost any modern notebook, if it is carried around > in a slim bag that doesn't protect it appropriately. i have seen it > with Dells, IBMs, Ibooks and Vayos. > since i prefer to carry my laptop around in a common backpack instead of > an actual notebook bag (for fear of theft mainly), i always put a piece > of soft plastic between the screen and the keyboard when i close the > laptop. almost any material will work, even a piece of paper. > i don't think the marks can be avoided by other means, since the laptop > shells are just too flexible these days. but the manufacturers should > notify customers of that problem. > As long as customers buy thos flimsy notebooks, the manufacturers will continue to offer them. As already mentioned in aother answer, some manufacturer avoid this problem by providing higher rubber pads and/or a more stable LCD frame. I never have had this problem with the machines I bought. Erich From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 18:20:29 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DA1F16A4CE for ; Sat, 2 Apr 2005 18:20:29 +0000 (GMT) Received: from illuin.org (firewall.illuin.org [66.141.59.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 3266343D2F for ; Sat, 2 Apr 2005 18:20:28 +0000 (GMT) (envelope-from richard@illuin.org) Received: (qmail 5673 invoked by uid 1000); 2 Apr 2005 18:18:02 -0000 Date: Sat, 2 Apr 2005 12:18:02 -0600 (CST) From: Richard Letts X-X-Sender: richard@hobbiton.illuin.org To: freebsd-mobile@freebsd.org In-Reply-To: <20050402083856.GA4303@droopy.unibe.ch> Message-ID: <20050402121604.W5664@hobbiton.illuin.org> References: <20050401102824.46249.qmail@web60004.mail.yahoo.com> <424E2D0B.9060909@pacific.net.sg> <20050402083856.GA4303@droopy.unibe.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: marks on laptop screens [was: What to buy?] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 18:20:29 -0000 On Sat, 2 Apr 2005, Tobias Roth wrote: > On Sat, Apr 02, 2005 at 01:26:35PM +0800, Erich Dollansky wrote: > > > > You must check the keyboard - LCD problem with Acers. I have seen some > > Acers with ugly keyboard impressions on the LCD after only a few months > > of usage. > > i don't think the marks can be avoided by other means, since the laptop > shells are just too flexible these days. but the manufacturers should > notify customers of that problem. it's not actually an impression -- it's caused by the acid in the sweat/oils from your fingertips etching the plastic. the [old] psion handhelds suffered from this. I keep a piece of felt between the keyboard and the screen to avoid this effect. /RjL From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 21:22:49 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C586316A4CE for ; Sat, 2 Apr 2005 21:22:49 +0000 (GMT) Received: from ni-mail1.dna.utvinternet.net (mail1.u.tv [194.46.8.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ECF343D3F for ; Sat, 2 Apr 2005 21:22:48 +0000 (GMT) (envelope-from aidanwhyte@eircom.net) Received: from moriarty (unverified [194.46.72.142]) by ni-mail1.dna.utvinternet.net for ; Sat, 2 Apr 2005 22:22:45 +0100 Message-ID: <001d01c537ca$251790b0$2201040a@moriarty> From: "Aidan Whyte" To: Date: Sat, 2 Apr 2005 22:22:28 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: 802.11b poor transfer rates X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 21:22:49 -0000 Hi. I've got 5.3-Release running with an orinoco clone 802.11b wifi card plugged into the back of the pc via a pci<->cardbus adapter. I can establish both the actual wireless connection and a working tcp/ip connection over the card, but the wifi card seems to be 'stuck' in 1mbit transfer mode. Current SNR is 14 which should easily be enough for an 11mbit autonegotiation. I've tried forcing the card to go to 11mbit via a 'media DS/11Mbps' switch for the card in /etc/rc.conf which made no change to the actual transfer rates. ifconfig shows the following.. wi0: flags=8843 mtu 1500 inet 10.4.1.105 netmask 0xffffffe0 broadcast 10.4.1.127 inet6 fe80::202:2dff:fe3f:8611%wi0 prefixlen 64 scopeid 0x3 ether 00:02:2d:3f:86:11 media: IEEE 802.11 Wireless Ethernet DS/11Mbps status: associated wicontrol shows... IBSS channel: [ 10 ] Current channel: [ 8 ] Comms quality/signal/noise: [ 14 66 52 ] dBm Coms Quality: [ 32 ] Promiscuous mode: [ Off ] Process 802.11b Frame: [ Off ] Intersil-Prism2 based card: [ 0 ] Port type (1=BSS, 3=ad-hoc): [ 1 ] MAC address: [ 00:02:2d:3f:86:11 ] TX rate (selection): [ 11 ] TX rate (actual speed): [ 11 ] RTS/CTS handshake threshold: [ 2347 ] Create IBSS: [ Off ] Access point density: [ 1 ] Power Mgmt (1=on, 0=off): [ 0 ] Now, even with ifconfig saying that, I can't get more than 70KB/sec over the link no matter what I try, which is about what you'd expect for a "1mbit" 802.11b connection. Before I upgraded this box, it was running 4.10-stable and getting throughput of more than 350KB/sec over the same link. Does anyone have any ideas for a fix for this? Cheers, Aidan. From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 23:19:47 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1085E16A4CE for ; Sat, 2 Apr 2005 23:19:47 +0000 (GMT) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE45F43D1F for ; Sat, 2 Apr 2005 23:19:44 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from [200.152.82.190] ([200.152.82.190]) by msrv.matik.com.br (8.13.1/8.12.11) with ESMTP id j32NMEgc004581 for ; Sat, 2 Apr 2005 20:22:14 -0300 (BRST) (envelope-from asstec@matik.com.br) From: Suporte Matik To: freebsd-mobile@freebsd.org Date: Sat, 2 Apr 2005 20:19:19 -0300 User-Agent: KMail/1.7.2 References: <001d01c537ca$251790b0$2201040a@moriarty> In-Reply-To: <001d01c537ca$251790b0$2201040a@moriarty> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504022019.22370.asstec@matik.com.br> X-Virus-Scanned: ClamAV 0.80/777/Mon Mar 21 04:41:55 2005 clamav-milter version 0.80j on msrv.matik.com.br X-Virus-Status: Clean X-Spam-Status: No, score=-102.3 required=5.0 tests=ALL_TRUSTED,ISO_7BITS, NO_RDNS2,USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on msrv.matik.com.br X-Filter-Version: 1.11a (msrv.matik.com.br) Subject: Re: 802.11b poor transfer rates X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 23:19:47 -0000 On Saturday 02 April 2005 18:22, Aidan Whyte wrote: > 'stuck' in 1mbit transfer mode. Current SNR is 14 which should > easily be enough for an 11mbit autonegotiation. I've tried forcing you're dreaming ... with less than SNR 20-25 you are lost in space when your noise is such as high as you say check your antena and cables Hans Infomatik http://info.matik.com.br From owner-freebsd-mobile@FreeBSD.ORG Sat Apr 2 23:29:23 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 350EE16A4CE for ; Sat, 2 Apr 2005 23:29:23 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECB3943D2D for ; Sat, 2 Apr 2005 23:29:22 +0000 (GMT) (envelope-from vladimir@math.uic.edu) Received: from cat.math.uic.edu (c-24-12-126-199.hsd1.il.comcast.net[24.12.126.199]) by comcast.net (rwcrmhc11) with SMTP id <2005040223292001300dp2one>; Sat, 2 Apr 2005 23:29:20 +0000 Received: (qmail 1170 invoked by uid 31415); 2 Apr 2005 23:29:21 -0000 Message-ID: <20050402232921.1169.qmail@cat.math.uic.edu> From: vladimir@math.uic.edu Date: Sat, 02 Apr 2005 17:29:21 -0600 To: freebsd-mobile@freebsd.org User-Agent: nail 11.20 1/13/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: laptops and power to the usb devices X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 23:29:23 -0000 I have a USB logitech camera plugged into the usb port on a laptop (Thinkpad T23 with a 5.4-BETA1 installed, dualbooting with XP). The camera doesn't work in FreeBSD; I use it in Windows for videoconferencing. Unfortunately the device stays powered up in BSD, is there any way to turn the power off (or to tell the system to completely ignore the camera)? I supposed I could unplug it from the USB port, but it's a PITA to do this all the time. Thanks, Vladimir