亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2563 | 回復(fù): 2
打印 上一主題 下一主題

奇怪的網(wǎng)卡問題。! [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2008-05-30 17:38 |只看該作者 |倒序?yàn)g覽

  1. AierM:/home/tmeng# uname -a
  2. Linux AierM 2.6.18-aier #1 SMP Mon Oct 8 22:07:30 CST 2007 i686 GNU/Linux
  3. AierM:/home/tmeng# lspci|grep 'DECchip'
  4. 07:00.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 20)
  5. AierM:/home/tmeng# dmesg |grep 'eth1'
  6. eth1: Digital DS21143 Tulip rev 32 at 00014800, 00:80:4C:35:0D:78, IRQ 11.
  7. eth1: Digital DS21143 Tulip rev 32 at 00014800, 00:80:4C:35:0D:78, IRQ 11.
  8. eth1: Digital DS21143 Tulip rev 32 at 00014800, 00:80:4C:35:0D:78, IRQ 11.
復(fù)制代碼


在PCMICA插槽中有一塊DECchip 21143芯片的網(wǎng)卡;從得到的信息來看,驅(qū)動(dòng)已經(jīng)加載了;并且所加載的驅(qū)動(dòng)也包含 本芯片型號(hào);如下:

  1. AierM:/home/tmeng# modinfo tulip
  2. filename:       /lib/modules/2.6.18-aier/kernel/drivers/net/tulip/tulip.ko
  3. author:         The Linux Kernel Team
  4. [color=Red]description:    Digital 21*4* Tulip ethernet driver[/color]
  5. license:        GPL
  6. version:        1.1.13-NAPI
  7. vermagic:       2.6.18-aier SMP mod_unload PENTIUMM REGPARM gcc-4.1
  8. depends:
  9. alias:          pci:v00001011d00000009sv*sd*bc*sc*i*
  10. alias:          pci:v00001011d00000019sv*sd*bc*sc*i*
  11. alias:          pci:v000011ADd00000002sv*sd*bc*sc*i*
  12. alias:          pci:v000010D9d00000512sv*sd*bc*sc*i*
  13. alias:          pci:v000010D9d00000531sv*sd*bc*sc*i*
  14. alias:          pci:v0000125Bd00001400sv*sd*bc*sc*i*
  15. alias:          pci:v000011ADd0000C115sv*sd*bc*sc*i*
  16. alias:          pci:v00001317d00000981sv*sd*bc*sc*i*
  17. alias:          pci:v00001317d00000985sv*sd*bc*sc*i*
  18. alias:          pci:v00001317d00001985sv*sd*bc*sc*i*
  19. alias:          pci:v00001317d00009511sv*sd*bc*sc*i*
  20. alias:          pci:v000013D1d0000AB02sv*sd*bc*sc*i*
  21. alias:          pci:v000013D1d0000AB03sv*sd*bc*sc*i*
  22. alias:          pci:v000013D1d0000AB08sv*sd*bc*sc*i*
  23. alias:          pci:v0000104Ad00000981sv*sd*bc*sc*i*
  24. alias:          pci:v0000104Ad00002774sv*sd*bc*sc*i*
  25. alias:          pci:v00001259d0000A120sv*sd*bc*sc*i*
  26. alias:          pci:v000011F6d00009881sv*sd*bc*sc*i*
  27. alias:          pci:v00008086d00000039sv*sd*bc*sc*i*
  28. alias:          pci:v00001282d00009100sv*sd*bc*sc*i*
  29. alias:          pci:v00001282d00009102sv*sd*bc*sc*i*
  30. alias:          pci:v00001113d00001216sv*sd*bc*sc*i*
  31. alias:          pci:v00001113d00001217sv*sd*bc*sc*i*
  32. alias:          pci:v00001113d00009511sv*sd*bc*sc*i*
  33. alias:          pci:v00001186d00001541sv*sd*bc*sc*i*
  34. alias:          pci:v00001186d00001561sv*sd*bc*sc*i*
  35. alias:          pci:v00001186d00001591sv*sd*bc*sc*i*
  36. alias:          pci:v000014F1d00001803sv*sd*bc*sc*i*
  37. alias:          pci:v00001626d00008410sv*sd*bc*sc*i*
  38. alias:          pci:v00001737d0000AB09sv*sd*bc*sc*i*
  39. alias:          pci:v00001737d0000AB08sv*sd*bc*sc*i*
  40. alias:          pci:v000017B3d0000AB08sv*sd*bc*sc*i*
  41. alias:          pci:v000010B7d00009300sv*sd*bc*sc*i*
  42. alias:          pci:v000014EAd0000AB08sv*sd*bc*sc*i*
  43. alias:          pci:v00001414d00000002sv*sd*bc*sc*i*
  44. srcversion:     04C5C182C6E93DE91DBE155
  45. parm:           full_duplex:array of int
  46. parm:           options:array of int
  47. parm:           csr0:int
  48. parm:           rx_copybreak:int
  49. parm:           max_interrupt_work:int
  50. parm:           tulip_debug:int
