Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Old posts from the morph-sources thread
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 29, 30, 31  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
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Thu Feb 03, 2005 9:50 pm    Post subject: Reply with quote

2.6.10-morph21 is out. Brief changelog:

- updated -as patch to -as3
- changed kexec patch to kexec3
- updated inotify patch
- made staircase optional

Now staircase has become a USE flag. kexec-tools has made its way into portage ~x86, so I'll just pull it out from morph-overlay. I've also found a kexec patch for sysvinit-2.86, I'll upload the modified 2.86 ebuild on the site soon.

teutzz: I don't know if it is possible to do what you want, but you may take a look here, it seems similar to what you want to do.

nightfrost: what xfree/xorg version are you using? AFAIK kernel 2.6 does not require to install xfree-drm, since those modules are already in.

RogerWilco: I don't know what's going on with Win4Lin :( You may want to try on the software-suspend2 mailing list.
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
nightfrost
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 293
Location: Sweden

PostPosted: Thu Feb 03, 2005 10:41 pm    Post subject: Reply with quote

I used the x11-drm modules since I thought they might be more up-to-date. Anyway, I'm starting to think that it might have been a software-suspend issue, namely that the module fails after resuming (even though I unload and reload the module, strangely enough). I've switched to vesa driver for now and I must say that your sources are the best I've tried so far. I will try morph21 soon enough and also then try compile r128 in the kernel as well...

anyway, thanks again for great source patches :)
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Thu Feb 03, 2005 11:38 pm    Post subject: Reply with quote

nightfrost wrote:
I used the x11-drm modules since I thought they might be more up-to-date. Anyway, I'm starting to think that it might have been a software-suspend issue, namely that the module fails after resuming (even though I unload and reload the module, strangely enough). I've switched to vesa driver for now and I must say that your sources are the best I've tried so far. I will try morph21 soon enough and also then try compile r128 in the kernel as well...

anyway, thanks again for great source patches :)


Glad you like it :D

With kernel 2.6 it is enough to enable AGP + DRI support in the kernel to have acceleration in XFree/Xorg. I have this kind of setup on my Radeon IGP and everything works ok. You may want to compile the r128 and AGP support statically instead of modularly, it may solve your problems with suspending.
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
Tuti
n00b
n00b


Joined: 14 May 2004
Posts: 33

PostPosted: Fri Feb 04, 2005 12:35 am    Post subject: Reply with quote

ah, i dunno what happened here. right at the very end of compile :
Quote:
LD .tmp_vmlinux1
kernel/built-in.o(.text+0x3c40): In function `panic':
: undefined reference to `crash_kexec'
make: *** [.tmp_vmlinux1] Error 1

any ideas?
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Fri Feb 04, 2005 5:25 am    Post subject: Reply with quote

Tuti wrote:
ah, i dunno what happened here. right at the very end of compile :
Quote:
LD .tmp_vmlinux1
kernel/built-in.o(.text+0x3c40): In function `panic':
: undefined reference to `crash_kexec'
make: *** [.tmp_vmlinux1] Error 1

any ideas?


same problem here.
and enable kexec could fix this.
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Fri Feb 04, 2005 7:22 am    Post subject: Reply with quote

Great Job yardbird for this kernel patch set. One thing: what version of inotify is in this kernel? I ask because I'm about to try out beagle and on beaglewiki they said beagle-0.0.5 needs inotify patch 0.17 and beagle-cvs needs 0.18.

thanks and keep the good work up.

regards
_________________
-- A Guru was once a Beginner --
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


Joined: 13 Jan 2005
Posts: 708
Location: USA, Michigan.

PostPosted: Fri Feb 04, 2005 9:31 am    Post subject: Reply with quote

silverter wrote:
Great Job yardbird for this kernel patch set. One thing: what version of inotify is in this kernel? I ask because I'm about to try out beagle and on beaglewiki they said beagle-0.0.5 needs inotify patch 0.17 and beagle-cvs needs 0.18.

thanks and keep the good work up.

regards


From what I know, the version is 0.18.
_________________
System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up.
Back to top
View user's profile Send private message
teutzz
Guru
Guru


Joined: 22 Apr 2004
Posts: 333
Location: .ro

PostPosted: Fri Feb 04, 2005 10:55 am    Post subject: Reply with quote

i get this error right at the end:

Code:
  LD      init/built-in.o
  LD      vmlinux
fs/built-in.o(.text+0x14905): In function `vfs_rename':
: undefined reference to `fsnotify_oldname_init'
fs/built-in.o(.text+0x1492e): In function `vfs_rename':
: undefined reference to `fsnotify_oldname_free'
make: *** [vmlinux] Error 1

_________________
Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz
Back to top
View user's profile Send private message
Lepaca Kliffoth
l33t
l33t


Joined: 28 Apr 2004
Posts: 737
Location: Florence, Italy

PostPosted: Fri Feb 04, 2005 11:43 am    Post subject: Reply with quote

"panic" error here, too. I've had no luck with the latest morphs :(
_________________
It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox!
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Fri Feb 04, 2005 12:29 pm    Post subject: Reply with quote

