General :: User Application Run Entirely In Kernel-mode?
Dec 17, 2009
I have a question regarding application/process execution and it's the following:
Is it possible a user application (which will regularly be executed at user-space) to be re-written as a kernel-module to allow the entire execution to be under kernel-mode (i.e. no system calls should be needed)? I am not saying that this is the right thing to do; I am just asking if it's doable.
View 4 Replies
ADVERTISEMENT
Apr 20, 2011
In graphic interface, when I use dolphin to view the files in super user mode, this application runs very slowly, and react dull at each request!
View 7 Replies
View Related
Feb 5, 2009
I add new syscall, and it need copy big data into the buffer specified in user mode. How can i do it? use copy_to_user? or can i use memcpy directly? If i use copy_to_use, is it low efficient?v
View 2 Replies
View Related
Dec 1, 2010
My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
View 3 Replies
View Related
Jul 22, 2011
Can anyone suggest a method to change the display settings of HDMI from an application in Linux. I am using fedora core 11 and my PC has intel integrated graphics controller.
View 1 Replies
View Related
Feb 8, 2011
OS: Fedora 14GUI: GNOMEI need to run an application with another user then the "default" (normally used).Purpose: create a ".desktop" file on my desktop to run e.g.: Google Chrome with another user (NOT ROOT! - so beesu doesn't count.)There aren't any gksu, or kdesu packages in Fedora 14. Why?So i want to create a user with "adduser SOMEONE", and i want to run e.g.: Google Chrome with "SOMEONE" - then it will have minimum permissions, "more security".
View 2 Replies
View Related
Aug 10, 2010
I've created Oracle Enterprise 5 Virtual machine. It was running fine but not sure what went wrong and now when ever I reboot the machine, it goes to single user mode. If I enter "init 5" command it boots to multi-user X11 mode without any problem.I checked inittab file and default line has id 5. So it looks OK. What else can be wrong?
View 15 Replies
View Related
Jan 5, 2011
I am writing a simple application that will run as user foo (i.e. Ubuntu user foo).However, the application will connect to my database as (database user foobar). IIRC, database users have nothing to do with Linux system users - but I just need to clarify that.So can an app launched to run as user 'foo', connect to a database as user 'foobar'?
View 1 Replies
View Related
Mar 10, 2011
I need boot in emergency mode (not single user mode), from docs:
[URL]
in red hat enterprise 5 it's ok, not in red hat 6.
View 1 Replies
View Related
Jan 24, 2010
I am trying to set up samba server on my box, and the easiest way seems to be to use the kde4 samba setting dialog. I need to run it as super user though. I tried
su -
systemsettings
but the window doesn't seem to appear on the screen.
View 1 Replies
View Related
Mar 22, 2010
I'm running debian lenny. Suddenly when I rebooted my system I was unable to login. I type root and the password and it tells me the login is incorrect.If I boot into single user mode, it accepts the password just fine. Looking in the /etc/shadow file, it appears to be fine as well.Running passwd to set a new password sets a new password just fine, i can login to single user mode with the new password, however, I cannot login at a higher runlevel with the password.
If I delete a password in the /etc/shadow file, then try to login as that user, it simply says "Login Incorrect" without even asking for a password.
View 14 Replies
View Related
Oct 27, 2009
Upon OS start-up Debian gives a choice, one is just simply start Debian, another line to start Debian, but with brackets (single-user mode). What's this for? And when and why do you need to use this?
View 2 Replies
View Related
Apr 18, 2010
I have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.
View 3 Replies
View Related
Jul 20, 2010
I want to increase the color depth for my user account in kde. I cannot edit the configuration in /etc/X11. Is it possible?
View 2 Replies
View Related
Sep 29, 2010
I have installed firefox to a user directory (version 3.6.10) /cache/app/firefox.
I have installed java jre1.6.0_21 to /cache/app/java/jre1.6.0_21
I have symlinked /cache/app/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so to /cache/app/firefox/plugins/libjavaplugin_oji.so
So, in theory, when I start firefox the plugin should be listed in about:config - wrong. I have lots of other plugins working just fine, but java is not listed anywhere.
I ran strace -F ./firefox >/tmp/output.txt 2>&1 (the -F is necessary as firefox plugins are now loaded in a forked process). Firefox clearly finds my plugin:
It clearly looks like the plugin is being found, opened, and the first 512 bytes read and possibly memory mapped. So why doesn't it appear in the list of plugins?
One clue could be that there's another older plugin lying in the default directories (and I can't change this, I don't have root, hence running firefox in user mode).
Though surely firefox is smart enough to pick the latest one and use that? Is there a way of turning debugging ON during firefox start-up so I can find a debug message that explains why the latest JRE 1.6 plugin is being passed over?
View 1 Replies
View Related
Feb 2, 2009
Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.
I just checked the server logs by booting it in single user mode. Here are some interesting lines:
Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
fsck /: (this is repeated 900+ times)
[code]....
View 1 Replies
View Related
May 10, 2009
What good does getting into single user mode do?And what's the basic purpose of it , i.e is it maintaining purpose???
View 2 Replies
View Related
Mar 31, 2011
An error occured when I install my r8101 dirver. I have got the message:
/home/driver/r8101/src/r8101_n.c:1: error: code model 'kernel' not supported in the 32 bit mode
/home/driver/r8101/src/r8101_n.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[3]: *** [/home/driver/r8101/src/r8101_n.o] Error 1
[Code]......
View 2 Replies
View Related
Aug 11, 2010
I am using RHEL 5.4 in VMware. Recently i have made changes in /etc/sysconfig/selinux and made it to be in "enforcing mode". Now when I rebooted my system, It is showing the following error:
"Unable to load SELinux Policy. machine is in enforcing mode.
Kernel panic- not syncing: Attempted to kill init!"
View 1 Replies
View Related
Apr 26, 2010
I have this dump script that performs either full or incremental backups depending on the day of the week. From what I have read, when using dump you should drop to single user mode to help prevent the backups from being inconsistent before you issue the dump command. What I want is the script to drop to single user mode, perform the backups using dump, and then go back to runlevel 3 after the backups complete.
I know when you enter init 1 to drop to single user mode, but doing so within a script reboots the computer and drops it to single user mode and the rest of the script doesn't complete.What would be a good method for me to be able to accomplish what I want to do? Do I need to run other scripts that would call mine?I am running Centos 5.4
View 1 Replies
View Related
Dec 14, 2010
When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..
View 5 Replies
View Related
Jun 15, 2010
which file is edited of kernel for boosting the application performance at boot
View 2 Replies
View Related
Aug 30, 2010
Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?
Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?
Code:
View 3 Replies
View Related
Mar 25, 2011
I'm just working on fedora for the first time for my proj. So having many difficulties. My first doubt is that is it possible to record audio in single user mode using fedora? I need it for my proj work..I tried arecord and rec in single user mode.. I'm getting an error stating pulse audio connect error. Connection refused..
View 2 Replies
View Related
Jul 13, 2011
I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??
View 3 Replies
View Related
Feb 21, 2010
Basically, About 50% of the time, the system boots and sets the console resolution to something strange, and the console renders in a small box in the top-left hand corner of my screen. This causes problems not only with the display of the console, but with the display of X as well.
I have an Intel GL40 chipset on this laptop, with an integrated GMA4500 GPU. I am using the latest stable Intel video drivers (2.10.0-1), and have tried using the git drivers. In addition, the problem has been occuring since December, when I install Arch linux on this machine, I have just now had the time to address it. So basically, the issue has persisted with all driver versions since mid-December to the latest releases.
In addition, I have tried using several kernels, including:
But the problem persists with each.
I wish I could give you relevant diagnostic information for this issue, but if I had any idea where to start...
I will gladly post any information necessary. I was going to post a copy of everything.log for a successful and unsuccesful boot, but unfortunately they put me over the posing limit by about 100,000 characters each.
I guess, on second thought, that my Intel video driver really wouldn't have anything to do with my console, now would they?
View 9 Replies
View Related
Oct 25, 2010
I'm pretty new to this whole (micro)kernel architecture story.
Im wondering if a kernel module is running in kernel or in user space?
Is a driver running as kernel module slower than a driver build into kernel?
If so, are there some current articles, benchmarks?
View 4 Replies
View Related
Jul 12, 2010
what difference between user and kernel space.
View 2 Replies
View Related
Apr 26, 2011
I want to install a 64bit-only application in my wine.But every time i try to load the installer it says that it only works on a 64bit-system.Iv'e tried the 32-version of the app and it works fine.I heard that since version 1.2 wine is able to support 64bits.But how do I force wine to load an app in 64bit-mode? I'm guessing there is an option to the wine command or something. But what is it? can't find anything in the man-page. And a google on the subject only brings up old posts from people who are trying to install wine in 64bit-ubuntu...
View 2 Replies
View Related
Mar 24, 2010
I am compiling kernel to learn it and as well as for edubook, a netbook I am working on. I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,
Quote:
'make o=/home/pbhat/temp/kcompile menuconfig'
Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out where I went wrong? I was compiling under /usr/src/linux and in Opensuse 11.2.I followed the README apparently written by Linus where I saw the above make syntax.Maybe that is old and hold good no more.
View 3 Replies
View Related