View previous topic :: View next topic |
Author |
Message |
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 3:44 am Post subject: |
|
|
Actually, I've got another problem, too! Using certain DVDs, I'm unable to mount /dev/cdroms/cdrom1 (my DVD drive, /dev/dvd -> /dev/cdroms/cdrom1 for mplayer's benefit) on /mnt/dvd. I get loads of errors about ide-scsi and some data being discarded. I can't get rid of SCSI emulation as I need it for my CD writer. The only way I've found of fixing this is to turn off DMA by default; however, I'm not actually sure this fixes the problem, and I quite like DMA, keeps things going relatively quickly.
Any ideas on this one? Is it a known problem?
Cheers,
Rob |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 3:45 am Post subject: |
|
|
floam wrote: | robmoss2k: Go into kernel config and turn on Unix98 PTS support to get your terminals working. |
Okay, I'll try that - I'll let you know how I get on tomorrow. The terminals are there, and they're functional - it's just that I don't get a cursor
I can see how this would be fixed by the above, but - will this fix my gnome-terminal problem?
Thanks,
Rob |
|
Back to top |
|
|
Vanquirius Retired Dev
Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
Posted: Sat Jul 05, 2003 4:34 am Post subject: |
|
|
Does anybody know when nforce2's onboard NIC (emerge nforce-net) is going to work with the 2.5.x series (if ever)???...
Just wondering. I feel technologically excluded. _________________ Hello. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 6:26 am Post subject: |
|
|
Lovechild wrote: |
Please report back on the effects of this patch - Con told me on IRC that he was working on fixing a set of issues I and other reported with the old patch. As I'm unable to get in touch with my Linux PC atm I cannot test this patch. |
I tried patching 2.5.74-mm1 with both the O2 and granularity patches (granularity I did by hand, didn't want to test the diff)... Not really noticing any improvement, maybe even a degregation.
XMMS is again skippy in the first couple seconds of a song when I do things in Nautilus (perhaps even worse than before then O1 patch showed up).
I think I noticed this with O1 as well, but don't remember: moving a window in GNOME will commonly choke the desktop refresh. Example: XMMS, Galeon, Nautilus, Xchat, and a kernel recompile going. I move around Nautilus, and my two desktop icons are commonly not redrawn fast enough, and my desktop looks blank in that area. Other windows generally have lots of old window draws of the top window when i move it around, those go away when i slow down
I'm assuming O2 is an attempt to fix this (Con said he was working on it), but Gecko engine rendering still manages to chop everything up pretty well from time to time.
Currently recompiling w/o granularity. Will post again. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 6:47 am Post subject: |
|
|
Right. That was unimpressive.
The kernel with O2 applied works fine, but is pretty much just as reported for O2 + granularity.
Right now I'm sitting in "vanilla" 2.5.74-mm1, just O1 (no granularity), and XMMS performance is a lot better than above. When browsing around in Nautilus (2 instances at once even!) XMMS doesn't lose a beat in the first 5 seconds as it does with O2. I zippily start a song, open Nautilus, browse a large dir, then go back to ~, and XMMS is fine. Certainly not the case with O2, which will lag a second or so.
However, X responsiveness is terrible. Even with just a Galeon window on a workspace (others in a different workspace), when I first start whipping the window around, my icons go missing immediately, and for a long time. After a while and/or I let go, everything seems to adjust and further movement draws the icons fine. Moving a window over another quickly, however, makes all hell break loose. The moving window is generally choppy, the underlying window gets a lot of fragments, and there's more fragments in the moving if it goes offscreen and comes back. Really cruddy. XMMS keeps up fine during all of this though.
Well, I hope this is somewhat helpful for Lovechild/Con/anyone. I'm in -mm1 right now, but I kept the kernel with O2 around in case someone wants more testing.
EDIT: Still a slight hiccup in XMMS performance when Galeon does a lot of rendering (say, going back to a large, graphical page) in the first couple seconds of XMMS play. Don't know if this is just the XMMS issue not being entirely gone, or because of the Gecko engine rendering being a hog, or some vile combination, or something else altogether.
Last edited by bssteph on Sat Jul 05, 2003 5:55 pm; edited 1 time in total |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sat Jul 05, 2003 8:43 am Post subject: |
|
|
robmoss2k: it's not just gnome-terminal, its all terminals. |
|
Back to top |
|
|
RedBeard0531 Guru
Joined: 21 Sep 2002 Posts: 415 Location: maryland
|
Posted: Sat Jul 05, 2003 11:38 am Post subject: |
|
|
floam wrote: | robmoss2k: Go into kernel config and turn on Unix98 PTS support to get your terminals working. |
Dont forget to enable support for pts device file system under psuedo-filesystems. Also, either upgerade baselayout, or add this to fstab.
Code: | devpts /dev/pts devpts defaults 0 0 |
_________________ OH MY GOD! Kenny just killed Kenny!
That Basterd! |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 3:17 pm Post subject: |
|
|
Okay, gnome-terminal now works. Thanks guys!
However, I still have a problem with any terminal other than vc/1. There's still no cursor. Is this a configuration problem, or a kernel problem? It just seems kinda weird that I get a cursor on the default terminal but nowhere else.
Also, I'm getting lots of really strange errors relating to my DVD drive. What's this "DMA problem" I keep hearing about? I can't find any reference to what it actually is, despite much trawling through the forums!!!
Cheers,
Rob |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 4:18 pm Post subject: |
|
|
Okay, this is really weird.
When I have "Use PCI DMA by default when available" my DVD drive becomes utterly useless. Mount complains about a bad superblock when trying to mount either a DVD or a CD; mplayer complains with a DVD like this:
Code: | Playing DVD title 1
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd |
or like this:
Code: | Playing DVD title 1
Reading disc structure, please wait...
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info! |
However, I can mount CDs using my CD writer with no problems at all. I haven't tried writing a CD yet, but I don't have any blank CD-Rs to hand, or any CD-RWs at all, so I can't try this.
cat /proc/scsi/scsi gives me this:
Code: | Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-W1210A Rev: 1.10
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: SAMSUNG Model: DVD-ROM SD-612 Rev: 0.1
Type: CD-ROM ANSI SCSI revision: 02 |
Both drives are using SCSI emulation (as you've probably worked out...). I don't know if I actually need to use this? Any ideas?
Anyway, any help would be much appreciated, as there's only this (relatively major problem now) and the lack of a cursor on vc/2 - vc/6 (relatively minor problem, I can handle using gnome-terminal, slow as it is) that's troubling me with this otherwise excellent kernel.
Cheers,
Rob |
|
Back to top |
|
|
thubble Tux's lil' helper
Joined: 16 May 2003 Posts: 119 Location: Winnipeg, Canada
|
Posted: Sat Jul 05, 2003 6:03 pm Post subject: |
|
|
I'm getting the same results as everyone else with granularity, O2 patches. I've also set min_timeslice = max_timeslice = 10 (anyone know a good value for this? min_timeslice = 1 causes problems, like leaving zombie processes all over the place).
xmms skipping is about the same (no problems after a couple seconds). This could probably be solved by using a sound server like arts, but I'm not going to bother setting that up - a couple of blips is tolerable. Mouse jerkiness is basically gone, and windows move normally. All in all, the patches aren't perfect, but they're improving. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 6:24 pm Post subject: |
|
|
thubble: I found a while ago that a good way to beat the XMMS blues is to output using the crossfade plugin. That loads the next song while the current song nears completion (so it can start applying effects), so you don't get the weird chop on start of a new song. It essentially makes your playlist one big file. You can configure it so it sounds more or less like a normal output plugin.
I get weird window moving lag with -mm1+O2 and moving XMMS. It will keep up, but after a while the window will just get "behind" the mouse, and when i let go, it will finish up the moving it should have done. It's weird. Whipped the window around while it was playing and nothing happened. Let go and started moving it normally, and it immediately lagged behind. Didn't try anything with the timeslices, will do now. |
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
Posted: Sat Jul 05, 2003 6:41 pm Post subject: |
|
|
bssteph wrote: | I get weird window moving lag with -mm1+O2 and moving XMMS. It will keep up, but after a while the window will just get "behind" the mouse, and when i let go, it will finish up the moving it should have done. It's weird. Whipped the window around while it was playing and nothing happened. Let go and started moving it normally, and it immediately lagged behind. Didn't try anything with the timeslices, will do now. |
Yep same problem here, I had it before applying O2 aswell. I'm starting to think its a problem with one of the patches in mm1, so i'm just waiting for mm2 to see if its fixed. _________________ a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 6:56 pm Post subject: |
|
|
port001 wrote: |
Yep same problem here, I had it before applying O2 aswell. I'm starting to think its a problem with one of the patches in mm1, so i'm just waiting for mm2 to see if its fixed. |
I'd thought that too while I was rebooting. Hopefully by then Con will have another trick up his (impressively long) sleeve. :)
Changed the timeslices to both = 10, nothing really seems different except I noticed the mouse doesn't chop up when starting X (woo?). Moving windows may be a bit less choppy but that's about it. |
|
Back to top |
|
|
RedBeard0531 Guru
Joined: 21 Sep 2002 Posts: 415 Location: maryland
|
Posted: Sat Jul 05, 2003 7:34 pm Post subject: |
|
|
Does anyone know why con's stuff isnt in www.kernel.org's people section? He is an "offcial" kernel hacker isnt he? _________________ OH MY GOD! Kenny just killed Kenny!
That Basterd! |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 7:44 pm Post subject: |
|
|
I've almost fixed my problem. Unfortunately, I'm left being unable to play DVDs. And still I have no cursor on vc/2 - vc/6, but I'm not that bothered about that as gnome-terminal works now.
It would appear that my DVD drive, which identifies itself as a SAMSUNG DVD-ROM SD-612 (Rev 0.1), won't work under the 2.5 kernel with DMA enabled, but will work under the 2.5 kernel without DMA enabled and will also work under the 2.4 kernel with or without DMA enabled.
Should I file this as a bug to lkml or wherever it is you send such things? Something has definitely broken between 2.4 and 2.5, but I don't know what I'm doing quite well enough yet to work out whether or not this one's already been discovered. |
|
Back to top |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Sat Jul 05, 2003 8:37 pm Post subject: ALSA or OSS |
|
|
Hey guys...
Now do you all use ALSA for XMMS or OSS. It seems ALSA has trouble with scheduling (or whatever) because in XMMS an error msg about I/O comes up and a skip happens, yet in OSS emulation I don't get a skip or anything. Both tested when Galeon refreshes or does anything basically.
Another thing, is it possible to use ATAPI cdwriting with a cdrw/dvd combo?
Thanks. _________________ Hey--hey how are ya? |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Sat Jul 05, 2003 8:40 pm Post subject: |
|
|
Robmoss2k: Kernel.org's Bugzilla is where the 2.5 kernel bugs go. Perhaps you can find your problem already listed there?
Hmm, since 2.5.73 ALSA seems smooth in xmms now here. |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 9:22 pm Post subject: Re: ALSA or OSS |
|
|
krazo wrote: | Hey guys...
Now do you all use ALSA for XMMS or OSS. It seems ALSA has trouble with scheduling (or whatever) because in XMMS an error msg about I/O comes up and a skip happens, yet in OSS emulation I don't get a skip or anything. Both tested when Galeon refreshes or does anything basically.
Another thing, is it possible to use ATAPI cdwriting with a cdrw/dvd combo?
Thanks. |
I've been using the ALSA output plugin. I tried using the OSS plugin to be handled by the compatibility layer, and it seemed to not skip at first, but now it is acting exactly the same as with the ALSA plugin (which is to be expected, I would think?).
It is possible, yes. Just did a test burn on 2.5.73 with my laptop's CDRW/DVDROM combo and it worked fine. |
|
Back to top |
|
|
krazo Tux's lil' helper
Joined: 19 Oct 2002 Posts: 90
|
Posted: Sat Jul 05, 2003 9:34 pm Post subject: Re: ALSA or OSS |
|
|
bssteph wrote: | krazo wrote: | Hey guys...
Now do you all use ALSA for XMMS or OSS. It seems ALSA has trouble with scheduling (or whatever) because in XMMS an error msg about I/O comes up and a skip happens, yet in OSS emulation I don't get a skip or anything. Both tested when Galeon refreshes or does anything basically.
Another thing, is it possible to use ATAPI cdwriting with a cdrw/dvd combo?
Thanks. |
I've been using the ALSA output plugin. I tried using the OSS plugin to be handled by the compatibility layer, and it seemed to not skip at first, but now it is acting exactly the same as with the ALSA plugin (which is to be expected, I would think?).
It is possible, yes. Just did a test burn on 2.5.73 with my laptop's CDRW/DVDROM combo and it worked fine. |
What is it doing exactly? Skipping at the same spots? _________________ Hey--hey how are ya? |
|
Back to top |
|
|
dylix Apprentice
Joined: 20 Sep 2002 Posts: 261 Location: Atlanta
|
Posted: Sat Jul 05, 2003 9:47 pm Post subject: |
|
|
after i apply the mm1 patch i get this error... any ideas?
Code: | root@reaction:/usr/src/linux> make
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/page.h:15,
from include/asm/processor.h:13,
from include/linux/prefetch.h:13,
from include/linux/list.h:7,
from include/linux/signal.h:4,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/config.h:6:22: asm/kgdb.h: No such file or directory
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2 |
_________________
https://dylix.org/
|
|
Back to top |
|
|
idl Retired Dev
Joined: 24 Dec 2002 Posts: 1728 Location: Nottingham, UK
|
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 10:30 pm Post subject: Re: ALSA or OSS |
|
|
krazo wrote: | bssteph wrote: | krazo wrote: | Hey guys...
Now do you all use ALSA for XMMS or OSS. It seems ALSA has trouble with scheduling (or whatever) because in XMMS an error msg about I/O comes up and a skip happens, yet in OSS emulation I don't get a skip or anything. Both tested when Galeon refreshes or does anything basically.
Another thing, is it possible to use ATAPI cdwriting with a cdrw/dvd combo?
Thanks. |
I've been using the ALSA output plugin. I tried using the OSS plugin to be handled by the compatibility layer, and it seemed to not skip at first, but now it is acting exactly the same as with the ALSA plugin (which is to be expected, I would think?).
It is possible, yes. Just did a test burn on 2.5.73 with my laptop's CDRW/DVDROM combo and it worked fine. |
What is it doing exactly? Skipping at the same spots? |
In the first 5-10 seconds of playback, it will skip if I do something heavy (going back in Galeon to a graphical page, browsing directories in Nautilus my test cases). After that period of time, everything is fine. |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sat Jul 05, 2003 10:39 pm Post subject: |
|
|
Quote: | time-goes-backwards.patch
demonstrate do_gettimeofday() going backwards |
Hmmmm.... |
|
Back to top |
|
|
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Sat Jul 05, 2003 10:45 pm Post subject: |
|
|
Builds fine. No big change in what we've been doing for tests, and judging from Con's message in the O2 patch, he's still working on it.
Another interesting side effect is that the nvidia drivers build but fail to be loaded, claiming
'nvidia: Unknown symbol pmd_offset'
Dunno what's causing this, but I've gotten two reports so far.
I built with min_timeslice = 5, max_timeslice = 10 out of curiosity, nothing special and nothing's dying yet. Will try again with both = 10 + granularity as I have nothing better to do. :) |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat Jul 05, 2003 10:57 pm Post subject: |
|
|
That nvidia thing is quite worrying. I'll have to have a go and tell you what I get - I need to use the nvidia kernel module as well, and it works fine with 2.5.74-mm1. Fingers crossed... |
|
Back to top |
|
|
|
|
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
|
|