Re: Kernel 2.6.0 compiling problems [almost solved]

2003-07-21 Thread arief_mulya
On Sun, 2003-07-20 at 13:22, Marino Fernandez wrote:
 On Saturday 19 July 2003 1:18 pm, Torquil Macdonald Sørensen wrote:
  On Saturday 19 July 2003 17:30, Marino Fernandez wrote:
   On Saturday 19 July 2003 2:20 am, Marino Fernandez wrote:
On Saturday 19 July 2003 2:16 am, Marino Fernandez wrote:
 On Saturday 19 July 2003 1:59 am, Paul Johnson wrote:
  On Sat, Jul 19, 2003 at 01:43:19AM -0500, Marino Fernandez wrote:
   I used gcc 3.3 and 2.95 to compile a 2.6 kernel.
  
   

 10) boot... shit, still black screen on bootup, no kernel messages nor 
 penguin... here it comes X... OK, now keyboard and touchpad work yeah. 
 
 So, if anybody can tell me how to fix the framebuffer so I can see thge little 
 penguin and the kernel messages, I'll appreciate it.

Thanks for the /sys information. I guess that's what I left out.

For the console problem. I have it too, but since  I don't like the text
only mode in console, I use My video-card (Radeon) frame buffer instead
of VESA. It works nicely, although a little flicker at startup.


Best Regards.

-- 
arief_mulya [EMAIL PROTECTED]
Damai Itu Indah


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel 2.6.0 compiling problems [almost solved]

2003-07-20 Thread Marino Fernandez
On Saturday 19 July 2003 1:18 pm, Torquil Macdonald Sørensen wrote:
 On Saturday 19 July 2003 17:30, Marino Fernandez wrote:
  On Saturday 19 July 2003 2:20 am, Marino Fernandez wrote:
   On Saturday 19 July 2003 2:16 am, Marino Fernandez wrote:
On Saturday 19 July 2003 1:59 am, Paul Johnson wrote:
 On Sat, Jul 19, 2003 at 01:43:19AM -0500, Marino Fernandez wrote:
  I used gcc 3.3 and 2.95 to compile a 2.6 kernel.
 
  
For whoever interested in compiling the new kernel, so far this is what I;ve 
done, and works almost perfectly.

1) make a /sys folder, enter this in fstab:
sysfs  /sys  sysfs   defaults   0   0
2) apt-get instal modules-init-tools
3) Copy .config file from the previous kernel (mine is 2.4.21)... although I 
am not 100% sure this is needed.
4) make menuconfig (deselect the many many modules that won't compile; my 
previous kernel was based on a Knoppix install, with all sorts of modules 
that I don't really need), make (no need to do make bzImage or make dep) and 
make modules_install
5) Change grub/lilo
6) boot... shit, black screen, no kernel messages... oh well here is the x 
server ... SHIT!!, no keyboard nor mouse (in my case is actually a touchpad).

7) Add this to the .configure file...
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FB_3DFX=y
CONFIG_VGA_CONSOLE=y
8) make, make modules_install
9) Change grub/lilo
10) boot... shit, still black screen on bootup, no kernel messages nor 
penguin... here it comes X... OK, now keyboard and touchpad work yeah. 

So, if anybody can tell me how to fix the framebuffer so I can see thge little 
penguin and the kernel messages, I'll appreciate it.






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel 2.6.0 compiling problems [almost solved]

2003-07-20 Thread Nick Hastings
* Marino Fernandez [EMAIL PROTECTED] [030720 15:23]:

snip

 10) boot... shit, still black screen on bootup, no kernel messages nor 
 penguin... here it comes X... OK, now keyboard and touchpad work yeah.
 
 So, if anybody can tell me how to fix the framebuffer so I can see thge little 
 penguin and the kernel messages, I'll appreciate it.

