Re: BUG: warning at kernel/mutex.c:281 for 2.6.16.-git8 thru git20

From: Arjan van de Ven
Date: Sun Apr 02 2006 - 13:05:43 EST



> LID SLPB UART EXP0 EXP1 EXP2 EXP3 PCI1 USB0 USB1 USB3 USB7 AC9M
> ACPI: (supports S0 S3 S4 S5)
> Freeing unused kernel memory: 160k freed
> BUG: warning at kernel/mutex.c:281/__mutex_trylock_slowpath()
> <7812af12> mutex_trylock+0x70/0x152 <7823370e> hdaps_mousedev_poll\
> +0xd/0xc5
> <781205fa> run_timer_softirq+0x11f/0x159 <78233701>
> hdaps_mousedev_poll+0x0/0xc5
> <7811d22c> __do_softirq+0x40/0x88 <781049af> do_softirq+0x44/0x4c
> =======================
> <7811d314> irq_exit+0x2d/0x37 <781048d1> do_IRQ+0x79/0x83
> <781035ae> common_interrupt+0x1a/0x20 <7811680e> __might_sleep\
> +0x16/0x94
> <7819e794> copy_to_user+0x18/0x5d <7815c9be> filldir64+0x94/0xc3
> <7817c08f> sysfs_readdir+0x17d/0x1c2 <7815c92a> filldir64+0x0/0xc3
> <7815c92a> filldir64+0x0/0xc3 <7815c6ef> vfs_readdir+0x63/0x89
> <7815ca53> sys_getdents64+0x66/0xb3 <78296f41> _spin_unlock+0xf/0x23
> <7815be56> do_fcntl+0xc3/0x136 <78102be3> syscall_call+0x7/0xb
> SCSI subsystem initialized
> libata version 1.20 loaded.
> ata_piix 0000:00:1f.2: version 1.05
> ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
> ata: 0x170 IDE port busy
> .....
>

this is a bug in the hdaps mutex conversion; mutex code isn't allowed to
run in IRQ context, not even the trylock.


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