Bringing up interface eth0: Error: No suitable device : no device found for connection System eth0

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/hzdxw/article/details/52132725
Last login: Fri Aug  5 21:13:54 2016 from 192.168.3.103
[root@cdh1 ~]# find / -name *net.rules
/etc/udev/rules.d/70-persistent-net.rules
^C
[root@cdh1 ~]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1022:0x2000 (pcnet32) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:a8:1f:63", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:63:ca:f0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[root@cdh1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:A8:1F:63"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.3.104
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
DNS2=114.114.114.114
DNS1=8.8.8.8
[root@cdh1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:A8:1F:63"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.3.104
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
DNS2=114.114.114.114
DNS1=8.8.8.8
[root@cdh1 ~]# service network restart
Shutting down interface eth1:  Device state: 3 (disconnected)
                                                           [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.
                                                           [FAILED]
Bringing up interface eth1:  Active connection state: activated
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2
                                                           [  OK  ]
[root@cdh1 ~]# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0C:29:63:CA:F0  
          inet addr:192.168.3.104  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe63:caf0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13463 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10909 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18151976 (17.3 MiB)  TX bytes:729852 (712.7 KiB)
          Interrupt:19 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:960 (960.0 b)  TX bytes:960 (960.0 b)

virbr0    Link encap:Ethernet  HWaddr CA:AD:18:86:5D:D8  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:4073 (3.9 KiB)

[root@cdh1 ~]# vim /etc/udev/rules.d/70-persistent-net.rules
[root@cdh1 ~]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1022:0x2000 (pcnet32) (custom name provided by external tool)
#SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:a8:1f:63", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:63:ca:f0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
[root@cdh1 ~]# 
[root@cdh1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="00:0C:29:A8:1F:63"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.3.104
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
DNS2=114.114.114.114
DNS1=8.8.8.8
[root@cdh1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
#HWADDR="00:0C:29:A8:1F:63"
HWADDR="00:0C:29:63:CA:F0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.3.104
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
DNS2=114.114.114.114
DNS1=8.8.8.8
[root@cdh1 ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth1
[root@cdh1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth0"
#HWADDR="00:0C:29:A8:1F:63"
HWADDR="00:0C:29:63:CA:F0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO=static
IPADDR=192.168.3.104
NETMASK=255.255.255.0
GATEWAY=192.168.3.1
DNS2=114.114.114.114
DNS1=8.8.8.8
[root@cdh1 ~]# cd /etc/sysconfig/network-scripts/ifcfg-eth1
-bash: cd: /etc/sysconfig/network-scripts/ifcfg-eth1: Not a directory
[root@cdh1 ~]# cd /etc/sysconfig/network-scripts/
[root@cdh1 network-scripts]# ls 
ifcfg-eth0  ifdown-bnep  ifdown-isdn    ifdown-sit     ifup-bnep  ifup-isdn   ifup-ppp     ifup-wireless      network-functions-ipv6
ifcfg-eth1  ifdown-eth   ifdown-post    ifdown-tunnel  ifup-eth   ifup-plip   ifup-routes  init.ipv6-global
ifcfg-lo    ifdown-ippp  ifdown-ppp     ifup           ifup-ippp  ifup-plusb  ifup-sit     net.hotplug
ifdown      ifdown-ipv6  ifdown-routes  ifup-aliases   ifup-ipv6  ifup-post   ifup-tunnel  network-functions
[root@cdh1 network-scripts]# mv *eth0 ifcfg-eth0.bak
[root@cdh1 network-scripts]# ll
total 204
-rw-r--r--. 1 root root   188 Aug  5 21:06 ifcfg-eth0.bak
-rw-r--r--. 1 root root   216 Aug  5 21:20 ifcfg-eth1
-rw-r--r--. 1 root root   254 Sep  1  2010 ifcfg-lo
lrwxrwxrwx. 1 root root    20 Jul 19 05:45 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x. 1 root root   627 Sep  1  2010 ifdown-bnep
-rwxr-xr-x. 1 root root  5059 Sep  1  2010 ifdown-eth
-rwxr-xr-x. 1 root root   781 Sep  1  2010 ifdown-ippp
-rwxr-xr-x. 1 root root  4246 Sep  1  2010 ifdown-ipv6
lrwxrwxrwx. 1 root root    11 Jul 19 05:45 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x. 1 root root  1481 Sep  1  2010 ifdown-post
-rwxr-xr-x. 1 root root  1064 Sep  1  2010 ifdown-ppp
-rwxr-xr-x. 1 root root   651 Sep  1  2010 ifdown-routes
-rwxr-xr-x. 1 root root  1367 Sep  1  2010 ifdown-sit
-rwxr-xr-x. 1 root root  1431 Sep  1  2010 ifdown-tunnel
lrwxrwxrwx. 1 root root    18 Jul 19 05:45 ifup -> ../../../sbin/ifup
-rwxr-xr-x. 1 root root 13454 Sep  1  2010 ifup-aliases
-rwxr-xr-x. 1 root root   859 Sep  1  2010 ifup-bnep
-rwxr-xr-x. 1 root root  9944 Sep  1  2010 ifup-eth
-rwxr-xr-x. 1 root root 11971 Sep  1  2010 ifup-ippp
-rwxr-xr-x. 1 root root 10679 Sep  1  2010 ifup-ipv6
lrwxrwxrwx. 1 root root     9 Jul 19 05:45 ifup-isdn -> ifup-ippp
-rwxr-xr-x. 1 root root   727 Sep  1  2010 ifup-plip
-rwxr-xr-x. 1 root root   954 Sep  1  2010 ifup-plusb
-rwxr-xr-x. 1 root root  2364 Sep  1  2010 ifup-post
-rwxr-xr-x. 1 root root  4154 Sep  1  2010 ifup-ppp
-rwxr-xr-x. 1 root root  1712 Sep  1  2010 ifup-routes
-rwxr-xr-x. 1 root root  3490 Sep  1  2010 ifup-sit
-rwxr-xr-x. 1 root root  2482 Sep  1  2010 ifup-tunnel
-rwxr-xr-x. 1 root root  3770 Sep  1  2010 ifup-wireless
-rwxr-xr-x. 1 root root  4508 Sep  1  2010 init.ipv6-global
-rwxr-xr-x. 1 root root  1125 Sep  1  2010 net.hotplug
-rw-r--r--. 1 root root  9966 Sep  1  2010 network-functions
-rw-r--r--. 1 root root 29835 Sep  1  2010 network-functions-ipv6
[root@cdh1 network-scripts]# ls -ltr
total 204
-rw-r--r--. 1 root root 29835 Sep  1  2010 network-functions-ipv6
-rw-r--r--. 1 root root  9966 Sep  1  2010 network-functions
-rwxr-xr-x. 1 root root  1125 Sep  1  2010 net.hotplug
-rwxr-xr-x. 1 root root  4508 Sep  1  2010 init.ipv6-global
-rwxr-xr-x. 1 root root  3770 Sep  1  2010 ifup-wireless
-rwxr-xr-x. 1 root root  2482 Sep  1  2010 ifup-tunnel
-rwxr-xr-x. 1 root root  3490 Sep  1  2010 ifup-sit
-rwxr-xr-x. 1 root root  1712 Sep  1  2010 ifup-routes
-rwxr-xr-x. 1 root root  4154 Sep  1  2010 ifup-ppp
-rwxr-xr-x. 1 root root  2364 Sep  1  2010 ifup-post
-rwxr-xr-x. 1 root root   954 Sep  1  2010 ifup-plusb
-rwxr-xr-x. 1 root root   727 Sep  1  2010 ifup-plip
-rwxr-xr-x. 1 root root 10679 Sep  1  2010 ifup-ipv6
-rwxr-xr-x. 1 root root 11971 Sep  1  2010 ifup-ippp
-rwxr-xr-x. 1 root root  9944 Sep  1  2010 ifup-eth
-rwxr-xr-x. 1 root root   859 Sep  1  2010 ifup-bnep
-rwxr-xr-x. 1 root root 13454 Sep  1  2010 ifup-aliases
-rwxr-xr-x. 1 root root  1431 Sep  1  2010 ifdown-tunnel
-rwxr-xr-x. 1 root root  1367 Sep  1  2010 ifdown-sit
-rwxr-xr-x. 1 root root   651 Sep  1  2010 ifdown-routes
-rwxr-xr-x. 1 root root  1064 Sep  1  2010 ifdown-ppp
-rwxr-xr-x. 1 root root  1481 Sep  1  2010 ifdown-post
-rwxr-xr-x. 1 root root  4246 Sep  1  2010 ifdown-ipv6
-rwxr-xr-x. 1 root root   781 Sep  1  2010 ifdown-ippp
-rwxr-xr-x. 1 root root  5059 Sep  1  2010 ifdown-eth
-rwxr-xr-x. 1 root root   627 Sep  1  2010 ifdown-bnep
-rw-r--r--. 1 root root   254 Sep  1  2010 ifcfg-lo
lrwxrwxrwx. 1 root root     9 Jul 19 05:45 ifup-isdn -> ifup-ippp
lrwxrwxrwx. 1 root root    18 Jul 19 05:45 ifup -> ../../../sbin/ifup
lrwxrwxrwx. 1 root root    11 Jul 19 05:45 ifdown-isdn -> ifdown-ippp
lrwxrwxrwx. 1 root root    20 Jul 19 05:45 ifdown -> ../../../sbin/ifdown
-rw-r--r--. 1 root root   188 Aug  5 21:06 ifcfg-eth0.bak
-rw-r--r--. 1 root root   216 Aug  5 21:20 ifcfg-eth1
[root@cdh1 network-scripts]# mv *eth1 ifcfg-eth0
[root@cdh1 network-scripts]# ls -ltr
total 204
-rw-r--r--. 1 root root 29835 Sep  1  2010 network-functions-ipv6
-rw-r--r--. 1 root root  9966 Sep  1  2010 network-functions
-rwxr-xr-x. 1 root root  1125 Sep  1  2010 net.hotplug
-rwxr-xr-x. 1 root root  4508 Sep  1  2010 init.ipv6-global
-rwxr-xr-x. 1 root root  3770 Sep  1  2010 ifup-wireless
-rwxr-xr-x. 1 root root  2482 Sep  1  2010 ifup-tunnel
-rwxr-xr-x. 1 root root  3490 Sep  1  2010 ifup-sit
-rwxr-xr-x. 1 root root  1712 Sep  1  2010 ifup-routes
-rwxr-xr-x. 1 root root  4154 Sep  1  2010 ifup-ppp
-rwxr-xr-x. 1 root root  2364 Sep  1  2010 ifup-post
-rwxr-xr-x. 1 root root   954 Sep  1  2010 ifup-plusb
-rwxr-xr-x. 1 root root   727 Sep  1  2010 ifup-plip
-rwxr-xr-x. 1 root root 10679 Sep  1  2010 ifup-ipv6
-rwxr-xr-x. 1 root root 11971 Sep  1  2010 ifup-ippp
-rwxr-xr-x. 1 root root  9944 Sep  1  2010 ifup-eth
-rwxr-xr-x. 1 root root   859 Sep  1  2010 ifup-bnep
-rwxr-xr-x. 1 root root 13454 Sep  1  2010 ifup-aliases
-rwxr-xr-x. 1 root root  1431 Sep  1  2010 ifdown-tunnel
-rwxr-xr-x. 1 root root  1367 Sep  1  2010 ifdown-sit
-rwxr-xr-x. 1 root root   651 Sep  1  2010 ifdown-routes
-rwxr-xr-x. 1 root root  1064 Sep  1  2010 ifdown-ppp
-rwxr-xr-x. 1 root root  1481 Sep  1  2010 ifdown-post
-rwxr-xr-x. 1 root root  4246 Sep  1  2010 ifdown-ipv6
-rwxr-xr-x. 1 root root   781 Sep  1  2010 ifdown-ippp
-rwxr-xr-x. 1 root root  5059 Sep  1  2010 ifdown-eth
-rwxr-xr-x. 1 root root   627 Sep  1  2010 ifdown-bnep
-rw-r--r--. 1 root root   254 Sep  1  2010 ifcfg-lo
lrwxrwxrwx. 1 root root     9 Jul 19 05:45 ifup-isdn -> ifup-ippp
lrwxrwxrwx. 1 root root    18 Jul 19 05:45 ifup -> ../../../sbin/ifup
lrwxrwxrwx. 1 root root    11 Jul 19 05:45 ifdown-isdn -> ifdown-ippp
lrwxrwxrwx. 1 root root    20 Jul 19 05:45 ifdown -> ../../../sbin/ifdown
-rw-r--r--. 1 root root   188 Aug  5 21:06 ifcfg-eth0.bak
-rw-r--r--. 1 root root   216 Aug  5 21:20 ifcfg-eth0
[root@cdh1 network-scripts]# service network restart
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Active connection state: activated
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/5
                                                           [  OK  ]
[root@cdh1 network-scripts]# 
[root@cdh1 network-scripts]# 
[root@cdh1 network-scripts]# 
Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.

Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.

http://blog.itpub.net/27099995/viewspace-1393157/
http://blog.itpub.net/27099995/viewspace-1393157/


展开阅读全文

ifconfig eth0 up 出错

11-21

目前在做双网卡移植,有一个网卡是好的,能够ping通路由器,而另一个网卡加载后,ID读取正常,但是在启用该设备时,也就是ifconfig eth0 up的时候,出现了oops信息,信息如下:rnrnrn[root@Real210 /]# ifconfig eth0 uprnBUG: soft lockup - CPU#0 stuck for 61s! [ifconfig:1211]rnModules linked in:rnrnPid: 1211, comm: ifconfigrnCPU: 0 Not tainted (2.6.32.9 #77)rnPC is at __do_softirq+0x68/0x204rnLR is at __do_softirq+0x50/0x204rnpc : [] lr : [] psr: 20000113rnsp : ea1f3cb0 ip : ea1f3cb0 fp : ea1f3cecrnr10: 60000013 r9 : c068ce00 r8 : 00000001rnr7 : 00000002 r6 : 00000000 r5 : 00000202 r4 : ea1f2000rnr3 : c068ce00 r2 : ea1f3c98 r1 : 00000000 r0 : 00000000rnFlags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment userrnControl: 10c5387d Table: 4a1f8019 DAC: 00000015rnrnPC: 0xc006b6f8:rnb6f8 e24cb004 e92d4000 ebff1a89 e3a00c01 ebffbf70 e89da800 e1a0c00d e92ddff0rnb718 e24cb004 e24dd014 e92d4000 ebff1a80 eb0648a0 e59f31cc e0833300 e3a00c01rnb738 e5935040 ebffbf63 e1a0300d e3c34d7f e3a0300a e50b3030 eb064896 e3c4403frnb758 e50b0034 eb064893 e59f3198 e3a06000 e0833300 e5836040 f1080080 e59f9184rnb778 e3150001 e0869009 0a00004a e59f3178 e1a08146 e59f2174 e2881012 e5947004rnb798 e593c004 e7920101 e35c0000 e2800001 e7820101 0a000012 e2872001 e5842004rnb7b8 e593a010 e35a0000 0a000006 e1a00009 e59f1130 e1a0e00f e59af000 e5ba3004rnb7d8 e3530000 eafffff7 e5943004 e2433001 e5843004 e5943000 e3130002 0a000000rnrnLR: 0xc006b6e0:rnb6e0 e89da818 e3a00801 ebffbf78 e89da818 e1a0c00d e92dd800 e24cb004 e92d4000rnb700 ebff1a89 e3a00c01 ebffbf70 e89da800 e1a0c00d e92ddff0 e24cb004 e24dd014rnb720 e92d4000 ebff1a80 eb0648a0 e59f31cc e0833300 e3a00c01 e5935040 ebffbf63rnb740 e1a0300d e3c34d7f e3a0300a e50b3030 eb064896 e3c4403f e50b0034 eb064893rnb760 e59f3198 e3a06000 e0833300 e5836040 f1080080 e59f9184 e3150001 e0869009rnb780 0a00004a e59f3178 e1a08146 e59f2174 e2881012 e5947004 e593c004 e7920101rnb7a0 e35c0000 e2800001 e7820101 0a000012 e2872001 e5842004 e593a010 e35a0000rnb7c0 0a000006 e1a00009 e59f1130 e1a0e00f e59af000 e5ba3004 e3530000 eafffff7rnrnSP: 0xea1f3c30:rn3c30 0000003d ea1f3d18 00000002 00000104 ea1f3c64 ea1f3c50 c003107c c00a07ccrn3c50 ffffffff f4000000 ea1f3cec ea1f3c68 c0031b88 c003100c 00000000 00000000rn3c70 ea1f3c98 c068ce00 ea1f2000 00000202 00000000 00000002 00000001 c068ce00rn3c90 60000013 ea1f3cec ea1f3cb0 ea1f3cb0 c006b760 c006b778 20000113 ffffffffrn3cb0 ea8a0000 00000001 00000000 0000000a ea1f3cdc 00000027 00000000 00000018rn3cd0 00000002 00000001 ea1f2000 60000013 ea1f3cfc ea1f3cf0 c006b96c c006b71crn3cf0 ea1f3d14 ea1f3d00 c0031080 c006b920 ffffffff f4000000 ea1f3d74 ea1f3d18rn3d10 c0031b88 c003100c c05df0f8 60000013 ea8a0000 00000000 60000013 ea1419c0rnrnIP: 0xea1f3c30:rn3c30 0000003d ....rnFP: 0xea1f3c6c:rn.....rnR2: 0xea1f3c18:rn.....rn[] (show_regs+0x0/0x58) from [] (softlockup_tick+0x124/0x174rn)rn r4:ea1f3c68 r3:00000002rn[] (softlockup_tick+0x0/0x174) from [] (run_local_timers+0x2rn4/0x28)rn[] (run_local_timers+0x0/0x28) from [] (update_process_timesrn+0x40/0x60)rn[] (update_process_times+0x0/0x60) from [] (tick_sched_timerrn+0x98/0xcc)rn r6:271ebaad r5:ea1f3c68 r4:c05dd990 r3:20000113rn[] (tick_sched_timer+0x0/0xcc) from [] (__run_hrtimer+0x150/rn0x21c)rn r7:ea1f3bb8 r6:c05dd3b0 r5:c05dd3f0 r4:c05dd990rn[] (__run_hrtimer+0x0/0x21c) from [] (hrtimer_interrupt+0x1arn8/0x220)rn[] (hrtimer_interrupt+0x0/0x220) from [] (s5p_tick_timer_intrnerrupt+0x54/0x64)rn[] (s5p_tick_timer_interrupt+0x0/0x64) from [] (handle_IRQ_ernvent+0xb0/0x1e4)rn[] (handle_IRQ_event+0x0/0x1e4) from [] (handle_level_irq+0xrnc4/0x138)rn[] (handle_level_irq+0x0/0x138) from [] (asm_do_IRQ+0x7c/0x9rn8)rn r7:00000104 r6:00000002 r5:ea1f3d18 r4:0000003drn[] (asm_do_IRQ+0x0/0x98) from [] (__irq_svc+0x48/0xc0)rnException stack(0xea1f3c68 to 0xea1f3cb0)rn3c60: 00000000 00000000 ea1f3c98 c068ce00 ea1f2000 00000202rn3c80: 00000000 00000002 00000001 c068ce00 60000013 ea1f3cec ea1f3cb0 ea1f3cb0rn3ca0: c006b760 c006b778 20000113 ffffffffrn r5:f4000000 r4:ffffffffrn[] (__do_softirq+0x0/0x204) from [] (irq_exit+0x58/0xac)rn[] (irq_exit+0x0/0xac) from [] (asm_do_IRQ+0x80/0x98)rn[] (asm_do_IRQ+0x0/0x98) from [] (__irq_svc+0x48/0xc0)rnException stack(0xea1f3d18 to 0xea1f3d60)rn3d00: c05df0f8 60000013rn3d20: ea8a0000 00000000 60000013 ea1419c0 00000027 c05df0f8 c05df0dc 00000000rn3d40: 60000013 ea1f3d74 ea1f3d60 ea1f3d60 c041b37c c041b380 60000013 ffffffffrn r5:f4000000 r4:ffffffffrn[] (_spin_unlock_irqrestore+0x0/0x48) from [] (__setup_irq+0rnx248/0x314)rn r4:c05df0bc r3:00000000rn[] (__setup_irq+0x0/0x314) from [] (request_threaded_irq+0x1rn90/0x1e8)rn[] (request_threaded_irq+0x0/0x1e8) from [] (dm9000_open+0x6rn8/0xd4)rn[] (dm9000_open+0x0/0xd4) from [] (dev_open+0xc0/0x11c)rn r6:00001002 r5:c04420f0 r4:ea937800rn[] (dev_open+0x0/0x11c) from [] (dev_change_flags+0x9c/0x16crn)rn r5:00001043 r4:ea937800rn[] (dev_change_flags+0x0/0x16c) from [] (devinet_ioctl+0x398rn/0x77c)rn r7:00000001 r6:ea937800 r5:00000000 r4:00008914rn[] (devinet_ioctl+0x0/0x77c) from [] (inet_ioctl+0xe4/0x114)rnrn[] (inet_ioctl+0x0/0x114) from [] (sock_ioctl+0x204/0x254)rn r4:00008914 r3:c04699e0rn[] (sock_ioctl+0x0/0x254) from [] (vfs_ioctl+0x3c/0x9c)rn r6:bec12a88 r5:c0362f70 r4:ea1a5f00 r3:0000c000rn[] (vfs_ioctl+0x0/0x9c) from [] (do_vfs_ioctl+0x558/0x5a0)rn r7:00000003 r6:e9403438 r5:ea1a5f00 r4:bec12a88rn[] (do_vfs_ioctl+0x0/0x5a0) from [] (sys_ioctl+0x48/0x6c)rn r9:ea1f2000 r8:c00322ac r7:00000003 r6:00008914 r5:bec12a88rnr4:ea1a5f00rn[] (sys_ioctl+0x0/0x6c) from [] (ret_fast_syscall+0x0/0x2c)rn r7:00000036 r6:bec12c74 r5:00000004 r4:00096be7rnrnrn有没有高手能给点思路? 驱动中我就只修改了寄存器读取的地址,这个是在resource中修改的,然后在platform_driver下中对应上,所以dm9000.c这个文件都没有很大的改动。rnrn求助求助~~~~~~~~~rnrn 论坛

adb shell [device not found]

03-29

山寨平台连上PC,找不到设备?rn背景:adb version 1.0.31rn1.设备USB驱动已经安装OK;rn2.设备的USB开启的调试模式;rn3.PC同时连上山寨平板和三星手机,可以找到三星手机设备而找不到平板?rnrn----------------------------------------------rn山寨平板rnAndroid版本:4.2.2rn内核版本:3.4.39rn----------------------------------------------rn三星手机rnAndroid版本:4.1.2rn内核版本:3.4.0rn-----------------------------------------------rn网上查询以下方法均未解决:rna.5337端口被占用,每次都检查netstat -ano | findstr "5037" 后 TASKLIST | findstr "4236",rn在任务管理器关闭进程。rnadb kill-server rnadb start-serverrnrnb.修改 adb 驱动中的 android_winusb.inf 文件rn; My productrn%CompositeAdbInterface% = USB_Install, USB\VID_AAAA&PID_BBBBrn%SingleBootLoaderInterface% = USB_Install, USB\VID_AAAA&PID_BBBB&MI_01rn增加山寨平板的设备的VID: 0x1F3A PID:0x1002rn再次安装驱动还是未解决。rnrn======================================rn设备管理器里查看有2个rnAndroid Composite ADB Interface =======>三星手机设备rnAndroid Composite ADB Interface =======>山寨平板设备rnrnadb devicesrnlist of devices attachedrne6ea5f05 devicern???????? ??????[color=#FF0000][/color]rn此山寨设备在别人电脑上adb devices可以查到,证明此设备是正常的。rn求大牛们帮忙分析下还有啥原因导致此问题? 论坛

没有更多推荐了,返回首页