ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] q: kernel-source-2.6.x howto
@ 2009-12-19 21:40 Michael Shigorin
  2009-12-21 20:49 ` Michael Shigorin
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Shigorin @ 2009-12-19 21:40 UTC (permalink / raw)
  To: devel-kernel

	Здравствуйте.
Кто возьмётся документировать создание новых kernel-source-2.6.x?

Ну или хотя бы подтолкнуть насчёт того, fix-core--init
и fix-core-syslog туда должны входить или куда.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [d-kernel] q: kernel-source-2.6.x howto
  2009-12-19 21:40 [d-kernel] q: kernel-source-2.6.x howto Michael Shigorin
@ 2009-12-21 20:49 ` Michael Shigorin
  2009-12-21 21:35   ` [d-kernel] i: " Michael Shigorin
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Shigorin @ 2009-12-21 20:49 UTC (permalink / raw)
  To: devel-kernel

On Sat, Dec 19, 2009 at 11:40:47PM +0200, I wrote:
> Кто возьмётся документировать создание новых kernel-source-2.6.x?

Понял, приступаю.

> Ну или хотя бы подтолкнуть насчёт того, fix-core--init
> и fix-core-syslog туда должны входить или куда.

Судя по имеющимся -- не должны.

PS: вдруг кто пояснит -- с этим самосборным 2.6.32 повзрывалась
сборка модулей (как минимум nvidia, fglrx, subfs) таким образом:

make -f scripts/Makefile.build obj=/usr/src/RPM/BUILD/kernel-source-subfs-0.9
   gcc-4.4
   -Wp,-MD,/usr/src/RPM/BUILD/kernel-source-subfs-0.9/.subfs.o.d
   -nostdinc -isystem /usr/lib/gcc/i586-alt-linux/4.4.2/include
   -Iinclude
   -I/usr/src/linux-2.6.32-lame-noob-alt1/arch/x86/include
   -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef
   -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
   -fno-common -Werror-implicit-function-declaration
   -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32
   -msoft-float -mregparm=3 -freg-struct-return
   -mpreferred-stack-boundary=2 -march=i586 -mtune=generic
   -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1
   -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
   -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
   -mno-3dnow -Wframe-larger-than=1024 -fno-stack-protector
   -fno-omit-frame-pointer -fno-optimize-sibling-calls
   -Wdeclaration-after-statement -Wno-pointer-sign
   -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack
   -DMODULE -D"KBUILD_STR(s)=#s"
   -D"KBUILD_BASENAME=KBUILD_STR(subfs)"
   -D"KBUILD_MODNAME=KBUILD_STR(subfs)"  -c -o
   /usr/src/RPM/BUILD/kernel-source-subfs-0.9/.tmp_subfs.o
   /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c
In file included from include/linux/prefetch.h:13,
                 from include/linux/list.h:6, 
                 from include/linux/module.h:9,
                 from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
                 from include/linux/prefetch.h:13,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from include/linux/prefetch.h:13,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /usr/src/RPM/BUILD/kernel-source-subfs-0.9/subfs.c:11:
include/linux/types.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__kernel_dev_t'
include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
[...]

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-21 20:49 ` Michael Shigorin
@ 2009-12-21 21:35   ` Michael Shigorin
  2009-12-21 23:00     ` Dmitry V. Levin
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Shigorin @ 2009-12-21 21:35 UTC (permalink / raw)
  To: devel-kernel

On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
> > Кто возьмётся документировать создание новых kernel-source-2.6.x?
> Понял, приступаю.

Просьба посмотреть: http://www.altlinux.org/Kernel/Source

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-21 21:35   ` [d-kernel] i: " Michael Shigorin
@ 2009-12-21 23:00     ` Dmitry V. Levin
  2009-12-21 23:31       ` Kirill A. Shutemov
  2009-12-23 18:11       ` Michael Shigorin
  0 siblings, 2 replies; 13+ messages in thread
From: Dmitry V. Levin @ 2009-12-21 23:00 UTC (permalink / raw)
  To: devel-kernel

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

On Mon, Dec 21, 2009 at 11:35:12PM +0200, Michael Shigorin wrote:
> On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
> > > Кто возьмётся документировать создание новых kernel-source-2.6.x?
> > Понял, приступаю.
> 
> Просьба посмотреть: http://www.altlinux.org/Kernel/Source

Судя по выводу
$ git log v2.6.30..kernel-source-2.6.30-1.0.0-alt1
есть традиция наследовать новые kernel-source от старых.

Т.е. нужно заменить git init клонированием
git://git.altlinux.org/gears/k/kernel-source-2.6.30.git

Ну и дальше упростить процедуру.


-- 
ldv

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

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-21 23:00     ` Dmitry V. Levin
@ 2009-12-21 23:31       ` Kirill A. Shutemov
  2009-12-22 12:21         ` Dmitry V. Levin
  2009-12-23 18:11       ` Michael Shigorin
  1 sibling, 1 reply; 13+ messages in thread
From: Kirill A. Shutemov @ 2009-12-21 23:31 UTC (permalink / raw)
  To: ALT Linux kernel packages development

2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
> On Mon, Dec 21, 2009 at 11:35:12PM +0200, Michael Shigorin wrote:
>> On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
>> > > Кто возьмётся документировать создание новых kernel-source-2.6.x?
>> > Понял, приступаю.
>>
>> Просьба посмотреть: http://www.altlinux.org/Kernel/Source
>
> Судя по выводу
> $ git log v2.6.30..kernel-source-2.6.30-1.0.0-alt1
> есть традиция наследовать новые kernel-source от старых.
>
> Т.е. нужно заменить git init клонированием
> git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
>
> Ну и дальше упростить процедуру.

А имеют ли смысл kernel-source-* при сборке из git? Я так понимаю, что они
задумывались для минимизации трафика при заливке нового релиза ядра.

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-21 23:31       ` Kirill A. Shutemov
@ 2009-12-22 12:21         ` Dmitry V. Levin
  2009-12-22 12:35           ` Kirill A. Shutemov
  0 siblings, 1 reply; 13+ messages in thread
From: Dmitry V. Levin @ 2009-12-22 12:21 UTC (permalink / raw)
  To: ALT Linux kernel packages development

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

On Tue, Dec 22, 2009 at 01:31:18AM +0200, Kirill A. Shutemov wrote:
> 2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
> > On Mon, Dec 21, 2009 at 11:35:12PM +0200, Michael Shigorin wrote:
> >> On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
> >> > > Кто возьмётся документировать создание новых kernel-source-2.6.x?
> >> > Понял, приступаю.
> >>
> >> Просьба посмотреть: http://www.altlinux.org/Kernel/Source
> >
> > Судя по выводу
> > $ git log v2.6.30..kernel-source-2.6.30-1.0.0-alt1
> > есть традиция наследовать новые kernel-source от старых.
> >
> > Т.е. нужно заменить git init клонированием
> > git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
> >
> > Ну и дальше упростить процедуру.
> 
> А имеют ли смысл kernel-source-* при сборке из git? Я так понимаю, что они
> задумывались для минимизации трафика при заливке нового релиза ядра.

Есть: у нас более одного пакета собираются из одного kernel-source.


-- 
ldv

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

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-22 12:21         ` Dmitry V. Levin
@ 2009-12-22 12:35           ` Kirill A. Shutemov
  2009-12-22 18:39             ` Dmitry V. Levin
  0 siblings, 1 reply; 13+ messages in thread
From: Kirill A. Shutemov @ 2009-12-22 12:35 UTC (permalink / raw)
  To: ALT Linux kernel packages development

2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
> On Tue, Dec 22, 2009 at 01:31:18AM +0200, Kirill A. Shutemov wrote:
>> 2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
>> > On Mon, Dec 21, 2009 at 11:35:12PM +0200, Michael Shigorin wrote:
>> >> On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
>> >> > > Кто возьмётся документировать создание новых kernel-source-2.6.x?
>> >> > Понял, приступаю.
>> >>
>> >> Просьба посмотреть: http://www.altlinux.org/Kernel/Source
>> >
>> > Судя по выводу
>> > $ git log v2.6.30..kernel-source-2.6.30-1.0.0-alt1
>> > есть традиция наследовать новые kernel-source от старых.
>> >
>> > Т.е. нужно заменить git init клонированием
>> > git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
>> >
>> > Ну и дальше упростить процедуру.
>>
>> А имеют ли смысл kernel-source-* при сборке из git? Я так понимаю, что они
>> задумывались для минимизации трафика при заливке нового релиза ядра.
>
> Есть: у нас более одного пакета собираются из одного kernel-source.

