gagal install huawei mobile partner

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
fullramadhani
Posts: 14
Joined: 02 Jan 2015, 23:22
Location: malang, indonesia

gagal install huawei mobile partner

Postby fullramadhani » 26 Mar 2015, 21:36

saya habis install huawei mobile partner. trus gagal..
sekarang settingan apn di networkmanager tidak muncul. tapi modem saya masih kedetect di lsusb.

waktu install mobile partner yg gagal i terminal spt ini.
root@upil:/home/upil/driver# ./install
old path =/usr/local/Mobile_Partner/driver
INSTALL_PATH is not set ,auto install
CURRENT PATH=/home/upil/driver
INSTALL_PATH=/usr/local/Mobile_Partner
/usr/local/Mobile_Partner/driver/ndis_driver
modinfo: ERROR: missing module or filename.
rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'cdc_ether': No such file or directory
rmmod: ERROR: could not remove module cdc_ether: No such file or directory
rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'usbnet': No such file or directory
rmmod: ERROR: could not remove module usbnet: No such file or directory
rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'hw_cdc_driver': No such file or directory
rmmod: ERROR: could not remove module hw_cdc_driver: No such file or directory
make -C src/ clean
make[1]: Entering directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/add_header.sh "clean" "/lib/modules/3.16.0-31-generic/build/include/linux/usb"
rmmod -f hw_cdc_driver
rmmod: ERROR: ../libkmod/libkmod-module.c:769 kmod_module_remove_module() could not remove 'hw_cdc_driver': No such file or directory
rmmod: ERROR: could not remove module hw_cdc_driver: No such file or directory
make[1]: *** [clean] Error 1
make[1]: Leaving directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
make: *** [clean] Error 2
make -C src/ modules
make[1]: Entering directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
#/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/add_header.sh "modules" "/lib/modules/3.16.0-31-generic/build/include/linux/usb"
make -C /lib/modules/3.16.0-31-generic/build SUBDIRS=/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src modules
make[2]: Entering directory `/usr/src/linux-headers-3.16.0-31-generic'
CC [M] /usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.o
In file included from include/linux/module.h:17:0,
from /usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:23:
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘__check_ncm_prefer_32’:
include/linux/moduleparam.h:347:61: warning: return from incompatible pointer type [enabled by default]
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:393:35: note: in expansion of macro ‘__param_check’
#define param_check_bool(name, p) __param_check(name, p, bool)
^
include/linux/moduleparam.h:127:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^
include/linux/moduleparam.h:113:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:112:1: note: in expansion of macro ‘module_param’
module_param(ncm_prefer_32, bool, S_IRUGO);
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘__check_ncm_prefer_crc’:
include/linux/moduleparam.h:347:61: warning: return from incompatible pointer type [enabled by default]
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:393:35: note: in expansion of macro ‘__param_check’
#define param_check_bool(name, p) __param_check(name, p, bool)
^
include/linux/moduleparam.h:127:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^
include/linux/moduleparam.h:113:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:115:1: note: in expansion of macro ‘module_param’
module_param(ncm_prefer_crc, bool, S_IRUGO);
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘__check_rt_debug’:
include/linux/moduleparam.h:347:61: warning: return from incompatible pointer type [enabled by default]
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:393:35: note: in expansion of macro ‘__param_check’
#define param_check_bool(name, p) __param_check(name, p, bool)
^
include/linux/moduleparam.h:127:2: note: in expansion of macro ‘param_check_bool’
param_check_##type(name, &(value)); \
^
include/linux/moduleparam.h:113:2: note: in expansion of macro ‘module_param_named’
module_param_named(name, name, type, perm)
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:127:1: note: in expansion of macro ‘module_param’
module_param(rt_debug, bool, S_IRUGO|S_IWUSR);
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘rx_tlp_parse’:
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:1084:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
unsigned char *ptr = (unsigned char *)kmalloc(dev->hw_tlp_tmp_buf.bytesneeded + dev->hw_tlp_tmp_buf.pktlength
^
In file included from ./arch/x86/include/asm/percpu.h:44:0,
from ./arch/x86/include/asm/preempt.h:5,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:23:
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘cdc_ncm_config’:
include/linux/kernel.h:719:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void) (&_max1 == &_max2); \
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:487:41: note: in expansion of macro ‘max’
#define NCM_NTB_HARD_MAX_IN_SIZE ((u32)(max(16,ncm_read_size_in1k) * 1024))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2035:24: note: in expansion of macro ‘NCM_NTB_HARD_MAX_IN_SIZE’
if (ctx->rx_max_ntb > NCM_NTB_HARD_MAX_IN_SIZE) {
^
include/linux/kernel.h:719:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void) (&_max1 == &_max2); \
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:487:41: note: in expansion of macro ‘max’
#define NCM_NTB_HARD_MAX_IN_SIZE ((u32)(max(16,ncm_read_size_in1k) * 1024))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:654:76: note: in expansion of macro ‘NCM_NTB_HARD_MAX_IN_SIZE’
((void)(rt_debug && printk(KERN_ERR "Hw_cdc_driver######: " fmt "\n" , ## arg)))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2036:3: note: in expansion of macro ‘devdbg’
devdbg(ctx->ndev, "dwNtbInMaxSize (%u) must be at most %u "
^
include/linux/kernel.h:719:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void) (&_max1 == &_max2); \
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:487:41: note: in expansion of macro ‘max’
#define NCM_NTB_HARD_MAX_IN_SIZE ((u32)(max(16,ncm_read_size_in1k) * 1024))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:654:76: note: in expansion of macro ‘NCM_NTB_HARD_MAX_IN_SIZE’
((void)(rt_debug && printk(KERN_ERR "Hw_cdc_driver######: " fmt "\n" , ## arg)))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2036:3: note: in expansion of macro ‘devdbg’
devdbg(ctx->ndev, "dwNtbInMaxSize (%u) must be at most %u "
^
include/linux/kernel.h:719:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
(void) (&_max1 == &_max2); \
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:487:41: note: in expansion of macro ‘max’
#define NCM_NTB_HARD_MAX_IN_SIZE ((u32)(max(16,ncm_read_size_in1k) * 1024))
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2040:21: note: in expansion of macro ‘NCM_NTB_HARD_MAX_IN_SIZE’
ctx->rx_max_ntb = NCM_NTB_HARD_MAX_IN_SIZE;
^
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘hw_cdc_probe’:
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2588:3: error: implicit declaration of function ‘dbg’ [-Werror=implicit-function-declaration]
dbg ("can't kmalloc dev");
^
cc1: some warnings being treated as errors
make[3]: *** [/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.o] Error 1
make[2]: *** [_module_/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.16.0-31-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
make: *** [modules] Error 2
make -C src/ install
make[1]: Entering directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.16.0-31-generic/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/add_header.sh "install"
modprobe hw_cdc_driver
modprobe: FATAL: Module hw_cdc_driver not found.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src'
make: *** [install] Error 2

Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.16.0-31-generic/build) to be all installed?
Now please enter any key to finish other installations.




UPDATE: solved kang.. :D
User avatar
antonicl
Posts: 104
Joined: 22 May 2013, 21:05
Location: Jakarta
Contact:

Re: gagal install huawei mobile partner

Postby antonicl » 17 Apr 2015, 15:38

share kang tutorialnya?
User avatar
MegaZonk
Posts: 38
Joined: 13 Jan 2014, 04:20
Location: 127.0.0.1

Re: gagal install huawei mobile partner

Postby MegaZonk » 27 Apr 2015, 15:02

moga aja video ini bermanfaat: https://www.youtube.com/watch?v=DF8xI_DM9NY

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 1 guest