[BUG 2.6.0-test9] sleep from invalid function (ALSA related?)

From: Erik Mouw
Date: Thu Nov 13 2003 - 06:33:59 EST


Hi,

I compiled 2.6.0-test9 on my desktop last night. Not too many problems
so far, but this debug trace caught my attention:

Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Call Trace:
[<c011df5b>] __might_sleep+0xab/0xd0
[<e0c2d608>] ap_cs8427_sendbytes+0x38/0xd0 [snd_ice1712]
[<e0b5a292>] snd_i2c_sendbytes+0x22/0x30 [snd_i2c]
[<e0bcd14c>] snd_cs8427_reg_read+0x2c/0xa0 [snd_cs8427]
[<e0bcd432>] snd_cs8427_create+0x92/0x320 [snd_cs8427]
[<e0b4c320>] snd_device_new+0x20/0x70 [snd]
[<e0c2954f>] snd_ice1712_init_cs8427+0x2f/0x70 [snd_ice1712]
[<e0c2dfad>] snd_ice1712_delta_init+0x23d/0x2d0 [snd_ice1712]
[<e0c2d112>] snd_ice1712_probe+0x322/0x350 [snd_ice1712]
[<c0169de4>] dput+0x24/0x220
[<c01ad55b>] pci_device_probe_static+0x4b/0x60
[<c01ad5a6>] __pci_device_probe+0x36/0x50
[<c01ad5ec>] pci_device_probe+0x2c/0x50
[<c01ed34d>] bus_match+0x3d/0x70
[<c01ed47a>] driver_attach+0x5a/0x90
[<c01ed774>] bus_add_driver+0xa4/0xc0
[<c01edbd1>] driver_register+0x31/0x40
[<c01ad7cb>] pci_register_driver+0x5b/0x80
[<e0af3015>] alsa_card_ice1712_init+0x15/0x4c [snd_ice1712]
[<c0136670>] sys_init_module+0x130/0x280
[<c010a36f>] syscall_call+0x7/0xb

It looks ALSA related to me, the soundcard I use is a Midiman
Audiophile 2496, which uses the ice1712 driver.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact Harddisk-recovery.com
-
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/