Kernel for Apache

Support section for FREESCO v0.4.x

Kernel for Apache

Postby mondo » Mon Nov 21, 2011 10:22 pm

Hello,
I forgot where is kernel(directory) and how do I change it with that with CONFIG_SYSVIPC after scanf to the directory?

thanks

mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm

Re: Kernel for Apache

Postby Lightning » Tue Nov 22, 2011 2:45 am

The kernels are now part of the package repository in 04x. So you can view and install them from the "pkg" command or by going directly to http://www.freescosoft.com/
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Kernel for Apache

Postby mondo » Tue Nov 22, 2011 4:12 pm

Hello Lightning,
Thanks a lot for your time and here is what it says about the kernel package.
kernel-040.686-dual-vipc-cd-triton-power_off

When I downloaded the above kernel, it asked if I wanted to replace the current kernel with the above one, and I responded with "Y". When I rebooted the system, it responded with;
Your kernel was built without CONFIG_SYSVIPC


I guess it did not replace the kernel. Do I have to replace manually?


Thanks
Mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm

Re: Kernel for Apache

Postby Lightning » Tue Nov 22, 2011 7:50 pm

I guess it did not replace the kernel. Do I have to replace manually?

Yes, there has been a lot of various issues with the kernel replacement part of the pkg command. However in this case I am guessing it is a good thing that it did not replace the kernel unless you actually have a dual processor system. Most of the time the "kernel-040.686-vipc-cd-triton-power_off " is the kernel that you probably want.

To manually replace the kernel you can use these commands
Code: Select all
cd /boot
snarf http://lewys-spot.dyndns.org/packages/0.4.x/kernels/kernel-040.686-vipc-triton-power_off
cp  kernel  kernel.org
mv  kernel-040.686-vipc-triton-power_off  kernel
lilo
sync
reboot
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Kernel for Apache

Postby mondo » Mon Nov 28, 2011 1:47 pm

hello Lightning,

cd /boot
snarf http://lewys-spot.dyndns.org/packages/0 ... -power_off
cp kernel kernel.org
mv kernel-040.686-vipc-triton-power_off kernel
lilo
sync
reboot


I followed the instructions and the snarf went ok and when performed "lilo" it responded with

read /boot /kernel no such file or directory

it must have cleared the kernel because it does not reboot it tries to load the kernel with no success. How do I fix the kernel since it is on the HD ?

thanks

mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm

Re: Kernel for Apache

Postby Lightning » Tue Nov 29, 2011 12:46 am

How do I fix the kernel since it is on the HD ?
One thing to note with all kernel replacements is that you should never reboot unless the "lilo" command is successful. However it can be fixed without to much trouble.

Boot the 04x floppy and install the ext2 package. Do NOT run the package, just let it install and then exit the setup process and follow the below commands.
Code: Select all
mount /dev/hda1  /mnt/hd
cd /mnt/hd/router
ls

At this point you should see the contents of the hard drive /boot directory with several kernel options. Hopefully the new kernel that you want is there and you just mis typed the name during the "mv" command. But if all else fails the "kernel.bak" will still be there. Make sure to rename one of the to "kernel" using the
Code: Select all
mv  "kernel-name"  kernel

Using the actual name of the kernel you are planning on using without the quotes.

Use the "ls" command to ensure that there is now a file called "kernel" in that directory. Then use these commands
Code: Select all
cd /
umount /mnt/hd
rc_ext2 repair-lilo
sync
sync
reboot

Remover the floppy and the hard drive should boot and run.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Kernel for Apache

Postby mondo » Tue Nov 29, 2011 9:40 am

Hello Lightning,
As always, thanks a lot for your help. Per your instructions;
cd /mnt/hd/router
ls

On this directory files associated with kernel;
kernel
kernel.org
and there is no kernel in the directory for the Apache;
kernel-040.686-vipc-triton-power_off

I will snarf kernel and follow the remaining directions,and will let you know the outcome.

thanks

mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm

Re: Kernel for Apache

Postby mondo » Tue Nov 29, 2011 4:12 pm

hello Lightning,

Is your site working ?



thanks

mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm

Re: Kernel for Apache

Postby Lightning » Tue Nov 29, 2011 11:00 pm

Yes, my site is up and working, but the URL is http://lewys-spot.dyndns.org/packages/0 ... -power_off

So use
Code: Select all
snarf http://lewys-spot.dyndns.org/packages/0.4.x/kernels/kernel-040.686-vipc-cd-triton-power_off
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Kernel for Apache

Postby mondo » Wed Nov 30, 2011 11:04 am

Hello Lightning,

Code: Select all
rc_ext2 repair-lilo
sync
sync
reboot

Thanks very much it works, it reboots from HD.

thanks again

mon
User avatar
mondo
Senior Member
 
Posts: 81
Joined: Mon Dec 27, 2004 1:36 pm


Return to FREESCO Support for v0.4.x

Who is online

Users browsing this forum: No registered users and 5 guests

cron