Re: hotplugd umass kernel crash

2006-12-22 Thread Michael
Hi,

Marc Balmer schrieb:
 I assume you have an /etc/hotplugd/attach script, can you post that?

# cat /etc/hotplug/attach
#!/bin/sh

DEVCLASS=$1
DEVNAME=$2

case $DEVCLASS in
2)
# disk devices
#
label=`disklabel $DEVNAME 21 | sed -n '/^label: /s/^label: //p'`
case $label in
USB*DISK*28X*)
[ -d /media/usb ] || mkdir -p /media/usb
mount_msdos -o ro,nodev,nosuid /dev/$DEVNAMEi /media/usb
esac
;;

3)
# network devices
#
;;
esac



Re: hotplugd umass kernel crash

2006-12-21 Thread Michael

Michael schrieb:

Otto Moerbeek schrieb:

On Wed, 20 Dec 2006, Michael wrote:
Since it doesn't write anything to messages or any other file I 
wonder how I
can get the kernel crash message + ddb trace + ddb ps into a file 
so I can

post it here?


attach a serial console, see http://www.openbsd.org/faq/faq7.html#SerCon

-Otto


Got no serial cable available right now so I made some photos... :D

http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1679.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1680.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1681.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1682.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1683.jpg

Would be nice if someone could look into that since I can't start 
hotplug right now...


 - Michael


Noone got an idea what I can do about this? Currently the whole system 
crashes when starting hotplugd... please look at the images for error 
messages.


 - Michael



Re: hotplugd umass kernel crash

2006-12-21 Thread Jon Simola

On 12/21/06, Michael [EMAIL PROTECTED] wrote:


 Got no serial cable available right now so I made some photos... :D

 http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1679.jpg
 http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1680.jpg
 http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1681.jpg
 http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1682.jpg
 http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1683.jpg



Noone got an idea what I can do about this? Currently the whole system
crashes when starting hotplugd... please look at the images for error
messages.


Try to help yourself by helping the developers.

The pics are nice, but they are 2304x1728 and 1.7MB each (and out of
focus, your camera doesn't like taking pics of a CRT). I got bored
waiting for them to load on the fibre connection at work.

What are you plugging in and where?
Have you tried a different USB port?
Have you removed all other USB devices?
Have you tried plugging in the device without hotplugd running?
Plugging in the device before turning the computer on?
What do your hotplugd scripts look like?
Can you manually do what you're trying to do without hotplugd?

My wild guess based on what little information you've provided is that
you're trying to plug some kind of memory card into a broken card
reader. Please provide more details, including descriptions of the
hardware and a step by step process that can reproduce the problem.

--
Jon



Re: hotplugd umass kernel crash

2006-12-21 Thread Marc Balmer
* Michael wrote:

 Noone got an idea what I can do about this? Currently the whole system 
 crashes when starting hotplugd... please look at the images for error 
 messages.

I assume you have an /etc/hotplugd/attach script, can you post that?



Re: hotplugd umass kernel crash

2006-12-20 Thread Michael

Otto Moerbeek schrieb:

On Wed, 20 Dec 2006, Michael wrote:

Since it doesn't write anything to messages or any other file I wonder how I
can get the kernel crash message + ddb trace + ddb ps into a file so I can
post it here?


attach a serial console, see http://www.openbsd.org/faq/faq7.html#SerCon

-Otto


Got no serial cable available right now so I made some photos... :D

http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1679.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1680.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1681.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1682.jpg
http://wp1050733.wp078.webpack.hosteurope.de/hotplug/dsci1683.jpg

Would be nice if someone could look into that since I can't start 
hotplug right now...


 - Michael