Preempt_rt Install Over Ubuntu 14.04

Hi everyone (i hope this is the right section)

Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16

i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with

patch -p1 < patch-3.18.9.patch

but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found

rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux

then

make oldconfig

then

make menuconfig

i selected Full preemptive kernel then

make

then this error

cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2


So..... Any help?? can someone walk me through this

or any other real time patch, Thanx.. plzzzzzz


Similar Content



Erreur When Install Ns2.34

Hi , i desinstall ns2.34 and i want to reinstall again so i was follow your step
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < lwx+LTE+dccp+MPTCP.patch
$ export CC=gcc41 CXX=g++41 && ./install

and with this patch i add another patch for wimax "wimax-awg26_ns235.patch"

but when i install ns2.34 this erreur was showen
common/packet.h: In static member function ‘static void p_info::initName()’:
common/packet.h:402: error: ‘PT_WIMAXBS’ was not declared in this scope
make: *** [common/scheduler.o] Error 1
Ns make failed!

can you tell me where is the problem ???

How To Patch Ns2.31_fhmip.patch.gz

Hi all,

i have installed ns-2.33 and also i have ns2.31_fhmip.patch.gz. How to patch ns2.31_fhmip.patch in ns-allinone-2.33/ns-2.33

when i tried to untar
it gave me error
PHP Code:
chase@chase-desktop:~/ns-allinone-2.33/ns-2.33$ tar -zxvf ns2.31_fhmip.patch.gz 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors 



Thanks & Regards

Pon

How To Patch OSPF In Ns2.34

Hi mates,

I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:

http://sourceforge.net/projects/ospf...s/ospf4ns2.34/

$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch

Using : $ cd ns-2.34/
# make install

$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl

i followed the procedure from below LQ link post no #3

http://www.linuxquestions.org/questi...-a-4175492253/

it is successfully patchinf file but it is showing error when i execute ospf0.tcl file



Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)



pls anyone suggest me ideas to get rid of this err.

Thanks in Advance,

Pon

Topic - What Is Linux Kernel And How To Upgrade To Linux Stable Kernel 3.18.1

What Is Linux Kernel?

Those who don't know what is the Linux Kernel they should know it because Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds (with help from various developers), Linux is a clone of the UNIX operating system. It is geared towards POSIX and Single UNIX Specification compliances.

Latest Stable Linux Kernel Version 3.18.1
It's been a quiet week, and the patch from rc7 is tiny, so 3.18 is out.
I'd love to say that we've figured out the problem that plagues 3.17 for a couple of people, but we haven't. At the same time, there's absolutely no point in having everybody else twiddling their thumbs when a couple of people are actively trying to bisect an older issue, so holding up the release just didn't make sense. Especially since
that would just have then held things up entirely over the holiday break.
So the merge window for 3.19 is open, and DaveJ will hopefully get his bisection done (or at least narrow things down sufficiently that we have that "Ahaa" moment) over the next week. But in solidarity with Dave (and to make my life easier too let's try to avoid introducing any _new_ nasty issues, ok?]

To read all the changes and bugs fixed Download the changelog below -
Changelog

Why to Upgrade to the Latest Linux kernel

Recently in December Linux Kernel version 3.18.1 has been released and announced by Linus Torvalds. If you are using Ubuntu 14.04/14.10 or Linux Mint or any other debian/Ubuntu based then you can update to the latest kernel 3.18.1 to fix bugs, increase performance and security of the system.


Install Linux Kernel 3.18.1

Because it is not available via PPA, the needed deb packages of Kernel 3.18.1 are available via kernel.ubuntu.com. Follow the instructions for your system’s architecture exactly, in order to get a successful installation.

To install or update Latest Stable Kernel 3.18.1 on Ubuntu 15.04 vivid vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) , Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2.0, Linux Lite 2.2 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:


For Linux system 32 bit :

Pass the following commands in the terminal to download the kernel file.

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

Install Linux Kernel 3.18.1


$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

For Linux system 64 bit :

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

Install Linux Kernel 3.18.1

$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

How To Uninstall Linux Kernel 3.18.1

If you come across any problem after installing/upgrading to linux kernel, can uninstall the newly installed kernel and switch back to old kernel.

$ sudo apt-get remove 'linux-headers-3.18.1*' 'linux-image-3.18.1*'

Installation Of PMIPv6 Patch In NS-2.33

Hi all,

I am going to install PMIPv6 patch in NS-2.33. I have Fedora - 16 in my Laptop. Before installation of Patch it is asked to "install on the system binutils, gcc, g++, make, autoconf, libX11-dev, tk8.4-dev, libxmu-dev (or libxmu-headers)". Can I get help on how to install all the above in fedora 16. Please help.

