Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.21-viper2: No Place To Hide
View unanswered posts
View posts from last 24 hours

rackathon
Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed May 16, 2007 1:29 pm    Post subject: 2.6.21-viper2: No Place To Hide Reply with quote

Release Info:
http://vipernicus.org/2007/05/16/kernel-releases/2621-viper2-no-place-to-hide/

Comments:
Viper Sources is pretty much my playground for new patches.
The main goal of this patchset is pretty much to offer the latest features, decrease latencies, decrease overhead, and improve interactivity. The only difference is experimental versions of everything. I boot test each release and run for an extended amount of time.

Alot of updates. New -ck patch, new adaptive readahead + simpler on demand readahead, new suspend2 with debugging messages optional (thanks to ewaninkoko). Requests added were: coretemp drivers, sis900 oops fix, broadcom drivers, and sony-laptop patches (more thanks to ewaninkoko!).

_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 434
Location: Wisconsin

PostPosted: Wed May 16, 2007 2:15 pm    Post subject: Reply with quote

Wont compile here

Code:
# make     
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  CC      arch/i386/kernel/asm-offsets.s
  GEN     include/asm-i386/asm-offsets.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
init/do_mounts_initrd.c: In function ���handle_initrd���:
init/do_mounts_initrd.c:68: error: ���resume_attempted��� undeclared (first use in this function)
init/do_mounts_initrd.c:68: error: (Each undeclared identifier is reported only once
init/do_mounts_initrd.c:68: error: for each function it appears in.)
make[1]: *** [init/do_mounts_initrd.o] Error 1
make: *** [init] Error 2
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed May 16, 2007 2:33 pm    Post subject: Reply with quote

seren wrote:
...

Patch fixed. Remove from /usr/portage/distfiles and reemerge. ewaninkoko created the fix and submitted it to suspend2 bugzilla.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137
Location: whinebelt.se

PostPosted: Wed May 16, 2007 4:32 pm    Post subject: Reply with quote

What phc patch did you use? It just hangs when it tries to switch the tables, just like the ported ones from 2.6.20. There's a new updated patch out for 2.6.21 that solves that problem (although it brought me tons of oopses instead).

Edit: Nevermind, I didn't check the changelog before I wrote that... Anyway, there's a 0.2.10 patch out at https://www.dedigentoo.org/trac/linux-phc!
Back to top
View user's profile Send private message
Non_E
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 140
Location: Czech Republic

PostPosted: Wed May 16, 2007 5:06 pm    Post subject: ext4 Reply with quote

Code:

  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o: In function `ext4_mark_inode_dirty':
(.text+0x8de7d): undefined reference to `ext4_expand_extra_isize'
make: *** [.tmp_vmlinux1] Error 1

_________________
Only Sith deals in absolutes.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed May 16, 2007 5:15 pm    Post subject: Re: ext4 Reply with quote

Non_E wrote:
Code:

  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o: In function `ext4_mark_inode_dirty':
(.text+0x8de7d): undefined reference to `ext4_expand_extra_isize'
make: *** [.tmp_vmlinux1] Error 1

Kconfig? ext4 builds here either has a module or built in.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Non_E
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 140
Location: Czech Republic

PostPosted: Wed May 16, 2007 5:45 pm    Post subject: Re: ext4 Reply with quote

vipernicus wrote:
Non_E wrote:
Code:

  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o: In function `ext4_mark_inode_dirty':
(.text+0x8de7d): undefined reference to `ext4_expand_extra_isize'
make: *** [.tmp_vmlinux1] Error 1

Kconfig? ext4 builds here either has a module or built in.


See http://rada.borec.cz/pokusy/.config

EDIT: I made a little cleanup in the kernel config this time however the filesystem section has not been changed.
_________________
Only Sith deals in absolutes.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Wed May 16, 2007 8:41 pm    Post subject: Re: ext4 Reply with quote

Non_E wrote:
vipernicus wrote:
Non_E wrote:
Code:

  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o: In function `ext4_mark_inode_dirty':
(.text+0x8de7d): undefined reference to `ext4_expand_extra_isize'
make: *** [.tmp_vmlinux1] Error 1

Kconfig? ext4 builds here either has a module or built in.


See http://rada.borec.cz/pokusy/.config

