Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.9-nitro1 "Gentlemen, start your engines!"
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Oct 22, 2004 10:18 am    Post subject: 2.6.9-nitro1 "Gentlemen, start your engines!" Reply with quote

New kernel, new nitro ..

Applied patches
Code:

2.6.9-nitro1 "Gentlemen, start your engines!"
*********************************************
# Start of CK patches
2.6.9_to_staircase9.0.diff | A complete scheduler rewrite
schedrange.diff | Infrastructure for more policies
schedbatch2.5.diff | Batch scheduling
schediso2.8.diff | Isochronous scheduling
mwII.diff | Very unlikely to swap due file caching
1g_lowmem1_i386.diff | Allows 1G ram without enabling highmem
cfq2-20041019.patch | Update the cfq code to the latest version
block_fix.diff | Fix stalls under heavy i/o load
defaultcfq.diff | Select the CFQv2 i/o scheduler by default
269rc4-mingo_ll.diff | Low latency hacks by Ingo Molnar
269rc4-mingo-bkl.diff | Preemptible big kernel lock by Ingo Molnar
ll-config.diff | Default the preemptible kernel lock off
cddvd-cmdfilter-drop.patch | Fix cdrecord bug
nvidia_compat.diff | Allow evil binary nvidia drivers to compile
buildfix.diff | Fix for 2.6.9 that causes internal compiler errors
back-sched-net-fix-scheduling-latencies-in-__release_sock.patch | Take out a buggy latency fix
mwII-oc.diff | Fix watermark II
# End of CK patches
2.6.9-rc3+reiser4.patch | The Reiser4 FileSystem
supermount-ng207.diff | Automaticly mount removable media (plz stop using this, use hal+dbus!)
vesafb-tng-0.9-rc4-r3-2.6.9.patch | a new and more functional version of the vesafb Linux driver
fbsplash-0.9-r8-2.6.9.patch | Gensplash, a bootsplash replacement for Gentoo
acpi-dsdt-initrd-patch-v0.6-2.6.9-for-nitro.diff | Custom acpi dsdt (untested)
via-v4l-1.4a-drm.diff | VIA Video4Linux
lirc-2.6.8-rc2-bk2-for-nitro.diff | Linux InfraRed Control support
menuconfig-NAME-v2.1-dev5-for-nitro.diff | Show kernel name in menuconfig
squashfs2.0r2-for-nitro.diff | SquashFS v2.0, a squashed read-only filesystem for Linux
gcloop-2.6-20040527.diff | Gentoo Compressed loopback support for 2.6
lufs-0.9.7-2.6.0-test9-for-nitro.diff | Linux Userland FileSystem
omnibook-2.6.8-rc2-bk2.diff | omnibook support
config-nr-tty-devices.diff | config /dev/tty* count for a cleaner /dev
cdfs-2.6.3a.diff | exports all tracks and boot images on a CD as normal files (broken?)
acx100-2.6.8-rc2-bk2.diff | ACX100 WLAN drivers
acer-hotkeys-for-nitro.diff | Acer HotKeys support
iteraid_1.45.diff | Giga Raid
configurable-hid-mouse-polling-2.6.9-rc4.diff | usb 500hz mouse hack
packet-writing-for-nitro.diff | packet writing support for CD/DVD RW's
config_hz.diff | Set the internal clock frequency
orinoco-0.13e-SN-5.diff | Orinocco drivers with support for scanning and monitor mode
bk-alsa.patch | Latest ALSA snapshot taken from mm tree
cflags-selection-for-nitro.diff | compile the kernel with other CFLAGS
xpad-0.6.patch | Microsoft X-Box pad support
seccomp-2.6.9-rc4.patch | Secure Computing API (see http://kerneltrap.org/node/view/4005)
All-2.6.9-rc4.diff.gz | Video4Linux kernel patches (http://linux.bytesex.org/v4l2/)
2.6.9-libata1.patch.gz | Jeff Garzik's libata updates


Download
Ebuild
Patch file

What's new?
* based on stable 2.6.9 kernel
* CK is updated
* vesafb-tng and gensplash are back and working
* Video4Linux kernel patches are new (see http://linux.bytesex.org/v4l2/ for more info)
* Jeff Garzik's libata updates are new
* New version of the evil supermount patch

How to install?
Take a look at this post

More info at
WWW: http://sepi.be/nitro.php
RSS Feed: http://sepi.be/nitro-rss.php
IRC: irc.freenode.net #nitro-sources
This thread :)

Software Suspend 2 addon patch + howto
1. Download software-suspend-2.1-for-2.6.9-nitroX.patch.bz2
2. Patch (I assume that /usr/src/linux points to /usr/src/linux-2.6.9-nitro1):
Code:

cd /usr/src/linux
bzcat /path/to/software-suspend-2.1-for-2.6.9-nitroX.patch.bz2 | patch -p1

3. Now do make menuconfig or make oldconfig to enable it

Have fun!
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1


Last edited by seppe on Mon Oct 25, 2004 10:51 pm; edited 2 times in total
Back to top
View user's profile Send private message
aderio
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2003
Posts: 118
Location: England

PostPosted: Fri Oct 22, 2004 10:26 am    Post subject: Reply with quote

Downloading now. Thanks Seppe.
_________________
Typos lead to premature baldness, therefore lick and stick whenever possible. Veteran status may mean that you post a lot of *** I'm a noob and clueless.
"Let us go forward together" Winston Churchill
Back to top
View user's profile Send private message
DizL
n00b
n00b


Joined: 05 Aug 2004
Posts: 74
Location: Warsaw, Poland

PostPosted: Fri Oct 22, 2004 10:44 am    Post subject: Reply with quote

YESSSSSSSSSS YESSSSSSSS YO :]

Thanks Seppe!!
_________________
BenQ R55E| Celeron M 1,6 | 1024 DDR | 60GB |
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Oct 22, 2004 11:00 am    Post subject: Reply with quote

Software Suspend 2 addon patch + howto
1. Download software-suspend-2.1-for-2.6.9-nitroX.patch.bz2
2. Patch (I assume that /usr/src/linux points to /usr/src/linux-2.6.9-nitro1):
Code:

cd /usr/src/linux
bzcat /path/to/software-suspend-2.1-for-2.6.9-nitroX.patch.bz2 | patch -p1

3. Now do make menuconfig or make oldconfig to enable it
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
lxnay
Retired Dev
Retired Dev


Joined: 09 Apr 2004
Posts: 661
Location: Italy

PostPosted: Fri Oct 22, 2004 11:21 am    Post subject: Reply with quote

hi seppe, can you add usb patches from -bk snapshots?

I have another patch for fixing kernel oops when using an usb-storage device such as dvd writer or harddisk.

Code:
===== drivers/usb/storage/scsiglue.c 1.84 vs edited =====
--- 1.84/drivers/usb/storage/scsiglue.c 2004-09-13 08:11:34 -04:00
+++ edited/drivers/usb/storage/scsiglue.c       2004-09-30 16:07:33 -04:00
@@ -175,7 +175,7 @@
        US_DEBUGP("%s called\n", __FUNCTION__);
        srb->host_scribble = (unsigned char *)us;

-       /* enqueue the command */
+       /* check for state-transition errors */
        if (us->sm_state != US_STATE_IDLE || us->srb != NULL) {
                printk(KERN_ERR USB_STORAGE "Error in %s: "
                        "state = %d, us->srb = %p\n",
@@ -183,10 +183,17 @@
                return SCSI_MLQUEUE_HOST_BUSY;
        }

+       /* fail the command if we are disconnecting */
+       if (test_bit(US_FLIDX_DISCONNECTING, &us->flags)) {
+               US_DEBUGP("Fail command during disconnect\n");
+               srb->result = DID_NO_CONNECT << 16;
+               done(srb);
+               return 0;
+       }
+
+       /* enqueue the command and wake up the control thread */
        srb->scsi_done = done;
        us->srb = srb;
-
-       /* wake up the process task */
        up(&(us->sema));

        return 0;


_________________
http://www.sabayon.org
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri Oct 22, 2004 11:31 am    Post subject: Reply with quote

Quote:
::: [13:13:24] <seppe_> I cant suspend from X, but I made a small script which exits X, suspends and calls X back when I resume .. now I start up in less than 8 seconds :D


post it :P
Back to top
View user's profile Send private message
aderio
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2003
Posts: 118
Location: England

PostPosted: Fri Oct 22, 2004 11:32 am    Post subject: Reply with quote

Downloaded, compiled, booted, works (with nvidia-kernel). I'll do some stability testing later.

Double thanks Seppe :D

Update, just finished emerge -uvDp world and grabbed some updates compiled and 2.6.9-nitro1 still a solid as a rock :D
_________________
Typos lead to premature baldness, therefore lick and stick whenever possible. Veteran status may mean that you post a lot of *** I'm a noob and clueless.
"Let us go forward together" Winston Churchill


Last edited by aderio on Fri Oct 22, 2004 12:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
desertstalker
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 209

PostPosted: Fri Oct 22, 2004 11:47 am    Post subject: Reply with quote

Errm. I get two failed hunks when I try to apply the swsusp2 patch??

I'll see if I can fix it (don't hold your breath)


Last edited by desertstalker on Fri Oct 22, 2004 11:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Oct 22, 2004 11:47 am    Post subject: Reply with quote

Cagnulein wrote:
Quote:
::: [13:13:24] <seppe_> I cant suspend from X, but I made a small script which exits X, suspends and calls X back when I resume .. now I start up in less than 8 seconds :D


post it :P


First, the suspend script from http://softwaresuspend.berlios.de is extracted in /etc/hibernate

/etc/hibernate/suspend.sh contains:
Code:

#!/bin/sh
#
sh /etc/hibernate/suspend2.sh &
/etc/init.d/xdm stop

chmod +x /etc/hibernate/suspend.sh

/etc/hibernate/suspend2.sh contains:
Code:

#!/bin/sh
#
sleep 1
radeontool light off
sh /etc/hibernate/hibernate.sh
/etc/init.d/xdm start
/etc/init.d/alsasound restart

chmod +x /etc/hibernate/suspend2.sh

/etc/hibernate/hibernate.conf contains:
Code:

UseSwsusp2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution gentoo
SaveClock yes
IncompatibleDevices /dev/dsp /dev/video*
Unmount /windows
Mount /windows
UnloadAllModules yes
UnloadBlacklistedModules yes
LoadModules auto
GentooModulesAutoload yes
DownInterfaces eth1
UpInterfaces auto
StopServices alsasound
StartServices aumix
LeaveXBeforeSuspend yes

So I restart all services (don't worry, they load a LOT faster) and I unmount /windows when I hibernate so I can still access my Windows partition when I boot Windows after I hibernated. I stop alsasound in hibernate.conf but I restart it manually (in suspend2.sh script) so that X loads up faster.

radeontool light off turns off my screen just before hibernate starts, that is because otherwise I get ugly messages on my screen :) So this is not really needed

As you can see, I stop and start X with /etc/init.d/xdm, because I use gdm (should work as well with kdm or entrance)

now execute /etc/hibernate/suspend.sh to start it

With this configuration, my system boots up within 8 seconds. That is also because X is preloaded (I use LDFLAGS="-Wl,-O1"
in /etc/make.conf, but you can also use prelink). I guess all this also works for non-laptop systems. So if you want to boot really fast, check this out :)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1


