superio.c -BUG
Hi all,
Quoted 2 lines
Working on lkcd port of Bruno Vidal on a b2k (gcc-3.0.4), I encounter th=
e
Quoted 11 lines
following bug:
Dump compression value is0x0...
Dump device index 0 ...
Initialise iodc dump device:dump_iodc_init(): reset donedump_iodc_open(): get module info : 16dump_iodc_open(): get ENTRY INIT.
kernel BUG at superio.c:109!
WARNING! Stack pointer and cr30 do not correspond! Dumping virtual address stack insteadWhat is troubling me in the code is the contradiction between code and
comments:
Quoted 3 lines
if ((results & 0x80) =3D=3D 0) {
#ifndef CONFIG_SMP
/* HACK: need to investigate why this happens if SMP ena=bled
Quoted 11 lines
*/
BUG(); /* This shouldn't happen */ #endif return; }[I am running here a kernel 2.4.19-pa24 +
dump_patchof bruno but it is still the same in 2.4.20]Can somebody could confirm me what is right: code or comment?
Stupid question isn't it? (Sorry I need rest)
Never the less, I would go further and notice that:
results =3D inb(IC_PCI1+0);
I well find the declaration of inb as extern unsigned char inb(int addr);=
(in io.h) but can somebody explain me where this function is defined (I scan all .c .h .s and do not find)?
Just to see if a wait does not have to be inserted after previous outb?
Thanks for attention,
Joel
*************************************************************************=
*******
Controlez mieux votre consommation Internet...surfez Tiscali Complete...h= ttp://tiscali.complete.be
Quoted 6 lines · On Fri, Dec 06, 2002 at 03:10:01PM +0100, [email protected] wrote:
Never the less, I would go further and notice that:
results =inb(IC_PCI1+0);I well find the declaration of inb as extern unsigned char inb(int addr); (in
io.h) but can somebody explain me where this function is defined (I scan all .c .h .s and do not find)?
arch/parisc/kernel/pci.c, starting at line 82
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk