View previous topic :: View next topic |
Author |
Message |
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Tue Aug 19, 2008 3:30 pm Post subject: |
|
|
When trying to compile latest pull this AM I get this:
Code: |
...
CC drivers/misc/tifm_core.o
CC drivers/misc/tifm_7xx1.o
CC drivers/misc/thinkpad_acpi.o
CC drivers/misc/thinkpad_ec.o
drivers/misc/thinkpad_ec.c:39:27: error: asm/semaphore.h: No such file or directory
drivers/misc/thinkpad_ec.c:86: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/misc/thinkpad_ec.c:86: warning: parameter names (without types) in function declaration
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/misc/thinkpad_ec.c:97: error: implicit declaration of function 'down_interruptible'
drivers/misc/thinkpad_ec.c:97: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/misc/thinkpad_ec.c:97: error: (Each undeclared identifier is reported only once
drivers/misc/thinkpad_ec.c:97: error: for each function it appears in.)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/misc/thinkpad_ec.c:111: error: implicit declaration of function 'down_trylock'
drivers/misc/thinkpad_ec.c:111: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/misc/thinkpad_ec.c:123: error: implicit declaration of function 'up'
drivers/misc/thinkpad_ec.c:123: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[2]: *** [drivers/misc/thinkpad_ec.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
|
This is the same issue I have on the -zenmm latest as well. Thanks for looking into it. |
|
Back to top |
|
|
cheater1034 Veteran
Joined: 09 Sep 2004 Posts: 1558
|
Posted: Tue Aug 19, 2008 4:00 pm Post subject: |
|
|
mroconnor wrote: | When trying to compile latest pull this AM I get this:
Code: |
...
CC drivers/misc/tifm_core.o
CC drivers/misc/tifm_7xx1.o
CC drivers/misc/thinkpad_acpi.o
CC drivers/misc/thinkpad_ec.o
drivers/misc/thinkpad_ec.c:39:27: error: asm/semaphore.h: No such file or directory
drivers/misc/thinkpad_ec.c:86: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/misc/thinkpad_ec.c:86: warning: parameter names (without types) in function declaration
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/misc/thinkpad_ec.c:97: error: implicit declaration of function 'down_interruptible'
drivers/misc/thinkpad_ec.c:97: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/misc/thinkpad_ec.c:97: error: (Each undeclared identifier is reported only once
drivers/misc/thinkpad_ec.c:97: error: for each function it appears in.)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/misc/thinkpad_ec.c:111: error: implicit declaration of function 'down_trylock'
drivers/misc/thinkpad_ec.c:111: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/misc/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/misc/thinkpad_ec.c:123: error: implicit declaration of function 'up'
drivers/misc/thinkpad_ec.c:123: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[2]: *** [drivers/misc/thinkpad_ec.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
|
This is the same issue I have on the -zenmm latest as well. Thanks for looking into it. |
The problem is asm/semaphore.h no longer exists on 2.6.27 kernels, it did on 2.6.26 and previous, but all it did was include linux/semaphore.h as a dummy until all the code was cleaned up to point to linux/semaphore.h, which it is.
I changed it, try it now and report back _________________ IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Tue Aug 19, 2008 4:51 pm Post subject: |
|
|
I'll pull tonight, unless git-http has been setup? Thanks for making the change, were you able to make the change on the -zenmm tree as well? |
|
Back to top |
|
|
samonli n00b
Joined: 06 Nov 2004 Posts: 29
|
Posted: Wed Aug 20, 2008 6:14 am Post subject: |
|
|
Anybody can help me how can i roll back from 2.6.27-rc2-zen0 to 2.6.26-zen2?
when i run
Code: | git check v2.6.26-zen2 |
it said
Code: | error: pathspec 'v2.6.26-zen2' did not match any file(s) known to git. |
sorry for my bad english and thanks very much! |
|
Back to top |
|
|
Diskmaster n00b
Joined: 13 Jul 2008 Posts: 23
|
Posted: Wed Aug 20, 2008 6:29 am Post subject: |
|
|
samonli wrote: | Anybody can help me how can i roll back from 2.6.27-rc2-zen0 to 2.6.26-zen2?
when i run
Code: | git check v2.6.26-zen2 |
it said
Code: | error: pathspec 'v2.6.26-zen2' did not match any file(s) known to git. |
sorry for my bad english and thanks very much! |
You want
Code: | git checkout v2.6.26-zen2 |
_________________ Linux polished-diamond 3.0.9-00003-g3c676b1 x86_64 Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz GenuineIntel GNU/Linux
Something witty goes here. |
|
Back to top |
|
|
ponciarello Apprentice
Joined: 22 Jul 2008 Posts: 223 Location: beach of slack
|
Posted: Wed Aug 20, 2008 6:30 am Post subject: |
|
|
remember you can use zen-sources.org for patches to apply to vanilla kernels. |
|
Back to top |
|
|
samonli n00b
Joined: 06 Nov 2004 Posts: 29
|
Posted: Wed Aug 20, 2008 6:53 am Post subject: |
|
|
Diskmaster wrote: | samonli wrote: | Anybody can help me how can i roll back from 2.6.27-rc2-zen0 to 2.6.26-zen2?
when i run
Code: | git check v2.6.26-zen2 |
it said
Code: | error: pathspec 'v2.6.26-zen2' did not match any file(s) known to git. |
sorry for my bad english and thanks very much! |
You want
Code: | git checkout v2.6.26-zen2 |
|
same error when run git checkout v2.6.26-zen2 |
|
Back to top |
|
|
Diskmaster n00b
Joined: 13 Jul 2008 Posts: 23
|
Posted: Wed Aug 20, 2008 7:03 am Post subject: |
|
|
samonli wrote: | Diskmaster wrote: | samonli wrote: | Anybody can help me how can i roll back from 2.6.27-rc2-zen0 to 2.6.26-zen2?
when i run
Code: | git check v2.6.26-zen2 |
it said
Code: | error: pathspec 'v2.6.26-zen2' did not match any file(s) known to git. |
sorry for my bad english and thanks very much! |
You want
Code: | git checkout v2.6.26-zen2 |
|
same error when run git checkout v2.6.26-zen2 |
Try git checkout 53d00bdb8aa6af8704549ed1b80d87232fe82694 _________________ Linux polished-diamond 3.0.9-00003-g3c676b1 x86_64 Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz GenuineIntel GNU/Linux
Something witty goes here. |
|
Back to top |
|
|
samonli n00b
Joined: 06 Nov 2004 Posts: 29
|
Posted: Wed Aug 20, 2008 7:19 am Post subject: |
|
|
Diskmaster wrote: | samonli wrote: | Diskmaster wrote: | samonli wrote: | Anybody can help me how can i roll back from 2.6.27-rc2-zen0 to 2.6.26-zen2?
when i run
Code: | git check v2.6.26-zen2 |
it said
Code: | error: pathspec 'v2.6.26-zen2' did not match any file(s) known to git. |
sorry for my bad english and thanks very much! |
You want
Code: | git checkout v2.6.26-zen2 |
|
same error when run git checkout v2.6.26-zen2 |
Try git checkout 53d00bdb8aa6af8704549ed1b80d87232fe82694 |
Code: | git checkout 53d00bdb8aa6af8704549ed1b80d87232fe82694 |
Code: | error: pathspec '53d00bdb8aa6af8704549ed1b80d87232fe82694' did not match any file(s) known to git. |
|
|
Back to top |
|
|
jurek n00b
Joined: 11 May 2006 Posts: 29
|
Posted: Wed Aug 20, 2008 10:25 am Post subject: |
|
|
Code: | GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `vt_ioctl':
(.text+0x1160e): undefined reference to `vc_resize'
drivers/built-in.o: In function `vt_ioctl':
(.text+0x11741): undefined reference to `vc_resize'
drivers/built-in.o: In function `dummycon_init':
dummycon.c:(.text+0x24842): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_font_set':
vgacon.c:(.text+0x25f41): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_init':
vgacon.c:(.text+0x26246): undefined reference to `vc_resize'
drivers/built-in.o:fbcon.c:(.text+0x27dc3): more undefined references to `vc_resize' follow
make: *** [.tmp_vmlinux1] Błąd 1 |
_________________ C2Q 9550@4.0 Ghz - Asus P5Q-E - GTX 260 216sp - 4 GB DDR2 OCZ Titanium 1150 - Samsung HD103SJ 1TB - Cooler Master 590 |
|
Back to top |
|
|
mroconnor Guru
Joined: 24 Feb 2006 Posts: 402 Location: USA
|
Posted: Wed Aug 20, 2008 1:29 pm Post subject: |
|
|
jurek wrote: | Code: | GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `vt_ioctl':
(.text+0x1160e): undefined reference to `vc_resize'
drivers/built-in.o: In function `vt_ioctl':
(.text+0x11741): undefined reference to `vc_resize'
drivers/built-in.o: In function `dummycon_init':
dummycon.c:(.text+0x24842): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_font_set':
vgacon.c:(.text+0x25f41): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_init':
vgacon.c:(.text+0x26246): undefined reference to `vc_resize'
drivers/built-in.o:fbcon.c:(.text+0x27dc3): more undefined references to `vc_resize' follow
make: *** [.tmp_vmlinux1] Błąd 1 |
|
I just got the same thing.
On another note:
Can anyone point me to a decent how to for compcache? I want to give it a go but not sure it will even be that effective, I rarely swap more than 80-100mb on 1GB swap with 1GB RAM.
And one last note, @cheater1034 can you make the same change re: the ASM/tp_smapi issue to the zenmm tree as well? So far my best running kernel is 2.6.26-rc8-zenmm3?
Thanks for all the good work. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Wed Aug 20, 2008 1:59 pm Post subject: |
|
|
LD .tmp_vmlinux1
drivers/built-in.o: In function `vt_ioctl':
(.text+0x13046): undefined reference to `vc_resize'
drivers/built-in.o: In function `vt_ioctl':
(.text+0x136c6): undefined reference to `vc_resize'
drivers/built-in.o: In function `dummycon_init':
dummycon.c.text+0x260fe): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_font_set':
vgacon.c.text+0x2795a): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_init':
vgacon.c.text+0x27c79): undefined reference to `vc_resize'
drivers/built-in.o:fbcon.c.text+0x29d44): more undefined references to `vc_resize' follow
same errors here. _________________ this is a strange strange world. |
|
Back to top |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Wed Aug 20, 2008 4:57 pm Post subject: |
|
|
hi,
i just wanted to inform:
i was just about to install zen-sources-2.6.26-r21 on my notebook, but i looks like it is not available via the zen-overlay. I remember seeing it a couple of days before, what happened to it? _________________ --
Linux & such ...
http://blog.hasnoname.de |
|
Back to top |
|
|
mantoo Tux's lil' helper
Joined: 08 Dec 2007 Posts: 98 Location: Germany
|
Posted: Wed Aug 20, 2008 9:01 pm Post subject: |
|
|
tranquilcool wrote: | LD .tmp_vmlinux1
drivers/built-in.o: In function `vt_ioctl':
(.text+0x13046): undefined reference to `vc_resize'
drivers/built-in.o: In function `vt_ioctl':
(.text+0x136c6): undefined reference to `vc_resize'
drivers/built-in.o: In function `dummycon_init':
dummycon.c.text+0x260fe): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_font_set':
vgacon.c.text+0x2795a): undefined reference to `vc_resize'
drivers/built-in.o: In function `vgacon_init':
vgacon.c.text+0x27c79): undefined reference to `vc_resize'
drivers/built-in.o:fbcon.c.text+0x29d44): more undefined references to `vc_resize' follow
same errors here. |
seems to be fixed. had same problem, last pull magically fixed it |
|
Back to top |
|
|
cheater1034 Veteran
Joined: 09 Sep 2004 Posts: 1558
|
Posted: Wed Aug 20, 2008 11:24 pm Post subject: |
|
|
Quote: | And one last note, @cheater1034 can you make the same change re: the ASM/tp_smapi issue to the zenmm tree as well? So far my best running kernel is 2.6.26-rc8-zenmm3? |
Done _________________ IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land. |
|
Back to top |
|
|
dracozny Tux's lil' helper
Joined: 04 May 2004 Posts: 86
|
Posted: Thu Aug 21, 2008 1:17 am Post subject: make fails |
|
|
Code: | fatal: cannot describe 'ef70ff1b2ec3e9549e3b6b5e4cff16bc4a4d8dba'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC mm/page_alloc.o
mm/page_alloc.c: In function 'drain_all_pages':
mm/page_alloc.c:1005: error: too many arguments to function 'on_each_cpu'
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2
|
zenrt-sources
any way to fix this? _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
Back to top |
|
|
cheater1034 Veteran
Joined: 09 Sep 2004 Posts: 1558
|
Posted: Thu Aug 21, 2008 3:27 am Post subject: |
|
|
v2.6.27-rc4-zen1 <--- in zen-sources git repo <--- du it! _________________ IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land. |
|
Back to top |
|
|
dracozny Tux's lil' helper
Joined: 04 May 2004 Posts: 86
|
Posted: Thu Aug 21, 2008 4:11 am Post subject: |
|
|
cheater1034 wrote: | v2.6.27-rc4-zen1 <--- in zen-sources git repo <--- du it! |
are you saying zenrt-sources is not working? _________________ I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.
-Nikola Tesla- |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Aug 21, 2008 7:18 am Post subject: |
|
|
i neede the virtualbox-modules in zen-overlay.
it compiled against the zen-sources. the one in portage doesn't.
it has been removed from the overlay.
can i have it back please? _________________ this is a strange strange world. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Thu Aug 21, 2008 9:06 am Post subject: |
|
|
Is there a problem with zen-sources overlay? I can't make it work using layman. |
|
Back to top |
|
|
mantoo Tux's lil' helper
Joined: 08 Dec 2007 Posts: 98 Location: Germany
|
Posted: Thu Aug 21, 2008 9:12 am Post subject: |
|
|
im not really sure if with 2.6.27-rc3-zen1 i also had that problem, but noticed some minutes ago while i skimmed over my output of dmesg(2.7.27-rc4-zen1) that im getting a segfault by alsa.
excactly while alsa tries to restore the mixer-settings Quote: | alsactl -f /var/lib/alsa/asound.state restore 0 |
is the command that causes that segfault.
as i dont know if its related to zen directly i thougt to post it here.
Quote: | alsactl[3854]: segfault at 0 ip 0804c5f5 sp bf9bfec0 error 4 in alsactl[8048000+16000]
alsactl[3883]: segfault at 0 ip 0804c5f5 sp bfe984f0 error 4 in alsactl[8048000+16000]
alsactl[3884]: segfault at 0 ip 0804c5f5 sp bf95afb0 error 4 in alsactl[8048000+16000]
alsactl[3885]: segfault at 0 ip 0804c5f5 sp bfdabc00 error 4 in alsactl[8048000+16000]
alsactl[3943]: segfault at 0 ip 0804c5f5 sp bf845690 error 4 in alsactl[8048000+16000]
| the above is the dmesg output after trying some ohter values for the card, each resulting in a segfault |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ponciarello Apprentice
Joined: 22 Jul 2008 Posts: 223 Location: beach of slack
|
Posted: Thu Aug 21, 2008 12:21 pm Post subject: |
|
|
he pulled it minutes after linus one
tnx |
|
Back to top |
|
|
lazx888 Tux's lil' helper
Joined: 13 Sep 2005 Posts: 118
|
Posted: Thu Aug 21, 2008 1:06 pm Post subject: |
|
|
mbar wrote: | Is there a problem with zen-sources overlay? I can't make it work using layman. |
++ |
|
Back to top |
|
|
|