sis190 drops all traffic (doesn't support my PHY?)

Bug #253094 reported by Chris Boyle
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.24-19-generic

I have an ethernet port on my motherboard, which the sis190 module tries to handle, but no packets can be sent or received.

00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)

There's a log line "0000:00:04.0: Unknown PHY transceiver at address 1." and adding some debug output shows that the PHY in question has id 0x001c, 0xc912. Googling these numbers gives me a possibly useful file:

ftp://202.65.194.212/cn/phy/RTL8212_RTL8212N_RTL8211N_DataSheet_1.2.pdf

...suggesting that the PHY might be an RTL8211/2. I note that RTL8201 is already in mii_chip_table on line 318 of sis190.c. Unfortunately adding my PHY to that table doesn't seem to help.

I am of course happy to provide any further information that mght be helpful and to try out suggested patches.

lspci -nn output:

00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]
00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) [1039:0003]
00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)
00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE] [1039:5513] (rev 01)
00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)
00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
00:05.0 IDE interface [0101]: Silicon Integrated Systems [SiS] SATA Controller / IDE mode [1039:1183] (rev 03)
00:06.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]
00:0e.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI [1814:0301]
00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]
00:1f.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:0004]
01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter [1039:6351] (rev 10)

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Chris Boyle (cmb) wrote :

I have tested linux-image-2.6.27-4-generic (i386) just now, and this bug is still present.

Revision history for this message
sergiomb (sergio-sergiomb) wrote :

hum, I not use ubuntu , but finally I found someone with exactly same hardware and same problem .

on linux-2.6.27 ,
dmesg | grep 04.0
Read Mac address from eeprom
Realtek PHY RTL8201 transceiver as address 1.
...
seams pretty, I get IP from dhcp but after that , can't even ping the gateway

Revision history for this message
sergiomb (sergio-sergiomb) wrote :

ah and just on x86_64 64 bits , on 32 bits seems that work ok , at least work with a boot usb kernel 2.6.23

Revision history for this message
Noxville (bensteenhuisen) wrote :

This problem still persists on 2.6.27-7-generic ..... Can get arp traffic from PC's [arp -an] but no traffic..

Revision history for this message
Maci (gergo-nemeth) wrote :

Hi!

 I've got the same problem under Ubuntu 9.04 beta... I found this bugreport also, but no response :D

http://bugzilla.kernel.org/show_bug.cgi?id=12090

Did someone solve that problem yet?

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi Chris,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 253094

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
sergiomb (sergio-sergiomb) wrote :

from bug http://bugzilla.kernel.org/show_bug.cgi?id=11509 we have some new news.

--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -539,8 +539,8 @@ static bool sis190_try_rx_copy(struct sis190_private *tp,
        if (!skb)
                goto out;

- pci_dma_sync_single_for_device(tp->pci_dev, addr, pkt_size,
- PCI_DMA_FROMDEVICE);
+ pci_dma_sync_single_for_cpu(tp->pci_dev, addr, tp->rx_buf_sz,
+ PCI_DMA_FROMDEVICE);
        skb_reserve(skb, 2);
        skb_copy_to_linear_data(skb, sk_buff[0]->data, pkt_size);
        *sk_buff = skb;

So guys let me know if it works or not

Revision history for this message
Maci (gergo-nemeth) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Alpha amd64 (20090722.2)
MachineType: ASUSTeK Computer Inc. F5SL
Package: linux-image-2.6.31-3-generic 2.6.31-3.19
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=hu console-setup/layoutcode?=hu
ProcEnviron:
 SHELL=/bin/bash
 LANG=hu_HU.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
RelatedPackageVersions: linux-backports-modules-2.6.31-3-generic N/A
Uname: Linux 2.6.31-3-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/27/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 306
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: F5SL
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr306:bd10/27/2008:svnASUSTeKComputerInc.:pnF5SL:pvr1.0:rvnASUSTeKComputerInc.:rnF5SL:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr:
dmi.product.name: F5SL
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.

Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Revision history for this message
Maci (gergo-nemeth) wrote :
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Maci (gergo-nemeth) wrote :

Good news everyone: The latest development snapshot of 9.10 works like a charm. I hope we will soon give a working kernel for 9.04 too.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Marking this Fix Released against Karmic 9.10 based on the previous comment.

Changed in linux (Ubuntu):
status: New → Fix Released
Revision history for this message
Leandro Oliveira (leandro-dataworks) wrote : Re: [Bug 253094] Re: sis190 drops all traffic (doesn't support my PHY?)

Hello,

I´m just to try in 8.04.3 LTS and works fine, since mtu is set to 1492.
Don´t me ask why.
[]´s

Leandro Neves

2009/8/2 Maci <email address hidden>

> Good news everyone: The latest development snapshot of 9.10 works like a
> charm. I hope we will soon give a working kernel for 9.04 too.
>
> --
> sis190 drops all traffic (doesn't support my PHY?)
> https://bugs.launchpad.net/bugs/253094
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: New
>
> Bug description:
> Binary package hint: linux-image-2.6.24-19-generic
>
> I have an ethernet port on my motherboard, which the sis190 module tries to
> handle, but no packets can be sent or received.
>
> 00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191
> Gigabit Ethernet Adapter [1039:0191] (rev 02)
>
> There's a log line "0000:00:04.0: Unknown PHY transceiver at address 1."
> and adding some debug output shows that the PHY in question has id 0x001c,
> 0xc912. Googling these numbers gives me a possibly useful file:
>
> ftp://202.65.194.212/cn/phy/RTL8212_RTL8212N_RTL8211N_DataSheet_1.2.pdf
>
> ...suggesting that the PHY might be an RTL8211/2. I note that RTL8201 is
> already in mii_chip_table on line 318 of sis190.c. Unfortunately adding my
> PHY to that table doesn't seem to help.
>
> I am of course happy to provide any further information that mght be
> helpful and to try out suggested patches.
>
> lspci -nn output:
>
> 00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX
> [1039:0671]
> 00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] SiS AGP Port
> (virtual PCI-to-PCI bridge) [1039:0003]
> 00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL
> Media IO] [1039:0968] (rev 01)
> 00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE]
> [1039:5513] (rev 01)
> 00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
> Controller [1039:7001] (rev 0f)
> 00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1
> Controller [1039:7001] (rev 0f)
> 00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0
> Controller [1039:7002]
> 00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191
> Gigabit Ethernet Adapter [1039:0191] (rev 02)
> 00:05.0 IDE interface [0101]: Silicon Integrated Systems [SiS] SATA
> Controller / IDE mode [1039:1183] (rev 03)
> 00:06.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI
> bridge [1039:000a]
> 00:0e.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI
> [1814:0301]
> 00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio
> Controller [1039:7502]
> 00:1f.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI
> bridge [1039:0004]
> 01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS]
> 771/671 PCIE VGA Display Adapter [1039:6351] (rev 10)
>
> --
> Esta mensagem foi verificada pelo sistema de antivírus e
> acredita-se estar livre de perigo.
>
>
>

