Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Mario, have you read it yourself? It doesn't answer my question. But in one place it says
It means these driver remain in memory even after OS loads? So OS can use its methods, right? Can OS overwrite these methods?The device drivers are other pieces of software that identify the base hardware components such as keyboard, mouse, hard drive and floppy drive. Since the BIOS is constantly intercepting signals to and from the hardware, it is usually copied, or shadowed, into RAM to run faster.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
No. I haven't read it. I just know the information to be correct. If it doesn't answer your question then I'm afraid I misunderstood it. I thought you were asking how the bios operated.
As for your last question, yes. At least that is how it used to be with the 16 bit systems when I had a better understanding of how the OS and BIOS interacted. Some drivers where shadowed into RAM for easier and quicker access. And this shadowing mechanism could be configured in the BIOS itself.
These "new" operating systems are a new ball altogether though. PnP for instance, can (and will) remap device drivers IRQs. So, I cannot say exactly how it works these days.
What I am surpised though is with two things...
. How this whole conversation steamed from installing linux. Especially when we are talking here of such a common and easy to use distro.
. And why do you insist Fedora Core 5 can use a driver you have disabled in your BIOS.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Thanks for the link, but it was better to fully understand the question first.No. I haven't read it. I just know the information to be correct. If it doesn't answer your question then I'm afraid I misunderstood it. I thought you were asking how the bios operated.
This thread not because I can't install that common easy to use ditro (I have started a seperate thread for it in general board because I am in a big trouble with it). Its just because I was puzzled and I want to know about BIOS duty when OS is running.How this whole conversation steamed from installing linux. Especially when we are talking here of such a common and easy to use distro.
Strange, I didn't insist in anything and I didn't talk about driver.And why do you insist Fedora Core 5 can use a driver you have disabled in your BIOS.
I just said Fedora detects both HDDs while I've disabled one of them. It is a fact. Till now I thought OS can read HDDs and some sorts of hardware by using BIOS. But when I saw that fact, that Linux detected that disabled HDD, I searched in my head and when I collected all my knowledge, I saw two things. First I saw OS don't really need BIOS for some task as it can do them itself. Second, I saw that there is a lack of knowledge about this object in my brain (One of that valleys). I don't know what tasks are done by BIOS when OS is running. I have never thought about that actually.
Last edited by siavoshkc; 08-08-2006 at 02:44 PM.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
I still have a hard time believing that linux is finding a harddrive that's disabled in your BIOS:
http://dirac.org/linux/boot/
The first part of booting involves running code stored in the computer's ROM (Read Only Memory). This code is called BIOS (Basic Input/Output System). BIOS has only two functions:
1. Memory and device detection and diagnostic checks (also known as "posting")
2. Loading a bootstrap program from the boot disk into memory. This bootstrap program will eventually load the operating system.Device detection and configuration
One of the kernel's first jobs is to check out the system and see what hardware is present. When you compiled the kernel, you told it about what devices it should expect to find. Upon starting, the kernel tries to locate and initialize each device you told it about. Here is an example of my kernel looking for the printer that I configured:
parport0: Printer, Hewlett-Packard HP LaserJet 6MP
Device information at this point is usually underspecified so the kernel tires to determine the other information it needs by probing the bus for devices and asking the appropriate drivers for information. The drivers for devices that are missing or that don't respond to a probe are disabled. Even if a device is later connected to the system, it will not be accessible to unix processes until the machine has been rebooted.
If you understand what you're doing, you're not learning anything.
Also found this here: http://www.debian.org/releases/stabl...h03s06.html.en
3.6.3.4. Shadow RAM
Your motherboard may provide shadow RAM or BIOS caching. You may see settings for “Video BIOS Shadow”, “C800-CBFF Shadow”, etc. Disable all shadow RAM. Shadow RAM is used to accelerate access to the ROMs on your motherboard and on some of the controller cards. Linux does not use these ROMs once it has booted because it provides its own faster 32-bit software in place of the 16-bit programs in the ROMs. Disabling the shadow RAM may make some of it available for programs to use as normal memory. Leaving the shadow RAM enabled may interfere with Linux access to hardware devices.
If you understand what you're doing, you're not learning anything.
And I found this at this errrrr, extravagant, website: http://www.ibiblio.org/pub/linux/doc...1/SSR01-07.htm
The BIOS is the initial program, on the system boards ROM's. DOS uses it to access the hardware, Linux doesn't use it, except to boot-strap-load the kernel.
If you understand what you're doing, you're not learning anything.
You are really something, aren't you?Originally Posted by siavoshkc
I'll suggest in turn, you first do some research before asking. That way you will be able to better put your question or have it answered before having the need to post. How about that?
I don't have to be guessing what you really mean with your question when little of it makes any sense.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
That except, is a big except.Originally Posted by itsme86
http://linuxgazette.net/issue70/ghosh.html
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
But still, I'm just referring to the device detection stuff. I still don't see how the BIOS can load the bootstrap information that's in the first sector of a harddisk that's disabled in the BIOS, but whateverOriginally Posted by Mario F.
If you understand what you're doing, you're not learning anything.
It is not true in my case. Linux setup (Anaconda) read the HDD.I still don't see how the BIOS can load the bootstrap information that's in the first sector of a harddisk that's disabled in the BIOS
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
No, there's absolutely no conflict of statements here.
Linux, once loaded, will completely ignore the BIOS and instead rely on its device drivers to probe and detect the hardware. If you disabled a device in BIOS, Linux will not care. Thus, Anaconda will not care.
If you disable the HDD Linux is installed on, however, it will never get loaded. But that's not the case here: I presume Anaconda is running from an installation CD, right?
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
No, there's absolutely no conflict of statements here.
Linux, once loaded, will completely ignore the BIOS and instead rely on its device drivers to probe and detect the hardware. If you disabled a device in BIOS, Linux will not care. Thus, Anaconda will not care.This is before loading Linux, after that BIOS is completely ignored. Intresting!So, does this mean Linux never uses BIOS during the entire process of "bootstrapping"? Well, the answer is No, Linux is forced to use BIOS in the bootstrapping phase when it has to retrieve the Kernel image from disk or some other external device.
[edit]
First I did some searching. Second my english is not as good as you, ask me to explain more if questin was vague.You are really something, aren't you?
I'll suggest in turn, you first do some research before asking. That way you will be able to better put your question or have it answered before having the need to post. How about that?
I don't have to be guessing what you really mean with your question when little of it makes any sense.
Subhasish Ghosh is as old as me (1 year older), but his (her) knowledge is three times more than me, intresting too!
Last edited by siavoshkc; 08-08-2006 at 05:08 PM.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
Yeah it's called x86 protected-mode.Can OS bypass the BIOS?
I read somewhere that some OSes have to use BIOS calls for ACPI.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C