* Call trace when rmmod'ing saa7134 and error when compiling static @ 2003-10-09 14:08 Stian Jordet 2003-10-09 15:15 ` Gerd Knorr ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Stian Jordet @ 2003-10-09 14:08 UTC (permalink / raw) To: linux-kernel; +Cc: kraxel Hello, when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get this call trace: Device class 'i2c-1' does not have a release() function, it is broken and must be fixed. Badness in class_dev_release at drivers/base/class.c:200 Call Trace: [<c02be4d5>] kobject_cleanup+0x85/0x90 [<c03e0040>] i2cdev_detach_adapter+0x0/0x40 [<c03e0069>] i2cdev_detach_adapter+0x29/0x40 [<c03dd216>] i2c_del_adapter+0x1c6/0x200 [<e8a7bb59>] .text.lock.saa7134_tvaudio+0x37/0x3e [saa7134] [<e8a77784>] saa7134_i2c_unregister+0x14/0x20 [saa7134] [<e8a76a56>] saa7134_finidev+0xa6/0x1d0 [saa7134] [<c02cc94b>] pci_device_remove+0x3b/0x40 [<c031c846>] device_release_driver+0x66/0x70 [<c031c87b>] driver_detach+0x2b/0x40 [<c031cace>] bus_remove_driver+0x3e/0x80 [<c031ced3>] driver_unregister+0x13/0x2a [<c02ccb36>] pci_unregister_driver+0x16/0x30 [<e8a76c0f>] saa7134_fini+0xf/0x11 [saa7134] [<c013b36a>] sys_delete_module+0x13a/0x170 [<c01536a5>] sys_munmap+0x45/0x70 [<c01095fb>] syscall_call+0x7/0xb And when I try to build the driver into the kernel (not as a module), I get this link failure: drivers/built-in.o(.text+0x89a60): In function `saa7134_initdev': : undefined reference to `register_sound_dsp' drivers/built-in.o(.text+0x89aa0): In function `saa7134_initdev': : undefined reference to `register_sound_mixer' drivers/built-in.o(.text+0x89b7e): In function `saa7134_initdev': : undefined reference to `unregister_sound_dsp' drivers/built-in.o(.text+0x89ea7): In function `saa7134_finidev': : undefined reference to `unregister_sound_mixer' drivers/built-in.o(.text+0x89eb2): In function `saa7134_finidev': : undefined reference to `unregister_sound_dsp' make: *** [.tmp_vmlinux1] Error 1 But this has never worked. Best regards, Stian ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 14:08 Call trace when rmmod'ing saa7134 and error when compiling static Stian Jordet @ 2003-10-09 15:15 ` Gerd Knorr 2003-10-09 15:16 ` Stian Jordet 2003-10-09 15:16 ` Gerd Knorr 2003-10-09 21:08 ` Greg KH 2 siblings, 1 reply; 10+ messages in thread From: Gerd Knorr @ 2003-10-09 15:15 UTC (permalink / raw) To: Stian Jordet; +Cc: linux-kernel On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > Hello, > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > this call trace: > > Device class 'i2c-1' does not have a release() function, it is broken > and must be fixed. > Badness in class_dev_release at drivers/base/class.c:200 > Call Trace: > [<c02be4d5>] kobject_cleanup+0x85/0x90 > [<c03e0040>] i2cdev_detach_adapter+0x0/0x40 > [<c03e0069>] i2cdev_detach_adapter+0x29/0x40 > [<c03dd216>] i2c_del_adapter+0x1c6/0x200 > [<e8a7bb59>] .text.lock.saa7134_tvaudio+0x37/0x3e [saa7134] > [<e8a77784>] saa7134_i2c_unregister+0x14/0x20 [saa7134] Hmm, funny, doesn't happen here ... Also not sure whenever this is a bug in the i2c core or in the saa7134 driver ... Gerd ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 15:15 ` Gerd Knorr @ 2003-10-09 15:16 ` Stian Jordet 0 siblings, 0 replies; 10+ messages in thread From: Stian Jordet @ 2003-10-09 15:16 UTC (permalink / raw) To: Gerd Knorr; +Cc: linux-kernel tor, 09.10.2003 kl. 17.15 skrev Gerd Knorr: > On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > > Hello, > > > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > > this call trace: > > > > Device class 'i2c-1' does not have a release() function, it is broken > > and must be fixed. > > Badness in class_dev_release at drivers/base/class.c:200 > > Call Trace: > > [<c02be4d5>] kobject_cleanup+0x85/0x90 > > [<c03e0040>] i2cdev_detach_adapter+0x0/0x40 > > [<c03e0069>] i2cdev_detach_adapter+0x29/0x40 > > [<c03dd216>] i2c_del_adapter+0x1c6/0x200 > > [<e8a7bb59>] .text.lock.saa7134_tvaudio+0x37/0x3e [saa7134] > > [<e8a77784>] saa7134_i2c_unregister+0x14/0x20 [saa7134] > > Hmm, funny, doesn't happen here ... > > Also not sure whenever this is a bug in the i2c core or in the saa7134 > driver ... Hmm. Weird. 100% reproducable here. Anything I can do to help finding out what causes it? The same happens with the patch from your page. Best regards, Stian ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 14:08 Call trace when rmmod'ing saa7134 and error when compiling static Stian Jordet 2003-10-09 15:15 ` Gerd Knorr @ 2003-10-09 15:16 ` Gerd Knorr 2003-10-09 21:08 ` Greg KH 2 siblings, 0 replies; 10+ messages in thread From: Gerd Knorr @ 2003-10-09 15:16 UTC (permalink / raw) To: Stian Jordet; +Cc: linux-kernel > drivers/built-in.o(.text+0x89a60): In function `saa7134_initdev': > : undefined reference to `register_sound_dsp' Missing depend on SOUND Gerd -- You have a new virus in /var/mail/kraxel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 14:08 Call trace when rmmod'ing saa7134 and error when compiling static Stian Jordet 2003-10-09 15:15 ` Gerd Knorr 2003-10-09 15:16 ` Gerd Knorr @ 2003-10-09 21:08 ` Greg KH 2003-10-09 21:23 ` Stian Jordet 2 siblings, 1 reply; 10+ messages in thread From: Greg KH @ 2003-10-09 21:08 UTC (permalink / raw) To: Stian Jordet; +Cc: linux-kernel, kraxel On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > Hello, > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > this call trace: > > Device class 'i2c-1' does not have a release() function, it is broken > and must be fixed. This is when you remove the i2c-dev module, right? Yeah, I know about the problem and will fix it. thanks, greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 21:08 ` Greg KH @ 2003-10-09 21:23 ` Stian Jordet 2003-10-09 21:28 ` Greg KH 0 siblings, 1 reply; 10+ messages in thread From: Stian Jordet @ 2003-10-09 21:23 UTC (permalink / raw) To: Greg KH; +Cc: linux-kernel, kraxel tor, 09.10.2003 kl. 23.08 skrev Greg KH: > On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > > Hello, > > > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > > this call trace: > > > > Device class 'i2c-1' does not have a release() function, it is broken > > and must be fixed. > > This is when you remove the i2c-dev module, right? Yeah, I know about > the problem and will fix it. I have no idea, I just "rmmod saa7134" :) Best regards, Stian ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 21:23 ` Stian Jordet @ 2003-10-09 21:28 ` Greg KH 2003-10-09 23:06 ` Stian Jordet 0 siblings, 1 reply; 10+ messages in thread From: Greg KH @ 2003-10-09 21:28 UTC (permalink / raw) To: Stian Jordet; +Cc: linux-kernel, kraxel On Thu, Oct 09, 2003 at 11:23:21PM +0200, Stian Jordet wrote: > tor, 09.10.2003 kl. 23.08 skrev Greg KH: > > On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > > > Hello, > > > > > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > > > this call trace: > > > > > > Device class 'i2c-1' does not have a release() function, it is broken > > > and must be fixed. > > > > This is when you remove the i2c-dev module, right? Yeah, I know about > > the problem and will fix it. > > I have no idea, I just "rmmod saa7134" :) Sorry, I ment to say, you have the i2c-dev module loaded, or built into your kernel, right? That will cause this warning to be printed out. thanks, greg k-h ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 21:28 ` Greg KH @ 2003-10-09 23:06 ` Stian Jordet 2003-10-10 8:54 ` Gerd Knorr 0 siblings, 1 reply; 10+ messages in thread From: Stian Jordet @ 2003-10-09 23:06 UTC (permalink / raw) To: Greg KH; +Cc: linux-kernel, kraxel tor, 09.10.2003 kl. 23.28 skrev Greg KH: > On Thu, Oct 09, 2003 at 11:23:21PM +0200, Stian Jordet wrote: > > tor, 09.10.2003 kl. 23.08 skrev Greg KH: > > > On Thu, Oct 09, 2003 at 04:08:54PM +0200, Stian Jordet wrote: > > > > Hello, > > > > > > > > when I try to rmmod the saa7134 module from kernel 2.6.0-test7, I get > > > > this call trace: > > > > > > > > Device class 'i2c-1' does not have a release() function, it is broken > > > > and must be fixed. > > > > > > This is when you remove the i2c-dev module, right? Yeah, I know about > > > the problem and will fix it. > > > > I have no idea, I just "rmmod saa7134" :) > > Sorry, I ment to say, you have the i2c-dev module loaded, or built into > your kernel, right? That will cause this warning to be printed out. You're right. But I don't need it, so one problem solved :-) Gerd: I still would like to be able to compile the driver static, though :) Stian ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-09 23:06 ` Stian Jordet @ 2003-10-10 8:54 ` Gerd Knorr 2003-10-10 14:40 ` Stian Jordet 0 siblings, 1 reply; 10+ messages in thread From: Gerd Knorr @ 2003-10-10 8:54 UTC (permalink / raw) To: Stian Jordet; +Cc: Greg KH, linux-kernel > Gerd: I still would like to be able to compile the driver static, though > :) Enable CONFIG_SOUND. Next saa7134 update will add that dependency to Kconfig. Gerd -- You have a new virus in /var/mail/kraxel ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Call trace when rmmod'ing saa7134 and error when compiling static 2003-10-10 8:54 ` Gerd Knorr @ 2003-10-10 14:40 ` Stian Jordet 0 siblings, 0 replies; 10+ messages in thread From: Stian Jordet @ 2003-10-10 14:40 UTC (permalink / raw) To: Gerd Knorr; +Cc: Greg KH, linux-kernel fre, 10.10.2003 kl. 10.54 skrev Gerd Knorr: > > Gerd: I still would like to be able to compile the driver static, though > > :) > > Enable CONFIG_SOUND. Next saa7134 update will add that dependency to Kconfig. Ahh, thanks, sorry for the noise. I had CONFIG_SOUND as a module. Thanks again :) Best regards, Stian ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-10-10 14:41 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-10-09 14:08 Call trace when rmmod'ing saa7134 and error when compiling static Stian Jordet 2003-10-09 15:15 ` Gerd Knorr 2003-10-09 15:16 ` Stian Jordet 2003-10-09 15:16 ` Gerd Knorr 2003-10-09 21:08 ` Greg KH 2003-10-09 21:23 ` Stian Jordet 2003-10-09 21:28 ` Greg KH 2003-10-09 23:06 ` Stian Jordet 2003-10-10 8:54 ` Gerd Knorr 2003-10-10 14:40 ` Stian Jordet
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.