Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Official thread: "zen-sources" - Part V
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 21, 22, 23  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Tue Aug 19, 2008 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Aug 19, 2008 4:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Aug 19, 2008 4:45 pm    Post subject: Reply with quote

great job cheater1034, compcache & tlsf seem to work 100%

the problems during shutdown / reboot and/or with reiser4 are gone now :D

I'll have to do more testing but it seems ready for usage 8)

kudos to the creators of tlsf and compcache :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Tue Aug 19, 2008 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
samonli
n00b
n00b


Joined: 06 Nov 2004
Posts: 29

PostPosted: Wed Aug 20, 2008 6:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Diskmaster
n00b
n00b


Joined: 13 Jul 2008
Posts: 23

PostPosted: Wed Aug 20, 2008 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message
ponciarello
Apprentice
Apprentice


Joined: 22 Jul 2008
Posts: 223
Location: beach of slack

PostPosted: Wed Aug 20, 2008 6:30 am    Post subject: Reply with quote

remember you can use zen-sources.org for patches to apply to vanilla kernels.
Back to top
View user's profile Send private message
samonli
n00b
n00b


Joined: 06 Nov 2004
Posts: 29

PostPosted: Wed Aug 20, 2008 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Diskmaster
n00b
n00b


Joined: 13 Jul 2008
Posts: 23

PostPosted: Wed Aug 20, 2008 7:03 am    Post subject: Reply with quote

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
View user's profile Send private message
samonli
n00b
n00b


Joined: 06 Nov 2004
Posts: 29

PostPosted: Wed Aug 20, 2008 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message
jurek
n00b
n00b


Joined: 11 May 2006
Posts: 29

PostPosted: Wed Aug 20, 2008 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
mroconnor
Guru
Guru


Joined: 24 Feb 2006
Posts: 402
Location: USA

PostPosted: Wed Aug 20, 2008 1:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Wed Aug 20, 2008 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Wed Aug 20, 2008 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
mantoo
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2007
Posts: 98
Location: Germany

PostPosted: Wed Aug 20, 2008 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Aug 20, 2008 11:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
dracozny
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2004
Posts: 86

PostPosted: Thu Aug 21, 2008 1:17 am    Post subject: make fails Reply with quote

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
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Aug 21, 2008 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message
dracozny
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2004
Posts: 86

PostPosted: Thu Aug 21, 2008 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Thu Aug 21, 2008 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Thu Aug 21, 2008 9:06 am    Post subject: Reply with quote

Is there a problem with zen-sources overlay? I can't make it work using layman.
Back to top
View user's profile Send private message
mantoo
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2007
Posts: 98
Location: Germany

PostPosted: Thu Aug 21, 2008 9:12 am    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Aug 21, 2008 12:03 pm    Post subject: Reply with quote

cheater1034 wrote:
v2.6.27-rc4-zen1 <--- in zen-sources git repo <--- du it!


sure !
already did it :wink:
thanks for bumping rc4, cheater :)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
ponciarello
Apprentice
Apprentice


Joined: 22 Jul 2008
Posts: 223
Location: beach of slack

PostPosted: Thu Aug 21, 2008 12:21 pm    Post subject: Reply with quote

he pulled it minutes after linus one 8O

tnx :)
Back to top
View user's profile Send private message
lazx888
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 118

PostPosted: Thu Aug 21, 2008 1:06 pm    Post subject: Reply with quote

mbar wrote:
Is there a problem with zen-sources overlay? I can't make it work using layman.


++
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, ... 21, 22, 23  Next
Page 2 of 23

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum