From: "Alexander Beregalov" <a.beregalov@gmail.com>
To: gentoo-user-ru@lists.gentoo.org, powerman@powerman.asdfgroup.com
Subject: Re: [gentoo-user-ru] how to debug kernel
Date: Sun, 5 Oct 2008 01:21:28 +0400 [thread overview]
Message-ID: <a4423d670810041421i19d43905n22adaee3eb902301@mail.gmail.com> (raw)
In-Reply-To: <20081004153739.GB1816@home.power>
4 октября 2008 г. 19:37 пользователь Alex Efros
<powerman@powerman.asdfgroup.com> написал:
> Hi!
>
> Тут проблема с ядром возникла, но речь не о том.
> У меня возник вопрос, как в принципе предполагается отлаживать ядро.
>
> Ситуация: машина периодически намертво виснет. На ядрах 2.6.25-hardened-r[47].
> А на 2.6.24-hardened-r3 не виснет - так что это не похоже на проблемы железа.
> В логах - пусто. Машина - домашняя рабочая станция, Xwindow, так что если
> в текстовую консоль что-то и пишется, после зависания это уже не увидишь.
>
> Такой штуки как serial console, разумеется, дома нет.
> Попытка настроить netconsole обломалась: он, похоже, работает только с ethX.
> А у меня ADSL в режиме bride, т.е. pppX. Попытался отправлять сообщения
> netconsole в локалку на несуществующий адрес, и перенаправлять их на
> нужный сервер в инете через iptables/DNAT - не работает. Т.е.
> перенаправление работает - для ping, telnet, etc. А netconsole его
> игнорирует. А в локалке только одна виндовая машина, netconsole мне на ней
> слушать нечем.
Конечно, оно работает только с физическими ethernet картами, и то не всеми.
Netconsole работает ниже уровня iptables, на максимально возможном
низком уровне.
http://www.google.ru/search?q=netcat+win
Когда уже будете получать сообщения, после зависания нажмите что-то
вроде sysrq-l, sysrq-w.
Еще можно добавить к строке загрузки ядра loglevel=5 или 6.
ЗЫ. Странно у вас: ядра 4, а -j3.
>
> И как в этих условиях (не сказать, чтоб сильно уникальных) предполагается
> отлаживать ядро?
>
>
> P.S. Если интересны подробности: http://bugs.gentoo.org/show_bug.cgi?id=239463
>
> --
> WBR, Alex.
>
>
next prev parent reply other threads:[~2008-10-04 21:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-04 15:37 [gentoo-user-ru] how to debug kernel Alex Efros
2008-10-04 21:21 ` Alexander Beregalov [this message]
2008-10-05 0:07 ` Alex Efros
2008-10-05 0:34 ` Alex Efros
2008-10-05 0:37 ` Alexander Beregalov
2008-10-05 13:24 ` Alex Efros
2008-10-06 6:31 ` [gentoo-user-ru] у меня ноутбук асер 7520g с процом AMD Turion X2 (TL60) 2Ghz Дмитрий Маркин
2008-10-06 6:38 ` Yakovlev Georgy
2008-10-06 6:46 ` [gentoo-user-ru] RE: " Дмитрий Маркин
2008-10-06 7:16 ` Yakovlev Georgy
2008-10-06 8:17 ` Vladimir Rusinov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4423d670810041421i19d43905n22adaee3eb902301@mail.gmail.com \
--to=a.beregalov@gmail.com \
--cc=gentoo-user-ru@lists.gentoo.org \
--cc=powerman@powerman.asdfgroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox