Programming :: Kernel: Which GTD Entry Holds The IDT?

Dec 5, 2010

I have to add a new interrupt framework to the kernel (INT 81h). To add the interface descriptor to INT 81h I have to write to the IDT entry 81h. There are some functions of the kernel that can do this task but they can not be used in a module. So I will now do a patch to the kernel and don't know where to start.

Where is INT 80h interface descriptor written to the IDT? - So I could write it maybe the same way in the same function. Which GTD entry is used to write to the IDT (1, 2, 3 or ...) ? - So I can do some debugging.

View 1 Replies


ADVERTISEMENT

Software :: What Kernel File Holds The Functions For The Hardware Configuration

Jan 12, 2010

what kernel file holds the functions for the hardware configuration. I'm interested in finding the hardware timer of the linux and the DMA configuration file. I assume there is a single file that holds configuration data for the platform.This probably is executed before the kernel is started. As is see it this must be some hardware abstraction layer file because the actual kernel code is not platform dependent.

View 1 Replies View Related

Fedora Installation :: Grub Entry Without Kernel ID

Sep 12, 2009

I want to avoid kernel id in Grub entry. I have searched before and one poster (can't find it again) posted a very simple Fedora Grub entry that just pointed to Fedoara's menu.lst. which worked.

For Suse I use:
title openSUSE 11.1 (on /dev/sda7) by symlinks
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 splash=silent showopts vga=0x31a
initrd /boot/initrd
savedefault
boot

I nave tried:
title Fedora
root (hd0,4)
rootnoverify (hd0,4)
chainloader +1

Where Fedora is on sda5 but, doesn't work for some reason.

View 6 Replies View Related

Fedora :: Kernel Update In F12 Does Not Get Set As Default Entry?

Dec 27, 2009

Lately when Fedora 12 updates the kernel it defaults to the last kernel entry and not the newest one. However I set grub to boot entry 0 as the default which is allways the new kernel. It runs like this fine until the kernel updates then it seems to change from 0 to 1 on its own is this a new planned aspect of the new kernel being installed?

View 14 Replies View Related

General :: What Does Kernel Entry In Grub Configuration File Mean

Jun 17, 2011

I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.

I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...

View 1 Replies View Related

OpenSUSE Install :: Grub Looses Menu Entry After Kernel Update?

Oct 15, 2010

I have manually added an entry for Ubuntu in my grub menu, using Yast. But every time the kernel is updated, this entry disappears. On the other hand, the one for Windows, that was added during OpenSuse's installation, is still there. So how can I keep this entry for Ubuntu ?

Edit : when I save the menu configuration in Yast, I get the following message :
Code:
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4 running...

[Code]...

View 9 Replies View Related

Programming :: Get Input From Entry Using Gtk?

May 2, 2011

I'm trying to make a program to simulate a parabolic movement, so i've added 2 entries, one for the initial velocity and other for the angle, anyway you probably don't care about that xD what i want is to take the number entered in the entry and put it in a variable to do the math, and then show everything in a dialog or something. how do i do that?

View 3 Replies View Related

Programming :: PHP Array - Possible To Get More Than Two Values Per Entry?

Jun 13, 2009

I created a class which has to return an array. My problem is I need to return 3 entries per record for example:

Code:
array(
"2009-06-13", "John", "Doe";
"2009-06-13", "Paul", "Simon";
"2009-06-12", "Frank", "Herbert";
);

Can this be done? What is the syntax? Where is the documentation? If this can't be done, How would you return this to a class without using a DB?

View 3 Replies View Related

Programming :: Write The Value To The Proc Entry In The Program?

May 1, 2011

I have a kernel module program which is used to create a entry in the proc file system. I have to read and write values in the entry. Its taken from a online tutorial stuff.how to write the value to the proc entry in the program ?

View 1 Replies View Related

Programming :: Python - Placing A Gtk.Entry() Into A Toolbar

Jun 18, 2011

I've searched the web for quite a while and cannot seem to find a way to add a gtk.Entry() to a toolbar via toolbar.insert().

I currently have this:

Code:

Which in turn spits out "Gtk.Toolbar.insert() argument 1 must be gtk.ToolItem, not gtk.Entry"

How would I do this correctly?

View 2 Replies View Related

Programming :: Scaling Of Directory Entry Lookup?

Feb 28, 2011

I need to create and access a very large number of directories (and by large I mean millions). Each directory's name consists only of numbers, which are incremented every time a new directory is created (so there will be directory 1, 2, and so on).Of course I could just dump all these directories under the same parent directory, but I reckon I would run into filesystem limits. Moreover, I presume that entry lookup is not a O(1) operation, which means that lookup does not scale well.

One solution is to use some sort of prefix tree for storing the data. In this scheme, the data for directory "1234" would actually be stored in "/1/2/3/4".This solution has the advantage that each subtree never has more than 10 entries, but the disadvantage of requiring as many individual lookups as the length of the path.There are also intermediate solutions: using a maximum of 100 entries per directory, "1234" would become "/12/34", per example.In order to choose the best scheme, I must know more about the scalability of directory lookup under Linux. What's the maximum reasonable number of entries for a directory before lookup becomes too slow? Does someone know exactly what are the limitations of the algorithm used for directory lookup?

View 1 Replies View Related

Programming :: Unread Log Entry When Reading Log In Java?

Apr 13, 2011

i want to make program that processing entry in log on real time... I have try to pass "tail -f -n 1 /var/log/messages" command from .runtime().exec and process the output,, description of the algo is like this

-passed to exec()
-read output
-if not same as previous value procces it

but sometimes it loose some entry to procces, maybe it occur when proccesing another entry is added by system...

View 6 Replies View Related

Programming :: Automating Data Entry Into MySQL Database?

Jul 19, 2010

I have set up a MySQL database which has only three fields for user-name, password and index number. But there is a LOT of data (thousands of columns) which would take too long to enter manually. I'm sure MySQL must have a file format whereby a single large file containing different data types can be successfully automatically imported and the various data elements distributed to their intended fields. Does anyone know which characters MySQL uses as field seperators for this formatting of data, or is there a program already written which can take raw data and organize it into a SQL compatible file?

View 8 Replies View Related

Programming :: Rename Files Based On Database Entry?

Jul 8, 2010

I was hoping to get some pointers on how to rename files based on database entry. I got hundreds of thousands of files that has GUID name assigned to it. only way to find out the file name is to look up the database table. Its obvious that this is not efficient. I couldn't find any tutorials on how to do this. Please point me to right direction. A starting point would be very helpful.

View 1 Replies View Related

Programming :: Ld: Warning: Cannot Find Entry Symbol _start

Sep 23, 2010

I am writing a sample nasm program via terminal.It's a basic one ,it only demonstrates the usage of the zero and sign flags and print relevant message to the output. Here are the code:

Code:

SECTION .data; data section
errMsg:db "Error !",10
errLen:equ $-errMsg
zeroMsg: db "Zero flag",10
zeroLen: equ $-zeroMsg

[Code]....

View 2 Replies View Related

Programming :: Calling Umount2() Unmounts Volume But Df Entry Still Visible?

Nov 14, 2010

This is an odd one. I have a C program that calls umount to unmount a volume. A simplified case looks like this:

Code: int main()
{
int rc = umount2("/v0", MNT_FORCE);
if (rc != 0)
{
printf("Unable to unmount volume /v0, err='%s'", strerror(errno));
code....

I also discovered the reverse effect with calling mount() in code. When I make a call like Code: mount(drive, volume, "xfs", MS_NOATIME, NULL); the indicated drive is mounted since I can access the files as expected, but df doesn't show the drive has been mounted.

Why is my C code behaving this way? What do the mount/umount commands do when run from the command line that I'm not doing in my C code?

View 6 Replies View Related

Programming :: Adding A Entry In The Right Click Menu - Java Opensuse?

May 25, 2011

Ok, first is it possible to take a program I wrote and make it to be a entry in the right menu of a file browser program.

Also, can this happen if the program is developed in Java?

OpenSuSE 11.4
Kde 4
Dolphin(file browser)

View 8 Replies View Related

Fedora :: Which Package Holds The Serial Terminal

Mar 14, 2011

Which package holds the serial terminal cu or similar program?

View 2 Replies View Related

Ubuntu :: 250 GB External Hard Drive Only Holds 239 MB

Mar 15, 2011

I have a 250 GB Seagate Expansion Portable Drive that can't hold more than 239 MB. I'm trying to copy an 804 MB file, but I get a "no space left on device" error message after only 239 MB of it has been copied. In other words, the drive's capacity has mysteriously shrunk by over 99.9%.

View 2 Replies View Related

General :: What Is The Command To Find Out What CPU Architecture The Box Holds Out

Apr 8, 2010

What is the command to find out what CPU architecture the Linux Box holds out of following:

[Code]...

View 12 Replies View Related

Slackware :: -current 32 Bit Holds Pan-0.134-x86_64-1.txz Package

Feb 25, 2011

I would like to report that at time of writing the package pan-0.134-x86_64-1.txz is shipped with -current 32 bit. It's not mislabeled, I think it's the actual x86_64 package:

Code: $ pan bash: /usr/bin/pan: cannot execute binary file

View 4 Replies View Related

Debian :: Which Directory/folder Holds The Wallpaper Files

Jun 17, 2010

Debian 5.04
Gnome desktop

Which directory/folder holds the wallpaper files?

View 7 Replies View Related

Fedora :: Bring Up Whatever Service Holds The Network Settings Without GNOME?

Aug 27, 2010

I have a problem with my Fedora system. Whilst I was messing around with my graphics drivers I managed to totally screw up the system, now my desktop won't start, leaving me with just the command prompt. In order to fix it I will need to get my wireless adapter connected to my home network, this is proving tricky. I understand that NetworkManager is responsible for bringing up the network but unfortunately without starting GNOME I don't have the settings available to me (through the nm-cli) or a way to configure it.

Is there a way to bring up whatever service holds the network settings without GNOME? In the meantime I am looking into alternative ways of configuring NM, perhaps through the DBUS interface? Even so, I suspect that I will still need a settings ervice at the end of it..

View 6 Replies View Related

SUSE / Novell :: File Holds The Modules To Be Compiled With Mkinitrd

Jul 13, 2010

We are running SLES 10.3, I am running Novell's support advisor and it is reporting some old hardware that is failing on bootup, one being a QLogic card and another being flex net network adapter. I was looking around for where the file or directory is that holds the list of modules to be loaded when compiling the kernel but SLES does not seem to match other Linux distro's, at least from the other posts I read for where to find these.

View 3 Replies View Related

Programming :: Netlink Sockets In Kernel And Ethernet Driver - Kernel Crash

Aug 31, 2010

I write the network driver. Transmission of packets in user space I do through netlink socket`s. In user space there is a handling of packets and their transmission on other device (however, it isn't important).

Problem in that any time, packets through the driver in system, and is reverse, are transferred normally. But then there comes the moment when the kernel crash. If to look in syslog it seems to me that comes deadlock. Also I think that it is related with netlink socket`s.

I can't find the information on that anywhere how correctly to use netlink socket`s in kernel space. Can at you will any a reason into the account of synchronization of sockets and the driver in kernel space?

I can give the driver code if it is necessary.

View 2 Replies View Related

Programming :: Modify 1 Of My Ldap Attribute If Have 2 Same Attribute Under 1 Entry ?

Jan 26, 2011

Assume, I have the below LDAP entry

Code:

Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret

Do we use?

Code:

And how?

View 1 Replies View Related

Programming :: Paralel Port Kernel Module Programming

Jan 5, 2011

do you have any code to flash led lights with paralel port (device driver programming)or any lecture about this subject .if there is a working code this would be better ofcourse.

View 1 Replies View Related

Server :: Bad Entry In Directory Unaligned Directory Entry?

Apr 1, 2011

I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177

View 4 Replies View Related

Programming :: How To Add Gcc To Kernel

Nov 4, 2010

the kernel is developed for a specific module.there is no gcc compiler.how can I modify the kernel to include GCC rhow to install GCC on the the linux system. the memory is as low as 1GB. I need to install the smallest GCC possible (only for C, C++)

View 14 Replies View Related

Programming :: How To Develop Kernel?

Oct 23, 2010

I just started taking OS implementation class, and you might wonder why im not asking this from my professor, well I have but he said its too soon.I want to know that if someone were to develop a new kernel , where would they start ?If you could just let me know where to start I would appreciate it very much.

View 2 Replies View Related







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