usb/125450: Removing USB flash card while being accessed causes
kernel panic
Toomas Aas
toomas.aas at raad.tartu.ee
Mon Jul 14 16:35:33 UTC 2008
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.
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...
> 03:28 PM copy:/home/simsong# cat /etc/fstab
> # Device Mountpoint FStype Options Dump Pass#
> /dev/ad0s1b none swap sw 0 0
> /dev/ad0s1a / ufs rw 1 1
> /dev/ad0s1e /tmp ufs rw 2 2
> /dev/ad0s1f /usr ufs rw 2 2
> /dev/ad0s1d /var ufs rw 2 2
> /dev/acd0 /cdrom cd9660 ro,noauto 0 0
> /dev/acd1 /cdrom1 cd9660 ro,noauto 0 0
> /dev/ad8s1d /big ufs rw 3 3
> 03:29 PM copy:/home/simsong#
--
Toomas Aas
More information about the freebsd-usb
mailing list