mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PROBLEM Please Help
@ 2006-08-18  6:22 Ashok Shankar Das
  2006-08-18  6:39 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Ashok Shankar Das @ 2006-08-18  6:22 UTC (permalink / raw)
  To: linux-kernel

[1.] One line summary of the problem:
Network Transmission happens if mouse is moved continuously

[2.] Full description of the problem/report:
This is a weired problem I faced while trying the Linux-2.6.17-7
/8
You start pinging to a perticular IP then there will be no activity.
If The MOUSE is moved or if scroll wheel is scrolled then The ping
shows some activity.
I used MTR(MyTraceRoute) and ping Both gave the same result.


[3.] Keywords (i.e., modules, networking, kernel):
Networking, Mouse

[4.] Kernel version (from /proc/version):
Linux version 2.6.17.7 (root@thinlab) (gcc version 3.3.6) #2 Wed Jul
26 16:39:17 IST 2006

Linux version 2.6.17.8 (root@thinlab) (gcc version 3.3.6) #2 Thu Aug
17 18:30:15 IST 2006

[5.] Output of Oops.. message (if applicable) with symbolic information
     resolved (see Documentation/oops-
tracing.txt)
NONE
[6.] A small shell script or example program which triggers the
     problem (if possible)
NONE
[7.] Environment

[7.1.] Software (add the output of the ver_linux script here)
[7.2
.] Processor information (from /proc/cpuinfo):
root@localhost:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : CentaurHauls
cpu family      : 6
model           : 9
model name      : VIA Nehemiah

stepping        : 8
cpu MHz         : 796.167
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes

cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr cx8 mtrr pge cmov pat mmx
fxsr sse up rng rng_en ace ace_en
bogomips        : 1594.38

[7.3.] Module information (from /proc/modules):

