bugme-daemon | 1 Sep 07:37 2008

[Bug 11194] megaraid_mbox kernel panic during st driver initialization

http://bugzilla.kernel.org/show_bug.cgi?id=11194

cshore <at> fionavar.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cshore <at> fionavar.ca

------- Comment #5 from cshore <at> fionavar.ca  2008-08-31 22:37 -------
Using a second adaptor card and moving the non-RAID devices off the megaraid
controller solved the panic.  It appears the problem is the non-RAID devices
and may be related the the bug for which there is a patch for newer CERC
firmware (sorry don't have the post url, it was on this list) which deals with
an error in the way the devices are enumerated.

This controller is a Dell PERC3/DCL and has the following BIOS/firmware
revision info:

on boot screen BIOS is listed as 3.35 May 7,2004
Standard Firmware is listed as 199D

in the setup screen, it shows
PERC/CERC BIOS Configuration Utility U827

lspci -vvv gives:

04:00.0 RAID bus controller: American Megatrends Inc. MegaRAID (rev 20)
        Subsystem: Dell Device 0493
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
(Continue reading)

Nick Piggin | 1 Sep 14:51 2008
Picon

[patch][rfc] bitops: remove volatile


Hi,

This is a sweep of the tree to remove volatile qualifier from bitops, and I
have then tried to fix the resulting fallout. This will be split up as
individual patches before submission, but for now I include the entire thing
in one.

The benefit of this is to relieve the compiler of the constraints demanded
by volatile, we get a smaller icache footprint, generally due to fewer loads
and stores. It saves over 20k of text on an allyesconfig on x86-64. (BTW. gcc
really does some idiotic things when inline is nooped: it out of lines things
like constant_test_bit...)

The downside is that we can no longer use bitops on volatile data types, but
there are very few users of this, and it would be nice to convert them away
from volatile anyway. I have attempted to do that here:

s2io: only affected is use of test_bit on a previously volatile type. btw:
      set_bit and clear_bit do not provide SMP ordering guarantees, in
      particular they can't be used for critical sections. Just be careful
      eg. with __S2IO_STATE_LINK_TASK bit.
drm:  Made wrapped and context_state non volatile. Remember set_bit and
      clear_bit can't be used to open and close a critical section (is
      wrapped OK here?).
3w-xxxx: made flags non volatile. Only test_bit should be affected.
sn2:  small change to sn_ack_irq and sn_end_irq... I know ia64 guys have
      been known to rely on gcc generating hardware barriers with volatile.
      Please take a look.

(Continue reading)

pinco pallino | 2 Sep 01:30 2008
Picon

WAS: "Re: [Bugme-new] [Bug 11302] New: I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64"

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
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
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
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
Sep  1 22:20:49 athos kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 6
Sep  1 22:20:59 athos kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 6
Sep  1 22:21:00 athos kernel: usb 1-6: USB disconnect, address 6
Sep  1 22:21:00 athos kernel: sd 6:0:0:0: Device offlined - not ready after error recovery
Sep  1 22:21:00 athos kernel: sd 6:0:0:0: [sdd] READ CAPACITY failed
Sep  1 22:21:00 athos kernel: sd 6:0:0:0: [sdd] Result: hostbyte=0x01 driverbyte=0x00
(Continue reading)

bugme-daemon | 2 Sep 01:31 2008

[Bug 11302] I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64

http://bugzilla.kernel.org/show_bug.cgi?id=11302

------- Comment #6 from pinc_o <at> yahoo.it  2008-09-01 16:31 -------
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
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
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
Sep  1 22:20:14 athos kernel: usb 1-6: new high speed USB device using ehci_hcd
(Continue reading)

James Bottomley | 2 Sep 02:05 2008

Re: WAS: "Re: [Bugme-new] [Bug 11302] New: I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64"

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
(Continue reading)

bugme-daemon | 2 Sep 02:05 2008

[Bug 11302] I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64

http://bugzilla.kernel.org/show_bug.cgi?id=11302

------- Comment #7 from anonymous <at> kernel-bugs.osdl.org  2008-09-01 17:05 -------
Reply-To: James.Bottomley <at> 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.
(Continue reading)

Alan Stern | 2 Sep 04:20 2008
Picon

Re: WAS: "Re: [Bugme-new] [Bug 11302] New: I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64"

On Mon, 1 Sep 2008, James Bottomley wrote:

> 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.

Try building a kernel with CONFIG_USB_STORAGE_DEBUG enabled and post or 
attach the dmesg log showing what happens when you plug in the device.

Alan Stern

--
(Continue reading)

bugme-daemon | 2 Sep 04:21 2008

[Bug 11302] I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64

http://bugzilla.kernel.org/show_bug.cgi?id=11302

------- Comment #8 from stern <at> rowland.harvard.edu  2008-09-01 19:21 -------
On Mon, 1 Sep 2008, James Bottomley wrote:

> 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.

Try building a kernel with CONFIG_USB_STORAGE_DEBUG enabled and post or 
attach the dmesg log showing what happens when you plug in the device.

(Continue reading)

Pierre Ossman | 2 Sep 08:03 2008

Re: WAS: "Re: [Bugme-new] [Bug 11302] New: I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64"

On Mon, 1 Sep 2008 23:30:56 +0000 (GMT)
pinco pallino <pinc_o <at> yahoo.it> 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:
> 

Have you checked that the reader does in fact support SDHC? They tend
to fail in all sorts of ways when they don't.

--

-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.
bugme-daemon | 2 Sep 08:04 2008

[Bug 11302] I get a kernel OOPS! If I try to attach an usb card reader, SD, MMC, ecc.. to my Slamd64

http://bugzilla.kernel.org/show_bug.cgi?id=11302

------- Comment #9 from anonymous <at> kernel-bugs.osdl.org  2008-09-01 23:04 -------
Reply-To: drzeus <at> drzeus.cx

On Mon, 1 Sep 2008 23:30:56 +0000 (GMT)
pinco pallino <pinc_o <at> yahoo.it> 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:
> 

Have you checked that the reader does in fact support SDHC? They tend
to fail in all sorts of ways when they don't.

--

-- 
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane