środa, 13 maja 2009

Problem - Planet ENW-9700 + Debian 5.01

Luźne zapiski odnośnie prób uruchomienia tej karty sieciowej.

Chipset: Marvell 88e8053

http://linux.derkeiler.com/Mailing-Lists/Debian/2004-12/2305.html

Marvell driver for Linux kernels 2.6.4 and above
Version: 10.70.1.3, System: Linux, Datum: 30.08.2006

http://www.syskonnect.com/syskonnect/support/driver/htm/sk9e21_lin.htm

Marvell Yukon/SysKonnect SK-98xx Gigabit Ethernet Adapter driver for LINUX

http://debian.linux.pl/viewtopic.php?t=7426
http://ubuntuforums.org/showthread.php?p=7081765

aptitude install linux-headers-`uname -r` gcc gcc-4.1 gcc-4.1-base gcc-3.4-base libgcc1 g++ g++-4.1 build-essential

[/etc/apt/sources.list]
deb http://ftp.pl.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ lenny main non-free contrib
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

apt-get install linux-source-2.6.26
apt-get install bzip2

cd /usr/src
tar -jxvf linux-source-2.6.26
ln -s linux-source-2.6.26 linux

apt-get install libncurses5-dev

cd /usr/src/linux
make clean
make menuconfig
make

apt-get instal kernel-package

sudo apt-get install zlib1g-dev libssl-dev

make-kpkg --revision 1.0 --append-to-version -router -initrd --initrd kernel_image
cd ..
dpkg -i linux-image-2.6.26-router_1.0_i386.deb

By odinstalować:
dpkg -P linux-image-x.x.xx-router

albo trochę kompilowane po staremu ...

make vmlinux
make bzImage
make modules
make modules_install

kopiuje System.map + ln
kopiuje BzImage + ln

mkinitrd ... konfiguracja grub ...

http://debian.linux.pl/viewtopic.php?t=7426
http://debian.linux.pl/viewtopic.php?t=7426
http://linux.derkeiler.com/Mailing-Lists/Debian/2004-12/2305.html
http://ubuntuforums.org/showthread.php?p=7081765
http://ubuntuforums.org/archive/index.php/t-1055931.html

Moduły być może odpowiedzialne:

insmod sky2.ko
insmod skge.ko

Do konfiguracji interfejsów korzystamy z 'ip' (ifconfig jest passe)

ip link

I taka ciekawostka odnośnie poprawiania modułów:

su
modprobe -v sky2
cd /lib/modules/2.6.25.9-0.2-default/kernel/drivers/net
cp -p sky2.ko{,.orig}
perl -pe 's/\0\0\x6c\x43/\0\0\x55\x43/g' sky2.ko.orig > \ sky2.ko

Brak komentarzy:

Prześlij komentarz

Archiwum bloga