ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: self-build kernel and init
@ 2003-12-19 23:39 Anton V. Denisov
  2003-12-19 23:56 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Anton V. Denisov @ 2003-12-19 23:39 UTC (permalink / raw)
  To: devel

Приветствую всех.

Никак не могу запустить самособранное vanilla 2.2.25 ядро. Собирал по
обычной процедуре (make mrproper; make oldconfig; make dep; make bzImage;
make modules; make install; make modules_install) при помощи gcc2.95. Ядро
то само грузится, но init не запускается с такой диагностикой:

init: error while loading shared libraries: libc.so.6: cannot stat shared
object: Error 38

Может у кого такое бывало - подскажите, пожалуйста, в каком месте мне руки
править. Вроде корневую файловую систему ядро в read-only монтирует, а вот
что-либо запустить оттуда в качестве init'а не может - я и init=/bin/bash
пробовал, но он не может уже свои библиотеки загрузить. Похоже, ошибка
где-то на уровне kernel/glibc.

Специально скомпилировал аналогичное ядро из kernel22-2.2.25-alt1.src.rpm -
с ним таких проблем нет. Какой патч из srpm нужно наложить на vanilla
2.2.25 ядро?

Прошу прощение за отступление от тематики данного списка рассылки.

С уважением, Антон В. Денисов.




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

* Re: [devel] Q: self-build kernel and init
  2003-12-19 23:39 [devel] Q: self-build kernel and init Anton V. Denisov
@ 2003-12-19 23:56 ` Dmitry V. Levin
  2003-12-22  3:06   ` Anton V. Denisov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2003-12-19 23:56 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Hi,

On Sat, Dec 20, 2003 at 11:39:57AM +1200, Anton V. Denisov wrote:
> Приветствую всех.
> 
> Никак не могу запустить самособранное vanilla 2.2.25 ядро. Собирал по
> обычной процедуре (make mrproper; make oldconfig; make dep; make bzImage;
> make modules; make install; make modules_install) при помощи gcc2.95. Ядро
> то само грузится, но init не запускается с такой диагностикой:
> 
> init: error while loading shared libraries: libc.so.6: cannot stat shared
> object: Error 38

error 38 - это ENOSYS.
Если вы используете glibc >= 6:2.2.5-alt10, то со 100% гарантией случится
именно то, что вы цитируете, ибо в vanilla 2.2.x нет поддержки LFS.
Подробности см. в changelog'е от glibc и в glibc-2.2.5-alt-assume_kernel.patch


-- 
ldv

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

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

* Re: [devel] Q: self-build kernel and init
  2003-12-19 23:56 ` Dmitry V. Levin
@ 2003-12-22  3:06   ` Anton V. Denisov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton V. Denisov @ 2003-12-22  3:06 UTC (permalink / raw)
  To: ALT Devel discussion list

Приветствую.

> error 38 - это ENOSYS.
> Если вы используете glibc >= 6:2.2.5-alt10, то со 100% гарантией случится
> именно то, что вы цитируете, ибо в vanilla 2.2.x нет поддержки LFS.
> Подробности см. в changelog'е от glibc и в glibc-2.2.5-alt-assume_kernel.patch
> 

Спасибо за направление поиска. Я так и предполагал, что проблема на уровне
glibc. Значит буду патчить vanilla LFS патчами из SRPM'а этого ядра.

-- 
With best regards, Anton V. Denisov.
In silent deep without hope.
'-- MARK --' is my favourite log-entry.


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

end of thread, other threads:[~2003-12-22  3:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 23:39 [devel] Q: self-build kernel and init Anton V. Denisov
2003-12-19 23:56 ` Dmitry V. Levin
2003-12-22  3:06   ` Anton V. Denisov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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