From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: VDR User <user.vdr@gmail.com>
Cc: Theodore Kilgore <kilgota@banach.math.auburn.edu>,
Randy Dunlap <rdunlap@xenotime.net>,
linux-media@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>
Subject: Re: "Invalid module format"
Date: Sun, 07 Mar 2010 22:36:23 -0300 [thread overview]
Message-ID: <4B945497.9010907@redhat.com> (raw)
In-Reply-To: <a3ef07921003071616l742095c1mfdc19b2cea88f22@mail.gmail.com>
VDR User wrote:
> On Sun, Mar 7, 2010 at 2:03 PM, Theodore Kilgore
> <kilgota@banach.math.auburn.edu> wrote:
>> It seems that the problem is solved by a local re-compile of the kernel plus
>> its modules, using the original distro .config settings in order to do this.
>> What I suspect has happened is that there was a simultaneous minor upgrade
>> of gcc at the same time, and it is possible that this interfered. I would
>> further speculate that a similar problem happened with you, in your Debian
>> installation.
>>
>> Hoping that we have finally tracked this down.
>
> It's a good theory. However, when I did my "update", I had compiled
> the kernel, installed it, rebooted into it and then proceeded to grab
> a fresh v4l tree and go from there. There wern't any package updates
> or anything else involved between the kernel compile and v4l compile.
> (except for the reboot into 2.6.33 of course.)
You may try to check if both the kernel files and the out of tree files are compiled
using the same file format, with something like:
$ objdump v4l/cx23885.ko /lib/modules/`uname -r`/kernel/drivers/ata/ahci.ko -a
v4l/cx23885.ko: file format elf64-x86-64
v4l/cx23885.ko
/lib/modules/2.6.33/kernel/drivers/ata/ahci.ko: file format elf64-x86-64
/lib/modules/2.6.33/kernel/drivers/ata/ahci.ko
(assuming that debian has ahci.ko compiled as module and at the right place - you may
need to find another module there, it this one doesn't exist).
Cheers,
Mauro
---
PS.: if you're using kernel 2.6.33, plus the latest v4l-dvb hg tree, you could
alternatively use the latest git tree, as it is just 2.6.33 + drivers/media
(and media staging) updates.
I intend to keep v4l-dvb.git and fixes.git trees with 2.6.33 during all 2.6.34 rc cycle,
in order to help people to test the drivers, if we don't have any mandatory reason to
update to -rc1
prev parent reply other threads:[~2010-03-08 1:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 23:44 "Invalid module format" Theodore Kilgore
2010-03-06 0:39 ` Theodore Kilgore
2010-03-06 0:51 ` VDR User
2010-03-06 1:07 ` Randy Dunlap
2010-03-06 3:37 ` Mauro Carvalho Chehab
2010-03-06 6:48 ` Theodore Kilgore
2010-03-07 16:44 ` Randy Dunlap
2010-03-07 17:15 ` Theodore Kilgore
2010-03-06 22:02 ` Theodore Kilgore
2010-03-07 13:30 ` Mauro Carvalho Chehab
2010-03-07 16:55 ` Theodore Kilgore
2010-03-07 17:55 ` VDR User
2010-03-07 19:12 ` Theodore Kilgore
2010-03-07 22:03 ` Theodore Kilgore
2010-03-08 0:16 ` VDR User
2010-03-08 1:36 ` Mauro Carvalho Chehab [this message]
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=4B945497.9010907@redhat.com \
--to=mchehab@redhat.com \
--cc=hdegoede@redhat.com \
--cc=kilgota@banach.math.auburn.edu \
--cc=linux-media@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=user.vdr@gmail.com \
/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