復(fù)制代碼


但問題還是意外的發(fā)生了,找不到所標(biāo)識(shí)的eth1網(wǎng)卡,如下:

  1. AierM:/home/tmeng# ifconfig eth1
  2. eth1: error fetching interface information: Device not found
  3. AierM:/home/tmeng# ifconfig
  4. eth0      Link encap:Ethernet  HWaddr 00:09:6B:CD:CF:21
  5.           inet addr:192.168.133.128  Bcast:192.168.133.255  Mask:255.255.255.0
  6.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  7.           RX packets:8750 errors:0 dropped:0 overruns:0 frame:0
  8.           TX packets:10045 errors:0 dropped:0 overruns:0 carrier:0
  9.           collisions:0 txqueuelen:100
  10.           RX bytes:6295737 (6.0 MiB)  TX bytes:1576558 (1.5 MiB)
  11.           Base address:0x8000 Memory:c0220000-c0240000

  12. lo        Link encap:Local Loopback
  13.           inet addr:127.0.0.1  Mask:255.0.0.0
  14.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  15.           RX packets:24 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:0
  18.           RX bytes:1352 (1.3 KiB)  TX bytes:1352 (1.3 KiB)

  19. AierM:/home/tmeng# ifconfig eth1 up
  20. eth1: ERROR while getting interface flags: 沒有那個(gè)設(shè)備
復(fù)制代碼

上面輸出的eth0為集成的板載網(wǎng)卡,e1000的,可以看到MAC地址與eth1是不同的。

在插入網(wǎng)卡或重加載模塊的過程中可以看到:

  1. May 30 17:36:21 AierM kernel: Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)
  2. May 30 17:36:21 AierM kernel: tulip0:  EEPROM default media type Autosense.
  3. May 30 17:36:21 AierM kernel: tulip0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
  4. May 30 17:36:21 AierM kernel: tulip0:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
  5. May 30 17:36:21 AierM kernel: tulip0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
  6. May 30 17:36:21 AierM kernel: tulip0:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
  7. May 30 17:36:21 AierM kernel: eth1: Digital DS21143 Tulip rev 32 at 00014800, 00:80:4C:35:0D:78, IRQ 11.
復(fù)制代碼

上面顯示eth1已加載,芯片型號(hào)和MAC地址均無誤,可ifconfig輸出就是沒有,真是無比郁悶 :(:(:(

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2008-05-31 09:54 |只看該作者
真是邪門了,百般無耐,處到翻看,Google無數(shù),均無答案

終查看/pro/net/dev ,有些線索,如下:

  1. AierM:/home/tmeng# cat /proc/net/dev
  2. Inter-|   Receive                                                |  Transmit
  3. face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
  4.     lo:    1252      22    0    0    0     0          0         0     1252      22    0    0    0     0       0          0
  5.   imq0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  6.   imq1:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  7.   eth0: 7012966    9581    0    0    0     0          0        18  1664289   10079    0    0    0     0       0          0
  8. irda0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  9.   eth3:       0       0    9    0    0     0          0         0        0       0    0    0    0     0       0          0
復(fù)制代碼


乖乖,不是有個(gè)eth3嗎,趕緊 up先,如是那朵出色的tulip終于出來了,如:

  1. AierM:/home/tmeng# ifconfig eth3 up
  2. AierM:/home/tmeng# ifconfig eth3
  3. eth3      Link encap:Ethernet  HWaddr 00:80:4C:35:0D:78
  4.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  5.           RX packets:0 errors:9 dropped:0 overruns:0 frame:0
  6.           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  7.           collisions:0 txqueuelen:1000
  8.           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  9.           Interrupt:11 Base address:0x4800
復(fù)制代碼


但比較讓我郁悶是的,為什么不是默認(rèn)的eth1而是eth3呢?繼續(xù)找找看,是什么原因

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2008-05-31 14:32 |只看該作者
搞定了,在/etc/udev/rules.d/z25_persistent-net.rules配置文件記錄了插入的網(wǎng)卡MAC地址和標(biāo)識(shí)符,把不要的刪掉,將需eth3改為eth1重啟,即可

[ 本帖最后由 kevin.tan 于 2008-6-2 11:38 編輯 ]
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP