Dear All, We have developed a block device driver on 2.6.x kernel. It works fine for SuSE distributions with out any problems. We are facing some problems with the same driver on Fedora Core 3 with 2.6.9-1.667 kernel version. We got the stack trace like "badness in interruptible_sleep_on_timeout" whenever the media is inserted for the first time after the driver loaded. From the next time onwards it is working fine without any problems. I search the google about it. But I could not find any solution. My doubt is: Is this a bug in the Fedora Core 3, but would like to know from you all if we are doing some mistake. The stack trace is as follows. ------------------------------ TIFM INFO | <CardDetectionFM> MMC/SD card in socket[0]! TIFM INFO | <OnCardInsertionOrRemoval> Card Inserted, Socket [0] Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<022201eb>] n_tty_receive_buf+0x78e/0x7bd [<0a9bcd09>] InitializeCardMMCSD+0xcb/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0a9bbeb8>] DetectCardTypeMMCSD+0x15/0xb2 [tifm] [<0a9bcd22>] InitializeCardMMCSD+0xe4/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0a9bbedb>] DetectCardTypeMMCSD+0x38/0xb2 [tifm] [<0a9bcd22>] InitializeCardMMCSD+0xe4/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd22>] InitializeCardMMCSD+0xe4/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bb900>] WaitForEOCMMCSD+0x8/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bbf6e>] StandbyMMCSD+0x19/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bb937>] WaitForEOCMMCSD+0x3f/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bbfad>] StandbyMMCSD+0x58/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bb929>] WaitForEOCMMCSD+0x31/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bbfcc>] StandbyMMCSD+0x77/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bbfad>] StandbyMMCSD+0x58/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bbfcc>] StandbyMMCSD+0x77/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Badness in interruptible_sleep_on_timeout at kernel/sched.c:3005 [<02302989>] interruptible_sleep_on_timeout+0x5d/0x23a [<0211b919>] default_wake_function+0x0/0xc [<0a9bb95b>] WaitForEOCMMCSD+0x63/0x9f [tifm] [<0a9bbd5d>] CmdMMCSD+0x5f/0x8f [tifm] [<0a9bc059>] StandbyMMCSD+0x104/0x187 [tifm] [<0a9bbf0b>] DetectCardTypeMMCSD+0x68/0xb2 [tifm] [<0a9bcd51>] InitializeCardMMCSD+0x113/0x363 [tifm] [<0211ae71>] recalc_task_prio+0x128/0x133 [<0211ae71>] recalc_task_prio+0x128/0x133 [<0a9ba836>] InitializeFlash+0x41/0x92 [tifm] [<0a9ba8e1>] InitializeCardFM+0x5a/0x78 [tifm] [<0a9ba93d>] do_flash_softinit+0x3e/0xbd [tifm] [<02132585>] worker_thread+0x21f/0x33d [<0a9ba8ff>] do_flash_softinit+0x0/0xbd [tifm] [<0211b919>] default_wake_function+0x0/0xc [<0211b919>] default_wake_function+0x0/0xc [<02132366>] worker_thread+0x0/0x33d [<021376b5>] kthread+0x69/0x91 [<0213764c>] kthread+0x0/0x91 [<021041d9>] kernel_thread_helper+0x5/0xb Give me an idea or any links welcome. Regards, Srinivas G