From: Keshav Darak Subject: Hugepage support Date: Mon, 10 Jan 2011 08:33:41 -0800 (PST) Message-ID: <619141.4915.qm@web59613.mail.ac4.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2030141878==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2030141878== Content-Type: multipart/alternative; boundary="0-916906957-1294677221=:4915" --0-916906957-1294677221=:4915 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hi, I tried to make huge page request in Fedora x86_64 PV guest using xen 4.1 u= nstable and it crashed(crash info given below) I had enabled superpages in config file I had also set hugepages parameter at boot time for the PV Dom U =0A=0A=0ABy excuting # cat /proc/mem_info | grep Huge gave me that there are 10 free huge pages available , still the domain cras= hed. [=A0=A0 86.403654] BUG: unable to handle kernel paging request at ffff88000= 2b35cb0 =0A=0A[=A0=A0 86.403695] IP: [] xen_set_pte+0x47/0x52 [=A0=A0 86.403725] PGD 1a43067 PUD 1a47067 PMD 3e58067 PTE 8010000002b35065 =0A[=A0=A0 86.403755] Oops: 0003 [#1] SMP=20 [=A0=A0 86.403773] last sysfs file: /sys/devices/virtual/vc/vcsa6/uevent [=A0=A0 86.403791] CPU 0=20 [=A0=A0=0A 86.403800] Modules linked in: ip6t_REJECT nf_conntrack_ipv6 =0Ai= p6table_filter ip6_tables ipv6 xen_netfront xen_blkfront [last =0Aunloaded:= scsi_wait_scan] =0A[=A0=A0 86.403859]=20 [=A0=A0 86.403872] Pid: 759, comm: sohuge Not tainted 2.6.35.6-45.fc14.x86_= 64 #1 / [=A0=A0 86.403888] RIP: e030:[]=A0 [] x= en_set_pte+0x47/0x52 [=A0=A0 86.403913] RSP: e02b:ffff88001cf43d38=A0 EFLAGS: 00010296 =0A=0A=0A[=A0=A0 86.403928] RAX: 0000000000000000 RBX: ffff880002b35cb0 RCX= : 8000000140f750e7 [=A0=A0 86.403945] RDX: 0000000000000000 RSI: 8000000140f750e7 RDI: ffff880= 002b35cb0 [=A0=A0 86.403964] RBP: ffff88001cf43d58 R08: 0000000000000200 R09: ffff880= 002642128 =0A=0A=0A[=A0=A0 86.403982] R10: 0000000000000022 R11: 0000000000000246 R12= : 8000000140f750e7 [=A0=A0 86.404000] R13: 000000000001e74d R14: ffff88001ec8e680 R15: ffff880= 01e50dd00 [=A0=A0 86.404026] FS:=A0 00007f0672be1720(0000) GS:ffff880003e99000(0000) = knlGS:0000000000000000 =0A=0A=0A[=A0=A0 86.404048] CS:=A0 e033 DS: 0000 ES: 0000 CR0: 000000008005= 003b [=A0=A0 86.404068] CR2: ffff880002b35cb0 CR3: 00000000025cd000 CR4: 0000000= 000002660 [=A0=A0 86.404071] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000= 000000000 =0A=0A=0A[=A0=A0 86.404071] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7= : 0000000000000400 [=A0=A0 86.404071] Process sohuge (pid: 759, threadinfo ffff88001cf42000, t= ask ffff88001e50dd00) [=A0=A0 86.404071] Stack: [=A0=A0 86.404071]=A0 ffff8800025c9a10 ffff880002b35cb0 8000000140f750e7 00= 007f0672c00000 =0A=0A=0A[=A0=A0 86.404071] <0> ffff88001cf43db8 ffffffff8100514a 000000000= 0000022 ffff880002642128 [=A0=A0 86.404071] <0> 0000000000000200 8000000002800027 8000000000000027 f= fff8800025c9a10 [=A0=A0 86.404071] Call Trace: =0A=0A=0A[=A0=A0 86.404071]=A0 [] xen_set_pte_at+0xe5/0xf= 4 [=A0=A0 86.404071]=A0 [] set_huge_pte_at+0xe/0x12 [=A0=A0 86.404071]=A0 [] hugetlb_fault+0x380/0x510 [=A0=A0 86.404071]=A0 [] handle_mm_fault+0xbd/0x84d =0A=0A=0A[=A0=A0 86.404071]=A0 [] ? xen_restore_fl_direct= _end+0x0/0x1 [=A0=A0 86.404071]=A0 [] ? raw_local_irq_restore+0x10/0x1= 2 [=A0=A0 86.404071]=A0 [] do_page_fault+0x250/0x265 =0A=0A=0A[=A0=A0 86.404071]=A0 [] page_fault+0x25/0x30 [=A0=A0 =0A86.404071] Code: ff ff 05 be 00 ca 00 e8 aa ff ff ff 44 8b 2d ba= 00 ca =0A00 e8 48 6f 02 00 ff c8 0f 94 c0 0f b6 c0 46 8d 2c 28 44 89 2d a2= 00 ca =0A00 <4c> 89 23 5a 5b 41 5c 41 5d c9 c3 55 48 89 e5 41 57 41 56 41 = =0A55=20 =0A[=A0=A0 86.404071] RIP=A0 [] xen_set_pte+0x47/0x52 [=A0=A0 86.404071]=A0 RSP [=A0=A0 86.404071] CR2: ffff880002b35cb0 [=A0=A0 86.404071] ---[ end trace b6fd430c22cc2dfc ]--- Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =0A=0A=0A=A0kernel:[=A0=A0 86.403755] Oops: 0003 [#1] SMP=20 Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =A0kernel:[=A0=A0 86.403773] last sysfs file: /sys/devices/virtual/vc/vcsa6= /uevent Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =0A=0A=0A=A0kernel:[=A0=A0 86.404071] Stack: Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =A0kernel:[=A0=A0 86.404071] Call Trace: Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =A0kernel:[=A0=A0=0A 86.404071] Code: ff ff 05 be 00 ca 00 e8 aa ff ff ff 4= 4 8b 2d ba 00 ca =0A00 e8 48 6f 02 00 ff c8 0f 94 c0 0f b6 c0 46 8d 2c 28 4= 4 89 2d a2 00 ca =0A00 <4c> 89 23 5a 5b 41 5c 41 5d c9 c3 55 48 89 e5 41 57= 41 56 41 =0A55=20 =0A Message from syslogd@localhost at Jan=A0 8 23:05:21 ... =A0kernel:[=A0=A0 86.404071] CR2: ffff880002b35cb0 can anyone tell the way problem can be solved ? =0A=0A =0A =0A =0A- Keshav Darak.=0A=0A=0A --0-916906957-1294677221=:4915 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
=0A=0A --0-916906957-1294677221=:4915-- --===============2030141878== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2030141878==--
hi,

I tried to make huge page request = in Fedora x86_64 PV guest using xen 4.1 unstable and it crashed(crash info = given below)
I had enabled superpages in config file
I had also set h= ugepages parameter at boot time for the PV Dom U
=0A=0A=0ABy excuting# cat /proc/mem_info | grep Huge
gave me that there are 10 free huge pa= ges available , still the domain crashed.


[   86.40365= 4] BUG: unable to handle kernel paging request at ffff880002b35cb0
=0A= =0A[   86.403695] IP: [<ffffffff8100505a>] xen_set_pte+0x47= /0x52
[   86.403725] PGD 1a43067 PUD 1a47067 PMD 3e58067 PTE 8= 010000002b35065
=0A[   86.403755] Oops: 0003 [#1] SMP
[&nb= sp;  86.403773] last sysfs file: /sys/devices/virtual/vc/vcsa6/
ue= vent
[   86.403791] CPU 0
[  =0A 86.403800] Modu= les linked in: ip6t_REJECT nf_conntrack_ipv6 =0Aip6table_filter ip6_tables = ipv6 xen_netfront xen_blkfront [last =0Aunloaded: scsi_wait_scan]
=0A[&n= bsp;  86.403859]
[   86.403872] Pid: 759, comm: sohuge N= ot tainted 2.6.35.6-45.fc14.x86_64 #1 /
[   86.403888] RIP: e0= 30:[<ffffffff8100505a>]  [<ffffffff8100505a>] xen_set_pte+= 0x47/0x52
[   86.403913] RSP: e02b:ffff88001cf43d38  EFLA= GS: 00010296
=0A=0A=0A[   86.403928] RAX: 0000000000000000 RBX= : ffff880002b35cb0 RCX: 8000000140f750e7
[   86.403945] RDX: 0= 000000000000000 RSI: 8000000140f750e7 RDI: ffff880002b35cb0
[  = ; 86.403964] RBP: ffff88001cf43d58 R08: 0000000000000200 R09: ffff880002642= 128
=0A=0A=0A[   86.403982] R10: 0000000000000022 R11: 0000000= 000000246 R12: 8000000140f750e7
[   86.404000] R13: 0000000000= 01e74d R14: ffff88001ec8e680 R15: ffff88001e50dd00
[   86.4040= 26] FS:  00007f0672be1720(0000) GS:ffff880003e99000(0000) knlGS:000000= 0000000000
=0A=0A=0A[   86.404048] CS:  e033 DS: 0000 ES:= 0000 CR0: 000000008005003b
[   86.404068] CR2: ffff880002b35c= b0 CR3: 00000000025cd000 CR4: 0000000000002660
[   86.404071] = DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
=0A=0A= =0A[   86.404071] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7= : 0000000000000400
[   86.404071] Process sohuge (pid: 759, th= readinfo ffff88001cf42000, task ffff88001e50dd00)
[   86.40407= 1] Stack:
[   86.404071]  ffff8800025c9a10 ffff880002b35c= b0 8000000140f750e7 00007f0672c00000
=0A=0A=0A[   86.404071] &= lt;0> ffff88001cf43db8 ffffffff8100514a 0000000000000022 ffff88000264212= 8
[   86.404071] <0> 0000000000000200 8000000002800027 8= 000000000000027 ffff8800025c9a10
[   86.404071] Call Trace:=0A=0A=0A[   86.404071]  [<ffffffff8100514a>] xen_set= _pte_at+0xe5/0xf4
[   86.404071]  [<ffffffff810fc62e&g= t;] set_huge_pte_at+0xe/0x12
[   86.404071]  [<fffffff= f810fec42>] hugetlb_fault+0x380/0x510
[   86.404071]  = [<ffffffff810eba12>] handle_mm_fault+0xbd/0x84d
=0A=0A=0A[ &n= bsp; 86.404071]  [<ffffffff8100670f>] ? xen_restore_fl_direct_en= d+0x0/0x1
[   86.404071]  [<ffffffff812aad54>]= ? raw_local_irq_restore+0x10/0x12
[   86.404071]  [= <ffffffff8146c468>] do_page_fault+0x250/0x265
=0A=0A=0A[ &nbs= p; 86.404071]  [<ffffffff814697f5>] page_fault+0x25/0x30
[&nb= sp;  =0A86.404071] Code: ff ff 05 be 00 ca 00 e8 aa ff ff ff 44 8b 2d = ba 00 ca =0A00 e8 48 6f 02 00 ff c8 0f 94 c0 0f b6 c0 46 8d 2c 28 44 89 2d = a2 00 ca =0A00 <4c> 89 23 5a 5b 41 5c 41 5d c9 c3 55 48 89 e5 41 57 4= 1 56 41 =0A55
=0A[   86.404071] RIP  [<ffffffff810050= 5a>] xen_set_pte+0x47/0x52
[   86.404071]  RSP <fff= f88001cf43d38>
[   86.404071] CR2: ffff880002b35cb0
[&nb= sp;  86.404071] ---[ end trace b6fd430c22cc2dfc ]---

Message fr= om syslogd@localhost at Jan  8 23:05:21 ...
=0A=0A=0A kernel:[=    86.403755] Oops: 0003 [#1] SMP

Message from syslogd@lo= calhost at Jan  8 23:05:21 ...
 kernel:[   86.403773= ] last sysfs file: /sys/devices/virtual/vc/vcsa6/uevent

Message= from syslogd@localhost at Jan  8 23:05:21 ...
=0A=0A=0A kerne= l:[   86.404071] Stack:

Message from syslogd@localhost at = Jan  8 23:05:21 ...
 kernel:[   86.404071] Call Trac= e:

Message from syslogd@localhost at Jan  8 23:05:21 ...
&nb= sp;kernel:[  =0A 86.404071] Code: ff ff 05 be 00 ca 00 e8 aa ff f= f ff 44 8b 2d ba 00 ca =0A00 e8 48 6f 02 00 ff c8 0f 94 c0 0f b6 c0 46 8d 2= c 28 44 89 2d a2 00 ca =0A00 <4c> 89 23 5a 5b 41 5c 41 5d c9 c3 55 48= 89 e5 41 57 41 56 41 =0A55
=0A
Message from syslogd@localhost at Ja= n  8 23:05:21 ...
 kernel:[   86.404071] CR2: ffff88= 0002b35cb0



can anyone tell the way problem can be solved ?
=0A=0A
=0A
= =0A
=0A-
Keshav Darak.