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

Goto page Previous  1, 2, 3 ... 21, 22, 23, 24, 25, 26  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
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 383
Location: Minsk, Belarus

PostPosted: Sat Feb 16, 2008 11:34 am    Post subject: Reply with quote

just compiled zen2

when boot with initrd i get
Quote:
/init: /etc/initrd.scripts: 936: Syntax error: Bad substitution
Kernel panic - not syncing: Attempted to kill init!

maybe its related to latest genkernel.. i dont know.

boot options in grub
Quote:
title=Gentoo Linux 2.6.24 zen2 (git)
root(hd0,0)
kernel /kernel-genkernel-x86_64-2.6.24-zen2 noexec=off root=/dev/ram0 init=/linuxrc real_root=/dev/sda3 vga=791 splash=silent,theme:livecd-2007.0 CONSOLE=/dev/tty1 quiet resume2=swap:/dev/sda2
initrd /initramfs-genkernel-x86_64-2.6.24-zen2


zen1 boots fine

EDIT: on x86 boots fine in any case
_________________
rion-overlay


Last edited by Rion on Sat Feb 16, 2008 5:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
nbvcxz
Guru
Guru


Joined: 02 Sep 2005
Posts: 379
Location: Kraków / PL

PostPosted: Sat Feb 16, 2008 2:29 pm    Post subject: Reply with quote

DrAgOnTuX wrote:
Veldrin wrote:
Quote:
This solves it, but this is NOT the real solution as it takes 34 min to download and install again (on a Core 2 Duo @ 2,4 GHz with an internet access of 4 Mbit/s !)
Kernel should install without cleaning already downloaded items...
I had the same experience with a few days back, and I think that the bottle neck is not the connection but the server, who needs to prepare the snapshot you intend to download.

why aren't branches "tar"-ed and "gzip"-ed?

tar-ed 'stable' (not 9999) snapshots would be good idea - in fact half of zen-sources releases I needed to clear (purge) the local git copy - and of course it takes a lot of time
_________________
nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Sat Feb 16, 2008 4:00 pm    Post subject: Reply with quote

Cobra78 wrote:
when will be zen2 patch available for non-gentoo users :?:


I'm using zen in debian and on gentoo... git-checkout/git-pull is quite generic.
Trigger a git-checkout (see the first zen thread for the url), get a good cup of coffee (a really good one, please), relax, and come back when the checkout is done. make menuconfig - make - make install - make modules_install ;)

If you use a .deb based system you'll most likely need to use make-kpkg and build-essentials - as well as libncurses-dev if you like make menuconfig.

Someone mentioned an ubuntu repository for zen. Search for it - if you want to. Zen has never been limited to gentoo - there are just no binary packages for other distros - a kernel tree is usually source code only ;)

Good luck!
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
Cobra78
n00b
n00b


Joined: 01 Nov 2007
Posts: 21
Location: Ravenna

PostPosted: Sat Feb 16, 2008 4:05 pm    Post subject: Reply with quote

treffer wrote:
Cobra78 wrote:
when will be zen2 patch available for non-gentoo users :?:


I'm using zen in debian and on gentoo... git-checkout/git-pull is quite generic.
Trigger a git-checkout (see the first zen thread for the url), get a good cup of coffee (a really good one, please), relax, and come back when the checkout is done. make menuconfig - make - make install - make modules_install ;)

If you use a .deb based system you'll most likely need to use make-kpkg and build-essentials - as well as libncurses-dev if you like make menuconfig.

Someone mentioned an ubuntu repository for zen. Search for it - if you want to. Zen has never been limited to gentoo - there are just no binary packages for other distros - a kernel tree is usually source code only ;)

Good luck!


Thnx but i know how to configure and compile a kernel, and how use git, but i'm waiting for the stbable snapshot of the patch ;)
_________________
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.35.x
Msi Wind U100 Windows Xp/Ubuntu Netbook Remix 10.04
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Sat Feb 16, 2008 4:07 pm    Post subject: Reply with quote

Cobra78 wrote:
Thnx but i know how to configure and compile a kernel, and how use git, but i'm waiting for the stbable snapshot of the patch ;)


Ditto.
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sat Feb 16, 2008 6:17 pm    Post subject: Reply with quote