--
Leandro Neves de Oliveira Bando
DataWorks Soluções - (62) 3321 0616
http://www.dataworks.com.br/

Revision history for this message
Chris Boyle (cmb) wrote :

2.6.31-10-generic (2.6.31-10.34, i386) works for me on the hardware described in my original report (MTU is 1500). Thanks. :-)

Revision history for this message
Leandro Oliveira (leandro-dataworks) wrote :
Download full text (4.4 KiB)

Hello all,

I tried kernel 2.6.31-10-server and this work correctly. This kernel solve
another problem with AHCI too.

Thanks in advance!

Leandro

2009/7/24 kernel-janitor <email address hidden>

> Hi Chris,
>
> This bug was reported a while ago and there hasn't been any activity in
> it recently. We were wondering if this is still an issue? Can you try
> with the latest development release of Ubuntu? ISO CD images are
> available from http://cdimage.ubuntu.com/releases/ .
>
> If it remains an issue, could you run the following command from a
> Terminal (Applications->Accessories->Terminal). It will automatically
> gather and attach updated debug information to this report.
>
> apport-collect -p linux-image-`uname -r` 253094
>
> Also, if you could test the latest upstream kernel available that would
> be great. It will allow additional upstream developers to examine the
> issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once
> you've tested the upstream kernel, please remove the 'needs-upstream-
> testing' tag. This can be done by clicking on the yellow pencil icon
> next to the tag located at the bottom of the bug description and
> deleting the 'needs-upstream-testing' text. Please let us know your
> results.
>
> Thanks in advance.
>
> [This is an automated message. Apologies if it has reached you
> inappropriately; please just reply to this message indicating so.]
>
>
> ** Tags added: needs-kernel-logs
>
> ** Tags added: needs-upstream-testing
>
> ** Tags added: kj-triage
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> sis190 drops all traffic (doesn't support my PHY?)
> https://bugs.launchpad.net/bugs/253094
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: linux-image-2.6.24-19-generic
>
> I have an ethernet port on my motherboard, which the sis190 module tries to
> handle, but no packets can be sent or received.
>
> 00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191
> Gigabit Ethernet Adapter [1039:0191] (rev 02)
>
> There's a log line "0000:00:04.0: Unknown PHY transceiver at address 1."
> and adding some debug output shows that the PHY in question has id 0x001c,
> 0xc912. Googling these numbers gives me a possibly useful file:
>
> ftp://202.65.194.212/cn/phy/RTL8212_RTL8212N_RTL8211N_DataSheet_1.2.pdf
>
> ...suggesting that the PHY might be an RTL8211/2. I note that RTL8201 is
> already in mii_chip_table on line 318 of sis190.c. Unfortunately adding my
> PHY to that table doesn't seem to help.
>
> I am of course happy to provide any further information that mght be
> helpful and to try out suggested patches.
>
> lspci -nn output:
>
> 00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX
> [1039:0671]
> 00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] SiS AGP Port
> (virtual PCI-to-PCI bridge) [1039:0003]
> 00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL
> Media IO] [1039:0968] (rev 01)
> 00:02.5 IDE interface [0101]: Silicon Integrated Systems [SiS] 5513 [IDE]
> [1039:5513] (rev 01)
...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.