On Wed, Aug 31, 2011 at 09:28:05AM -0500, George McCollister wrote:
> On 08/31/2011 09:07 AM, Michael Olbrich wrote:
> >Why is PTXCONF_KERNEL_HEADER enabled at all? The package is mostly used
> >because the kernel header in the toolchain are too old. It seems this
> >version is too old. Newer kernel (2.6.39 here) don't install scsi.h.
> >I don't know which version changed this.
> >I usually use KERNEL_HEADER_VERSION == KERNEL_VERSION.
> >
> >Michael
> >
> BUSYBOX and IPTABLES select KERNEL_HEADER. I recently upgraded my
> kernel from 2.6.33.7 to 2.6.33.9 but I haven't changed the kernel
> headers in the toolchain. I tried using 2.6.33.7 and 2.6.33.9 for
> KERNEL_HEADER_VERSION. I'm using a real-time kernel so upgrading
> isn't so easy. After we get this release out to customers I hope to
> start working with Linux 3.0+ real-time kernels. If you don't think
> this will be a problem for anyone else you can just leave it as is
> and I will put the old udev.make in my workspace/rules until we
> upgrade our kernel.

You could also add this upstream kernel patch to the patch series.
Fixed in 2.6.35...

Regards,
Michael

commit 7407e5bba2cc821950344fd1391d9ad1b7e0b397
Author: Tom Rini <tom_r...@mentor.com>
Date:   Tue Apr 27 14:11:47 2010 -0700

    [SCSI] Unexport scsi/scsi.h from headers_install
    
    The scsi/scsi.h header is normally provided by the libc (and was not
    exported by the kernel since 2.6.24) and has been until it was
    re-exported with 2.6.31.  The kernel version is not userspace clean and
    does not appear to provide anything useable in userland over the
    (e)glibc version.
    
    Signed-off-by: Tom Rini <tom_r...@mentor.com>
    Signed-off-by: James Bottomley <james.bottom...@suse.de>

diff --git a/include/scsi/Kbuild b/include/scsi/Kbuild
index b3a0ee6..f2b9491 100644
--- a/include/scsi/Kbuild
+++ b/include/scsi/Kbuild
@@ -1,4 +1,3 @@
-header-y += scsi.h
 header-y += scsi_netlink.h
 header-y += scsi_netlink_fc.h
 header-y += scsi_bsg_fc.h

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to