Saratov Linux User Group
 help / color / mirror / Atom feed
* [Sarlug] Fw: Re: kernel 2.5.6 && modules
@ 2003-05-22 15:06 Евгений В. Хорохорин
  2003-05-22 15:57 ` Sin
  0 siblings, 1 reply; 5+ messages in thread
From: Евгений В. Хорохорин @ 2003-05-22 15:06 UTC (permalink / raw)
  To: Sarlug mailing list


Begin forwarded message:

Date: Mon, 10 Mar 2003 12:39:59 +0300
From: Paul P Komkoff Jr <i@stingr.net>
To: horohorinEV@mail.ru
Subject: Re: kernel 2.5.6 && modules


Replying to Genix:
> Что необходимо ядру 2.5.x, чтобы работать с модулями?
> при любой команде (insmod, modprobe, lsmod) выдается сообщение 
> QM_MODULES: Function not implemented
> Куда копать?
> 
> linux-2.5.63
> modutils-2.4.22-alt1

module rewrite

теперь нужно не modutils, а module-init-tools
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.9.10.tar.bz2

-- 
Paul P 'Stingray' Komkoff Jr /// (icq)23200764 /// (http)stingr.net
 This message represents the official view of the voices in my head


-- 
Best regards,				mailto: genix@sendmail.ru
		Genix			http://saratov.lug.ru
Registered Linux User #219993		JID: genix@jabber.org

	-= С моих слов записано верно, мною прочитано =-


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

* Re: [Sarlug] Fw: Re: kernel 2.5.6 && modules
  2003-05-22 15:06 [Sarlug] Fw: Re: kernel 2.5.6 && modules Евгений В. Хорохорин
@ 2003-05-22 15:57 ` Sin
  2003-05-25  6:57   ` Paul P Komkoff Jr
  0 siblings, 1 reply; 5+ messages in thread
From: Sin @ 2003-05-22 15:57 UTC (permalink / raw)
  To: sarlug

> > Что необходимо ядру 2.5.x, чтобы работать с модулями?
> > при любой команде (insmod, modprobe, lsmod) выдается сообщение
> > QM_MODULES: Function not implemented
> > Куда копать?
> >
> > linux-2.5.63
> > modutils-2.4.22-alt1
>
> module rewrite
>
> теперь нужно не modutils, а module-init-tools
>http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.9.10.tar.bz2

/usr/src/linux-2.5.66/Documentation/Changes
...
Module-Init-Tools
--------

A new module loader is now in the kernel that requires module-init-tools
to use.  It is backward compatible with the 2.4.x series kernels.
...

Вопрос теперь такой.
У кого есть весь инструментарий необходимый для сборки и запуска ядер ветки 
2.5.x?

Sin

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

* Re: [Sarlug] Fw: Re: kernel 2.5.6 && modules
  2003-05-22 15:57 ` Sin
@ 2003-05-25  6:57   ` Paul P Komkoff Jr
  2003-05-25 17:38     ` Sin
  0 siblings, 1 reply; 5+ messages in thread
From: Paul P Komkoff Jr @ 2003-05-25  6:57 UTC (permalink / raw)
  To: sarlug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Replying to Sin:
> У кого есть весь инструментарий необходимый для сборки и запуска ядер ветки 
> 2.5.x?

Угадай :)
- -- 
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key
 This message represents the official view of the voices in my head
-----BEGIN PGP SIGNATURE-----

iD8DBQE+0Gk7yMW8naS07KQRAodhAJ9M74G2bTwsMS/JnJYbG09Kb75+wwCgo+li
mODSNhOpQWEXAHlM6h1NNmQ=
=vhkX
-----END PGP SIGNATURE-----


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

* Re: [Sarlug] Fw: Re: kernel 2.5.6 && modules
  2003-05-25  6:57   ` Paul P Komkoff Jr
@ 2003-05-25 17:38     ` Sin
  2003-05-26  7:00       ` Paul P Komkoff Jr
  0 siblings, 1 reply; 5+ messages in thread
From: Sin @ 2003-05-25 17:38 UTC (permalink / raw)
  To: sarlug

Привет!
> > У кого есть весь инструментарий необходимый для сборки и запуска ядер
> > ветки 2.5.x?
>
> Угадай :)
Ну, скажем, догадывался. 
А можно всё это как-нибудь забрать?
Кстати, может тогда сразу всем (насколько я знаю, многие хотели) и объяснишь, 
что необходимо сделать, чтобы на только, что установленной с дистрибутива 
(например, RedHat или ALT Linux) машине, можно было заустить ядро 2.5.x

Ещё вопрос. Как только я собрал module-init-tools, от рута была введена 
команда make install. Далее утилиты были переписаны в каталог 
/usr/local/sbin. Вспоминая об обратной совместимости, я попробовал так. 
Переименовал старые утилиты(depmod, insmod, rmmod, ...) с постфиксом *.old и 
записал в /sbin новые.
Далее мне показалось, что так и следовало делать, поскольку:
[sin@localhost sin]$ uname -r
2.4.20-alt7-up
[sin@localhost sin]$ /usr/local/sbin/lsmod
Kernel requires old lsmod, but couldn't run /usr/sbin/lsmod.old: No such file 
or directory
Сие верно?

Sin

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

* Re: [Sarlug] Fw: Re: kernel 2.5.6 && modules
  2003-05-25 17:38     ` Sin
@ 2003-05-26  7:00       ` Paul P Komkoff Jr
  0 siblings, 0 replies; 5+ messages in thread
From: Paul P Komkoff Jr @ 2003-05-26  7:00 UTC (permalink / raw)
  To: sarlug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Replying to Sin:
> Ещё вопрос. Как только я собрал module-init-tools, от рута была введена 
> команда make install. Далее утилиты были переписаны в каталог 

если почитать макефайл от module-init-tools, то можно увидеть, что make
install самостоятельно бэкапит старые утилиты.

соответственно при запуске нового *mod проверяется ведро, и, если оно
старое, вызываются oldы

Происходит это практически незаметно, но не всегда - если используется
initrd setup с redhat mkinitrd - всё ломается :)

- -- 
Paul P 'Stingray' Komkoff Jr // http://stingr.net/key <- my pgp key
 This message represents the official view of the voices in my head
-----BEGIN PGP SIGNATURE-----

iD8DBQE+0buNyMW8naS07KQRAuYKAKDDGi95Oxv9eAsgCdrzBVOqziCHHwCfQzxC
1b5ZQwZYNGS6X5pOEq6HYQ4=
=01HQ
-----END PGP SIGNATURE-----


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

end of thread, other threads:[~2003-05-26  7:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 15:06 [Sarlug] Fw: Re: kernel 2.5.6 && modules Евгений В. Хорохорин
2003-05-22 15:57 ` Sin
2003-05-25  6:57   ` Paul P Komkoff Jr
2003-05-25 17:38     ` Sin
2003-05-26  7:00       ` Paul P Komkoff Jr

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

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


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