
|
[openbeosnetteam]
||
[Date Prev]
[04-2002 Date Index]
[Date Next]
||
[Thread Prev]
[04-2002 Thread Index]
[Thread Next]
[openbeosnetteam] Can't get net_srv to work with a SIS 900 card.
- From: "Bruno G. Albuquerque" <bga@xxxxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Mon, 01 Apr 2002 13:15:07 EST (-0300)
Ok... Here is what I got:
[/boot/home/development/cvs/openbeos/net_kit/source/server]> net_srv
Net Server Test App!
====================
add_protocol: ICMP (v4)
add_protocol: IPv4
add_protocol: UDP Module
Domain: internet
ICMP (v4) provided by modules/protocol/icmp
IPv4 provided by modules/interface/ipv4
UDP Module provided by modules/protocol/udp
find_interface modules
I couldn't find any drivers in the api driver directory
open_device: /dev/net/rtl8139/0
Unable to open /dev/net/rtl8139/0, -1 [General OS error]
open_device: /dev/net/sis900/0
adding device sis9000
adding device loop0
done findinf interfaces
ether_dev_start sis9000
loop0: starting rx_thread...
loop0: starting tx_thread...
Dev Name MTU MAC Address Flags
=== ============ ==== ================= ===========================
1 sis9000 1500 UP RUNNING BROADCAST MULTICAST
Addresses:
ETHERNET: Interface sis9000 has a link layer address of
00:40:33:e1:63:ef
2 loop0 16384 UP RUNNING MULTICAST
Addresses:
Interface loop0 has a link layer address of
starting socket creation test...
soo_ioctl gave -2147454965
ifr.flags = 0
soo_ioctl gave -2147454965
error -2147454965 [No such device]
SIOCSIFADDR
in_ifaddr:
: ia_net : 0000007f
: ia_netmask : 000000ff
: ia_subnet : 0000007f
: ia_subnetmask : 000000ff
: ia_netbroadcast : 00000000
: ia_addr : 0100007f
: ia_dstaddr : 00000000
: ia_sockmask : 000000ff
soo_ioctl gave 0
Trying to send 11 bytes data
udp_input: hdrlen = 20
udp->length = 19
udp: checking cksum
doing in_pcblookup for 7f000001:7772 7f000001:7773
calling sbappendaddr (0x80004018)
waking up socket!
sendit gave 0, rw = 11
recvit gave 0, rw = 11
got 11 bytes
[Hello World]
Came from 7f000001:7772
Dev Name MTU MAC Address Flags
=== ============ ==== ================= ===========================
1 sis9000 1500 UP RUNNING BROADCAST MULTICAST
Addresses:
ETHERNET: Interface sis9000 has a link layer address of
00:40:33:e1:63:ef
2 loop0 16384 UP RUNNING MULTICAST
Addresses:
Interface loop0 has a link layer address of
IPv4: 127.0.0.1
device sis9000 : rx_thread = -1
device loop0 : rx_thread = 267
[/boot/home/development/cvs/openbeos/net_kit/source/server]>
So, the rx_thread returns -1... Any ideas why? I guess this is why my
net_srv does not stay loaded. :P
-Bruno
--
Fortune Cookie Says:
First Rule of History:
History doesn't repeat itself -- historians merely repeat each
other.
|

|