General :: Debug A Newly Written System Cal?

Dec 17, 2010

i added a new system call..helloworld...

i rebuild the kernel and when i try to use it, it is returning -1.

can any one tell me how to debug and know where things went wrong..

how to see the kernel log when this syscall is called...i wrote a println in my syscall..but couldnt find that in /var/log/dmesg...

View 3 Replies


ADVERTISEMENT

General :: Broadband Very Slow On Newly Installed System / Increase It?

Jan 22, 2011

Just installed Linux (Ubuntu 10.10-net book-i386) on an acer 5310 laptop, everything is working great except for the internet. Google home page takes over a minute to load on Firefox, the actual search results takes only a second but then it takes 2 or 3 minutes to load any site i click on. I have broadband, only 1mb, but it worked perfect on the previous OS, also using Firefox.

View 9 Replies View Related

General :: How To Update Newly Created Partion In RHEL6 Without Rebooting System?

Apr 17, 2011

How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.

View 2 Replies View Related

Programming :: Detecting Newly Created Folders / Files On Local File System?

Apr 16, 2010

Using C++, I want to process sub-folders on my home folder sequentially each with a special naming format and containing some binary files in it:

Code:
1/
2/
3/
4/
5/
6/
...

Give above folders, I will process files in 1/ at first, 2/ at second, 3/ at third, and so on.

For some n/ folder, if I realize that n/ actually does not exist in local file system, I do not want to wait for it. Hence I will keep processing (n+1)/ folder, and so on.

However, when processing some (n+m)/ folder, previously not processed n/ folder may have been created on local file system. In this case, I do not want to miss processing it, but somehow detect its creation and process it. After processing n/ folder, I want to continue from (n+m+1)/.

View 5 Replies View Related

General :: /var/log/messages Is Not Being Written To?

Nov 1, 2010

I was attempting to get crontab to kick off a daily job, but the job wont start. I opened /var/log/messages and noticed all the logs were from 6 months ago. I cleared the log and then did a tail -f so I could watch it for activity. I then hit my box with anunsuccessful log in attempt. Nothing happened to the log. The uptime of my box is 22 days and the logs that were in it before I cleared it were from months ago.Is there a daemon I can check or another file I can mod to get logs writing again?

View 3 Replies View Related

General :: Monitor Written Data From Dd?

Aug 22, 2010

I have a huge disk image backed up using dd.
I need to restore the disk image but dd is very silent.

How can I monitor its progress?

View 3 Replies View Related

General :: How To Remove Over Written Lines

Apr 19, 2010

I need to filter the log from a massive wget. I want to remove the progress lines and only leave the last one. Now each progress line starts with a newline '

View 2 Replies View Related

General :: New OS Only Recognizes Blank Dvd Not Written Ones?

Apr 4, 2011

I don know how this happened, but my system only recognizes an disk when the disk is blank. If thereś anything on it it won mount it. Why is this happening?

View 6 Replies View Related

General :: Terminal Emulators Written In Java?

Nov 21, 2010

I'm looking for a terminal emulator that does the same thing as gnome-terminal or konsole, except written in Java.

View 2 Replies View Related

General :: Data Written To Unformatted Disk

Jan 14, 2011

I went and fdisk'd a USB disk and put the Fat32 filesystem onto it. Then I thought I ran dosfsck over it which I thort formatted the disk - apparently not. Then I copied a bunch of files and directories to it. Now I am unable to recover the files and data. In the rare instances when I perform a sloppy mount I see directories named 001, 002, 003 and 004. These directories variously contain files named 001, 002, 004 (no 003) etc.

Fdisk gives me:

I don't know enough to use dd, kpartx, parted, partmon, partprobe, partx et al

View 1 Replies View Related

General :: GRUB Got Re-written By The Windows Bootloader?

Feb 14, 2011

with reference to my this thread: [URL]

After installing Windows 7, the GRUB got re-written by the windows bootloader. Now after booting into the live cd and mounting /boot partition (sda2), I tried to reinstall the GRUB with this command grub-install --root-directory=/mnt /dev/sda as told by this [URL]

