View previous topic :: View next topic |
Author |
Message |
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Wed May 28, 2003 4:24 am Post subject: |
|
|
sindre wrote: | Also there's this new /sys directory. What's it's purpose? Seems to me as an ordered mix between /dev and /proc. |
The new sysfs is the new designated location for all device and driver info in a much more efficient layout. Eventually, all hardware info from proc will be moved to sysfs, leaving only in what proc was designed for in the first place: process info.
(Navigating sysfs is actually quite interesting, as it maps all your hardware in a very useful Windows-Device-Manager-ish layout.) |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 7:44 am Post subject: |
|
|
cyfred wrote: | Well ive been using mm1 for 12hours quite happily except for two little things regarding my mice. (its a laptop machine with a ps2 touch pad and a usb external mouse)[...] |
Same config here... and everytrhing works well, ps2/mouse and USB mouse..
cyfred wrote: |
1) On boot up if I have mousedev compiled statically the system tries to load it as a module. This fails, so I compiled mousedev as a module. But now I can only use the ps2 mouse if I have the usb mouse plugged in. mousedev is in modules.autoload.d/kernel-2.5 and does get loaded... It seems there is some "mice" controller that just doesnt activate the ps2 mouse until something is loaded during inserting the usb mouse (wether during boot or when running).[...] |
I compiled the mousedev in the kernel and even though the module fails to load, the two mice still work. USB mouse is compiled as module.
cyfred wrote: |
2) Touch pad clicking doesnt work. As in i cant just tap the touch pad and have that recognised as a cllick. Thats no big deal but it is annoying... as im used to it now... |
Reverse the synaptic-mouse-pacth. look in the 2.5.70-mm1/broken directory for that patch and do a Code: | patch -p1 -R < synaptic-mouse-patch | in your kenrel tree. This is how I got it working on mine. There was a suggestion about loading the modules with an option (I can't recall what option sorry) but I tried it and it never worked for me, so I just reversed the synaptic-mouse-patch.
cyfred wrote: |
Well actually there was one other thing. On boot up I recieved
Code: | xargs: environment is too large for exec... |
I just patched the findutils/xargs/xargs.c source file to stop arg_max being limited to 20 * 1024 and now the error is gone. But is that the best way to do this? Or should I be looking to fix something else? |
Can you provide us with your pacths? I have the same issue here.
Thanks and regards, _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
paulisdead Guru
Joined: 10 Apr 2002 Posts: 510 Location: Seattle, WA
|
Posted: Wed May 28, 2003 7:54 am Post subject: |
|
|
It seemed very fast, but some stuff didn't get along quite as well on my system. I need USB support, HID, and EHCI and OHCI all as modules for my nforce2, and OHCI won't load (has to be modules or it'll lock up, at least with my experience with 2.4.20-gaming-r3). I prefer OSS over ALSA for sound, for compatiblity reasons, and the emu10k1 driver with the kernel doesn't want to send sound to my left speaker (I double checked the balance with aumix). If you're wondering why I don't use onboard nforce2 sound, the nvaudio OSS driver won't give me permission to /dev/dsp to play games, though it's set correctly in devfsd.conf and xmms and xine work fine. Alsa with the i8x0 driver won't send anything to my left speaker as well. And there's not bootsplash with the frame buffer, so back to the gaming-sources I go. I was using 2.5.70-mm1 if anyone cares. |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 9:59 am Post subject: |
|
|
I just switched from CFQ to AS on my 2.5.70-mm1 and I still get a hard lockup in X, but this time only when I try to compile something. I had it locked up twice while doing emerge sync and emerge -up --world. Without any compilation going it's stabel (well it seems stable), but it's definatelly more stable than CFQ, at least in 2.5.70-mm1.
darktux Still waiting for your .config file in order to get some diffs on mine to see If I have an option bugging me. Thanks
And for those having xmms to skip, try to change the output plugin (I was using esd) to something else. I tried the builtin OSS and alsa-xmms as output plugin and the skipping while browsing the network disapeared. Try it and post your results here...
hope this helps
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed May 28, 2003 10:03 am Post subject: |
|
|
there's an interview with Nick Piggin (the guy who wrote the AS scheduler) on kerneltrap.org - it well worth a read if you want to understand how the three schedulers work.
he also mentions the possiblity of combining CFQ and AS - which just made my mouth water... |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 10:09 am Post subject: |
|
|
Thanks for that info LoveChild.. will check that out ASAP...
regards, _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
dolbz Tux's lil' helper
Joined: 29 Mar 2003 Posts: 138 Location: Nuneaton,UK
|
Posted: Wed May 28, 2003 10:49 am Post subject: |
|
|
yay. i'm running 2.5.70-mm1 and it's running perfect and seems quicker than 2.4.20. I have finally managed to lose my network card transmit timeout errors and having unreadable kernel logs because they are plagued with the bloody things . Looks like 2.6 is going to be very nice. Linux keeps getting more and more perfect
Dolbz |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Wed May 28, 2003 12:04 pm Post subject: |
|
|
For those that wanted the patch for xargs here is a link
http://www.volutin.net/~andrew/GENTOO/findutils-4.1.7-r5.tar.gz
Just stick that ebuild into your overlay directory and emerge -u findutils
Silverter: Where is this directory 2.5.70-mm1/broken that you speak of? I cant find it anywhere. Even locate *synaptic* found nothing... |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 12:20 pm Post subject: |
|
|
Thanks for that patch, will try that soon...
Quote: |
Silverter: Where is this directory 2.5.70-mm1/broken that you speak of? I cant find it anywhere. Even locate *synaptic* found nothing... |
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm1/broken-out/
Get the synaptic-mouse-patch from there and reverve the patch in your kernel tree.
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Wed May 28, 2003 2:56 pm Post subject: |
|
|
I'm still using 2.5.69-mm9 on my laptop, but I was getting the same xargs error and this patch worked well for me. |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Wed May 28, 2003 3:00 pm Post subject: |
|
|
silverter wrote: | And for those having xmms to skip, try to change the output plugin (I was using esd) to something else. I tried the builtin OSS and alsa-xmms as output plugin and the skipping while browsing the network disapeared. Try it and post your results here... |
Again, with 2.5.69-mm9, I was having skipping/crackling sounds with the alsa driver on XMMS. I'm also using the crossfade plugin. What worked for me was to increase the alsa buffer time to 3 seconds. The crackling went away after that. I would imagine that the same solution would work under 2.5.70. |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Wed May 28, 2003 3:08 pm Post subject: |
|
|
I've never been able to completely get rid of xmms jumps I'm using OSS, settings are as follows:
Buffser size: 3000 ms
Pre-buffer: 25%
Any recomendations for alterations? _________________ a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed May 28, 2003 3:33 pm Post subject: |
|
|
port001 wrote: | I've never been able to completely get rid of xmms jumps I'm using OSS, settings are as follows:
Buffser size: 3000 ms
Pre-buffer: 25%
Any recomendations for alterations? |
Yeah, xmms has some very poor design, try another player instead.
to test this do what you normally do and watch xmms crumble - try the same with say zinf or mpg123 and they will probably survive. xmms is just that bad, sorry. |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Wed May 28, 2003 3:36 pm Post subject: |
|
|
Lovechild wrote: | port001 wrote: | I've never been able to completely get rid of xmms jumps I'm using OSS, settings are as follows:
Buffser size: 3000 ms
Pre-buffer: 25%
Any recomendations for alterations? |
Yeah, xmms has some very poor design, try another player instead.
to test this do what you normally do and watch xmms crumble - try the same with say zinf or mpg123 and they will probably survive. xmms is just that bad, sorry. |
I've changed the Buffser size to 4 seconds, not had any jumps so far. _________________ a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed May 28, 2003 3:37 pm Post subject: |
|
|
Lovechild wrote: | - try the same with say zinf or mpg123 and they will probably survive. xmms is just that bad, sorry. |
are those X based or CL? |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed May 28, 2003 3:40 pm Post subject: |
|
|
that's because you buffer so much that you can cover up for xmms' bad design - it's basically the same way they used to "shock proof" portable cd players. That's a bad solution, but it's good enough to cover up the combined badness of esd and xmms - when I'm streaming I prefetch 2048kb and I buffer at least ½ of that in the decoder, esd is set up buffer 6 secs and it virtually never skips but I use a lot of ram that way. |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed May 28, 2003 3:41 pm Post subject: |
|
|
jimlynch11 wrote: | Lovechild wrote: | - try the same with say zinf or mpg123 and they will probably survive. xmms is just that bad, sorry. |
are those X based or CL? |
first one is gtk1 I think, and the latter is cli. |
|
Back to top |
|
|
Baad3r n00b
Joined: 07 Apr 2003 Posts: 22
|
Posted: Wed May 28, 2003 3:43 pm Post subject: |
|
|
17:45:36 up 1 day, 0 min, 6 users, load average: 3.61, 3.07, 2.72
2.5.70-mm1 with AS. No lockups. Its rock-solid here. |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Wed May 28, 2003 3:48 pm Post subject: |
|
|
Lovechild wrote: | that's because you buffer so much that you can cover up for xmms' bad design - it's basically the same way they used to "shock proof" portable cd players. That's a bad solution, but it's good enough to cover up the combined badness of esd and xmms - when I'm streaming I prefetch 2048kb and I buffer at least ½ of that in the decoder, esd is set up buffer 6 secs and it virtually never skips but I use a lot of ram that way. |
Well, I like xmms so much i'll just keep upping the buffer untill the jumps stop. _________________ a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla |
|
Back to top |
|
|
jimlynch11 Guru
Joined: 21 Feb 2003 Posts: 590 Location: massachusetts
|
Posted: Wed May 28, 2003 3:58 pm Post subject: |
|
|
Baad3r wrote: | 17:45:36 up 1 day, 0 min, 6 users, load average: 3.61, 3.07, 2.72
2.5.70-mm1 with AS. No lockups. Its rock-solid here. |
1 day uptime != rock solid...
sounds like a microsoft PR packet |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Wed May 28, 2003 4:02 pm Post subject: |
|
|
IntergalacticWalrus wrote: | When 2.6 will be out, migrating from 2.4 won't be too smooth cause a lot of things will be broken, that's for sure. |
When are these things going to get broken? I'm using 2.5.70 and seem to be encountering an unusually low number of broken 'things'.
Methinks doth knowest little on this subject. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed May 28, 2003 6:21 pm Post subject: |
|
|
thats why its nearly up to the 2.6test kernels!
i just love linux, i would like to see microsoft get a new kernel version, bugfree and with all the upgrades the 2.4 kernel has got out in ~1 year _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed May 28, 2003 8:01 pm Post subject: |
|
|
TheCoop wrote: | thats why its nearly up to the 2.6test kernels!
i just love linux, i would like to see microsoft get a new kernel version, bugfree and with all the upgrades the 2.4 kernel has got out in ~1 year |
What do you mean, they have millions and millions of beta testers out there, and most of them are paying..... oh man I can't wait for the final, I've been on the beta team since DOS 5.x |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Thu May 29, 2003 9:49 am Post subject: |
|
|
I tried reversing the synaptics patch as suggested above and my touch pad mouse still cannnot be clicked by tapping the pad. Anyone got anymore suggestions?
On the other topic, I cleaned the sources and have mousedev compiled as a static and there is no module loading problems... |
|
Back to top |
|
|
Exner Tux's lil' helper
Joined: 08 Apr 2003 Posts: 128 Location: Melbourne, Australia
|
Posted: Thu May 29, 2003 9:59 am Post subject: with gcc-3.3 ? |
|
|
A few people are saying they can compile/run 2.5.70-mm1 without problems... Are any of you compiling the kernel with gcc-3.3 ?
Twice i've compiled 2.5.70-mm1 but it won't boot. The config file is not much changed from my current one (2.5.69-mm2). _________________ - Exner (Antony Suter) |
|
Back to top |
|
|
|