public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: 4Front Technologies <dev@opensound.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: "Martin J. Bligh" <mbligh@aracnet.com>,
	linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: Stop the Linux kernel madness
Date: Fri, 18 Jun 2004 13:59:55 -0700	[thread overview]
Message-ID: <40D357CB.8020904@opensound.com> (raw)
In-Reply-To: <20040618204655.GA4441@mars.ravnborg.org>

Sam Ravnborg wrote:

> On Thu, Jun 17, 2004 at 05:27:45PM -0700, 4Front Technologies wrote:
> 
>>Our commercial OSS drivers work perfectly with Linux 2.6.5, 2.6.6, 2.6.7
>>and they are failing to install with SuSE's 2.6.5 kernel. The reason is that
>>they have gone and changed the kernel headers which mean that nothing works.
>>
>>For instance our kernel interface module doesn't compile anymore we see the 
>>following
>>errors:
>>
>>
>>>make -C /lib/modules/`uname -r`/build scripts scripts_basic 
>>>include/linux/version.h
>>>make[1]: Entering directory `/usr/src/linux-2.6.5-7.75-obj/i386/bigsmp'
>>>make[1]: Nothing to be done for `scripts'.
>>>make[1]: *** No rule to make target `scripts_basic'.  Stop.
>>>make[1]: Leaving directory `/usr/src/linux-2.6.5-7.75-obj/i386/bigsmp'
>>>make: *** [ossbuild] Error 2
>>>
>>>Trying to compile using 
>>>INCLUDE=/lib/modules/2.6.5-7.75-bigsmp/build/include
>>>In file included from /usr/include/asm/smp.h:18,
>>>                from /usr/include/linux/smp.h:17,
>>>                from /usr/include/linux/sched.h:23,
>>>                from /usr/include/linux/module.h:10,
>>>                from src/sndshield.c:49:
>>>/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
>>>In file included from /usr/include/asm/smp.h:18,
>>>                from /usr/include/linux/smp.h:17,
>>>                from /usr/include/linux/sched.h:23,
>>>                from /usr/include/linux/module.h:10,
>>
>>
>>
>>Why is this happening?. It's working fine with Linux 2.6.5 and also worked 
>>with
>>Linux 2.6.4 kernels from SuSE 9.1
> 
> 
> It looks like SuSE as the first distribution took the sane approach to
> seperate source and output files.
> I presume they have documented this somewhere - and I have a patch
> from Andreas G. that should actually solve this if a module is
> compiled in the usual way like you do.
> 
> So you seems to be bitten by a distributor starting to use a new
> facility in kbuild.
> 
> Why did you not post the error in your first mail btw?
> 
> 	Sam
> 


Sam,

The problem is that we had our software working correctly with Linux 2.6.7
and when we started to get a flood of support requests from our customers, I
just pulled down the sources from kernel.org to see what might be the
differences and when you start seeing huge 12.8 Megs of differences between
2.6.5 from kernel.org and SuSE's 2.6.5 kernel, you start to wonder if the
problem is with your software.

The fact is that we discovered belatedly that the whole problem
was nothing but a broken build link to the correct sources makes my point
that a) there are no standards for shipping sources for out-of-kernel modules
to be able to build b) massive variations from the vanilla kernels causes
developers to have to keep doing #ifdef SUSE or #ifdef REDHAT or #ifdef DEBIAN
and #if (SUSE && LINUX-2.6.5) && !(REDHAT && LINUX 2.6.5) and so on....is a
cause for massive amounts of grief.

I apologize for not having the forsight to figure out that KBUILD was the
problem.


best regards

Dev Mazumdar
-----------------------------------------------------------
4Front Technologies
4035 Lafayette Place, Unit F, Culver City, CA 90232, USA.
Tel: (310) 202 8530		URL: www.opensound.com
Fax: (310) 202 0496 		Email: info@opensound.com
-----------------------------------------------------------

  reply	other threads:[~2004-06-18 21:07 UTC|newest]

Thread overview: 181+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18  0:09 Stop the Linux kernel madness 4Front Technologies
2004-06-18  0:20 ` Kyle McMartin
2004-06-18 14:51   ` Jesper Juhl
2004-06-18 14:54     ` Jesper Juhl
2004-06-19  2:36     ` Horst von Brand
2004-06-18  0:21 ` Martin J. Bligh
2004-06-18  0:27   ` 4Front Technologies
2004-06-18  0:31     ` Christoph Hellwig
2004-06-18  5:51     ` Martin J. Bligh
2004-06-18 10:39     ` Bernd Petrovitsch
2004-06-18 15:48     ` Andreas Gruenbacher
2004-06-18 17:30       ` Martin Schlemmer
2004-06-18 17:53       ` 4Front Technologies
2004-06-18 18:28         ` Timothy Miller
2004-06-18 18:23           ` 4Front Technologies
2004-06-18 18:54             ` Kyle Moffett
2004-06-18 20:31               ` Hannu Savolainen
2004-06-18 21:37                 ` Kyle Moffett
2004-06-18 19:08             ` Valdis.Kletnieks
2004-06-18 19:43             ` Timothy Miller
2004-06-18 19:02         ` Andreas Dilger
2004-06-18 20:12           ` 4Front Technologies
2004-06-18 19:36             ` Andreas Dilger
2004-06-18 19:40             ` Valdis.Kletnieks
2004-06-18 20:29               ` David Lang
2004-06-18 20:54                 ` Valdis.Kletnieks
2004-06-20 12:56                 ` Hannu Savolainen
2004-06-20 22:11                   ` David Lang
2004-06-21  1:16                     ` 4Front Technologies
2004-06-21  7:07                       ` Hannu Savolainen
2004-06-21  7:25                         ` Xavier Bestel
2004-06-21  8:27                           ` Hannu Savolainen
2004-06-21 13:12                             ` Denis Vlasenko
2004-06-22  2:06                       ` Andrea Arcangeli
2004-06-22  7:54                         ` Hannu Savolainen
2004-06-22 11:19                           ` Denis Vlasenko
2004-06-22 16:48                             ` 4Front Technologies
2004-06-22 17:46                           ` V13
2004-06-19 16:35       ` Jari Ruusu
2004-06-18 20:46     ` Sam Ravnborg
2004-06-18 20:59       ` 4Front Technologies [this message]
2004-06-18 22:59         ` Thomas Gleixner
2004-06-19 16:36       ` Jari Ruusu
2004-06-19 18:01         ` Roman Zippel
2004-06-19 21:12           ` Martin Schlemmer
2004-06-20 15:43           ` Jari Ruusu
2004-06-18  0:39 ` Andrew Morton
2004-06-18  1:29   ` Nicholas S. Wourms
2004-06-18  8:27   ` Jens Axboe
2004-06-18 14:43     ` Rik van Riel
2004-06-18 15:13       ` William Lee Irwin III
2004-06-18 15:33         ` Jan-Benedict Glaw
2004-06-18 17:17           ` Paul Jakma
2004-06-18 18:24             ` Jan-Benedict Glaw
2004-06-18 19:02           ` Tim Bird
2004-06-18 19:45             ` Timothy Miller
2004-06-18 19:46               ` Jan-Benedict Glaw
2004-06-18 20:05             ` Rik van Riel
2004-06-18 20:08               ` Jan-Benedict Glaw
2004-06-18 21:03                 ` jsimmons
2004-06-18 21:10                   ` Jan-Benedict Glaw
2004-06-18 21:13                     ` Jens Axboe
2004-06-18 21:38                       ` Jan-Benedict Glaw
2004-06-18 23:18                         ` jsimmons
2004-06-19  8:19                           ` Jan-Benedict Glaw
2004-06-19  3:34                         ` Horst von Brand
2004-06-22 13:24                           ` Jan-Benedict Glaw
2004-06-18 22:05                   ` viro
2004-06-18 22:10                     ` Jan-Benedict Glaw
2004-06-19 12:42                   ` Francois Romieu
2004-06-19 13:55                     ` Jan-Benedict Glaw
2004-06-20 10:21                       ` Geert Uytterhoeven
2004-06-22 19:34                     ` jsimmons
2004-06-18 20:20               ` Tim Bird
2004-06-18 20:50                 ` Jan-Benedict Glaw
2004-06-18 20:05             ` Jan-Benedict Glaw
2004-06-18 20:03           ` Rik van Riel
2004-06-19 12:09           ` John Jasen
2004-06-19 12:29             ` lkml
     [not found]       ` <2c0942db040618100264ea6b7d@mail.gmail.com>
2004-06-18 17:27         ` Ray Lee
2004-06-18 20:51       ` Andrew Morton
2004-06-18 21:03         ` Rik van Riel
2004-06-18 21:26           ` Jan-Benedict Glaw
2004-06-18 21:17         ` Jens Axboe
2004-06-19 20:59           ` Lars Marowsky-Bree
2004-06-18  0:44 ` viro
2004-06-18  1:00   ` 4Front Technologies
2004-06-18  1:20     ` Roman Zippel
2004-06-18  1:33       ` 4Front Technologies
2004-06-18 10:12         ` Roman Zippel
2004-06-18 17:37           ` Hannu Savolainen
2004-06-18 20:26             ` Roman Zippel
2004-06-18 21:52             ` Jeff Garzik
2004-06-18 22:26               ` Matt Domsch
2004-06-18 23:13                 ` 4Front Technologies
2004-06-19  8:44               ` Hannu Savolainen
2004-06-19  2:59             ` Horst von Brand
2004-06-18  9:57       ` Petr Vandrovec
2004-06-18 13:47         ` Olaf Hering
2004-06-18 14:03           ` Petr Vandrovec
2004-06-18 14:59             ` Duncan Sands
2004-06-18  1:20     ` viro
2004-06-18  1:25     ` Thomas Gleixner
2004-06-18  1:31     ` Nick Piggin
2004-06-18  1:37       ` 4Front Technologies
2004-06-18  1:41         ` Nick Piggin
2004-06-18  2:17         ` Erik Harrison
2004-06-18  7:45         ` John Bradford
2004-06-18  9:05           ` Jan-Benedict Glaw
2004-06-18  1:34     ` Bernd Eckenfels
2004-06-18 10:51       ` Giuseppe Bilotta
2004-06-18  8:48     ` Flavio Stanchina
2004-06-18 10:25     ` Matthias Andree
2004-06-20  5:28       ` Ryan Anderson
2004-06-20  8:13         ` Jaroslav Kysela
2004-06-22 15:17         ` Matthias Andree
2004-06-22 18:22           ` Bill Davidsen
2004-06-18 15:42     ` Timothy Miller
2004-06-18  1:07 ` thinkliberty
2004-06-18  1:12   ` 4Front Technologies
2004-06-18  1:21     ` CaT
2004-06-18  1:37     ` Bastiaan Spandaw
2004-06-18  1:46       ` 4Front Technologies
2004-06-18  2:06         ` Thomas Gleixner
     [not found]           ` <40D259DD.6020604@opensound.com>
2004-06-18 22:53             ` Thomas Gleixner
2004-06-18  5:54         ` Jan-Benedict Glaw
2004-06-18  8:50         ` Helge Hafting
2004-06-18 11:05         ` Redeeman
2004-06-18 15:25         ` Jeff Garzik
2004-06-18 15:51         ` Timothy Miller
2004-06-18 16:53           ` Alex Goddard
2004-06-18 15:46     ` Timothy Miller
2004-06-18  6:40 ` Arjan van de Ven
2004-06-18  8:10 ` Clemens Schwaighofer
2004-06-18 15:34 ` Timothy Miller
     [not found] ` <mailman.1087541100.18231.linux-kernel2news@redhat.com>
2004-06-18 19:47   ` Pete Zaitcev
2004-06-19 16:35     ` Jari Ruusu
2004-06-19 20:52       ` Lars Marowsky-Bree
2004-06-20 15:43         ` Jari Ruusu
2004-06-20 20:44           ` Andreas Gruenbacher
  -- strict thread matches above, loose matches on Subject: below --
