Re: Building kernel with framebuffer support (was: Re: GCC for kernel compilation)

2003-08-08 Thread Wolfgang Fischer
On Fri, 08 Aug 2003 11:50:11 +0200, Matthias Urlichs wrote:

> Hi, Otto Wyss wrote:
> 
>> I'd
>> be good if warnings and error where duplicated into a log file.
> 
> "Were".
> The solution is 'make 2>&1 | less' or similar.
> 
make 2>&1 |tee logfile|less

PS: You should ask questions like this in [EMAIL PROTECTED]




Re: Building kernel with framebuffer support (was: Re: GCC for kernel compilation)

2003-08-08 Thread Matthias Urlichs
Hi, Otto Wyss wrote:

> I'd
> be good if warnings and error where duplicated into a log file.

"Were".
The solution is 'make 2>&1 | less' or similar.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
-- 
Dibble's First Law of Sociology:
Some do, some don't.




Building kernel with framebuffer support (was: Re: GCC for kernel compilation)

2003-08-08 Thread Otto Wyss
I know I'm getting off topic but I don't know a better place to ask and
this subject might be interesting of other developers as well.

> On Fri, 8 Aug 2003 04:14, Otto Wyss wrote:
> > I just upgraded to the current Sarge and also got GCC 3.3. It seems this
> > version can't compile all the drivers in kernel 2.4.21. Which version
> 
> Which drivers and what errors do you get?  If you tell us the errors then we
> can get them fixed.

I get lots of warning (i.e. variable fb isn't used in aty182 driver). I
don't get these warnings when I use CC=gcc-2.95. It's a little bit
difficult to trace warnings and errors during a kernel compilation. I'd
be good if warnings and error where duplicated into a log file.

I'm trying to build a kernel with framebuffer support for the Matrox
G400 card but I always get "open /dev/fb0: No such device" when I use
fbset. A week ago I added a new 123GB harddisk to my system, installed a
new Debian 3.0r1 and upgraded to the current Sarge. But since then I
can't use framebuffer anymore while with the old system I used it for
about 2 years. For building I use the same settings (make menuconfig) as
before, so it should work unless there are any hidden settings in
2.4.21.

The command:

ls -la /dev/fb0
crw--w 1 root video 29,0 Mar 14 2002 /dev/fb0

seems to be correct as much as I know. I've tried to config each setting
new, I also installed the kernel-image-2.4.21-3-k6 but nothing helps.
What can I do to fix this situation?

O. Wyss

-- 
See "http://wxguide.sourceforge.net/"; for ideas how to design your app.