NO MODULES
[7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
root@localhost:~# cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard

0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0378-037a : parport0
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial
4000-407f : 0000:00:
11.0
  4000-407f : motherboard
    4000-4003 : PM1a_EVT_BLK
    4008-400b : PM_TMR
    4020-4023 : GPE0_BLK
40f0-40f1 : PM1a_CNT_BLK
5000-500f : 0000:00:11.0
  5000-500f : motherboard
    5000-500f : pnp 00:02

e000-e0ff : 0000:00:11.5
  e000-e0ff : VIA8233
e400-e4ff : 0000:00:12.0
  e400-e4ff : via-rhine
e900-e90f : 0000:00:11.1
  e900-e907 : ide0
ea00-ea1f : 0000:00:10.0
  ea00-ea1f : uhci_hcd
eb00-eb1f : 0000:00:
10.1
  eb00-eb1f : uhci_hcd
===============================
root@localhost:~# cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7dff : Video ROM

000d0000-000d9fff : Adapter ROM
000f0000-000fffff : System ROM
00100000-06feffff : System RAM
  00100000-004ddc78 : Kernel code
  004ddc79-006ce6fb : Kernel data
06ff0000-06ff2fff : ACPI Non-volatile Storage

06ff3000-06ffffff : ACPI Tables
e4000000-e7ffffff : 0000:00:00.0
e8000000-ebffffff : PCI Bus #01
  e8000000-ebffffff : 0000:01:00.0
    e8000000-e8ffffff : vesafb
ec000000-edffffff : PCI Bus #01
  ec000000-ecffffff : 0000:01:
00.0
  ed000000-ed00ffff : 0000:01:00.0
ee000000-ee0000ff : 0000:00:10.3
  ee000000-ee0000ff : ehci_hcd
ee001000-ee0010ff : 0000:00:12.0
  ee001000-ee0010ff : via-rhine
ffff0000-ffffffff : reserved



[7.5.] PCI information ('lspci -vvv' as root)
Note* as it is an small system i dont have lspci on it. the bellow is
a "cat /proc/bus/pci/devices" out put
0000	11063123	0	e4000008	00000000	00000000	00000000	00000000	00000000	00000000	04000000	00000000	00000000	00000000	00000000	00000000	00000000	agpgart-via

0008	1106b091	0	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000
0080	11063038	b	00000000	00000000	00000000	00000000	0000ea01	00000000	00000000	00000000	00000000	00000000	00000000	00000020	00000000	00000000	uhci_hcd

0081	11063038	c	00000000	00000000	00000000	00000000	0000eb01	00000000	00000000	00000000	00000000	00000000	00000000	00000020	00000000	00000000	uhci_hcd
0083	11063104	a	ee000000	00000000	00000000	00000000	00000000	00000000	00000000	00000100	00000000	00000000	00000000	00000000	00000000	00000000	ehci_hcd

0088	11063177	0	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000	00000000
0089	11060571	b	00000000	00000000	00000000	00000000	0000e901	00000000	00000000	00000000	00000000	00000000	00000000	00000010	00000000	00000000	VIA_IDE

008d	11063059	b	0000e001	00000000	00000000	00000000	00000000	00000000	00000000	00000100	00000000	00000000	00000000	00000000	00000000	00000000	VIA
82xx Audio
0090	11063065	b	0000e401	ee001000	00000000	00000000	00000000	00000000	00000000	00000100	00000100	00000000	00000000	00000000	00000000	00000000	via-rhine

0100	11063122	f	e8000008	ec000000	00000000	00000000	00000000	00000000	ed000002	04000000	01000000	00000000	00000000	00000000	00000000	00010000
[7.6.] SCSI information (from /proc/scsi/scsi)

[7.7.] Other information that might be relevant to the problem

       (please look in /proc and include all information that you
       think to be relevant):
root@localhost:/proc/net# cat dev
Inter-|   Receive                                                |  Transmit

 face |bytes    packets errs drop fifo frame compressed
multicast|bytes    packets errs drop fifo colls carrier compressed
  eth0:   72101     721    0   92    0     0          0         0
61735     362    0    0    0     0       0          0

    lo:       0       0    0    0    0     0          0         0
  0       0    0    0    0     0       0          0
irlan0:       0       0    0    0    0     0          0         0
  0       0    0    0    0     0       0          0

========================
root@localhost:/proc/net# cat netlink
sk       Eth Pid    Groups   Rmem     Wmem     Dump     Locks
c6f9be00 0   0      00000000 0        0        00000000 2
c6ef0e00 4   0      00000000 0        0        00000000 2

c6e04400 10  0      00000000 0        0        00000000 2
c112da00 15  880    ffffffff 0        0        00000000 2
c6f9bc00 15  0      00000000 0        0        00000000 2
c6fc6200 16  0      00000000 0        0        00000000 2

==========================



[X.] Other notes, patches, fixes, workarounds:


This is a VIA Board for embeded systm.
The bios is PC compatible.
The 2.6.15 kernel works perfectly fine.
The config file for 2.6.15 and for 2.6.17 are same.
If needed i can give the kernel config file.

Please help me to overcome this problem.

-- 
Thanks
Ashok.
-------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM Please Help
  2006-08-18  6:22 PROBLEM Please Help Ashok Shankar Das
@ 2006-08-18  6:39 ` David Miller
  2006-08-18  6:43   ` Chris Wedgwood
  0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2006-08-18  6:39 UTC (permalink / raw)
  To: ashok.s.das; +Cc: linux-kernel

From: "Ashok Shankar Das" <ashok.s.das@gmail.com>
Date: Fri, 18 Aug 2006 11:52:58 +0530

> You start pinging to a perticular IP then there will be no activity.
> If The MOUSE is moved or if scroll wheel is scrolled then The ping
> shows some activity.

The IRQ for the network device is not being enabled properly.  The
MOUSE happens to be on the same shared interrupt as the network
device so when you move it the interrupt handler for the network
device gets invoked too.

Just my guess...


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM Please Help
  2006-08-18  6:39 ` David Miller
@ 2006-08-18  6:43   ` Chris Wedgwood
  2006-08-18 17:31     ` Ashok Shankar Das
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Wedgwood @ 2006-08-18  6:43 UTC (permalink / raw)
  To: David Miller; +Cc: ashok.s.das, linux-kernel

On Thu, Aug 17, 2006 at 11:39:10PM -0700, David Miller wrote:

> The IRQ for the network device is not being enabled properly.  The
> MOUSE happens to be on the same shared interrupt as the network
> device so when you move it the interrupt handler for the network
> device gets invoked too.
>
> Just my guess...

Some (a lot) of VIA silicon needs a quirk for interrupts to work
properly (ACPI should do the work for us but it's not reliable).

Please apply:

    http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc2/2.6.18-rc2-mm1/broken-out/pci-quirk_via_irq-behaviour-change.patch

and see if that helps.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM Please Help
  2006-08-18  6:43   ` Chris Wedgwood
@ 2006-08-18 17:31     ` Ashok Shankar Das
  2006-08-18 19:28       ` Chris Wedgwood
  0 siblings, 1 reply; 6+ messages in thread
From: Ashok Shankar Das @ 2006-08-18 17:31 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: David Miller, linux-kernel

On 8/18/06, Chris Wedgwood <cw@f00f.org> wrote:
> On Thu, Aug 17, 2006 at 11:39:10PM -0700, David Miller wrote:
>
> > The IRQ for the network device is not being enabled properly.  The
> > MOUSE happens to be on the same shared interrupt as the network
> > device so when you move it the interrupt handler for the network
> > device gets invoked too.
> >
> > Just my guess...
>
> Some (a lot) of VIA silicon needs a quirk for interrupts to work
> properly (ACPI should do the work for us but it's not reliable).
>
> Please apply:
>
>     http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc2/2.6.18-rc2-mm1/broken-out/pci-quirk_via_irq-behaviour-change.patch
>
> and see if that helps.
>
I will try this On Monday ;)
Till then rest in peace.

But i will post problems if get unsuccess ;)

