[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

error al compilar mac80211



estoy intentando compilar el sistema mac80211 para poder utilizar mi wireless. el motivo de hacerlo a mano es que en la ultima actualizacion de mi kernel, del 2.6.24-21-generic al 2.6.24-22-generic (el por defecto de kubuntu/ubuntu) no me lo compilo bien o algo, la cuestion es que no me carga, asi q decidi compilarlo yo mismo.
bueno despues de descargarlo, he estado siguiendo los pasos que recomiendan en intellinuxwireless y en el readme del paquete, pero me falla al parchear:
kkikke@kkikke:~/mac80211-10.0.4$ sudo make patch_kernel
[sudo] password for kkikke:

WARNING: $SHELL not set to bash.

If you experience build errors, try 'make SHELL=/bin/bash'.

Building modified version in 'modified/' directory:
Copying modified/ from origin/...done
Applying patches and scripts from pending/.
+ Applying: pending/0001-mac80211-Add-basic-IEEE-802.11n-support.patch
        From 26e77a5fef845edcb5c27db52f413e7558db0e20 Mon Sep 17 00:00:00 2001
+ Applying: pending/0002-mac80211-add-IEEE802.11e-WMM-structures.patch
        From f5af9c4fdfbcc2b8ecb60d9d93657a3e2437c909 Mon Sep 17 00:00:00 2001
+ Applying: pending/0003-mac80211-IEEE802.11e-WMM-TS-management-and-DLS-supp.patch
        From 78e5e6d438cb6ec7ba929293b112b12cf0d9042c Mon Sep 17 00:00:00 2001
+ Applying: pending/0004-mac80211-debugfs-support-for-TSM-and-DLS.patch
        From 88b531cc1ce8bd1f9681a4cbcd11bb61de3c6ca1 Mon Sep 17 00:00:00 2001
+ Applying: pending/0005-mac80211-IEEE802.11e-WMM-misc-fix-and-cleanup.patch
        From 503a88f99457be47979874f2a9a5c3454104519e Mon Sep 17 00:00:00 2001
+ Applying: pending/0006-mac80211-add-WE-nick-power-and-txpower-capabilitie.patch
        From 37515341129948f6f8391cd0c8bb0028f7929c98 Mon Sep 17 00:00:00 2001
+ Applying: pending/0007-mac80211-Fix-user-specified-TXPOWER-from-being-over.patch
        From aa958786201069f0a857251a777f687fc9d42219 Mon Sep 17 00:00:00 2001
+ Applying: pending/0008-mac80211-HT-IEEE_802.11n_TX_AMPDU-send-actframes.patch
        From 70fb3487d26d431401e4b659e520177eb434e343 Mon Sep 17 00:00:00 2001
+ Applying: pending/0009-mac80211-HT-add-IEEE-802.11n-TX_AMPDU-API.patch
        From fc5dcdadd03063981268f4df8ef7ffd9519e25f9 Mon Sep 17 00:00:00 2001
+ Applying: pending/0010-mac80211-HT-add-TX-AMPDU-MLME-data.patch
        From 51bc2c9e296a5f6ec210eee04c882fdb4997c130 Mon Sep 17 00:00:00 2001
+ Applying: pending/0011-mac80211-HT-IEEE-802.11n-TX-AMPDU-MLME-implementa.patch
        From a2c09ed2b5cc19d3fdee0b4d3a25ac82c973cd77 Mon Sep 17 00:00:00 2001
+ Applying: pending/0012-mac80211-HT-IEEE-802.11n-debugfs-support.patch
        From 915fb0b275fae6748a38ece9a67a99129fcf3cc8 Mon Sep 17 00:00:00 2001
+ Applying: pending/0013-mac80211-HT-IEEE-802.11n-block-ack-support.patch
        From 0d1fde009eb108f3f379e0868b600c12f7cd943d Mon Sep 17 00:00:00 2001
+ Applying: pending/0014-mac80211-HT-IEEE-802.11n-block-ack-debugfs-suppor.patch
        From 18fcded749fc76222844afc055128da88dbc03d8 Mon Sep 17 00:00:00 2001
+ Applying: pending/0015-mac80211-HT-add-IEEE-802.11n-qos-queues.patch
        From 1fa8243b4711e74d3158e396f3f3971ed103d482 Mon Sep 17 00:00:00 2001
+ Applying: pending/0016-mac80211-HT-IEEE-802.11n-RX-aggregation-BAR-supor.patch
        From e410f6580a9462480cbf3a8f3ecc601e1d8b5fb5 Mon Sep 17 00:00:00 2001
+ Applying: pending/0017-mac80211-HT-IEEE-802.11n-RX-aggregation-API-and-M.patch
        From 428ee27143824bc868a301bb46d9cc34e76a17b6 Mon Sep 17 00:00:00 2001
+ Applying: pending/0018-mac80211-HT-add-addtional-type-parameter-for-ieee.patch
        From 454d6bf4ab1a52a73fe9d5c7940588c84e7fbf5b Mon Sep 17 00:00:00 2001
+ Applying: pending/0019-mac80211-HT-fix-ieee80211_send_addba_resp-interfa.patch
        From 26c1abde043c8186b483fd29715d2a03e864ac4e Mon Sep 17 00:00:00 2001
+ Applying: pending/0020-mac80211-HT-fix-master-mode-net-type.patch
        From 0081fcc92918c45b914158219d255454e0c3bc4a Mon Sep 17 00:00:00 2001
+ Applying: pending/0021-mac80211-HT-IEEE-802.11n-RX-aggregation-MLME-supp.patch
        From 8f997ba42d5da45841bb8178f5f8978c48ef2c0e Mon Sep 17 00:00:00 2001
+ Applying: pending/0022-mac80211-HT-IEEE-802.11n-RX-aggregation-debugfs-s.patch
        From 657427a497a5fd912251740ec4ee9c3b3bad0f49 Mon Sep 17 00:00:00 2001
+ Applying: pending/0023-mac80211-HT-AP-mode-block-ack-MLME-support.patch
        From 8aff6ff750cb985bafa982b4b1ffc37029e8f013 Mon Sep 17 00:00:00 2001
+ Applying: pending/0024-mac80211-HT-fix-wrong-param-used-for-ieee80211_ht.patch
        From 55d47cff2f5944f3f70fbee5f2b41beccbed2762 Mon Sep 17 00:00:00 2001
+ Applying: pending/0025-mac80211-HT-use-KERN_DEBUG-for-HT-debugging-messa.patch
        From f597c02bc8814aa0ba5b3b9fd1aa14d521b284b8 Mon Sep 17 00:00:00 2001
+ Applying: pending/0026-mac80211-rssi-averaging-filter.patch
        From 4f10cf6269ce9a96d21dd220bf8991716d1be24f Mon Sep 17 00:00:00 2001
+ Applying: pending/0027-mac80211-add-802.11h-channel-switch-packet-handling.patch
        From 534b03cd79f6de5cb3c364289cb5fa158bef6632 Mon Sep 17 00:00:00 2001
+ Applying: pending/0028-mac80211-fix-compile-error-if-CONFIG_NET_SCHED-unde.patch
        From 16d350730af21442636dc3ab822a8ae230fecffa Mon Sep 17 00:00:00 2001
+ Applying: pending/0029-mac80211-add-rate-scaling-algorithm-selection-capab.patch
        From 0f936737d9f8cc3a8886f4590c73b20918df213c Mon Sep 17 00:00:00 2001
+ Applying: pending/0030-mac80211-fix-monitor-mode.patch
        From c334da6f6fe935e278ad5fde78e192d16d3c1603 Mon Sep 17 00:00:00 2001
+ Applying: pending/0031-mac80211-fix-an-printk-warning-for-size_t.patch
        From 465d7fb3ee021c8fe50a49432dfc461a4e4595d9 Mon Sep 17 00:00:00 2001
+ Applying: pending/0032-mac80211-fix-kernel-panic-during-shutdown-time.patch
        From a8f8bdd27fbac5f91aabe206f829592facb486a3 Mon Sep 17 00:00:00 2001
+ Applying: pending/0033-mac80211-fix-a-msdu-header.patch

+ Applying: pending/0034-mac802211-fix-ba-processing.patch
        diff -rup compatible.org/net/mac80211/ieee80211_sta.c compatible/net/mac80211/ieee80211_sta.c
+ Applying: pending/0035-mac802211-fix-send_addba_resp.patch
        Index: compatible/net/mac80211/ieee80211_sta.c
+ Applying: pending/0090-mac80211-IPv6-fix.patch
        The patch below seems to work for me w/ an otherwise stock F-7 kernel
+ Applying: pending/0091-mac80211-fix-hidden-ssid.patch
        Index: compatible/net/mac80211/ieee80211_ioctl.c
+ Applying: pending/0092-mac80211-sta-hw-scanning.patch
        Index: compatible/net/mac80211/ieee80211.c
+ Applying: pending/0093-mac80211-clean-extra-ie.patch
        --- a/net/mac80211/ieee80211.c  2007-11-15 19:49:57.000000000 +0800
+ Applying: pending/0094-mac80211-hw-scan-fix-1.patch
        Index: compatible/net/mac80211/ieee80211_sta.c
+ Applying: pending/0095-mac80211-hw-scan-fix-2.patch
        diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
+ Applying: pending/0096-mac80211-workaround-wpa-reassoc.patch
        diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
+ Applying: pending/0097-mac80211-ht-agg-teardown-fix.patch
        diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
+ Applying: pending/0098-mac80211-tasklet_enable-fix.patch
        Index: compatible/net/mac80211/ieee80211.c
Checking kernel compatibility in:
        /lib/modules/2.6.24-22-generic/source//
grep: /lib/modules/2.6.24-22-generic/source//drivers/base/core.c: No existe el fichero ó directorio
grep: /lib/modules/2.6.24-22-generic/source//fs/debugfs/inode.c: No existe el fichero ó directorio
* Kernel requires compatibility version:
   - Requires device_rename compat
   - Requires debugfs_rename() compat
Building compatibility version in 'compatible/' directory:
Copying compatible/ from modified/...done
+ Applying: patches/debugfs_rename.patch
        diff -urp origin/net/mac80211/debugfs_netdev.c new/net/mac80211/debugfs_netdev.c
Patching from compatible/ to /lib/modules/2.6.24-22-generic/source/:
+ Replaced 59 files.
Checking for required kernel build updates...
- checking net/Kconfig and net/Makefile...
- checking net/core/Makefile for old 'wireless'...
- checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
grep: /lib/modules/2.6.24-22-generic/source/net/core/dev.c: No existe el fichero ó directorio
- checking net/core/dev.c for wireless_process_ioctl v. wext_handle_ioctl...
grep: /lib/modules/2.6.24-22-generic/source/net/core/dev.c: No existe el fichero ó directorio
- checking net/core/dev.c for linxu/wireless.h v. net/wext.h...
grep: /lib/modules/2.6.24-22-generic/source/net/core/dev.c: No existe el fichero ó directorio
- checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
grep: /lib/modules/2.6.24-22-generic/source/net/core/dev.c: No existe el fichero ó directorio
- checking net/Makefile and Kconfig for old 'd80211'...
- checking drivers/net/wireless/Kconfig...
Done.

NOTE:  As of mac80211-2.0.0, kernel built-ins for the wireless extension
handlers have been replaced with built-ins provided by mac80211.  This
requires you to rebuild your main kernel image and reboot to that
kernel in order to use the mac80211 subsystem.  We are looking for ways
to correct this in the future.

Patching from patches/ to /lib/modules/2.6.24-22-generic/source/:
Checking kernel compatibility in:
        /lib/modules/2.6.24-22-generic/source//
* Kernel supports required features for 'modified' version.

respecto al primer: intento hacer lo que me dice(inicializar la shell a bash) pero al siguiente intento consigo lo mismo..

como en realidad no estoy muy seguro de si me lo ha hecho bien o no, intento seguir por si acaso: cambio a
/lib/modules/mi_kernel/build
y hago el menconfig,
verifico que lo que me dicen en el readme esta como modulo, y procedo a hacer el make y el make_install, pero obtengo esto:

root@kkikke:/lib/modules/2.6.24-22-generic/build# make modules
scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
make[1]: *** No hay ninguna regla para construir el objetivo `arch/x86/kernel/asm-offsets.c', necesario para `arch/x86/kernel/asm-offsets.s'.  Alto.
make: *** [prepare0] Error 2

de verdad que me he matado a buscar, pero las soluciones que encuentro o son muy tecnicas y no entiendo ni papa, o no me sirven...
a ver si alguien me puede echar una mano..
saludos


Reply to: