Programming :: Write A Kernel In A High Level Language Such As Python?

Apr 27, 2010

Most kernels are written in low level programming languages such as C and Assembly. Would it be possible to write a kernel in a high level language such as Python? Many high-level languages are themselves written in C.

View 5 Replies


ADVERTISEMENT

Programming :: Accessing SPI From Kernel Level And User Level

Jan 6, 2009

I want to know what are the advantages and disadvantages for accessing spi(serial peripheral inerface )from kernel level and user level. like methods of doing it, speed ,memeory utilization etc

View 1 Replies View Related

General :: PCM API To Write Audio Data To Sound Card At Kernel Level

May 26, 2011

In playback application i guess "snd_pcm_lib_write1" is the function call used to write the audio data to sound card at kernel level.If that is true. how can i send the same audio data at kernel level to other system connected over LAN.

View 1 Replies View Related

Programming :: What Language Would You Write A Social Networking Site In?

Jan 8, 2010

I'm a full-time developer in my day-job, I get paid real money for it and everything! Nowadays I generally write web-based business apps using VB.net and ASPX.net, but I'v recently been asked to come up with a social networking type site (something in-between Facebook and twitter) that will initially be used for training purposes... don't ask or I'll have to send the men in the dodgie overcoats round

Problem is, it is to be written like real social-networking site, I've no idea what I'm going to make it look like and was, more fundamentally, wondering what to write it in?I've written commercial systems using Perl, PHP, ASP and the .net (VB and C) stuff.

View 9 Replies View Related

Programming :: Accessing And Performing Operations On Base Level Kernel Structure?

Jan 20, 2011

We all know linux kernel base layer is made up of structures, in which every object of kernel is well defined. Structure members correspond to object properties required to define object behavior.

For example if we take case of File system.It composed of four objects , superblock objects, inode objects, file objects and dentry object.Each having well defined structure which is being operated by system call handler and by system call service routine in the kernel mode.

Now my question is even in kernel mode we do not have some mechanism by which we can get access to pointer of these structures.We have some macro.

If I want to manipulate structure on my on way, or performing some more operation defined by me.For example after the crash of Hard Disk Drive, having ext2/3 file system, If i want to know all the inode pointers, and block details.

Can I have some way out to do desired operation ??

mechanism to operate on these base label structures, even in kernel mode ..

View 5 Replies View Related

Ubuntu :: No High Level Format For LS-120?

Nov 29, 2010

I'm running 10.10, but this seems to be an ongoing problem. While every other OS on the planet seems to be able to high level format LS-120 super floppies in their IDE drive, Linux can't. DR DOS can. OS/2 can. Windows 98 forward can.

We aren't talking low level format here. We are talking "quick" format where a new FAT and label are written to the media along with the high level markings/surface scan.

I can load a disk, copy to it, delete from it, but cannot perform a high level format.

View 3 Replies View Related

SUSE :: 10.0 - Low Volume On High Level

Apr 15, 2010

Running Suse 10.0 on a lenovo idea pad and I am having a problem getting the volume set high enough to hear any music, dialogue!. I have set the volume control up as far as it will go but can hardly hear anything. Had this problem running Ubuntu on a Sony laptop but managed to resolve the problem but cannot remember what I done.

View 2 Replies View Related

Ubuntu Security :: Shared Drives (low / High Level Format)?

Jun 10, 2010

i need to shred (or at least do a low/high level format) the drives before giving them to my parents (because they know about undelete and stuff). so, what apps can i use in ubuntu to do this?

View 4 Replies View Related

General :: High Level Command Line Program For Burning CDs And DVDs?

Mar 12, 2010

I'm sick of screwing around trying to script a clean solution to burn multiple files and folders to CDs and DVDs with wodim, growisofs and genisoimage.I'm looking for a high level command line program that uses sensible defaults and takes arguments something like this:[program-name] [cd|dvd] /path/to/dir1/ /path/to/dir2/ /path/to/file ...It should then do all the low level copying and ISO generation transparently and just burn the damn disk!Does anyone have any suggestions? I've looked at several programs but it seems there are too many choices to trawl through and not enough information about them online.

View 4 Replies View Related

Slackware :: Disabling High Intensity At The Video Card Level (text Mode)?

Jun 17, 2011

Kernel 2.6.21.5, slackware 12.0

When you do 'man bash', you'll see some words are highlighted. I'll say that the video card has used high intesity in these instances. How do I disable this video card capability? Can this only be done by recompiling the kernel? Of course, I am talking about the text consoles, i.e., the video card in text mode.

View 2 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Ubuntu :: Can't Write In Persian Language

May 25, 2010

I installed kubuntu10.4 on my laptop(dell vostro 1320) and changed keyboard layout to Persian but I still cannot write in my language.I used-to work by Debian OS , there wasn't such problem there.

View 1 Replies View Related

General :: Read/write Files In C Language?

Sep 8, 2009

Such as the title

View 2 Replies View Related

General :: Write Shell Script For Zabbix Application Level Clustering

Aug 16, 2010

We have zabbix Network monitoring tool installed on two servers 172.17.11.6 ( Master ) and 172.17.11.3 ( Slave ) RHEL 5.4 Servers with 172.17.11.4 being Virtual Ipaddress.We are trying to implement High Availability with Red Hat Cluster Suite.OS level Clustering has been implemented with following cluster configuraiton.

But we need to implement Application level clustering for Zabbix_server process which inturn depends on httpd and mysqld deamons to be running.So I have to check the health of mysqld and httpd with a shell script along with the health of zabbix_server process.Any good tutorials for this ? Any guidlines that I have to follow ?Here I may need to take care of following things when any one of the process goes down

1. Shifhting Virtual IP
2. Shifting /dev/sdb1 ( Shared drive to slave )
3. stopping other services on master
4. starting all the services on slave

View 4 Replies View Related

General :: Extremely Slow Write On Disk With High CPU Usage / Make It Up?

Sep 4, 2010

My problem is extremely slow write on hard disk and 100% cpu usage and it happens when I want to write something on the hard derive not any other external derive.

Tried a fresh ubuntu install. No change. I am not even sure if it is a software or hardware problem.

View 1 Replies View Related

General :: Write A Shell Script Contains Python One?

Oct 22, 2010

I want to write a shell script contains python one. So,the result of python one is flv file. I want the path of this is copied into a enviroment variable that i have to pass as a flag argument of another program (to convert into mp3). To individuate the result of python script I thought to use (in PWD)

Code:
ls | grep -E '^.*mp3$'
But my question is: How can I copy this result into enviroment variable?

View 4 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Red Hat / Fedora :: Unable To Write In Local Language ( Kannada Supported )OPen Office ?

Feb 27, 2009

I have installed open office 2.3 on my fedora system . I have also installed skim , m17 , fonts , im-chooser packages to support writing in my local indian language ( kannada is supported ) . But still i am not able to write in my local langauge

View 1 Replies View Related

General :: Write Either PYTHON Or Bash Shell Scripting?

Jun 4, 2010

I do not know how to write either PYTHON or Bash Shell Scripting. I am to learn one for Linux Administration purpose. Which one will you recommend for a Linux Admin/Eng environment?

View 4 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

Fedora Security :: Python Library For MLS - Write A Program To Change Range For Users?

Apr 16, 2010

I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?

View 5 Replies View Related

Programming :: Unable To Find Description Of Alsa's Programming Language

Dec 19, 2008

I am unable to find a description of alsa's programing language, this sort of stuff:

[Code]...

I need to know what, for example, 'ttable' means and what is its syntax. This seems to be a state secret.

View 2 Replies View Related

Programming :: Arrays In The C Programming Language Are Pointers To The First Element Of The Array?

Mar 27, 2010

I wonder why arrays in the C programming language are pointers to the first element of the array, not the first element of the array itself?

View 14 Replies View Related

Programming :: Framework For Network Programming In C Language Just Like POCO In C++?

Mar 13, 2009

Is there any framework available for network programming in c language just like POCO in c++.

View 1 Replies View Related

Debian Configuration :: Kernel Panic: Power/level Is Deprecated?

Jul 13, 2011

I am currently having issues with system freeze when unmounting portable hard drives. This happens almost every single time. Normal USB sticks are fine and do not produce the freeze. I am using kernel 3.0.0-rc6, however the issue also persists when switching back to 2.6.39. This is the error message i get when freeze occurs, reverting to terminal output:

WARNING! power/level is deprecated use power/control instead
Jul 13 18:26:49 destiny kernel: [ 6196.892776] Call Trace:
Jul 13 18:26:49 destiny kernel: [ 6196.892803]  [<ffffffffa008feec>] ? scsi_setup_blk_pc_cmnd+0x15/0x104 [scsi_mod]

[Code]...

View 2 Replies View Related

Ubuntu :: Make KGDB(kernel Level Debugger) Work On 2.6.35?

Nov 4, 2010

I am writing a device driver and want to debug it using KGDB.Could anyone tell how to install and debug with KGDB on Linux 2.6.35 distribution?

View 2 Replies View Related

Networking :: Packet Generation - Info On Sockets In Kernel Level?

Jul 14, 2011

I am learning about net filters and I am practicing some sample programs on it. I am very new to this and I have a general query. I got the packet to a desired function using PRE_ROUTING hook. Now how do I frame a packet from this point? I am just trying to simulate a echo client server program in the kernel level using these hooks. Any useful info on sockets in the kernel level?

View 1 Replies View Related

General :: 1:1 - What's Meant By There Is Kernel Level Thread For Each Pthread Created

Mar 11, 2011

I have gone thorugh some documents about pthread (NTPL ) in linux 2.6 kernel. As per that linux uses 1: 1 threading model and for each user level thread there is kernel level thread. Pthread_create uses clone system call to create a LWP and the kernel could treat that as a LWP and do scheduling and all .( different from linuxthread). My question is what's meant by there is kernel level thread for each pthread created. Can I see the kernel level thread if I call pthread_create using ps .

What exactly meant by 1:1 .I mean for each user level thread there is kernel level thread . If I make a system call from a thread does the OS services that action via kernel thread ( created using kernel_thread () or some other way ) internally ..

View 1 Replies View Related

Programming :: Site For Learning Programming Language?

May 28, 2010

tell me some sites for learning programing language Because i feel confusing for learning C programing language now I got so many questions by my studing and i want to solve them by myself too.

View 14 Replies View Related







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