qnx6.5 网络设置IP问题

本子是Broadcom 440x的网卡,系统安装好后,网卡是没找到的,后来查了下qnx官方列表,发现6.5是支持这个网卡的,就按下面步骤:
1.执行io-pkt-v4 -d bce(后,发现bce0网卡)
2.用GUI的网卡配置界面,选中dhcp,点选“enable device”,apply后就一直死在哪里,试过很多,不知道哪里出了问题了?(命令行里执行ifconfig x.x.x.x也死在那里)
网络环境是这样的,路由器直接连接win机和qnx机
qnx下直接ping127.0.0.1是ping通的,但是ping网关就不行,不知道为什么,还望各位能解答一下,感谢了,xtang能指导一下吗?先谢谢

感觉是驱动仍然有问题。但是,这个是NetBSD的驱动吗?

你可以试试 io-pkt-v4 -d bce verbose=6,然后看看 sloginfo 的输出,看看驱动有没有调试信息。

感谢xtang,对,官方上描述是NetBSD的驱动移植过来的。
我试着“pidin -p io-net mem”,看看是不是io-net出错了,但是查看没有任何结果

各位请看,我sloginfo的信息,不知道哪里出问题了,上不了网啊,挺着急的
Sep 26 05:59:16 5 14 0 tcpip starting
Sep 26 05:59:16 3 14 0 Using pseudo random generator. See “random” option
Sep 26 05:59:16 5 14 0 initializing IPsec… done
Sep 26 05:59:16 5 14 0 IPsec: Initialized Security Association Processing.
Sep 26 05:59:16 1 8 0 phfont.so: init…
Sep 26 05:59:17 1 8 0 phfont.so: initialized.
Sep 26 05:59:17 1 8 0 phfont.so: ‘/dev/phfont[<32|64>]’ server installed.
Sep 26 05:59:17 6 8 0 VGA primary : bus 0x0 dev/func 0x10
Sep 26 05:59:17 6 8 0 Found 1 PCI/AGP display devices
Sep 26 05:59:17 6 8 0 pci_init: found PCI device 8086:2592
Sep 26 06:01:04 5 14 0 tcpip starting
Sep 26 06:01:04 3 14 0 Using pseudo random generator. See “random” option
Sep 26 06:01:04 5 14 0 bce0 at pci6 dev 8 function 0: Broadcom BCM4401-B0 10/100 Ethernet
Sep 26 06:01:04 5 14 0 bce0: interrupting at irq 10
Sep 26 06:01:04 5 14 0 Find PHY, oui = 00000818, model = 00000036
Sep 26 06:01:04 5 14 0 ukphy0 at bce0 phy 1: Generic IEEE 802.3u media interface
Sep 26 06:01:04 5 14 0 ukphy0: OUI 0x000818, model 0x0036, rev. 0
Sep 26 06:01:04 5 14 0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sep 26 06:01:04 5 14 0 bce0: Ethernet address 00:16:36:07:db:8f
Sep 26 06:02:28 2 19 900 devb-umass 1.00A (Jul 9 2010 13:54:49)
Sep 26 06:02:28 2 5 0 libcam.so (Jul 9 2010 13:53:08) bver 6040207
Sep 26 06:02:28 2 5 100 cam-disk.so (Jul 9 2010 13:53:14)
Sep 26 06:02:59 2 19 900 umass_removal: path 1, devno 1, vid 1043, did 8006, class 8, sclass 6, proto
50, tflags 3000
Sep 26 06:08:02 5 14 0 tcpip starting
Sep 26 06:08:02 3 14 0 Using pseudo random generator. See “random” option
Sep 26 06:08:02 2 14 0 Unable to init devnp-bce.so: No such device or address

Sep 26 06:08:50 2 19 900 devb-umass 1.00A (Jul 9 2010 13:54:49)
Sep 26 06:08:50 2 5 0 libcam.so (Jul 9 2010 13:53:08) bver 6040207
Sep 26 06:08:50 2 5 100 cam-disk.so (Jul 9 2010 13:53:14)
Sep 26 06:09:24 5 14 0 tcpip starting
Sep 26 06:09:24 3 14 0 Using pseudo random generator. See “random” option
Sep 26 06:09:24 2 14 0 Unable to init devnp-bce.so: No such device or address

Sep 26 06:01:04 5 14 0 tcpip starting
Sep 26 06:01:04 3 14 0 Using pseudo random generator. See "random" option
Sep 26 06:01:04 5 14 0 bce0 at pci6 dev 8 function 0: Broadcom BCM4401-B0 10/100 Ethernet
...
Sep 26 06:09:24 5 14 0 tcpip starting
Sep 26 06:09:24 3 14 0 Using pseudo random generator. See "random" option
Sep 26 06:09:24 2 14 0 Unable to init devnp-bce.so: No such device or address

看上去tcpip启动了两次?第二次没能找到bce,这样,等于有两个tcpip在跑。你查一下,看看把第二次启动启消了会不会好点。

BSD的驱动不太好debug。

不知道该怎么停,请教xtang等其他老师该怎么执行命令,才能使这个网卡上网呢