tn7atm_detect(). device TI Avalanche SAR being registered BUG: warning at lib/kref.c:32/kref_get() Call Trace: [<9410a8c0>] dump_stack+0x8/0x34 [<941fbfe8>] kref_get+0x44/0xdc [<941fb108>] kobject_get+0x20/0x34 [<9422bf44>] class_get+0x20/0x40 [<9422c5b8>] class_device_add+0x5c/0x560 [<942e5540>] atm_register_sysfs+0x58/0xf8 [<942e51c8>] atm_dev_register+0x2f8/0x38c [<9436abf8>] tn7atm_detect+0xa0/0x49c [<941004ec>] init+0xc4/0x2a8 [<941054b4>] kernel_thread_helper+0x10/0x18 CPU 0 Unable to handle kernel paging request at virtual address 00000008, epc == 941b5f4c, ra == 941b6e44 Oops[#1]: Cpu 0 $ 0 : 00000000 10008400 94380000 940c2aa8 $ 4 : 940c2a8c 00000000 940c2a90 9401be60 $ 8 : 94377640 ffffffff 94370000 94380000 $12 : 94370000 9401bb12 ffffffff 00000000 $16 : 940c2a8c 940c2a84 940c2a00 94337020 $20 : 943091a4 94337038 942f6340 940c2a8c $24 : 00000020 942f3fa4 $28 : 9401a000 9401be20 00000000 941b6e44 Hi : 0000004a Lo : c0862800 epc : 941b5f4c create_dir+0x1c/0x274 Not tainted ra : 941b6e44 sysfs_create_dir+0x5c/0x80 Status: 10008403 KERNEL EXL IE Cause : 10800008 BadVA : 00000008 PrId : 00018448 Modules linked in: Process swapper (pid: 1, threadinfo=9401a000, task=94019858) Stack : 94337050 940c2a84 940c2a00 9401bd90 943091a4 941fbfe8 940c2a8c 940c2a84 940c2a00 94337020 943091a4 941b6e44 94337038 941fb108 942f6340 940c2a8c 00000000 942f3f5c 940c2a8c 941fb434 942f8a0a ffffffff 9401bea8 941fb108 940c2b00 940c2a84 940c2a00 94337020 943091a4 00000000 9422c608 940c2a00 940c2a00 940c2a84 940c2b00 943845f4 00000000 00000000 00000000 940c2a00 ... Call Trace: [<941b5f4c>] create_dir+0x1c/0x274 [<941b6e44>] sysfs_create_dir+0x5c/0x80 [<941fb434>] kobject_add+0xdc/0x1e4 [<9422c608>] class_device_add+0xac/0x560 [<942e5540>] atm_register_sysfs+0x58/0xf8 [<942e51c8>] atm_dev_register+0x2f8/0x38c [<9436abf8>] tn7atm_detect+0xa0/0x49c [<941004ec>] init+0xc4/0x2a8 [<941054b4>] kernel_thread_helper+0x10/0x18 Code: afb20020 afb1001c afb00018 <8ca20008> 00c08021 00808821 24440070 00e09821 0d0ba319