1 |
Ah, good catch. Thanks, Gordon. I didn't realize it was experimental. |
2 |
|
3 |
Gordon Malm wrote: |
4 |
> In "General Setup" you must first enable: |
5 |
> "Prompt for development and/or incomplete code/drivers" (CONFIG_EXPERIMENTAL) |
6 |
> |
7 |
> Then the CONFIG_NETCONSOLE option will appear as: |
8 |
> "Network console logging support (EXPERIMENTAL)" |
9 |
> |
10 |
> Under: |
11 |
> -> Device Drivers |
12 |
> -> Network device support |
13 |
> |
14 |
> Good luck, |
15 |
> Gordon Malm (gengor) |
16 |
> |
17 |
> On Monday, July 21, 2008 19:24:42 Brian A. Davis wrote: |
18 |
> |
19 |
>> Netconsole doesn't seem to be available int he hardened kernel. Am I |
20 |
>> missing something? |
21 |
>> |
22 |
>> flagg src # ls -lt |
23 |
>> total 16 |
24 |
>> drwxr-xr-x 21 root root 4096 Jul 21 22:23 linux-2.6.25.9 |
25 |
>> drwxr-xr-x 22 root root 4096 Jul 21 22:21 linux-2.6.24-hardened-r3 |
26 |
>> drwxr-xr-x 21 root root 4096 Jul 7 23:04 linux-2.6.23-hardened-r12 |
27 |
>> lrwxrwxrwx 1 root root 24 Jul 7 15:19 linux -> linux-2.6.24-hardened-r3 |
28 |
>> drwxr-xr-x 20 root root 4096 Jun 30 22:18 linux-2.6.23-hardened-r13 |
29 |
>> flagg src # cd linux |
30 |
>> flagg linux # pwd |
31 |
>> /usr/src/linux |
32 |
>> flagg linux # grep NETCONSOLE .config |
33 |
>> flagg linux # |
34 |
>> |
35 |
>> Thanks, |
36 |
>> Brian |
37 |
>> |
38 |
>> Will Keaney wrote: |
39 |
>> |
40 |
>>> Brian A. Davis wrote: |
41 |
>>> |
42 |
>>>> I'm getting a PAX General protection fault, which outputs a stack |
43 |
>>>> trace to the console (monitor), but there's no way for me to get it |
44 |
>>>> since the machine is crashed at this point. |
45 |
>>>> |
46 |
>>>> Where would this be getting logged? grep PAX * in /var/log doesn't |
47 |
>>>> turn up anything. |
48 |
>>>> |
49 |
>>>> Thanks, |
50 |
>>>> Brian |
51 |
>>>> |
52 |
>>> There are a couple of ways to get the trace from this. One is to |
53 |
>>> attach a serial console to the machine in question and log the crash |
54 |
>>> from another computer (see |
55 |
>>> /usr/src/linux/Documentation/serial-console.txt). |
56 |
>>> Another is to configure netconsole, which will allow you to capture |
57 |
>>> kernel messages from another machine over ethernet. See |
58 |
>>> /usr/src/linux/Documentation/networking/netconsole.txt for |
59 |
>>> instructions on this. |
60 |
>>> If you have a digital camera, you can take a picture of the stack trace. |
61 |
>>> Finally, you can transcribe it by hand. This is veeeery tedious. |
62 |
>>> |
63 |
>>> Hope this helps. |
64 |
>>> |
65 |
>>> Will |
66 |
>>> |
67 |
> |
68 |
> |
69 |
> |
70 |
> |