Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xx-sources
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Sep 03, 2004 5:19 pm    Post subject: Reply with quote

Hi,

I recently move over to xx because it seems a lot more consistant in it's support of reiser4 than than most other kernels.

One sad loss is bootsplash. It's a detail but technically but it makes the system look as sharp as it is on the inside.

I've spent quite some time looking into gensplash but cant even get splashutils to compile:
Code:
  CC      kernel/splash_kernel.o
In file included from splash_kernel.c:18:
/usr/portage/tmp/portage/splashutils-0.9_pre07/work/splashutils-0.9-pre07/linux/include/linux/fb.h:305: error: field `modelist' has incomplete type
make: *** [kernel/splash_kernel.o] Error 1

!!! ERROR: media-gfx/splashutils-0.9_pre07 failed.
!!! Function src_install, Line 57, Exitcode 2
!!! (no error message)

bash-2.05b# gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/specs



@xiphux
Any chance of bringing good old bootsplash into xx ? It think you mentioned a while back that you could build it in is anyone wanted it .

I'm still on 2.6.8.1-xx1 but it looks like a very thorough patch set . Nice work.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Fri Sep 03, 2004 5:29 pm    Post subject: Reply with quote

I could try and make a bootsplash/fbsplash selectable option, but it might take some time.

However, that splashutils compile error is quite simple to fix; I actually posted the solution in the gensplash thread.

Go edit /usr/src/linux/include/linux/fb.h. At line 305, you'll see:

Code:
struct list_head modelist;


Add an asterisk in front of modelist, so:

Code:
struct list_head *modelist


It needs to be a pointer to a list head. But that breaks the other kernel stuff that depends on fb.h, so change it back after you compile splashutils.

Hopefully spock will fix that soon so the fix will no longer be necessary.

[edit]
Oh yes, another general question to everyone: does anyone know how to tell cvs to _not_ increment the version numbers and tags in files when I commit? And just leave them the hell alone? Every time I commit something, it changes the files and breaks some of my patches with those minor rejects...
Thanks.
[/edit]
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Sep 03, 2004 8:02 pm    Post subject: Reply with quote

Thanks xiphux,

that got me through the compile pb.

now to see about the rest of gensplash.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sat Sep 04, 2004 5:31 am    Post subject: Reply with quote

If anyone's interested, I'm in the middle of committing a tree that's updated to -mm3. High res timers are back, the completely-out-of-line spinlocks are replaced with an architecture agnostic version, there's a little bit of the fast suspend/shutdown and deferred resume stuff, and other little things. I don't know if it's just a placebo effect, but for some reason it feels really good on my comp. (low latency, etc) Then again, very rarely is there an actual noticable improvement; it's almost always just placebo and the person's ego talking. But whatever.

Let's just hope CVS isn't retarded this time.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Sat Sep 04, 2004 11:32 am    Post subject: Reply with quote

current cvs does...
Quote:
CC kernel/wait.o
CC kernel/futex.o
CC kernel/dma.o
CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/power/main.o
kernel/power/main.c: In function `__tm_printk':
kernel/power/main.c:163: sorry, unimplemented: function '__tm_printk' can never be inlined because it uses variable argument lists
kernel/power/main.c: In function `fast_clean_shutdown':
kernel/power/main.c:449: warning: implicit declaration of function `device_shutdown'
make[2]: *** [kernel/power/main.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2
;)

edit: fixed by turning deferred resume off.
_________________
\\ trevorj
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 04, 2004 5:02 pm    Post subject: Reply with quote

xiphux, thanks for the splashuitls fix.

I posted a bugreport so at least the fix is noted and could help find a more permanent correction. Spock basically says it pb with mm headers not gensplash. I'm not in a position to comment. Here's his reply to the bugreport.

Quote:
This is NOT a VALID fix. The fact that it makes splashutils compile doesn't justify using it to 'fix' things.
The problem will most likely occur on the -mm kernels as well (as you said), but fbsplash is not supported on mm's.

Even if the hack you're were told about were correct, I couldn't apply anywhere as the problem is not in
splashutils, but in the kernel headers.



So no sign of a resolution in the near future. It would be nice to have bootsplash in xx if that is possible.

Thanks again.
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sat Sep 04, 2004 5:39 pm    Post subject: Reply with quote

*sigh*

Regardless of what's right and what's wrong, the fact is that the way modelist is now is in the mainline kernel now, starting with 2.6.9-rc1. Antonio Daplas chose to write the features (mode list as linked list), Linus chose to include it, and we just have to deal with it, plain and simple. We have to change our code accordingly. To adamantly deny that there is anything wrong with your code is just a matter of ego, and if he continues to refuse to update splashutils to deal with the change, then gensplash is going to fall behind.

Unless, of course, you want to go complain to Linus that the fbdev developers are wrong. Personally, I don't see any 'bug' in the way modelist is handled at present. It makes the various handler functions that were written for modelist easier to deal with.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 04, 2004 7:12 pm    Post subject: Reply with quote

Quote:
....and if he continues to refuse to update splashutils to deal with the change, then gensplash is going to fall behind.


That's pretty much my view of things but I dont know the ins and outs of the situation.
I thought his reply seemed a bit unhelpful.

Shame all all this smacks of rivalry and politics that is not the spirit of Linux.

I get the feeling that there is a certain refusal of bootsplash because it comes from Suse, but I could be misreading it.

I have to admit from a system admin point of view it is a pain in the butt to start debugging my system for gensplash when I have already spent enough time sorting out bootslpash and it was working beautifully on love.

Every time I do emerge sync it seems I'm in for a couple of days work just to iron out the new incompatibilites it brings in.

If this gensplash issue seems to lack even the will towards a resolution it may justify the effort getting bootsplash into xx.


Well , looks like you have your work cut out just keeping up with the number of kernel releases flying around so I'll stop bugging you about bootsplash and let you handle it the way that seems best to you.

BTW what's the current state of affairs on CD/DVD burning with xx ?

I've just bought a DVD burner and I would like to know if I should expect problems other than the usual round of emerging and configing.

TIA 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Sat Sep 04, 2004 7:40 pm    Post subject: Reply with quote

I can kind of understand where he's coming from, though. When you finally get something complicated like gensplash working (or vesafb-tng, or any of his advanced fb-related projects), it's hard to admit that you did something incorrectly. But gensplash on the whole is an impressive project, so this is really just very minor.

The only reason I don't exactly prefer bootsplash is that it only works with vesafb for me. I run xserver on radeonfb, so this way, I can have both a splash and my xserver. The -sp version of bootsplash (the one that removed the vesafb-specifics) would display the splash on radeonfb, but would oops and lock up whenever I switched consoles (like, when I would start xserver).

Plus, I have so many test-phase kernels in my boot partition that being able to put the whole thing right into the initramfs makes it one less initrd for me to deal with.

If fbsplash still has incompatibilities after some time (I dunno... probably before or by the time 2.6.9 comes out), then I'll start working on adding bootsplash.

I don't update from portage very much at all. But then again, I use gcc 3.5 so I couldn't merge a lot of the updates even if I wanted to.

I can burn cds and dvds fine using atapi and cdrecord/growisofs. I haven't really tried using the packet writing driver, though; I don't really have a need to. I don't really see why it wouldn't work, though.
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Sat Sep 04, 2004 8:14 pm    Post subject: Reply with quote

with the cvs pull i have, the external modules i install (nvidia-kernel and svgalib) have an undefined symbol pci_find_class error, and they warn of an implicit decleration of pci_find_class.
_________________
This post has been over explained for newb-informing purposes.

Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Sat Sep 04, 2004 8:18 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=216985

*sigh*

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Mon Sep 06, 2004 3:11 am    Post subject: Reply with quote

gensplash fails to work for me with cvs. it shows the splash screen right after the splash init script runs, then the screen goes black, comes back 5 seconds later, then this really cool looking fading effect happens with the splash, and then it just leaves the terminal unusable ;)

vesafb-tng works though. I also encountered data loss under this kernel ( thank god I made a backup the day before, which I rarely do to begin with ), so let's hope it was just an old reiser4 partition that suffered from older bugs, and not the kernel ;)
_________________
\\ trevorj
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Mon Sep 06, 2004 4:16 am    Post subject: Reply with quote

Huh. That's weird. The fbsplash in there is a little old, though, so I might rip it out and re-add the newest version.

The data loss is also weird; I haven't experienced any data loss in a very long time (not counting reiser4's atomicity reverting files). On what kind of scale are you talking about? Just several k or megs, or on a larger scale?

