View previous topic :: View next topic |
Author |
Message |
urfage n00b
Joined: 05 Sep 2004 Posts: 49
|
Posted: Thu Dec 02, 2004 5:06 pm Post subject: |
|
|
What is the proper way to install the nitro sources?
My current kernel is gentoo-dev-sources 2.6.9-r6.
Is this the correct method:
emerge development-sources
link /usr/src/linux to development-sources
emerge nitro-sources
link /usr/src/linux to nitro-sources
Thanks in advance and keep up the good work seppe. |
|
Back to top |
|
|
pilx n00b
Joined: 27 Jun 2004 Posts: 43
|
Posted: Thu Dec 02, 2004 6:39 pm Post subject: |
|
|
PredatorX wrote: | Thanks for the tip. I might try it later because I got supermount working. Do you know if this also solves the problem with mounting usb-sticks several times, so it will appear as the same device? |
I don't know about this, never had this problem.
PredatorX wrote: | I don't know what you meen with userspace, is that just plain user functionality, like I don't have to fiddle with /etc/fstab? |
I mean that it doesn't need/depends on anything particular in the kernel (ie you don't need a patch).
It use other daemons/libraries (DBUS & HAL) that monitor /sys and when some change is detected a script is runned, ivman in this case, which in turn mounts the changed device according to fstab and configuration.
Your fstab looks like there's no automounting stuff going on... just as it would look if you managed to mount/umount your devices by hand.
The crucial difference over supermount and the like is that the mount doesn't occur when the mount point is accessed, instead it's done when the media/device is changed/inserted, and because of this it depends on devices which generate notifications to the system when events occur, hence it's not appliable to floppy drives, but that is hardly used lately.
When ivman receives a notification of some changed device, it looks if the device appears on fstab, if that's the case then it runs mount <device> just as you would by hand.
Of course you can customize which devices you want automounted, etc...
You probably should check it out, works great. |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Thu Dec 02, 2004 7:04 pm Post subject: |
|
|
urfage wrote: | What is the proper way to install the nitro sources?
|
@ your own risk:
in /etc/make.conf add:
PORTDIR_OVERLAY="/usr/local/portage"
add:"/usr/local/portage" (create it!)
then go on. |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Thu Dec 02, 2004 8:20 pm Post subject: |
|
|
By the way, when i emerge nitro-sources does nitro patched the used kernel or does he takes the 2.6.9? _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Thu Dec 02, 2004 8:58 pm Post subject: |
|
|
err both?
it is using /usr/src~/linux |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Thu Dec 02, 2004 9:13 pm Post subject: |
|
|
Ok, i have emerged it an i can't find reiser4 anymore, but i have the most recent Nitro :S but with an MM 2.6.10-rc2-r4 kernel. Isn't that o.k.? _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
grenouille Tux's lil' helper
Joined: 12 Jun 2004 Posts: 97
|
Posted: Thu Dec 02, 2004 10:25 pm Post subject: |
|
|
M@rijn wrote: | Ok, i have emerged it an i can't find reiser4 anymore, but i have the most recent Nitro :S but with an MM 2.6.10-rc2-r4 kernel. Isn't that o.k.? | disable 4k stacks |
|
Back to top |
|
|
urfage n00b
Joined: 05 Sep 2004 Posts: 49
|
Posted: Fri Dec 03, 2004 2:03 am Post subject: |
|
|
Great job seppe, this is my first experience and I really love nitro! I have 3 comments.
1. I am still having problems w/ ndiswrapper even with 0.12 . I believe it has been established that the problem is with swsuspend and I have swsuspend disabled because I do not use that feature. In the thread for 2.6.9nitro3 they said the problem was fixed with 0.12rc and it seems like the patch made it through to the 0.12 release. The patched code is here:
Code: | *phandle = kthread_run(kthread_trampoline, ctx,
#ifdef CONFIG_SOFTWARE_SUSPEND2
0,
#endif
"ndiswrapper"); |
and the error when compiling is:
Code: | /root/ndiswrapper-0.12/driver/ntoskernel.c:747:24: macro "kthread_run" requires 5 arguments, but only 3 given |
2. I think it would be really cool if the patches were broken up and zipped up and distributed that way. Then the ebuild could be modified to use USE flags to determine which patches get applied. This could allow everyone to avoid problems like the one w/ 'ndiswrapper' in the future, as well as have more control when "rolling your own".
Example: # USE="-swsuspend -win4lin +reiser4 +ck" emerge nitro-sources
3. Could you fix the 403 errors on the broken out patches on your site?
Thanks again, and keep up the good work |
|
Back to top |
|
|
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Fri Dec 03, 2004 8:14 am Post subject: |
|
|
urfage wrote: |
2. I think it would be really cool if the patches were broken up and zipped up and distributed that way. Then the ebuild could be modified to use USE flags to determine which patches get applied. This could allow everyone to avoid problems like the one w/ 'ndiswrapper' in the future, as well as have more control when "rolling your own".
Example: # USE="-swsuspend -win4lin +reiser4 +ck" emerge nitro-sources
|
That's a very good idea, but it's a bit tricky. There's a file called series, and patches need to be applied in a specific order, or something could fail.
Rolling own patchset isn't that hard, just give it a try |
|
Back to top |
|
|
[myrddin] n00b
Joined: 14 Jun 2002 Posts: 71 Location: Karlsruhe / Germany
|
Posted: Fri Dec 03, 2004 12:25 pm Post subject: |
|
|
Quote: | 1. I am still having problems w/ ndiswrapper even with 0.12 . I believe it has been established that the problem is with swsuspend and I have swsuspend disabled because I do not use that feature. In the thread for 2.6.9nitro3 they said the problem was fixed with 0.12rc and it seems like the patch made it through to the 0.12 release. The patched code is here:
Code:
*phandle = kthread_run(kthread_trampoline, ctx,
#ifdef CONFIG_SOFTWARE_SUSPEND2
0,
#endif
"ndiswrapper");
and the error when compiling is:
Code:
/root/ndiswrapper-0.12/driver/ntoskernel.c:747:24: macro "kthread_run" requires 5 arguments, but only 3 given |
I renamed ndiswrapper 0.11 to 0.12 and did an ebuild ndiswrapper-0.12.ebuild digest and everything is working fine. |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Fri Dec 03, 2004 10:03 pm Post subject: |
|
|
sory but are there people here who has problems with the ipw2200 driver compiling for nitro?? I have _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
M@rijn Tux's lil' helper
Joined: 28 Jan 2004 Posts: 145 Location: Zierikzee (The Netherlands)
|
Posted: Sat Dec 04, 2004 12:14 pm Post subject: |
|
|
bump _________________ Gentoo is just an Aston Martin, "Power, beauty and soul" |
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Mon Dec 06, 2004 8:17 pm Post subject: |
|
|
sorry for bumping, just wanted to thank the nitro sources` developers for bringing this ultimate patchset to my box. great work ! _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Dec 06, 2004 8:23 pm Post subject: |
|
|
while we are at it again:
4kstacks is OK for nvidia, unfortunately not for alsa-drivers, which compile fine using ~x86
you will receive a kernel oops at startup!
so i am just wondering.. does anyone have any benefits using 4kstacks at all? |
|
Back to top |
|
|
hds Advocate
Joined: 21 Aug 2004 Posts: 2629 Location: Sprockhoevel [GER]
|
Posted: Mon Dec 06, 2004 8:24 pm Post subject: |
|
|
M@rijn wrote: | bump |
no need to bump this thread just 26hours later, if noone is able to answer your question. this sux! learn to be patient.
thx
btw: no cheese for you this time, dutchie
btw2: it is "a hole". "an" is only used if the next word is starting with a/e/o/u. as a netherlander, you should know this? well, on X-ZONE, the language is not that important, i have to admit |
|
Back to top |
|
|
StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Mon Dec 06, 2004 9:36 pm Post subject: |
|
|
urfage wrote: | 2. I think it would be really cool if the patches were broken up and zipped up and distributed that way. Then the ebuild could be modified to use USE flags to determine which patches get applied. This could allow everyone to avoid problems like the one w/ 'ndiswrapper' in the future, as well as have more control when "rolling your own".
Example: # USE="-swsuspend -win4lin +reiser4 +ck" emerge nitro-sources | See my sig for just such a kernel. I don't have a lot of patches in there yet, but it will get there.
Of course, you are welcome to take any patchset released on the forums and modify it, just as long as you give credit to the original patchset releasers. _________________ Nothing to read in this sig. Move along. |
|
Back to top |
|
|
Twink Apprentice
Joined: 06 Dec 2002 Posts: 178 Location: New Zealand
|
Posted: Mon Dec 06, 2004 10:07 pm Post subject: |
|
|
so i thought i'd try this out, i normally use love-sources but realised i did so for no particular reason so might as well try others. however i can no longer emerge nvidia-kernel due to a sanity check to do with rivafb being enabled.
I've checked in the kernel config and cannot find rivafb enabled anywhere, any ideas what i'm doing wrong? |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Tue Dec 07, 2004 1:11 am Post subject: |
|
|
hds wrote: |
so i am just wondering.. does anyone have any benefits using 4kstacks at all? |
ive done quite a bit of reading on the topic, and in most cases the benefits are pointless _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
bollucks l33t
Joined: 27 Oct 2004 Posts: 606
|
Posted: Tue Dec 07, 2004 4:41 am Post subject: Highmem |
|
|
MrApples wrote: | hds wrote: |
so i am just wondering.. does anyone have any benefits using 4kstacks at all? |
ive done quite a bit of reading on the topic, and in most cases the benefits are pointless |
For 4k stacks to be helpful you need to be running a machine with more than 4Gb of ram. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Tue Dec 07, 2004 7:45 am Post subject: Re: Highmem |
|
|
bollucks wrote: | MrApples wrote: | hds wrote: |
so i am just wondering.. does anyone have any benefits using 4kstacks at all? |
ive done quite a bit of reading on the topic, and in most cases the benefits are pointless |
For 4k stacks to be helpful you need to be running a machine with more than 4Gb of ram. |
I thought there were meant to be some general benefits - basically less data to move about? It's not that significant a factor, but hey. |
|
Back to top |
|
|
bollucks l33t
Joined: 27 Oct 2004 Posts: 606
|
Posted: Tue Dec 07, 2004 9:37 am Post subject: Re: Highmem |
|
|
Archangel1 wrote: | bollucks wrote: | MrApples wrote: | hds wrote: |
so i am just wondering.. does anyone have any benefits using 4kstacks at all? |
ive done quite a bit of reading on the topic, and in most cases the benefits are pointless |
For 4k stacks to be helpful you need to be running a machine with more than 4Gb of ram. |
I thought there were meant to be some general benefits - basically less data to move about? It's not that significant a factor, but hey. |
Nope; apart from the eliteness factor and testing 4kb kernels, you derive precisely zero benefit without massive amounts of ram. |
|
Back to top |
|
|
Jengu Guru
Joined: 28 Oct 2004 Posts: 384
|
Posted: Wed Dec 08, 2004 12:02 am Post subject: |
|
|
I'd like to see the orinoco patch put back in. Doesn't cause any harm and saves me trouble =) |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Wed Dec 08, 2004 1:09 am Post subject: |
|
|
Jengu wrote: | I'd like to see the orinoco patch put back in. Doesn't cause any harm and saves me trouble =) | i think seppe provided it separately, he was going for a more stripped down nitro, so patches like orinoco can be added if needed by the user _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
Robin79 l33t
Joined: 18 Oct 2003 Posts: 632 Location: /home/valdemarsvik
|
Posted: Wed Dec 08, 2004 4:20 pm Post subject: |
|
|
I want the latest alsa and also some other drivers that i need for my new motherboard! can anyone tell me how i can patch the kernel using the latest alsa 1.0.7 ? Right now i am using the emerge alsa-driver but it sucks sounds like crap on my comp! _________________ Gentoo 2005.0
ASUS P5AD2 Deluxe MB
Intel P4 3.2GHz
PCI-E Nvidia Geforce PCX 5750
--------------------
Registered Linux User Nr # 319050 http://counter.li.org |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Thu Dec 09, 2004 12:28 am Post subject: |
|
|
Hey Seppe, I'm back .
Great job on these nitros. They run great.
Robin79:
Go to ftp://ftp.alsa-project.org/pub/kernel-patches/ and download the latest kernel patch, bunzip and patch the kernel just like you do with the nitro patch. It looks like the latest was created on 11/17. |
|
Back to top |
|
|
|