EDIT: I made a little cleanup in the kernel config this time however the filesystem section has not been changed.

Use:
[*] Ext4dev extended attributes
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 434
Location: Wisconsin

PostPosted: Wed May 16, 2007 11:06 pm    Post subject: Reply with quote

vipernicus wrote:
seren wrote:
...

Patch fixed. Remove from /usr/portage/distfiles and reemerge. ewaninkoko created the fix and submitted it to suspend2 bugzilla.


thanks for the quick fix ;)

as always another quality patch set keep up the hard work!
Back to top
View user's profile Send private message
tranquilcool
l33t
l33t


Joined: 25 Mar 2005
Posts: 637

PostPosted: Thu May 17, 2007 3:26 am    Post subject: Reply with quote

viper just asking

Don't you think exec-shield is good enough to be included in this patch set?
_________________
this is a strange strange world.


Last edited by tranquilcool on Thu May 17, 2007 5:56 am; edited 1 time in total
Back to top
View user's profile Send private message
lucke
n00b
n00b


Joined: 11 May 2005
Posts: 28

PostPosted: Thu May 17, 2007 4:33 am    Post subject: Reply with quote

Oi, suspend2 2.2.9.17 will be released shortly, fixing a corruption issue when using initrd/ramfs. Please update, vipernicus.

Incidentally, your page doesn't render properly in konqueror.

Thanks for the release.
Back to top
View user's profile Send private message
Non_E
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 140
Location: Czech Republic

PostPosted: Thu May 17, 2007 4:51 am    Post subject: Re: ext4 Reply with quote

Thank you Vipernicus for help with the compilation issue. However I found another problem with ext4-dev. My home is on ext4-dev filesystem. I tried to su from konsole but it segfaulted. Trying the same from tty showed this error:
Code:
------------[ cut here ]------------
kernel BUG at fs/ext4/writeback.c:266!
invalid opcode: 0000 [#1]
Modules linked in: rfcomm l2cap aes_i586 usb_storage usbhid hci_usb bluetooth ehci_hcd via_agp agpgart uhci_hcd evdev pcspkr i2c_viapro
CPU:    0
EIP:    0060:[<c02051c8>]    Not tainted VLI
EFLAGS: 00010246   (2.6.21-viper2 #5)
EIP is at ext4_wb_submit_extent+0x3f8/0x410
eax: 8001186c   ebx: d85d9eb4   ecx: 0000000c   edx: 00000000
esi: 00000001   edi: 00000000   ebp: c130e820   esp: d85d9d00
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process su (pid: 5099, ti=d85d8000 task=dcd265d0 task.ti=d85d8000)
Stack: 00000000 d867d780 d8693db8 00000000 d8693e44 c01f4137 d85d9d4c d89193ec
       d85d9eb4 d85d9da8 d89193ec d85d9ea0 00000000 00000001 c01f47c1 0007d800
       d8693e44 0000000c 00000000 00000001 00000000 00000001 0000006e 00000000
Call Trace:
 [<c01f4137>] ext4_mark_iloc_dirty+0x257/0x3f0
 [<c01f47c1>] ext4_mark_inode_dirty+0x61/0x140
 [<c02062ee>] ext4_wb_handle_extent+0x53e/0x560
 [<c020459b>] ext4_ext_walk_space+0x12b/0x260
 [<c0204ba7>] ext4_wb_flush+0x57/0x160
 [<c0205db0>] ext4_wb_handle_extent+0x0/0x560
 [<c015146a>] pagevec_lookup_tag+0x2a/0x40
 [<c0205ba9>] ext4_wb_writepages+0x3a9/0x3c0
 [<c015146a>] pagevec_lookup_tag+0x2a/0x40
 [<c014f0ef>] generic_writepages+0x10f/0x350
 [<c014f35b>] do_writepages+0x2b/0x50
 [<c01815ca>] __writeback_single_inode+0x8a/0x370
 [<c0149a47>] find_get_pages_tag+0x27/0x60
 [<c015146a>] pagevec_lookup_tag+0x2a/0x40
 [<c014a8fd>] wait_on_page_writeback_range+0x5d/0x100
 [<c0181bee>] generic_sync_sb_inodes+0x16e/0x210
 [<c0181d33>] sync_inodes_sb+0x83/0xa0
 [<c0181db4>] __sync_inodes+0x64/0x90
 [<c0181df1>] sync_inodes+0x11/0x30
 [<c0184554>] do_sync+0x14/0x60
 [<c01845aa>] sys_sync+0xa/0x10
 [<c01027da>] sysenter_past_esp+0x5f/0x85
 =======================
Code: fd ff ff 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 8d 74 26 00 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 8d 74 26 00 0f 0b eb fe 0f 0b eb fe <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 90 8d b4 26 00
EIP: [<c02051c8>] ext4_wb_submit_extent+0x3f8/0x410 SS:ESP 0068:d85d9d00


I found out that this happened only to ext4-dev partitions with delalloc option. Removing delalloc makes the ext4-dev driver fork for me again.
_________________
Only Sith deals in absolutes.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu May 17, 2007 6:22 am    Post subject: Re: ext4 Reply with quote

Non_E wrote:
Thank you Vipernicus for help with the compilation issue. However I found another problem with ext4-dev. My home is on ext4-dev filesystem. I tried to su from konsole but it segfaulted. Trying the same from tty showed this error:
[code]------------[ cut here ]------------
kernel BUG at fs/ext4/writeback.c:266!

I noticed this a couple of days ago as well. I think delalloc is just too early of a feature to use.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog


Last edited by vipernicus on Thu May 17, 2007 8:18 am; edited 1 time in total
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu May 17, 2007 7:24 am    Post subject: Reply with quote

Hi vipernicus.. thanks for the new release of viper-sources (including vaio-patches :D)

Lets find out whether it compiles or not....
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu May 17, 2007 7:28 am    Post subject: Reply with quote

8O What does this mean?

Code:

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) sys-kernel/viper-sources-2.6.21-r2 to /
>>> Downloading 'http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2'
--14:26:28--  http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2
           => `/usr/portage/distfiles/linux-2.6.21-viper2.bz2'
Resolving vipernicus.org... 72.36.223.122
Connecting to vipernicus.org|72.36.223.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 900.005 (879K) [application/x-bzip2]

100%[===================================================================================================>] 900.005      361.88K/s             

14:26:32 (360.98 KB/s) - `/usr/portage/distfiles/linux-2.6.21-viper2.bz2' saved [900005/900005]

!!! Couldn't download 'linux-2.6.21-viper2.bz2'. Aborting.


Bug or feature? :wink:
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu May 17, 2007 8:18 am    Post subject: Reply with quote

santaclaws wrote:
8O What does this mean?

Code:

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) sys-kernel/viper-sources-2.6.21-r2 to /
>>> Downloading 'http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2'
--14:26:28--  http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2
           => `/usr/portage/distfiles/linux-2.6.21-viper2.bz2'
Resolving vipernicus.org... 72.36.223.122
Connecting to vipernicus.org|72.36.223.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 900.005 (879K) [application/x-bzip2]

100%[===================================================================================================>] 900.005      361.88K/s             

14:26:32 (360.98 KB/s) - `/usr/portage/distfiles/linux-2.6.21-viper2.bz2' saved [900005/900005]

!!! Couldn't download 'linux-2.6.21-viper2.bz2'. Aborting.


Bug or feature? :wink:

Try again, forgot to update the manifest on custom-kernels
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
ejs76
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2004
Posts: 139

PostPosted: Thu May 17, 2007 9:03 am    Post subject: Reply with quote

vipernicus wrote:
Quote:
Try again, forgot to update the manifest on custom-kernels


The problem still persists. I'm at custom-kernels rev 34. Is that the latest revision with the updated manifest?
_________________
glibc-2.8 | gcc-4.3.1 | 2.6.26-zen20 | xorg-server-1.4.2 | nvidia-drivers-177.13
Athlon 64 X2 4600+ | Abit NF-M2 nview | 8800GTS 320MB (G80) | 2GB DDR2 800 | Dual Head
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu May 17, 2007 9:06 am    Post subject: Reply with quote

vipernicus wrote:
santaclaws wrote:
8O What does this mean?

