Gentoo Archives: gentoo-hardened

From: Charles Taylor <security@××××××.net>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Kernel Oops at Boot with hardened-sources
Date: Mon, 19 Mar 2007 03:43:03
Message-Id: 760547.5286.qm@web35614.mail.mud.yahoo.com
In Reply to: Re: [gentoo-hardened] Kernel Oops at Boot with hardened-sources by Christian Heim
1 No luck....
2
3 VFS: Mounted root (reiserfs filesystem) readonly.
4 Freeing unused kernel memory: 284k freed
5 Write protecting the kernel read-only data: 631k
6 BUG: unable to handle kernel paging request at virtual
7 address c0484030
8 printing eip:
9 c014ebce
10 *pgd = 37802163
11 *pmd = 37802163
12 *pte = 484161
13 Oops: 0003 [#1]
14 SMP
15 Modules linked in:
16 CPU: 0
17 EIP: 0060:[<c014ebce>] Not tainted VLI
18 EFLAGS: 00010046 (2.6.19-hardened-r6 #1)
19 EIP is at __switch_to+0xbe/0x1d0
20 eax: 00000000 ebx: c0521bf0 ecx: c0484000 edx:
21 00000000
22 esi: c0521a40 edi: c2157a90 ebp: c2157c40 esp:
23 c069df60
24 ds: 0068 es: 0068 ss: 0068
25 Process swapper (pid: 0, ti=c069c000 task=c0521a40
26 task.ti=c069c000)
27 Stack: c0521f80 c0521a40 c202c140 c0521880 00000002
28 c215fac0 c04794ee c069dfd0
29 00000046 00000000 c061ee00 c011e180 c011e100
30 c0482000 00734063 c015129a
31 00000001 c2157a90 c202c140 c0521b50 0007408c
32 f06d56cf 00000002 c2157a90
33 Call Trace:
34 [<c04794ee>] schedule+0x37e/0x730
35 [<c0479fa8>] io_schedule+0x28/0x40
36 [<c01d7cf9>] sync_buffer+0x39/0x40
37 [<c047a142>] __wait_on_bit+0x42/0x70
38 [<c047a210>] out_of_line_wait_on_bit+0xa0/0xc0
39 [<c01d7d68>] __wait_on_buffer+0x28/0x30
40 [<c02125bc>] search_by_key+0xbc/0xcc0
41 [<c0200510>] reiserfs_read_locked_inode+0x70/0x150
42 [<c02006b9>] reiserfs_iget+0x99/0xb0
43 [<c01fb8ce>] reiserfs_lookup+0x11e/0x170
44 [<c01be3db>] real_lookup+0xbb/0x120
45 [<c01be6fb>] do_lookup+0x9b/0xd0
46 [<c01be845>] __link_path_walk+0x115/0xe40
47 [<c01bf5be>] link_path_walk+0x4e/0xe0
48 [<c01bf96b>] do_path_lookup+0x13b/0x200
49 [<c01bfaa0>] __path_lookup_intent_open+0x50/0x90
50 [<c01bfafe>] path_lookup_open+0x1e/0x30
51 [<c01c0424>] open_namei+0x74/0x640
52 [<c01b60de>] do_filp_open+0x2e/0x60
53 [<c01b645e>] do_sys_open+0x4e/0xe0
54 [<c01b650c>] sys_open+0x1c/0x20
55 [<c014c475>] init+0xc5/0x1a0
56 [<c0151567>] kernel_thread_helper+0x7/0x10
57 DWARF2 unwinder stuck at 0x0
58
59 Leftover inexact backtrace:
60
61 =======================
62 Code: 10 8b 53 1c 39 d0 0f 85 e4 00 00 00 8c 65 28 8c
63 6d 2c c1 e6 0c 8d 8e 00 40
64 48 c0 8b 74 24 04 8b 86 b0 01 00 00 8b 96 b4 01 00 00
65 <89> 41 30 89 51 34 8b 43
66 08 8b 53 0c 89 41 38 89 51 3c 8b 43 10
67 EIP: [<c014ebce>] __switch_to+0xbe/0x1d0 SS:ESP
68 0068:c069df60
69 <0>Kernel panic - not syncing: Attempted to kill the
70 idle task!
71 BUG: warning at
72 arch/i386/kernel/smp.c:549/smp_call_function()
73 [<c01517ba>] dump_trace+0x1ba/0x1e0
74 [<c0151898>] show_trace_log_lvl+0x18/0x30
75 [<c01518bf>] show_trace+0xf/0x20
76 [<c01519e5>] dump_stack+0x15/0x20
77 [<c015da89>] smp_call_function+0xe9/0xf0
78 [<c015daeb>] smp_send_stop+0x1b/0x30
79 [<c016d429>] panic+0x49/0xf0
80 [<c0170691>] do_exit+0x3f1/0x440
81 [<c0152036>] die+0x226/0x230
82 [<c047cb58>] do_page_fault+0x358/0x660
83 [<c047afa9>] error_code+0x39/0x40
84 [<c014ebce>] __switch_to+0xbe/0x1d0
85 [<c04794ee>] schedule+0x37e/0x730
86 [<c0479fa8>] io_schedule+0x28/0x40
87 [<c01d7cf9>] sync_buffer+0x39/0x40
88 [<c047a142>] __wait_on_bit+0x42/0x70
89 [<c047a210>] out_of_line_wait_on_bit+0xa0/0xc0
90 [<c01d7d68>] __wait_on_buffer+0x28/0x30
91 [<c02125bc>] search_by_key+0xbc/0xcc0
92 [<c0200510>] reiserfs_read_locked_inode+0x70/0x150
93 [<c02006b9>] reiserfs_iget+0x99/0xb0
94 [<c01fb8ce>] reiserfs_lookup+0x11e/0x170
95 [<c01be3db>] real_lookup+0xbb/0x120
96 [<c01be6fb>] do_lookup+0x9b/0xd0
97 [<c01be845>] __link_path_walk+0x115/0xe40
98 [<c01bf5be>] link_path_walk+0x4e/0xe0
99 [<c01bf96b>] do_path_lookup+0x13b/0x200
100 [<c01bfaa0>] __path_lookup_intent_open+0x50/0x90
101 [<c01bfafe>] path_lookup_open+0x1e/0x30
102 [<c01c0424>] open_namei+0x74/0x640
103 [<c01b60de>] do_filp_open+0x2e/0x60
104 [<c01b645e>] do_sys_open+0x4e/0xe0
105 [<c01b650c>] sys_open+0x1c/0x20
106 [<c014c475>] init+0xc5/0x1a0
107 [<c0151567>] kernel_thread_helper+0x7/0x10
108
109
110
111
112 --- Christian Heim <phreak@g.o> wrote:
113
114 > On Sunday 18 March 2007 22:56:37 Charles Taylor
115 > wrote:
116 > > I'm attempting to use a kernel based on
117 > > hardened-sources (2.6.18-hardened) on a Dell
118 > PowerEdge
119 > > 2450 Server. Unfortunately, the kernel never
120 > boots...
121 > > It dies just before init with the below error.
122 > (Full
123 > > kernel hacking enabled.)
124 > >
125 > > grsecurity and PaX are disabled and the same
126 > .config
127 > > that builds this disaster builds a perfectly
128 > working
129 > > kernel using gentoo-sources (2.6.19-gentoo-r5) on
130 > the
131 > > same machine.
132 > >
133 > > I've attached the .config file in question.
134 > >
135 > > Can anyone tell me how to make the hardened
136 > sources
137 > > work??
138 > >
139 > > [ 63.553014] VFS: Mounted root (reiserfs
140 > filesystem)
141 > > readonly.
142 > > [ 63.553759] Freeing unused kernel memory: 284k
143 > > freed
144 > > [ 63.553889] Write protecting the kernel
145 > read-only
146 > > data: 642k
147 > > [ 63.685847] BUG: unable to handle kernel paging
148 > > request<1>BUG: unable to hand
149 > > le kernel paging request at virtual address
150 > c048d030
151 >
152 > I'm not exactly sure what might cause this, but you
153 > could always try to use
154 > the ~arched version of hardened-sources (which is
155 > also 2.6.19).
156 >
157 > Regards,
158 >
159 > Christian
160 >
161 > --
162 > Christian Heim <phreak at gentoo.org>
163 > GPG key ID: 9A9F68E6
164 > Fingerprint: AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F
165 > 9A9F 68E6
166 >
167
168 --
169 gentoo-hardened@g.o mailing list