The following reply was made to PR kernel/6381; it has been noted by GNATS.
From: Aaron Stellman <[email protected]> To: Kenneth R Westerback <[email protected]> Cc: [email protected] Subject: Re: kernel/6381: ehci kernel panic, mass storage on sansa c250 mp3 player insertion Date: Thu, 20 May 2010 12:05:40 -0700 On Thu, May 20, 2010 at 12:26:08AM -0400, Kenneth R Westerback wrote: > Can you plug it into non-ehci ports to see if this is ehci related? > > .... Ken > After further investigation, it turns out it's the hotplugd which is causing the problem. I have only attach script, and here are the contents that are causing panic: #!/bin/sh DEVCLASS=$1 DEVNAME=$2 case $DEVCLASS in 2) # disk devices disklabel=`/sbin/disklabel $DEVNAME 2>&1 | \ sed -n '/^label: /s/^label: //p'` ;; 3) # network devices; requires hostname.$DEVNAME sh /etc/netstart $DEVNAME ;; esac If I comment out disklabel, no panic happens. Preprending "sleep 2" right before running disklabel, doesn't change anything. Could there be some sort of race condition, since hotplugd will fork two children, to run attach for sd{1,2}?
