Nowy kernel do CPU Duron 600MHZ Spitfire + Wifi xg762N

Witam.

Jaka wersja jądra będzie najlepsza dla CPU DURON (spitfire) 600Mhz (pokręcony do 648) x86 ???

Słyszałem że możliwą jest zależność pomiędzy kartą grafiki , ale tą może zostawmy jako drugoplanową

Moja karta to : geeforce mx420

system :DEBIAN LENNY

linux-headers-2.6.26-2-486 - Header files for Linux 2.6.26-2-486

linux-headers-2.6.26-2-686 - Header files for Linux 2.6.26-2-686

linux-headers-2.6.26-2-686-bigmem - Header files for Linux 2.6.26-2-686-bigmem

linux-headers-2.6.26-2-amd64 - Header files for Linux 2.6.26-2-amd64

linux-headers-2.6.26-2-openvz-686 - Header files for Linux 2.6.26-2-openvz-686

linux-headers-2.6.26-2-vserver-686 - Header files for Linux 2.6.26-2-vserver-686

linux-headers-2.6.26-2-vserver-686-bigmem - Header files for Linux 2.6.26-2-vserver-6 86-bigmem

linux-headers-2.6.26-2-xen-686 - Header files for Linux 2.6.26-2-xen-686

linux-image-2.6-486 - Linux 2.6 image on x86

linux-image-2.6-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6-686-bigmem - Linux 2.6 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6-amd64 - Linux 2.6 image on AMD64

linux-image-2.6-k7 - Linux 2.6 image on AMD K7 - transition package

linux-image-2.6-openvz-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, OpenVZ supp ort

linux-image-2.6-vserver-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, Linux-VSer ver support

linux-image-2.6-vserver-686-bigmem - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, Lin ux-VServer support

linux-image-2.6-xen-686 - Linux 2.6 image on i686, oldstyle Xen support

linux-image-2.6.26-2-486 - Linux 2.6.26 image on x86

linux-image-2.6.26-2-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6.26-2-686-bigmem - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6.26-2-amd64 - Linux 2.6.26 image on AMD64

linux-image-2.6.26-2-openvz-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4, Ope nVZ support

linux-image-2.6.26-2-vserver-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4, Li nux-VServer support

linux-image-2.6.26-2-vserver-686-bigmem - Linux 2.6.26 image on PPro/Celeron/PII/PIII /P4, Linux-VServer support

linux-image-2.6.26-2-xen-686 - Linux 2.6.26 image on i686, oldstyle Xen support

linux-image-486 - Linux image on x86

linux-image-686 - Linux image on PPro/Celeron/PII/PIII/P4

linux-image-686-bigmem - Linux image on PPro/Celeron/PII/PIII/P4

linux-image-amd64 - Linux image on AMD64

linux-image-k7 - Linux image on AMD K7 - transition package

linux-image-openvz-686 - Linux image on PPro/Celeron/PII/PIII/P4, OpenVZ support

linux-image-vserver-686 - Linux image on PPro/Celeron/PII/PIII/P4, Linux-VServer supp ort

linux-image-vserver-686-bigmem - Linux image on PPro/Celeron/PII/PIII/P4, Linux-VServ er support

linux-image-xen-686 - Linux image on i686, oldstyle Xen support

linux-tree-2.6.26 - Linux kernel source tree for building Debian kernel images

rt2400-source - source for rt2400 wireless network driver

rt2500-source - source for rt2500 wireless network driver

rt2570-source - source for rt2570 wireless network driver

linux-headers-2.6.26-1-486 - Header files for Linux 2.6.26-1-486

linux-headers-2.6.26-1-686 - Header files for Linux 2.6.26-1-686

linux-headers-2.6.26-1-686-bigmem - Header files for Linux 2.6.26-1-686-bigmem

linux-headers-2.6.26-1-amd64 - Header files for Linux 2.6.26-1-amd64

linux-headers-2.6.26-1-openvz-686 - Header files for Linux 2.6.26-1-openvz-686

linux-headers-2.6.26-1-vserver-686 - Header files for Linux 2.6.26-1-vserver-686