Т.е. экономия на объёме SRPM'ов?

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-22 12:35           ` Kirill A. Shutemov
@ 2009-12-22 18:39             ` Dmitry V. Levin
  0 siblings, 0 replies; 13+ messages in thread
From: Dmitry V. Levin @ 2009-12-22 18:39 UTC (permalink / raw)
  To: ALT Linux kernel packages development

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

On Tue, Dec 22, 2009 at 02:35:35PM +0200, Kirill A. Shutemov wrote:
> 2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
> > On Tue, Dec 22, 2009 at 01:31:18AM +0200, Kirill A. Shutemov wrote:
> >> 2009/12/22 Dmitry V. Levin <ldv@altlinux.org>:
> >> > On Mon, Dec 21, 2009 at 11:35:12PM +0200, Michael Shigorin wrote:
> >> >> On Mon, Dec 21, 2009 at 10:49:35PM +0200, I wrote:
> >> >> > > Кто возьмётся документировать создание новых kernel-source-2.6.x?
> >> >> > Понял, приступаю.
> >> >>
> >> >> Просьба посмотреть: http://www.altlinux.org/Kernel/Source
> >> >
> >> > Судя по выводу
> >> > $ git log v2.6.30..kernel-source-2.6.30-1.0.0-alt1
> >> > есть традиция наследовать новые kernel-source от старых.
> >> >
> >> > Т.е. нужно заменить git init клонированием
> >> > git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
> >> >
> >> > Ну и дальше упростить процедуру.
> >>
> >> А имеют ли смысл kernel-source-* при сборке из git? Я так понимаю, что они
> >> задумывались для минимизации трафика при заливке нового релиза ядра.
> >
> > Есть: у нас более одного пакета собираются из одного kernel-source.
> 
> Т.е. экономия на объёме SRPM'ов?

Да, существенная экономия на объёме SRPM'ов и pkg.tar'ов, т.е. ещё и на
времени сборки.


-- 
ldv

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

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-21 23:00     ` Dmitry V. Levin
  2009-12-21 23:31       ` Kirill A. Shutemov
@ 2009-12-23 18:11       ` Michael Shigorin
  2009-12-23 18:24         ` Igor Zubkov
  1 sibling, 1 reply; 13+ messages in thread
From: Michael Shigorin @ 2009-12-23 18:11 UTC (permalink / raw)
  To: devel-kernel

On Tue, Dec 22, 2009 at 02:00:24AM +0300, Dmitry V. Levin wrote:
> > Просьба посмотреть: http://www.altlinux.org/Kernel/Source
> Т.е. нужно заменить git init клонированием
> git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
> Ну и дальше упростить процедуру.

Обновил (заодно один забытый в копипасте sed заменил на subst),
глянешь?  И если претензий не будет -- лью на git.alt и в сизиф.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-23 18:11       ` Michael Shigorin
@ 2009-12-23 18:24         ` Igor Zubkov
  2009-12-23 18:33           ` Michael Shigorin
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Zubkov @ 2009-12-23 18:24 UTC (permalink / raw)
  To: shigorin, ALT Linux kernel packages development

23 декабря 2009 г. 20:11 пользователь Michael Shigorin написал:
> On Tue, Dec 22, 2009 at 02:00:24AM +0300, Dmitry V. Levin wrote:
>> > Просьба посмотреть: http://www.altlinux.org/Kernel/Source
>> Т.е. нужно заменить git init клонированием
>> git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
>> Ну и дальше упростить процедуру.
>
> Обновил (заодно один забытый в копипасте sed заменил на subst),
> глянешь?  И если претензий не будет -- лью на git.alt и в сизиф.

Это _только_ kernel-source-2.6.32?

-- 
Igor Zubkov
http://hi.im/ice

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-23 18:24         ` Igor Zubkov
@ 2009-12-23 18:33           ` Michael Shigorin
  2009-12-23 19:18             ` Igor Zubkov
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Shigorin @ 2009-12-23 18:33 UTC (permalink / raw)
  To: ALT Linux kernel packages development

On Wed, Dec 23, 2009 at 08:24:00PM +0200, Igor Zubkov wrote:
> >> > Просьба посмотреть: http://www.altlinux.org/Kernel/Source
> >> Т.е. нужно заменить git init клонированием
> >> git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
> >> Ну и дальше упростить процедуру.
> > Обновил (заодно один забытый в копипасте sed заменил на subst),
> > глянешь?  И если претензий не будет -- лью на git.alt и в сизиф.
> Это _только_ kernel-source-2.6.32?

Пока да.  У меня болтается совсем черновой набросок на базе
std-def и очень поспешного oldconfig -- пытался наскоро собрать
для проверки заводимости wifi у приятеля.  Чтоб оно годилось на
livecd/rescue, сперва придётся ещё aufs вкрутить как минимум.

Из интересов -- помимо обновления wifi и всякого прочего,
туда наконец отнесли swap-over-nfs patches (vm_deadlock,
используемый в led-tc/tmc-tc).  Плюс MCE-шные обновления
интересны, по мотивам последних посиделок над Inquisitor.
И ещё по мелочам.

А что?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-23 18:33           ` Michael Shigorin
@ 2009-12-23 19:18             ` Igor Zubkov
  2009-12-23 21:22               ` Michael Shigorin
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Zubkov @ 2009-12-23 19:18 UTC (permalink / raw)
  To: shigorin, ALT Linux kernel packages development

23 декабря 2009 г. 20:33 пользователь Michael Shigorin написал:
> On Wed, Dec 23, 2009 at 08:24:00PM +0200, Igor Zubkov wrote:
>> >> > Просьба посмотреть: http://www.altlinux.org/Kernel/Source
>> >> Т.е. нужно заменить git init клонированием
>> >> git://git.altlinux.org/gears/k/kernel-source-2.6.30.git
>> >> Ну и дальше упростить процедуру.
>> > Обновил (заодно один забытый в копипасте sed заменил на subst),
>> > глянешь?  И если претензий не будет -- лью на git.alt и в сизиф.
>> Это _только_ kernel-source-2.6.32?
>
> Пока да.  У меня болтается совсем черновой набросок на базе
> std-def и очень поспешного oldconfig -- пытался наскоро собрать
> для проверки заводимости wifi у приятеля.  Чтоб оно годилось на
> livecd/rescue, сперва придётся ещё aufs вкрутить как минимум.
>
> Из интересов -- помимо обновления wifi и всякого прочего,
> туда наконец отнесли swap-over-nfs patches (vm_deadlock,
> используемый в led-tc/tmc-tc).  Плюс MCE-шные обновления
> интересны, по мотивам последних посиделок над Inquisitor.
> И ещё по мелочам.
>
> А что?

Если коротко: меня интересует 2.6.32 ядро с ck и mactel патчами.
Возможно я даже готов реанимировать ice-wks ядро для этого.

-- 
Igor Zubkov
http://hi.im/ice

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

* Re: [d-kernel] i: kernel-source-2.6.x howto
  2009-12-23 19:18             ` Igor Zubkov
@ 2009-12-23 21:22               ` Michael Shigorin
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Shigorin @ 2009-12-23 21:22 UTC (permalink / raw)
  To: ALT Linux kernel packages development

On Wed, Dec 23, 2009 at 09:18:47PM +0200, Igor Zubkov wrote:
> > А что?
> Если коротко: меня интересует 2.6.32 ядро с ck и mactel патчами.
> Возможно я даже готов реанимировать ice-wks ядро для этого.

Понимаешь... ну давай вместе, я постараюсь на этой неделе
добраться ещё раз до .config и что-нить пушнуть.  Если есть
готовые или пока притрёшь, вот и хорошо.

PS 2 all: беру уроки по сборке ядра, раз уж докатился :-)
Постараюсь записывать на вики.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2009-12-23 21:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-19 21:40 [d-kernel] q: kernel-source-2.6.x howto Michael Shigorin
2009-12-21 20:49 ` Michael Shigorin
2009-12-21 21:35   ` [d-kernel] i: " Michael Shigorin
2009-12-21 23:00     ` Dmitry V. Levin
2009-12-21 23:31       ` Kirill A. Shutemov
2009-12-22 12:21         ` Dmitry V. Levin
2009-12-22 12:35           ` Kirill A. Shutemov
2009-12-22 18:39             ` Dmitry V. Levin
2009-12-23 18:11       ` Michael Shigorin
2009-12-23 18:24         ` Igor Zubkov
2009-12-23 18:33           ` Michael Shigorin
2009-12-23 19:18             ` Igor Zubkov
2009-12-23 21:22               ` Michael Shigorin

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