Re: Unable to handle kernel NULL pointer... on cat /proc/pci

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Thu, 25 Sep 1997 16:57:32 +0200 (MET DST)


Gabriel Paubert wrote:

> Perhaps in theory but not in practice, you pass the address of a random
> value. Either the BIOS sets an error return code and does not modify the
> result, or it does not check and it writes all ones to the return value.
> However, in this case the BIOS modifies the return value, and it should be
> set 0xffffffff if the device is not present. The fact that only 1 or 2
> bits are wrong more likely indicates a hardware problem than anything else.

I expect the 0xffffffff to be a "read of an non-driven bus". This usually
turns out to lead to the value <all ones> however bit-errors are allowed:
nobody drove the bus.

On the other hand, you're saying there is a well-defined error
mechanism to detect non-present devices..... Maybe some chipsets don't
consider it important to implement that for configuration space?

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** +31-15-2137555 ** http://www.BitWizard.nl/ **
Florida -- A 39 year old construction worker woke up this morning when a
109-car freigt train drove over him. According to the police the man was 
drunk. The man himself claims he slipped while walking the dog. 080897