  | | | help on frame buffer | help on frame buffer 2005-06-02 - By Raja.Saleru@(protected)
Back Thanks for the reply.
I downloaded the latest kernel 2.6.11.11 and I followed the same step with make modules and make modules_install then I did
mkinitrd /boot/initrd-2 (See http://trd-2.ora-code.com).6.11.2k5.img 2.6.11.2k5
the lilo.conf file is
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- prompt timeout=50 default=DOS boot=/dev/hda map=/boot/map install=/boot/boot.b message=/boot/message lba32
image=/boot/vmlinuz-2 (See http://nuz-2.ora-code.com).6.11.2k5 label=2.6.11.2k5 initrd=/boot/initrd-2 (See http://trd-2.ora-code.com).6.11.2k5.img read-only append="root=LABEL=/"
image=/boot/vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-8 label=linux initrd=/boot/initrd-2 (See http://trd-2.ora-code.com).4.20-8.img read-only append="root=LABEL=/"
other=/dev/hda1 optional label=DOS -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
now I did lilo -v
after rebooting, I am getting the following error
mount: error 19 mounting ext3 pivotroot: pivot_root (/sysroot, /initrd) failed: 2 umount /initrd /proc failed :2 kernel panic - not syncing : no init found, try passing "init = option" to kernel
what would be the error in this ?
- Raja S
"Steven J. Yellin" <yellin@(protected)> Sent by: shrike-list-bounces@(protected) 06/01/2005 11:00 PM Please respond to "Discussion of Red Hat Linux 9 (Shrike)"
To: "Discussion of Red Hat Linux 9 (Shrike)" <shrike-list@(protected) .com> cc: Subject: Re: help on frame buffer
Maybe you need to do make modules make modules_install It looks like you don't have an initrd=... line in lilo.conf for your previous kernel, but if you do, you should make one for this kernel.
Steven Yellin
On Wed, 1 Jun 2005 Raja.Saleru@(protected) wrote:
> Hi, > > I am using redhat linux 9, I want to enable frame buffer support. > I followed the following steps.. > > > 1. Make sure that you have the Linux kernel source code in /usr/src/linux/. > 2. Log in as root and cd /usr/src/linux > 3. Configure the kernel: > Run: > make menuconfig > > Select "Code maturity level options" and set "Prompt for development > and/or incomplete code/drivers". > Then select "Console drivers" set "Support for frame buffer devices" to > built-in (even if it says EXPERIMENTAL). Then configure the driver. Most > modern graphics cards can use the "VESA VGA graphics console"; use that or > a driver that specifically matches your video card. Finally enable > "Advanced low level driver options" and make sure that 16 and 32 bpp > packed pixel support are enabled. > When you are finished, chose exit and save. > 4. Compile the kernel > First do: > make dep > > then: > make bzImage > > The new kernel should now be in arch/i386/boot/bzImage > 5. Copy the kernel to the boot directory: > cp arch/i386/boot/bzImage /boot/linux.vesafb > > 6. Edit /etc/lilo.conf > IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk > available. If you make a mistake at this stage, the machine may not boot. > The file /etc/lilo.conf specifies how the system boots. The precise > contents of the file varies from system to system, this is one example: > boot = /dev/hda3 > delay = 30 > image = /boot/vmlinuz > root = /dev/hda3 > label = Linux > read-only # Non-UMSDOS filesystems should be mounted read-only for > checking > other=/dev/hda1 > label=nt > table=/dev/hda > > IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk > available. If you make a mistake here, the machine may not boot. > Make a new "image" section that is a copy of the first one, but with image > = /boot/linux.vesafb and label = Linux-vesafb. Place it just above the > first image section. > Add a line before the image section saying 'vga = 791'. (Meaning 1024x768, > 16 bpp.) > With the above example, lilo.conf would now be: > boot = /dev/hda3 > delay = 30 > vga = 791 > image = /boot/linux.vesafb > root = /dev/hda3 > label = Linux-vesafb > read-only # Non-UMSDOS filesystems should be mounted read-only for > checking > image = /boot/vmlinuz > root = /dev/hda3 > label = Linux > read-only # Non-UMSDOS filesystems should be mounted read-only for > checking > other=/dev/hda1 > label=nt > table=/dev/hda > > Do not change any lines in the file; just add new ones. > 7. Run lilo > To make the new changes take effect, run the lilo program: > lilo > > 8. Reboot the system > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- > > after rebooting, the kernel is not booting... > it says kernel version mismatch and kernel panic, mention the correct > root. > > can anybody help in this ? > > > Raja Saleru > LARSEN & TOUBRO INFOTECH LIMITED > Communications & Embedded Systems > No.4, Service Road, > Domlur Layout, > Bangalore - 560 071 > INDIA > Tel : +91-80-25350510/512 Extn : 106 > Mobile : +91- > Fax : +91-80-25350495 > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
<br><font size=2 face="sans-serif">Thanks for the reply.</font> <br> <br><font size=2 face="sans-serif">I downloaded the latest kernel 2.6.11 .11 and I followed the same step with </font> <br><font size=2 face="sans-serif">make modules</font> <br><font size=2 face="sans-serif">and</font> <br><font size=2 face="sans-serif">make modules_install</font> <br><font size=2 face="sans-serif">then I did </font> <br> <br><font size=2 face="sans-serif"> mkinitrd </font><font size=2 face="Courier New">/boot/initrd-2 (See http://trd-2.ora-code.com).6.11.2k5.img</font><font size=2 face="sans -serif"> </font><font size=2 face="Courier New">2.6.11.2k5</font> <br> <br><font size=2 face="Courier New">the lilo.conf file is</font> <br> <br><font size=2 face="sans-serif">-- ---- ---- ---- ---- ---- ---- ---- ------ -- ---- ------</font> <br><font size=2 face="Courier New">prompt</font> <br><font size=2 face="Courier New">timeout=50</font> <br><font size=2 face="Courier New">default=DOS</font> <br><font size=2 face="Courier New">boot=/dev/hda</font> <br><font size=2 face="Courier New">map=/boot/map</font> <br><font size=2 face="Courier New">install=/boot/boot.b</font> <br><font size=2 face="Courier New">message=/boot/message</font> <br><font size=2 face="Courier New">lba32</font> <br> <br><font size=2 face="Courier New">image=/boot/vmlinuz-2 (See http://nuz-2.ora-code.com).6.11.2k5</font> <br><font size=2 face="Courier New"> label=2.6.11 .2k5</font> <br><font size=2 face="Courier New"> initrd=/boot /initrd-2 (See http://trd-2.ora-code.com).6.11.2k5.img</font> <br><font size=2 face="Courier New"> read-only</font> <br><font size=2 face="Courier New"> append=" ;root=LABEL=/"</font> <br> <br><font size=2 face="Courier New">image=/boot/vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-8</font> <br><font size=2 face="Courier New"> label=linux< /font> <br><font size=2 face="Courier New"> initrd=/boot /initrd-2 (See http://trd-2.ora-code.com).4.20-8.img</font> <br><font size=2 face="Courier New"> read-only</font> <br><font size=2 face="Courier New"> append=" ;root=LABEL=/"</font> <br> <br><font size=2 face="Courier New">other=/dev/hda1</font> <br><font size=2 face="Courier New"> optional</font> <br><font size=2 face="Courier New"> label=DOS</font> <br><font size=2 face="sans-serif">-- ---- ---- ---- ---- ---- ---- ---- ------ -- ---- ---- --</font> <br> <br><font size=2 face="sans-serif">now I did </font> <br><font size=2 face="sans-serif">lilo -v</font> <br> <br><font size=2 face="sans-serif">after rebooting, I am getting the following error</font> <br> <br><font size=2 face="sans-serif">mount: error 19 mounting ext3</font> <br><font size=2 face="sans-serif">pivotroot: pivot_root (/sysroot, /initrd) failed: 2</font> <br><font size=2 face="sans-serif">umount /initrd /proc failed :2< /font> <br><font size=2 face="sans-serif">kernel panic - not syncing : no init found, try passing "init = option" to kernel</font> <br> <br><font size=2 face="sans-serif">what would be the error in this ?</font> <br> <br><font size=2 face="sans-serif">- Raja S</font> <br><font size=2 face="sans-serif"><br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td><font size=1 face="sans-serif"><b>"Steven J. Yellin" <yellin @(protected)></b></font> <br><font size=1 face="sans-serif">Sent by: shrike-list-bounces@(protected)< /font> <p><font size=1 face="sans-serif">06/01/2005 11:00 PM</font> <br><font size=1 face="sans-serif">Please respond to "Discussion of Red Hat Linux 9 (Shrike)"</font> <br> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To:   ; "Discussion of Red Hat Linux 9 (Shrike)" <shrike -list@(protected)></font> <br><font size=1 face="sans-serif"> cc:   ; </font> <br><font size=1 face="sans-serif"> Subject: Re: help on frame buffer</font></table> <br> <br> <br><font size=2 face="Courier New"> Maybe you need to do<br> make modules<br> make modules_install<br> It looks like you don't have an initrd=... line in lilo.conf for your<br> previous kernel, but if you do, you should make one for this kernel.<br> <br> Steven Yellin<br> <br> On Wed, 1 Jun 2005 Raja.Saleru@(protected) wrote:<br> <br> > Hi,<br> ><br> > I am using redhat linux 9, I want to enable frame buffer support.<br> > I followed the following steps..<br> ><br> ><br> > 1. Make sure that you have the Linux kernel source code in /usr/src/linux/.<br> > 2. Log in as root and cd /usr/src/linux<br> > 3. Configure the kernel:<br> > Run:<br> > make menuconfig<br> ><br> > Select "Code maturity level options" and set "Prompt for development<br> > and/or incomplete code/drivers".<br> > Then select "Console drivers" set "Support for frame buffer devices" to<br> > built-in (even if it says EXPERIMENTAL). Then configure the driver. Most <br> > modern graphics cards can use the "VESA VGA graphics console"; use that or<br> > a driver that specifically matches your video card. Finally enable<br> > "Advanced low level driver options" and make sure that 16 and 32 bpp<br> > packed pixel support are enabled.<br> > When you are finished, chose exit and save.<br> > 4. Compile the kernel<br> > First do:<br> > make dep<br> ><br> > then:<br> > make bzImage<br> ><br> > The new kernel should now be in arch/i386/boot/bzImage<br> > 5. Copy the kernel to the boot directory:<br> > cp arch/i386/boot/bzImage /boot/linux.vesafb <br> ><br> > 6. Edit /etc/lilo.conf<br> > IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk<br> > available. If you make a mistake at this stage, the machine may not boot. <br> > The file /etc/lilo.conf specifies how the system boots. The precise<br> > contents of the file varies from system to system, this is one example:<br> > boot = /dev/hda3<br> > delay = 30<br> > image = /boot/vmlinuz<br> > root = /dev/hda3<br> > label = Linux<br> > read-only # Non-UMSDOS filesystems should be mounted read-only for <br> > checking<br> > other=/dev/hda1<br> > label=nt<br> > table=/dev/hda<br> ><br> > IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk<br> > available. If you make a mistake here, the machine may not boot.<br> > Make a new "image" section that is a copy of the first one, but with image<br> > = /boot/linux.vesafb and label = Linux-vesafb. Place it just above the<br> > first image section.<br> > Add a line before the image section saying 'vga = 791'. (Meaning 1024x768, <br> > 16 bpp.)<br> > With the above example, lilo.conf would now be:<br> > boot = /dev/hda3<br> > delay = 30<br> > vga = 791<br> > image = /boot/linux.vesafb<br> > root = /dev/hda3<br> > label = Linux-vesafb<br> > read-only # Non-UMSDOS filesystems should be mounted read-only for <br> > checking<br> > image = /boot/vmlinuz<br> > root = /dev/hda3<br> > label = Linux<br> > read-only # Non-UMSDOS filesystems should be mounted read-only for <br> > checking<br> > other=/dev/hda1<br> > label=nt<br> > table=/dev/hda<br> ><br> > Do not change any lines in the file; just add new ones.<br> > 7. Run lilo<br> > To make the new changes take effect, run the lilo program:<br> > lilo<br> ><br> > 8. Reboot the system<br> ><br> > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----<br> ><br> > after rebooting, the kernel is not booting...<br> > it says kernel version mismatch and kernel panic, mention the correct<br> > root.</font> <br><font size=2 face="Courier New">><br> > can anybody help in this ?<br> ><br> ><br> > Raja Saleru<br> > LARSEN & TOUBRO INFOTECH LIMITED<br> > Communications & Embedded Systems<br> > No.4, Service Road,<br> > Domlur Layout,<br> > Bangalore - 560 071<br> > INDIA<br> > Tel : +91-80-25350510/512 Extn : 106<br> > Mobile : +91-<br> > Fax : +91-80-25350495<br> ><br> ><br> > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<br> <br> -- <br> Shrike-list mailing list<br> Shrike-list@(protected)<br> https://www.redhat.com/mailman/listinfo/shrike-list<br> <br> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<br> </font> <br> <br>
<BR> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<BR>
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
|
|
 |