ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Grigory Batalov" <grisxa@mail.ru>
To: community@altlinux.ru
Subject: [Comm] Motorola SM56 & ALTLinux
Date: Fri, 22 Nov 2002 00:30:07 +0300
Message-ID: <20021122003007.353571e9.grisxa@mail.ru> (raw)

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

Помнится, было обсуждение, работает ли SM56 в ALTLinux.
Могу подтвердить, что работает. Но не сразу =).

Предлагаемый Моторолой модуль из пакета sm56-5.1-i386.rpm
(652327 байт) падает в segfault при попытке его загрузить.

( На самом деле, модуля как такового там, конечно, нет.
  Там есть sm56setup, линкующий sm56.lib под имеющееся ядро,
  из чего и получается модуль sm56.o )

Но. В каком-то англо-язычном форуме (ссылка здесь приводилась)
советовали убрать две строчки из ядра и пересобрать его.
Я проверил - действительно помогает. По этому поводу прилагаю
патчик для тех, кому лень искать в Интернете.

Из замеченного:
Скорость соединения с питерским Петерлинком 50666-52000.
Во время работы модема на Целероне 600МГц отъедается 6-15%
процессорного времени.

[-- Attachment #2: linux-2.4.19-slab_sm56.diff --]
[-- Type: text/plain, Size: 361 bytes --]

--- linux-2.4.19/mm/slab.c.orig	Sat Aug  3 04:39:46 2002
+++ linux-2.4.19/mm/slab.c	Thu Nov 21 23:50:33 2002
@@ -1115,8 +1115,6 @@
 	/* Be lazy and only check for valid flags here,
  	 * keeping it out of the critical path in kmem_cache_alloc().
 	 */
-	if (flags & ~(SLAB_DMA|SLAB_LEVEL_MASK|SLAB_NO_GROW))
-		BUG();
 	if (flags & SLAB_NO_GROW)
 		return 0;
 

             reply	other threads:[~2002-11-21 21:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 21:30 Grigory Batalov [this message]
2002-11-22  7:21 ` Mikom

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=20021122003007.353571e9.grisxa@mail.ru \
    --to=grisxa@mail.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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