[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:22639] Re: pcmcia-source can't build modules package



こんにちは。松田陽一@PAL-NET三鷹です。

From: skonishi@xxxxxxxxxxxxxx
Subject: [debian-users:22638] Re: pcmcia-source can't build modules package
Date: Thu, 1 Jun 2000 07:56:50 +0900

> 適切なアドヴァイスでしたよ。
> エラーメッセージにもはっきり出てますが、お読みなっていない?
> 
> MATSUDAYoh-ichi> I suggest you move /lib/modules/2.2.15 out of the way,
> MATSUDAYoh-ichi> perhaps to /lib/modules/2.2.15.old or something,
> MATSUDAYoh-ichi> and then try re-installing this image.
> 
> /lib/modules/2.2.15を消すか、名前を/lib/modules/2.2.15.oldみたいに名前を変えて
> もう一度インストールしてみてください。
> 
> と言っているのです。
> 
> (revisionは規則的かつ明確に前のと違うものを使うと後で楽ですよ。僕は日付時間を
> 付けてます。長くなるけどどれが新しいのか自分で判別できるので。
> ex. --revision 2000060107)
> 
> 上記操作の後、普通にdpkg -i
> やってみてください。

はい、今しがたやってみました。
------------------------------------------------------------------------
libretto# rm --recursive -v /lib/modules/2.2.15
ディレクトリ `/lib/modules/2.2.15' 中身を全て削除しました
/lib/modules/2.2.15/modules.dep を削除しています
ディレクトリ `/lib/modules/2.2.15/block' 中身を全て削除しました
/lib/modules/2.2.15/block/ide-cd.o を削除しています
ディレクトリ自身の削除: /lib/modules/2.2.15/block
ディレクトリ `/lib/modules/2.2.15/net' 中身を全て削除しました
/lib/modules/2.2.15/net/ircomm.o を削除しています
(snip)
/lib/modules/2.2.15/pcmcia/ide_cs.o を削除しています
/lib/modules/2.2.15/pcmcia/parport_cs.o を削除しています
/lib/modules/2.2.15/pcmcia/8390.o を削除しています
ディレクトリ自身の削除: /lib/modules/2.2.15/pcmcia
ディレクトリ自身の削除: /lib/modules/2.2.15
libretto# dpkg --install --force-conflicts kernel-image-2.2.15_libretto.2_i386.deb pcmcia-modules-2.2.15_3.1.8-13+libretto.2_i386.deb
dpkg: kernel-image-2.2.15_libretto.2_i386.deb が kernel-image-2.2.15 を提供することを考慮すると:
 pcmcia-modules-2.2.15 は次と衝突(conflicts)します: kernel-image-2.2.15 (>> Custom.0)
  kernel-image-2.2.15 (バージョン libretto.2)がインストールされようとしています。
dpkg: 警告 - 衝突を無視しています。とにかく続行してみます!
(データベースを読み込んでいます... 現在 19847 個のファイルとディレクトリがインストールされています。)
kernel-image-2.2.15 Custom.0 を(kernel-image-2.2.15_libretto.2_i386.deb で)置換するための準備をしています...
kernel-image-2.2.15 を展開し、置換しています...
pcmcia-modules-2.2.15 3.1.8-12+Custom.0 を(pcmcia-modules-2.2.15_3.1.8-13+libretto.2_i386.deb で)置換するための準備をしています...
Shutting down PCMCIA services: cardmgr modules.
pcmcia-modules-2.2.15 を展開し、置換しています...
kernel-image-2.2.15 (libretto.2)を設定しています ...
A new kernel image has been installed, and usually that means  
that some action has to be taken to make sure that the new     
kernel image is used next time the machine boots. Usually,     
this entails running a ``bootloader'' like grub, SILO, loadlin,
LILO, QUIK, or booting from a floppy.                        

A new kernel image has been installed. 

LILO sets up your system to boot Linux directly from your hard
disk, without the need for a boot floppy.

WARNING
If you are keeping another operating system or another version
of Linux on a separate disk partition, you should not have LILO
install a boot block now. Wait until you read the LILO documentation.
That is because installing a boot block now might make the other
system un-bootable. If you only want to run this version of Linux,
go ahead and install the boot block here. If it does not work, you
can still boot this system from a floppy.

Would you like to create a boot floppy now? [No] 
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes] 
Testing lilo.conf ... 
Testing successful. Installing the partition boot sector... 
Installation successful.

pcmcia-modules-2.2.15 (3.1.8-13+libretto.2)を設定しています ...

The modules in this package have been compiled to be compatible with
the kernel in the kernel-image-2.2.15 package version libretto.2.
If you have compiled your own kernel, you will most likely need to
also recompile the PCMCIA modules.  The pcmcia-source package has been
provided to help Debian users recompile the PCMCIA modules to work with
their kernels' configurations.  (It also is possible to rebuild these
modules using the Debian source files for the pcmcia-cs package.)

Some systems and some PCMCIA cards require special configuration, and
therefore, PCMCIA support might not work until appropriate changes have
been made to /etc/pcmcia.conf or the files in the /etc/pcmcia directory.
See the PCMCIA-HOWTO (available as /usr/doc/HOWTO/PCMCIA-HOWTO.gz in
the doc-linux-text package) for more details.

Do you want to start PCMCIA support now? [y] 
Starting PCMCIA services: modules/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol request_region
/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol apm_register_callback
/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol __wake_up
/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol __udelay
/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol kmalloc
/lib/modules/2.2.15/pcmcia/pcmcia_core.o: unresolved symbol release_region
(snip)
/lib/modules/2.2.15/pcmcia/ds.o: unresolved symbol add_timer
/lib/modules/2.2.15/pcmcia/ds.o: unresolved symbol CardServices
/lib/modules/2.2.15/pcmcia/ds.o: unresolved symbol __generic_copy_to_user
 cardmgr.
------------------------------------------------------------------------

で、リブートしました。
リブート後、depmod -a しましたら、

------------------------------------------------------------------------
libretto# depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/pcmcia_core.o
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/i82365.o
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/tcic.o
(snip)
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/3c574_cs.o
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/ide_cs.o
depmod: *** Unresolved symbols in /lib/modules/2.2.15/pcmcia/parport_cs.o
------------------------------------------------------------------------

結果は同じです。
--
ぱらっぱら ぱらっぱら ぱらっぱらっぱっぱ♪
松田 陽一(yoh)
mailto:matsuda@xxxxxxxxxxxx
http://www2.palnet.or.jp/~matsuda/index.htm