From owner-freebsd-current@FreeBSD.ORG Mon Apr 20 13:33:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BC9B106566B for ; Mon, 20 Apr 2009 13:33:31 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 3425E8FC15 for ; Mon, 20 Apr 2009 13:33:30 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Mon, 20 Apr 2009 15:33:29 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n3KDXTua011257; Mon, 20 Apr 2009 15:33:29 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Mon, 20 Apr 2009 15:33:29 +0200 From: Matthias Apitz To: freebsd-current@freebsd.org Message-ID: <20090420133329.GA11214@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 20 Apr 2009 13:33:30.0056 (UTC) FILETIME=[97BD7C80:01C9C1BC] X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Bruce Cran Subject: Re: panic when disconnecting cdce device just before powering off PC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 13:33:31 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit El día Sunday, April 19, 2009 a las 12:42:03AM +0100, Bruce Cran escribió: > I'm running a fairly recent -current and got a panic when shutting > down. I'd pressed the power button on my GTA02 and at about the same > time had pressed the power button on my PC too. It seems the GTA02 > CDCE device powered off first, just before FreeBSD was going to power > off: > ... Hi Bruce, I can't comment on your panic... But, I have a GTA02 as well. How do you get the interface 'ue0' created and assign IP to it on USB plug-in? Any script to share? I'm still working on a better devd-hook, but I'm attaching a first working version to be placed in /usr/local/etc/devd; HIH matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="moko.conf" # # host: tiny.Sisis.de # # When the FR is attached on USB we have to assign IP ... # # , April 2009 # attach 1 { match "vendor" "0x1457"; match "product" "0x5122"; action "/usr/local/etc/devd/moko.sh $device-name"; }; --T4sUOijqQbZv57TR--