Bug 787108

Summary: sis190 nic cannot start. Base address:0xdead
Product: [Fedora] Fedora Reporter: dustpuppy_2000
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: dcbw, jklimes, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-15 11:48:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description dustpuppy_2000 2012-02-03 07:19:30 UTC
Description of problem:
Cannot use the nic card on a Shuttle ss30g2. I have tried changing the BIOS APIC settings, the PNP settings, added 'noapic', 'nolapic' 'apm=off' as arguements in Grub to boot. Tried MTU's of automatic, 1496, 1492, 1024.
NetworkManager can see the nic and assign address' and says that the interface is connected but it cannot see any other machine.

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Open terminal
2. ping anything = fail
3.  
  
Actual results:
interface says its Base address:0xdead in ifconfig eth0

Expected results:
the interface to work 

Additional info:

Comment 1 dustpuppy_2000 2012-02-03 19:06:15 UTC
Ran some additional info
[skeeter@localhost ~]uname -r
3.1.0-7.fc16.i686.PAE
------
[skeeter@localhost ~]ethtool -i eth0
driver: sis190
version: 1.4
firmware-version: 
bus-info: 0000:00:04.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
-------
[skeeter@localhost ~]ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:30:1B:42:7B:4E  
          inet addr:10.10.14.191  Bcast:10.10.14.255  Mask:255.255.255.0
          inet6 addr: fe80::230:1bff:fe42:7b4e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:839 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:1000 
          RX bytes:57235 (55.8 KiB)  TX bytes:17587 (17.1 KiB)
          Interrupt:10 Base address:0xdead 
---
[skeeter@localhost ~]dmesg|grep sis190
[    7.663206] sis190: sis190 Gigabit Ethernet driver 1.4 loaded
[    7.663250] sis190 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10
[    7.663269] sis190 0000:00:04.0: setting latency timer to 64
[    7.663295] sis190: 0000:00:04.0: Read MAC address from EEPROM
[    7.685300] sis190: 0000:00:04.0: Realtek PHY RTL8201 transceiver at address 1
[    7.824043] sis190: 0000:00:04.0: Using transceiver at address 1 as default
[    7.832338] sis190 0000:00:04.0: eth0: 0000:00:04.0: SiS 190 PCI Fast Ethernet adapter at f82b8000 (IRQ: 10), 00:30:1b:42:7b:4e
[    7.832359] sis190 0000:00:04.0: eth0: GMII mode.
[    7.832375] sis190 0000:00:04.0: eth0: Enabling Auto-negotiation
[   26.728025] sis190 0000:00:04.0: eth0: mii ext = 0000
[   26.734020] sis190 0000:00:04.0: eth0: mii lpa=cde1 adv=01e1 exp=0001
[   26.738019] sis190 0000:00:04.0: eth0: link on unknown mode
----
[skeeter@localhost ~]/sbin/lspci -m | grep net
00:04.0 "Ethernet controller" "Silicon Integrated Systems [SiS]" "190 Ethernet Adapter" -r01 "Holco Enterprise Co, Ltd/Shuttle Computer" "Device 3079"
-------------
[skeeter@localhost ~]/sbin/lspci -n | grep "$(/sbin/lspci | awk '/net/ { print $1}')"
00:04.0 0200: 1039:0190 (rev 01)
----
[skeeter@localhost ~]lsmod|grep sis
sis190                 13703  0 
mii                     3639  1 sis190
pata_sis                7882  0

Comment 2 Jirka Klimes 2012-02-07 15:50:15 UTC
Did you try newer kernel?
Are you able to ping the gateway?

What is the routing table?
$ route -n

Comment 3 dustpuppy_2000 2012-02-07 17:10:46 UTC
Just the stock kernel. 
I have worked around this bug by putting in a separate NIC and disabling the on-board NIC. I have managed to get online and update packages so I will be able to work on this bug by popping out the NIC, re-enabling the onboard, etc.

 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.10.14.1      0.0.0.0         UG    0      0        0 eth0
10.10.14.0      0.0.0.0         255.255.255.0   U     1      0        0 eth0

Comment 4 Jirka Klimes 2012-02-08 11:40:47 UTC
Did you really try lower MTU?
Some post say that 1024 should work:
e.g. http://ubuntuforums.org/showpost.php?p=11079824&postcount=7

Can you ping 10.10.14.1?

Else, it would be useful to capture traffic with wireshark. And, to obtain
debug logs from the driver load it with:
# modprobe sis190 debug=16

Comment 5 dustpuppy_2000 2012-02-08 16:53:32 UTC
Yeah, I saw that as well. Others mentioned that it was 1496 or 1492 is the magic number.

Well, after I put in the 3com card and updated everything, the original onboard NIC is working. 'ifconfig eth0' now has a bottom line of. Maybe the new kernel fixed it.

Interrupt:19 Base address:0xdead

Comment 6 Jirka Klimes 2012-02-15 11:48:35 UTC
Closing based on comment #5.

Comment 7 Sergio Basto 2017-12-21 19:08:20 UTC
I set  mtu 1492 on my sis190 , with kernel 4.14.7-300.fc27.x86_64 works more or less well , but in network stress may fail and I have to restart module it with : 


rmmod sis190 mii
modprobe mii debug=16
modprobe sis190 debug=16

The most important  I can't set mtu lower than 1024 , but changing mtu to 1496 or 1492 seems that works for a long time , but not fix it for good. 


dmesg | grep sis190
[    2.064197] sis190: sis190 Gigabit Ethernet driver 1.4 loaded
[    2.064445] sis190: 0000:00:04.0: Read MAC address from EEPROM
[    2.133054] sis190: 0000:00:04.0: Realtek PHY RTL8201 transceiver at address 1
[    2.531031] sis190: 0000:00:04.0: Using transceiver at address 1 as default
[    2.555348] sis190 0000:00:04.0 eth0: 0000:00:04.0: SiS 191 PCI Gigabit Ethernet adapter at ffffb0e840739000 (IRQ: 19), 00:90:f5:81:38:1b
[    2.555351] sis190 0000:00:04.0 eth0: GMII mode.
[    2.555361] sis190 0000:00:04.0 eth0: Enabling Auto-negotiation
[    2.581306] sis190 0000:00:04.0 enp0s4: renamed from eth0
[   27.103077] sis190 0000:00:04.0 enp0s4: auto-negotiating...
[  211.435078] sis190 0000:00:04.0 enp0s4: mii ext = 0000
[  211.444079] sis190 0000:00:04.0 enp0s4: mii lpa=45e1 adv=01e1 exp=0001
[  211.444085] sis190 0000:00:04.0 enp0s4: link on 100 Mbps Full Duplex mode