[Pkg-uml-pkgs] Bug#521713: UML Headers

Ritesh Raj Sarraf rrs at researchut.com
Mon Jun 18 18:48:11 UTC 2012


On Tuesday 19 June 2012 12:01 AM, Ritesh Raj Sarraf wrote:
> Attached patch installs the kernel headers into the UML package. But it
> is not the equivalent of the kernel header packages shipped by the
> Debian Kernel team. Many of the arch/ specific headers as well as the
> Module symbol versions file is missing.
>
> Thus this does not help in building kernel modules for packages like
> iscsitarget, dkms etc.
>
> Perhaps someone could take and extend it further to provide proper support.

Okay!! Shipping 2 empty directories, build/ and source/, to which we
could hostfs mount the headers path does help in proceed with the build.
It further fails because of the missing Makefiles that are shipped by
the kernel headers package.

root at uml:~# dpkg-reconfigure iscsitarget-dkms

------------------------------
Deleting module version: 1.4.20.2
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
                 /usr/src/iscsitarget-1.4.20.2

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....(bad exit status: 2)
make KERNELRELEASE=3.2.20 -C /lib/modules/3.2.20/build
M=/var/lib/dkms/iscsitarget/1.4.20.2/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.2.20 (x86_64)
Consult /var/lib/dkms/iscsitarget/1.4.20.2/build/make.log for more
information.
root at uml:~# tail ^C
root at uml:~# less /var/lib/dkms/iscsitarget/1.4.20.2/build/make.log
DKMS make.log for iscsitarget-1.4.20.2 for kernel 3.2.20 (x86_64)
Mon Jun 18 18:43:59 UTC 2012
make: Entering directory `/lib/modules/3.2.20/build'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory `/lib/modules/3.2.20/build'

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20120619/60e3e328/attachment-0001.pgp>


More information about the Pkg-uml-pkgs mailing list