Need To Install The N53 PCI Network Card From Asus Without Installing Anything Before

Hi

I am new to kali linux and have got a fresh install with all the current updates (without any new repositories). I am really interested in aircrack and wifi exploitation. But before i can do any of that i need to install my second network adapter, the asus n53 pcie. I am able to type this because my motherboard came with its own intergrated wifi adapter, the aetheros (something). That was working out of the box as soon as kali linux was installed, however i need a proper network adapter (the n53) to make use of my 3rd party long range antenna (it can pick up networks over 600m away ).

I am attempting to install my asus n53 pcie network adapter but have had no success at all, most likely because i have no idea what to do once i have extracted the driver. Currently it is sitting in my home folder. It has a few folders and files in it, with these being the folders

(chips, common, include, os, rate_ctrl, sta and tools)

and these being the files

(iwpriv_usage.txt, makefile, readme_sta_pci, rt2860STA.dat, rt2860staCarddat, sta_ate_iwpriv_usage.txt.)

In the readme file it says this in the instructions:

1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2860_Linux_STA_x.x.x.x" directory.

2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.

3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat

6> load driver
#[kernel 2.4]
# $/sbin/insmod rt2860sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt2860sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2860sta

And this to me looks like another language. I would GREATLY APPRECIATE IT if someone could give me step by step instructions on how to install this, without skipping on anything. I will even pay 10000 dogecoin if someone helps me! I have been searching youtube tutorials for 3 hours (lol) for it and havent found anything. Please help me!

Thanks

Error IIN PATCHING OLSR (Ns2.35 Ubuntu 12.04)

Hi Everyone
i m working on ns2.35 ubuntu 12.04
when i follow these steps for olsr patching
all commands ran without error

cd ns-allinone-2.35/ns-2.35/
tar zxvf um-olsr-1.0.tgz
ln -s ./um-olsr-1.0 ./um-olsr
patch -p1 < um-olsr/um-olsr_ns-2.35_v1.0.patch

but while running the olsr.tcl
it again shows the same error
invalid command name "Agent/OLSR"
while executing
"Agent/OLSR set use_mac_ true"
(file "olsr.tcl" line 38)
please help me , thnx in advance

Configuring Ns-2.35 And Sumo For TraNS In Fedora 15

hello
i installed sumo-0.9.8 and ns-2.35 in fedora 15. i want to use TraNS.
i know that TraNS no need to install. but it needs to be configured for using ns-2.
when i use the command patch -p0 < traci.patch
the error is appeared
Quote:
[root@Fedora-15 ns-allinone-2.35]# patch -p0 < traci.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** Makefile.in.2.29 2005-10-20 06:45:22.000000000 +0200
|--- Makefile.in 2007-09-11 13:46:57.000000000 +0200
--------------------------
File to patch: traci.patch
patching file traci.patch
Hunk #1 FAILED at 85.
Hunk #2 succeeded at 90 with fuzz 2 (offset -1 lines).
Hunk #3 succeeded at 152 with fuzz 2 (offset -2 lines).
Hunk #4 succeeded at 318 with fuzz 2 (offset -3 lines).
Hunk #5 FAILED at 345.
2 out of 5 hunks FAILED -- saving rejects to file traci.patch.rej
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** common/mobilenode.h.2.31 2007-09-20 13:13:18.000000000 +0200
|--- common/mobilenode.h 2007-09-20 13:13:59.000000000 +0200
--------------------------
and when i use the command patch traci.patch
it needs too time to patch .(the traci.patch is 3kB).
what's the matter?

thanks

Mobiwan Patch File In NS-2.31 For Ubuntu 12.04

I found that the mobiwan patch file only for ns-2.33.

If I want to run the mobiwan in NS-2.31 , anyone can provide the mobiwan patch file that can run in NS-2.31 ? In the same time , can provide me the method to install it in NS-2.31 ?

I will be really please if you can help me in this problem. Your reply will be really appreciated.

Thank you very much in advance.

"make Install" In A Custom Directory ?

hi,

Because i am cross compiling busybox for an arm board and can't install directy busybox on it (it don't have apt-get/sudo/make) i tried to compile busybox with arm-linux-gcc and "make" it in a custom directory with /usr/ /bin/ sbin/ this way i could copy paste the folder and the exe in a clean root and transfert this root to my board.

Sadly i don't seems to be able to change the installation patch.
i tried with :
Code:
make install PREFIX=/home/blabla1/blabla2/blabla3

but when going into the blabla3 folder i find no file (/usr/ /bin/ and /sbin/ are present because i created them myself).

./configure can't be used because the file don't exist.

Any idea on how i could change the installation patch ?