usb/125450: Removing USB flash card while being accessed causes kernel panic

Simson Garfinkel simsong at acm.org
Mon Jul 14 16:48:11 UTC 2008


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 /.



More information about the freebsd-usb mailing list