View previous topic :: View next topic |
Author |
Message |
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sat Mar 06, 2004 10:55 pm Post subject: Re: 2.6.4_rc1-love3 aka "Let's Kill All Of The Stupid P |
|
|
dub.wav wrote: | steel300 wrote: |
Quote: |
+Nick Piggin's Scheduler Work
|
Nick has released a new scheduler, which is included. It is recommended that you renice X to -10 or -15. | Any chance you could provide split out patches for Nicks scheduler? I prefer not having to renice X. |
i dont renice X, and i still LOOVVEEE nicks scheduling policies!
but why not just renice X and get the GOOODD stuff! |
|
Back to top |
|
|
pestilence Apprentice
Joined: 05 Feb 2004 Posts: 213 Location: Athens / Greece
|
Posted: Sat Mar 06, 2004 11:04 pm Post subject: |
|
|
Is it me or is bootsplash missing? i tryed selecting but it does nothing plus the bootsplash.h is missing under include/config/ directory.
Oh well..i tryed it without bootsplash on my desktop system and they rock...love to you steel once again _________________ Gentoo the rising hope |
|
Back to top |
|
|
Boohbah Apprentice
Joined: 17 Oct 2003 Posts: 250 Location: Seattle
|
Posted: Sun Mar 07, 2004 4:20 am Post subject: |
|
|
I'm feeling the LOVE. This is the first time i've used love-sources, and I must say, I'm impressed. I wanted mm-sources for the udev framebuffer patches and I also wanted bootsplash, and it's all right here. Thanks lovechild and steel300, my kernel now ROCK LIKE NINJA. _________________ Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein
(Note, however, that virgins tend to know a lot about computers.) |
|
Back to top |
|
|
soaringcondor Tux's lil' helper
Joined: 16 Dec 2003 Posts: 103
|
Posted: Sun Mar 07, 2004 4:26 am Post subject: |
|
|
Wonderful - I've played around with it before but never got it to work quiet right. My system booted in about 2/3's of the normal time and is much, much snappier. |
|
Back to top |
|
|
pestilence Apprentice
Joined: 05 Feb 2004 Posts: 213 Location: Athens / Greece
|
Posted: Sun Mar 07, 2004 10:51 am Post subject: |
|
|
Ah ok bootsplash problem has been resolved it was a fresh system install and i forgot to update to the latest bootsplash
System runs like a charm _________________ Gentoo the rising hope |
|
Back to top |
|
|
soaringcondor Tux's lil' helper
Joined: 16 Dec 2003 Posts: 103
|
Posted: Sun Mar 07, 2004 5:02 pm Post subject: |
|
|
I basically just used my old Kernel configuration (had to change a couple of things for unrelated problems.) Are there any options that, if enabled, will make it rock like a super ninja? |
|
Back to top |
|
|
Dalius n00b
Joined: 25 Feb 2004 Posts: 40 Location: Canadia
|
Posted: Sun Mar 07, 2004 6:17 pm Post subject: |
|
|
Hey guys...a few questions.
a) I remember seeing a HowTo Install an Ebuild of Love Sources. Anyone have the link to it? I searched for it but I found nothing.
b) I've never installed more that one kernel before. Do I just copy the kernel/system.map/config as 2.6.4-love-sources etc etc and make an entry in grub.conf? Last time I did that, I got an error on loading the kernel saying "Cannot read numbers"
Thanks in Advanced! |
|
Back to top |
|
|
tdb Apprentice
Joined: 19 Sep 2002 Posts: 293 Location: New Orleans, Louisiana, U.S.A. (what's left of it anyway...)
|
Posted: Sun Mar 07, 2004 6:25 pm Post subject: |
|
|
Steel,
Is there a way to pull the network-related patches from the GRSecurity patchset and add them in? I like a lot of the features, like fooling os detection. But I know adding the entire grsecirty patch is going to wreak havoc. Or what else would be good would be the old ip personality kernel patch. Problem is that it hasn't been maintained in almost two years. Any ideas? _________________ Do you know what a usufruct is? |
|
Back to top |
|
|
jeffrice Tux's lil' helper
Joined: 25 Jun 2003 Posts: 89 Location: New York, USA
|
Posted: Sun Mar 07, 2004 7:00 pm Post subject: |
|
|
Dalius wrote: | Hey guys...a few questions.
a) I remember seeing a HowTo Install an Ebuild of Love Sources. Anyone have the link to it? I searched for it but I found nothing.
|
How to use the Love ebuilds
Dalius wrote: |
b) I've never installed more that one kernel before. Do I just copy the kernel/system.map/config as 2.6.4-love-sources etc etc and make an entry in grub.conf? Last time I did that, I got an error on loading the kernel saying "Cannot read numbers"
|
You don't need to mess with the system.map. Compile your kernel and give it a unique name, then make a new section in your grub.conf to boot using that kernel image. It's a good idea to do thio routinely anyway, so that if you compile an unbootable kernel, you have a fallback to use while you fix things. |
|
Back to top |
|
|
Dalius n00b
Joined: 25 Feb 2004 Posts: 40 Location: Canadia
|
Posted: Sun Mar 07, 2004 7:02 pm Post subject: |
|
|
Alright, thanks man |
|
Back to top |
|
|
bold n00b
Joined: 28 Sep 2003 Posts: 2 Location: germany
|
Posted: Sun Mar 07, 2004 7:41 pm Post subject: |
|
|
ls -al /usr/X11R6/bin | grep X
lrwxrwxrwx 1 root root 8 Feb 15 16:08 X -> Xwrapper
so, what do i have to do to use the wrapper.c ? |
|
Back to top |
|
|
MG-Cloud Apprentice
Joined: 28 Oct 2003 Posts: 200
|
Posted: Sun Mar 07, 2004 9:22 pm Post subject: |
|
|
superjaded wrote: |
Unfortunately it looks like Nick's scheduler is no match for the bloat that is GNOME/metacity. Even moving the mouse to change focus to a different makes the video skip. Everything else seems to be noticebly more responsive, though.. although that might have a lot to do with the fact X is running at -15, rather than it necessarily being the scheduler.
|
Did the same thing happen prior to this new scheduler, or is it specific to this new one? I ask because I like to switch out of movies at boring parts and check my email and stuff, and I really don't like skipping
Thanks |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Sun Mar 07, 2004 9:35 pm Post subject: |
|
|
tdb wrote: | Steel,
Is there a way to pull the network-related patches from the GRSecurity patchset and add them in? I like a lot of the features, like fooling os detection. But I know adding the entire grsecirty patch is going to wreak havoc. Or what else would be good would be the old ip personality kernel patch. Problem is that it hasn't been maintained in almost two years. Any ideas? |
I want to put as many of the grsecurity patches in as possible, but they are a pain to patch. I keep looking at the beauty that is GrSec and wishing that it wasn't so impossible to fit in on an rc kernel. Hopefully, when it has matured a bit more, they'll be able to play nice with mm. _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
superjaded l33t
Joined: 05 Jul 2002 Posts: 802
|
Posted: Sun Mar 07, 2004 9:41 pm Post subject: |
|
|
MG-Cloud wrote: | Did the same thing happen prior to this new scheduler, or is it specific to this new one? I ask because I like to switch out of movies at boring parts and check my email and stuff, and I really don't like skipping
Thanks |
Nah; this is easily the best scheduler I've seen so far. I've had the same regressions under the other versions of Nick's scheduler. Of course, I haven't used anything but love-sources for quite a while, so I can't really compare them with other schedulers.
As I said, under more light weight WMs, there's not a hiccup no matter what I do it.
I'm probably running a below-average system compared to most modern gentoo desktop (Duron 900mhz) users, so if you have more processing power to play with, GNOME/metacity will probalby not have any problems. Definitely won't have any problems if you haven't had too many problems with it before.
bssteph: I'm using the latest stable version as of my last resync -- xfree-4.3.0-r5. X has been a symlink to 'Xwrapper' as long as I can remember, however.
I may try making the renicing script call XFree86 directly next time, but no big deal, it's easy enough to renice it manually. |
|
Back to top |
|
|
tdb Apprentice
Joined: 19 Sep 2002 Posts: 293 Location: New Orleans, Louisiana, U.S.A. (what's left of it anyway...)
|
Posted: Sun Mar 07, 2004 9:56 pm Post subject: |
|
|
steel300 wrote: |
I want to put as many of the grsecurity patches in as possible, but they are a pain to patch. I keep looking at the beauty that is GrSec and wishing that it wasn't so impossible to fit in on an rc kernel. Hopefully, when it has matured a bit more, they'll be able to play nice with mm. |
Yeah, I used the network features back when I had the gentoo sources 2.4.20 kernel on my server. I never got around to fully crafting ACLs for it, though. I like the idea of autolearning to build them out more. BTW, what is your opinion on GRSec vs. SELinux vs. RSBAC? I guess I'm inclined to take SELinux since the NSA is behind it and 1. they know security, and 2. my taxes already paid for it. One last question to bog you down... Is there a functional difference between ACLs and Systrace? (or whatever that kernel feature was that would force you to approve program's actions.) Thanks for your time, Steel. _________________ Do you know what a usufruct is? |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Sun Mar 07, 2004 10:12 pm Post subject: |
|
|
tdb wrote: | steel300 wrote: |
I want to put as many of the grsecurity patches in as possible, but they are a pain to patch. I keep looking at the beauty that is GrSec and wishing that it wasn't so impossible to fit in on an rc kernel. Hopefully, when it has matured a bit more, they'll be able to play nice with mm. |
Yeah, I used the network features back when I had the gentoo sources 2.4.20 kernel on my server. I never got around to fully crafting ACLs for it, though. I like the idea of autolearning to build them out more. BTW, what is your opinion on GRSec vs. SELinux vs. RSBAC? I guess I'm inclined to take SELinux since the NSA is behind it and 1. they know security, and 2. my taxes already paid for it. One last question to bog you down... Is there a functional difference between ACLs and Systrace? (or whatever that kernel feature was that would force you to approve program's actions.) Thanks for your time, Steel. |
GRSec vs. SELinux vs. RSBAC:
SELinux is miles ahead of anything else out there. It's a kernel that forces security upon everything. Have you ever read the rainbow books? The SELinux kernel is the epitomy (sp?) of the rainbow books. Security at every level for every application. GRsec is better than RSBAC, IMHO. RSBAC seems to have chosen functionality over security in some places. GRSec is the more correct route, but RSBAC is more dynamic and easier to set up.
ACLs vs. Systrace:
There really is no functional difference between the two. Again, Systrace is more dynamic and might no always choose the proper action. It's better to error on the side of security. _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Sun Mar 07, 2004 10:15 pm Post subject: |
|
|
Brothers and Sisters! I am here to call upon y'all to rebuke the Evil! Drive out the Supermount patch and let it wither in the darkness whence it came!
Adding supermount breaks another patch I add by hand that I need to mount my camera.
Can't we just say no to this darn thing? If you want supermount use the Evil sources, that's why they're there. _________________ Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Sun Mar 07, 2004 10:18 pm Post subject: |
|
|
Regor wrote: | Brothers and Sisters! I am here to call upon y'all to rebuke the Evil! Drive out the Supermount patch and let it wither in the darkness whence it came!
Adding supermount breaks another patch I add by hand that I need to mount my camera.
Can't we just say no to this darn thing? If you want supermount use the Evil sources, that's why they're there. |
What's the patch and where does it break? Does it just patch with failed hunks? Or does it make the whole other patch useless? _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
tdb Apprentice
Joined: 19 Sep 2002 Posts: 293 Location: New Orleans, Louisiana, U.S.A. (what's left of it anyway...)
|
Posted: Sun Mar 07, 2004 10:18 pm Post subject: |
|
|
Wow, rainbow books, damn that's a lot of regulations.
Here's a link if anyone is interested:
http://www.radium.ncsc.mil/tpep/library/rainbow/
Thanks again Steel. _________________ Do you know what a usufruct is? |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Sun Mar 07, 2004 10:20 pm Post subject: |
|
|
tdb wrote: | Wow, rainbow books, damn that's a lot of regulations.
Thanks again Steel. |
We have to know the rainbow books inside and out at work. The one that they put the most emphasis on is the one regarding passwords (Green Book). _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sun Mar 07, 2004 11:55 pm Post subject: |
|
|
superjaded wrote: | MG-Cloud wrote: | Did the same thing happen prior to this new scheduler, or is it specific to this new one? I ask because I like to switch out of movies at boring parts and check my email and stuff, and I really don't like skipping ;)
Thanks :) |
Nah; this is easily the best scheduler I've seen so far. I've had the same regressions under the other versions of Nick's scheduler. Of course, I haven't used anything but love-sources for quite a while, so I can't really compare them with other schedulers.
As I said, under more light weight WMs, there's not a hiccup no matter what I do it.
I'm probably running a below-average system compared to most modern gentoo desktop (Duron 900mhz) users, so if you have more processing power to play with, GNOME/metacity will probalby not have any problems. Definitely won't have any problems if you haven't had too many problems with it before.
bssteph: I'm using the latest stable version as of my last resync -- xfree-4.3.0-r5. X has been a symlink to 'Xwrapper' as long as I can remember, however.
I may try making the renicing script call XFree86 directly next time, but no big deal, it's easy enough to renice it manually. |
I'm running ~x86 and here X points to XFree86, so it could very well be that those instructions were tailored for the experimental branch of xfree. The only difference should be what X points to before you begin changing things though. The wrapper as it is written executes the actual binary (XFree86) - Xwrapper is likely just another wrapper. Dunno what it's doing though. |
|
Back to top |
|
|
phlashback Tux's lil' helper
Joined: 27 Jul 2002 Posts: 142 Location: Normal
|
Posted: Mon Mar 08, 2004 12:32 am Post subject: |
|
|
Wow... I love the reponsivness of X
Thans agin steel for all your hard work _________________ The terrible thing about hell is that when you're there you can't even tell as you move through this life you love so you could be there and not even know |
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Mon Mar 08, 2004 12:46 am Post subject: |
|
|
steel300 wrote: |
What's the patch and where does it break? Does it just patch with failed hunks? Or does it make the whole other patch useless? |
Here's the patch, both hunks fail to apply. It's always applied without problems before now. I looked at that piece of the sd.c code and it now references supermount so I figure it must be the culprit.
Code: |
--- 1.59/drivers/scsi/sd.c Fri Oct 24 14:53:37 2003
+++ edited/drivers/scsi/sd.c Tue Jan 6 11:16:41 2004
@@ -431,8 +431,10 @@
goto error_out;
if (!sdkp->openers++ && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT);
+#endif
}
return 0;
@@ -462,8 +464,10 @@
SCSI_LOG_HLQUEUE(3, printk("sd_release: disk=%s\n", disk->disk_name));
if (!--sdkp->openers && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW);
+#endif
}
/*
|
_________________ Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Mon Mar 08, 2004 12:58 am Post subject: |
|
|
Regor wrote: | steel300 wrote: |
What's the patch and where does it break? Does it just patch with failed hunks? Or does it make the whole other patch useless? |
Here's the patch, both hunks fail to apply. It's always applied without problems before now. I looked at that piece of the sd.c code and it now references supermount so I figure it must be the culprit.
Code: |
--- 1.59/drivers/scsi/sd.c Fri Oct 24 14:53:37 2003
+++ edited/drivers/scsi/sd.c Tue Jan 6 11:16:41 2004
@@ -431,8 +431,10 @@
goto error_out;
if (!sdkp->openers++ && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT);
+#endif
}
return 0;
@@ -462,8 +464,10 @@
SCSI_LOG_HLQUEUE(3, printk("sd_release: disk=%s\n", disk->disk_name));
if (!--sdkp->openers && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW);
+#endif
}
/*
|
|
I thought you had a hard one for me. Maybe try and break things a little more next time. Try this patch:
Code: |
--- linux-2.6.3/drivers/scsi/sd.c 2004-03-07 18:51:46.147438428 -0600
+++ linux-2.6.4_rc2-love1/drivers/scsi/sd.c 2004-03-07 18:51:00.998551358 -0600
@@ -437,8 +437,10 @@
goto error_out;
if (supermount_usage_count(inode->i_bdev, sdkp->openers++) == 0 && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT);
+#endif
}
return 0;
@@ -468,8 +470,10 @@
SCSI_LOG_HLQUEUE(3, printk("sd_release: disk=%s\n", disk->disk_name));
if (supermount_usage_count(inode->i_bdev, --sdkp->openers) == 0 && sdev->removable) {
+#if 0
if (scsi_block_when_processing_errors(sdev))
scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW);
+#endif
}
/*
|
_________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
nepenthe Guru
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Mon Mar 08, 2004 1:20 am Post subject: |
|
|
anyone here successfuly get a D-Link DWL-650+ to work? It's the acx100 chip... =) |
|
Back to top |
|
|
|