Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread Stefan G. Weichinger
walt schrieb:

 Excellent!  I'm almost (52% ;o) positive that it was somewhere in ~/.gconf.
 But I could be mistaken...

I will simply backup my home and remove dirs by trial and error 

S



Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:
 walt schrieb:
 
 Excellent!  I'm almost (52% ;o) positive that it was somewhere in ~/.gconf.
 But I could be mistaken...
 
 I will simply backup my home and remove dirs by trial and error 

While I am at it 

For a while I also face the fact that when I log out of my
gnome-session, the xorg-server doesn't get up again. It tries to restart
3 times and fails, Xorg.0.log says something about failed to load load
modules dri and dri2 while nothing related is in xorg.conf ...

When I reboot the whole box, X11 comes up fine.

Rather annoying when having to log in and out more often.

xorg-server 1.6.3.901-r2 with nvidia-drivers-190.42-r2 now.

Right now I have an xorg.conf again (because of researching the original
issue mentioned) but that doesn't make much difference.

Stefan



Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:
 walt schrieb:
 
 Excellent!  I'm almost (52% ;o) positive that it was somewhere in ~/.gconf.
 But I could be mistaken...
 
 I will simply backup my home and remove dirs by trial and error 

removing ~/.gconf did the trick, thanks!

Ok, I had to readjust some things, but that was some cleanup as well.
And it solved another small issue I had with the icon of the
power-applet, fine ...

Stefan



Re: [gentoo-user] Lenovo USB Keyboard

2009-11-03 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 I still get no output/event for those upper seven keys ... oh my.
 At least I got a cleaned up xorg.conf for now ;-)
 
 It ain't that important although I would like to see them working, it's
 a bit hard to understand that issues like this don't just work as well.

Just to point that out: I am still interested in a solution if anyone 

thanks, Stefan




Re: [gentoo-user] new version of gcc

2009-11-03 Thread Alex Schuster
Harry Putnam writes:

 I noticed I've been masking gcc beyond version 4.3.2-r3, and have
 forgotten why I had it masked.
 
 I'm updating world right now, and wondered if I were to move up to
 most recent gcc (4.4.2), which would be a 5 version jump, what I could
 expect in the way of problems.
 
 Would I need to re-emerge just about everything?

The upgrade guide says yes, but this seems to be true only when the ABI 
changes, which happend for the last time when gcc 4.3 was introduced. I 
would not do the emerge -e thing.
Unless this new gcc has some cool features you want to use. Then you would 
change your CFLAGS, and either let the changes gradually drop in, or re-
emerge everything to make them happen at once.

What do you people think, are there fancy new and yet save CFLAGS that 
would improve our Gentoos? http://gcc.gnu.org/gcc-4.4/changes.html lists 
some improvements, to me they don't look too spectacular. Well, maybe 
apart from the graphite stuff 
(http://gcc.gnu.org/wiki/Graphite/PolyhedralInterface) which has been 
mentioned here. I don't know how much of an improvement this may be.

Wonko



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread bn
Dale ha scritto:
 Neil Bothwick wrote:
 On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:

   
 And maybe it will be easier to just do his own homework instead of
 letting a computer do it for him.
 
 Maybe the assignment is to write a program to solve the equation.


   
 
 That's a idea too.  Didn't think of that.

In this case I suggest the following programming languages:
- Brainfuck http://en.wikipedia.org/wiki/Brainfuck
- OISC http://en.wikipedia.org/wiki/OISC
- Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
- Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
- Befunge http://en.wikipedia.org/wiki/Befunge
- Intercal http://en.wikipedia.org/wiki/Intercal
- Malbolge http://en.wikipedia.org/wiki/Malbolge




Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Etaoin Shrdlu
On Tuesday 03 Nov 2009, bn wrote:

 Dale ha scritto:
  Neil Bothwick wrote:
  On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:
  And maybe it will be easier to just do his own homework instead of
  letting a computer do it for him.
 
  Maybe the assignment is to write a program to solve the equation.
 
  That's a idea too.  Didn't think of that.
 
 In this case I suggest the following programming languages:
 - Brainfuck http://en.wikipedia.org/wiki/Brainfuck
 - OISC http://en.wikipedia.org/wiki/OISC
 - Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
 - Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
 - Befunge http://en.wikipedia.org/wiki/Befunge
 - Intercal http://en.wikipedia.org/wiki/Intercal
 - Malbolge http://en.wikipedia.org/wiki/Malbolge

You forgot http://compsoc.dur.ac.uk/whitespace/ 



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Alan McKinnon
On Tuesday 03 November 2009 15:06:43 Etaoin Shrdlu wrote:
 On Tuesday 03 Nov 2009, bn wrote:
  Dale ha scritto:
   Neil Bothwick wrote:
   On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:
   And maybe it will be easier to just do his own homework instead of
   letting a computer do it for him.
  
   Maybe the assignment is to write a program to solve the equation.
  
   That's a idea too.  Didn't think of that.
 
  In this case I suggest the following programming languages:
  - Brainfuck http://en.wikipedia.org/wiki/Brainfuck
  - OISC http://en.wikipedia.org/wiki/OISC
  - Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
  - Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
  - Befunge http://en.wikipedia.org/wiki/Befunge
  - Intercal http://en.wikipedia.org/wiki/Intercal
  - Malbolge http://en.wikipedia.org/wiki/Malbolge
 
 You forgot http://compsoc.dur.ac.uk/whitespace/

And COBOL too. 

COBOL - the original obfuscated language. Very cleverly designed to outwardly 
appear to not be obfuscated at all, but just beneath that veneer lies a 
different world entirely.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Dale
Alan McKinnon wrote:
 On Tuesday 03 November 2009 15:06:43 Etaoin Shrdlu wrote:
   
 On Tuesday 03 Nov 2009, bn wrote:
 
 Dale ha scritto:
   
 Neil Bothwick wrote:
 
 On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:
   
 And maybe it will be easier to just do his own homework instead of
 letting a computer do it for him.
 
 Maybe the assignment is to write a program to solve the equation.
   
 That's a idea too.  Didn't think of that.
 
 In this case I suggest the following programming languages:
 - Brainfuck http://en.wikipedia.org/wiki/Brainfuck
 - OISC http://en.wikipedia.org/wiki/OISC
 - Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
 - Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
 - Befunge http://en.wikipedia.org/wiki/Befunge
 - Intercal http://en.wikipedia.org/wiki/Intercal
 - Malbolge http://en.wikipedia.org/wiki/Malbolge
   
 You forgot http://compsoc.dur.ac.uk/whitespace/
 

 And COBOL too. 

 COBOL - the original obfuscated language. Very cleverly designed to outwardly 
 appear to not be obfuscated at all, but just beneath that veneer lies a 
 different world entirely.

   

Is this that once a month thread where we get to have a little fun?

Dale

:-)  :-) 



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Erik
Dale skrev:
 Alan McKinnon wrote:
   
 On Tuesday 03 November 2009 15:06:43 Etaoin Shrdlu wrote:
   
 
 On Tuesday 03 Nov 2009, bn wrote:
 
   
 Dale ha scritto:
   
 
 Neil Bothwick wrote:
 
   
 On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:
   
 
 And maybe it will be easier to just do his own homework instead of
 letting a computer do it for him.
 
   
 Maybe the assignment is to write a program to solve the equation.
   
 
 That's a idea too.  Didn't think of that.
 
   
 In this case I suggest the following programming languages:
 - Brainfuck http://en.wikipedia.org/wiki/Brainfuck
 - OISC http://en.wikipedia.org/wiki/OISC
 - Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
 - Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
 - Befunge http://en.wikipedia.org/wiki/Befunge
 - Intercal http://en.wikipedia.org/wiki/Intercal
 - Malbolge http://en.wikipedia.org/wiki/Malbolge
   
 
 You forgot http://compsoc.dur.ac.uk/whitespace/
 
   
 And COBOL too. 

 COBOL - the original obfuscated language. Very cleverly designed to 
 outwardly 
 appear to not be obfuscated at all, but just beneath that veneer lies a 
 different world entirely.

   
 

 Is this that once a month thread where we get to have a little fun?