linux-headers-2.6.26-1-vserver-686-bigmem - Header files for Linux 2.6.26-1-vserver-6 86-bigmem

linux-headers-2.6.26-1-xen-686 - Header files for Linux 2.6.26-1-xen-686

linux-image-2.6.26-1-486 - Linux 2.6.26 image on x86

linux-image-2.6.26-1-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6.26-1-686-bigmem - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4

linux-image-2.6.26-1-amd64 - Linux 2.6.26 image on AMD64

linux-image-2.6.26-1-openvz-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4, Ope nVZ support

linux-image-2.6.26-1-vserver-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4, Li nux-VServer support

linux-image-2.6.26-1-vserver-686-bigmem - Linux 2.6.26 image on PPro/Celeron/PII/PIII /P4, Linux-VServer support

linux-image-2.6.26-1-xen-686 - Linux 2.6.26 image on i686, oldstyle Xen support

linux-image-2.6.20-cdlinux - Linux kernel binary image for version 2.6.20-cdlinux

ndiswrapper-modules-2.6.20-cdlinux - ndiswrapper linux kernel module

Najlepsze byłoby jądro skompilowane pod Twoją architekturę, ale raczej nigdzie takiego nie znajdziesz -musiałbyś kompilować sam. Z dostępnych w dystrybucjach poszukaj kompilowanego pod i686.

Najpierw trzeba odfiltrować to, co nie jest kernelem, czyli headers i sterowniki

Następnie te wersje, które są 64 bitowe, lub przeznaczone do wirtualizacji, lub mają inne niepotrzebne bajery np bigmem

Następnie trzeba skreślić pakiety z konkretną wersją i zostawić meta pakiety, które będą miały zawsze najnowszą wersję w zależnościach.

pozostaje

linux-image-486 - Linux image on x86

    linux-image-686 - Linux image on PPro/Celeron/PII/PIII/P4

    linux-image-k7 - Linux image on AMD K7 - transition package

Jeżeli masz intela, a nie amd, to możesz skreślić “k7”

Jeżeli twój procesor obsługuje architekturę 686, to 686, a jak nie, to 486

linux-image-2.6.26-1-686

Ten będzie najlepszy lub 2.6.30 z backportów.

root@cdlinux:~# apt-get install linux-image-2.6.26-1-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Odczyt informacji o stanie... Gotowe

E: Nie udało się odnaleźć pakietu Linux

root@cdlinux:~# apt-get install linux-image-k7 - Linux image on AMD K7 - transition package

Czytanie list pakietów... Gotowe

Budowanie drzewa zależności       

Odczyt informacji o stanie... Gotowe

E: Nie udało się odnaleźć pakietu Linux

root@cdlinux:~#
apt-get install linux-image-686

instalacja przebiegła pomyślnie. Po dokonaniu update gruba istnieje możliwość wyboru nowego kernela. Niestety coś złego stało się ze sterownikami wifi firmy Żydas.

pytanie : Czy na nowym jądrze wszystkie sterowniki trzeba ładować od początku ?

W każdym razie spróbowałem jeszcze raz zainstalować firmware

otwierając terminal w folderze zawierającym

su -c "dpkg -i zd1211-firmware_2.21.0.0-0.1_all.deb"

modprobe zd1211rw su -c “/sbin/rmmod zd1211rw” su -c “/sbin/modprobe zd1211rw” próbując również przeprowadzić konfigurację przez cdlcenter ,restartując modem.Niestety polecenie iwlist scan nic nie pokazuje. Po wykonaniu dmesg pojawiło się kilka linijek odnośnie firmware zd1211rw.A oto fragment polecenia dmesg i iwlist scan który zapisałem zanim nie przeszedłem z powrotem na starą wersję kernela

[18.040551] Error: Driver 'pcspkr' is already registered, aborting...

[18.968115] tuner-simple 1-0061: creating new instance

[18.968198] tuner-simple 1-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))

[18.992373] saa7134[0]: registered device video0 [v4l2]

[18.992506] saa7134[0]: registered device vbi0