-- 
Thanks
Ashok.
-------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM Please Help
  2006-08-18 17:31     ` Ashok Shankar Das
@ 2006-08-18 19:28       ` Chris Wedgwood
  2006-09-01 17:50         ` Ashok Shankar Das
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Wedgwood @ 2006-08-18 19:28 UTC (permalink / raw)
  To: Ashok Shankar Das; +Cc: David Miller, linux-kernel

On Fri, Aug 18, 2006 at 11:01:37PM +0530, Ashok Shankar Das wrote:

> But i will post problems if get unsuccess ;)

Please also let us know if it works.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM Please Help
  2006-08-18 19:28       ` Chris Wedgwood
@ 2006-09-01 17:50         ` Ashok Shankar Das
  0 siblings, 0 replies; 6+ messages in thread
From: Ashok Shankar Das @ 2006-09-01 17:50 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: David Miller, linux-kernel

Hi Friends,
Yes the above patch worked for me On VIA board. Many many thanks for the help.
Well I am sorry to report back to you.

Anyways thanks.

On 8/19/06, Chris Wedgwood <cw@f00f.org> wrote:
> On Fri, Aug 18, 2006 at 11:01:37PM +0530, Ashok Shankar Das wrote:
>
> > But i will post problems if get unsuccess ;)
>
> Please also let us know if it works.
>


-- 
Thanks
Ashok.
-------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-01 17:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-18  6:22 PROBLEM Please Help Ashok Shankar Das
2006-08-18  6:39 ` David Miller
2006-08-18  6:43   ` Chris Wedgwood
2006-08-18 17:31     ` Ashok Shankar Das
2006-08-18 19:28       ` Chris Wedgwood
2006-09-01 17:50         ` Ashok Shankar Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®