[TMG] sis190/191 bug was solved

sss at supat.eu.org sss at supat.eu.org
Wed Apr 15 04:48:02 ICT 2009


this gbit card work on 2.6.6 with asus code.
but later it was deadly bug and no one fix it.

today, i just fix it as evidence below:

root at supat:/home/sss# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:23:54:d4:7f:72
           inet addr:192.168.10.91  Bcast:192.168.10.255 
Mask:255.255.255.0
           inet6 addr: fe80::223:54ff:fed4:7f72/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:750 errors:0 dropped:0 overruns:0 frame:0
           TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:65238 (63.7 KiB)  TX bytes:24890 (24.3 KiB)
           Interrupt:19 Base address:0xdead

eth1      Link encap:Ethernet  HWaddr 00:e0:7d:c2:95:28
           inet addr:158.108.200.199  Bcast:158.108.200.255 
Mask:255.255.255.0
           inet6 addr: fe80::2e0:7dff:fec2:9528/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1786282 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1308227 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:322997604 (308.0 MiB)  TX bytes:142060621 (135.4 MiB)
           Interrupt:16 Base address:0xc000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:187843 errors:0 dropped:0 overruns:0 frame:0
           TX packets:187843 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:19999818 (19.0 MiB)  TX bytes:19999818 (19.0 MiB)


i think reason it was deadly bug because it put bad address below:

  Interrupt:19 Base address:0xdead

To fix it need outside sis190.c code.

This is the meaning of "no gene act by itself"
bug outside the codon can made the gene to behave wrong.

That is why I said in y2k crisis in 1999 that if the source code is 1 
million bytes then bugs can be bigger than 1 million million bugs.
but no one can understand my words.

try to solve problem inside problem will never work in this case.

zxc555



More information about the Thai-l mailing list