mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stian Jordet <liste@jordet.nu>
To: linux-kernel@vger.kernel.org
Cc: kraxel@bytesex.org
Subject: Call trace when rmmod'ing saa7134 and error when compiling static
Date: Thu, 09 Oct 2003 16:08:54 +0200	[thread overview]
Message-ID: <1065708534.737.2.camel@chevrolet.hybel> (raw)

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


             reply	other threads:[~2003-10-09 14:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 14:08 Stian Jordet [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1065708534.737.2.camel@chevrolet.hybel \
    --to=liste@jordet.nu \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®