Gentoo Archives: gentoo-hardened

From: Brian Kroth <bpkroth@××××.edu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] kernel upgrade problems: bad page state
Date: Wed, 31 Oct 2007 03:14:42
Message-Id: 4727F273.9010907@wisc.edu
In Reply to: Re: [gentoo-hardened] kernel upgrade problems: bad page state by Brian Kroth
1 Brian Kroth wrote:
2 > Brian Kroth wrote:
3 >> Nevermind. I found it, but I had to disable GRKERNSEC_HIDESYM.
4 >>
5 >> Compiling...
6 >>
7 >> Brian
8 >>
9 >> Brian Kroth wrote:
10 >>> I didn't see this in the menuconfig, so I just added
11 >>>
12 >>> CONFIG_KALLSYMS=y
13 >>>
14 >>> to the bottom of the .config. Acceptable? It seems to be building...
15 >>>
16 >>> pageexec@××××××××.hu wrote:
17 >>>> On 29 Oct 2007 at 23:02, Brian Kroth wrote:
18 >>>>
19 >>>>> I started getting these messages after an upgrade from
20 >>>>> hardened-sources-2.6.20-r10 to 2.6.22.r8. Nothing changed from the
21 >>>>> old config. I just did "make oldconfig" and answered N to
22 >>>>> everything since they weren't relevant. In particular, nothing in
23 >>>>> PAX or GrSec menus were changed, though whenever I get big nasty
24 >>>>> messages like this I suspect one of them. Can anyone give me some
25 >>>>> direction as to how to fix this or what might be causing it? I can
26 >>>>> post the full configs if need be.
27 >>>>
28 >>>> can you enable CONFIG_KALLSYMS and also decode the oops (or at least
29 >>>> send me your System.map corresponding to the failing kernel image)?
30 >>>>
31 >
32 > Attached are the config and System.map in the tar. It's rebooting now.
33 >
34 > Brian
35
36 The first line is normal and happens during rc.local - just after a
37 successful boot. 9 seconds later nagios sends it first queries out
38 which die - still looking at which they were exactly. At the 5 minute
39 mark, cacti polling happens which also dies. SEC killed both the
40 processes as soon as it saw "Bad page state in X" so that I could
41 actually read some this this time.
42
43 Let me know if you need more info.
44
45 Thanks,
46 Brian
47
48 Oct 30 22:02:04 tux-mc IPMI Watchdog: driver initialized
49 Oct 30 22:02:13 tux-mc Bad page state in process 'nagios'
50 Oct 30 22:02:13 tux-mc page:c15373a0 flags:0x40000001 mapping:00000000
51 mapcount:0 count:0
52 Oct 30 22:02:13 tux-mc Trying to fix it up, but a reboot is needed
53 Oct 30 22:02:13 tux-mc Backtrace:
54 Oct 30 22:02:13 tux-mc [<c044b59f>] bad_page+0x63/0x92
55 Oct 30 22:02:13 tux-mc [<c044bf44>] free_hot_cold_page+0x7c/0x17f
56 Oct 30 22:02:13 tux-mc [<c045525c>] do_wp_page+0x223/0x3ed
57 Oct 30 22:02:13 tux-mc [<c045655c>] __handle_mm_fault+0x2ad/0x305
58 Oct 30 22:02:13 tux-mc [<c0414616>] do_page_fault+0x1da/0x7d5
59 Oct 30 22:02:13 tux-mc [<c041443c>] do_page_fault+0x0/0x7d5
60 Oct 30 22:02:13 tux-mc [<c06e83c5>] error_code+0x75/0x80
61 Oct 30 22:02:13 tux-mc [<c0460000>] shmem_free_pages+0xb/0x2e
62 Oct 30 22:02:13 tux-mc =======================
63 Oct 30 22:05:16 tux-mc Bad page state in process 'cactid'
64 Oct 30 22:05:16 tux-mc page:c149d2c0 flags:0x40000001 mapping:00000000
65 mapcount:0 count:0
66 Oct 30 22:05:16 tux-mc Trying to fix it up, but a reboot is needed
67 Oct 30 22:05:16 tux-mc Backtrace:
68 Oct 30 22:05:16 tux-mc [<c044b59f>] bad_page+0x63/0x92
69 Oct 30 22:05:16 tux-mc [<c044bf44>] free_hot_cold_page+0x7c/0x17f
70 Oct 30 22:05:16 tux-mc [<c044c69c>] __pagevec_free+0x14/0x1c
71 Oct 30 22:05:16 tux-mc [<c044ed58>] release_pages+0x122/0x144
72 Oct 30 22:05:16 tux-mc [<c045d5fe>] free_pages_and_swap_cache+0x51/0x75
73 Oct 30 22:05:16 tux-mc [<c0453c57>] zap_pte_range+0x1f4/0x28d
74 Oct 30 22:05:16 tux-mc [<c0453d9d>] unmap_page_range+0xad/0x129
75 Oct 30 22:05:16 tux-mc [<c0453ef6>] unmap_vmas+0xdd/0x1ec
76 Oct 30 22:05:16 tux-mc [<c045969c>] exit_mmap+0x72/0xf0
77 Oct 30 22:05:16 tux-mc [<c041ab18>] mmput+0x33/0x91
78 Oct 30 22:05:16 tux-mc [<c041fb47>] do_exit+0x113/0x3f6
79 Oct 30 22:05:16 tux-mc [<c046723e>] vfs_write+0x113/0x166
80 Oct 30 22:05:16 tux-mc [<c041fe70>] do_group_exit+0x26/0x6c
81 Oct 30 22:05:16 tux-mc [<c0402a82>] syscall_call+0x7/0xb
82 Oct 30 22:05:16 tux-mc =======================
83 Oct 30 22:05:19 tux-mc Bad page state in process 'cactid'
84 Oct 30 22:05:19 tux-mc page:c14e66a0 flags:0x40000001 mapping:00000000
85 mapcount:0 count:0
86 Oct 30 22:05:19 tux-mc Trying to fix it up, but a reboot is needed
87 Oct 30 22:05:19 tux-mc Backtrace:
88 Oct 30 22:05:19 tux-mc [<c044b59f>] bad_page+0x63/0x92
89 Oct 30 22:05:19 tux-mc [<c044bf44>] free_hot_cold_page+0x7c/0x17f
90 Oct 30 22:05:19 tux-mc [<c045525c>] do_wp_page+0x223/0x3ed
91 Oct 30 22:05:19 tux-mc [<c045655c>] __handle_mm_fault+0x2ad/0x305
92 Oct 30 22:05:19 tux-mc [<c0414616>] do_page_fault+0x1da/0x7d5
93 Oct 30 22:05:19 tux-mc [<c04750cd>] sys_poll+0x45/0x49
94 Oct 30 22:05:19 tux-mc [<c041443c>] do_page_fault+0x0/0x7d5
95 Oct 30 22:05:19 tux-mc [<c06e83c5>] error_code+0x75/0x80
96 Oct 30 22:05:19 tux-mc [<c06e0000>] auth_unix_add_addr+0xe/0x37
97 Oct 30 22:05:19 tux-mc =======================
98 Oct 30 22:05:19 tux-mc Bad page state in process 'cactid'
99 Oct 30 22:05:19 tux-mc page:c14e6680 flags:0x40000001 mapping:00000000
100 mapcount:0 count:0
101 Oct 30 22:05:19 tux-mc Trying to fix it up, but a reboot is needed
102 Oct 30 22:05:19 tux-mc Backtrace:
103 Oct 30 22:05:19 tux-mc [<c044b59f>] bad_page+0x63/0x92
104 Oct 30 22:05:19 tux-mc [<c044bf44>] free_hot_cold_page+0x7c/0x17f
105 Oct 30 22:05:19 tux-mc [<c045525c>] do_wp_page+0x223/0x3ed
106 Oct 30 22:05:19 tux-mc [<c045655c>] __handle_mm_fault+0x2ad/0x305
107 Oct 30 22:05:19 tux-mc [<c0414616>] do_page_fault+0x1da/0x7d5
108 Oct 30 22:05:19 tux-mc [<c04750cd>] sys_poll+0x45/0x49
109 Oct 30 22:05:19 tux-mc [<c041443c>] do_page_fault+0x0/0x7d5
110 Oct 30 22:05:19 tux-mc [<c06e83c5>] error_code+0x75/0x80
111 Oct 30 22:05:19 tux-mc [<c06e0000>] auth_unix_add_addr+0xe/0x37
112 Oct 30 22:05:19 tux-mc =======================

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-hardened] kernel upgrade problems: bad page state Remy Bosch <remybosch@××××××.nl>
Re: [gentoo-hardened] kernel upgrade problems: bad page state Remy Bosch <remybosch@××××××.nl>