sleeper

From: Anton Blanchard (anton@samba.org)
Date: Fri Oct 04 2002 - 03:29:18 EST


Hi,

I cant remember if we have seen this one before.

scsi_try_to_abort_cmd does:

  spin_lock_irqsave(scmd->host->host_lock, flags);

and sym_eh_handler (in sym53c8xx_2 driver) does:

  down(&ep->sem);

Anton

Debug: sleeping function called from illegal context at
/scratch/anton/linux-2.5_ppc64_work/include/asm/semaphore.h:80
Call backtrace:
C00000000005C390 __might_sleep+0xf4
C00000000029D220 sym_eh_handler+0x1d0
C000000000295C4C scsi_try_to_abort_cmd+0xdc
C000000000295EA4 scsi_eh_abort_cmd+0x60
C000000000296CE0 scsi_unjam_host+0xf4
C000000000296F44 scsi_error_handler+0x1fc
-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:43 EST