But I got the an error which says, Are you sure /dev is mounted? then i tried the same command on the / partition (sda5) which said, cannot find boot directory, Are you sure /dev is mounted?

And installation failed, now after restarting its just a black screen with grub> prompt.

View 13 Replies View Related

Ubuntu :: Restore Point System Restore To As It Was Newly Installed?

May 7, 2011

are there any sweeper / cleaner apps which can take back my installation as to when it was new. I know home directory could have config files etc..but that doesnt matter, i want all packages and applications reset to how it was when i had a clean install. I am using Natty

View 2 Replies View Related

General :: Catch All Data Being Written To Hard Drives?

Jul 18, 2010

I have a Linux CentOS server.Is there a way to store all changes made to the hard drive by all software on the server ?

View 14 Replies View Related

General :: Finding A File Which Is Being Written Recently In Directory Of 1000 Files?

Apr 13, 2011

How to find a file which is being written recently in directory of 1000 files?

View 8 Replies View Related

General :: Download Linux Network Administrator Guide Written By Kirch?

May 3, 2011

HOW can i download Linux Network Administrator guide written by Kirch?

View 9 Replies View Related

General :: Identify Newly Installed O/s?

Aug 16, 2010

how to identify freshly installed linux o/s

View 7 Replies View Related

General :: How To Enable Debug Message

Dec 29, 2009

I am compiling gstreamer for my ARM board. When i compile that i am not getting "debug" messages. so i want "debug messages" while make my gstreamer. i added "./configure --enable-debug" but still i not getting debug message while i "make".

View 1 Replies View Related

General :: Reduce LVM Messages In /var/log/debug?

Feb 21, 2011

/var/log/debug gets lots of messages any time an LVM snapshot is setup (lvcreate --size ${size}k --snapshot --name "$LVM_snapshot_device" "$LVM_device"). Here is a recent sample.

Code:
Feb 19 22:40:10 CW8 lvm[2163]: Loading config file: /etc/lvm/lvm.conf
Feb 19 22:40:10 CW8 lvm[2163]: Opened /etc/lvm/lvm.conf RO

[code]....

View 5 Replies View Related

General :: Debug Symbols Of GNU Packages

Jul 21, 2011

Where can I find debug symbols of GNU packages, for example for coreutils etc.?

View 3 Replies View Related

General :: Debug Ssh Permissions And Keys?

Nov 15, 2010

I am trying to debug ssh permissions and keys. I am able to connect as root. However, I am unable to login as a new user (e.g., newuser). I have been trying to ssh as localhost to debug the issue. For example:

>ssh -vvvv newuser@localhost

will yield a lot of information. I think this is the relevant section, however, I am unable to resolve:

debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug2: bits set: 533/1024

[Code].....

View 1 Replies View Related

General :: Use A Newly Compiled Dynamic Linker?

Feb 16, 2011

install a newly compiled linker as the default linker on my VM running Ubuntu. I compiled and installed a new custom kernel on my VM (linux-2.6.36) and also compiled (not install) a custom gnu c library (glibc-2.11.2) on the newly installed custom kernel. I am able to run a simple helloworld.c program to verify that my program worked successfully using the newly build dynamic linker in the /elf directory.

I want to replace the real linker inside /lib with the new linker that I compiled. I tried to make the soft link named ld-linux-x86-64.so.2 that originally points to the real linker file ld-2.11.1.so, point to my newly compiled linker, but my VM crashed. I also tried moving the compiled linker and wrote it over the original linker, and the VM crashed. None of the commands worked after that as they could not access any of the shared libraries and I received this error '/bin/bash: No such file or directory'. I also tried to change the LD_LIBRARY_PATH to point to my linker and did not have any luck there either.

View 2 Replies View Related

General :: Install New Module On Newly 2.6.35-rc5 Kernel?

Jul 16, 2010

Recently I was trying to look into vmware pvscsi modules for newly announced linux kernel 2.6.35-rc2. I compiled the kernel with option: make oldconfig where it asked me for various interactive options and all I did is Kept pressing the Enter ENTER key(Donno if that is the correct way to slect default ).The Kernel Compilation anyway went fine and I can see new kernel at grub screen, booted and it went fine.Now when I explored I found that nor the vmware_balloon and vmw_pvscsi modules are present which means I need to install these modules.I came to know that recently a new version of the vmware memory drivers being included through this page:

[URL]

where you can see an entry like:

Code:

MODULE_AUTHOR("VMware, Inc.");
MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.2.1.0-K");
+MODULE_VERSION("1.2.1.1-k");

Doesn't it mean that the new kernel has new driver version inboxed?Also, I tried to install modules through modprobe and insmod(seems that this doesnt work) but couldnt do that.

View 15 Replies View Related

General :: Debug Program And Need Something Like A Virtual Microphone?

Feb 13, 2011

I need debug my program and I need something like a virtual microphone. I would like device "microphone" where I can put sound file and this file will be input for microphone stream. And in application I get this stream from this "microphone"

File -> Microphone -> Application

is it possible?

something like bash command should by very very useful:

aplay --device=mic my_microphone.wav to run a microphone stream

View 2 Replies View Related

General :: How To Debug Fatal Relocation Error

May 31, 2011

Ive been messing around on a Solaris box, installing precompiled lib/programs from the repos by extracting them and placing them in my home dir. It seems everything ive tried sofar works, except for irssi. I get the following error:

$ ~/bin/irssi
ld.so.1: irssi: fatal: relocation error: file /export/home0/leem2/bin/irssi: symbol boot_DynaLoader: referenced symbol not found
Killed

I have run:
$ ldd /export/home0/leem2/bin/irssi
and it has no missing libs

View 1 Replies View Related

General :: Debug The DMESG Mesaage Or Any Link For The Same?

Jan 28, 2011

was trying to understand the messages the DMESG gives .Does any one knows how to debug the DMESG mesaage or any link for the same ?

View 6 Replies View Related

General :: Make Rules In A Makefile - Debug

Nov 17, 2009

Does anyone know if it is possible to make rules in a Makefile that would work like this:

> make debug module
or
> make module debug

where module can be any module that has a specific rule in the Makefile.

The thing I have is a Makefile with different rules that I compile like this:

> make module

What I would like is to add an option so I can compile whichever module with debug-information just by adding a debug to the make command. The debug-information I know how to do, the problem is how to make the Makefile work...

View 2 Replies View Related

General :: Debug A Script That Another Person Wrote.?

Jul 29, 2011

I am trying to debug a script that another person wrote. I am not very strong understanding awk.

cat ${origfile} | awk '{sub("�14","
\page
");print $0 "par"}' >>${rtftempfile}

I know awk is doing some kind of manipulation of the acsii file ${origfile}, just not sure what.

View 6 Replies View Related

General :: Newly Upgraded Ubuntu 11.04 VM Not Booting / Sort It?

Apr 30, 2011

I have just upgraded to 11.04 on my VirtualBox VM, and after I start it, it begins to load, but it stops at the line * Checking battery state... [ OK ]

I have tried the recovery mode, but to no avail. I can access the boot commands and the command line, but I have no idea what to do from either.

Before the above line, there is a highlighted line
* PulseAudio configured for per-user sessions
saned disabled; edit /etc/default/saned

View 1 Replies View Related

General :: Set 775 Permission For All Newly Created Files And Folders

Sep 30, 2010

i am facing a problem regarding permissions. how can i set 775 permission for all newly created files and folders. when i give chmod -R 775 /data permission is getting to all files and folders. but when i create a folder i wont get that permission. i want this 755 permission should be permanent for all old and newly create files

View 7 Replies View Related

General :: Cannot Access The Internet On Newly Installed Fedora

Sep 8, 2010

I have just installed fedora 13 onto my old PC. Everything is great apart from the fact that i cannot access the internet. My isp is TalkTalk, they do not support linux, and have suggested that i contact the Geek squad who might be able to help me for the princely sum of �30. i think that all that i need is the ip address for my Isp or something equally simple and my problem will be solved. failure to resolve this issue means that i might have to go back to windows.

The machinery that i have is an emachines 3210, 2.70 GHz, a Dlink wireless router, i am using a cat 5 cable plugged directly into the back of the pc, i am using fedora 13. ps my son is using windows and is connected to the internet still via WiFi.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved