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

Re: Installing rt2570 module



En/na Per Olofsson ha escrit:
Hi,

Xan wrote:
Another question: http://packages.qa.debian.org/r/rt2x00.html says that
rt2x00 has removed from testing and surely from unstable. It will afect
somehow stable (that I use now in slug)? How?
What's the new driver? I did not find it.

The driver has been incorporated in the mainline kernel starting with 2.6.24, so
 the out-of-tree driver is not needed anymore. I'm running lenny with Linux
2.6.24 on my NSLU2, and the included rt2x00 driver (rt73usb) works fine with my
D-Link USB wireless network adapter. All I needed to do was to install the
firmware-ralink package.

Okay. Thank you very much.
For the other hand, I started installing rt2570 module in my nslu2 (stable) debian.

Following http://rt2x00.serialmonkey.com/wiki/index.php?title=Debian_rt2500_Howto
I did:

# apt-get install module-assistant
# module-assitant prepare

The first installation was ok.
But I have one problem to the last step:


# module-assistant prepare
Getting source for kernel version: 2.6.18-4-ixp4xx
apt-get install linux-headers-2.6.18-4-ixp4xx
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
binutils cpp-4.1 gcc-4.1 libssp0 linux-headers-2.6.18-4 linux-kbuild-2.6.18
Suggested packages:
 binutils-doc gcc-4.1-locales gcc-4.1-doc
Recommended packages:
 libc6-dev libmudflap0-dev
The following NEW packages will be installed:
 binutils cpp-4.1 gcc-4.1 libssp0 linux-headers-2.6.18-4
 linux-headers-2.6.18-4-ixp4xx linux-kbuild-2.6.18
0 upgraded, 7 newly installed, 0 to remove and 53 not upgraded.
Need to get 8714kB of archives.
After unpacking 38.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.fi.debian.org etch/main binutils 2.17-3 [2485kB]
Get:2 http://security.debian.org etch/updates/main linux-headers-2.6.18-4 2.6.18.dfsg.1-12etch2 [3406kB] Get:3 http://ftp.fi.debian.org etch/main cpp-4.1 4.1.1-21 [2006kB] Get:4 http://security.debian.org etch/updates/main linux-headers-2.6.18-4-ixp4xx 2.6.18.dfsg.1-12etch2 [235kB] Get:5 http://ftp.fi.debian.org etch/main libssp0 4.1.1-21 [4224B] Get:6 http://ftp.fi.debian.org etch/main gcc-4.1 4.1.1-21 [403kB] Get:7 http://ftp.fi.debian.org etch/main linux-kbuild-2.6.18 2.6.18-1 [175kB] Fetched 8714kB in 54s (159kB/s) Selecting previously deselected package binutils.
(Reading database ... 16095 files and directories currently installed.)
Unpacking binutils (from .../binutils_2.17-3_arm.deb) ...
Selecting previously deselected package cpp-4.1.
Unpacking cpp-4.1 (from .../cpp-4.1_4.1.1-21_arm.deb) ...
Selecting previously deselected package libssp0.
Unpacking libssp0 (from .../libssp0_4.1.1-21_arm.deb) ...
Selecting previously deselected package gcc-4.1.
Unpacking gcc-4.1 (from .../gcc-4.1_4.1.1-21_arm.deb) ...
Selecting previously deselected package linux-headers-2.6.18-4.
Unpacking linux-headers-2.6.18-4 (from .../linux-headers-2.6.18-4_2.6.18.dfsg.1-12etch2_arm.deb) ...
Selecting previously deselected package linux-kbuild-2.6.18.
Unpacking linux-kbuild-2.6.18 (from .../linux-kbuild-2.6.18_2.6.18-1_arm.deb) ...
Selecting previously deselected package linux-headers-2.6.18-4-ixp4xx.
Unpacking linux-headers-2.6.18-4-ixp4xx (from .../linux-headers-2.6.18-4-ixp4xx_2.6.18.dfsg.1-12etch2_arm.deb) ...
Setting up binutils (2.17-3) ...

Setting up cpp-4.1 (4.1.1-21) ...
Setting up libssp0 (4.1.1-21) ...

Setting up gcc-4.1 (4.1.1-21) ...
Setting up linux-headers-2.6.18-4 (2.6.18.dfsg.1-12etch2) ...
Setting up linux-kbuild-2.6.18 (2.6.18-1) ...
Setting up linux-headers-2.6.18-4-ixp4xx (2.6.18.dfsg.1-12etch2) ...
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
 cpp dpkg-dev g++ g++-4.1 gcc libc6 libc6-dev libstdc++6-4.1-dev
 linux-kernel-headers make
Suggested packages:
cpp-doc debian-keyring gcc-4.1-doc manpages-dev autoconf automake1.9 libtool
 flex bison gdb gcc-doc glibc-doc libstdc++6-4.1-doc make-doc-non-dfsg
Recommended packages:
 bzip2
The following NEW packages will be installed:
 build-essential cpp dpkg-dev g++ g++-4.1 gcc libc6-dev libstdc++6-4.1-dev
 linux-kernel-headers make
The following packages will be upgraded:
 libc6
1 upgraded, 10 newly installed, 0 to remove and 52 not upgraded.
Need to get 11.9MB of archives.
After unpacking 33.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.fi.debian.org etch/main libc6 2.3.6.ds1-13etch5 [3940kB]
Get:2 http://ftp.fi.debian.org etch/main linux-kernel-headers 2.6.18-7 [1986kB] Get:3 http://ftp.fi.debian.org etch/main libc6-dev 2.3.6.ds1-13etch5 [2012kB] Get:4 http://ftp.fi.debian.org etch/main cpp 4:4.1.1-15 [11.6kB] Get:5 http://ftp.fi.debian.org etch/main gcc 4:4.1.1-15 [5062B] Get:6 http://ftp.fi.debian.org etch/main libstdc++6-4.1-dev 4.1.1-21 [1124kB] Get:7 http://ftp.fi.debian.org etch/main g++-4.1 4.1.1-21 [2283kB] Get:8 http://ftp.fi.debian.org etch/main g++ 4:4.1.1-15 [1360B] Get:9 http://ftp.fi.debian.org etch/main make 3.81-2 [381kB] Get:10 http://ftp.fi.debian.org etch/main dpkg-dev 1.13.25 [166kB] Get:11 http://ftp.fi.debian.org etch/main build-essential 11.3 [6990B] Fetched 11.9MB in 39s (301kB/s) (Reading database ... 22401 files and directories currently installed.) Preparing to replace libc6 2.3.6.ds1-13 (using .../libc6_2.3.6.ds1-13etch5_arm.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.3.6.ds1-13etch5) ...
/usr/bin/perl: error while loading shared libraries: /lib/libm.so.6: invalid ELF header
dpkg: error processing libc6 (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)

Done!
caixa:/home/xan# module-assistant prepare
/usr/bin/perl: error while loading shared libraries: /lib/libm.so.6: invalid ELF header
caixa:/home/xan#



What can I do for solving it?

Thanks a lot,
Xan.


Reply to: