Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 13:31:48 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Bruno Damour <llama@ruomad.net>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: freebsd on opensolaris dom0
Message-ID:  <d763ac660906062231l4d8f8472s14bff7b245154f89@mail.gmail.com>
In-Reply-To: <4A2B4BDC.2020900@ruomad.net>
References:  <4A2864E1.40208@ruomad.net> <d763ac660906041941t545df92dna922097d2691e04b@mail.gmail.com> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <d763ac660906062124i29348286kd01bb8d5441fa1c9@mail.gmail.com> <4A2B4412.8030704@ruomad.net> <d763ac660906062141v6ead5799v584fcc030441fdee@mail.gmail.com> <4A2B4BDC.2020900@ruomad.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I can't trigger this here with my Centos 5.3 domU. I have a feeling
this may be related to the hypervisor/dom0 environment.

Not to say it isn't a bug, it is just going to take me more time to
try and figure out.

I'll commit some more Xen tidyups to -current and build a new image
for you. It'll still have the bug but it will at least include the
local source changes I am trying out. That will make testing a bit
easier on me.

Thanks,



Adrian

2009/6/7 Bruno Damour <llama@ruomad.net>:
> Adrian Chadd wrote:
>>
>> What, so fetching data from ftpd running on the xen domU to another
>> LAN connected host?
>>
>>
>>>
>>> so the problem seems to come more from upload traffic than download ?
>>>
>>
>> See, thats the sort of information I need to reproduce the problem. :)
>>
>>
>
> I enable a ftp on a local LAN host (not the dom0) and it confirms that =
=A0ftp
> get works whereas a ftp put command triggers an immediate crash :
>
> =A0 # ftp 192.168.0.103
> =A0 ftp: Unknown port `ftp', using port 21
> =A0 Connected to 192.168.0.103.
> =A0 220 random FTP server ready.
> =A0 Name (192.168.0.103): bruno
> =A0 331 Password required for bruno.
> =A0 Password:
> =A0 230 User bruno logged in.
> =A0 Remote system type is UNIX.
> =A0 Using binary mode to transfer files.
> =A0 ftp> get zaum_by_slbprod-2.6.sql
> =A0 local: zaum_by_slbprod-2.6.sql remote: zaum_by_slbprod-2.6.sql
> =A0 229 Entering Extended Passive Mode (|||14185|)
> =A0 150 Opening BINARY mode data connection for zaum_by_slbprod-2.6.sql
> =A0 (10514 bytes).
> =A0 226 Transfer complete.
> =A0 10514 bytes received in 00:00 (31.29 KB/s)
> =A0 ftp> put foobar
> =A0 local: foobar remote: foobar
> =A0 229 Entering Extended Passive Mode (|||20050|)
> =A0 150 Opening BINARY mode data connection for foobar.
> =A0 Kernel page fault with the following non-sleepable locks held:
> =A0 exclusive sleep mutex xennetif_tx (network transmit lock) r =3D 0
> =A0 (0xc39430a0) locked @
>
> /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:11=
44
> =A0 KDB: stack backtrace:
> =A0 X_db_sym_numargs(c03578d2,c3527ab4,c01166d5,c037b2c8,478,...) at
> =A0 X_db_sym_numargs+0x146
> =A0 kdb_backtrace(c037b2c8,478,ffffffff,c050a9cc,c3527aec,...) at
> =A0 kdb_backtrace+0x29
> =A0 witness_display_spinlock(c0359db5,c3527b00,4,1,0,...) at
> =A0 witness_display_spinlock+0x75
> =A0 witness_warn(5,0,c0383c74,c3527b5c,c,...) at witness_warn+0x1fd
> =A0 trap(c3527b88) at trap+0x13e
> =A0 alltraps(c39430a0,0,c037b2c8,478,2,...) at alltraps+0x1b
> =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at
> =A0 xlvbd_add+0x36b3
> =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.=
..)
> =A0 at intr_event_execute_handlers+0x125
> =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...)
> =A0 at intr_event_add_handler+0x41f
> =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8
> =A0 fork_trampoline() at fork_trampoline+0x8
> =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 ---
>
>
> =A0 Fatal trap 12: page fault while in kernel mode
> =A0 cpuid =3D 0; apic id =3D 00
> =A0 fault virtual address =A0 =3D 0x2
> =A0 fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not p=
resent
> =A0 instruction pointer =A0 =A0 =3D 0x21:0xc02f719b
> =A0 stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bc8
> =A0 frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bf8
> =A0 code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type=
 0x1b
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 1, pres 1, de=
f32 1, gran 1
> =A0 processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =
=3D 0
> =A0 current process =A0 =A0 =A0 =A0 =3D 12 (irq135: xn)
> =A0 [thread pid 12 tid 100024 ]
> =A0 Stopped at =A0 =A0 =A0xlvbd_add+0x204b: =A0 =A0 =A0 cmpl =A0 =A0$0,0(=
%edx)
> =A0 db> bt =A0 Tracing pid 12 tid 100024 td 0xc3756d80
> =A0 xlvbd_add(c39430a0,0,c037b2c8,478,2,...) at xlvbd_add+0x204b
> =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at
> =A0 xlvbd_add+0x36b3
> =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.=
..)
> =A0 at intr_event_execute_handlers+0x125
> =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...)
> =A0 at intr_event_add_handler+0x41f
> =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8
> =A0 fork_trampoline() at fork_trampoline+0x8
> =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 ---
> =A0 db>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac660906062231l4d8f8472s14bff7b245154f89>