mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lennert Buytenhek <buytenh@wantstofly.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>,
	David Brownell <david-b@pacbell.net>,
	Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@suse.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	akpm@linux-foundation.org, nico@cam.org
Subject: [PATCH] Re: [Bug #10713] ehci splatter in 2.6.26-rc2
Date: Tue, 20 May 2008 12:50:54 +0200	[thread overview]
Message-ID: <20080520105054.GA23368@xi.wantstofly.org> (raw)
In-Reply-To: <20080520001824.GA15878@xi.wantstofly.org>

On Tue, May 20, 2008 at 02:18:24AM +0200, Lennert Buytenhek wrote:

> > > This message has been generated automatically as a part of a report
> > > of recent regressions.
> > > 
> > > The following bug entry is on the current list of known regressions
> > > from 2.6.25.  Please verify if it still should be listed.
> > > 
> > > 
> > > Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=10713
> > > Subject		: ehci splatter in 2.6.26-rc2
> > > Submitter	: Lennert Buytenhek <buytenh@wantstofly.org>
> > > Date		: 2008-05-14 11:24 (5 days old)
> > > References	: http://marc.info/?l=linux-kernel&amp;m=121076435420129&amp;w=4
> > > Handled-By	: David Brownell <david-b@pacbell.net>
> > 
> > Just re-checked, and this device (a USB to dual PS/2 cable) works
> > fine on 2.6.25 on this hardware:
> > 
> > 	usb 1-1: new low speed USB device using orion-ehci and address 2
> > 	usb 1-1: configuration #1 chosen from 1 choice
> > 	input: PS2 to USB AdapterA3 as /class/input/input0
> > 	input: USB HID v1.10 Keyboard [PS2 to USB AdapterA3] on usb-orion-ehci.0-1
> > 	input: PS2 to USB AdapterA3 as /class/input/input1
> > 	input: USB HID v1.10 Mouse [PS2 to USB AdapterA3] on usb-orion-ehci.0-1
> > 
> > But on 2.6.26-rc3 it just gives me:
> > 
> > 	usb 1-1: new low speed USB device using orion-ehci and address 2
> > 	Unable to handle kernel NULL pointer dereference at virtual address 00000000
> > 	pgd = c0004000
> > 	[00000000] *pgd=00000000
> > 	Internal error: Oops: 5 [#1] PREEMPT
> > 	Modules linked in:
> > 	CPU: 0    Not tainted  (2.6.26-rc3 #347)
> > 	PC is at qh_append_tds+0x24c/0x47c
> > 	LR is at ehci_qtd_alloc+0x30/0x5c
> > 	pc : [<c0242374>]    lr : [<c0241d48>]    psr: 00000093
> > 	sp : c7cfdcb0  ip : c7e3c4c0  fp : c7cfdcfc
> > 	r10: ffc83080  r9 : 00000008  r8 : c7d12240
> > 	r7 : 80000080  r6 : 00000080  r5 : 00000000  r4 : 00000002
> > 	r3 : c7d3f000  r2 : 00000000  r1 : 40800000  r0 : 08085000
> > 	Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
> > 	Control: 0005317f  Table: 00004000  DAC: 00000017
> > 	Process khubd (pid: 79, stack limit = 0xc7cfc268)
> > 	Stack: (0xc7cfdcb0 to 0xc7cfe000)
> > 	[...]
> > 	Backtrace:
> > 	[<c0242128>] (qh_append_tds+0x0/0x47c) from [<c0243ca0>] (ehci_urb_enqueue+0x100/0xff4)
> > 	[<c0243ba0>] (ehci_urb_enqueue+0x0/0xff4) from [<c0234c30>] (usb_hcd_submit_urb+0x824/0x91c)
> > 	[<c023440c>] (usb_hcd_submit_urb+0x0/0x91c) from [<c0235098>] (usb_submit_urb+0x224/0x260)
> > 	[<c0234e74>] (usb_submit_urb+0x0/0x260) from [<c0235b5c>] (usb_start_wait_urb+0x44/0xac)
> > 	 r6:c7d12240 r5:c7cfde80 r4:00000000
> > 	[<c0235b18>] (usb_start_wait_urb+0x0/0xac) from [<c0235dac>] (usb_control_msg+0xc8/0xec)
> > 	 r8:00000000 r7:00000100 r6:fffffff4 r5:00000040 r4:c7e3dc20
> > 	[<c0235ce4>] (usb_control_msg+0x0/0xec) from [<c0230854>] (hub_port_init+0x274/0x5e4)
> > 	[<c02305e0>] (hub_port_init+0x0/0x5e4) from [<c0231bec>] (hub_thread+0x608/0xc10)
> > 	[<c02315e4>] (hub_thread+0x0/0xc10) from [<c0059e20>] (kthread+0x5c/0x94)
> > 	[<c0059dc4>] (kthread+0x0/0x94) from [<c0047908>] (do_exit+0x0/0x67c)
> > 	 r6:00000000 r5:00000000 r4:00000000
> > 	Code: e51bc040 e5932000 e51c309c e1520003 (15923000)
> > 	---[ end trace ce1992535f2e8e4d ]---
> > 	note: khubd[79] exited with preempt_count 1
> > 
> > If you have no idea what might have caused this to creep in, I guess
> > I'll have to bisect it?
> 
> A bisect turns up this:
> 
> 	7329e211b987a493cbcfca0e98c60eb108ab42df is first bad commit
> 	commit 7329e211b987a493cbcfca0e98c60eb108ab42df
> 	Author: Alan Stern <stern@rowland.harvard.edu>
> 	Date:   Thu Apr 3 18:02:56 2008 -0400
> 
> 	    USB: root hubs don't lie about their number of TTs
> 	    
> 	    Currently EHCI root hubs enumerate with a bDeviceProtocol code
> 	    indicating that they possess a Transaction Translator.  However the
> 	    vast majority of controllers do not; they rely on a companion
> 	    controller to handle full- and low-speed communications.  This patch
> 	    (as1064) changes the root-hub device descriptor to match the actual
> 	    situation.
> 	    
> 	    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
> 	    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> 
> And indeed, reverting this commit from 2.6.26-rc3 makes my system
> stop oopsing when I plug in the USB-PS/2 adapter (a low speed device),
> and makes it work again as it did in 2.6.25.

This patch appears to fix it:


The Orion EHCI root hub does have a built-in Transaction Translator.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>

Index: linux-2.6.26-rc3/drivers/usb/host/ehci-orion.c
===================================================================
--- linux-2.6.26-rc3.orig/drivers/usb/host/ehci-orion.c
+++ linux-2.6.26-rc3/drivers/usb/host/ehci-orion.c
@@ -115,6 +115,8 @@ static int ehci_orion_setup(struct usb_h
 	if (retval)
 		return retval;
 
+	hcd->has_tt = 1;
+
 	ehci_reset(ehci);
 	ehci_port_power(ehci, 0);
 


---

  parent reply	other threads:[~2008-05-20 10:51 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-18 11:10 2.6.26-rc2-git5: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-05-18 11:10 ` [Bug #10493] mips BCM47XX compile error Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10708] V4L2-based build error Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10670] BUG: linux-2.6.26-rc1 oops at thinkpad_acpi:led_set_status Rafael J. Wysocki
2008-05-18 13:15   ` Henrique de Moraes Holschuh
2008-05-18 11:13 ` [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10632] [2.6.26-rc1] Output to console stops when booted without 'vga=791' Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10701] snd_pcsp lockdep warning Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10679] " pcspkr: fix dependancies" breaks artsd Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10710] [BISECTED] Lots of "rescheduling IPIs" in powertop Rafael J. Wysocki
2008-05-18 12:23   ` Vegard Nossum
2008-05-18 12:33     ` Thomas Gleixner
2008-05-18 17:59     ` Andi Kleen
2008-05-18 19:27       ` Thomas Gleixner
2008-05-18 20:30         ` Andi Kleen
2008-05-19  0:57           ` Thomas Gleixner
2008-05-18 11:13 ` [Bug #10613] BIOS bug, APIC version is 0 for CPU#0! Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10638] sysbench+mysql(oltp, readonly) 30% regression with 2.6.26-rc1 Rafael J. Wysocki
2008-05-18 17:21   ` Peter Zijlstra
2008-05-18 18:37     ` Peter Zijlstra
2008-05-19  1:24       ` Zhang, Yanmin
2008-05-19  5:55         ` Peter Zijlstra
2008-05-19  6:49           ` Zhang, Yanmin
2008-05-19  7:10             ` Peter Zijlstra
     [not found]             ` <20080530094541.GA32508@elte.hu>
2008-06-02  4:57               ` Zhang, Yanmin
2008-06-04 11:19                 ` Ingo Molnar
2008-06-05  2:34                   ` Zhang, Yanmin
2008-05-18 11:13 ` [Bug #10645] 2.6.26-rc1 lost half the RAM on UltraSPARC 5 Rafael J. Wysocki
2008-05-19  4:13   ` David Miller
2008-05-19 14:40     ` Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10678] 2.6.26-rc1: warnings from sysfs, bluetooth related Rafael J. Wysocki
2008-05-19 22:58   ` Pavel Machek
2008-05-20 22:18     ` Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10650] 2.6.26-rcX VC console scrolling regression Rafael J. Wysocki
2008-05-18 12:44   ` Jan Engelhardt
2008-05-18 11:13 ` [Bug #10606] 2.6.26-rc1 regression: ACPI fails to load SDT. - Dell M1530 Rafael J. Wysocki
2008-05-18 23:08   ` Nigel Cunningham
2008-05-18 11:13 ` [Bug #10711] BUG: unable to handle kernel paging request - scsi_bus_uevent Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10620] X does not resume (intel chipset) Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10643] s390 kvm_virtio.c build error Rafael J. Wysocki
2008-05-18 12:27   ` Heiko Carstens
2008-05-18 12:33     ` Avi Kivity
2008-05-18 11:13 ` [Bug #10634] volanoMark regression with kernel 2.6.26-rc1 Rafael J. Wysocki
2008-05-18 17:21   ` Peter Zijlstra
2008-05-18 18:37     ` Peter Zijlstra
2008-05-18 11:13 ` [Bug #10648] CONFIG_PRINTK_TIME broken on git HEAD ? Rafael J. Wysocki
2008-05-18 17:21   ` Peter Zijlstra
2008-05-18 18:37     ` Peter Zijlstra
2008-05-21  0:38       ` Gabriel C
2008-05-21  1:10         ` Gabriel C
2008-05-18 11:13 ` [Bug #10557] [regression] latest git couse kernel oops Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10628] 2.6.26-rc1-git1 -- trying to get vblank count for disabled pipe 0 Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10616] Horrendous Audio Stutter - current git Rafael J. Wysocki
2008-05-18 17:21   ` Peter Zijlstra
2008-05-18 18:15     ` Parag Warudkar
2008-05-18 18:30       ` Peter Zijlstra
2008-05-18 11:13 ` [Bug #10705] 2.6.26-rc2 - ntp.c build failure Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10686] critical thermal shutdown regression 2.6.26-rc1 - HP Pavilion dv6700 Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10630] USB devices plugged into dock are not discoverred until reload of ehci-hcd Rafael J. Wysocki
2008-05-19  8:02   ` Oliver Neukum
2008-05-19 10:51     ` Lukas Hejtmanek
2008-05-19 10:39       ` Oliver Neukum
2008-05-19 10:46         ` Lukas Hejtmanek
2008-05-19 15:20           ` Greg KH
2008-05-20 10:57   ` Oliver Neukum
2008-05-20 11:17     ` Lukas Hejtmanek
2008-05-20 11:27       ` Oliver Neukum
2008-05-18 11:13 ` [Bug #10649] lxfb driver regression Rafael J. Wysocki
2008-05-18 17:20   ` Andrew Morton
2008-05-18 22:16     ` Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10641] [BUG] 2.6.26-rc1-git4 - task blocked on powerpc for more than 120 seconds Rafael J. Wysocki
2008-05-19  7:09   ` Kamalesh Babulal
2008-05-19 14:42     ` Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10642] general protection fault: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10709] 2.6.26-rc2 hosed X? Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10674] /proc/kallsyms broken in 2.6.26-rc1-git6 Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10582] INFO: task pdflush:27505 blocked for more than 120 seconds Rafael J. Wysocki
2008-05-19  5:58   ` Пламен Петров
2008-05-18 11:13 ` [Bug #10622] [BUG 2.6.26-rc1] scsi (or sysfs or vm?) oops in sr_probe() Rafael J. Wysocki
2008-05-22 11:50   ` James Bottomley
2008-05-18 11:13 ` [Bug #10669] ACPI: kmemcheck: Caught 16-bit read from freed memory (f7c12ec6) Rafael J. Wysocki
2008-05-18 12:18   ` Vegard Nossum
2008-05-18 11:13 ` [Bug #10714] Badness seen on 2.6.26-rc2 with lockdep enabled Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10715] 2.6.25 -&gt; 2.6.26-rc1: pcmcia flash card changed name from hda to hdc Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10713] ehci splatter in 2.6.26-rc2 Rafael J. Wysocki
2008-05-19 23:11   ` Lennert Buytenhek
2008-05-20  0:18     ` Lennert Buytenhek
2008-05-20  6:13       ` David Brownell
2008-05-20  8:25         ` Lennert Buytenhek
2008-05-20 10:50       ` Lennert Buytenhek [this message]
2008-05-20 14:04         ` [PATCH] " Alan Stern
2008-05-20 14:59           ` Lennert Buytenhek
2008-05-20 15:31             ` Alan Stern
2008-05-20 16:48         ` Alan Stern
2008-05-18 11:13 ` [Bug #10732] REGRESSION: 2.6.26-rc2-git4: X server failed start on X61s laptop Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10725] Write protect on on Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #9791] Clock is running too fast^Wslow using acpi_pm clocksource Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10724] ACPI : EC: GPE Rafael J. Wysocki
2008-05-18 16:58   ` Justin Mattock
2008-05-18 11:13 ` [Bug #10744] REGRESSION: video driver stuck after screen blank Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10716] VIDEO_DEV=y, DVB_CORE=m build error Rafael J. Wysocki
2008-05-18 12:34   ` Adrian Bunk
2008-05-18 11:13 ` [Bug #10731] gianfar build failure Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10741] bug in `tty: BKL pushdown'? Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10730] build issue #503 for v2.6.26-rc2-433-gf26a398 : undefined reference to `request_firmware' Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10742] BISECTED REGRESSION: 2.6.26-rc2: FUSE changes break mount of ntfs-3g Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10733] avr32: export copy_page Rafael J. Wysocki
2008-05-18 12:35   ` Adrian Bunk
2008-05-18 11:13 ` [Bug #10726] x86-64 NODES_SHIFT compile failure Rafael J. Wysocki
2008-05-18 11:13 ` [Bug #10718] [BUG] mm: bdi: export BDI attributes in sysfs Rafael J. Wysocki
2008-05-19 15:07   ` Arthur Jones
2008-05-18 11:13 ` [Bug #10717] crossbuild fails in modpost Rafael J. Wysocki
2008-05-19 13:44   ` Sam Ravnborg
2008-05-19 20:34 ` 2.6.26-rc2-git5: Reported regressions from 2.6.25 Ioan Ionita
2008-05-20 21:56   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080520105054.GA23368@xi.wantstofly.org \
    --to=buytenh@wantstofly.org \
    --cc=akpm@linux-foundation.org \
    --cc=david-b@pacbell.net \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nico@cam.org \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®