Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-04-05 Thread Florian Lohoff
On Wed, Apr 04, 2007 at 03:17:54PM -0300, Renato S. Yamane wrote:
 Florian,
 please, test this patch below As Soon As Possible.
 A big hug to Stephen Hemminger!

I made 5-6 boots and all of them worked whereas previously 1/2 didnt.

Seems to have a positiv effect on the problem i was observing.

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature


Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-04-04 Thread Renato S. Yamane
Florian,
please, test this patch below As Soon As Possible.
A big hug to Stephen Hemminger!

-- 
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ -- KeyID: 0xD420515A
http://www.renatoyamane.com




---
 drivers/net/sky2.c |5 +
 1 file changed, 5 insertions(+)

--- net-2.6.22.orig/drivers/net/sky2.c  2007-04-03 10:57:48.0 -0700
+++ net-2.6.22/drivers/net/sky2.c   2007-04-03 13:08:45.0 -0700
@@ -3770,6 +3770,11 @@
goto out;

pci_enable_wake(pdev, PCI_D0, 0);
+
+   /* Renable clocks */
+   if (hw-chip_id == CHIP_ID_YUKON_EX || hw-chip_id == 
CHIP_ID_YUKON_EC_U)
+   sky2_pci_write32(hw, PCI_DEV_REG3, 0);
+
sky2_reset(hw);

sky2_write32(hw, B0_IMSK, Y2_IS_BASE);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-04-04 Thread Otavio Salvador
Renato S. Yamane [EMAIL PROTECTED] writes:

 Florian,
 please, test this patch below As Soon As Possible.
 A big hug to Stephen Hemminger!


 +
 + /* Renable clocks */
 + if (hw-chip_id == CHIP_ID_YUKON_EX || hw-chip_id == 
 CHIP_ID_YUKON_EC_U)
 + sky2_pci_write32(hw, PCI_DEV_REG3, 0);
 +
   sky2_reset(hw);

Shouldn't this be done inside of sky2_reset?

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
-
Microsoft sells you Windows ... Linux gives
 you the whole house.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2007-03-19 Thread Renato S. Yamane
Hi,
Between 2.6.18 and 2.6.21-rc, sky2 module received a lot of patches!
Florian, is possible compile a new Kernel (as 2.6.21-rc4 available in
www.kernel.org)?

Best regards,

-- 
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ -- KeyID: 0xD420515A
http://www.renatoyamane.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume

2006-12-21 Thread Florian Lohoff


Package: linux-image-2.6.18-3-686
Version: 2.6.18-8
Severity: important


Hi,
on a Fujitsu Siemens LifeBook E8110 the sky2 ethernet driver crashes on
bootup about every second try. This also happens on resume or
rmmod/modprobe. Here is the output captured via a serial console on a
bootup:

sky2 eth1: enabling interface
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 :02:00.0: pci hw error (0x)
sky2 :02:00.0: pci express error (0x)
sky2 eth1: hw error interrupt status 0x
sky2 eth1: ram data read parity error
sky2 eth1: ram data write parity error
sky2 eth1: MAC parity error
sky2 eth1: RX parity error
sky2 eth1: TCP segmentation error
sky2 NULL: hw error interrupt status 0xff
sky2 NULL: ram data read parity error
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: phy write timeout
sky2 eth1: remote fault1BUG: unable to handle kernel NULL pointer dereference 
at virtual address 002c
 printing eip:
e024f152
*pde = 
Oops:  [#1]
SMP 
Modules linked in: button ac battery dm_snapshot dm_mirror dm_mod i915 drm sbp2 
loop snd_hda_intel snd_hda_codec snd_pcm_oss snd_pcm snd_mixer_oss 
snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event pcmcia 
snd_seq ipw3945 joydev snd_timer snd_seq_device hci_usb sdhci tsdev ieee80211 
snd ieee80211_crypt i2c_i801 sky2 intel_agp agpgart bluetooth rtc yenta_socket 
rsrc_nonstatic pcmcia_core serio_raw mmc_core i2c_core parport_pc parport 
firmware_class soundcore pcspkr eth1394 snd_page_alloc evdev psmouse irda 
crc_ccitt ext3 jbd mbcache ide_cd cdrom sd_mod generic ata_piix ehci_hcd libata 
ohci1394 ieee1394 uhci_hcd scsi_mod piix ide_core usbcore thermal processor fan
CPU:0
EIP:0060:[e024f152]Not tainted VLI
EFLAGS: 00010296   (2.6.18-3-686 #1) 
EIP is at sky2_phy_intr+0x10/0x19e [sky2]
eax: de15adc0   ebx: 0001   ecx: 0046   edx: 0001
esi:    edi: c13f5b80   ebp:    esp: c0313ee8
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, ti=c0312000 task=c02c76a0 task.ti=c0312000)
Stack: de15adc0 e024eefd 00042010  c13f5b80 fffef9d2 e024fe35 c0313f50 
   de977400 de15adc0 0040 c0215ff3  c0215e47   
   c0361b14 0286 c01254c5  0286  de977400 c13f5b80 
Call Trace:
 [e024eefd] sky2_hw_error+0xe5/0x110 [sky2]
 [e024fe35] sky2_poll+0x181/0x8e8 [sky2]
 [c0215ff3] i8042_timer_func+0x0/0xb
 [c0215e47] i8042_interrupt+0x4c/0x1f8
 [c01254c5] __mod_timer+0x99/0xa3
 [c022a4c3] net_rx_action+0x92/0x17f
 [c012186c] __do_softirq+0x5a/0xbb
 [c0121903] do_softirq+0x36/0x3a
 [c0103747] apic_timer_interrupt+0x1f/0x24
 [e003f5ac] acpi_processor_idle+0x1ec/0x380 [processor]
 [c0101b52] cpu_idle+0x9f/0xb9
 [c03186fd] start_kernel+0x379/0x380
Code: 68 51 50 52 ff 73 04 68 81 22 25 e0 e8 32 e8 ec df 83 c4 14 59 5b 5b 5e 
5f 5d c3 55 57 56 53 89 d3 83 ec 08 89 04 24 8b 6c 90 08 8b 45 2c a8 02 0f 84 
7c 01 00 00 8d 85 d0 02 00 00 e8 11 1e 03 
EIP: [e024f152] sky2_phy_intr+0x10/0x19e [sky2] SS:ESP 0068:c0313ee8
 0Kernel panic - not syncing: Fatal exception in interrupt


Here is an lspci -vvv output of the chip:

02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E 
Gigabit Ethernet Controller (rev 12)
Subsystem: Fujitsu Limited. Unknown device 139a
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 66
Region 0: Memory at f000 (64-bit, non-prefetchable) [size=16K]
Region 2: I/O ports at 2000 [size=256]
[virtual] Expansion ROM at 3400 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable+
Address: fee0  Data: 4042
Capabilities: [e0] Express Legacy Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s unlimited, L1 unlimited
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
Link: Latency L0s 256ns, L1 unlimited
Link: ASPM