Skip to contentSkip to conversation

New: Yum update of Kernel broke sis900 ethernet driver

Bugme-new Andrew Morton 2 participants 4 messages Mar 8, 2008 – Mar 13, 2008 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw
Quoted 29 lines · On Sat, 8 Mar 2008 15:36:55 -0800 (PST) [email protected] wrote:

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

           Summary: Yum update of Kernel broke sis900 ethernet driver
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.24.3-12.fc8.i686
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: Network
        AssignedTo: [email protected]
        ReportedBy: [email protected]
Latest working kernel version:  2.6.23.15-137.fc8.i686
Earliest failing kernel version: 2.6.24.3-12.fc8.i686
Distribution:  Fedora Core 8
Hardware Environment:  PC
Software Environment:  Following YUM update
Problem Description:  After reboot following YUM update to new kernel - SiS 900

PCI Fast Ethernet (driver sis900) can not ifconfig eth0. Configuration fails with message "SIOCSIFFLAGS: Invalid argument". System does boot. SO To recover, insert FC8 DVD and copy original kernel RPM's to the hard drive. Then install the old Kernel with "rpm -ivh --force --hash *.rpm" and reboot. System comes up and configures the sis900 eth0 correctly at startup.

Quoted 4 lines

Steps to reproduce: A machine with a SiS 900 PCI Fast Ethernet installed. INstall RC8 and apply the updates. After 2.6.24.3, reboot and notice the trouble.

Apparently a regression. I seem to recall having seen reports of this before.

What could cuase SIOCSIFFLAGS to newly return -EINVAL?

#2 lore raw
Quoted 3 lines · Andrew Morton
Quoted 1 line · On Sat, 8 Mar 2008 15:36:55 -0800 (PST) [email protected] wrote:

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

...

Quoted 3 lines
Quoted 3 lines

Problem Description: After reboot following YUM update to new kernel - SiS 900 PCI Fast Ethernet (driver sis900) can not ifconfig eth0. Configuration fails with message "SIOCSIFFLAGS: Invalid argument". System does boot. [...]

Dan, could you add to bugzilla report: dmesg, lspci -vvv, and cat /proc/interrupts after such a boot?

Quoted 4 lines

Apparently a regression. I seem to recall having seen reports of this before.

What could cuase SIOCSIFFLAGS to newly return -EINVAL?

request_irq()?

Regards,
Jarek P.

#3 lore raw
Quoted 8 lines · Jarek Poplawski
Quoted 3 lines · Andrew Morton
Quoted 1 line · On Sat, 8 Mar 2008 15:36:55 -0800 (PST) [email protected] wrote:

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

...

Quoted 3 lines
Quoted 3 lines

Problem Description: After reboot following YUM update to new kernel - SiS 900 PCI Fast Ethernet (driver sis900) can not ifconfig eth0. Configuration fails with message "SIOCSIFFLAGS: Invalid argument". System does boot. [...]

...

Quoted 1 line
Quoted 1 line

What could cuase SIOCSIFFLAGS to newly return -EINVAL?

Second try: dev->validate_addr()?!

Dan, you don't have HW (MAC) address set on your card, and it's verified since 2.6.23.

Check if it can be done in BIOS (if it's onboard card) or in some Fedora config tool or file. To verify this idea try again in 2.6.24.3 something like this:

ifconfig eth0 hw ether 00:00:00:00:00:01
ifconfig eth0 192.168.0.108

Regards,
Jarek P.

#4 lore raw

On Thu, Mar 13, 2008 at 11:03:12AM +0000, Jarek Poplawski wrote:
...

Quoted 2 lines

Dan, you don't have HW (MAC) address set on your card, and it's verified since 2.6.23.

Actually: verified before open since 2.6.24.

Jarek P.