ToDo

Test this package on dapper :

deb http://ppa.launchpad.net/rzr/ubuntu dapper main
deb-src http://ppa.launchpad.net/rzr/ubuntu dapper main

Debian / Etch

su root -c "apt-get install aptitude sudo"
sudo aptitude install \
  wget module-assistant bzip2 quilt kernel-package debhelper linux-headers-2.6-686 
sudo aptitude install \
  linux-headers-2.6.18-5 linux-headers-2.6.18-5-686 linux-kbuild-2.6.18 \
  file html2text intltool-debian kernel-package \
  libssl0.9.8 libcompress-zlib-perl libmagic1 libmail-sendmail-perl po-debconf 
wget http://ftp.debian.org/debian/pool/non-free/u/unicorn/unicorn-source_0.9.3-2_all.deb
dpkg -i unicorn-source_0.9.3-2_all.deb 
m-a --text -k  /usr/src/linux-headers-2.6.18-5-686/  -l -2.6.18-5-686 a-i unicorn

OK : Ubuntu / Dapper : OK

1st Add my repository : http://rzr.online.fr/contribs.htm

sudo apt-get install unicorn-source=0.9.3 module-assistant make gcc g++
sudo m-a prepare ; m-a a-i --text unicorn

(will give more details on asked)

I remember it compiled fine :

  • unicorn-modules-2.6.15-21-386_0.9.3-1+2.6.15-21-386+2.6.15-21.32_i386.deb
  • Linux ubuntumwm 2.6.15-27-386 #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006 i686 GNU/Linux # Dapper

MISC

[[Debian]]

wget http://www.bewan.fr/bewan/utilisateurs/telechargement/pilotes/adsl/linux/A1012-A1006-A904-A888-A983-0.9.3.tgz
sudo apt-get install subversion unp wget automake1.4 libgtk1.2-dev
svn co svn://svn.debian.org/svn/kernel/dists/trunk/modules/unicorn # [[Debian]]
cd unicorn
unp *.tar.gz
# cd unicorn ... debuild etc # [[dpkg]]

This trouble does not happend anymore :

// TODO //#~pcoval{
// unicorn/include/unicorn.h
// #define KVER 2_6_14_4
// /usr/local/src/linux-2.6.14.4/net/core/skbuff.c
#if ( KVER == 26144 )
#define skb_unlink(skb) {}
#endif
// TODO //#~pcoval}

not compiling : 0.8.7 and 2.6.14.4-k7-amiloa

Error : Sync but lost connection

dmesg
# [[17183107.220000]] unicorn_usb: MSW state: SHOWTIME L0
modinfo /lib/modules/*/unicorn*usb*
# filename:      /lib/modules/2.6.15-27-386/unicorn_usb_atm.ko
# author:        fisaksen(a)bewan.com
# description:    ATM driver for the ST UNICORN ADSL modem.
# license:        Proprietary
# vermagic:      2.6.15-25-386 preempt 486 gcc-4.0
cat  /proc/version
# Linux version 2.6.15-27-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006

Differents version apparently

Mine was :

modinfo  ./unicorn_usb_atm.ko
filename:       ./unicorn_usb_atm.ko
vermagic:       2.6.15-21-386 preempt 486 gcc-4.0

Error

rm /lib/modules/2.6.15-27-386/extra/unicorn_*eth*
rm /lib/modules/2.6.15-27-386/extra/unicorn_*pci*
mkdir -p /lib/modules/`uname -r`/extra/
cp /lib/modules/2.6.10/extra/unicorn_usb_atm.ko /lib/modules/`uname -r`/extra/

[[PPP]] @ http://forums.knoppix-fr.org/viewtopic.php?id=2779

MISC

sudo apt-get install make gcc libc6-dev linux-headers-2.6.12-9-386 g++

MORE

unicorn-modules.txt · Last modified: 2022/04/16 12:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki