I have written a bootloader in ASM (I can post code if you like) and I plan to write a kernel in C /c++ because I don't want to have to deal with a Kernel written ENTIRELY in ASM. Is there any way (Got to keep this under or at 512 bytes) to allow the bootloader, written in ASM, to pass control (like call a method or something) to the C kernel? I'm a newbie to this kind of thing, and I thought I would ask the pros. Please be nice, this is my first post! :icon_cheesygrin:

Member Avatar
Member Avatar
+0 forum 9

Hello! How would you make an Operating System with COSMOS? Heres what I want: * A boot screen, showing a progress bar with the current OS loading status * A desktop with customizable wallpaper * Mouse * A taskbar that shows open programs, a start menu, the time, the sound level, and if your connected to internet or not. * Multitasking support * USB and sound * A propper file system, with a System directory, an Apps directory and a Users directory. * Logon, Logoff and Shutdown screens. * Programs: Internet browser Text editor Media center (can open pictures, videos …

Member Avatar
Member Avatar
+0 forum 1

Good day All. I am a junoir server admin at an ISP in south Africa. We have a problem were one of our clients accounts on cpanel has been hacked. The scripts that were dropped on the server has cause the whole server to become unstable. I am looking for any advice as to what and where i should b looking. Thank you for any assistance

Member Avatar
Member Avatar
+0 forum 3

I'm running Arch Linux with the LXDE DE, if it matters. I want to be able to plug in my HP Deskjet F4480 All-in-One and be able to scan. I tried following instructions on forums by googleing, but came to no sucessful conclusion. I uninstalled all software I installed and came here for some straight-forward help. Anyone?

Member Avatar
Member Avatar
+0 forum 2

i want to develop my own operating system based on open source, can any help me out that how i have to start???

Member Avatar
Member Avatar
+0 forum 4

**NOTE** This code won't work at the application level. It directly addresses memory at 0xB8000 which will result in a segfault at the application level. This code must be part of an OS or an application in a not-so-secure operating system like DOS, where applications can directly address any part of memory. This is some simple code which facilitates the printing of strings, without needing to use an interrupt like `int 0x10`. This gives you the foundations so that you can better customise aspects of how printing is done, so that you can, say, make special control characters or speed …

Member Avatar
Member Avatar
+0 forum 2

Dear ALL, This forum helps me much..and I thank you to everyone who makes this forum useful, even enjoyable. i'd like to ask to all of you, HOW TO CONFIGURE NTP (TIME SERVER) on Red Hat Linux.? I've been trying to setting the NTP across my network, but I never make it done. PS: My computers not connect to Internet, so please let me know how to configure the NTP only on my Local Area Network. Thnanks a lot for your next reply.

Member Avatar
Member Avatar
+0 forum 8

Below is the ip_options_build() in linux kernel 3.4, line 51 and 52: 51 if (opt->srr) 52 memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); I understand that the two lines say, if source routing option is present, copy the destination address to the end of the option, that suggests that iph[opt->srr+1] is the length of the source routing option, but I don't get it why? Thanks! 31/* 32 * Write options to IP header, record destination address to 33 * source route option, address of outgoing interface 34 * (we should already know it, so that this function is allowed be 35 * called only …

Member Avatar
+0 forum 0

I've used malloc countless times, but as far as I know, reading and writing to memory that isn't expressly yours (which is in fact done by the malloc function) causes a segfault. If I wanted to make my own dynamic allocation functions my computer would probably just laugh at me and triple fault all the way to the moon and back. So why doesn't malloc generate segfaults? Does it have special permissions? If it doesn't, would it be possible to make my own malloc functions (which would be really cool)?

Member Avatar
Member Avatar
+0 forum 4

Hi, I want to know how kernal communicates with the Linux operating system in terms of it's roles such as Interrupt Handler, Scheduler, Manager and Supervisor. Kindly assist. Thanks.

Member Avatar
Member Avatar
+0 forum 9

I'm confused with the function: void * page_address(struct page *page) which (1) "convert a given page to its logical address" according to "Linux Kerenl developement 3rd edition" (2) "returns the linear address associated with the page frame" according to "understanding the linux kernel>>" (3) "returns the physical address of the page" according to "understanding the linux virtual memory manager" which one is correct then? Let's take (1): this function takes a pointer to the physical page (page frame), isn't that pointer already the "logical address associated with that page frame" already? what's the difference between that pointer value and the …

Member Avatar
+0 forum 0

Hello... I'm new to Linux environment because of Windows.. So I would like to familiar with Linux/Unix environment also.. In this way I need to know something in Linux platform... major thing is still I don't know how many primary partition can be created in Linux platform.. is it same as well as windows platform or its not..??? thanks for pay your attention to this...

Member Avatar
Member Avatar
+0 forum 3

I currently have the following code for a sprite struct (c-style for use in DLL): typedef struct LABglSpriteTAG { unsigned int glTexture; int w; int h; LABglColour *data; bool compiled; }*LABglSpriteHANDLE; And the following function: void LABglSpriteConvolute(LABglSpriteHANDLE spr, int w, int h, int *kernel) { size_t dim=spr->w*spr->h; LABglColour *out=new LABglColour[dim]; for (size_t i=0; i<dim; ++i) out[i]=0; int centerx=w/2; int centery=h/2; for (int x=0; x<spr->w; ++x) { for (int y=0; y<spr->h; ++i) { for (int kx=0; kx<w; ++kx) { int xx=w-1-kx; for (int ky=0; ky<h; ++ky) { int yy=h-1-ky; int rx=x+(kx-centerx); int ry=y+(ky-centery); if (rx>=0&&rx<spr->w&&ry>=0&&ry<spr->h) out[y*spr->w+x]+=spr->data[ry*spr->w+rx]*(1.0/kernel[ky*w+kx]); } } } } delete[]spr->data; …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I have one question. I need to remove cent OS completely from my hard disk. I have installed windows 7 also. Total size is 320 GB. For windows 270 and for cent OS 70 GB. How to remove cent OS and allocate that space to windows7?

Member Avatar
Member Avatar
+0 forum 8

I am trying to run a python app which controls sevomotors. There is no handshaking, just a bit bang from pin 3 of the DB9 straight into a PIC. There is nothing showing on the oscilloscope: it's just flatlining. I do a dmesg grep | tty and get nothing at all showing. I've done: sudo setserial ttyS0 autoconfig mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8 /sbin/MAKEDEV -v ttyS0 Still nothing shows up on a dmesg [B]Until I run gtkterm[/B]. At which point I can press keys to my hearts content and the scope shows me pretty …

Member Avatar
Member Avatar
+0 forum 2

i am looking for intel video grahpics drivers in RED HAT ENTERPRISE LINUX 6, i want to use 3d features of Intel q963/q965 / GMA 3000 graphics in linux. i have searched on [url]www.intellinuxgraphics.org/[/url] but could not find way to install them on my pc. I also checked that Xorg X11 intel video drivers (2.14.0-1.el6 (x86_64) package is already installed.but how do i select the intel's video driver as my default driver. i am beginner system administrator , not a programmer. help will be appreciated. many thanks.

Member Avatar
Member Avatar
+0 forum 7

Hi there, I am not sure if this is the correct forum for this, but I am currently working with an HPC machine for business use and it is currently running Ubuntu 11.04 (I have yet to update due to software incompatibilities). Anyways, some of the users would prefer to be working within a Windows environment and other in a Linux environment. I found that my best solution would be to dual-boot Windows and Ubuntu, but when looking further into that process, I found that it's not the easiest task as Windows likes to overwrite the Linux boot manager making …

Member Avatar
Member Avatar
+0 forum 9

I use a eeepc and had ubuntu natty 10.** and all worked well but reverted to eeebuntu as not enough memory. I had a Kingston 4GB ext 4 formatted sd memory stick but now eeebuntu says that it can only read ext 3. So do I upgrade (and lose memory) or can I reformat SD stick in ext 3 to gain the extra space? If so how? as I can find no way in linux to do it and if I use partition manager in windows then the SD 'disk' memory 4GB does not show up as it is ext4 …

Member Avatar
Member Avatar
+0 forum 1

Hey, I could use some advice on what to do, what to read, what to mess around with, so that I could understand the Linux Kernel more. Thank you anyone who responds (unless your name is Salem)

Member Avatar
Member Avatar
+0 forum 4

Hopefully my question is pretty simple... Currently I have an ubuntu server (I am not runny server edition, simply the 32-bit desktop distro), but when I built it I was not sure what I was doing with it just yet, but decided to have it as my low-wattage home media server. I installed the OS onto an 80GB drive (had to be ide) and later bought a simple pci sata raid card to add 2 drives (1 3TB drive and 1 1TB drive). I would like to have the 3tb drive be the main file "holder" and have the 1TB …

Member Avatar
Member Avatar
+0 forum 1

Okay, so I don't know much about this and maybe that is why the doubt. I am pretty sure there must be some precaution if some one tries to create (can say a virus) like this : [CODE] while(1) { /* creat system call. to create files continuously. Not difficult to give different file name each time */ } [/CODE] Inode list doesn't get exhausted here right? But what is done to avoid this ? Or does it mean that we cannot create anymore files?

Member Avatar
Member Avatar
+0 forum 2

hi i have Linux knoppix 5.0 on CD, but not installed on my hdd. I'm not sure how my wireless card would work with my pc, but then again, i haven't really tried. I'm running the Linux platform from the CD itself, but I don't know if removing the Linux CD to insert the driver CD for the wireless card will affect the knoppix desktop. How can I install Linux to my hard drive permanently, so that I can subsequently install the drivers I need for things like a wireless card, an external CD/DVD-RW, and so on? thanks.

Member Avatar
Member Avatar
+0 forum 5

Hi all, I have a Pentium 4 with hyper-threading on my Slackware machine. Currently I am running the non-SMP 2.6.24.5 kernel, but I want the option to be able to boot with the 2.6.33.4 SMP kernel as well. I already have Lilo installed on my computer and have a large variety of kernels installed. What I want to know is how I should edit my /etc/lilo.conf file and what kernel I should use: huge/generic? currently my lilo.conf file looks like this: [CODE]# LILO configuration file # generated by 'liloconfig' # # Start LILO global section boot = /dev/hda #compact # …

Member Avatar
+0 forum 0

In setting up an embedded system, a Linux box needed to have a read-only root partition. However, the OS must be able to write to certain files (the drive was partitioned into /, /home, /tmp, /usr, /var with the only read-only being / ). So I created symbolic links to the following files: /etc/mtab (linked to /proc/mounts/etc/mtab) /etc/network/interfaces (linked to /var/network/interfaces) /etc/resolv.conf (linked to /var/network/resolv.conf) /etc/hostname (linked to /var/network/hostname) All work except /etc/hostname. Whenever I create the symbolic link, the system does not boot or fails to boot all the way. Does anyone know a fix or an alternative to …

Member Avatar
Member Avatar
+0 forum 1

Hi all, Was wondering if anyone has had a similar problem.. at the minute I have a few Western Digital 1tb drives, that I have connected to a server running red hat 5 (RHEL 5), but for some reason they aren't showing up at all, even when I try df 2 of the drives were connected straight out of the box, no changes - another was formatted to ext3 and none of them are showing up.. I have a feeling the server doesn't have ntfs drivers or anything installed (tried cat /proc/filesystem and no ntfs) but shouldn't the drives show …

Member Avatar
Member Avatar
+0 forum 3

Hello, I'm building a new machine, but I've hit a road block. Perhaps someone with more experience could answer my questions. My road block is I want to build a computer that will last me for the next few years. That I can use for software development on multiple platforms, and utilize multiple threads. Since I want the computer to last me for a while I want to get something state of the art. That is efficient, and mostly can handle multi-tasking. So the debate. Should I go Intel core i7 2700k, or should I go with AMD's FX? I …

Member Avatar
Member Avatar
+0 forum 2

Hey Guys, I am trying to figure out how Linux determines whether an object in directory is a file or folder. There's got to be a property (I am guessing in Stat) that Linux references from which lets it know quickly. It's hard to find information on google because when you enter a query like "how linux differentiates between file folder" you get a lot of tutorials on what physically makes them different which is annoying :P. Thanks!

Member Avatar
Member Avatar
+0 forum 5

Hi Guys, Im actually assigned a task and in a nutshell i have to implement cache coherence on Android. Now I have messed around with system calls and threads, etc on Linux Ubuntu, but I have never accessed Kernel level Processes or changed protocols before, so im facing a bit of difficulty in this. My question is how can a I access Kernel? and How may i access Android's Kernel? Im totally lost and need a starting push.... :(

Member Avatar
Member Avatar
+0 forum 1

Can anyone tell me how exactly does copy_from_user work....i mean other stuff apart from the checks tat are made regarding passing of valid addresses...etc...is there a VM mapping done....

Member Avatar
+0 forum 0

so my question here is when the parent exits before the child process...in linux....the reparenting is done within the same thread group rite!!??? ...and wots the role of the reaper..i mean after you find a suitable parent task..why is this reaper API called..

Member Avatar
+0 forum 0

The End.