Fine. I think that I found a relevant package: sci-mathematics/glpk-4.35

It even has an example called assignment problem. If the package is
installed with the USE-flag examples, the example will be installed to
[/usr/share/doc/glpk-4.35/examples/assign.mod]. I will look into that.
Looks infinitely more useful than most suggestions that I got so far.



[gentoo-user] Re: program to solve assignment problem?

2009-11-03 Thread James
Erik esigra at gmail.com writes:


 Is there some simple little program to solve assignment problems?
 Suppose that someone bought k meat (160), m fish (30) and n milk (15)
 for 700. So it should solve the equation k * 160 + m * 30 + n * 15 =
 700. (A solution happens to be k = 4, m = 2, n = 0. An additional
 condition could be that he bought at most 6 items; k + m + n = 6. That
 would eliminate solutions like k = 4, m = 0, n = 4.)

First of all, if you post something to the list like this, 
put OT for off topic. Second of all, if you make *ANY* attempt
to solve this on your own, you *might* get some programming 
tips, depending on which language you use. Personally, I'd just 
use C.


Most important of all, the solution is trivial. Look at your last
stated 'boundary condition', and get your head out of programming
and think logically




goodluck,
James












Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Alan McKinnon
On Tuesday 03 November 2009 16:42:14 Erik wrote:
 Fine. I think that I found a relevant package: sci-mathematics/glpk-4.35
 
 It even has an example called assignment problem. If the package is
 installed with the USE-flag examples, the example will be installed to
 [/usr/share/doc/glpk-4.35/examples/assign.mod]. I will look into that.
 Looks infinitely more useful than most suggestions that I got so far.

That's because you worded your question like a dumbass user asking someone 
else to do their homework for him. That's exactly what it looked like so 
that's exactly the answers you got.

Now, if you want people to be more helpful, there's some stuff you have to do:

1. Realise that no-one else can see inside your head
2. Realise that none of us are telepathic
3. None of us are mind readers
4. We don't know what you mean, we only know what you wrote
5. Make it possible for people to help you by clearly stating what it is that 
you need help on in an unambiguous manner that can be clearly understood. 
Something like this:

= start example ===
Hi,

I need to solve a bunch of maths equations. Here's an example:

[stuff about k, m, n and boundary conditions]

I don't need an answer (I already know that using pen and paper), I need to 
demonstrate the path to a solution, and there's lots more such equations to 
solve. I had a look in sci-mathematics but nothing there has a likely looking 
name,a nd the download size leads me to believe most of them are overkill for 
this.

Anyone have experience with this kind of thing and can recommend an entry-
level app that gets the job done easily?
== end example ===

Now, a mail like that would have gotten you lots of recommendations, would 
have sparked a fascinating debate on how to solve it programatically, probably 
produce 9 solutions in 4 languages in the first 6 hours and also include a 
detailed treatise on why portage might be able to do it but revdep-rebuild 
cannot (by design).

See where I'm going with this?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Erik
Alan McKinnon skrev:
 That's because you worded your question like a dumbass user asking someone 
 else to do their homework for him.

I did not mention anything related to homework or that I would still be
a student or anything like that. It was just a standard question of
knowing which Gentoo package is best suited for a particular task.
(Maybe the problem is offtopic until the user got so far that he knows
which package he should be using.)

Maybe next month I will ask which program I should use to solve the
stable marriage problem so you can have your fun again.



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread bn
Erik ha scritto:
 Alan McKinnon skrev:
 That's because you worded your question like a dumbass user asking someone 
 else to do their homework for him.
 
 I did not mention anything related to homework or that I would still be
 a student or anything like that. It was just a standard question of
 knowing which Gentoo package is best suited for a particular task.

You did not mention, but all it seemed is that you were asking how do I
solve this equation.
Alan was maybe not very polite, but he explained you well why it hasn't
been taken seriously.

m.




[gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-03 Thread walt
On 11/02/2009 06:32 PM, Maxim Wexler wrote:
 FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
 No such device

 ???lspci begs to differ

 groan I've never seen that error from nvidia, and I've seen lots of
 errors :o(

 Are you sure the nvidia module that was actually merged is the same
 version you thought you were merging? (I'm reduced to silly questions.)

 173.14.20 was what emerge -pv called for and that's what's in /var/log/portage
 
 meanwhile attached greps of (EE) and (WW) in Xorg.0.log, FWIW

The error in your Xlog uses the word 'module' in this sense:

(II) LoadModule: nvidia
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  173.14.20  Thu Jun 25 19:28:52 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 0...@00:00:0

I'm guessing that the xorg server couldn't load its 'nvidia' module because
the nvidia kernel module wasn't loaded, so that's no surprise.

Does modprobe -nv nvidia say anything interesting?




[gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread walt
On 11/03/2009 12:23 AM, Stefan G. Weichinger wrote:
 While I am at it 
 
 For a while I also face the fact that when I log out of my
 gnome-session, the xorg-server doesn't get up again. It tries to restart
 3 times and fails, Xorg.0.log says something about failed to load load
 modules dri and dri2 while nothing related is in xorg.conf ...

The dri and dri2 'errors' are normal for nvidia users, so that doesn't
help any.  Perhaps you have something left over from your gnome session
that doesn't stop when it should.  I see that quite often.




Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread Stroller


On 3 Nov 2009, at 15:41, Alan McKinnon wrote:


On Tuesday 03 November 2009 16:42:14 Erik wrote:
Fine. I think that I found a relevant package: sci-mathematics/ 
glpk-4.35


It even has an example called assignment problem. If the package is
installed with the USE-flag examples, the example will be  
installed to
[/usr/share/doc/glpk-4.35/examples/assign.mod]. I will look into  
that.

Looks infinitely more useful than most suggestions that I got so far.


That's because you worded your question like a dumbass user asking  
someone
else to do their homework for him. That's exactly what it looked  
like so

that's exactly the answers you got.


I'm a little surprised anyone read it this way. This is the kind of  
maths problem set for 12 year olds.


Upon reading the OP I assumed him to be a parent wanting to check his  
kid's homework, or a maths teacher wanting to set such problems.


Stroller.



[gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread walt
On 11/03/2009 12:31 PM, Stefan G. Weichinger wrote:
 walt schrieb:

 Perhaps you have something left over from your gnome session
 that doesn't stop when it should.  I see that quite often.
 
 hmm, any idea how to find that?

I use ps ax to see the running processes.  Sometimes I see apps
obviously related to gnome still running after I exit X.  I have
no idea why, but if I plan to restart X I kill those processes
first.

In your case I would do ps ax  pre after a reboot, and then
after logging out of X do ps ax  post, and then compare 'pre'
to 'post' to see what has changed.




[gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 your drivers for the ide disks have to be built INTO THE KERNEL! NOT MODULES.

Is that really a hard rule? I've done it both ways successfully in the
past.

And in fact, I didn't record my first builds on this kernel but I'm
pretty sure my first build did have all PIIX stuff built in.

Not to be argumentative but did you notice that both old and new
kernel have exactly the same module and built-ins concerning PIIX
Yet one recognizes /dev/hda5 and runs and the other doesn't

zgrep PIIX /proc/config.gz (this is 2.6.30-r1)

 CONFIG_BLK_DEV_PIIX=y
 CONFIG_ATA_PIIX=m
 CONFIG_PATA_MPIIX=y
 # CONFIG_PATA_OLDPIIX is not set
 CONFIG_I2C_PIIX4=m

Try the same thing on the newbuild:

grep  PIIX /usr/src/linux/.config 2.6.31-r4

 CONFIG_BLK_DEV_PIIX=y
 CONFIG_ATA_PIIX=m
 CONFIG_PATA_MPIIX=y
 # CONFIG_PATA_OLDPIIX is not set
 CONFIG_I2C_PIIX4=m

 Also, you need to compile in the filesystem, not as module.

Again, I've done it both ways successfully in the past.
Why do we have module choices for these things?

----   ---=---   -   
So is that all you see in the failed boot messages that gives any clue
to why it fails.

I'm building them in on this build... I hope it works

But am I missing some critical driver?




Re: [gentoo-user] kernel build - back in the soup.

2009-11-03 Thread Volker Armin Hemmann
your drivers for the ide disks have to be built INTO THE KERNEL! NOT MODULES.

Also, you need to compile in the filesystem, not as module.




Re: [gentoo-user] Re: new version of gcc

2009-11-03 Thread Marcus Wanner

On 11/3/2009 3:03 PM, Harry Putnam wrote:

Nice... good advice all around.  Thanks posters.

Turns out I have bigger problems. ( I didn't upgrade gcc) but the
things I did upgrad in upgrade system followed by upgrade world.  Have
messed up mouse and keyboard in X.
  

Try recompiling the evdev, mouse, and kbd drivers.

Marcus



[gentoo-user] Re: new version of gcc

2009-11-03 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Tue, 03 Nov 2009 14:03:24 -0600, Harry Putnam wrote:

 Turns out I have bigger problems. ( I didn't upgrade gcc) but the
 things I did upgrad in upgrade system followed by upgrade world.  Have
 messed up mouse and keyboard in X.

 Did you follow the elog instructions about re-emerging drivers?

As I started trying to do something with this problem.. I first
re-emerged xorg-server... and then saw the message you refer too.

So getting that done now.




Re: [gentoo-user] Volume change overlay crashes X

2009-11-03 Thread Dale
Iain Buchanan wrote:
 Hi all, long time no post :)  Good to see that Dale finally has aDSL
 (woot).

   

Glad you are back.  Yep, DSL is s nice.  I just downloaded TWO DVDs,
4.3Gb each.  It took a day but that is better than weeks over dial-up. 
LOL  Now if I had cable, yea baby !!  I'm not complaining about $10.00 a
month either. 

Dale

:-)  :-) 



[gentoo-user] NetworkManager and/or WICD

2009-11-03 Thread Mike Edenfield
Does anyone have any experience getting either NetworkManager or WICD to
work properly under Gentoo?  When I attempt to use either of those
utilities to get onto my wireless network, the NIC refuses to stay
connected to the base station for more than a few seconds at a time.
Instead, it continually disassociates and deauthenticates, only for
nm/wicd to hop right back on.  However, if I manually configure
wpa_supplicant for a given SSID and start it via the init script
directly, I don't have any such problems.

Additionally, I can't get either applet to actually save settings (like
known networks, passwords, etc.) which means that I'm continually
interrupted by a prompt for the wireless password.

What I'm really looking for is a graphical utility that will let me
connect to specific newly-detected wireless networks without having to
edit the WPA configuration and restart it; NetworkManager and WICD seem
to be the most popular.  Any other suggestions would also be welcome.

--Mike




[gentoo-user] Re: Gtk+ update results in slow Firefox

2009-11-03 Thread 7v5w7go9ub0o
Nikos Chantziaras wrote:
 On 10/30/2009 10:06 PM, Nikos Chantziaras wrote:
 On 10/30/2009 09:39 PM, Volker Armin Hemmann wrote:
 On Freitag 30 Oktober 2009, Nikos Chantziaras wrote:
 
 
 do you have a bigger page with more scrolling showing the 
 problem? because it seems to be fine here.
 
 http://www.kamenos.gr
 
 
 scrolls without any lag. Instant response. No lag at all. Even 
 with effects turned on there is no lag.
 
 Then I wonder what's wrong here. It's so slow, that if I scroll the
  mouse wheel up/down quickly a few times, Firefox is still 
 scrolling for several seconds after I stopped using the wheel, 
 trying to catch up. Starting with a clean profile didn't help 
 either.
 
 I've updated to Firefox 3.6 Beta (mozilla overlay) and this version
  restores the speed again. I guess I'll stay with this beta since 
 (fortunately) the add-ons I use work with it.
 
 So I guess problem solved. :P
 
 Gah, the Flash plugin is very buggy with 3.6 (rendering corruption).
  I reverted to 3.5.4 and downgraded to Gtk+ 2.16.6 and gtkmm 2.16.0 
 instead.
 
 Any pointers at to what might be wrong are still welcome.
 

Shot in the dark here.

NVidia updated their drivers at about the time you started having
problems. Their latest driver update changed the permissions on
/dev/nvidia0  nvidiactl ; resulting in VERY slow scrolling response on
my box (amd64) using googleearth. Changing the permissions to crwxrw-rw-
resulted in instant speed up; you may get by with r--r-- (?).

HTH




[gentoo-user] kernel build - back in the soup.

2009-11-03 Thread Harry Putnam
I'll say right from the start, that building a new kernel, has always
been a problem for me.  I don't remember ever not having a problem, in
10+ yrs..

Many people here seem to find it completely easy... not me.

So I'm back in the soup.
[I hope what I try to layout below is not overly confusing]

(After install of gentoo-sources-2.6.31-r4)

I started with `make oldconfig'
Moved from that to `make menuconfig'

Trying to mimic all the needed drivers in current running kernel.
But, On the first build and reboot, I got  `kernel panic'

So by now I've rebuilt the kernel 4 times, each time trying to get the
new one to have all the needed drivers that are present in the old
one, but still getting `kernel panic'.

I tried closely comparing the current working kernel with newly built
one. I mean side by side with `make menuconfig' running in both sources.
I cannot tell what it is I'm overlooking.

I copied the latest output painfully off the boot screen, and best I
can make of it, a driver required to let the kernel recognize the
filesystem that / is on, is not getting loaded.  I think its one of
PIIX items.

The thing is, I cannot find the culprit.  For example, examining the
PIIX items in the working kernel and inserting here:

zgrep PIIX /proc/config.gz

 CONFIG_BLK_DEV_PIIX=y
 CONFIG_ATA_PIIX=m
 CONFIG_PATA_MPIIX=y
 # CONFIG_PATA_OLDPIIX is not set
 CONFIG_I2C_PIIX4=m

Try the same thing on the newbuild:

grep  PIIX /usr/src/linux/.config

 CONFIG_BLK_DEV_PIIX=y
 CONFIG_ATA_PIIX=m
 CONFIG_PATA_MPIIX=y
 # CONFIG_PATA_OLDPIIX is not set
 CONFIG_I2C_PIIX4=m

So maybe it is not even related to PIIX
But let me insert the kernel messages from a failed boot here:
(I've numbered the lines from the bad boot output so as not confuse
them with the good boot messages from kernel 2.6.30-r1
----   ---=---   -  
From Kernel 2.6.31-r4
 
1  hda: ST3160021A, ATA DISK drive
2  hdb: WDC SE3000JB-00KFA0, ATA DISK drive
3  hda: UDMA/100 mode selected
4  hdb: UDMA/100 mode selected
5  hdc: LITE-ON CD-ROM LTN-5291s, ATAPI CD/DVD-ROM drive
6  hdd: WDC WD16000JB-00EVA0, ATA DISK drive
7  hdc: UDMA/33 mode selected
8  hdd: UDMA/100 mode selected
9  IDE0 at 0x1f0-0X1f7,0X3f6 on irg 14
10 IDE0 at 0x170-0X177,0X376 on irg 15
----   ---=---   -   

NOTE: Comparing a similar section of dmesg from  working kernel
 2.6.30-r1

Uniform Multi-Platform E-IDE driver
piix :00:1f.1: IDE controller (0x8086:0x24db rev 0x02)
PIIX_IDE :00:1f.1: enabling device (0005 - 0007)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
PIIX_IDE :00:1f.1: PCI INT A - Link[LNKC] - GSI 10 (level, low) - IRQ 10
piix :00:1f.1: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07
ide1: BM-DMA at 0xfc08-0xfc0f

  ** The part above, I think is where a piix driver is loaded or 
 something (these messages from working kernel 2.6.30-r1)

Probing IDE interface ide0...
Switched to high resolution mode on CPU 0
hda: ST3160021A, ATA DISK drive
hdb: WDC WD3000JB-00KFA0, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdb: UDMA/100 mode selected
Probing IDE interface ide1...
hdc: LITE-ON CD-ROM LTN-5291S, ATAPI CD/DVD-ROM drive
hdd: WDC WD1600JB-00EVA0, ATA DISK drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/33 mode selected
hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdd: UDMA/100 mode selected

[...] snipped the rest of dmesg ouput from running kernel
  2.6.30.1

----   ---=---   -   
   (continuation of messages from failed boot of kernel-2.6.31-r4

11 ide_generic: please use probe_mask=0x3f module parameters for probing all 
legacy IS IDE ports
12 ide-cd driver 5.00
13 ide cd:hdc: ATAPI 52X CD-ROM drive 96kB Cache
14 Uniform CD-ROM driver Revision: 3.10
15 Intel(R) PRO/1000 Network Driver version - 7.3.21-k3-NAPI
16 Copyright (c) 1999-2006 Intel Corporation
17 e1000e: Intel(R) Pro/1000 Network Driver, 1.0.2-k2
18: e1000e: Copyright(c) 1999-2008 Intel Corporation
19: e100: Intel (R) PRO/100 Network Driver 3.5.24-k-NAPI
20: e100: Copyright blah blah
21: sky2 driver version 1.23
22: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
23: r8169 :02:03:0: PCI INT A - GSI 19 (level,low) - IRQ 19
24: r8169 :02:03:0: no PCI Experss capability
25: eth0  RTL8110s at 0xf8026f00, 00:40:f4:b5:29:41, XID 0400 IRQ 20
26: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
27: r8169 :02:06:0: PCI INT A - GSI 20 (level,low) - IRQ 20
28: r8169 :02:06:0: no PCI Experss capability
29: eth1  RTL8110s at 0xf802ae00, 00:11:09:ee:6c:04, XID 0400 IRQ 20
30: PnP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 IRQ 1
31: PnP: PS/2 

[gentoo-user] Volume change overlay crashes X

2009-11-03 Thread Iain Buchanan
Hi all, long time no post :)  Good to see that Dale finally has aDSL
(woot).

I just upgraded to gnome 2.28, compiz 0.8.4, and various other things in
a recent large update.  I'm using ~x86.  After a few compile problems
the only noticeable problem I'm having is with the volume change overlay
(I think).

When I change the volume / mute, no nice compiz animation is shown, and
X crashes.  A udev message flashes up on the screen before X restarts:

udevd-work[1365]: error opening ATTR{/sys/class/sound/controlC0/../uevent}
 for writing: no such file or directory

I've been using the same 2.6.30-tuxonice-r5 kernel for a while - do I
need some new feature of 2.6.31?

/var/log/messages shows:

Nov  4 09:44:28 orpheus acpid: client 31528[0:0] has disconnected
Nov  4 09:44:28 orpheus acpid: client 31528[0:0] has disconnected
Nov  4 09:44:28 orpheus acpid: client connected from 31528[0:0]
Nov  4 09:44:28 orpheus acpid: 1 client rule loaded
Nov  4 09:44:29 orpheus acpid: client connected from 31528[0:0]
Nov  4 09:44:29 orpheus acpid: 1 client rule loaded
Nov  4 09:45:01 orpheus acpid: client 31528[0:0] has disconnected
Nov  4 09:45:01 orpheus acpid: client 31528[0:0] has disconnected
Nov  4 09:45:01 orpheus acpid: client connected from 31528[0:0]
Nov  4 09:45:01 orpheus acpid: 1 client rule loaded
Nov  4 09:45:02 orpheus acpid: client connected from 31528[0:0]
Nov  4 09:45:02 orpheus acpid: 1 client rule loaded

which seems a bit odd.  .xsession-erros has nothing unusual:

gnome-session[31592]: WARNING: Detected that screensaver has left the bus
** (evolution:31678): CRITICAL **: atk_object_set_name: assertion `name != 
NULL' failed

dmesg shows: 
compiz[31647]: segfault at 4 ip b746f2fb sp bfe11cd0 error 4 in 
libGLcore.so.185.18.36[b6a28000+d6f000]

I tried metacity --replace; and X still crashes (the usual volume
overlay isn't shown here either).

And get this: I tried changing the volume from the X login screen, and X
crashes!!  hmm.

Any ideas?  Thanks, as always, in advance!
-- 
Iain Buchanan iaindb at netspace dot net dot au

Complex system:
One with real problems and imaginary profits.





Re: [gentoo-user] Re: new version of gcc

2009-11-03 Thread Neil Bothwick
On Tue, 03 Nov 2009 14:03:24 -0600, Harry Putnam wrote:

 Turns out I have bigger problems. ( I didn't upgrade gcc) but the
 things I did upgrad in upgrade system followed by upgrade world.  Have
 messed up mouse and keyboard in X.

Did you follow the elog instructions about re-emerging drivers?


-- 
Neil Bothwick

Things are more like they are now than they ever were before.


signature.asc
Description: PGP signature


Re: [gentoo-user] NetworkManager and/or WICD

2009-11-03 Thread Albert Hopkins
On Tue, 2009-11-03 at 21:52 -0500, Mike Edenfield wrote:
 Does anyone have any experience getting either NetworkManager or WICD to
 work properly under Gentoo?  When I attempt to use either of those
 utilities to get onto my wireless network, the NIC refuses to stay
 connected to the base station for more than a few seconds at a time.
 Instead, it continually disassociates and deauthenticates, only for
 nm/wicd to hop right back on.  However, if I manually configure
 wpa_supplicant for a given SSID and start it via the init script
 directly, I don't have any such problems.
 
 Additionally, I can't get either applet to actually save settings (like
 known networks, passwords, etc.) which means that I'm continually
 interrupted by a prompt for the wireless password.
 
 What I'm really looking for is a graphical utility that will let me
 connect to specific newly-detected wireless networks without having to
 edit the WPA configuration and restart it; NetworkManager and WICD seem
 to be the most popular.  Any other suggestions would also be welcome.

Have you checked your logs?  I know NM spews copious amounts of logging
data.  

I use NM with wireless, WPA/2 and also the openvpn and vpnc plugins.  I
don't have the problem you're experiencing, but whenever there is a
problems I can usually deduce it from syslog.

-a





Re: [gentoo-user] kernel build - back in the soup.

2009-11-03 Thread Philip Webb
091103 Harry Putnam wrote:
 building a new kernel has always been a problem for me.
 Many people here seem to find it completely easy... not me.

I find it doable with a bit of care (smile).

 After install of gentoo-sources-2.6.31-r4
 I started with `make oldconfig'
 Moved from that to `make menuconfig'

I just installed the same kernel with no problems.
I did 'make oldconfig', looking at the '?' help for each new item
 deciding whether to say Y/N as seemed appropriate.
There wasn't anything dramatically new,
so I went straight on to 'gvimdiff .config .config-previous_kernel',
which allows a careful review of all the differences.
There seemed to be nothing outstanding, so I went ahead with 'make',
copied it by hand into  /boot   updated Lilo;
there was a problem, which I reported here, re Nvidia-drivers,
but I moved up to a new version  then everything worked as expected.
I never compile kernel items as modules if it cb avoided:
it's one source of potential pain one can avoid.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Netqmail and local mail

2009-11-03 Thread Momesso Andrea
I've set up a mail server serving 2 domains following this howto: 
http://www.gentoo.org/doc/en/qmail-howto.xml

The server works fine and can send and recive mails.

The problem is that I don't know anymore where to find my local mail, for 
example mail sent by cron jobs.

I'd like to have it forwarded to one of my accounts (for example my gmail 
address) or, if this is not possible, to an account on the server, so that I 
can access it trough horde webmail.

Can anyone tell me where local mail has gone? /var/spool/mail looks empty, so 
I don't know where to search...



[gentoo-user] Re: new version of gcc

2009-11-03 Thread Harry Putnam
Nice... good advice all around.  Thanks posters.

Turns out I have bigger problems. ( I didn't upgrade gcc) but the
things I did upgrad in upgrade system followed by upgrade world.  Have
messed up mouse and keyboard in X.

But even that, is a lesser problem than my kernel build ends up in a
kernel panic (I did upgrade that)

But I will start a new thread about that.




Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders

2009-11-03 Thread Stefan G. Weichinger
walt schrieb:
 On 11/03/2009 12:23 AM, Stefan G. Weichinger wrote:
 While I am at it 

 For a while I also face the fact that when I log out of my
 gnome-session, the xorg-server doesn't get up again. It tries to restart
 3 times and fails, Xorg.0.log says something about failed to load load
 modules dri and dri2 while nothing related is in xorg.conf ...
 
 The dri and dri2 'errors' are normal for nvidia users, so that doesn't
 help any.  

Good to know 

 Perhaps you have something left over from your gnome session
 that doesn't stop when it should.  I see that quite often.

hmm, any idea how to find that?

S



[gentoo-user] syslog-ng: v2-v3 config issue...

2009-11-03 Thread Jarry

Hi,
as syslog-ng 3.0.x became stable, all my servers updated
to it from 2.1.4, but I have a problem with configuration:

In 2.x I used log_prefix() option for file() source.
When I tried to start syslog-ng 3.x it complained about
log_prefix() being deprecated, and said I have to use
program_override() instead.

I modified syslog-ng.conf, but it does not work at all.
It simply acts as if there was no program_override()
option in file() source.

I checked syslog-ng-v3.0-guide-admin-en.pdf and found this:
log_prefix() really *is* deprecated, but it seems to me
that program_override() was not implemented in file()
source driver at all! At least, I did not find it as valid
option for file() source driver in the chapter 8 Reference
(in syslog-ng admin guide)...

How can I fix this? I definitelly need that log_prefix()
(or program_override()) option as I use it later for
filtering of non-standard log messages on my log-server...

Jarry


--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Re: X crashes with nvidia-173 driver

2009-11-03 Thread Maxim Wexler
 I'm guessing that the xorg server couldn't load its 'nvidia' module because
 the nvidia kernel module wasn't loaded, so that's no surprise.

 Does modprobe -nv nvidia say anything interesting?


kyzyl ~ # modprobe -nv nvidia
insmod /lib/modules/2.6.29/video/nvidia.ko NVreg_DeviceFileMode=432
NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
FATAL: Error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko):
No such device



[gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread walt
On 11/03/2009 02:29 PM, Harry Putnam wrote:
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..
 
 Many people here seem to find it completely easy... not me.
 
 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]
 
 (After install of gentoo-sources-2.6.31-r4)
 
 I started with `make oldconfig'
 Moved from that to `make menuconfig'...

There's no reason to use menuconfig after running oldconfig,  If your
old kernel was using all of the hardware, then the new kernel should,
too, just with oldconfig.

Volker makes an excellent point.  Support for your disk controller and
for your file system(s) must be built into the kernel unless you use
initrd to load those modules *before* the kernel tries to mount /.

That's a pain and isn't necessary for most machines because you know
in advance what hardware you have and which file systems you use.
(But your kernel doesn't know in advance unless the right drivers are
compiled in ;o)




[gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Harry Putnam
walt w41...@gmail.com writes:

 There's no reason to use menuconfig after running oldconfig,  If your
 old kernel was using all of the hardware, then the new kernel should,
 too, just with oldconfig.

I don't know about that.  I found a whole lot of stuff different when
I ran menuconfig and checked the old and new settings.

I just made a partial list by comparing the oldkernel settings in
menuconfig and the new kernel after running make oldconfig.  And this
is only SOME of them, got tired of it part way thru:

Some of these really seem like they should have ended up marked the
same after oldconfig

----   ---=---   -   
Automatically append version string on in old off in new
BSD accounting off in old On in new
Export Task process thru netlink off in old, on in new
Auditing support off in old, on in new
Namespc support all off in old all on in new.
Network support/wireless off in old, on in new
Amatuer radio support off in old, on in new
RFswitch subsys support off in old On in new
Networking/ multicasting off in old on in new
Advanced router off in old On in new
BOOTTP off in old on in new
RARP off in old on in new
TCP advanced congestion control off in old, on in new.
ipv6 off in old, on in new

  I gave up after that... so if you think oldconfig means you get the
  same settings by and large... it doesn't.




[gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread hamilton

On Tue, 03 Nov 2009 17:02:18 -0800, walt w41...@gmail.com wrote:
 On 11/03/2009 02:29 PM, Harry Putnam wrote:
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..
 
 Many people here seem to find it completely easy... not me.
 
 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]
 
 (After install of gentoo-sources-2.6.31-r4)

Just checking - but you didn't mention: did you copy the .config to the
new kernel src directory?  If not, that would certainly explain the
disparity in configuration settings you're seeing.  

 
 I started with `make oldconfig'
 Moved from that to `make menuconfig'...


-- 
Jon Hamilton
hamil...@pobox.com



[gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Harry Putnam
hamilton hamil...@pobox.com writes:

 On Tue, 03 Nov 2009 17:02:18 -0800, walt w41...@gmail.com wrote:
 On 11/03/2009 02:29 PM, Harry Putnam wrote:
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..
 
 Many people here seem to find it completely easy... not me.
 
 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]
 
 (After install of gentoo-sources-2.6.31-r4)

 Just checking - but you didn't mention: did you copy the .config to the
 new kernel src directory?  If not, that would certainly explain the
 disparity in configuration settings you're seeing.  


I think you can say make `oldconfig' and the `old config' is supposed to
be incorporated so no I didn't

If I had put .confg into the new sources, then plain make menuconfig
is what I would have used.

Do you know where the man pages or docs for that stuff is .. its not in
`man make'

I'd like to check some of that.




[gentoo-user] Re: [solved] Volume change overlay crashes X

2009-11-03 Thread Iain Buchanan
On Wed, 2009-11-04 at 10:13 +0930, Iain Buchanan wrote:

   I'm using ~x86.  After a few compile problems
 the only noticeable problem I'm having is with the volume change overlay

well, not anymore.

I re-synced; emerged; broke X; fixed X; and now it's all working again.
That takes me back to the old days (emerge world, then resync and emerge
world again, just in case...)

I'll go back to my hole now :)
-- 
Iain Buchanan iaindb at netspace dot net dot au

If it's not in the computer, it doesn't exist.




Re: [gentoo-user] NetworkManager and/or WICD

2009-11-03 Thread Iain Buchanan
On Tue, 2009-11-03 at 21:52 -0500, Mike Edenfield wrote:
 Does anyone have any experience getting either NetworkManager or WICD to
 work properly under Gentoo?

NetworkManager, yes.  I just started using it recently.

   When I attempt to use either of those
 utilities to get onto my wireless network, the NIC refuses to stay
 connected to the base station for more than a few seconds at a time.
 Instead, it continually disassociates and deauthenticates, only for
 nm/wicd to hop right back on.  However, if I manually configure
 wpa_supplicant for a given SSID and start it via the init script
 directly, I don't have any such problems.

Have you stopped your net.wlan0 script?  Also remove it from the default
runlevel, and set rc_hotplug=!net.wlan0 !net.eth0 in /etc/rc.conf (if
you're using openrc).

 Additionally, I can't get either applet to actually save settings (like
 known networks, passwords, etc.) which means that I'm continually
 interrupted by a prompt for the wireless password.

Do you have seahorse (gnome)?  Depending on how it's setup, you should
only have to provide the master password once for nm to access all your
keys.

 What I'm really looking for is a graphical utility that will let me
 connect to specific newly-detected wireless networks without having to
 edit the WPA configuration and restart it; NetworkManager and WICD seem
 to be the most popular.  Any other suggestions would also be welcome.

never tried WICD.  nm (and nm-applet) ftw!


-- 
Iain Buchanan iaindb at netspace dot net dot au

Mad, adj.:
Affected with a high degree of intellectual independence ...
-- Ambrose Bierce, The Devil's Dictionary




Re: [gentoo-user] portage sends faulty emails

2009-11-03 Thread Kevin O'Gorman
On Sun, Oct 25, 2009 at 5:04 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sun, 25 Oct 2009 15:58:53 -0700, Kevin O'Gorman wrote:

   Are you using ssmtp to send them? If so, you need to set hostname
   in /etc/ssmtp/ssmtp.conf.

  I have no idea how they are being sent.  This just started
  autonomously.  I don't even know off hand what ssmtp is.

 What does emerge --info -v | grep ELOG show.

 ssmtp is a minimal mail relay server, installed as part of @system.


 --
 Neil Bothwick

 The people who are wrapped up in themselves are overdressed.


It shows the below.  So it appears I've been asking for email all along, but
only just now was it even working enough to fail visibly.
But: there is no /etc/ssmtp directory, let alone a config file.  That could
explain a lot, but I need some help fixing it.

PORTAGE_ELOG_CLASSES=info, warn, error, log
PORTAGE_ELOG_MAILFROM=port...@localhost
PORTAGE_ELOG_MAILSUBJECT=[portage] ebuild log for ${PACKAGE} on ${HOST}
PORTAGE_ELOG_MAILURI=root
PORTAGE_ELOG_SYSTEM=save mail


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] kernel build - back in the soup.

2009-11-03 Thread John H. Moe
Harry Putnam wrote:
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..

 Many people here seem to find it completely easy... not me.

 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]

 (After install of gentoo-sources-2.6.31-r4)

 I started with `make oldconfig'
 Moved from that to `make menuconfig'

 Trying to mimic all the needed drivers in current running kernel.
 But, On the first build and reboot, I got  `kernel panic'

 So by now I've rebuilt the kernel 4 times, each time trying to get the
 new one to have all the needed drivers that are present in the old
 one, but still getting `kernel panic'.

 I tried closely comparing the current working kernel with newly built
 one. I mean side by side with `make menuconfig' running in both sources.
 I cannot tell what it is I'm overlooking.

 I copied the latest output painfully off the boot screen, and best I
 can make of it, a driver required to let the kernel recognize the
 filesystem that / is on, is not getting loaded.  I think its one of
 PIIX items.

 The thing is, I cannot find the culprit.  For example, examining the
 PIIX items in the working kernel and inserting here:

 zgrep PIIX /proc/config.gz

  CONFIG_BLK_DEV_PIIX=y
  CONFIG_ATA_PIIX=m
  CONFIG_PATA_MPIIX=y
  # CONFIG_PATA_OLDPIIX is not set
  CONFIG_I2C_PIIX4=m

 Try the same thing on the newbuild:

 grep  PIIX /usr/src/linux/.config

  CONFIG_BLK_DEV_PIIX=y
  CONFIG_ATA_PIIX=m
  CONFIG_PATA_MPIIX=y
  # CONFIG_PATA_OLDPIIX is not set
  CONFIG_I2C_PIIX4=m

 So maybe it is not even related to PIIX
 But let me insert the kernel messages from a failed boot here:
 (I've numbered the lines from the bad boot output so as not confuse
 them with the good boot messages from kernel 2.6.30-r1
 ----   ---=---   -  
 From Kernel 2.6.31-r4
  
 1  hda: ST3160021A, ATA DISK drive
 2  hdb: WDC SE3000JB-00KFA0, ATA DISK drive
 3  hda: UDMA/100 mode selected
 4  hdb: UDMA/100 mode selected
 5  hdc: LITE-ON CD-ROM LTN-5291s, ATAPI CD/DVD-ROM drive
 6  hdd: WDC WD16000JB-00EVA0, ATA DISK drive
 7  hdc: UDMA/33 mode selected
 8  hdd: UDMA/100 mode selected
 9  IDE0 at 0x1f0-0X1f7,0X3f6 on irg 14
 10 IDE0 at 0x170-0X177,0X376 on irg 15
 ----   ---=---   -   

 NOTE: Comparing a similar section of dmesg from  working kernel
  2.6.30-r1

 Uniform Multi-Platform E-IDE driver
 piix :00:1f.1: IDE controller (0x8086:0x24db rev 0x02)
 PIIX_IDE :00:1f.1: enabling device (0005 - 0007)
 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
 PCI: setting IRQ 10 as level-triggered
 PIIX_IDE :00:1f.1: PCI INT A - Link[LNKC] - GSI 10 (level, low) - IRQ 
 10
 piix :00:1f.1: not 100% native mode: will probe irqs later
 ide0: BM-DMA at 0xfc00-0xfc07
 ide1: BM-DMA at 0xfc08-0xfc0f

   ** The part above, I think is where a piix driver is loaded or 
  something (these messages from working kernel 2.6.30-r1)

 Probing IDE interface ide0...
 Switched to high resolution mode on CPU 0
 hda: ST3160021A, ATA DISK drive
 hdb: WDC WD3000JB-00KFA0, ATA DISK drive
 hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hda: UDMA/100 mode selected
 hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdb: UDMA/100 mode selected
 Probing IDE interface ide1...
 hdc: LITE-ON CD-ROM LTN-5291S, ATAPI CD/DVD-ROM drive
 hdd: WDC WD1600JB-00EVA0, ATA DISK drive
 hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdc: UDMA/33 mode selected
 hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
 hdd: UDMA/100 mode selected

 [...] snipped the rest of dmesg ouput from running kernel
   2.6.30.1

 ----   ---=---   -   
(continuation of messages from failed boot of kernel-2.6.31-r4

 11 ide_generic: please use probe_mask=0x3f module parameters for probing 
 all legacy IS IDE ports
 12 ide-cd driver 5.00
 13 ide cd:hdc: ATAPI 52X CD-ROM drive 96kB Cache
 14 Uniform CD-ROM driver Revision: 3.10
 15 Intel(R) PRO/1000 Network Driver version - 7.3.21-k3-NAPI
 16 Copyright (c) 1999-2006 Intel Corporation
 17 e1000e: Intel(R) Pro/1000 Network Driver, 1.0.2-k2
 18: e1000e: Copyright(c) 1999-2008 Intel Corporation
 19: e100: Intel (R) PRO/100 Network Driver 3.5.24-k-NAPI
 20: e100: Copyright blah blah
 21: sky2 driver version 1.23
 22: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
 23: r8169 :02:03:0: PCI INT A - GSI 19 (level,low) - IRQ 19
 24: r8169 :02:03:0: no PCI Experss capability
 25: eth0  RTL8110s at 0xf8026f00, 00:40:f4:b5:29:41, XID 0400 IRQ 20
 26: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
 27: r8169 :02:06:0: PCI INT A - GSI 20 (level,low) - IRQ 20
 28: r8169 :02:06:0: no PCI Experss capability
 29: eth1  

Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Dale
Harry Putnam wrote:
 hamilton hamil...@pobox.com writes:

   
 On Tue, 03 Nov 2009 17:02:18 -0800, walt w41...@gmail.com wrote:
 
 On 11/03/2009 02:29 PM, Harry Putnam wrote:
   
 I'll say right from the start, that building a new kernel, has always
 been a problem for me.  I don't remember ever not having a problem, in
 10+ yrs..

 Many people here seem to find it completely easy... not me.

 So I'm back in the soup.
 [I hope what I try to layout below is not overly confusing]

 (After install of gentoo-sources-2.6.31-r4)
 
 Just checking - but you didn't mention: did you copy the .config to the
 new kernel src directory?  If not, that would certainly explain the
 disparity in configuration settings you're seeing.  

 

 I think you can say make `oldconfig' and the `old config' is supposed to
 be incorporated so no I didn't

 If I had put .confg into the new sources, then plain make menuconfig
 is what I would have used.

 Do you know where the man pages or docs for that stuff is .. its not in
 `man make'

 I'd like to check some of that.



   

I always do this:  cp /path/to/old/kernel/.config
/path/to/new/kernel/.config .  Then run make oldconfig and configure all
the new stuff.  I usually answer no to everything but there is
exceptions.  After that, make all  make modules_install and either run
make install or copy it the old fashioned way.  Then edit grub if needed
and reboot. 

Do all that in /usr/src/linux especially the make parts.

It has worked for me for quite a while.  I do have a hiccup every once
in a while but usually something else is wrong.

Dale

:-)  :-)



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Graham Murray
Harry Putnam rea...@newsguy.com writes:

 I think you can say make `oldconfig' and the `old config' is supposed to
 be incorporated so no I didn't

 If I had put .confg into the new sources, then plain make menuconfig
 is what I would have used.

That is the wrong way round! make oldconfig uses the .config in the
kernel directory, which in the case of an upgrade is the *default* (ie
without any customisations) config. make oldconfig does *not* operate on
the running kernel. You have to copy the .config from the running (old)
kernel to the new kernel directory before running make oldconfig. If you
start with the default config, then you have to run make menuconfig (or
config or xconfig) to customise it every time.



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-03 Thread Alan McKinnon
On Wednesday 04 November 2009 03:46:54 Harry Putnam wrote:
 Volker Armin Hemmann volkerar...@googlemail.com writes:
  your drivers for the ide disks have to be built INTO THE KERNEL! NOT
  MODULES.
 
 Is that really a hard rule? I've done it both ways successfully in the
 past.
 

If you do not use an initrd|initramfs, then the drivers for the chipset and 
the filesystem on /  do need to be built into the kernel. The drivers are on 
the disk and the kernel needs to read the drivers from the disk to read the 
disk to get the drivers :-)  chicken and egg.

If you use an initrd/initramfs or have genkernel make one for you, then the 
drivers are on that ramdisk and the kernel can see and load them so all is 
well.



-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: Unclaimed display?

2009-11-03 Thread Nicolas Sebrecht
On Sun, Sep 27, 2009 at 01:29:26PM +0100, Mick wrote:

 I am looking at the lshw of a compaq desktop with pci-express and a Radeon 
 X600 and see that it's VGA and secondary dispalyes are unclaimed.  What 
 does this mean?

http://ezix.org/project/wiki/HardwareLiSter#Howtointerpretlshwsoutput

  Have I got the kernel config wrong?

Maybe. Or it comes from lshw. You could look at the lspci output to
compare.

-- 
Nicolas Sebrecht



[gentoo-user] Re: X freezes with ati radeon driver

2009-11-03 Thread Nicolas Sebrecht
On Sun, Sep 27, 2009 at 08:00:07PM +0200, Jacques Montier wrote:

 As fglrx ati driver does not work with gentoo-sources-2.6.29-r5 kernel
 and my ati radeon 9600 (RV350) graphic card, i try to use the free
 radeon driver (x11-drivers/xf86-video-ati-6.12.4)
 I compiled the gentoo-sources-2.6.31 with AGP, DRI, VIA chipset support
 and ATI radeon as modules.
 X starts and works, but then randomly freezes.

As you know, ATI free drivers are pretty new and are still in very
active development. That's why I don't think anybody here will know
what's going on for you. You should try with the developers of the
drivers directly...

 I saw several threads about it, so what's going on ??

... Or, if the problem is well known, wait for the fix.

-- 
Nicolas Sebrecht



[gentoo-user] Re: sys-libs/db dev-lang/php dependency problem...

2009-11-03 Thread Nicolas Sebrecht
On Sat, Oct 03, 2009 at 06:56:17PM +0200, Jarry wrote:

 # emerge --depclean

...

  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   sys-libs/db-4.6.21_p4 pulled in by:
  * dev-lang/php-5.2.10
  *

depclean says it won't clean the db package because of a php
dependency. I _guess_ it comes from the berkdb use flag of php.

 I repeated it a few times, still the same. So what can I do more
 to fix it?

I you're sure you don't need db, you could try to remove it by hand and
see if 'emerge php' want reinstall it. I think you should use quickpkg
or demerge before everything else.

-- 
Nicolas Sebrecht