ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] Q: Недостающие .h при сборке модулей. Кто их должен требовать?
Date: Wed, 12 Dec 2007 16:56:03 +0300
Message-ID: <475FE873.9060706@solin.spb.ru> (raw)
In-Reply-To: <475FCD42.6060900@solin.spb.ru>

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

Aleksey Avdeev пишет:
> Sergey Vlasov пишет:
>> On Wed, Dec 12, 2007 at 01:35:04PM +0300, Aleksey Avdeev wrote:
>>> Aleksey Avdeev пишет:
>>>> Sergey Vlasov пишет:
>>>>> On Tue, Dec 11, 2007 at 10:07:40PM +0300, Aleksey Avdeev wrote:
>>>>>>   При сборке ядерной части usbip для xen (kernel-modules-usbip-xen-dom0,
>>>>>> для kernel-image-xen-dom0-2.6.18-alt4), наблюдаю следующую картину:
>>>>>>
>>>>>> error: asm-i386/mach-xen/asm/synch_bitops.h: No such file or directory
>>>>> Если это происходит на x86_64,
>>>>   Да.
>>>>
>>>>> причина в том, что при сборке пакетов
>>>>> kernel-headers-modules-* сейчас удаляется слишком много файлов -
>>>>> уничтожаются все include/asm-*, кроме текущей архитектуры и
>>>>> asm-generic, однако в asm-x86_64 есть ссылки на файлы из asm-i386 (на
>>>>> самом деле такие ссылки есть и в std-smp, просто с текущими версиями
>>>>> ядер и дополнительных модулей эта проблема не проявлялась).  Нужно
>>>>> исправить пакеты ядер, чтобы все необходимые файлы попадали в пакеты
>>>>> kernel-headers-modules-*.
>>>>   OK.
>>>   Сделал так:
>>> <http://git.altlinux.org/people/solo/packages/?p=kernel-image-2.6.18.git;a=commitdiff;h=f300cc78fd91b6c9fca43c3328bc8625a6b08515>.
>> На самом деле нужно было просто добавить туда:
>>
>> %ifarch x86_64
>> 	[ "$dir" = "asm-i386" ] && continue
>> %endif
>>
>> (проще оставить весь каталог, чем разбираться, что ещё из него может
>> понадобиться - ссылки на часть файлов есть и без xen, просто на 2.6.18
>> это пока не вылезало).
> 
>   OK, сейчас сделаю.

  Сделал
<http://git.altlinux.org/people/solo/packages/?p=kernel-image-2.6.18.git;a=commit;h=2fe5ffa8c19f9c21e18422e2647720744f18224c>
(для dom0) и
<http://git.altlinux.org/people/solo/packages/?p=kernel-image-2.6.18.git;a=commit;h=5d695abb82d8914872c10ea7ab2d757d86415410>
(для domU).

  С данными ядрами модули для usbip собираются (другие -- пока не проверял).

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]

      reply	other threads:[~2007-12-12 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 19:07 Aleksey Avdeev
2007-12-11 20:24 ` Sergey Vlasov
2007-12-12  7:01   ` Aleksey Avdeev
2007-12-12 10:35     ` Aleksey Avdeev
2007-12-12 11:53       ` Sergey Vlasov
2007-12-12 12:00         ` Aleksey Avdeev
2007-12-12 13:56           ` Aleksey Avdeev [this message]

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=475FE873.9060706@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

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

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


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