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

Re: [Xen-API] Where is kernel sources?


  • To: Кирилл Бастриков <sky@xxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: James Bulpin <James.Bulpin@xxxxxxxxxxxxx>
  • Date: Tue, 19 Feb 2013 18:24:37 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Tue, 19 Feb 2013 18:24:51 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac4Ocj9QZrbq6YrYTGu2N6TwbKc9MwAWgSxg
  • Thread-topic: [Xen-API] Where is kernel sources?

> I need to compile new be2iscsi driver from Emulex site in XCP 1.6, but
> it requires kernel sources for build as kernel module (.ko file). Where
> i can get it?

Kernel sources should be in the source ISO you can find on the main XCP
download page. However the kernel devel package, are you mention, should
be sufficient for driver module building.

> With kernel-devel i get this result:
> 
> [root@xenserver isc3]# modprobe be2iscsi
> FATAL: Error inserting be2iscsi
> (/lib/modules/2.6.32.43-
> 0.4.1.xs1.6.10.734.170748xen/kernel/drivers/scsi/be2iscsi/be2iscsi.ko):
> Invalid module format

That should work assuming the kernel devel package was the right version
and you built on 32 bit to match dom0. Please could you retry the
modprobe and then run dmesg to see if the kernel said what the problem was.

You did use kernel-xen-devel-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm,
right? That's from the "Binary Package" ISO from the XCP downloads (it's
slightly confusingly listed under "Source Distribution").

Regards,
James


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.