2006-10-08  4:43 2.6.19-rc1: known regressions (v2) Trond Myklebust
2006-10-08  4:55 ` Adrian Bunk
     [not found]   ` <1160283948.10192.3.camel@lade.trondhjem.org>
2006-10-08  6:39     ` Adrian Bunk
2006-10-08  7:45       ` Pekka Enberg
2006-10-08 17:28         ` Adrian Bunk
2006-10-08 17:34           ` Jan-Benedict Glaw
2006-10-08 17:59             ` Adrian Bunk
2006-10-08 18:04               ` Jan-Benedict Glaw
2006-10-08 18:15                 ` Adrian Bunk
2006-10-08 18:22                   ` Jan-Benedict Glaw
2006-10-09  1:49             ` Horst H. von Brand
2004-06-22 14:38 Stop the Linux kernel madness Petr Vandrovec
2004-06-22 15:12 ` Jan-Benedict Glaw
2004-06-22 17:32   ` Christoph Hellwig
2004-06-22 18:42     ` Jan-Benedict Glaw
2004-06-22 19:52       ` Petr Vandrovec
2004-06-23 14:58       ` Timothy Miller
2004-06-23 15:03         ` Christoph Hellwig
2004-06-23 16:03           ` Petr Vandrovec
2004-06-23 18:26             ` Vojtech Pavlik
2004-06-23 18:27               ` Lars Marowsky-Bree
2004-05-28  1:55 ftp.kernel.org Ricky Beam
2004-05-28  2:29 ` ftp.kernel.org Martin J. Bligh
2004-05-28  4:21   ` ftp.kernel.org Ricky Beam
2004-05-28  8:41     ` ftp.kernel.org Mark Watts
2004-05-28  6:21       ` ftp.kernel.org Chris Shoemaker
2004-05-28 15:01         ` ftp.kernel.org Theodore Ts'o
2004-05-28 16:32           ` ftp.kernel.org Andreas Dilger
2004-05-29 15:30             ` ftp.kernel.org Daniel Egger
2004-05-30  0:29               ` ftp.kernel.org H. Peter Anvin
2004-05-30  9:43                 ` ftp.kernel.org Andrew Walrond
2004-06-13 22:22                 ` ftp.kernel.org Pedro Larroy
2004-05-28 19:08           ` ftp.kernel.org Chris Shoemaker
2004-05-28 22:15           ` ftp.kernel.org H. Peter Anvin
2004-05-28  8:55       ` ftp.kernel.org Jan-Benedict Glaw
2004-05-28 11:10         ` ftp.kernel.org Mark Watts
2004-05-28 13:57           ` ftp.kernel.org Keith Owens
2004-05-28 22:16           ` ftp.kernel.org H. Peter Anvin
2004-05-29 21:05         ` ftp.kernel.org Horst von Brand
2004-05-30  6:52           ` ftp.kernel.org H. Peter Anvin
2004-05-28 22:17 ` ftp.kernel.org H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40D357CB.8020904@opensound.com \
    --to=dev@opensound.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox