From owner-freebsd-usb@FreeBSD.ORG Mon Jul 14 16:48:11 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39C151065686 for ; Mon, 14 Jul 2008 16:48:11 +0000 (UTC) (envelope-from simsong@acm.org) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.freebsd.org (Postfix) with ESMTP id 25B378FC08 for ; Mon, 14 Jul 2008 16:48:11 +0000 (UTC) (envelope-from simsong@acm.org) Received: from m.ern.nps.edu (t.eecs.harvard.edu [140.247.62.34]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.eecs.harvard.edu (Postfix) with ESMTP id 521101A450A; Mon, 14 Jul 2008 12:48:08 -0400 (EDT) Message-Id: From: Simson Garfinkel To: Toomas Aas In-Reply-To: <200807141935.25292.toomas.aas@raad.tartu.ee> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 14 Jul 2008 09:48:07 -0700 References: <200807101940.m6AJe9b0028179@freefall.freebsd.org> <200807102203.35245.hselasky@c2i.net> <06B613DC-AC88-4DCC-B94D-A2D3BDA06F96@acm.org> <200807141935.25292.toomas.aas@raad.tartu.ee> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-usb@freebsd.org Subject: Re: usb/125450: Removing USB flash card while being accessed causes kernel panic X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 16:48:11 -0000 On Jul 14, 2008, at 9:35 AM, Toomas Aas wrote: > Monday 14 July 2008 19:18:51 kirjutas Simson Garfinkel: > >> Unfortunately, I can't get the stack trace because the system is not >> performing the crash dump. I've never done a FreeBSD crash dump. I >> tried following the directions, but no luck. >> >> I have also tried configuring a dumpdev in the /etc/rc.conf file: >> >> 03:27 PM copy:/home/simsong# cat /etc/rc.conf >> hostname="copy" >> ifconfig_em0="DHCP" >> keymap="us.pc-ctrl" >> keyrate="fast" >> linux_enable="YES" >> moused_enable="YES" >> sshd_enable="YES" >> dumpdev=/dev/ad0s1a > > dumpdev should be set to swap device - "/dev/ad0s1b" in your case. But > actually you *should* be able to leave it undefined, in which case > "AUTO" is > used. Huh. How about that. Dyslexia strikes again. Let me leave it undefined and see what happens. > > > I am also trying to create a pr regarding panic when connecting and > disconnecting an umass device, and I also can't get a crash dump. > Don't know > why... Hm... I guess I'm lucky that it didn't wipe out /.