| View previous topic :: View next topic |
| Author |
Message |
slackerman n00b


Joined: 22 Feb 2004 Posts: 72 Location: Palo Alto, CA
|
Posted: Sun Mar 14, 2004 8:13 am Post subject: kernel 2.6.4: Exported symbol isn't found by snd.ko |
|
|
This may not be limited to just amd64/x86-64.
Here's what I get when I try to build the kernel with nearly the same config as with the 2.6.3:
WARNING: /lib/modules/2.6.4-gentoo/kernel/sound/core/snd.ko needs unknown symbol memcpy_fromio
WARNING: /lib/modules/2.6.4-gentoo/kernel/sound/core/snd.ko needs unknown symbol memcpy_toio
Sure enough, if I look in the generated snd.mod.c file, no memcpy_toio or memcpy_fromio... On a quick pass, it looks like the two functions *are* being exported in ./arch/x86_64/lib/io.c...
Any ideas?
Not a big deal, as I have a stable 2.6.3.... just wondered if anyone else has hit this problem.
Cheers,
- Brendan |
|
| Back to top |
|
 |
Damasz Tux's lil' helper


Joined: 24 Apr 2002 Posts: 91 Location: Groningen, the Netherlands
|
Posted: Sun Mar 14, 2004 4:33 pm Post subject: |
|
|
| Yeah, got the same error message. So back to 2.6.3 for now... |
|
| Back to top |
|
 |
thumper Guru


Joined: 06 Dec 2002 Posts: 396 Location: Venice FL
|
Posted: Sun Mar 14, 2004 10:25 pm Post subject: |
|
|
I just got it as well, did either of you already file a bug report that I can add too?
| Code: | WARNING: /lib/modules/2.6.4-gentoo/kernel/sound/core/snd.ko needs unknown symbol memcpy_fromio
WARNING: /lib/modules/2.6.4-gentoo/kernel/sound/core/snd.ko needs unknown symbol memcpy_toio
WARNING: /lib/modules/2.6.4-gentoo/kernel/drivers/video/radeonfb.ko needs unknown symbol memcpy_fromio
WARNING: /lib/modules/2.6.4-gentoo/kernel/drivers/ieee1394/ieee1394.ko needs unknown symbol kernel_locked |
George |
|
| Back to top |
|
 |
slackerman n00b


Joined: 22 Feb 2004 Posts: 72 Location: Palo Alto, CA
|
Posted: Mon Mar 15, 2004 7:38 am Post subject: thumper: 44725 |
|
|
thumper,
Just posted it. I suspect it's something to do with the "versions" symbols table that is created for the modules. If you look at the generated snd.mod.c in a 2.6.4 tree versus a 2.6.3 tree, you'll see that only the 2.6.4 version is missing the symbols.
I'm not *that* much of a kernel hacker, so this is beyond me....for now. I do know that the requested/required symbols do exist and are compiled in:
./arch/x86_64/lib/io.c
Not sure what the EXPORT_SYMBOL macro is doing, but either it is failing or the code that generates *.mod.c is...
Cheers,
slackerman |
|
| Back to top |
|
 |
ballyn n00b

Joined: 14 Aug 2003 Posts: 73
|
Posted: Mon Mar 15, 2004 9:46 pm Post subject: |
|
|
I got this too the other day... mm1 didn't have the same problem, but it was pretty much broken (had to patch a line or two by hand, panics at boot).
I haven't tried mm2 yet... anyone else have any luck with 2.6.4 flavors? There's supposed to be a good chunk of new 64-bit stuff. |
|
| Back to top |
|
 |
ballyn n00b

Joined: 14 Aug 2003 Posts: 73
|
Posted: Mon Mar 15, 2004 10:10 pm Post subject: |
|
|
Actually, I just noticed this in the changelog for the bk1 vanilla snapshot dated 3-10:
| Code: | - Move memcpy_{from,to}io export to ksyms.c file. This seems to work
around a toolchain bug (Andreas Gruenbacher) |
Dunno if that's related or if the patch is in the dev-sources... |
|
| Back to top |
|
 |
slackerman n00b


Joined: 22 Feb 2004 Posts: 72 Location: Palo Alto, CA
|
Posted: Mon Mar 15, 2004 11:04 pm Post subject: no ksyms.c for amd64 |
|
|
I didn't see any ksyms.c for the x86_64 platform.
It does, however, seem like a toolchain problem. Like I stated, earlier, it is either in exporting the symbols or in generating the snd.mod.c file (which contains a table of exported symbols...)
Not a big deal that this doesn't work....2.6.3 seems to be functioning just fine, for me, right now...
Cheers,
- slackerman |
|
| Back to top |
|
 |
thumper Guru


Joined: 06 Dec 2002 Posts: 396 Location: Venice FL
|
Posted: Tue Mar 16, 2004 1:02 am Post subject: |
|
|
Thought I'd try mm-sources (2.6.4-mm2) and got this:
| Code: | WARNING: /lib/modules/2.6.4-mm2/kernel/drivers/ieee1394/ieee1394.ko needs unknown symbol kernel_locked
|
So the other errors are gone, will have to build without ieee1394 and see if it boots ok.
No time now, have to get back to work...
George |
|
| Back to top |
|
 |
wgauvin n00b


Joined: 20 Feb 2004 Posts: 30 Location: Melbourne, Australia
|
Posted: Tue Mar 16, 2004 4:18 am Post subject: |
|
|
Glad to see I'm not the only one with the problem of memcpy_toio and memcpy_fromio. Has anyone raised a bug for this?
At least I have a 2.6.3 kernel, but for those doing a new install are most likely going to be without sound until this is fixed. _________________ Here I am with a brain the size of a planet, and they have me posting at a bulletin board |
|
| Back to top |
|
 |
Xelrach n00b

Joined: 04 Jan 2004 Posts: 11
|
Posted: Tue Mar 16, 2004 4:27 am Post subject: |
|
|
| gentoo-dev-sources 2.6.4 works for me, but I have everything built in to the kernel, no modules. You might want to try that. |
|
| Back to top |
|
 |
slackerman n00b


Joined: 22 Feb 2004 Posts: 72 Location: Palo Alto, CA
|
Posted: Tue Mar 16, 2004 4:35 am Post subject: Bug 44725... |
|
|
Bug 44725 is the bug that y'all can add comments to, if you're so inclined...
- slackerman |
|
| Back to top |
|
 |
wgauvin n00b


Joined: 20 Feb 2004 Posts: 30 Location: Melbourne, Australia
|
Posted: Tue Mar 16, 2004 4:56 am Post subject: |
|
|
argh, slakerman beat me to it, I raised one too 44800. _________________ Here I am with a brain the size of a planet, and they have me posting at a bulletin board |
|
| Back to top |
|
 |
ballyn n00b

Joined: 14 Aug 2003 Posts: 73
|
Posted: Tue Mar 16, 2004 5:36 am Post subject: |
|
|
| bk4 fixed the problem for me... I'd expect to see this fixed in dev-sources soon. |
|
| Back to top |
|
 |
Damasz Tux's lil' helper


Joined: 24 Apr 2002 Posts: 91 Location: Groningen, the Netherlands
|
Posted: Tue Mar 16, 2004 7:59 am Post subject: |
|
|
Cool, it's fixed in 2.6.4-gentoo-r1.  |
|
| Back to top |
|
 |
thither n00b

Joined: 04 Feb 2004 Posts: 32
|
Posted: Tue Mar 16, 2004 8:11 pm Post subject: |
|
|
| Damasz wrote: | Cool, it's fixed in 2.6.4-gentoo-r1.  |
Not for me. When I try to do a make in 2.6.4-gentoo-r1, I get this:
| Code: | LD .tmp_vmlinux1
drivers/built-in.o(.text+0xcb74d): In function `hpsb_alloc_packet':
: undefined reference to `kernel_locked'
make: *** [.tmp_vmlinux1] Error 1 |
Anybody else getting this? |
|
| Back to top |
|
 |
scoobydu Veteran


Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Tue Mar 16, 2004 8:56 pm Post subject: |
|
|
| thither wrote: | | Damasz wrote: | Cool, it's fixed in 2.6.4-gentoo-r1.  |
Not for me. When I try to do a make in 2.6.4-gentoo-r1, I get this:
| Code: | LD .tmp_vmlinux1
drivers/built-in.o(.text+0xcb74d): In function `hpsb_alloc_packet':
: undefined reference to `kernel_locked'
make: *** [.tmp_vmlinux1] Error 1 |
Anybody else getting this? |
Yes, I get the same error here .... (with everything is built in, except audigy2 and wifi drivers) _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
| Back to top |
|
 |
thither n00b

Joined: 04 Feb 2004 Posts: 32
|
Posted: Tue Mar 16, 2004 9:56 pm Post subject: |
|
|
| Looks like this is bug 44703. |
|
| Back to top |
|
 |
mallchin l33t


Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Sun Mar 21, 2004 1:03 am Post subject: |
|
|
Disabling Preemptible Kernel support should fix it. _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
| Back to top |
|
 |
mallchin l33t


Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Sun Mar 21, 2004 1:09 am Post subject: |
|
|
| scoobydu wrote: | | MSI K8T Master2 FAR, Dual Opteron 240's, 2gig RAM, Geforce 4800, Audigy2 Plat Ex, BTdiNovo, 2SATA, 4ATA, Pioneer 104. |
Nice
MSI K8T-NEO FISR2, Athlon 64, 1Gb RAM, GF4 Ti 4800, Audigy 2, -40'c. _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
| Back to top |
|
 |
srs5694 Apprentice

Joined: 08 Mar 2004 Posts: 178 Location: Woonsocket, RI
|
Posted: Sun Mar 21, 2004 2:28 am Post subject: |
|
|
| I haven't tried 2.6.4-r1, but when I got this error (or something very much like it; I don't recall precisely), I went back and compiled sound support into the kernel proper. That worked around the problem. |
|
| Back to top |
|
 |
scoobydu Veteran


Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Tue Mar 23, 2004 10:33 pm Post subject: |
|
|
| mallchin wrote: | | Disabling Preemptible Kernel support should fix it. |
Yep, that worked, thx
... and these 64bit systems are nice aren't they  _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
| Back to top |
|
 |
|