[lkml]   [2007]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [BUG] ide dma_timer_expiry, then hard lockup
    On Wed, Jun 20, 2007 at 06:01:23PM +0100, Alan Cox wrote:
    > Its unlikely the command got lost. The IRQ could have done but the error
    > path tries to spot that case by reading the status register - which
    > hangs. So in theory it could be a lost IRQ and if the reset works we'll
    > find that out.

    OK, here's the libata trace info (transcribed by hand, may have typos,
    the numerical values should be correct).

    This is during the first read of the partition table, during boot.

    ata_scsi_dumb_cb: CDB(:1:0,0,0) 28 00 00 00 00 00 00 00 08
    ata_scsi_translate: ENTER
    scsi_10_lba_len: ten-byte command
    ata_sg_setup: ENTER, ata1
    ata_sg_setup: 1 sg elements mapped
    ata_fill_sg: PRD[0] = (0x2FEEF000, 0x1000)
    ata1: ata_dev_select: ENTER, device 0, wait 1
    ata_tf_load: feat 0x0 nsect 0x8 lba 0x0 0x0 0x0
    ata_tf_load: device 0xE0
    ata_exec_command: ta1: cmd 0xc8
    ata_scsi_translate: EXIT

    then, 30 seconds later:

    sd 0:0:0:0 [sda] Done: 0xeff3aba0 TIMEOUT
    sd 0:0:0:0 [sda] Result: host_byte=DID_OK driver_byte=DRV_OK, SUG_OK
    sd 0:0:0:0 [sda] CDB: Read(10): 28 00 00 ... 00 08 00
    sd 0:0:0:0 [sda] scsi host busy 1 failed 0
    ata_scsi_timed_out: ENTER
    ata_scsi_timed_out: EXIT, ret=0
    ata_port_flush_task: ENTER
    ata_port_flush_task: flush #1
    ata1: ata_port_flush_task: flush #2
    ata_port_flush_task: EXIT

    Then a hard hang here.

    This was on 2.6.22-rc5-git1
    Again, this disk and controller combo work spotlessly when using
    the ide drivers.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-21 21:51    [W:0.022 / U:4.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site