Re: Core scsi layer crashes in 2.6.8.1

From: Alan Cox (alan_at_lxorguk.ukuu.org.uk)
Date: 09/29/04

  • Next message: Paul Fulghum: "Re: Serial driver hangs"
    To: James Bottomley <James.Bottomley@SteelEye.com>
    Date:	Wed, 29 Sep 2004 14:24:10 +0100
    
    

    On Mer, 2004-09-29 at 15:11, James Bottomley wrote:
    > What was the oops?
    >
    > I have a theory that we should be taking a device reference before
    > waking up the error handler, otherwise host removal can race with error
    > handling.

    The sequence I scribbled down from the console was

            Illegal state transition Cancel->Offline
            Badness in scsi_device_set_state
                    scsi_device_set_state
                    scsi_unjam_host
                    scsi_error_handler
     
            badness in kref_get
                    kobject_get, get_device, scsi_request_fn
                    blk_insert_request, scsi_queue_insert
                    scsi_eh_flush_done_q, scsi_unjam_host
                    scsi_error_handler
     
            OOPS scsi_device_dev_release
                    device_release
                    kobject_cleanup
                    kobject_release
                    kref_put
                    scsi_request_fn

    Alan

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Paul Fulghum: "Re: Serial driver hangs"

    Relevant Pages

    • Re: Error trapping is not working for errors related to files
      ... If you'll check my OP code you'll see that I have an error handler (I call it ... oops:) that functions as you describe and control should go to this Error ... Handler with an error 1004 or any other error (On Error Goto oops) but ... 'Clean up code may be put in between this line and the "Exit Sub" line. ...
      (microsoft.public.excel.programming)
    • Re: OOPS: Something about kswapd
      ... > CPU: AMD Athlon XP ... > OOPS during ROCK linux compilation, ... > entry unable to handle kernel NULL pointer dereference at virtual ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: vanilla 2.6.0-test11 and CS4236 card
      ... > a) xmms wouldn't talk straight to the card even after selecting the alsa ... I don't have an oops; ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: 2.6.9rc2-mm4 oops
      ... > I found a struct acpi_driver in hpet.c that was erroneously marked ... Sorry, I did, and still get the oops. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Kernel OOPS with i915 DRM Driver - 2.6.10
      ... Noticed this oops today when setting up a box with a i865G chipset: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)