lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200802191619.55207.david-b@pacbell.net>
Date:	Tue, 19 Feb 2008 16:19:54 -0800
From:	David Brownell <david-b@...bell.net>
To:	David Miller <davem@...emloft.net>
Cc:	andre@...t.net, linux-kernel@...r.kernel.org,
	linux-usb@...r.kernel.org
Subject: Re: USB OOPS 2.6.25-rc2-git1

On Tuesday 19 February 2008, David Miller wrote:
> From: Andre Tomt <andre@...t.net>
> Date: Tue, 19 Feb 2008 16:19:08 +0100
> 
> > Got this on a serial console today, using 2.6.25-rc2-git1. Machine was 
> > not doing anything interesting at the time, but has its / and kernel on 
> > a usb-storage device (usb pen drive).
> > 
> > Intel ICH8R chipset (and USB controller), running x86_64 kernel. I'll 
> > post .config and some additional info when I get home later if it isn't 
> > obvious what broke.
> 
> FWIW, I've seen a near identical crash on my Niagara system.

Please try that diagnostic patch I sent ... with CONFIG_USB_DEBUG.

Near as I can tell this is caused by some hardware oddity that needs
to be worked around.  We seem to be at stage where we've fixed some
problems, nudging code paths around so another one shows up, and have
incidentally had a new silicion-specific hardware erratum reported
in this area.  So more info is needed...

A quick anti-oops patch is appended, it should work OK on top of that
diagnostic patch, but won't necessarily resolve the underlying problem.

- Dave


--- g26.orig/drivers/usb/host/ehci-q.c	2008-02-19 16:15:04.000000000 -0800
+++ g26/drivers/usb/host/ehci-q.c	2008-02-19 16:15:59.000000000 -0800
@@ -993,6 +993,11 @@ static void end_unlink_async (struct ehc
 
 	iaa_watchdog_done(ehci);
 
+	if (!qh) {
+		WARN_ON(1);
+		return;
+	}
+
 	// qh->hw_next = cpu_to_hc32(qh->qh_dma);
 	qh->qh_state = QH_STATE_IDLE;
 	qh->qh_next.qh = NULL;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