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 02:29:36
Message-Id: 4727E7D9.7020709@wisc.edu
In Reply to: Re: [gentoo-hardened] kernel upgrade problems: bad page state by pageexec@freemail.hu
1 pageexec@××××××××.hu wrote:
2 > On 30 Oct 2007 at 18:18, Brian Kroth wrote:
3 >
4 >> It also seems strange to me that only nagios and cactid would crap out
5 >> on this. If I run the cacti poller just through php I get no errors.
6 >> The server also hosts ntp, portage over NFS, syslog-ng, mysql, dovecot,
7 >> sec, postfix, and a bunch of management scripts for other servers. It's
8 >> a busy thing, so if bad ram were the case, I'd expect to see them in
9 >> other places. Possibly just bad code on cactid/nagios' part? Should
10 >> PAX complain then?
11 >
12 > PaX only logs bad behaviour when it's about unintended code execution,
13 > this bug here is a kernel-internal consistency check, it doesn't mean
14 > that the triggering userland app has a bug, it may very well just manage
15 > to trigger a kernel bug (which in turn could be in PaX for all i know).
16 > it'd be nice if you could find a way to reproduce it, also if you could
17 > test with 2.6.23-pax.
18
19 That was my understanding as well, but I thought I should question all I
20 was not certain of.
21
22 >
23 >> Also including emerge --info for anyone who's interested. Should I be
24 >> opening a bug for this?
25 >>
26 >> # pcregrep " page:" /var/log/kern.log | sed 's/.*\(page:\S\+\).*/\1/' |
27 >> perl -e 'while (<>) { $data{$_}++ }; for (keys %data) { print $data{$_}
28 >> . " " . $_ ; };'
29 >>
30 >> 1 page:c14320e0
31 >
32 > what is more interesting is the other fields, especially flags.
33 >
34
35 Better?
36
37 # grep -i page: /var/log/kern.log
38 Oct 29 21:30:14 tux-mc page:c1467da0 flags:0x40000001 mapping:00000000
39 mapcount:0 count:0
40 Oct 29 21:30:15 tux-mc page:c159a480 flags:0x40000001 mapping:00000000
41 mapcount:0 count:0
42 Oct 29 21:35:10 tux-mc page:c11bc800 flags:0x40000001 mapping:00000000
43 mapcount:0 count:0
44 Oct 29 21:35:10 tux-mc page:c11c54a0 flags:0x40000001 mapping:00000000
45 mapcount:0 count:0
46 Oct 29 21:35:10 tux-mc page:c11c53c0 flags:0x40000001 mapping:00000000
47 mapcount:0 count:0
48 Oct 29 21:35:14 tux-mc page:c11fd320 flags:0x40000001 mapping:00000000
49 mapcount:0 count:0
50 Oct 29 21:35:16 tux-mc page:c1203f60 flags:0x40000001 mapping:00000000
51 mapcount:0 count:0
52 Oct 29 21:35:16 tux-mc page:c11fd400 flags:0x40000001 mapping:00000000
53 mapcount:0 count:0
54 Oct 29 21:40:16 tux-mc page:c124b620 flags:0x40000001 mapping:00000000
55 mapcount:0 count:0
56 Oct 29 21:40:16 tux-mc page:c1278ae0 flags:0x40000001 mapping:00000000
57 mapcount:0 count:0
58 Oct 29 21:40:17 tux-mc page:c1278ac0 flags:0x40000001 mapping:00000000
59 mapcount:0 count:0
60 Oct 29 21:45:12 tux-mc page:c1434c20 flags:0x40000001 mapping:00000000
61 mapcount:0 count:0
62 Oct 29 21:45:12 tux-mc page:c1358a00 flags:0x40000001 mapping:00000000
63 mapcount:0 count:0
64 Oct 29 21:45:14 tux-mc page:c105ef00 flags:0x40000001 mapping:00000000
65 mapcount:0 count:0
66 Oct 29 21:45:15 tux-mc page:c17fdd40 flags:0x80000001 mapping:00000000
67 mapcount:0 count:0
68 Oct 29 21:47:15 tux-mc page:c112b560 flags:0x40000001 mapping:00000000
69 mapcount:0 count:0
70 Oct 29 21:50:17 tux-mc page:c105cae0 flags:0x40000001 mapping:00000000
71 mapcount:0 count:0
72 Oct 29 21:50:17 tux-mc page:c1412fc0 flags:0x40000001 mapping:00000000
73 mapcount:0 count:0
74 Oct 29 21:57:29 tux-mc page:c11d0f20 flags:0x40000001 mapping:00000000
75 mapcount:0 count:0
76 Oct 29 22:19:35 tux-mc page:c138c720 flags:0x40000001 mapping:00000000
77 mapcount:0 count:0
78 Oct 29 22:19:35 tux-mc page:c1392da0 flags:0x40000001 mapping:00000000
79 mapcount:0 count:0
80 Oct 29 22:31:12 tux-mc page:c1211b20 flags:0x40000001 mapping:00000000
81 mapcount:0 count:0
82 Oct 30 00:01:16 tux-mc page:c1132400 flags:0x40000001 mapping:00000000
83 mapcount:0 count:0
84 Oct 30 00:10:37 tux-mc page:c10a20c0 flags:0x40000001 mapping:00000000
85 mapcount:0 count:0
86 Oct 30 00:36:17 tux-mc page:c1101ae0 flags:0x40000001 mapping:00000000
87 mapcount:0 count:0
88 Oct 30 02:51:25 tux-mc page:c1060e80 flags:0x40000001 mapping:00000000
89 mapcount:0 count:0
90 Oct 30 03:01:14 tux-mc page:c14320e0 flags:0x40000001 mapping:00000000
91 mapcount:0 count:0
92 Oct 30 03:26:15 tux-mc page:c16beb20 flags:0x40000001 mapping:00000000
93 mapcount:0 count:0
94 Oct 30 04:36:20 tux-mc page:c14bf880 flags:0x40000001 mapping:00000000
95 mapcount:0 count:0
96 Oct 30 04:36:36 tux-mc page:c154bcc0 flags:0x40000001 mapping:00000000
97 mapcount:0 count:0
98 Oct 30 05:41:22 tux-mc page:c1416200 flags:0x40000001 mapping:00000000
99 mapcount:0 count:0
100 Oct 30 07:37:43 tux-mc page:c170fac0 flags:0x80000001 mapping:00000000
101 mapcount:0 count:0
102 Oct 30 07:46:33 tux-mc page:c13071e0 flags:0x40000001 mapping:00000000
103 mapcount:0 count:0
104 Oct 30 08:17:04 tux-mc page:c12cb860 flags:0x40000001 mapping:00000000
105 mapcount:0 count:0
106 Oct 30 08:21:30 tux-mc page:c10ab540 flags:0x40000001 mapping:00000000
107 mapcount:0 count:0
108 Oct 30 09:26:26 tux-mc page:c152d5e0 flags:0x40000001 mapping:00000000
109 mapcount:0 count:0
110 Oct 30 10:26:51 tux-mc page:c12afe80 flags:0x40000001 mapping:00000000
111 mapcount:0 count:0
112 Oct 30 12:45:08 tux-mc page:c1012fe0 flags:0x00000001 mapping:00000000
113 mapcount:0 count:0
114 Oct 30 12:46:28 tux-mc page:c16ce580 flags:0x40000001 mapping:00000000
115 mapcount:0 count:0
116 Oct 30 12:56:36 tux-mc page:c16baec0 flags:0x40000001 mapping:00000000
117 mapcount:0 count:0
118 Oct 30 16:04:59 tux-mc page:c10cb440 flags:0x40000001 mapping:00000000
119 mapcount:0 count:0

Attachments

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

Replies

Subject Author
Re: [gentoo-hardened] kernel upgrade problems: bad page state Brian Kroth <bpkroth@××××.edu>