Lenny --- DKMS b

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Fighter Andy
Posty: 8
Rejestracja: 05 maja 2008, 13:53

Lenny --- DKMS błąd przy instalacji ZXDSL 852v2 - neo

Post autor: Fighter Andy »

Witam chciałem sobie zainstalowałem neo modem ZTE ZXDSL 852v2 (Ten z trzema diodami) na Lennym problem w tym że przy poleceniu:

Kod: Zaznacz cały

dkms build -m unicorn -v neo
Wywala błąd (screen niżej) niby chodzi modutils lecz w repozytorium Lenny nie ma tego, więc zainstalowałem module-init-tools, odinstalowałem DKMS i od nowa zainstalowałem pojawił się ten sam błąd przy instalacji chociaż module-init-tools jest zainstalowane.
Niżej jest również logfile z /var/lib/dkms/unicorn/neo/build.
Nie wiem jak to zrobić próbowałem instalować już różne pakiety i nic nie pomaga.

Screen
http://img362.imageshack.us/img362/3285 ... ot1uo2.png

Logfile

Kod: Zaznacz cały

DKMS make.log for unicorn-neo for kernel 2.6.24-1-486 (i686)
Tue May  6 23:46:20 CEST 2008
for i in unicorn_usb  ; do make -C $i modules MODDIR=/var/lib/dkms/unicorn/neo/build/$i ; done
/bin/sh: rpm: command not found
make[1]: Entering directory `/var/lib/dkms/unicorn/neo/build/unicorn_usb'
make CC=cc -C /lib/modules/2.6.24-1-486/build SUBDIRS=/var/lib/dkms/unicorn/neo/build/unicorn_usb modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-1-486'
  CC [M]  /var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.o
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'dump_urb':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:190: error: 'struct urb' has no member named 'bandwidth'
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'fill_isoc_urb':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:210: error: 'struct urb' has no member named 'lock'
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'StartAtmUsXfer':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:447: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:454: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'atm_stop_rcv':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:575: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'atm_start_rcv':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:658: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:664: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'adjust_bandwidth':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:853: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'start_device':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1650: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'term_usb_urb':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1839: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1847: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1854: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1863: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1873: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1884: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1894: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1903: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:1910: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'USB_S_Write':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2272: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2279: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2286: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2301: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'USB_L_Write':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2351: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2356: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2365: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2379: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'USB_S_Read':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2442: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2462: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2476: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2499: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2508: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2518: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2549: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2552: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function 'USB_L_Read':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2616: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2635: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2646: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2670: warning: passing argument 7 of 'fill_isoc_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2679: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2687: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2717: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:2720: warning: statement with no effect
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_ActivationMode':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3190: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_AlternativeSetting':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3191: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_AutoActivation':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3192: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_DownstreamRate':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3193: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_LoopbackMode':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3194: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_MswDebugLevel':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3195: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_RetryTime':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3196: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_DebugLevel':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3198: warning: return from incompatible pointer type
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c: In function '__check_ledScenario':
/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.c:3200: warning: return from incompatible pointer type
make[3]: *** [/var/lib/dkms/unicorn/neo/build/unicorn_usb/unicorn_usbdrv.o] Error 1
make[2]: *** [_module_/var/lib/dkms/unicorn/neo/build/unicorn_usb] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-1-486'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/var/lib/dkms/unicorn/neo/build/unicorn_usb'
make: *** [modules] Error 2
Awatar użytkownika
draco
Beginner
Posty: 258
Rejestracja: 03 grudnia 2006, 15:23
Lokalizacja: Inna rzeczywistość

Post autor: draco »

Dajmy na to, że kompiluje się na kernelu 2.6.24-1-686 z testinga.

Po wyciągnięciu z UbuDSL opdpowiedniego pliku:
http://draconair.ovh.org/inne/unicorn-neo.tar.gz
skompilowało się.

¦ciągnąć, rozpakować, make, make install i powinno działać.
http://rzr.online.fr/wiki.php?unicorn
http://forums.debian.net/viewtopic.php?p=43764#43764

Czytaj, myśl, twórz.

W debianie są pakiety unicorn i unicorn-sources ale... średnio działają od dawna.

Podobno z UbuDSL działa, może znają jakąś magiczną sztuczkę na odczarowanie tego modemu na bierzącym kernelu.
fnmirk
Senior Member
Posty: 8295
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

Jest błąd w sterowniku modemu, przy pracy z nowymi kernelami. Sterownik naprawiony jest w nowym pakiecie UBUDSL.
http://ubudsl.com/
Musisz go wyciągnąć z pakietu lub spróbować zainstalować Ubudsl tak jak jest opisane w przypadku Ubuntu. Następnie zestawić połączenie według opisu draco dostępnego na forum.
http://debian.linux.pl/viewtopic.php?p=12728#12728
Sam sposób uruchamiania modemu.
Po instalacji Ubudsl, restart systemu. I nie korzystaj z konfiguratora Ubudsl (możesz sprawdzić może zadziała). Tylko zestaw połączenie według wspomnianego opisu.
Fighter Andy
Posty: 8
Rejestracja: 05 maja 2008, 13:53

Post autor: Fighter Andy »

OK zrobiłem tak jak napisałeś i przy wpisaniu make wywala błędy.

Edit: Zachwile zapodam screen.
ODPOWIEDZ