[Pkg-oss4-maintainers] Help packaging oss4 2010

Michel Briand michelbriand at free.fr
Tue Oct 28 22:57:29 UTC 2014


Michel Briand <michelbriand at free.fr> - Tue, 28 Oct 2014 21:36:59 +0100

>
>heroxbd at gentoo.org - Fri, 24 Oct 2014 12:09:43 +0900
>
>>Hello, Michel,
>>
>>Sébastien Noel <sebastien at twolife.be> writes:
>>
>>> as i say earlier, i'm no longer a user of oss4 myself so if you want
>>> to help maintaining the packages, feel free to send patches
>>> to the mailing list or to join the pkg-oss4 team on alioth.
>>>
>>> oss4 build2010 is already in our SVN repository
>>> it just need testing before "somebody" could upload it
>>>
>>>
>>> Le 2014-10-06 12:56, Michel Briand a écrit :
>>>> I'm interested in testing oss4 2010 on Debian 7 and testing.
>>>> Is there any activity on this topic. Do you need help ?
>>
>>We have oss4.2 build2010 accepted in unstable serveral hours ago.
>>There are still a couple of lintian warnings to be nailed.  The most
>>important issue in my mind is that the present package ignores dpkg
>>cflags and ldflags, which should be fixed.
>>
>>Your help is much welcomed.  As Sébastien said, find us on alioth,
>>
>>    https://alioth.debian.org/projects/pkg-oss4
>>
>>and join, or send patches directly to the mailing list.
>>
>>Cheers,
>>Benda
>
>Hello,
>
>nice to see there is people using & maintaining oss4 :).
>
>I tried 'apt-get source oss4/unstable'
>and I got this version:
>
>-- Matthias Klose <doko at debian.org>  Wed, 15 Oct 2014 13:56:56 +0200
>
>whereas I've seen in svn that the version is:
>
>-- Sebastien NOEL <sebastien at twolife.org>  Thu, 23 Oct 2014 10:11:18
>+0200
>
>
>Anyway.
>
>The debian modules build successfully but when kernel module is built
>with dkms there are many errors (log attached).
>
>
>I tried to fix them and here is my patch (ugly, need clean up)
>attached.
>
>
>Regards,
>Michel
>

Note: I'm running the kernels from wheezy-backports

linux-image-3.14-0.bpo.1-amd64 3.14.12-1~bpo70+1
linux-image-3.16-0.bpo.2-amd64 3.16.3-2~bpo70+1

I've installed a more recent kernel but did not rebooted yet ;)...
(102d uptime)


After having compiled the 'core' directory I looked into the 'drivers'
directory.

Here is the patch for the first couple of errors:


diff -ru /usr/src/oss4-4.2-build2007/drivers/pci_wrapper.inc
drivers/pci_wrapper.inc
--- /usr/src/oss4-4.2-build2007/drivers/pci_wrapper.inc 2014-10-28
20:16:21.000000000 +0100 +++ drivers/pci_wrapper.inc     2014-10-28
23:27:38.310834592 +0100 @@ -17,7 +17,7 @@ static dev_map_t
dev_map[MAX_INSTANCE]; static int n_devmap = 0;
 
-static int __devinit
+static int
 osspci_probe (struct pci_dev *pcidev, const struct pci_device_id
*pciid) {
   oss_device_t *osdev;
@@ -65,7 +65,7 @@
   return 0;
 }
 
-static void __devexit
+static void
 osspci_remove (struct pci_dev *pcidev)
 {
   int i;


After installing the drivers manually (make modules_install), I roamed
a little around ... to finally discover that I had to load the proper
module manually and create device nodes manually. I hope this is
properly handled by the debian package :) !

Sound works now !
Wow! it has been a long time since I heard the sound from oss ;) !!!

Regards,
Michel



More information about the Pkg-oss4-maintainers mailing list