[18.992623] saa7134[0]: registered device radio0

[19.466614] zd1211rw 1-2:1.0: phy0

[19.467584] usbcore: registered new interface driver zd1211rw

[19.997858] udev: renamed network interface wmaster0 to eth2

[51.492501] Adding 1116476k swap on /dev/hda9. Priority:-1 extents:1 across:1116476k

[52.025750] EXT3 FS on hda8, internal journal

[52.784570] ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports

[52.784679] ide_generic: I/O resource 0x1F0-0x1F7 not free.

[52.784746] ide_generic: I/O resource 0x170-0x177 not free.

[52.993615] fuse init (API version 7.9)

[53.140326] device-mapper: uevent: version 1.0.3

[53.143720] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com

[56.365933] Intel ISA PCIC probe: not found.

[61.870127] NET: Registered protocol family 10

[61.871410] lo: Disabled Privacy Extensions

[1290.266146] NTFS driver 2.1.29 [Flags].

[1290.460673] NTFS volume version 3.1.

[1290.476615] NTFS-fs error (device hda7): load_system_files(): $LogFile is not clean. Mounting read-only. Mount in Windows.

[2099.380573] usbcore: deregistering interface driver zd1211rw

[2099.552070] usb 1-2: reset full speed USB device using uhci_hcd and address 2

[2132.844072] usb 1-2: reset full speed USB device using uhci_hcd and address 2

[2132.996239] phy1: Selected rate control algorithm 'pid'

[2132.996239] zd1211rw 1-2:1.0: phy1

[2132.996239] usbcore: registered new interface driver zd1211rw

[2133.009352] udev: renamed network interface wmaster0 to eth2

root@cdlinux:~# iwlist scan

lo Interface doesn't support scanning.


eth2 Interface doesn't support scanning.


wlan0_rename Interface doesn't support scanning : Network is down

pozdrowienia

Pokaż wynik ls -l /lib/modules.

Co do iwlist, to ten sterownik nie wspiera skanowania ale to może być też błąd sterownika, sprawdź na necie czy sterownik jest wspierany przez tą wersję jądra, którą teraz masz, być może musisz pobrać nowsze sterowniki.

Pozdrawiam!

root@cdlinux:~# ls -l /lib/modules

razem 8

drwxr-xr-x 5 root root 4096 paź 8 2009 2.6.20-cdlinux

drwxr-xr-x 3 root root 4096 maj 3 19:07 2.6.26-2-686

root@cdlinux:~#

Poprzednie jądro jest dość stare, sprawdzałeś czy istnieje wsparcie dla nowszej wersji?

Pozdrawiam!

Rozwiązanie tego problemu prowadziło przez wykonanie pewnych czynności których właściwa kolejność nie została przeze mnie ustalona.

Chcąc zmienić dziwną nazwę interfejsu

wlan0_rename Interface doesn't support scanning : Network is down

kasujemy przeznaczoną do edycji zawartość pliku

leafpad /etc/udev/rules.d/70-persistent-net.rules

podnosimy sieć

ifconfig wlan0 up

edytujemy plik leafpad /etc/network/interfaces

# This file describes the network interfaces available on your system

 # and how to activate them. For more information, see interfaces(5).


 # The loopback network interface

 auto lo

 iface lo inet loopback



# Dodane przez cdlinux.pl

auto wlan0

iface wlan0 inet static

	address 192.168.1.12

	netmask 255.255.255.0

	gateway 192.168.1.1

minimalna edycja ogranicza się do wpisania nazwy interejsu wlan0. W celu wyeliminowania możliwego konfliktu z poprzednio przydzielonym ip można je zmienić np na 192.16.1.12 RESTART. W tym momencie polecenie iwlist nie pokazywało już komunikatu

root@cdlinux:~# iwlist scan

lo Interface doesn't support scanning.


eth2 Interface doesn't support scanning.


wlan0_rename Interface doesn't support scanning : Network is down

