* [Comm] Как правильно скомпилить модуль ядра @ 2011-04-27 13:06 alt user 2011-04-27 17:19 ` Roman Lesnichenko 0 siblings, 1 reply; 11+ messages in thread From: alt user @ 2011-04-27 13:06 UTC (permalink / raw) To: ALT Linux Community general discussions Нужно для добавления устройства скомпилировать модуль ядра saa7134. Пробовал делать так make oldconfig make modules и так make oldconfig make include/ make CONFIG_VIDEO_SAA7134=m M=drivers/media/video/saa7134/ и так make oldconfig make в резальтате получаю только [root@localhost ~]# modprobe saa7134 FATAL: Error inserting saa7134 (/lib/modules/2.6.38-std-def-alt3/kernel/drivers/media/video/saa7134/saa7134.ko): Invalid module format ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] Как правильно скомпилить модуль ядра 2011-04-27 13:06 [Comm] Как правильно скомпилить модуль ядра alt user @ 2011-04-27 17:19 ` Roman Lesnichenko 0 siblings, 1 reply; 11+ messages in thread From: Roman Lesnichenko @ 2011-04-27 17:19 UTC (permalink / raw) To: community 27.04.2011 16:06, alt user пишет: > Нужно для добавления устройства скомпилировать модуль ядра saa7134. ??? Он и так есть в ядре, зачем его компилить? -- With best wishes, Roman. ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTikXLn7EOJS7GS7=mYh+EbRHB+dZRQ@mail.gmail.com>]
* Re: [Comm] Как правильно скомпилить модуль ядра @ 2011-04-28 5:21 ` Шенцев Алексей Владимирович 2011-04-28 5:54 ` [Comm] Как правильно скомпилить модуль ядра Andrey Liakhovets 1 sibling, 1 reply; 11+ messages in thread From: Шенцев Алексей Владимирович @ 2011-04-28 5:21 UTC (permalink / raw) To: ALT Linux Community general discussions On Thursday 28 April 2011 09:12:26 alt user wrote: > 27 апреля 2011 г. 21:19 пользователь Roman Lesnichenko < > > community@avangard.dn.ua> написал: > > 27.04.2011 16:06, alt user пишет: > > > > Нужно для добавления устройства скомпилировать модуль ядра saa7134. > > > > > > ??? > > Он и так есть в ядре, зачем его компилить? > Модуль есть а вот моего устройства в модуле нет. А что за устройство? -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. Тел.: (8617) 716-526 доп.114 xmpp://ashen@novoross.multinex.ru xmpp://ashen@altlinux.org ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTi=SskeBVqGLQbFdFYHTSLBO8G=qDA@mail.gmail.com>]
* Re: [Comm] Как правильно скомпилить модуль ядра @ 2011-04-28 6:24 ` Шенцев Алексей Владимирович 2011-04-28 7:03 ` [Comm] ORIENT SDVR-7008AE Шенцев Алексей Владимирович 1 sibling, 0 replies; 11+ messages in thread From: Шенцев Алексей Владимирович @ 2011-04-28 6:24 UTC (permalink / raw) To: ALT Linux Community general discussions On Thursday 28 April 2011 09:53:27 alt user wrote: > 28 апреля 2011 г. 9:21 пользователь Шенцев Алексей Владимирович < > > ashen@novoross.multinex.ru> написал: > > On Thursday 28 April 2011 09:12:26 alt user wrote: > > > 27 апреля 2011 г. 21:19 пользователь Roman Lesnichenko < > > > > > > community@avangard.dn.ua> написал: > > > > 27.04.2011 16:06, alt user пишет: > > > > > > > > Нужно для добавления устройства скомпилировать модуль ядра saa7134. > > > > > > > > > > > > ??? > > > > Он и так есть в ядре, зачем его компилить? > > > > > > Модуль есть а вот моего устройства в модуле нет. > > > > А что за устройство? > ORIENT SDVR-7008AE 8 канальная плата-видеозахвата, другими методами ее > завести не получилось. Вот по этой инструкции > http://www.slovensk.su/forum/viewtopic.php?f=29&t=74&sid=b5f3046693240d4a58 >1fd1e9c62cef2dподготовил файлы, но модуль после компиляции не стартует. Покажите выводы: dmesg|grep saa713 lsmod|grep saa713 lspci P.S.: подписи то за чем цитировать? Лишнее ... -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. Тел.: (8617) 716-526 доп.114 xmpp://ashen@novoross.multinex.ru xmpp://ashen@altlinux.org ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] ORIENT SDVR-7008AE 2011-04-28 6:24 ` Шенцев Алексей Владимирович @ 2011-04-28 7:03 ` Шенцев Алексей Владимирович 1 sibling, 1 reply; 11+ messages in thread From: Шенцев Алексей Владимирович @ 2011-04-28 7:03 UTC (permalink / raw) To: ALT Linux Community general discussions On Thursday 28 April 2011 09:53:27 alt user wrote: > ORIENT SDVR-7008AE 8 канальная плата-видеозахвата, другими методами ее > завести не получилось. Вот по этой инструкции > http://www.slovensk.su/forum/viewtopic.php?f=29&t=74&sid=b5f3046693240d4a58 >1fd1e9c62cef2dподготовил файлы, но модуль после компиляции не стартует. Вот это: http://groups.google.com/group/avreg-users/browse_thread/thread/55e142814bcacd14 читали? И какое у вас ядро, бранч? -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. Тел.: (8617) 716-526 доп.114 xmpp://ashen@novoross.multinex.ru xmpp://ashen@altlinux.org ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTim26eQNe_=tue8r_Z2s2uUWgXK4hA@mail.gmail.com>]
* Re: [Comm] ORIENT SDVR-7008AE @ 2011-04-28 8:21 ` Шенцев Алексей Владимирович 0 siblings, 1 reply; 11+ messages in thread From: Шенцев Алексей Владимирович @ 2011-04-28 8:21 UTC (permalink / raw) To: ALT Linux Community general discussions On Thursday 28 April 2011 12:11:28 alt user wrote: > 28 апреля 2011 г. 11:03 пользователь Шенцев Алексей Владимирович < > > ashen@novoross.multinex.ru> написал: > > On Thursday 28 April 2011 09:53:27 alt user wrote: > > > ORIENT SDVR-7008AE 8 канальная плата-видеозахвата, другими методами ее > > > завести не получилось. Вот по этой инструкции > > > > http://www.slovensk.su/forum/viewtopic.php?f=29&t=74&sid=b5f3046693240d4a > >58 > > > > >1fd1e9c62cef2dподготовил файлы, но модуль после компиляции не стартует. > > > > Вот это: > > > > > > http://groups.google.com/group/avreg-users/browse_thread/thread/55e142814 > >bcacd14 > > > > читали? > > > > И какое у вас ядро, бранч? > > -- > > Читал, таким способом кроме черного квадрата малевича при проверке > видеовывода или видеозахвата ничего больше не получаю. > > Пробовал на 32 ядре и на 38, в p5, 5.1 и сизифе. > > p.s. Вру на сизифе получил серый квадрат малевича. Ясно. Если платформа без разницы, то, для сизифа: 1) git clone git://git.altlinux.org/gears/k/kernel-image-std-def.git 2) вносим исправления, комитим. 3) собираем ядро и пробуем его работу. -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. Тел.: (8617) 716-526 доп.114 xmpp://ashen@novoross.multinex.ru xmpp://ashen@altlinux.org ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTimEZscpsei_4YfLfQfupL1mt8O_SQ@mail.gmail.com>]
* Re: [Comm] ORIENT SDVR-7008AE @ 2011-04-28 10:02 ` Шенцев Алексей Владимирович 0 siblings, 1 reply; 11+ messages in thread From: Шенцев Алексей Владимирович @ 2011-04-28 10:02 UTC (permalink / raw) To: ALT Linux Community general discussions On Thursday 28 April 2011 13:56:23 alt user wrote: > Спасибо проблема отпала в связи с тем что немного разобрался в настройках > ПО и видео заработало... Как решили проблему, как настроили карту, какой бранч, ядро? Расскажите, другим может пригодится ... ;) -- С уважением, системный администратор ООО "Новая Россия - КТВ" Шенцев Алексей Владимирович. Тел.: (8617) 716-526 доп.114 xmpp://ashen@novoross.multinex.ru xmpp://ashen@altlinux.org ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTimEQd+KjuD528vM5NkG9Vr57CNoFg@mail.gmail.com>]
* Re: [Comm] ORIENT SDVR-7008AE @ 2011-04-29 7:29 ` Владимир Гусев 0 siblings, 0 replies; 11+ messages in thread From: Владимир Гусев @ 2011-04-29 7:29 UTC (permalink / raw) To: ALT Linux Community general discussions On Fri, 29 Apr 2011 10:54:54 +0400, alt user wrote: >> [..] > в /etc/modprobe.d/option добавил > > options saa7134 card=1,1,1,1,1,1,1,1 tuner=-1,-1,-1,-1,-1,-1,-1,-1 Это как? Почему не просто card=1 tuner=-1 ? -- С уважением, Владимир Гусев ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Comm] Как правильно скомпилить модуль ядра 2011-04-28 5:21 ` Шенцев Алексей Владимирович @ 2011-04-28 5:54 ` Andrey Liakhovets 1 sibling, 1 reply; 11+ messages in thread From: Andrey Liakhovets @ 2011-04-28 5:54 UTC (permalink / raw) To: community On Thu, 28 Apr 2011 09:12:26 +0400 alt user wrote: >27 апреля 2011 г. 21:19 пользователь Roman Lesnichenko написал: >> 27.04.2011 16:06, alt user пишет: >>> Нужно для добавления устройства скомпилировать модуль ядра saa7134. >> ??? >> Он и так есть в ядре, зачем его компилить? >Модуль есть а вот моего устройства в модуле нет. То есть надо сделать простенький патч и пересобрать. Есть два пути: 1) исходники в git, сборка через gear: http://www.altlinux.org/Gear 2) исходники в .src.rpm, сборка в hasher: http://www.altlinux.org/Hasher (1й путь правильный, но я так никогда не делал, со 2-м могу помочь) Андрей Ляховец ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTinwxNtrskb2gk5tU3prCSOfkjy5xw@mail.gmail.com>]
* Re: [Comm] Как правильно скомпилить модуль ядра @ 2011-04-28 6:56 ` Andrey Liakhovets 0 siblings, 1 reply; 11+ messages in thread From: Andrey Liakhovets @ 2011-04-28 6:56 UTC (permalink / raw) To: community On Thu, 28 Apr 2011 10:30:55 +0400 alt user wrote: >28 апреля 2011 г. 9:54 пользователь Andrey Liakhovets написал: >> On Thu, 28 Apr 2011 09:12:26 +0400 alt user wrote: >> >Модуль есть а вот моего устройства в модуле нет. >> >> То есть надо сделать простенький патч и пересобрать. >> >> Есть два пути: >> 1) исходники в git, сборка через gear: http://www.altlinux.org/Gear >> 2) исходники в .src.rpm, сборка в hasher: http://www.altlinux.org/Hasher >> >> (1й путь правильный, но я так никогда не делал, со 2-м могу помочь) >> >А помогите ), что нужно от меня? Прочитать по ссылкам :) Попробовать сделать, спрашивать, если что непонятно или не получается. Ну и начинаем со сбора информации: - под какое ядро собираетесь делать? текущее? (см. uname -a) или...? - источники пакетов для вашей системы? (что незакомментировано в /etc/apt/sources.list и в /etc/apt/sources.list.d/*.list ?) Андрей Ляховец ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <BANLkTim1vq5GqAhZjjXNxr1jPuD1PKmOXw@mail.gmail.com>]
* Re: [Comm] Как правильно скомпилить модуль ядра @ 2011-04-28 8:49 ` Andrey Liakhovets 0 siblings, 0 replies; 11+ messages in thread From: Andrey Liakhovets @ 2011-04-28 8:49 UTC (permalink / raw) To: community On Thu, 28 Apr 2011 11:34:15 +0400 alt user wrote: >28 апреля 2011 г. 10:56 пользователь Andrey Liakhovets написал: >> Прочитать по ссылкам :) >> Попробовать сделать, спрашивать, если что непонятно или не получается. >> >> Ну и начинаем со сбора информации: >> - под какое ядро собираетесь делать? текущее? (см. uname -a) или...? >> - источники пакетов для вашей системы? (что незакомментировано в >> /etc/apt/sources.list и в /etc/apt/sources.list.d/*.list ?) >> >> <https://lists.altlinux.org/mailman/listinfo/community> >> >По hasher почитал. Вроде все просто ). >НО тут возникает такой вопрос как >сделать сам патч для модуля так как то что есть в >kernel-image-%version%-src.rpm не совсем понятно ). Предлагаю для начала пересобрать то, что есть (но см. ниже). >под 32 std-def, источники бранч 5.1 Не наблюдаю в branch 5.1 ядра std-def 2.6.32 . Определитесь сначала с ядром и репозитарием, потом двинемся дальше. Андрей Ляховец PS. Рядом предлагают правильный путь -- через git и gear. Но в любом случае надо убрать неясности с ядром и репо :) ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-04-29 7:29 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-04-27 13:06 [Comm] Как правильно скомпилить модуль ядра alt user 2011-04-27 17:19 ` Roman Lesnichenko 2011-04-28 5:21 ` Шенцев Алексей Владимирович 2011-04-28 6:24 ` Шенцев Алексей Владимирович 2011-04-28 7:03 ` [Comm] ORIENT SDVR-7008AE Шенцев Алексей Владимирович 2011-04-28 8:21 ` Шенцев Алексей Владимирович 2011-04-28 10:02 ` Шенцев Алексей Владимирович 2011-04-29 7:29 ` Владимир Гусев 2011-04-28 5:54 ` [Comm] Как правильно скомпилить модуль ядра Andrey Liakhovets 2011-04-28 6:56 ` Andrey Liakhovets 2011-04-28 8:49 ` Andrey Liakhovets
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