ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Драйвер Moxa
Date: Thu, 26 Mar 2009 17:08:23 +0300
Message-ID: <20090326140823.GD12769@newmaster.mivlgu.local> (raw)
In-Reply-To: <200903261415.15569.serpiph@nikiet.ru>

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

On Thu, Mar 26, 2009 at 02:15:15PM +0300, Epiphanov Sergei wrote:
> Есть плата Moxa C218Turbo PCI, которая замечательно работает под ядром 
> 2.6.18-std-smp-alt6 с родным модулем от самой фирмы.
> 
> Решил попробовать поставить новое ядро 2.6.27-std-srv-alt14. Но под этим 
> ядром собрать снова тот же модуль не могу, так как изменились многие важные 
> структуры. Я решил воспользоваться модулем самого ядра, дал команду на 
> загрузку, модуль сказал, что загрузил прошивку и... компьютер практически 
> перестал реагировать на клавиатуру. ps axf показал, что всё процессорное 
> время стал съедать ядерный процесс [events/0] вкупе с моей программой, 
> обменивающаяся с платой, напополам. Процессор Pentium4 2,8ГГц, одно 
> виртуальное ядро забито работой по макушку, второе - отдыхает, но мне от 
> этого не легче. Попытка перезагрузить систему приводит к нажатию кнопки 
> Reset, так как что-то стопорится в выгрузке модулей и процесс остановки 
> попросту останавливается. Как разрулить - непонятно.

Повесьте в багзиллу вместе с dmesg и lspci -vvnn.  Ещё попробуйте в
ситуации, когда events/0 пожирает процессорное время, нажать
Alt-SysRq-P, сохранить вывод dmesg, потом повторить то же самое с
Alt-SysRq-T (в этом варианте выведется ещё больше, желательно
максимально сократить количество лишних запущенных процессов).

> Кто-нибудь работает с такими платами и как?

Судя по http://thread.gmane.org/gmane.linux.kernel/807175/ , кто-то
всё-таки работает (там, правда, C320, а не C218).  В 2.6.28 драйвер
немного разломали (commit d450b5a0196b6442cf3f29fc611d9c8daa56b559),
обсуждавшийся там патч для починки пока ещё нигде не замечен; впрочем,
в 2.6.27-std-srv-alt14 нет ни одного из этих изменений.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-03-26 14:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 11:15 Epiphanov Sergei
2009-03-26 14:08 ` Sergey Vlasov [this message]
2009-03-27  8:31   ` Epiphanov Sergei
2009-03-27  9:51   ` Epiphanov Sergei

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=20090326140823.GD12769@newmaster.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git