ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel-kernel@altlinux.ru
Subject: Re: [d-kernel] проблема со сборкой cloop
Date: Mon, 29 Mar 2004 13:22:25 +0400
Message-ID: <20040329092224.GA22273@master.mivlgu.local> (raw)
In-Reply-To: <4067133F.2050709@l14.ru>

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

On Sun, Mar 28, 2004 at 10:02:39PM +0400, Alexey Lubimov wrote:
> При сборке модуля  cloop никаких ошибок не нет. Даже ворнингов.
> 
> При загрузке имеем
> 
>  sudo depmod -a
> depmod: *** Unresolved symbols in 
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o
> [avl@avl avl]$ sudo modprobe -v cloop
> /sbin/insmod 
> /lib/modules/2.4.25-std-smp-alt2/kernel/lib/zlib_inflate/zlib_inflate.o
> Using 
> /lib/modules/2.4.25-std-smp-alt2/kernel/lib/zlib_inflate/zlib_inflate.o
> Symbol version prefix 'smp_'
> /sbin/insmod /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o
> Using /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: 
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: 
> unresolved symbol 
> blk_queue_bounce

Отсутствует опция -O2 при сборке.

> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: 
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: unresolved 
> symbol ntohl

Аналогичная причина.

> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: insmod 
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o failed
> # delete zlib_inflate (zlib_inflate)
> /lib/modules/2.4.25-std-smp-alt2/kernel/drivers/block/cloop.o: insmod 
> cloop failed
> 
> в инете по поводу символа blk_queue_bounce практически ничего нет.
> 
> по поводу ntohl сказано добавить include </asm/byteorder.h>  но это 
> ничего не дает.
> 
> Собирал и gcc-2.96 и  3.3  толку - ноль.
> 
> Будут какие нибудь мысли?

Очевидно, Makefile либо сломан, либо не нашёл чего-то нужного.

> И еще. При сборке в Makefile хотят узнвть содержимое .config и conf.vars
> Первый я нашел в /boot, а вот второй где взять?

В /boot ничего искать не надо - /usr/src/linux-%kversion-%flavour,
пакет kernel-headers-modules-%flavour.

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

  parent reply	other threads:[~2004-03-29  9:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-28 18:02 Alexey Lubimov
2004-03-28 19:47 ` Alexander Bokovoy
2004-03-29  9:22 ` Sergey Vlasov [this message]
2004-03-29 23:10   ` Alexey Lubimov
2004-03-30  5:59     ` Anton Farygin
2004-03-30  7:31       ` Anton Farygin
2004-03-30 14:54         ` Anton Farygin

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=20040329092224.GA22273@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@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 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