ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Motorola SM56 & ALTLinux
@ 2002-11-21 21:30 Grigory Batalov
  2002-11-22  7:21 ` Mikom
  0 siblings, 1 reply; 2+ messages in thread
From: Grigory Batalov @ 2002-11-21 21:30 UTC (permalink / raw)
  To: community

[-- 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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-22  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 21:30 [Comm] Motorola SM56 & ALTLinux Grigory Batalov
2002-11-22  7:21 ` Mikom

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