Bug 11649 - Network don't work with SiS 900 PCI Fast Ethernet. Mainly, I tried with DHCP interface. With exacly the same configurations network works on olders kernels and don't work on the newest
Network don't work with SiS 900 PCI Fast Ethernet. Mainly, I tried with DHCP ...
Status: CLOSED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: Network
All Linux
: P1 low
Assigned To: Daniele Venzano
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-25 17:35 UTC by Mateusz Pastewski
Modified: 2010-01-04 19:06 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.26.5
Tree: Mainline
Regression: Yes


Attachments
the output of dmesg (14.57 KB, text/plain)
2008-10-04 02:11 UTC, Mateusz Pastewski
Details
diff -u dmesg-good dmesg-bad (16.13 KB, text/plain)
2008-10-04 03:31 UTC, Andrew Morton
Details
Interrupts in kernel 2.6.23 (709 bytes, text/plain)
2008-10-04 03:55 UTC, Mateusz Pastewski
Details
lspci output in 2.6.23 (1.06 KB, text/plain)
2008-10-04 04:00 UTC, Mateusz Pastewski
Details
lspci output in 2.6.26.5 (1.06 KB, text/plain)
2008-10-04 04:10 UTC, Mateusz Pastewski
Details
network interfaces (290 bytes, application/octet-stream)
2008-10-04 04:12 UTC, Mateusz Pastewski
Details
Patch to print a warning if the MAC address is all 0s (1.07 KB, patch)
2008-12-31 00:44 UTC, Daniele Venzano
Details | Diff

Description Mateusz Pastewski 2008-09-25 17:35:18 UTC
Latest working kernel version: 2.6.23.x
Earliest failing kernel version: 2.6.24.x
Distribution: Debian Etch 4.0
Hardware Environment: PC
Software Enviroment:
Problem Description:

I installed Debian Etch 4.0 (with kernel 2.6.18-6-k7) on my machine with ECS K7S5A with built-in network card SIS900. During the installation and after first boot internet worked like a dream with auto configurated DHCP interface. But after change kernel to version 2.6.26.5 internet didn't work. In this moment I realized that I didn't change internet configurations, but I thought that it can be wrong in hardware configurations. On the other hand, the results by lspci and lspci -n, said that everything had worked perfectly. Then, I compiled kernel 2.6.26.5 with exacly the same .config file like kernel from debian distribution (2.6.18-6-k7) and internet didn't work too. After that, I compiled older kernel (2.6.17) with this .config file and internet started working! I think, it is proof that it is something wrong in module sis900 in the newest kernel versions, because I didn't change others system configurations!

What is more, system didn't have interrupt for ethernet, thought lspci recognized network card, sis900 module was started and DHCP was set. To confirm my view I attache interrupt's list and logs from internet starting/restarting:

tanya:/home/daimyo# cat /proc/interrupts
           CPU0
  0:     430048    XT-PIC-XT        timer
  1:        185    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  3:          1    XT-PIC-XT
  4:          1    XT-PIC-XT
  5:          0    XT-PIC-XT        ohci_hcd:usb2
  6:          5    XT-PIC-XT        floppy
  7:          0    XT-PIC-XT        parport0
  8:          1    XT-PIC-XT        rtc
  9:          1    XT-PIC-XT        acpi
 10:          2    XT-PIC-XT        ehci_hcd:usb5, SiS SI7012
 11:        228    XT-PIC-XT        uhci_hcd:usb3, uhci_hcd:usb4
 12:          0    XT-PIC-XT        ohci_hcd:usb1
 14:      42772    XT-PIC-XT        ide0
 15:      30385    XT-PIC-XT        ide1
NMI:          0   Non-maskable interrupts
LOC:          0   Local timer interrupts
RES:          0   Rescheduling interrupts
CAL:          0   function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0
MIS:          0

tanya:/home/daimyo# sudo /etc/init.d/networking restart
Reconfiguring network interfaces...There is already a pid file /var/run/dhclient.eth0.pid with pid 7018
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
SIOCSIFFLAGS: Cannot assign requested address
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on   LPF/eth0/00:00:00:00:00:00
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down 
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
Comment 1 Alan 2008-09-26 13:16:11 UTC
Please attach the output of "dmesg" after booting the problem kernel
Comment 2 Mateusz Pastewski 2008-09-26 13:36:37 UTC
I think for version 2.6.26.5 and others is the same output of "dmesg".

Linux version 2.6.25-daimyo (root@Knoppix) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Thu Sep 25 20:38:02 CEST 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Entering add_active_range(0, 0, 65520) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->    65520
  HighMem     65520 ->    65520
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    65520
On node 0 totalpages: 65520
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 479 pages used for memmap
  Normal zone: 60945 pages, LIFO batch:15
  HighMem zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000FA290, 0014 (r0 AMI   )
ACPI: RSDT 0FFF0000, 0028 (r1 AMIINT SiS735XX     1000 MSFT  100000B)
ACPI: FACP 0FFF0030, 0074 (r1 AMIINT SiS735XX     1000 MSFT  100000B)
ACPI: DSDT 0FFF0100, 33D3 (r1    SiS      735      100 MSFT  100000D)
ACPI: FACS 0FFF8000, 0040
ACPI: PM-Timer IO Port: 0x808
Allocating PCI resources starting at 20000000 (gap: 10000000:eec00000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65009
Kernel command line: root=/dev/hda1 ro 
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffb000 (0120a000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 1659.681 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 251416k/262080k available (1669k kernel code, 10108k reserved, 709k data, 216k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff4d000 - 0xfffff000   ( 712 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xd0800000 - 0xff7fe000   ( 751 MB)
    lowmem  : 0xc0000000 - 0xcfff0000   ( 255 MB)
      .init : 0xc0359000 - 0xc038f000   ( 216 kB)
      .data : 0xc02a15e6 - 0xc0352a20   ( 709 kB)
      .text : 0xc0100000 - 0xc02a15e6   (1669 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
CPA: page pool initialized 1 of 1 pages preallocated
Calibrating delay using timer specific routine.. 3320.89 BogoMIPS (lpj=6641796)
Security Framework initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
ACPI: Core revision 20070126
ACPI: setting ELCR to 0200 (from 1c20)
CPU0: AMD Athlon(tm) XP 2000+ stepping 02
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
net_namespace: 548 bytes
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:02.0: Enabling SiS 96x SMBus
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 *12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *10 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 7 10 12 14 15)
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NET: Registered protocol family 8
NET: Registered protocol family 20
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: 0xcde00000-0xcfefffff
  PREFETCH window: 0x00000000bdb00000-0x00000000cdcfffff
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 4899k freed
audit: initializing netlink socket (disabled)
type=2000 audit(1222468098.648:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:01:00.0: Boot video device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
brd: module loaded
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 216k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: ACPI0007:00 is registered as cooling_device0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Uniform Multi-Platform E-IDE driver
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:02.2[D] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
ohci_hcd 0000:00:02.2: OHCI Host Controller
ohci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.2: irq 12, io mem 0xcfffe000
sis900.c: v1.08.10 Apr. 2 2006
USB Universal Host Controller Interface driver v3.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:02.3[A] -> Link [LNKH] -> GSI 5 (level, low) -> IRQ 5
ohci_hcd 0000:00:02.3: OHCI Host Controller
ohci_hcd 0000:00:02.3: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.3: irq 5, io mem 0xcffff000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKG] -> GSI 10 (level, low) -> IRQ 10
0000:00:03.0: Realtek RTL8201 PHY transceiver found at address 1.
0000:00:03.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10, 00:00:00:00:00:00
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:13.0: UHCI Host Controller
uhci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:13.0: irq 11, io base 0x0000cc00
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:13.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:13.1: UHCI Host Controller
uhci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:13.1: irq 11, io base 0x0000d000
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:13.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:13.2: irq 10, io mem 0xcfffcf00
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 0.95, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 4 ports detected
SIS5513: IDE controller (0x1039:0x5513 rev 0xd0) at  PCI slot 0000:00:02.5
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS735 ATA 100 (2nd gen) controller
    ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: Maxtor 6Y080L0, ATA DISK drive
hdb: WDC WD1600BB-00HTA0, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdb: UDMA/100 mode selected
Probing IDE interface ide1...
usb 3-2: new low speed USB device using uhci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Microsoft Microsoft Wireless Intellimouse ExplorerŽ 1.0A as /class/input/input1
input: USB HID v1.10 Mouse [Microsoft Microsoft Wireless Intellimouse ExplorerŽ 1.0A] on usb-0000:00:13.0-2
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
hdc: HL-DT-STDVD-RAM GSA-H55L, ATAPI CD/DVD-ROM drive
hdd: LITE-ON LTR-32123S, ATAPI CD/DVD-ROM drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/66 mode selected
hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdd: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes supported
 hda: hda1 hda2
hdb: max request size: 512KiB
hdb: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63
hdb: cache flushes supported
 hdb: hdb1 < hdb5 > hdb2
hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.103
agpgart: Detected SiS chipset - id:1845
agpgart: AGP aperture is 64M @ 0xd0000000
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: Power Button (FF) as /class/input/input2
sis630_smbus 0000:00:02.0: SIS630 comp. bus not detected, module not inserted.
ACPI: Power Button (FF) [PWRF]
input: Sleep Button (CM) as /class/input/input3
sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x0c00
ACPI: Sleep Button (CM) [SLPB]
input: PC Speaker as /class/input/input4
Real Time Clock Driver v1.12ac
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ACPI: PCI Interrupt 0000:00:02.7[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
intel8x0_measure_ac97_clock: measured 55845 usecs
intel8x0: clocking to 48000
Adding 1903692k swap on /dev/hda2.  Priority:-1 extents:1 across:1903692k
EXT3 FS on hda1, internal journal
loop: module loaded
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
Comment 3 Andrew Morton 2008-10-02 18:04:06 UTC
Please also attach the `dmesg' output for 2.6.23.  Then we can compare
them and see what changed.

Attachments are preferred - pasting it inline causes the text to be
wrodwrapped, which makes comparison harder.

Thanks.
Comment 4 Mateusz Pastewski 2008-10-04 02:11:26 UTC
Created attachment 18151 [details]
the output of dmesg
Comment 5 Andrew Morton 2008-10-04 03:31:17 UTC
Created attachment 18153 [details]
diff -u dmesg-good dmesg-bad
Comment 6 Andrew Morton 2008-10-04 03:32:23 UTC
Beats me.  I cleaned up the pasted dmesg and generated a diff, which I attached.
I don't see anything there which helps, alas.

Comment 7 Anonymous Emailer 2008-10-04 03:34:31 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Thu, 25 Sep 2008 17:35:20 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11649
> 
>            Summary: Network don't work with SiS 900 PCI Fast Ethernet.
>                     Mainly, I tried with DHCP interface. With exacly the
>                     same configurations network works on olders kernels and
>                     don't work on the newest
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.26.5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: low
>           Priority: P1
>          Component: Network
>         AssignedTo: jgarzik@pobox.com
>         ReportedBy: mateusz.pastewski@gmail.com
> 
> 
> Latest working kernel version: 2.6.23.x
> Earliest failing kernel version: 2.6.24.x
> Distribution: Debian Etch 4.0
> Hardware Environment: PC
> Software Enviroment:
> Problem Description:
> 
> I installed Debian Etch 4.0 (with kernel 2.6.18-6-k7) on my machine with ECS
> K7S5A with built-in network card SIS900. During the installation and after
> first boot internet worked like a dream with auto configurated DHCP interface.
> But after change kernel to version 2.6.26.5 internet didn't work. In this
> moment I realized that I didn't change internet configurations, but I thought
> that it can be wrong in hardware configurations. On the other hand, the results
> by lspci and lspci -n, said that everything had worked perfectly. Then, I
> compiled kernel 2.6.26.5 with exacly the same .config file like kernel from
> debian distribution (2.6.18-6-k7) and internet didn't work too. After that, I
> compiled older kernel (2.6.17) with this .config file and internet started
> working! I think, it is proof that it is something wrong in module sis900 in
> the newest kernel versions, because I didn't change others system
> configurations!
> 
> What is more, system didn't have interrupt for ethernet, thought lspci
> recognized network card, sis900 module was started and DHCP was set. To confirm
> my view I attache interrupt's list and logs from internet starting/restarting:
>
> ...
>

A mystery regression in sis900.  There's quie a bit more info i te
bugzilla report.

Comment 8 Mateusz Pastewski 2008-10-04 03:55:48 UTC
Created attachment 18154 [details]
Interrupts in kernel 2.6.23
Comment 9 Mateusz Pastewski 2008-10-04 04:00:47 UTC
Created attachment 18155 [details]
lspci output in 2.6.23
Comment 10 Mateusz Pastewski 2008-10-04 04:10:33 UTC
Created attachment 18156 [details]
lspci output in 2.6.26.5
Comment 11 Mateusz Pastewski 2008-10-04 04:12:45 UTC
Created attachment 18157 [details]
network interfaces
Comment 12 Mateusz Pastewski 2008-10-04 04:29:12 UTC
I'm sorry, but gmail said that I can't send I emails for you, because "it was rejected by the recipient domain".

Beats me but I don't have any idea too. The fack is, I didn't change any configuration in system and I compiled every kernel with the same configuration but it isn't working. I'm sorry, but I don't understand it, so I wrote to you. Please, ask me for everything you want. I'm absolutly waiting on yours hand and foot.
Comment 13 Jarek Poplawski 2008-10-04 10:52:37 UTC
Andrew Morton wrote, On 10/04/2008 12:33 PM:

> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Thu, 25 Sep 2008 17:35:20 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:
> 
>> http://bugzilla.kernel.org/show_bug.cgi?id=11649
>>
>>            Summary: Network don't work with SiS 900 PCI Fast Ethernet.
>>                     Mainly, I tried with DHCP interface. With exacly the
>>                     same configurations network works on olders kernels and
>>                     don't work on the newest
>>            Product: Drivers
>>            Version: 2.5
>>      KernelVersion: 2.6.26.5
>>           Platform: All
>>         OS/Version: Linux
>>               Tree: Mainline
>>             Status: NEW
>>           Severity: low
>>           Priority: P1
>>          Component: Network
>>         AssignedTo: jgarzik@pobox.com
>>         ReportedBy: mateusz.pastewski@gmail.com
>>
>>
>> Latest working kernel version: 2.6.23.x
>> Earliest failing kernel version: 2.6.24.x


I guess it's because of this missing MAC address (as seen in your dmesg):

eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 10, 00:00:00:00:00:00

Jarek P.

PS: there was a change of kernel policy wrt. this.

Comment 14 Stefan Kost 2008-11-07 03:51:42 UTC
I have the same issue. And its
ifconfig eth0 hw ether 01:23:45:67:89:ab
that causes
SIOCSIFHWADDR: cannot assign requested address

I tried all kind ow hw-addresses to no avail.
Comment 15 Daniele Venzano 2008-12-31 00:09:14 UTC
Is this regression still present in the latest kernels ?
Comment 16 Daniele Venzano 2008-12-31 00:44:42 UTC
Created attachment 19560 [details]
Patch to print a warning if the MAC address is all 0s

I have added a simple patch to bug 10201 that prints a warning if the MAC address read from the hardware is composed of all zeros.
It needs a runtime test, then should be included.

I'm also attaching it here for convenience.
Comment 17 Andrew Morton 2009-01-05 14:40:59 UTC
Please submit patches via email.  Add a signed-off-by and a nice changelog.
Please cc this one to netdev@vger.kernel.org and akpm@linux-foundation.org,
thanks.
Comment 18 Erik Andr 2009-12-30 09:56:34 UTC
Is this regression still present in the latest kernels ?
Also, was the patch mentioned by Daniele ever posted via email?
Comment 19 Daniele Venzano 2009-12-30 18:20:26 UTC
I forgot about this the instant I submitted the comment above.
I have no recent information on this, I'm sending the email right now.
Comment 20 Daniele Venzano 2010-01-04 19:06:51 UTC
Patch got in January 2009, with commit d1d5e6b1cead3df6f722d1d458874bd7f93da8d6.

Note You need to log in before you can comment on or make changes to this bug.