éj, tak asi bohužel, ovladače háží taky chybu při kompilaci, něco jim chybí. Ale patch aplikovat jde.
matlala@ubuntu-N56VM ~/alx $ wget https://gist.github.com/Germar/ea11bc1e998fee965f03/raw/5b1d28d42f0d4f2c4bf063002fde126becc61928/alx-patch.txt
--2014-02-27 12:05:15-- https://gist.github.com/Germar/ea11bc1e998fee965f03/raw/5b1d28d42f0d4f2c4bf063002fde126becc61928/alx-patch.txt
Překládám gist.github.com (gist.github.com)… 192.30.252.140
Navazuje se spojení s gist.github.com (gist.github.com)|192.30.252.140|:443… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 301 Moved Permanently
Přesměrováno na: https://gist.githubusercontent.com/Germar/ea11bc1e998fee965f03/raw/5b1d28d42f0d4f2c4bf063002fde126becc61928/alx-patch.txt [následuji]
--2014-02-27 12:05:15-- https://gist.githubusercontent.com/Germar/ea11bc1e998fee965f03/raw/5b1d28d42f0d4f2c4bf063002fde126becc61928/alx-patch.txt
Překládám gist.githubusercontent.com (gist.githubusercontent.com)… 192.30.252.157
Navazuje se spojení s gist.githubusercontent.com (gist.githubusercontent.com)|192.30.252.157|:443… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: neudáno [text/plain]
Ukládám do: „alx-patch.txt“
[ <=> ] 1 795 --.-K/s za 0s
2014-02-27 12:05:16 (21,9 MB/s) – „alx-patch.txt“ uložen [1795]
matlala@ubuntu-N56VM ~/alx $ patch --dry-run -p1 < alx-patch.txt
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_ethtool.c b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
|index 074c640..b19950e 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_ethtool.c
|+++ b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
--------------------------
File to patch: /home/matlala/alx/src/alx_ethtool.c
patching file /home/matlala/alx/src/alx_ethtool.c
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_main.c b/drivers/net/ethernet/atheros/alx/alx_main.c
|index 7fe3f4b..a8f33f1 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_main.c
|+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
--------------------------
File to patch: /home/matlala/alx/src/alx_main.c
patching file /home/matlala/alx/src/alx_main.c
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_reg.h b/drivers/net/ethernet/atheros/alx/alx_reg.h
|index 58177f3..0788aa8 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_reg.h
|+++ b/drivers/net/ethernet/atheros/alx/alx_reg.h
--------------------------
File to patch: /home/matlala/alx/src/alx_reg.h
patching file /home/matlala/alx/src/alx_reg.h
matlala@ubuntu-N56VM ~/alx $ patch -p1 < alx-patch.txt
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_ethtool.c b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
|index 074c640..b19950e 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_ethtool.c
|+++ b/drivers/net/ethernet/atheros/alx/alx_ethtool.c
--------------------------
File to patch: /home/matlala/alx/src/alx_athtool.c
/home/matlala/alx/src/alx_athtool.c: No such file or directory
Skip this patch? [y] n
File to patch: /home/matlala/alx/src/alx_ethtool.c
patching file /home/matlala/alx/src/alx_ethtool.c
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_main.c b/drivers/net/ethernet/atheros/alx/alx_main.c
|index 7fe3f4b..a8f33f1 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_main.c
|+++ b/drivers/net/ethernet/atheros/alx/alx_main.c
--------------------------
File to patch: /home/matlala/alx/src/alx_main.c
patching file /home/matlala/alx/src/alx_main.c
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/ethernet/atheros/alx/alx_reg.h b/drivers/net/ethernet/atheros/alx/alx_reg.h
|index 58177f3..0788aa8 100644
|--- a/drivers/net/ethernet/atheros/alx/alx_reg.h
|+++ b/drivers/net/ethernet/atheros/alx/alx_reg.h
--------------------------
File to patch: /home/matlala/alx/src/alx_reg.h
patching file /home/matlala/alx/src/alx_reg.h
matlala@ubuntu-N56VM ~/alx $ ./scripts/driver-select alx
bash: ./scripts/driver-select: Adresář nebo soubor neexistuje
matlala@ubuntu-N56VM ~/alx $ make defconfig-alx
make: *** No rule to make target `defconfig-alx'. Stop.
matlala@ubuntu-N56VM ~/alx $ make
Possible build options:
=======================================================================
Linux build instructions
If you want to build and install alx you should issue these commands:
make linux
make install-linux
The full list of Linux targets availale:
make linux-src - Transforms code for integration into linux-next
make linux - Builds alx for any Linux kernel 2.6.28 - 3.x
make install-linux - Install linux target
make uninstall-linux - Install linux target
make clean-linux - Install linux target
=======================================================================
matlala@ubuntu-N56VM ~/alx $ make linux
You should have compat-drivers.git cloned and checked out under /home/matlala/devel/compat-drivers/
The git tree: git://github.com/mcgrof/compat-drivers
/bin/sh: 3: cannot open patches/unified-drivers/network/0001-backport-alx.patch: No such file
make: [linux-backport] Error 2 (ignored)
make -C target/linux/
cat: /home/matlala/alx/target/linux/.compat_version: Adresář nebo soubor neexistuje
make[1]: Entering directory `/home/matlala/alx/target/linux'
cat: /home/matlala/alx/target/linux/.compat_base: Adresář nebo soubor neexistuje
cat: /home/matlala/alx/target/linux/.compat_base_tree: Adresář nebo soubor neexistuje
cat: /home/matlala/alx/target/linux/.compat_base_tree_version: Adresář nebo soubor neexistuje
cat: /home/matlala/alx/target/linux/.compat_version: Adresář nebo soubor neexistuje
cat: /home/matlala/alx/target/linux/.compat_version: Adresář nebo soubor neexistuje
/bin/sh: 1: ./compat/scripts/gen-compat-config.sh: not found
make[1]: *** [/home/matlala/alx/target/linux/.compat_autoconf_] Error 127
make[1]: Leaving directory `/home/matlala/alx/target/linux'
make: *** [linux] Error 2
zkusim ještě zkopnout ten alx.ko z modulů pro 3.5 kernel