Code:

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) sys-kernel/viper-sources-2.6.21-r2 to /
>>> Downloading 'http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2'
--14:26:28--  http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2
           => `/usr/portage/distfiles/linux-2.6.21-viper2.bz2'
Resolving vipernicus.org... 72.36.223.122
Connecting to vipernicus.org|72.36.223.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 900.005 (879K) [application/x-bzip2]

100%[===================================================================================================>] 900.005      361.88K/s             

14:26:32 (360.98 KB/s) - `/usr/portage/distfiles/linux-2.6.21-viper2.bz2' saved [900005/900005]

!!! Couldn't download 'linux-2.6.21-viper2.bz2'. Aborting.


Bug or feature? :wink:

Try again, forgot to update the manifest on custom-kernels



Hi vipernicus

I updated custom-kernels via layman but the problem persists :(

Code:

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) sys-kernel/viper-sources-2.6.21-r2 to /
>>> Downloading 'http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2'
--16:03:46--  http://vipernicus.org/files/patches/2.6.21/viper2/linux-2.6.21-viper2.bz2
           => `/usr/portage/distfiles/linux-2.6.21-viper2.bz2'
Resolving vipernicus.org... 72.36.223.122
Connecting to vipernicus.org|72.36.223.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 900.005 (879K) [application/x-bzip2]

100%[===================================================================================================>] 900.005      296.34K/s             

16:03:50 (295.58 KB/s) - `/usr/portage/distfiles/linux-2.6.21-viper2.bz2' saved [900005/900005]

!!! Couldn't download 'linux-2.6.21-viper2.bz2'. Aborting.
localhost santaclaws #


_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu May 17, 2007 9:09 am    Post subject: Reply with quote

Solved it. :D :oops:

Code:
 ebuild viper-sources-2.6.21-r2.ebuild digest





I will get another cup of coffee...
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
ejs76
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2004
Posts: 139

PostPosted: Thu May 17, 2007 9:26 am    Post subject: Reply with quote

santaclaws wrote:

Quote:

Solved it. :D :oops:

Code:
ebuild viper-sources-2.6.21-r2.ebuild digest






I will get another cup of coffee...


DUH. When will we ever learn... :wink:
_________________
glibc-2.8 | gcc-4.3.1 | 2.6.26-zen20 | xorg-server-1.4.2 | nvidia-drivers-177.13
Athlon 64 X2 4600+ | Abit NF-M2 nview | 8800GTS 320MB (G80) | 2GB DDR2 800 | Dual Head
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Thu May 17, 2007 12:19 pm    Post subject: Reply with quote

So.. finally I recompiled the new viper-sources and tested it a little bit --> it runs smoothly and fine. No problems at all.

For myself I have to say: Nice work! :D

Thanks.
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 130
Location: France, Nice

PostPosted: Thu May 17, 2007 2:16 pm    Post subject: Reply with quote

santaclaws wrote:
So.. finally I recompiled the new viper-sources and tested it a little bit --> it runs smoothly and fine. No problems at all.

For myself I have to say: Nice work! :D

Thanks.


For me as well
Thanks !!!

Jjeje007[/b]
Back to top
View user's profile Send private message
gAzo0o
n00b
n00b


Joined: 22 Feb 2006
Posts: 21

PostPosted: Thu May 17, 2007 4:46 pm    Post subject: Reply with quote

Where did the cfs (nicus) version go? I kinda like it more, as my machine is way more responsible with it. SD is giving me troubles anyway (like memory errors in wine).
Back to top
View user's profile Send private message
buddabrod
Apprentice
Apprentice


Joined: 15 Oct 2006
Posts: 241
Location: Germany

PostPosted: Thu May 17, 2007 6:44 pm    Post subject: Reply with quote

gAzo0o wrote:
Where did the cfs (nicus) version go? I kinda like it more, as my machine is way more responsible with it. SD is giving me troubles anyway (like memory errors in wine).
I think it's here ;) It seems Vipernicus und Waninkoko splitted work :-)
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu May 17, 2007 8:09 pm    Post subject: Reply with quote

buddabrod wrote:
gAzo0o wrote:
Where did the cfs (nicus) version go? I kinda like it more, as my machine is way more responsible with it. SD is giving me troubles anyway (like memory errors in wine).
I think it's here ;) It seems Vipernicus und Waninkoko splitted work :-)

Yeah, I decided not to do any more CFS updates, since ewaninkoko can handle it well.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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