a note for ext4 users: since 2.6.25-rc1 you can't mount your ext4 partitions anymore until you setup them with development flag. this affects already master-devel branch, and sooner or later also master branch. so, to set test flag you have 2 ways:
for already existing partitions:
Code:

    # debugfs -w /dev/hdXX
    debugfs: set_super_value s_flags 4
    debugfs: quit

and, for new partitions
Code:
mke2fs -j -E test_fs /dev/hdXX
to set it at mke2fs time
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sat Feb 16, 2008 9:23 pm    Post subject: Reply with quote

I needed this to compile latest master-devel with reiser4 enabled (taken from .25-rc2-mm1):
Code:
diff --git a/fs/reiser4/plugin/item/extent_file_ops.c b/fs/reiser4/plugin/item/extent_file_ops.c
index 5a4efc9..6e8711c 100644
--- a/fs/reiser4/plugin/item/extent_file_ops.c
+++ b/fs/reiser4/plugin/item/extent_file_ops.c
@@ -1133,7 +1133,7 @@ int reiser4_do_readpage_extent(reiser4_extent * ext, reiser4_block_nr pos,
                 */
                j = jfind(mapping, index);
                if (j == NULL) {
-                       zero_user_page(page, 0, PAGE_CACHE_SIZE, KM_USER0);
+                       zero_user(page, 0, PAGE_CACHE_SIZE);
                        SetPageUptodate(page);
                        unlock_page(page);
                        return 0;
@@ -1148,7 +1148,7 @@ int reiser4_do_readpage_extent(reiser4_extent * ext, reiser4_block_nr pos,
                block = *jnode_get_io_block(j);
                spin_unlock_jnode(j);
                if (block == 0) {
-                       zero_user_page(page, 0, PAGE_CACHE_SIZE, KM_USER0);
+                       zero_user(page, 0, PAGE_CACHE_SIZE);
                        SetPageUptodate(page);
                        unlock_page(page);
                        jput(j);


...and this one to compile nvidia-drivers:
http://gimpel.ath.cx/files/nvidia-drivers-169.09-2.6.25.patch
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
Cobra78
n00b
n00b


Joined: 01 Nov 2007
Posts: 21
Location: Ravenna

PostPosted: Sun Feb 17, 2008 10:24 am    Post subject: Reply with quote

two problem:

1) Squashfs + LZMA didin't compile, but Squashfs without lzma is compile fine

2) Sisyem didin't halt, it hangs with the message "unable to iterate ide device: no such file or directory", but reboot works fine.

I've noticed the second problem even with zen1 after a modification of kernel config, but i don't remember what sort of modification.
_________________
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.35.x
Msi Wind U100 Windows Xp/Ubuntu Netbook Remix 10.04
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sun Feb 17, 2008 11:07 am    Post subject: Reply with quote

squashfs is broken in master-devel. so, its a known issues, it will be fixed asap. about shutdown bug..well, master-devel has a patch that may fit to your situation
Back to top
View user's profile Send private message
prestige
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 95

PostPosted: Sun Feb 17, 2008 4:42 pm    Post subject: Reply with quote

I see zen2 is released for 2.6.24.
http://zen.waninkoko.info/patches/2.6.24/patch-2.6.24-zen2.bz2

I have one request. Please make an announce when a new patch release is available (in .bz2 format and not any git stuff). This can be announced here or on the site (zen-sources.org). It will be nice if the announce contains a list of all patches included in the new patch release. All patches should be available via separate patch files as well. This process worked very well for kamikaze sources. I know this is a additional effort, but this will be very helpful for us.

Thank you.


After applying the zen2 patch, EXTRAVERSION stays "zen1". :(
Back to top
View user's profile Send private message
miedo95
n00b
n00b


Joined: 21 Apr 2005
Posts: 9
Location: Mexicali, Mexico

PostPosted: Sun Feb 17, 2008 9:47 pm    Post subject: Re: 2.6.24-zen2 failed on bcm43xx driver Reply with quote

higon wrote:
2.6.24-zen2 compiling failed when b43 driver is on.
It was all fine with 2.6.24-zen1.

Code:

  CC [M]  drivers/pcmcia/ds.o
  CC [M]  drivers/net/wireless/b43/main.o
drivers/net/wireless/b43/main.c: In function 'b43_upload_microcode':
drivers/net/wireless/b43/main.c:1885: error: label 'out' used but not defined
make[4]: *** [drivers/net/wireless/b43/main.o] Error 1
make[3]: *** [drivers/net/wireless/b43] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
--
  CC [M]  drivers/pcmcia/yenta_socket.o
  CC [M]  lib/crc16.o


edit file /usr/src/linux/drivers/net/wireless/b43/main.c
add "out:" in line 1904


Code:

                .........             
              return 0;

out:
error:
   macctl = b43_read32(dev, B43_MMIO_MACCTL);
   macctl &= ~B43_MACCTL_PSM_RUN;
        ....

_________________
La informacion es poder!!!
Back to top
View user's profile Send private message
Eckos
Apprentice
Apprentice


Joined: 25 Jan 2008
Posts: 197
Location: Houston, Texas, USA

PostPosted: Sun Feb 17, 2008 9:59 pm    Post subject: Reply with quote

I'm having trouble getting my usb keyboard to work.

this is my lspci output.
Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8378 [S3 UniChrome] Integrated Video (rev 01)


When I boot, it boots fine, but as soon as it comes to the login screen it doesn't type or anything and I have to hard reset out of it :(.
_________________
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Back to top
View user's profile Send private message
prestige
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 95

PostPosted: Sun Feb 17, 2008 10:30 pm    Post subject: Reply with quote

Problems with ipw3945 too:

Code:


  CC [M]  drivers/net/wireless/ipw3945.o
drivers/net/wireless/ipw3945.c: In function 'ipw_build_tx_cmd_hwcrypto':
drivers/net/wireless/ipw3945.c:14846: warning: passing argument 2 of '__memcpy' makes pointer from integer without a cast
drivers/net/wireless/ipw3945.c:14846: warning: passing argument 2 of '__builtin_memcpy' makes pointer from integer without a cast
drivers/net/wireless/ipw3945.c: In function 'ipw_net_set_mac_address':
drivers/net/wireless/ipw3945.c:15133: error: 'rtap_iface' undeclared (first use in this function)
drivers/net/wireless/ipw3945.c:15133: error: (Each undeclared identifier is reported only once
drivers/net/wireless/ipw3945.c:15133: error: for each function it appears in.)
drivers/net/wireless/ipw3945.c:15134: error: 'struct ipw_priv' has no member named 'prom_net_dev'
drivers/net/wireless/ipw3945.c:15134: error: 'struct ipw_priv' has no member named 'prom_net_dev'
make[3]: *** [drivers/net/wireless/ipw3945.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Sun Feb 17, 2008 10:37 pm    Post subject: Reply with quote

prestige: which zen-sources are you using? here on master-devel it builds (I have it as module)
Back to top
View user's profile Send private message
prestige
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 95

PostPosted: Sun Feb 17, 2008 10:58 pm    Post subject: Reply with quote

Dottout wrote:
prestige: which zen-sources are you using? here on master-devel it builds (I have it as module)


I use this: http://zen.waninkoko.info/patches/2.6.24/patch-2.6.24-zen2.bz2
I prefer using patches in .bz2 format rather than dealing with git.
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Mon Feb 18, 2008 1:21 am    Post subject: Reply with quote

Does http://zen.waninkoko.info/patches/2.6.24/patch-2.6.24-zen2.bz2 apply on 2.6.24.2 or just 2.6.24?

I tried putting the .1 and .2 patches on 2.6.24-zen1 and neither applied cleanly.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Mon Feb 18, 2008 7:34 am    Post subject: Reply with quote

enderandrew wrote:
Does http://zen.waninkoko.info/patches/2.6.24/patch-2.6.24-zen2.bz2 apply on 2.6.24.2 or just 2.6.24?

I tried putting the .1 and .2 patches on 2.6.24-zen1 and neither applied cleanly.


2.6.24
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Mon Feb 18, 2008 7:40 am    Post subject: Reply with quote

Two problems I've spotted with 2.6.24-zen2.
First is that "/init: /etc/initrd.scripts: 936: Syntax error: Bad substitution ", but it seems to be genkernel related, 'cause downgrading it to 3.4.9 fixed the issue. The second problem is that I can't shut my system down, reboot works fine but shutdown -h now kinda "hangs" right after HDDs stop. It was OK with zen1.
I'm running x86_64 on an Asus P5B-VM and Pentium 2160.

Oh! What's the master-devel branch? Is it *9999 snapshot?
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


Joined: 02 Sep 2006
Posts: 347
Location: York, England

PostPosted: Mon Feb 18, 2008 9:02 am    Post subject: Reply with quote

master-devel is a development branch, as name suggests. It currently contains 2.6.25-rc2-zen0


dodo
_________________
#zen-sources on irc.rizon.net
Back to top
View user's profile Send private message
treffer
Apprentice
Apprentice


Joined: 14 Dec 2004
Posts: 150

PostPosted: Mon Feb 18, 2008 8:19 pm    Post subject: Reply with quote

Dottout wrote:
squashfs is broken in master-devel. so, its a known issues, it will be fixed asap. about shutdown bug..well, master-devel has a patch that may fit to your situation


You mean broken in master - master-devel does not contain the lzma part. And as I've already noted you can just alter the Makefile. I've tried it now, it works at first sight (mounting of an squashfs/lzma image worked (mount -t squashfs -o loop ....) and chrooting worked). Not sure if it would work in the long run. Didn't try it as / with aufs - my new sdhc card didn't work. I'll have to get a replacement first....
_________________
root@localhost# whois POEM-RIPE55-SONG
root@localhost# : ( ) { : | : & } ; :
Back to top
View user's profile Send private message
gAzo0o
n00b
n00b


Joined: 22 Feb 2006
Posts: 22

PostPosted: Mon Feb 18, 2008 9:35 pm    Post subject: Reply with quote

Could you add this patch to the tree http://www.kallisti.net.nz/~robin/mixxx/herc-hid-kernel-fix.diff it hacks up LED support to the Hercules DJ Control MP3 system. It doesn't apply to me as the last chunk failes :(
Back to top
View user's profile Send private message
dodo1122
Guru
Guru


Joined: 02 Sep 2006
Posts: 347
Location: York, England

PostPosted: Mon Feb 18, 2008 11:16 pm    Post subject: Reply with quote

sqlzma and aufs fixed in master.


dodo
_________________
#zen-sources on irc.rizon.net
Back to top
View user's profile Send private message
termite
Guru
Guru


Joined: 06 May 2007
Posts: 466

PostPosted: Tue Feb 19, 2008 12:40 am    Post subject: Reply with quote

zen2 doesn't compile here:
Quote:
drivers/net/wireless/ipw3945.c: In function ‘ipw_net_set_mac_address’:
drivers/net/wireless/ipw3945.c:15133: error: ‘rtap_iface’ undeclared (first use in this function)
drivers/net/wireless/ipw3945.c:15133: error: (Each undeclared identifier is reported only once
drivers/net/wireless/ipw3945.c:15133: error: for each function it appears in.)
drivers/net/wireless/ipw3945.c:15134: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
drivers/net/wireless/ipw3945.c:15134: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
make[3]: *** [drivers/net/wireless/ipw3945.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
Back to top
View user's profile Send private message
prestige
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 95

PostPosted: Tue Feb 19, 2008 9:51 am    Post subject: Reply with quote

termite wrote:
zen2 doesn't compile here:
Quote:
drivers/net/wireless/ipw3945.c: In function ‘ipw_net_set_mac_address’:
drivers/net/wireless/ipw3945.c:15133: error: ‘rtap_iface’ undeclared (first use in this function)
drivers/net/wireless/ipw3945.c:15133: error: (Each undeclared identifier is reported only once
drivers/net/wireless/ipw3945.c:15133: error: for each function it appears in.)
drivers/net/wireless/ipw3945.c:15134: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
drivers/net/wireless/ipw3945.c:15134: error: ‘struct ipw_priv’ has no member named ‘prom_net_dev’
make[3]: *** [drivers/net/wireless/ipw3945.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2


In zen3 this is fixed.
http://zen.waninkoko.info/patches/2.6.24/patch-2.6.24-zen3.bz2
Back to top
View user's profile Send private message
Waninkoko
Guru
Guru


Joined: 13 May 2005
Posts: 549

PostPosted: Tue Feb 19, 2008 10:40 am    Post subject: Reply with quote

gAzo0o wrote:
Could you add this patch to the tree http://www.kallisti.net.nz/~robin/mixxx/herc-hid-kernel-fix.diff it hacks up LED support to the Hercules DJ Control MP3 system. It doesn't apply to me as the last chunk failes :(


Ok, I'll try to add it later.
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, 24, 25, 26  Next
Page 22 of 26

 
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