I got a blank console because I had set a specific vga mode in my
/etc/lilo.conf (vga=0x0314). That mode worked well with 2.4 kernels.
Once I removed it I could see the console (but no penguin) using a 2.6
kernel.

Cheers,

Nick.

-- 
Debian testing/unstable
Linux twofish 2.6.0-test1-looxt93c6 #1 Thu Jul 17 16:49:12 JST 2003


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel 2.6.0 compiling problems [almost solved]

2003-07-20 Thread Roberto Sanchez
 --- Marino Fernandez [EMAIL PROTECTED] escribió: 
 On Saturday 19 July 2003 1:18 pm, Torquil Macdonald Sørensen wrote:
  On Saturday 19 July 2003 17:30, Marino Fernandez wrote:
   On Saturday 19 July 2003 2:20 am, Marino Fernandez wrote:
On Saturday 19 July 2003 2:16 am, Marino Fernandez wrote:
 On Saturday 19 July 2003 1:59 am, Paul Johnson wrote:
  On Sat, Jul 19, 2003 at 01:43:19AM -0500, Marino Fernandez wrote:
   I used gcc 3.3 and 2.95 to compile a 2.6 kernel.
  
   
 For whoever interested in compiling the new kernel, so far this is what I;ve 
 done, and works almost perfectly.
 
 1) make a /sys folder, enter this in fstab:
 sysfs  /sys  sysfs   defaults   0   0
 2) apt-get instal modules-init-tools
 3) Copy .config file from the previous kernel (mine is 2.4.21)... although I 
 am not 100% sure this is needed.
 4) make menuconfig (deselect the many many modules that won't compile; my 
 previous kernel was based on a Knoppix install, with all sorts of modules 
 that I don't really need), make (no need to do make bzImage or make dep) and 
 make modules_install
 5) Change grub/lilo
 6) boot... shit, black screen, no kernel messages... oh well here is the x 
 server ... SHIT!!, no keyboard nor mouse (in my case is actually a touchpad).
 
 7) Add this to the .configure file...
 CONFIG_INPUT=y
 CONFIG_INPUT_MOUSEDEV=y
 CONFIG_INPUT_MOUSEDEV_PSAUX=y
 CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
 CONFIG_INPUT_KEYBOARD=y
 CONFIG_KEYBOARD_ATKBD=y
 CONFIG_INPUT_MOUSE=y
 CONFIG_MOUSE_PS2=y
 CONFIG_VT=y
 CONFIG_VT_CONSOLE=y
 CONFIG_FB=y
 CONFIG_FB_VESA=y
 CONFIG_FB_3DFX=y
 CONFIG_VGA_CONSOLE=y
 8) make, make modules_install
 9) Change grub/lilo
 10) boot... shit, still black screen on bootup, no kernel messages nor 
 penguin... here it comes X... OK, now keyboard and touchpad work yeah. 
 
 So, if anybody can tell me how to fix the framebuffer so I can see thge
 little 
 penguin and the kernel messages, I'll appreciate it.

1.  Use make-kpkg.  It works with the new kernel and it lets you handle it
with dpkg.

2.  For the framebuffer: do you have 1 GB of RAM or more?  If so, from the
main kernel source directory, apply this patch I wrote:

--- linux-2.6.0-test1.orig/drivers/video/vesafb.c   2003-07-13
23:30:36.0 -0400
+++ linux/drivers/video/vesafb.c2003-07-19 20:30:18.0 -0400
@@ -227,7 +227,7 @@
vesafb_defined.xres = screen_info.lfb_width;
vesafb_defined.yres = screen_info.lfb_height;
vesafb_fix.line_length = screen_info.lfb_linelength;
-   vesafb_fix.smem_len = screen_info.lfb_size * 65536;
+   vesafb_fix.smem_len = screen_info.lfb_width * screen_info.lfb_height *
screen_info.lfb_depth;
vesafb_fix.visual   = (vesafb_defined.bits_per_pixel == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;
  


___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]