View previous topic :: View next topic |
Author |
Message |
jeffroman Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Predator/movie_predator_predator_6.jpg)
Joined: 15 Jul 2003 Posts: 183 Location: Louisville, Kentucky
|
Posted: Fri Jul 16, 2004 12:32 pm Post subject: |
|
|
are these sources based on mm or vanilla? _________________ Thunder k8w, 2 Opteron 244s, 2GB Corsair, Audigy 2 Platinum eX, 6800 GT OC, 3Ware 9500S-4LP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yngwin Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/23129146649050e56e4b94.jpg)
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Fri Jul 16, 2004 12:33 pm Post subject: |
|
|
As far as I understand they are based on mm, but the patch applies to vanilla. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eldiablo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/zzz.gif)
Joined: 20 Sep 2003 Posts: 136 Location: Halsa(Where keiko lived his last days), Norway
|
Posted: Fri Jul 16, 2004 12:50 pm Post subject: |
|
|
xiphux, i could try to bug the people on lkml, maybe they might have a clue whats going on, but i dont think they would be to happy with me bugging them because of an experimental patchset
Edit: You don't need to make a broken out dir if you don't wan't to, or don't have time. I do think that it is sufficient enough to make a list of patches that are included, i've gained some experience in kernel hacking now, so i think i'm able to modify dem to apply ![Wink ;)](images/smiles/icon_wink.gif) _________________ Always running the most experimental |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wrc1944 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 15 Aug 2002 Posts: 3456 Location: Gainesville, Florida
|
Posted: Fri Jul 16, 2004 3:21 pm Post subject: |
|
|
I get the same error. I tried commenting out the last one, as you did, but it didn't work. Original error:
In file included from include/linux/security.h:30,
from init/main.c:35:
include/linux/sysctl.h:141: error: redefinition of `KERN_CPU_SCHED'
include/linux/sysctl.h:136: error: `KERN_CPU_SCHED' previously defined here
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
--------------------------------------------------
Then I commented out (2 different ways), and got this:
----------------------------------------------------------------
wrc@mymachine linux-2.6.7 $ make bzImage
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC init/main.o
In file included from include/linux/security.h:30,
from init/main.c:35:
include/linux/sysctl.h:141:9: invalid preprocessing directive #KERN_CPU_SCHED
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
wrc@mymachine linux-2.6.7 $ make bzImage
----------------------------------------------------
Please clue me in as to the correct syntax to comment this out.
(from include/linux/sysctl.h) This is the correct file and lines, isn't it?
--------------------------------------------
*/
KERN_HZ_TIMER=65, /* int: hz timer on or off */
KERN_CPU_SCHED=66, /* CPU scheduler stuff */
KERN_INTERACTIVE=67, /* interactive tasks can have cpu bursts */
KERN_COMPUTE=68, /* adjust timeslices for a compute server */
KERN_KERNEL_PREEMPT=69, /* preemptible kernel scheduling */
KERN_VOLUNTARY_PREEMPT=70, /* voluntary preemption */
KERN_CPU_SCHED=71,
};
-----------------------------------------------
Thanks,
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.12.8 USE=experimental python3_12.7-final-0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eldiablo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/zzz.gif)
Joined: 20 Sep 2003 Posts: 136 Location: Halsa(Where keiko lived his last days), Norway
|
Posted: Fri Jul 16, 2004 3:30 pm Post subject: |
|
|
In c/c++ you shouldn't comment out using #. #'s are used for definitions, and includes.
If you want to comment something out use //. It should then say //KERN_CPU_SCHED
It is also postilbe to comment something(often larger areas of text) by using this method
Code: |
/*line1
* line2
* line 3 */
|
_________________ Always running the most experimental |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wrc1944 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 15 Aug 2002 Posts: 3456 Location: Gainesville, Florida
|
Posted: Fri Jul 16, 2004 3:39 pm Post subject: |
|
|
Never mind- instead of commenting, I just deleted it, and bzImage compiled OK. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.12.8 USE=experimental python3_12.7-final-0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wrc1944 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 15 Aug 2002 Posts: 3456 Location: Gainesville, Florida
|
Posted: Fri Jul 16, 2004 4:03 pm Post subject: |
|
|
Thanks much eldiablo,
If I'm going to be doing this stuff, I guess I'd better read and introductory c/c++ tutorial, so I can at least edit files correctly.
Got the new 2.6.8-rc1-xx1 compiled, rebooted, and am using it right now. Looks good so far- guess I'll also try that renicing line in /etc/conf.d/local.start others mentioned.
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.40-r5, gcc-14
kernel-6.12.8 USE=experimental python3_12.7-final-0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raku Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10902173940adb527a66b9.png)
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Fri Jul 16, 2004 10:20 pm Post subject: |
|
|
Hi,
I've got problems with running xx-sources since 2.6.7-xx6. Right now I'm trying 2.6.8-rc1-xx1. After installing new kernel, it doesn't boot. Screen hangs just after enabling APIC. From my observations, it's the moment, when screen is supposed to change it's resolution from default to 1024x768@85Hz. So, I disabled framebuffer console support (CONFIG_FRAMEBUFFER_CONSOLE) and everything start to work like it should. But now, i've got these ugly big fonts on my console ;-(
I'm using vesafb. Is it a problem with vesafb-tng??? How can I solve this? _________________ raku
Powered by Archlinux ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eldiablo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/zzz.gif)
Joined: 20 Sep 2003 Posts: 136 Location: Halsa(Where keiko lived his last days), Norway
|
Posted: Fri Jul 16, 2004 10:50 pm Post subject: |
|
|
I'm also suffering from the same problem, but i haven't testet do disable framebuffer, i hope it works
EDIT: Yeah, disabeling FB did work, i'm so glad to have an working experimental kernel again ![Wink ;)](images/smiles/icon_wink.gif) _________________ Always running the most experimental |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raku Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10902173940adb527a66b9.png)
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Fri Jul 16, 2004 11:57 pm Post subject: |
|
|
eldiablo wrote: | IYeah, disabeling FB did work, i'm so glad to have an working experimental kernel again ![Wink ;)](images/smiles/icon_wink.gif) |
fine, fine... but i wanna have hi-res and 85Hz on console !!!
anybody knows how to solve it? _________________ raku
Powered by Archlinux ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trevorj n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 May 2003 Posts: 68
|
Posted: Sat Jul 17, 2004 9:03 am Post subject: |
|
|
damn fb!
vesafb-tng obviously has some issues then. plus it doesn't switch from X to the fb res right sometimes. it makes it look like I'm having tunnel vision.
maybe it's our card? nvidia here... ill go try a couple things... _________________ \\ trevorj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raku Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10902173940adb527a66b9.png)
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Sat Jul 17, 2004 9:24 am Post subject: |
|
|
ok then - we know, that vesafb-tng sucks
but i still wanna have a hi-res on my console. Is rivafb working fine? I tried to use it some time ago, but screen always locked when I was trying to get back from X to console. And I don't remember if it had high resolution support :-/
And don't wanna spend whole day trying it out :-/ _________________ raku
Powered by Archlinux ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fallow Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14033995244ba2b670a9323.gif)
Joined: 08 Jan 2004 Posts: 2208 Location: Poland
|
Posted: Sat Jul 17, 2004 9:24 am Post subject: |
|
|
I had some problems with tng , so I`m using previous vesa-rrc version.
I don`t need any of tng features , so rrc is 100% efficient for me ![Smile :)](images/smiles/icon_smile.gif) _________________ "Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raku Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10902173940adb527a66b9.png)
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
Posted: Sat Jul 17, 2004 9:27 am Post subject: |
|
|
well, maybe it's a good idea to bring again the possibility of choice beetween vesa-tng and vesa-rrc like it was in 2.6.7-xx4? (or sencond brunch of kernel tree with vesa-rrc only support? _________________ raku
Powered by Archlinux ![Wink ;-)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trevorj n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 May 2003 Posts: 68
|
Posted: Sat Jul 17, 2004 12:31 pm Post subject: |
|
|
meh. cvs is only up to 2.6.7-xx7. ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ \\ trevorj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eldiablo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/zzz.gif)
Joined: 20 Sep 2003 Posts: 136 Location: Halsa(Where keiko lived his last days), Norway
|
Posted: Sat Jul 17, 2004 12:41 pm Post subject: |
|
|
The CVS build is based upon 2.6.8-rc1-mm1, it is also called 2.6.8-rc1-xx1.
I don't know if there are any differences int the CVS version, and the main version. _________________ Always running the most experimental |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
4nykey Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Feb 2004 Posts: 180
|
Posted: Sat Jul 17, 2004 1:42 pm Post subject: |
|
|
BTW, there's a new tng patch for 2.6.8-rc1, seems to work here. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trevorj n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 May 2003 Posts: 68
|
Posted: Sat Jul 17, 2004 2:07 pm Post subject: |
|
|
problem with swsusp2:
Quote: | CC arch/i386/power/suspend2.o
arch/i386/power/suspend2.c: In function `fix_processor_context':
arch/i386/power/suspend2.c:137: error: `init_tss' undeclared (first use in this function)
arch/i386/power/suspend2.c:137: error: (Each undeclared identifier is reported only once
arch/i386/power/suspend2.c:137: error: for each function it appears in.)
arch/i386/power/suspend2.c:141: error: subscripted value is neither array nor pointer
make[1]: *** [arch/i386/power/suspend2.o] Error 1
make: *** [arch/i386/power] Error 2 |
_________________ \\ trevorj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xiphux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/290492089415f70c25037d.png)
Joined: 15 Jun 2002 Posts: 225 Location: Madison, WI
|
Posted: Sun Jul 18, 2004 12:03 am Post subject: |
|
|
Hey guys, sorry for the delays. My time and network bandwidth have been a little monopolized lately.
I have an updated tree with kexec, 2.6.8-rc1-np1, compile fixes, etc, I'm just waiting for a chance to commit it...
Eldiablo, honestly, I've lost track of which patches I've applied. But you would probably be able to take advantage of cvs's log, by using cvs2cl.pl to see what was committed. If you really wanted, you could try checking out cvs snapshots of different times, to at least get an idea of where it started to break.
One thing that could help, though: have you tried enabling the magic sysrq key (in kernel debugging) and doing a register dump with Alt-SysRq-P? You don't have to post all the hex junk, but the human-readable parts would be helpful.
If you wanted, I could try the whole selectable vesafb tng/rrc thing again. But the option in xx4 was all sorts of busted, and trying again could quite likely end up the same way. So the people who are happily using vesafb now would have to be willing to take that risk...
trevorj, at line 137 of that file, change this code:
Code: | struct tss_struct * t = &init_tss[nr]; |
to this:
Code: | struct tss_struct * t = &per_cpu(init_tss, nr); |
I don't know if that will completely fix things since I see some cpu gdt stuff a little farther down, and that was the -mm change that broke Win4Lin... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raku Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10902173940adb527a66b9.png)
Joined: 28 Feb 2004 Posts: 2374 Location: Poland
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
4nykey Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Feb 2004 Posts: 180
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xiphux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/290492089415f70c25037d.png)
Joined: 15 Jun 2002 Posts: 225 Location: Madison, WI
|
Posted: Sun Jul 18, 2004 3:02 am Post subject: |
|
|
Vesafb-tng 0.9-rc3 is in cvs, as well as the other stuff I mentioned. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xiphux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/290492089415f70c25037d.png)
Joined: 15 Jun 2002 Posts: 225 Location: Madison, WI
|
Posted: Sun Jul 18, 2004 8:27 am Post subject: |
|
|
I made the vesafb rrc/tng configure option again, from scratch. It's cleaner this time around, and hopefully a little more stable. I committed it into cvs - I'll wait a little and leave it as the latest commit, so it'll be easy to revert if it goes horribly wrong. And since I don't use vesafb, you guys'll have to be the guinea pigs... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eldiablo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Funny_Figure/zzz.gif)
Joined: 20 Sep 2003 Posts: 136 Location: Halsa(Where keiko lived his last days), Norway
|
Posted: Sun Jul 18, 2004 8:46 am Post subject: |
|
|
I'll try this new kernel now, and see if it hangs at boot as well.
It's also nice that you included kexec, it's fine consept, but it's need a lot of work.
EDIT: I have a little problem cheking out the cvs resporitory, i only get this message after som while:
Code: | cvs checkout: [08:50:18] waiting for xiphux's lock in /cvsroot/xx-sources/xx-sources/drivers/isdn/pcbit
|
_________________ Always running the most experimental |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xiphux Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/290492089415f70c25037d.png)
Joined: 15 Jun 2002 Posts: 225 Location: Madison, WI
|
Posted: Sun Jul 18, 2004 9:10 am Post subject: |
|
|
That's weird, I'm not doing anything with the repository. You might have to wait for a bit until the server "figures out" that I'm not using it anymore. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|