Xen kernel oops loading 3w-9xxx driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-3.2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I had been trying to bring up a new ubuntu server to use as a xen server using gutsy. Attempting to boot the xen kernel (after installing ubuntu-xen-server) I was unable to get past initramfs because the 3w-9xxx module would throw an error while loading.
Thinking that perhaps it was something that was fixed in the newer kernel I upgraded to hardy but received the same error...
The error is exactly the same as reported in this posting http://
Follow through on the thread I patched drivers/
The patch is very brief:
--- linux-2.
+++ linux-2.
@@ -2011,14 +2011,25 @@
pci_set_
- if (pci_set_
- || pci_set_
- if (pci_set_
- || pci_set_
- TW_PRINTK(host, TW_DRIVER, 0x23, "Failed to set dma mask");
- retval = -ENODEV;
- goto out_disable_device;
- }
+/* Re-instated following chunk of code to replace the commented out block below it.. */
+
+ retval = pci_set_
+ if (retval) {
+ TW_PRINTK(host, TW_DRIVER, 0x23, "Failed to set dma mask");
+ goto out_disable_device;
+ }
+/* Commented out as per suggestion in thread on xen devel list
+ * http://
+ *
+ * if (pci_set_
+ * || pci_set_
+ * if (pci_set_
+ * || pci_set_
+ * TW_PRINTK(host, TW_DRIVER, 0x23, "Failed to set dma mask");
+ * retval = -ENODEV;
+ * goto out_disable_device;
+ * }
+ */
host = scsi_host_
if (!host) {
More info.
I ended up rebuilding the machine, this time using the amd64 netboot image (boot.img.gz) from http:// archive. ubuntu. com/ubuntu/ dists/gutsy/ main/installer- amd64/current/ images/ netboot/
Unfortunately there's no ubuntu-xen-server meta package for 64, yet. :(
I installed linux-image-xen, xen-hypervisor, xen-utils-3.1 and all the things that get pulled in with, then rebooted and the xen kernel didn't have any issues with the 3w-9xxx driver.
So I presume the issues I had before were specific to using the xen kernel on a 32bit system.