In other news, there's been an experimental patch posted on lkml which will allow forked files on the vfs layer. It's a little hard to imagine... basically you have a directory with X number of files in it, but if you try to access that directory as a file (with cat, whatever), it'll "fork" and access a file inside the directory that you specified (with a symlink to the special path '...'). It's not really the way it should be done, but at least it's a step towards the file/directory abstraction that reiser4 started. And at the very least, it'll give something to play with until more programs support reiser4's plugin setup.

I applied the patch fine; I just need to compile, reboot, and test a little to make sure nothing lights on fire, and then I'll put it into cvs. Should be interesting.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Mon Sep 06, 2004 8:47 am    Post subject: Reply with quote

data loss on a scale of quite a few files being lost, and I can't even ls the ones it threw into lost+found ( hence I can't rm them! ) although fsck tells me no errors exist anymore.

here's the result from ls -l :
Quote:
w00t lost+found # ll
ls: lost_name_10b04:6373682e656e76:6d8e7eO@Ð@Ð: No such file or directory
ls: lost_name_10b04:7061737377642b:463cdcO@Ð@Ð: No such file or directory
ls: lost_name_10b04:6d6f6470726f62:6d8e40O@Ð@Ð: No such file or directory
ls: lost_name_10b04:70726f66696c65:6d8e7dO@Ð@Ð: No such file or directory
ls: lost_name_10b04:6d6f6470726f62:6d8e41O@Ð@Ð: No such file or directory
ls: lost_name_10b04:6e736861646f77:463ce3O@Ð@Ð: No such file or directory
ls: lost_name_10b04:6d7461622e746d:6d8e3cO@Ð@Ð: No such file or directory
ls: lost_name_10b04:6d7461622e746d:7a733bO@Ð@Ð: No such file or directory
ls: lost_name_10b04:6d6f64756c6573:6d8e3eO@Ð@Ð: No such file or directory
total 0
^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2cw00t lost+found # 1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c
nothing in dmesg. I would really like to delete these to regain the space back ;)

Rather nice idea, but wouldn't that break some things, like how reiser4's files as directories b0rked some packages ?
_________________
\\ trevorj
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Mon Sep 06, 2004 1:18 pm    Post subject: Reply with quote

Have you tried rebuilding the fs and/or superblock?

Forking wouldn't really break things, because in the directory you have to specifically link the file that you want to '...'. So if you don't bother doing that, then it's just the same as any old directory.
Back to top
View user's profile Send private message
trevorj
n00b
n00b


Joined: 13 May 2003
Posts: 68

PostPosted: Tue Sep 07, 2004 9:53 am    Post subject: Reply with quote

Yes, actually I had to do both to fix the fs. I'll do it again later today.

Ah, I see that now, I must of read it too quickly. Reiser4 really is a step forward for filesystems =)
_________________
\\ trevorj
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Wed Sep 08, 2004 7:02 am    Post subject: Reply with quote

Well, ixnay on the vfs forks, they didn't work. And I don't know quite enough about filesystem code to fix it.

I'm committing the update to 2.6.9-rc1-mm4 right now. Unfortunately there was a big rework of the fbdev stuff, and vesafb-tng doesn't apply anymore and I'm not quite sure how to fix it. I guess we'll just have to wait for spock.

I actually might get to that bootsplash option sooner than I thought. Something in gensplash went retarded on my computer, so now anytime I use a splash image, when text scrolls on the screen, it doesn't "clear" the text as it goes by. So I'm left with long trails of junk filling up the screen.

The more time I spent fixing gensplash, the more I started to dislike it. I don't like the idea of using entire userspace libraries in/with the kernel (klibc, libpng, libjpeg). The jpeg decompressor in bootsplash should be lighter and faster. While I do see the merit of moving as much of it as possible to userspace (easier to deal with changing kernels), if you think about the amount of stuff being put into the initramfs... that's one _massive_ image.
I also believe that there are ways to put the bootsplash code into the kernel _without_ being intrusive. It's just a matter of doing it correctly.
Plus, I was looking through the fbsplash and bootsplash code (since fbsplash is closely based on bootsplash), and there's some coding in there that I personally think is horrid. (Includes via relative paths, for example... that's a disaster waiting to happen. Plus, kernel headers shouldn't be compiled into userspace programs/libs)

So I think I'll try including bootsplash again alongside gensplash (mutually exclusive, of course). And maybe clean up some of the code nastiness and move code out to be less intrusive, while I'm at it. I guess I'll just have to see what happens.
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 180