The problem with kexec will be fixed in the next morph. Meanwhile here's a quick patch:
Code:
--- /home/yardbird/src-kernel/linux-2.6.10-morph21/include/linux/kexec.h        2005-02-03 20:37:02.147324123 +0100
+++ linux-2.6.10-morph21/include/linux/kexec.h  2005-02-04 13:00:51.068862422 +0100
@@ -122,5 +122,7 @@
  */
 extern struct resource crashk_res;

+#else /* !CONFIG_KEXEC */
+static inline void crash_kexec(void) {}
 #endif /* CONFIG_KEXEC */
 #endif /* LINUX_KEXEC_H */

The problem reported by teutzz is from the inotify patch. Here's a quick fix, it compiles but I've not tested it, reports are welcome:
Code:
--- linux-2.6.10-morph21/include/linux/fsnotify.h       2005-02-03 01:44:13.665631764 +0100
+++ /usr/src/linux/include/linux/fsnotify.h     2005-02-04 13:19:35.224042417 +0100
@@ -192,8 +192,6 @@
        dnotify_flush(filp, id);
 }

-#ifdef CONFIG_INOTIFY  /* inotify helpers */
-
 /*
  * fsnotify_oldname_init - save off the old filename before we change it
  *
@@ -217,8 +215,6 @@
        kfree(old_name);
 }

-#endif /* CONFIG_INOTIFY */
-
 #endif /* __KERNEL__ */

 #endif /* _LINUX_FS_NOTIFY_H */

NOTE: you may need to apply these patches with the "-l" switch.

Silverter: it is the latest 0.18 inotify patch from kernel.org
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Fri Feb 04, 2005 12:33 pm    Post subject: Reply with quote

chrisyu wrote:
Tuti wrote:
ah, i dunno what happened here. right at the very end of compile :
Quote:
LD .tmp_vmlinux1
kernel/built-in.o(.text+0x3c40): In function `panic':
: undefined reference to `crash_kexec'
make: *** [.tmp_vmlinux1] Error 1

any ideas?


same problem here.
and enable kexec could fix this.
+1

But enabling something without using it is not really interesting => so using kexec becomes ineluctable. :D
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Fri Feb 04, 2005 12:55 pm    Post subject: Reply with quote

yoyo wrote:
+1

But enabling something without using it is not really interesting => so using kexec becomes ineluctable. :D


Try the simple patches above, they should take care of the issues.

Sorry about that, it's kinda hard for me to try many possible kernel configurations to spot problems like these :?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Fri Feb 04, 2005 1:18 pm    Post subject: Reply with quote

Don't take care about my previous message; it was just a joke. I really want to try this kexec but don't have time for that now; so this "bug" gives me an opportunity to justify time I'll spent on it ... :mrgreen:

yardbird wrote:
Sorry about that, it's kinda hard for me to try many possible kernel configurations to spot problems like these :?
That's why we are there, no ?? :lol:
You're working to make this (great) patchset (and you add specific USEflags and ebuilds for it => more work). 8)
Now, it's time for us to test it and report. :roll:

Enjoy!
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Fri Feb 04, 2005 2:02 pm    Post subject: Reply with quote

The sources compiled just fine, but when I try to reboot with kexec, I get a 'Kernel panic: Not sync. No init found . Try to pass init=...". Also, the fbsplash doesn't work when rebooting with kexec.
_________________
gentoo.ro
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Fri Feb 04, 2005 2:25 pm    Post subject: Reply with quote

mayday147 wrote:
The sources compiled just fine, but when I try to reboot with kexec, I get a 'Kernel panic: Not sync. No init found . Try to pass init=...". Also, the fbsplash doesn't work when rebooting with kexec.


This may be because boot arguments are not passed to kexec. Are you using the /etc/init.d/kexec scripts?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Fri Feb 04, 2005 2:29 pm    Post subject: Reply with quote

yardbird wrote:
mayday147 wrote:
The sources compiled just fine, but when I try to reboot with kexec, I get a 'Kernel panic: Not sync. No init found . Try to pass init=...". Also, the fbsplash doesn't work when rebooting with kexec.


This may be because boot arguments are not passed to kexec. Are you using the /etc/init.d/kexec scripts?

Yes. I did '/etc/init.d/kexec start' and 'reboot' after that.
_________________
gentoo.ro
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Fri Feb 04, 2005 2:34 pm    Post subject: Reply with quote

mayday147 wrote:
Yes. I did '/etc/init.d/kexec start' and 'reboot' after that.

Did you configure properly /etc/conf.d/kexec? Mine looks like this:
Code:
# Boot partition
BOOTPART="/boot"
#BOOTMOUNT=1

# Kernel name
KNAME="vmlinuz-2.6.10-morph21"

# Root partition (should be autodetected)
#ROOTPART="/dev/hda3"

# Kernel parameters
KPARAM="`cat /proc/cmdline`"

# Initrd
#INITRD="/boot/fbsplash-emergence-1024x768"

