Kernel panic on a p630

Anton Blanchard anton at samba.org
Sat Sep 20 02:55:43 EST 2003


Hi Sri,

> I noticed quite a few scsi changes from 2.6.0-test4-mm5 to
> 2.6.0-test4-mm6, which carried on. I was forced to switch back to
> test4-mm5 because every time I upgrade and boot up, I get the message:
>
> VFS: Cannot open root device "sda3" or unknown-block (0,0) Please
> append a correct "root=" boot option
>
> The kernel then panics and the machine reboots. Did this happen to you
> for a p630 and do you know the solution?

The symbios controller is currently checking the return value of
pci_set_mwi. Short term fix is below. As Paul suggested we need a way in
the arch_prepare_mwi code to differentiate between a failure and
everything is good, no need to set the cacheline/mwi bits.

Anton

diff -puN drivers/scsi/sym53c8xx_2/sym_glue.c~sym2patch drivers/scsi/sym53c8xx_2/sym_glue.c
--- gr15/drivers/scsi/sym53c8xx_2/sym_glue.c~sym2patch	2003-09-06 21:36:59.000000000 -0500
+++ gr15-anton/drivers/scsi/sym53c8xx_2/sym_glue.c	2003-09-06 21:36:59.000000000 -0500
@@ -2287,8 +2287,7 @@ sym53c8xx_pci_init(struct pci_dev *pdev,
 	}

 	if (chip->features & FE_WRIE) {
-		if (pci_set_mwi(pdev))
-			return -1;
+		pci_set_mwi(pdev);
 	}

 	/*

_

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list