Aller au contenu

Probleme Cross Compilation & Modules .ko

Featured Replies

Posté(e)

Pour des besoins de routage par IP, J'ai besoin de modifier mon NAS pour avoir 2 choses:

- Installer IPRoute2

- Recompiler mon Kernel pour activer l'option "Policy routing"

Je viens de recompiler avec succès IPRoute2 sur mon NAS mais l'ajout de règle par IP échoue logiquement car mon kernel ne supporte pas plusieurs tables de routage.

Je me suis donc lancé dans la cross compilation sur un Ubuntu.

Apres avoir installé toolchain & source sur ma debian j'ai fais:

- make oldconfig

- make menuconfig

- selectionné l'option "IP Advanced Router" et "IP: Policy routing"

- puis make modules

Je me retrouve donc avec 108 fichier .ko......

./crypto/md5.ko

./crypto/crc32c.ko

./crypto/cbc.ko

./crypto/rng.ko

./crypto/chainiv.ko

./crypto/crypto_wq.ko

./crypto/pcompress.ko

./crypto/sha512_generic.ko

./crypto/sha256_generic.ko

./crypto/aead.ko

./crypto/ecb.ko

./crypto/crypto_algapi.ko

./crypto/ocf_20100325/cryptodev.ko

./crypto/ocf_20100325/cryptosoft.ko

./crypto/ocf_20100325/ocf.ko

./crypto/crypto_hash.ko

./crypto/des_generic.ko

./crypto/cryptomgr.ko

./crypto/aes_generic.ko

./crypto/sha1_generic.ko

./crypto/crypto_blkcipher.ko

./crypto/krng.ko

./crypto/eseqiv.ko

./crypto/ansi_cprng.ko

./crypto/arc4.ko

./lib/crc-itu-t.ko

./lib/crc-ccitt.ko

./lib/zlib_deflate/zlib_deflate.ko

./lib/libcrc32c.ko

./drivers/cpufreq/cpufreq_stats.ko

./drivers/cpufreq/freq_table.ko

./drivers/md/dm-snapshot.ko

./drivers/net/slhc.ko

./drivers/net/mii.ko

./drivers/net/ppp_mppe.ko

./drivers/net/tun.ko

./drivers/net/ppp_generic.ko

./drivers/net/ppp_async.ko

./drivers/net/bonding/bonding.ko

./drivers/net/usb/usbnet.ko

./drivers/net/usb/cdc_ether.ko

./drivers/net/ppp_deflate.ko

./drivers/net/bsd_comp.ko

./drivers/net/sky2.ko

./drivers/usb/class/usblp.ko

./drivers/usb/host/ohci-hcd.ko

./drivers/usb/host/xhci-hcd.ko

./drivers/usb/host/ehci-hcd.ko

./drivers/usb/core/usbcore.ko

./drivers/usb/storage/usb-storage.ko

./drivers/target/target_core_mod.ko

./drivers/target/lio-target/iscsi_target_mod.ko

./drivers/scsi/sg.ko

./drivers/scsi/ch.ko

./drivers/scsi/scsi_wait_scan.ko

./drivers/staging/usbip/usbip.ko

./drivers/staging/usbip/usbip_common_mod.ko

./drivers/staging/usbip/vhci-hcd.ko

./drivers/hid/hid.ko

./drivers/hid/usbhid/usbhid.ko

./drivers/block/loop.ko

./drivers/char/hw_random/rng-core.ko

./sound/soundcore.ko

./sound/sound_firmware.ko

./fs/cifs/cifs.ko

./fs/udf/udf.ko

./fs/exportfs/exportfs.ko

./fs/ecryptfs/ecryptfs.ko

./fs/quota/quota_tree.ko

./fs/quota/quota_v2.ko

./fs/isofs/isofs.ko

./fs/hfsplus/hfsplus.ko

./fs/fuse/fuse.ko

./fs/configfs/configfs.ko

./fs/fat/fat.ko

./fs/fat/vfat.ko

./fs/nfsd/nfsd.ko

./net/ipv6/ipv6.ko

./net/ipv6/netfilter/ip6_tables.ko

./net/ipv6/netfilter/nf_conntrack_ipv6.ko

./net/ipv6/netfilter/ip6table_filter.ko

./net/appletalk/appletalk.ko

./net/sunrpc/auth_gss/rpcsec_gss_krb5.ko

./net/sunrpc/auth_gss/auth_rpcgss.ko

./net/llc/llc.ko

./net/802/psnap.ko

./net/802/p8022.ko

./net/netfilter/xt_state.ko

./net/netfilter/xt_multiport.ko

./net/netfilter/xt_tcpudp.ko

./net/netfilter/nf_conntrack.ko

./net/netfilter/nf_conntrack_proto_gre.ko

./net/netfilter/nf_conntrack_pptp.ko

./net/netfilter/x_tables.ko

./net/ipv4/ip_gre.ko

./net/ipv4/netfilter/ipt_REDIRECT.ko

./net/ipv4/netfilter/ipt_MASQUERADE.ko

./net/ipv4/netfilter/nf_conntrack_ipv4.ko

./net/ipv4/netfilter/nf_defrag_ipv4.ko

./net/ipv4/netfilter/ip_tables.ko

./net/ipv4/netfilter/nf_nat_pptp.ko

./net/ipv4/netfilter/iptable_filter.ko

./net/ipv4/netfilter/nf_nat_proto_gre.ko

./net/ipv4/netfilter/nf_nat.ko

./net/ipv4/netfilter/iptable_nat.ko

./arch/arm/mach-feroceon-kw/cpufreq.ko

./arch/arm/plat-feroceon/mv_drivers_lsp/mv_cesa/cesa_ocf_drv.ko

./arch/arm/plat-feroceon/mv_drivers_lsp/mv_cesa/cesa_dev.ko

Et maintenant quoi faire ? :)

Je ne sais pas quel fichier ko contient mon option... et comment l'installer ? Apparement il faut lancer la commande ismod mais celle-ci échoue quand un module nommé pareil est deja installé.

Il faut remplacer sauvagement le fichier ko ?

Merci de votre aide :)

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.