Re: dependance loop on 2.6.14-rc1-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I've done a little test, I've remove this line from serial_core.c

+#ifdef CONFIG_KGDB
+       {
+               extern int kgdb_irq;
+
+               if (port->irq == kgdb_irq)
+                       return;
+       }
+#endif


and now the make modules_install works fine.

thanks for the help,
trem



Russell King a écrit :

On Sat, Sep 17, 2005 at 01:40:54PM +0200, trem wrote:
I've tried to compile a 2.6.14-rc1-mm1 on my amd64. When I do the make modules_install,
I have this warning:

WARNING: Loop detected:
/lib/modules/2.6.14-rc1-mm1/kernel/drivers/serial/8250.ko needs serial_core.ko which needs 8250.ko again!

This looks suspicious.  8250 should need serial_core, but there's no
way in hell serial_core should require 8250.
Seems to be caused by the kgdb patches, which add the following to
serial_core:

+#ifdef CONFIG_KGDB
+       {
+               extern int kgdb_irq;
+
+               if (port->irq == kgdb_irq)
+                       return;
+       }
+#endif
+

and kgdb_irq comes from the 8250 module.

Tom, can this dependency be solved before kgdb goes near mainline
please?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux