View previous topic :: View next topic |
Author |
Message |
Rion Guru
Joined: 12 Oct 2006 Posts: 383 Location: Minsk, Belarus
|
Posted: Sat Feb 16, 2008 11:34 am Post subject: |
|
|
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 |
|
|
nbvcxz Guru
Joined: 02 Sep 2005 Posts: 379 Location: Kraków / PL
|
Posted: Sat Feb 16, 2008 2:29 pm Post subject: |
|
|
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 |
|
|
treffer Apprentice
Joined: 14 Dec 2004 Posts: 150
|
Posted: Sat Feb 16, 2008 4:00 pm Post subject: |
|
|
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 |
|
|
Cobra78 n00b
Joined: 01 Nov 2007 Posts: 21 Location: Ravenna
|
Posted: Sat Feb 16, 2008 4:05 pm Post subject: |
|
|
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 |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Sat Feb 16, 2008 4:07 pm Post subject: |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sat Feb 16, 2008 6:17 pm Post subject: |
|
|
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 |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Sat Feb 16, 2008 9:23 pm Post subject: |
|
|
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 |
|
|
Cobra78 n00b
Joined: 01 Nov 2007 Posts: 21 Location: Ravenna
|
Posted: Sun Feb 17, 2008 10:24 am Post subject: |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sun Feb 17, 2008 11:07 am Post subject: |
|
|
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 |
|
|
prestige Tux's lil' helper
Joined: 24 Sep 2005 Posts: 95
|
Posted: Sun Feb 17, 2008 4:42 pm Post subject: |
|
|
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 |
|
|
miedo95 n00b
Joined: 21 Apr 2005 Posts: 9 Location: Mexicali, Mexico
|
Posted: Sun Feb 17, 2008 9:47 pm Post subject: Re: 2.6.24-zen2 failed on bcm43xx driver |
|
|
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 |
|
|
Eckos Apprentice
Joined: 25 Jan 2008 Posts: 197 Location: Houston, Texas, USA
|
Posted: Sun Feb 17, 2008 9:59 pm Post subject: |
|
|
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 |
|
|
prestige Tux's lil' helper
Joined: 24 Sep 2005 Posts: 95
|
Posted: Sun Feb 17, 2008 10:30 pm Post subject: |
|
|
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 |
|
|
Dottout l33t
Joined: 07 Mar 2006 Posts: 882
|
Posted: Sun Feb 17, 2008 10:37 pm Post subject: |
|
|
prestige: which zen-sources are you using? here on master-devel it builds (I have it as module) |
|
Back to top |
|
|
prestige Tux's lil' helper
Joined: 24 Sep 2005 Posts: 95
|
|
Back to top |
|
|
enderandrew l33t
Joined: 25 Oct 2005 Posts: 731
|
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Mon Feb 18, 2008 7:34 am Post subject: |
|
|
2.6.24 _________________ this is a strange strange world. |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
Posted: Mon Feb 18, 2008 7:40 am Post subject: |
|
|
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 |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
Posted: Mon Feb 18, 2008 9:02 am Post subject: |
|
|
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 |
|
|
treffer Apprentice
Joined: 14 Dec 2004 Posts: 150
|
Posted: Mon Feb 18, 2008 8:19 pm Post subject: |
|
|
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 |
|
|
gAzo0o n00b
Joined: 22 Feb 2006 Posts: 22
|
|
Back to top |
|
|
dodo1122 Guru
Joined: 02 Sep 2006 Posts: 347 Location: York, England
|
Posted: Mon Feb 18, 2008 11:16 pm Post subject: |
|
|
sqlzma and aufs fixed in master.
dodo _________________ #zen-sources on irc.rizon.net |
|
Back to top |
|
|
termite Guru
Joined: 06 May 2007 Posts: 466
|
Posted: Tue Feb 19, 2008 12:40 am Post subject: |
|
|
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 |
|
|
prestige Tux's lil' helper
Joined: 24 Sep 2005 Posts: 95
|
Posted: Tue Feb 19, 2008 9:51 am Post subject: |
|
|
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 |
|
|
Waninkoko Guru
Joined: 13 May 2005 Posts: 549
|
Posted: Tue Feb 19, 2008 10:40 am Post subject: |
|
|
Ok, I'll try to add it later. |
|
Back to top |
|
|
|