Bug#661229: linux-image-3.2.0-1-amd64: sky2 driver takes 70sec to bring up ethernet port

2012-02-26 Thread Johannes Resch

Hi Ben,

On 02/26/2012 05:31 AM, Ben Hutchings wrote:

On Sat, 2012-02-25 at 13:00 +0100, Johannes Resch wrote:

Package: linux-2.6
Version: 3.2.4-1
Severity: normal

Hi,

after upgrading the kernel from 3.1.0-1 to 3.2.0-1 on a machine running Debian
testing, the sky2 driver seems to take over 70 sec to bring up the ethernet
link. Also, the reported link speed does not seem to be correct.

[...]

Have you rebooted back into 3.1.0-1 to verify that this really is a
regression?  If not, can you do so?


Actually, yesterday I just looked at the kern.log to verify it was OK 
before, e.g.


Feb 11 16:13:06 sirius kernel: [   18.964173] sky2 :05:00.0: eth0: 
enabling interface
Feb 11 16:13:06 sirius kernel: [   21.327603] sky2 :05:00.0: eth0: 
Link is up at 1000 Mbps, full duplex, flow control both


Now that I've done some more cold boots, it appears to me I've opened 
this bug in error - the behavior seems to be non-deterministic and not 
clearly related to the kernel version.
E.g., some times it will take similarly long with 3.1.0-1, and some 
times it will work as expected with either kernel version.



3.1.0-1:
Feb 26 13:04:14 sirius kernel: [   18.609946] sky2 :05:00.0: eth0: 
enabling interface
Feb 26 13:05:14 sirius kernel: [   89.787708] sky2 :05:00.0: eth0: 
Link is up at 100 Mbps, full duplex, flow control both


3.2.0-1:
Feb 26 13:08:22 sirius kernel: [   18.549255] sky2 :05:00.0: eth0: 
enabling interface
Feb 26 13:08:22 sirius kernel: [   23.589363] sky2 :05:00.0: eth0: 
Link is up at 1000 Mbps, full duplex, flow control both


3.1.0-1:
Feb 26 12:10:07 sirius kernel: [   16.462950] sky2 :05:00.0: eth0: 
enabling interface
Feb 26 12:10:07 sirius kernel: [   23.880487] sky2 :05:00.0: eth0: 
Link is up at 1000 Mbps, full duplex, flow control both



I think I do need to check the ethernet cabling..sorry for the noise.



Can you pass traffic once the link is up?


Yes.


Best regards,
-jr



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#661229: linux-image-3.2.0-1-amd64: sky2 driver takes 70sec to bring up ethernet port

2012-02-25 Thread Johannes Resch
Package: linux-2.6
Version: 3.2.4-1
Severity: normal

Hi,

after upgrading the kernel from 3.1.0-1 to 3.2.0-1 on a machine running Debian
testing, the sky2 driver seems to take over 70 sec to bring up the ethernet
link. Also, the reported link speed does not seem to be correct.

This is what I see with 3.2.0-1:

root@sirius:/data/home/jr/clamz# dmesg | grep sky
[1.562738] sky2: driver version 1.30
[1.562763] sky2 :05:00.0: PCI INT A - GSI 18 (level, low) - IRQ 18
[1.562774] sky2 :05:00.0: setting latency timer to 64
[1.562798] sky2 :05:00.0: Yukon-2 EC Ultra chip revision 3
[1.562890] sky2 :05:00.0: irq 73 for MSI/MSI-X
[1.565365] sky2 :05:00.0: eth0: addr bc:ae:c5:02:86:33
[   18.485687] sky2 :05:00.0: eth0: enabling interface
[   84.967943] sky2 :05:00.0: eth0: Link is up at 100 Mbps, full duplex,
flow control both

Note that the driver claims that link speed is 100Mbit, however the remote end
(AVM Fritzbox 7390) claims the link speed is 1Gbit.

Other then running a apt-get dist-upgrade, which led to the kernel (and other
packages) being upgraded, no changes were made to the networking setup. In
particular, no changes were made to the physical setup (cabling etc), and the
setup was working fine with 3.1.0-1 before.

Best regards,
-jr



-- Package-specific info:
** Version:
Linux version 3.2.0-1-amd64 (Debian 3.2.4-1) (wa...@debian.org) (gcc version 
4.6.2 (Debian 4.6.2-12) ) #1 SMP Sun Feb 5 15:17:15 UTC 2012

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-1-amd64 
root=UUID=f9cee7b2-5c98-4492-b621-7437de765f42 ro quiet

** Tainted: PO (4097)
 * Proprietary module has been loaded.
 * Out-of-tree module has been loaded.

** Kernel log:
[3.407759] usb 3-5.1: new full-speed USB device number 4 using ehci_hcd
[3.519078] usb 3-5.1: New USB device found, idVendor=0409, idProduct=02b9
[3.519082] usb 3-5.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[3.519085] usb 3-5.1: Product: PA271W
[3.519088] usb 3-5.1: Manufacturer: NEC
[3.519090] usb 3-5.1: SerialNumber: 11102966UB
[3.631313] ata5: SATA link down (SStatus 0 SControl 300)
[3.951167] ata6: SATA link down (SStatus 0 SControl 300)
[3.951650] scsi 6:0:0:0: Direct-Access ATA  OCZ-VERTEX3 MI   2.02 
PQ: 0 ANSI: 5
[3.952420] scsi 13:0:0:0: Processor Marvell  91xx Config  1.01 
PQ: 0 ANSI: 5
[3.953661] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 
TB/1.81 TiB)
[3.953893] sd 0:0:0:0: [sda] Write Protect is off
[3.953895] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[3.953915] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[3.957726] sr0: scsi3-mmc drive: 94x/94x writer dvd-ram cd/rw xa/form2 cdda 
tray
[3.957730] cdrom: Uniform CD-ROM driver Revision: 3.20
[3.957944] sr 3:0:0:0: Attached scsi CD-ROM sr0
[3.958099] sd 6:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 
GiB)
[3.958228] sd 6:0:0:0: [sdb] Write Protect is off
[3.958230] sd 6:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[3.958334] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[3.958710]  sdb: sdb1 sdb2 sdb3
[3.959007] sd 6:0:0:0: [sdb] Attached SCSI disk
[3.985652]  sda: sda1 sda2 sda3
[3.986824] sd 0:0:0:0: [sda] Attached SCSI disk
[   13.514765] generic-usb 0003:0409:02B9.0005: timeout initializing reports
[   13.515119] generic-usb 0003:0409:02B9.0005: hiddev0,hidraw4: USB HID v1.10 
Device [NEC PA271W] on usb-:00:1a.7-5.1/input0
[   13.978182] device-mapper: uevent: version 1.0.3
[   13.978227] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: 
dm-de...@redhat.com
[   14.12] PM: Starting manual resume from disk
[   14.128891] PM: Hibernation image partition 8:3 present
[   14.128892] PM: Looking for hibernation image.
[   14.129063] PM: Image not found (code -22)
[   14.129067] PM: Hibernation image not present or could not be loaded.
[   14.135764] kjournald starting.  Commit interval 5 seconds
[   14.135792] EXT3-fs (sdb3): mounted filesystem with ordered data mode
[   14.477014] udevd[412]: starting version 175
[   14.529269] input: Power Button as 
/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
[   14.529274] ACPI: Power Button [PWRB]
[   14.529325] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
[   14.529328] ACPI: Power Button [PWRF]
[   14.533966] wmi: Mapper loaded
[   14.546851] iTCO_vendor_support: vendor-support=0
[   14.548392] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[   14.548490] iTCO_wdt: Found a ICH10R TCO device (Version=2, TCOBASE=0x0860)
[   14.548546] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   14.548710] i801_smbus :00:1f.3: PCI INT C - GSI 18 (level, low) - IRQ 
18
[   14.548715] ACPI: resource :00:1f.3 [io  0x1000-0x101f] conflicts with 
ACPI region SMRG [io 0x1000-0x100f]
[   14.548717] ACPI: If an ACPI driver is