From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugme-daemon@bugzilla.kernel.org Subject: [Bug 11302] I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64 Date: Mon, 1 Sep 2008 17:05:51 -0700 (PDT) Message-ID: <20080902000551.063BB108059@picon.linux-foundation.org> References: Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:38661 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751456AbYIBAGW (ORCPT ); Mon, 1 Sep 2008 20:06:22 -0400 Received: from picon.linux-foundation.org (picon.linux-foundation.org [140.211.169.79]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id m8205pwi005464 for ; Mon, 1 Sep 2008 17:05:52 -0700 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org http://bugzilla.kernel.org/show_bug.cgi?id=11302 ------- Comment #7 from anonymous@kernel-bugs.osdl.org 2008-09-01 17:05 ------- Reply-To: James.Bottomley@HansenPartnership.com On Mon, 2008-09-01 at 23:30 +0000, pinco pallino wrote: > Hi Andrew, > > with the new kernel 2.6.26.3 the SD are now read and wrote correctly, but SDHC are not read! The kernel repeat the error. Follow the error: > > Sep 1 22:08:20 athos -- MARK -- > Sep 1 22:19:12 athos kernel: usb 1-6: new high speed USB device using ehci_hcd and address 5 > Sep 1 22:19:12 athos kernel: usb 1-6: configuration #1 chosen from 1 choice > Sep 1 22:19:12 athos kernel: scsi5 : SCSI emulation for USB Mass Storage devices > Sep 1 22:19:17 athos kernel: scsi 5:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 > Sep 1 22:19:47 athos kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 5 > Sep 1 22:20:14 athos last message repeated 3 times This is definitely a USB issue (correct cc's added). It looks like some attempted reset finally ... > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: Device offlined - not ready after error recovery > Sep 1 22:20:14 athos kernel: usb 1-6: USB disconnect, address 5 ... leads to disconnection here. > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: [sdd] READ CAPACITY failed > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: [sdd] Result: hostbyte=0x01 driverbyte=0x00 > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: [sdd] Sense not available. > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: [sdd] Write Protect is off > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: [sdd] Attached SCSI removable disk > Sep 1 22:20:14 athos kernel: sd 5:0:0:0: Attached scsi generic sg3 type 0 This is all symptomatic of the command SCSI is trying to send never reaching the device. Then USB begins again with the same device: > Sep 1 22:20:14 athos kernel: usb 1-6: new high speed USB device using ehci_hcd and address 6 > Sep 1 22:20:14 athos kernel: usb 1-6: configuration #1 chosen from 1 choice > Sep 1 22:20:14 athos kernel: scsi6 : SCSI emulation for USB Mass Storage devices > Sep 1 22:20:19 athos kernel: scsi 6:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0 And runs into identical problems. Most likely, knowing USB, it's either some interface problem, or the device hung up on a SCSI command it didn't like. What's the last known good kernel? If the usb people don't recognise it, then likely we'll need a bisection search from there. James -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.