ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Arcady V. Ivanov" <arc@help0.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ALTLinux Junior 2.2 beginner+i845G ?
Date: Fri, 18 Apr 2003 11:13:50 +1300
Message-ID: <3E9F271E.9090006@help0.ru> (raw)
In-Reply-To: <01b401c304c6$342a02b0$032143c2@mtts.elcom.ru>

Nick W.Riasnianski пишет:

>Мне посоветовали установить драйвер с www.intel.com
>Однако у меня уже была неудачная попытка установить этот
>драйвер в другом дистрибутиве Linux.
>Поэтому хотелось бы уточнить некоторые моменты.
>1. Что такое header-ы ядра? В инструкциях написано
>установить исходники ядра. Они существуют в различных
>версиях - 386, 586, 686. Какую ставить. У ALTLinux Junior
>2.2 ядро оптимизировано под 586.
>Надо ли ставить исходники ядра. На 2-м диске имеются
>несколько файлов kernel:
>kernel24-linus-smp-2.4.20-alt4.i586.rpm
>kernel-headers-common-1.0-alt2.noarch.rpm
>kernel24-headers-2.4.20-alt6.i586.rpm
>kernel24-linus-headers-2.4.20-alt4.i586.rpm
>Их надо ставить все или какой то конкретно?
>2. Нужен ли компилятор gcc для сборки драйвера (при
>установке Junuor он не ставиться)? Если нужен, то как его
>правильно установить. Он тянет за собой несколько библиотек,
>в каком порядке их устанавливать? Раньше у меня выдавалась
>ошибка конфликта версий, надеюсь здесь не будет.
>  
>
apt-get --yes remove gcc3.2 ; if [ $? != 0 ] ; then echo "GCC remove 
failed"; exit 1; fi
apt-get --yes install gcc2.96 ; if [ $? != 0 ] ; then echo "GCC install 
failed"; exit 1; fi

apt-get install kernel24-headers ;   if [ $? != 0 ] ; then echo "Kernel 
headers install failed"; exit 1; fi
if [ -f /usr/src/linux ]
then
  rm -rf /usr/src/linux.orig
  mv /usr/src/linux /usr/src/linux.orig
fi

if [ ! -x /usr/src/linux/include ]
then
  ln -s /usr/lib/kernel/2.4.20-alt5 /usr/src/linux ;   if [ $? != 0 ] ; 
then echo "Link of headers failed"; exit 1; fi
fi

Вот маленький кусочек моего скрипта для работы со всякими ядерными штучками.
Если у вас другое ядро, то замените /usr/lib/kernel/2.4.20-alt5 на то, 
что у вас.




-- 
SY. Arcady. mailto:arc@help0.ru, WWW - http://www.help0.ru, Instant messenger : arc@jabber.ru





  parent reply	other threads:[~2003-04-17 22:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17  9:46 Nick W.Riasnianski
2003-04-17 17:23 ` ASA
2003-04-17 22:13 ` Arcady V. Ivanov [this message]
2003-04-18  2:42   ` Re[2]: " ASA
2003-04-18  3:32     ` [Comm] Re: [Comm][JT] " Arcady V. Ivanov
2003-04-18  5:58       ` Anton V. Boyarshinov
2003-04-23 20:40 ` [Comm] " Michael Shigorin

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=3E9F271E.9090006@help0.ru \
    --to=arc@help0.ru \
    --cc=community@altlinux.ru \
    /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 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