Subject: RE: port-xen/35557: Xen 3.0.3 crashes when attempting to mount a usb-drive
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Feddersen <thomas.feddersen@t-online.de>
List: netbsd-bugs
Date: 02/07/2007 18:45:02
The following reply was made to PR port-xen/35557; it has been noted by GNATS.
From: "Thomas Feddersen" <thomas.feddersen@t-online.de>
To: <gnats-bugs@NetBSD.org>
Cc:
Subject: RE: port-xen/35557: Xen 3.0.3 crashes when attempting to mount a usb-drive
Date: Wed, 7 Feb 2007 19:43:42 +0100
>Environment:=20
In the meantime I have updated to:
$ uname -a
NetBSD Ximus.feddersen.xx 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOM0) #0: Mon =
Feb
5 06:26:05 UTC 2007
builds@b1.netbsd.org:/home/builds/ab/netbsd-4/i386/200702040000Z-obj/home=
/bu
ilds/ab/netbsd-4/src/sys/arch/i386/compile/XEN3_DOM0 i386
>Description:
The problem remains. I made another attempt with the 2,5" drive: The =
system
stalled when I only touched the usb-socket with the outer (shield) metal
without actually making contact through the pins. I assume there was a
static discharge - I held the 2,5" drive in my hand when I touched the
socket.
After reboot I made a second attempt by plugging the 3,5" drive in first =
and
leaving it pugged in. This time I was able to actually connect and mount =
the
2,5" drive. It's formatted MS-DOS, I copied a file from the 2,5" =
usb-drive
to /tmp, but the system response was extremely sluggish. Echo of my
keystrokes was very irregular, delay between 0 and 20 seconds, output =
from a
command took up to one minute. Below is a term-shot of
# systat vmstat 1=20
-->=20
2 users Load 1.04 0.41 0.19 Wed Feb 7 =
16:53:32
Proc:r d s w Csw Trp Sys Int Sof Flt PAGING
SWAPPING
3 12 2 6 20 95329 1 6 in out =
in
out
ops
0.1% Sy 0.0% Us 0.0% Ni 99.9% In 0.0% Id pages
| | | | | | | | | | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
forks
=20
fkppw
memory totals (in kB) 95329 Interrupts
fksvm
real virtual free vcpu0 softclock
pwait
Active 18416 20088 1252 vcpu0 softnet
relck
All 52840 54512 131592 vcpu0 xenevt
rlkok
2 ioapic0 pin 21
noram
Namei Sys-cache Proc-cache 95227 ioapic0 pin 17
ndcpy
Calls hits % hits % ioapic0 pin 23
fltcp
9 9 100 ioapic0 pin 19
zfod
vcpu0 irq1
cow
Disks: seeks xfers bytes %busy 100 vcpu0 clock =
64
fmin
md0 vcpu0 xenbus =
85
ftarg
cd0
itarg
wd0 9885 0.1 =
3780
wired
wd1
pdfre
wd2
pdscn
wd3
wd4
wd5
raid0
sd0 2471 100
<--
Even after I unmounted and unplugged the usb-drives, the system =
perfomance
didn't return, the shutdown took about ten times as long as usual.=20
>Fix:
Before the attempts described above, I tested a lot of connecting, =
touching,
mounting and copying with usb-drives under netbsd-GENERIC.MPACPI - with =
no
problems.
Kind Regards
Thomas
--
Dipl.-Ing. Thomas Feddersen
Beratender Ingenieur
engineering for pleasure and profit