Last edited by seppe on Fri Oct 22, 2004 11:57 am; edited 2 times in total
Back to top
View user's profile Send private message
Robin79
l33t
l33t


Joined: 18 Oct 2003
Posts: 632
Location: /home/valdemarsvik

PostPosted: Fri Oct 22, 2004 11:53 am    Post subject: Reply with quote

Grabs it no if its better than rc2.nitro2 its superb
_________________
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
View user's profile Send private message
krejler
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2003
Posts: 142
Location: Denmark

PostPosted: Fri Oct 22, 2004 12:11 pm    Post subject: Re: 2.6.9-nitro1 "Gentlemen, start your engines!" Reply with quote

seppe wrote:

configurable-hid-mouse-polling-2.6.9-rc4.diff | usb 500hz mouse hack


Hey!

You might want to include revision 2 of my patch, instead of revision 0 in the next nitro. :)

Revision 2 now includes the possibilty to change the polling interval with either a module parameter (if usbhid is built as a module), or a boot parameter (if usbhid is built into the kernel), if the polling interval you chose in CONFIG is either too low, or too high. Even more tweakability, yay!

Grab it off here:

http://omfg.linux.dk/pub/configurable-hid-mouse-polling/

Thanks :)

EDIT:
I changed the revision numbers, since i just released revision 2 with a tiny bug fix...


Last edited by krejler on Fri Oct 22, 2004 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Fri Oct 22, 2004 1:18 pm    Post subject: Reply with quote

Oh yes! New Nitro! I'll compile it right now and post results later!

Thank you, Seppe!
Back to top
View user's profile Send private message
mercurator
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 92
Location: Slovenia

PostPosted: Fri Oct 22, 2004 1:42 pm    Post subject: Reply with quote

Hi,
I'm thinking of giving nitro sources a try. So what do I do? I suppose I have do download 2.6.9 kernel from kernel.org, patch it with the nitro patch, but then what? What do I do with the ebuild file?

Thanks guys!
_________________
"Ignorantia non est Argumentum" - Benedict de Spinoza
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Fri Oct 22, 2004 1:53 pm    Post subject: Reply with quote

First of all, set PORTDIR_OVERLAY="/usr/local/portage" in your /etc/make.conf, then just:
Code:

mkdir -p /usr/local/portage/sys-kernel/nitro-sources && cd /usr/local/portage/sys-kernel/nitro-sources && wget http://www.sepi.be/nitro/2.6.9-nitro1/nitro-sources-2.6.9-r1.ebuild && ebuild /usr/local/portage/sys-kernel/nitro-sources/nitro-sources-2.6.9-r1.ebuild digest && emerge nitro-sources

When that's finished, you've emerged nitro-sources succesfully!

Then you can configure it just like ordinary kernel...and don't forget to fasten your seatbelts before booting ;)

Have fun! :P

[ EDIT ] Oops, link was pointing to old version, fixed now! :oops:


Last edited by Deranger on Sat Oct 23, 2004 8:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Fri Oct 22, 2004 2:55 pm    Post subject: Reply with quote

Hi at all

I'll try this new nitro and hope that it will solve this annoying problem:
https://forums.gentoo.org/viewtopic.php?t=240634

Greets and thank you seppe
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
BulletSponge
n00b
n00b


Joined: 30 Sep 2003
Posts: 26
Location: Calgary, Canada

PostPosted: Fri Oct 22, 2004 3:09 pm    Post subject: ooo, another one :D Reply with quote

downloading now, i can't wait to get framebuffer working right again.

how often does a new nitro release come out?
this is my first week using it, and this is the third release, i don't know if i can keep up :P
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Oct 22, 2004 3:15 pm    Post subject: Re: ooo, another one :D Reply with quote

BulletSponge wrote:
downloading now, i can't wait to get framebuffer working right again.

how often does a new nitro release come out?
this is my first week using it, and this is the third release, i don't know if i can keep up :P

Impossible, the previous release was more than 1 week ago :)

I try to release one each week, if I have the time :roll:
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Fri Oct 22, 2004 4:37 pm    Post subject: Reply with quote

The alsa patch that I made for the previous kernel (http://darc.ath.cx:81/linux/alsa-update.patch.bz2) still applies cleanly and is much newer than the -mm bk patch. You should include it in future -nitros.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
fimbulvetr
n00b
n00b


Joined: 03 Feb 2004
Posts: 51
Location: South Dakota

PostPosted: Fri Oct 22, 2004 5:50 pm    Post subject: Reply with quote

Oktane,

Not sure if you knew this, but instead of doing:
Code:
mkdir /usr/local/portage && mkdir /usr/local/portage/sys-kernel && mkdir [code]/usr/local/portage/sys-kernel/nitro-sources[/code]


You can just do
Code:
mkdir -p /usr/local/portage/sys-kernel/nitro-sources


where -p means "make the parent directories".

-fim
_________________
:wq
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri Oct 22, 2004 6:00 pm    Post subject: Reply with quote

thx seppe...but it doesn't works for me....susped works great, but when i try to turn on the pc, the suspend screen freeze at 70% T_T
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri Oct 22, 2004 6:47 pm    Post subject: Reply with quote

i solve the problem with swsups enabling the debugging support and Relaxed /proc/software_suspend permissions

:)

9 seconds for me :)
Back to top
View user's profile Send private message
BulletSponge
n00b
n00b


Joined: 30 Sep 2003
Posts: 26
Location: Calgary, Canada

PostPosted: Fri Oct 22, 2004 7:50 pm    Post subject: Re: ooo, another one :D Reply with quote

seppe wrote:
BulletSponge wrote:
downloading now, i can't wait to get framebuffer working right again.

how often does a new nitro release come out?
this is my first week using it, and this is the third release, i don't know if i can keep up :P

Impossible, the previous release was more than 1 week ago :)

I try to release one each week, if I have the time :roll:


i think my sense of time is a little skewed. too bad you can't run NTP on a person.


a question about framebuffer:
i have vesa-tng enabled
and the drivers for my card enabled.
if i use the original vesa driver, vga=795 works great.
if i use the vesa-tng drivers, i get an unknown video mode error. if i just let it boot with no vga parameter, it fills the screen and then stops.

any ideas?
i'm rather confused about the two ways it seems that people are passing framebuffer info.
i've seen the vga=795 method
and the video=vesafb-tng,ywrap,mtrr,1400x1050-32@60

neither seems to work for me. please forgive if i'm making a stupid mistake.
Back to top
View user's profile Send private message
BulletSponge
n00b
n00b


Joined: 30 Sep 2003
Posts: 26
Location: Calgary, Canada

PostPosted: Fri Oct 22, 2004 7:56 pm    Post subject: Reply with quote

ok, it seems that i've made a tad bit of an error,
if i go to 1280x1024 in the parameter format, it works.

but the monitor should be able to run at 1400x1050, and it does so in x.
Back to top
View user's profile Send private message
m0sia
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 113

PostPosted: Fri Oct 22, 2004 8:05 pm    Post subject: Reply with quote

again a lot of problems:

1) usb 1.0 flash stick don't work.
"mount: /dev/sdb1: can't read superblock"
usb2.0 works like charm

motherboard: p4p800se
2) vesa-tng works like $%!@!
Sometimes it freezes at boot on identifing gpu.
sometimes it doesn't work if i plug tv in tv-out.
it doesnt work if i switched back to console from xorg(nvidia-6111).

3)annoying messages in syslog(of cource i can turn off preemptible support):

using smp_processor_id() in preemptible code: xmms/11470
[<c011d0ee>] smp_processor_id+0x84/0x8a
[<c0125bf3>] local_bh_enable+0x6c/0x89
[<c02d81a7>] lock_sock+0x17/0x58
[<c02d4f82>] sock_fasync+0x41/0x155
[<c02d4f1c>] sock_close+0x28/0x4d
[<c015b52f>] __fput+0x14b/0x184
[<c0159b9a>] filp_close+0x52/0x96
[<c0159c48>] sys_close+0x6a/0x91
[<c010617f>] sysenter_past_esp+0x54/0x75

4)lirc on tekram210 stops working witout any logs =((( it is very annoying

5)lm-sensors show with new zalman7000 cooler 0 rpm =((

please help me =))
Back to top
View user's profile Send private message
vrln
Guru
Guru


Joined: 11 Sep 2004
Posts: 534
Location: Finland

PostPosted: Fri Oct 22, 2004 8:28 pm    Post subject: Reply with quote

2: vesafb-tng doesn't work/is unstable on SMP systems (in other words a hyperthreaded p4)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
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