[parisc-linux] Tracking down crash in 2.4.6 kernels on B160L

Grant Grundler grundler@puffin.external.hp.com
Sun, 29 Jul 2001 13:46:32 -0600


Scott Ashcroft wrote:
> I've rebuilt a kernel with EARLY_BOOTUP_DEBUG defined in
> linux/arch/parisc/kernel/pdc_console.c so I get some console output
> before the crash.

Excellent. I've got good and bad news for you.
The good news is I think I know what the problem is.

...
> Looks like it goes bang in probe_serial_pci to me as IAOQ is in that
> function.

That makes sense. Your box has no serial under PCI right?

If not, the code in drivers/char/serial.c looks broken:

static int __devinit serial_init_one(struct pci_dev *dev,
                                     const struct pci_device_id *ent)
{
        struct pci_board *board, tmp;
        int rc;
  
        for (board = pci_boards; board->vendor; board++) { 
                if (board->vendor != (unsigned short) PCI_ANY_ID &&
                    dev->vendor != board->vendor)
                        continue;
...

If pci_boards is NULL...anyway, that code is gone in 2.4.7 and
we will merge up again with the linus' tree again shortly.

You could try to build a kernel w/CONFIG_PCI disabled.
If that config doesn't build, file a bug about the fact that it didn't build.
You could also file a bug against "kernel" project at bugs.parisc-linux.org
and that could be closed once someone demonstrated the next merge fixes the
problem. In short, please file at least one bug.

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253