* Re: BUG: sleeping function called from illegal context
2003-04-13 19:31 BUG: sleeping function called from illegal context Daniel Ritz
@ 2003-04-13 5:02 ` dan carpenter
2003-04-14 7:28 ` Jaroslav Kysela
1 sibling, 0 replies; 3+ messages in thread
From: dan carpenter @ 2003-04-13 5:02 UTC (permalink / raw)
To: Daniel Ritz, linux-kernel
On Sunday 13 April 2003 09:31 pm, Daniel Ritz wrote:
> i saw that one after modprobe snd-sb16...
> kernel 2.5.67-bk
>
> rgds
> -daniel
>
Smatch found this bug also.
http://kbugs.org/cgi-bin/index.py?page=bug_list&script=SpinSleepLazy&skernel=2.5.67&sfile=sound
regards,
dan carpenter
^ permalink raw reply [flat|nested] 3+ messages in thread
* BUG: sleeping function called from illegal context
@ 2003-04-13 19:31 Daniel Ritz
2003-04-13 5:02 ` dan carpenter
2003-04-14 7:28 ` Jaroslav Kysela
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Ritz @ 2003-04-13 19:31 UTC (permalink / raw)
To: linux-kernel
i saw that one after modprobe snd-sb16...
kernel 2.5.67-bk
rgds
-daniel
Debug: sleeping function called from illegal context at mm/slab.c:1664
Call Trace:
[<c0120777>] __might_sleep+0x5f/0x68
[<c0148f35>] kmalloc+0x61/0x174
[<c01292f7>] __request_region+0x1b/0xb4
[<c01293aa>] __check_region+0x1a/0x40
[<c01dc533>] pnp_check_port+0x5f/0x13c
[<c01de28b>] pnp_manual_config_dev+0x12b/0x2fc
[<c88c01f7>] snd_card_sb16_pnp+0x123/0x1bc [snd_sb16]
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c889906f>] +0x6f/0x59c [snd_sb16]
[<c88c249c>] snd_sb16_pnpids+0x3dc/0x474 [snd_sb16]
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c88c249c>] snd_sb16_pnpids+0x3dc/0x474 [snd_sb16]
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c88c02c5>] snd_sb16_pnp_detect+0x35/0x64 [snd_sb16]
[<c88c249c>] snd_sb16_pnpids+0x3dc/0x474 [snd_sb16]
[<c01dae4b>] card_probe+0x3f/0x68
[<c88c249c>] snd_sb16_pnpids+0x3dc/0x474 [snd_sb16]
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c01db8ff>] pnp_register_card_driver+0x17f/0x19c
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c88c1fc0>] port+0x0/0x20 [snd_sb16]
[<c88996a7>] alsa_card_sb16_init+0x83/0xbc [snd_sb16]
[<c88c2580>] sb16_pnpc_driver+0x0/0xb4 [snd_sb16]
[<c88c2634>] possible_ports.1451+0x0/0x2c [snd_sb16]
[<c889959c>] snd_sb16_probe_legacy_port+0x0/0x88 [snd_sb16]
[<c88c2660>] +0x0/0xe0 [snd_sb16]
[<c013f366>] sys_init_module+0x222/0x2d8
[<c010b65f>] syscall_call+0x7/0xb
pnp: res: The resources requested do not match those set for the PnP device '01:01.00'.
sb16: no OPL device at 0x388-0x38a
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BUG: sleeping function called from illegal context
2003-04-13 19:31 BUG: sleeping function called from illegal context Daniel Ritz
2003-04-13 5:02 ` dan carpenter
@ 2003-04-14 7:28 ` Jaroslav Kysela
1 sibling, 0 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2003-04-14 7:28 UTC (permalink / raw)
To: Daniel Ritz; +Cc: linux-kernel, Adam Belay
On Sun, 13 Apr 2003, Daniel Ritz wrote:
> i saw that one after modprobe snd-sb16...
> kernel 2.5.67-bk
>
> rgds
> -daniel
>
>
> Debug: sleeping function called from illegal context at mm/slab.c:1664
> Call Trace:
> [<c0120777>] __might_sleep+0x5f/0x68
> [<c0148f35>] kmalloc+0x61/0x174
> [<c01292f7>] __request_region+0x1b/0xb4
> [<c01293aa>] __check_region+0x1a/0x40
> [<c01dc533>] pnp_check_port+0x5f/0x13c
Adam, could you consider to use mutexes rather than spinlocks in your
code? I think that the pnp configuration is not time critical.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-14 7:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-13 19:31 BUG: sleeping function called from illegal context Daniel Ritz
2003-04-13 5:02 ` dan carpenter
2003-04-14 7:28 ` Jaroslav Kysela
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.