a ja pisałem ten tekst ciesząc się uzyskanym połączeniem. Poprzedzając edycję pliku /etc/network/interfaces wykonałem kilka rzeczy które mogły ,lecz nie musiały odgrywać największej roli przy zaintalowanym już firmware zd1211-firmware_2.21.0.0-0.1_all.deb nie do końca ustalonego pochodzenia i przeinstalowaniu na zd1211-firmware_2.21.0.0-0.1_all.deb ściągniętym z repozytorium debiana. Wybierając w grubie starszą wersję jądra ,logując jako root usunąłem z kernela moduł zd1211rw

modprobe -r zd1211rw


dmesg -c


aptitude uninstall zd1211rw

Tą samą czynność (być może nie potrzebnie)wykonałem na nowym jądrze przeinstalowując następnie firmware.

su -c "dpkg -i zd1211-firmware_2.21.0.0-0.1_all.deb"


modprobe zd1211rw

Zainstalowany został również wpasupplicant

aptitude install wpasupplicant

a oto logi które występowały w trakcie rozwiązywania problemu z Wifi

682.368072] usb 1-2: reset full speed USB device using uhci_hcd and address 2

[682.520253] phy0: Selected rate control algorithm 'pid'

[682.524724] zd1211rw 1-2:1.0: phy0

[682.524801] usbcore: registered new interface driver zd1211rw

[721.011241] firmware: requesting zd1211/zd1211b_ub

[721.050906] firmware: requesting zd1211/zd1211b_uphr

[721.177591] zd1211rw 1-2:1.0: firmware version 4725

[721.238584] zd1211rw 1-2:1.0: zd1211b chip 079b:0062 v4810 full 00-60-b3 AL2230_RF pa0 g--NS

[721.284295] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[898.822953] wlan0: Initial auth_alg=0

[898.822953] wlan0: authenticate with AP 00:1e:37:98:38:5b

[898.823986] wlan0: RX authentication from 00:1e:37:98:38:5b (alg=0 transaction=2 status=0)

[898.823986] wlan0: authenticated

[898.823986] wlan0: associate with AP 00:1e:37:98:38:5b

[898.830847] wlan0: RX AssocResp from 00:1e:37:98:38:5b (capab=0x411 status=0 aid=1)

[898.830866] wlan0: associated

[898.830896] wlan0: switched to short barker preamble (BSSID=00:1e:37:98:38:5b)

[898.831170] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[909.184093] wlan0: no IPv6 routers present

root@cdlinux:~# dmesg | tail

[1835.144821] wlan0_rename: Initial auth_alg=0

[1835.144821] wlan0_rename: authenticate with AP 00:1e:37:98:38:5b

[1835.146783] wlan0_rename: RX authentication from 00:1e:37:98:38:5b (alg=0 transaction=2 status=0)

[1835.146783] wlan0_rename: authenticated

[1835.146783] wlan0_rename: associate with AP 00:1e:37:98:38:5b

[1835.150955] wlan0_rename: RX ReassocResp from 00:1e:37:98:38:5b (capab=0x411 status=0 aid=1)

[1835.150978] wlan0_rename: associated

[1835.151010] wlan0_rename: switched to short barker preamble (BSSID=00:1e:37:98:38:5b)

[1882.001324] NTFS driver 2.1.29 [Flags].

[1882.144249] NTFS volume version 3.1.

po podniesieniu sieci możliwym było już połączenie poprzez wpisanie ESSID i WEP jednak siła sygnału wynosiła tylko Bit Rate = 1~7 Mb/s . Połączenie z Acces Point: było z przerwami uzyskiwane. Mimo to sieć nie działała. *** Wszystkie te czynności poprzedził format spowodowany zabawą z aptitude ,popełnieniem jakiegoś błędu skutkującego niemożnością uruchomienia X`ów - deinstalacją bibliotek.Próby ściągnięcia nowego xorga niestety nie pomogły.Nowy Cdlinux.pl (2.6.20)upgradowałem do wersji Lenny (zajmującej na starcie ~88MB RAM),następnie wybierając kernel :

linux-image-k7 - Linux image on AMD K7 - transition package

root@cdlinux:~# uname -r

2.6.26-2-68

(~77Ram MB na starcie)