PostPosted: Wed Sep 08, 2004 10:00 am    Post subject: Reply with quote

xiphux wrote:
Something in gensplash went retarded on my computer, so now anytime I use a splash image, when text scrolls on the screen, it doesn't "clear" the text as it goes by. So I'm left with long trails of junk filling up the screen.

Same here, it goes back to normal though after consolefont kicks in.

Another issue, on restart:
Quote:
kernel BUG at include/linux/list.h:165!
invalid operand: 0000 [#1]
PREEMPT CFLAGS_EDIT
Modules linked in: ipv6 af_packet 3c59x tuner saa7134 video_buf v4l2_common v4l1_compat i2c_core ir_common videodev parport_pc parport soundcore rtc ntfs pktcdvd nvidia unix
...
<6> note: umount exited with preempt_count 2

and then it says umount segfaulted and hangs.
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Wed Sep 08, 2004 2:45 pm    Post subject: Reply with quote

Is there a line that says what function the oops occurred in?

Also, in the stack trace, what are the top couple of lines? (The human-readable parts, I mean)
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Sep 08, 2004 5:52 pm    Post subject: Reply with quote

xiphux,

I have been using xx for a couple of weeks now , I am still running 2.6.8.1-xx1 since I like to stay one step back from the bleeding edge . (At least until it starts to coagulate a bit!)

Anyway it seems very stable and does most of what I want.

One thing I am starting to notice however is it seems a little less responsive that 'old' 2.6.6-love4 I used to use.

In particular I am playing an mp3 with command line mplayer.

It seems that anything moderately heavy , like a large scan, seems to make the music glitch from time to time.


Do I need to start playing around with schedulers or nicing stuff? Is this normal behaviour?

Thx. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Sep 08, 2004 6:16 pm    Post subject: Reply with quote

PS,

I am now posting from my old love kernel. Damn , I had forgotten just how snappy it was.

No jumping on mplayer , aMule snaps from one tab to another without the slightest delay (this I had got used to waiting 2 seconds for !) no delay in activating any window.

My only pb with this old kernel is that it does not support the newer R4 format and I have my entire portage tree on an R4 partition.

I chose xx for it's solid record on Reiser4 support but I would really like to get back the snappy system responce I had in love-sources if that is possible with a couple of tweeks in xx.

BTW I had configured love to use cfq if that is relevant .

Thanks again. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
4nykey
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 180

PostPosted: Wed Sep 08, 2004 6:23 pm    Post subject: Reply with quote

xiphux wrote:
Is there a line that says what function the oops occurred in?

Also, in the stack trace, what are the top couple of lines? (The human-readable parts, I mean)

I figured, it happens on umounting ntfs volume.
Here's dmesg excerpt: http://4nykey.nm.ru/tmp/umount_ntfs
Just ran full check on the volume, still umount segfaults.
Back to top
View user's profile Send private message
xiphux
Apprentice
Apprentice


Joined: 15 Jun 2002
Posts: 225
Location: Madison, WI

PostPosted: Wed Sep 08, 2004 8:57 pm    Post subject: Reply with quote

Gentree, what scheduler did you use?

Also, the cfq in xx is the ionice-supported version, and I was the one who hacked it up to work with the new cfq as well as the runtime selectable schedulers, so I could very well have done something wrong.

So as far as you can tell, does the latency issue seem to be related to cpu usage or disk i/o?

4nykey: You know, now that I think about it, I think I have seen that bug once before. I'm looking into it now.
[edit]
4nykey, could you see if the same thing happens with a plain -mm kernel? Because I can't really think of a change I made that would cause that, but I'm starting to suspect the reiser4 patch.
[/edit]
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Sep 08, 2004 10:25 pm    Post subject: Reply with quote

Quote:
So as far as you can tell, does the latency issue seem to be related to cpu usage or disk i/o?


Not sure. Even amule on its own is very slow to respond to mouse i/p

As for schedulers, I believe cfq is an IO scheduler , no idea what process scheduler I am using on love or xx. Both are out of the box in htat respect since I am not well up on that shit.

I did have to set up cfq on love but even without this love was much quicker to respond.

Thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Wed Sep 08, 2004 10:46 pm    Post subject: Reply with quote

hey xiphux, could you please include the new cfq v2 io scheduler, preferably as an option?
_________________
This post has been over explained for newb-informing purposes.

Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 27, 28, 29  Next
Page 24 of 29

 
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