I have a separate /boot partition. The KPARAM="`cat /proc/cmdline`" makes kexec reboot with the same parameters of the kernel you originally booted in. Everything should work well with something like this, fbsplash is ok here too.
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Fri Feb 04, 2005 2:53 pm    Post subject: Reply with quote

Code:

mayday@charlie ~ $ cat /etc/conf.d/kexec
# Boot partition
BOOTPART="/boot"
#BOOTMOUNT=1

# Kernel name
#KNAME="vmlinuz-2.6.9-rc2-mm1"

# Root partition (should be autodetected)
ROOTPART="/dev/hda3"

# Kernel parameters
KPARAM="`cat /proc/cmdline`"

And it doesn't work.Also, this is my cmdline:
Code:

mayday@charlie ~ $ cat /proc/cmdline
video=vesafb:ywrap,pmipal,1024x768-32@85 splash=verbose,theme:gentoo  acpi=irqpoll


P.S. What does the "build" flag of the morph-ebuild does?
P.P.S. Why do I need to digest the ebuild after downloading it? And what does 'digest' mean?
_________________
gentoo.ro
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Fri Feb 04, 2005 3:28 pm    Post subject: Reply with quote

mayday147 wrote:
Code:
mayday@charlie ~ $ cat /proc/cmdline
video=vesafb:ywrap,pmipal,1024x768-32@85 splash=verbose,theme:gentoo  acpi=irqpoll

Do you not need to pass a root=/dev/your_root_partition option to be able to boot?
I think you should make sure that the rootpartition in /etc/conf.d/kexec matches your real root partition.

yardbird: Do you have a broken-out for morph-sources?
Where did you get the kexec patch from?
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Fri Feb 04, 2005 4:07 pm    Post subject: Reply with quote

genstef wrote:
mayday147 wrote:
Code:
mayday@charlie ~ $ cat /proc/cmdline
video=vesafb:ywrap,pmipal,1024x768-32@85 splash=verbose,theme:gentoo  acpi=irqpoll

Do you not need to pass a root=/dev/your_root_partition option to be able to boot?
I think you should make sure that the rootpartition in /etc/conf.d/kexec matches your real root partition.

Yes, you were very right; hda3 was my boot partition :oops:
But fbsplash still doesn't work and if I try to pass the Initrd option to kexec I get this error:

Code:
charlie mayday # /etc/init.d/kexec start
 * Loading kernel vmlinuz-2.6.10-morph21 for Kexec... ...
Cannot open `"$INITRD"': No such file or directory

Added INITRD in /etc/conf.d/kexec
Code:
charlie mayday # cat /etc/conf.d/kexec
BOOTPART="/boot"
BOOTMOUNT=1
KNAME="vmlinuz-2.6.10-morph21"
ROOTPART="/dev/hda6"
KPARAM="`cat /proc/cmdline`"
INITRD="/boot/fbsplash-gentoo-1024x768"

_________________
gentoo.ro
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Fri Feb 04, 2005 9:14 pm    Post subject: Reply with quote

Can you please try again with kexec-tools-r1, when shows up in the tree?
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Fri Feb 04, 2005 11:44 pm    Post subject: Reply with quote

genstef wrote:
yardbird: Do you have a broken-out for morph-sources?
Where did you get the kexec patch from?


I'll post a link to a broken-out directory tomorrow.

The place where I got the patches is:

http://www.xmission.com/~ebiederm/files/kexec/

I used the tarball named 2.6.10-mm2-kexec3.tgz, dropping out the crashdump patches and doing a (rather simple) backport of the other patches to plain 2.6.10. There's a small patch-fix some posts above to allow kernel compiling also when kexec is _not_ enabled.
You other choice is to get the broken-out tarball of latest -mm kernel and pick up just the kexec patches. But it is more difficult to backport to vanilla 2.6.10 and possibly it is less stable too.

Hope that helps :D
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Sat Feb 05, 2005 3:35 am    Post subject: Reply with quote

Great work on morph21, like usual. I must say I love the use flag for the staircase scheduler. Performance is so much better without it. cfq-ts seems to work pretty good though.
_________________
Understanding is a three-edged sword: your side, their side, and the truth. --Kosh
1010011010
Back to top
View user's profile Send private message
iGentoo
n00b
n00b


Joined: 25 Jun 2004
Posts: 9
Location: Wollongong

PostPosted: Sat Feb 05, 2005 3:29 pm    Post subject: fsnotify Reply with quote

This wouldn't compile on an amd64 even with the 2 patches. This was beause fs/compat.c didn't include fsnotify.h. Once I added that it compiled fine. Excellent kernel as usual.
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sat Feb 05, 2005 4:33 pm    Post subject: Re: fsnotify Reply with quote

iGentoo wrote:
This wouldn't compile on an amd64 even with the 2 patches. This was beause fs/compat.c didn't include fsnotify.h. Once I added that it compiled fine. Excellent kernel as usual.

Ok, thanks for the report. The inotify patch seems to be a bit flaky this time :? (fortunately there's an updated one available which will go into morph22).
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
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 ... 12, 13, 14 ... 29, 30, 31  Next
Page 13 of 31

 
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