Skip to contentSkip to conversation

2.6.28: BUG in r8169

DISCUSSION Andrey Vul 2 participants 2 messages Dec 31, 2008

lore
Share & tools
lore

Andrey Vul

author
#0 lore raw

trigger: wget 192.168.1.42/jdk-6-sdk-docs.zip eth0 speed grinds to zero in a few seconds IIRC r8169 worked fine in 2.6.27.8
Anybody want to assist me with my first git bisect?

[28481.701074] ------------[ cut here ]------------
[28481.701082] WARNING: at net/sched/sch_generic.c:226
dev_watchdog+0x131/0x1cc()
[28481.701087] NETDEV WATCHDOG: eth0 (r8169): transmit timed out
[28481.701091] Modules linked in: uvcvideo ohci1394 compat_ioctl32
sdhci_pci videodev ieee1394 sdhci sg iwlagn pcspkr joydev v4l1_compat
mmc_core r8169 iwlcore mii
[28481.701125] Pid: 0, comm: swapper Not tainted 2.6.28-gentoo #1
[28481.701130] Call Trace:
[28481.701134]  <IRQ>  [<ffffffff810387a1>] warn_slowpath+0xae/0xcd
[28481.701153]  [<ffffffff81048a4d>] ? __queue_work+0x35/0x3d
[28481.701161]  [<ffffffff8102f301>] ? __enqueue_entity+0x74/0x76
[28481.701168]  [<ffffffff8102f301>] ? __enqueue_entity+0x74/0x76
[28481.701176]  [<ffffffff81033b10>] ? enqueue_task_fair+0x16f/0x17b
[28481.701186]  [<ffffffff81050d3a>] ? getnstimeofday+0x3a/0x9b
[28481.701194]  [<ffffffff8105013b>] ? sched_clock_cpu+0x14b/0x158
[28481.701201]  [<ffffffff81050d3a>] ? getnstimeofday+0x3a/0x9b
[28481.701209]  [<ffffffff8104e8a8>] ? ktime_get_ts+0x49/0x4e
[28481.701218]  [<ffffffff8101c7cb>] ? lapic_next_event+0x15/0x19
[28481.701225]  [<ffffffff81053674>] ? clockevents_program_event+0x73/0x7c
[28481.701233]  [<ffffffff8105472d>] ? tick_dev_program_event+0x2a/0xa7
[28481.701241]  [<ffffffff8134cad2>] dev_watchdog+0x131/0x1cc
[28481.701249]  [<ffffffff8102142f>] ? hpet_legacy_next_event+0xb/0xd
[28481.701257]  [<ffffffff8104ec85>] ? hrtimer_run_pending+0x3a/0x105
[28481.701264]  [<ffffffff8105472d>] ? tick_dev_program_event+0x2a/0xa7
[28481.701271]  [<ffffffff8134c9a1>] ? dev_watchdog+0x0/0x1cc
[28481.701280]  [<ffffffff81041360>] run_timer_softirq+0x17f/0x1f7
[28481.701287]  [<ffffffff8103d3a2>] __do_softirq+0x72/0x149
[28481.701295]  [<ffffffff8100d1dc>] call_softirq+0x1c/0x28
[28481.701302]  [<ffffffff8100e86e>] do_softirq+0x34/0x72
[28481.701309]  [<ffffffff8103d288>] irq_exit+0x36/0x82
[28481.701316]  [<ffffffff8100ea16>] do_IRQ+0x16a/0x19c
[28481.701323]  [<ffffffff8100c466>] ret_from_intr+0x0/0xa
[28481.701326]  <EOI>  [<ffffffff812371c5>] ? acpi_idle_enter_bm+0x2cb/0x33b
[28481.701342]  [<ffffffff812371bb>] ? acpi_idle_enter_bm+0x2c1/0x33b
[28481.701351]  [<ffffffff812e4d21>] ? cpuidle_idle_call+0x89/0xc4
[28481.701358]  [<ffffffff8100ad10>] ? cpu_idle+0x47/0x7e
[28481.701367]  [<ffffffff814350bc>] ? start_secondary+0x175/0x17a
[28481.701372] ---[ end trace 975587f7eeca5188 ]---
Signature · 1 line
Andrey Vul
#1 lore raw
Quoted 5 lines · Andrey Vul

trigger: wget 192.168.1.42/jdk-6-sdk-docs.zip eth0 speed grinds to zero in a few seconds IIRC r8169 worked fine in 2.6.27.8
Anybody want to assist me with my first git bisect?

There is lots of documentation, tutorials and howto documents etc on git bisect online.

Here are a few:
http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
http://kerneltrap.org/node/11753
http://jbowes.dangerouslyinc.com/2007/02/18/git-bisect-a-practical-example-with-yum/
http://desprofundis.blogspot.com/2008/06/git-bisect-instructions.html
http://elinux.org/Notes_On_Git_Bisect#bisect

Mostly it's as simple as
install git
clone (usually) Linus' tree

 $ git bisect start
 $ git bisect bad v[bad-version]
 $ git bisect goot v[good-version]
 git now checks out a version to test, copy in your config, run make 
oldconfig, copile, test, then run
 $ git bisect [good|bad]
 depending on the result of the test and repeat with the next version git 
spits out until git tells you what the bad commit is.
Signature · 3 lines
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html