#4968 closed bug (fixed)
Unable to Connect to the Internet with sis900
Reported by: | Sanandreas | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Drivers/Network/sis900 | Version: | R1/alpha1 |
Keywords: | Cc: | planche2k@…, siarzhuk | |
Blocked By: | Blocking: | #1744, #6640 | |
Platform: | All |
Description
Hi to all, i've a problem with sis900. I can ping the loopback interface (127.0.0.1) but I am not able to ping gateway (error message "no route to host) or to connect to the Internet. If i try an Ip that no match my local network i receive Network is unreachable Ip settings e route table is ok. In attachment i posted ifconfig, route table and syslog. Thanks
Attachments (2)
Change History (21)
by , 15 years ago
Attachment: | syslog.txt added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Cc: | added |
---|
comment:3 by , 15 years ago
Component: | Network & Internet → Drivers/Network/sis900 |
---|---|
Owner: | changed from | to
Looking at your syslog I noticed:
KERN: Found MII PHY: Realtek RTL8201 PHY
Just a guess here but cause of your issue could be related to this:
http://haiku.it.su.se:8180/source/xref/src/add-ons/kernel/drivers/network/sis900/sis900.c#492
comment:5 by , 15 years ago
Try with static ip because I also noticed this in your syslog:
DAEMON 'DHCP': DHCP for /dev/net/sis900/0, status: Operation timed out DAEMON 'DHCP': DHCP for /dev/net/sis900/0, status: General system error
sis900 driver appears to have loaded in syslog but can you check under /dev/net & list folders & files to confirm?
comment:6 by , 15 years ago
Cc: | added |
---|
comment:7 by , 15 years ago
2 Sanandreas: Is it possible to configure this interface with static settings?
Please configure it to static, reboot and do the following test:
1) start the following command:
tcpdump -vvXXe -s 0 -i /dev/net/sis900/0 > dhcp-dump.txt
2) Go to "Preferences -> Network" and switch to DHCP. Press "Apply" button.
4) Please wait about 30 seconds than stop with Ctrl-C the tcpdump started at step 1).
5) Please attach the received dhcp-dump.txt to this ticket.
comment:8 by , 15 years ago
I have already try to use static configuration but the result is the same.
comment:9 by , 14 years ago
I have the same problem on a pc where the same driver worked flawlessy under beos R5. I tried to do a network capturing using wireshark and no ethernet packet comes out of the Network card.
comment:10 by , 14 years ago
Blocking: | 1744 added |
---|
comment:11 by , 14 years ago
This is still broken even with IOAPIC working. Would be nice for alpha3. I am willing to put in the work on the testing side for any dev interested in getting this ticket resolved.
I attached my syslog.2.txt
If there is anything anyone working on this bug needs, lt me know I will get it.
by , 14 years ago
Attachment: | syslog.2.txt added |
---|
comment:14 by , 14 years ago
Issue with syslog.2.txt (sis900 rev.90) is MAC is not found:
1406 KERN: sis900: could not get MAC address 1407 KERN: Found MII PHY: Realtek RTL8201 PHY
The sis900 requires using different methods to get the MAC depending on the revision #.
http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/net/sis900.c#L511
http://vcomtech.net/vmwarexr/source/linux/drivers/net/sis900.c#L372
Haiku's for comparison:
http://dev.haiku-os.org/browser/haiku/trunk/src/add-ons/kernel/drivers/network/sis900/sis900.c#L579
Also missing couple of PHYs.
http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/net/sis900.c#L129
For syslog.txt (sis900 rev.91):
The MAC is found but DHCP times out. Different issue. DHCP issue is tougher to track down the cause. Also, fixing MAC issue for 2nd syslog may still run into issue from 1st syslog (DHCP timing out).
A developer either has to compare Haiku sis900 driver to BSD's and update it or just switch over to the BSD version of sis900. Going to BSD sis900 driver would be good and easy solution to get this working and if a developer ever updates Haiku's sis900 could just switch back to it.
@Sanandreas, can you retest with newer nightly image to see if DHCP issue still happening? To rule out any other change from having fixed this.
http://www.haiku-files.org
comment:15 by , 14 years ago
With a broken driver or without a valid MAC address, in any case DHCP negotiation can't work for obvious reason.
All these hints lead indeed to think the current sis900 don't support your card as it should.
comment:17 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:18 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Probably fixed by switching to the FreeBSD driver in hrev52675.
comment:19 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
Could this be a dup of #1744 ?