天嵌 ARM开发社区

 找回密码
 注册
查看: 1551|回复: 2

配置网卡出现错误

[复制链接]
一_个_人_离_开 发表于 2012-3-22 19:44:13 | 显示全部楼层 |阅读模式
用net_set 可以看到 网卡的 信息  用ifconfig 的话 什么反映的没有 什么情况啊

Partially written block 101 detected
Partially written block 101 detected
Partially written block 101 detected
Partially written block 101 detected
Partially written block 101 detected
Partially written block 101 detected
zc3xx: probe sensor -> 000a
zc3xx: Find Sensor PB0330. Chip revision 0
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 120K
gspca: probe ok
Try to bring eth0 interface up ...

Please press Enter to activate this console. ifconfig eth0 hw ether 10:23:45:67:89:ab
Unable to handle kernel NULL pointer dereference at virtual address 00000030
pgd = c3a88000
[00000030] *pgd=33a82031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.30.4-EmbedSky #22)
PC is at mii_check_media+0x30/0x1fc
LR is at dm9000_open+0x78/0xe4
pc : [<c01bbec8>]    lr : [<c01bcf20>]    psr: 60000013
sp : c3a61e28  ip : 0000001e  fp : c39fbac0
r10: c3a61ea8  r9 : c3a61eb8  r8 : 00000000
r7 : 00000001  r6 : 00000000  r5 : c383ff90  r4 : c383fc00
r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : c383ff90
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 33a88000  DAC: 00000015
Process ifconfig (pid: 1007, stack limit = 0xc3a60268)
Stack: (0xc3a61e28 to 0xc3a62000)
1e20:                   c3a61eb8 c3a61ea8 c383fc00 c383ff00 00000000 00001002
1e40: 00008914 c01bcf20 c383fc00 c383fc00 c383fc00 c383feb0 00001043 c026ef64
1e60: c383fc00 00000041 00001043 c026e844 c3a60000 00000000 bec34c38 c044fab4
1e80: 00008914 c02aff10 00000020 00000000 00008913 c026fee0 c387f200 c387f20c
1ea0: c383fc00 00000000 30687465 00000000 00000000 00000000 00001043 0601a8c0
1ec0: 00196008 0019608c 00001043 0601a8c0 00196008 0019608c 00196008 00008914
1ee0: bec34c38 bec34c38 bec34c38 c0026fc8 c3a60000 00000000 00193384 c025e6c4
1f00: c3a6ce80 bec34c38 00008914 c00a2ad8 00000003 c3a6ce80 00000003 c00a2dd8
1f20: 00000000 00100100 c3401280 c3a171b8 c3a16780 c3a82b84 c3830800 c00a56a0
1f40: c366d500 c0401330 00200200 c00a5dc4 00000008 c3a16780 c3a171b8 c383a300
1f60: bec34954 00000003 bec34c38 00008914 c3a6ce80 c0026fc8 c3a60000 00000000
1f80: 00193384 c00a30a4 00000004 00000000 bec34f5e 001b8dcd 00000004 000d7d9c
1fa0: 00000036 c0026e20 001b8dcd 00000004 00000003 00008914 bec34c38 001b8dcd
1fc0: 001b8dcd 00000004 000d7d9c 00000036 00000000 00193404 bec34e6c 00193384
1fe0: 000001c3 bec34c18 0001a8a4 000090fc 20000010 00000003 00000000 00000000
[<c01bbec8>] (mii_check_media+0x30/0x1fc) from [<c01bcf20>] (dm9000_open+0x78/0xe4)
[<c01bcf20>] (dm9000_open+0x78/0xe4) from [<c026ef64>] (dev_open+0xac/0x110)
[<c026ef64>] (dev_open+0xac/0x110) from [<c026e844>] (dev_change_flags+0x80/0x19c)
[<c026e844>] (dev_change_flags+0x80/0x19c) from [<c02aff10>] (devinet_ioctl+0x700/0x7ec)
[<c02aff10>] (devinet_ioctl+0x700/0x7ec) from [<c025e6c4>] (sock_ioctl+0x6c/0x258)
[<c025e6c4>] (sock_ioctl+0x6c/0x258) from [<c00a2ad8>] (vfs_ioctl+0x30/0x78)
[<c00a2ad8>] (vfs_ioctl+0x30/0x78) from [<c00a2dd8>] (do_vfs_ioctl+0x29c/0x530)
[<c00a2dd8>] (do_vfs_ioctl+0x29c/0x530) from [<c00a30a4>] (sys_ioctl+0x38/0x60)
[<c00a30a4>] (sys_ioctl+0x38/0x60) from [<c0026e20>] (ret_fast_syscall+0x0/0x2c)
Code: e3a00000 e28dd008 e8bd81f0 e5903014 (e5934030)
---[ end trace fef603cb1375aa25 ]---
Segmentation fault
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
 楼主| 一_个_人_离_开 发表于 2012-3-22 22:01:27 | 显示全部楼层
什么 都 没弄 有开了下机
#net_set
Try to bring eth0 interface up ...
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFHWADDR: No such device
ifconfig eth0 hw ether 10:23:45:67:89:ab
ifconfig: SIOCSIFADDR: No such device
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
route: SIOCADDRT: Network is unreachable
add default gw 192.168.1.2
Done
回复

使用道具 举报

 楼主| 一_个_人_离_开 发表于 2012-3-22 22:05:40 | 显示全部楼层
又重启了下 又变成 第一次的 情况了  晕  怎么 回事 没人 回答下 啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-19 16:38 , Processed in 2.039948 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表