Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21517 - kernel 2.6.36 breaks OSS

Attached to Project: Community Packages
Opened by J. McBlane (Square) - Thursday, 28 October 2010, 19:48 GMT
Last edited by Ionut Biru (wonder) - Thursday, 28 October 2010, 20:59 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ionut Biru (wonder)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Received an error (apologies for not having the exact text) mentioning something about ioctl and happened to come across the solution rather quickly.

http://www.opensound.com/forum/viewtopic.php?f=3&t=3975

Removing the line mentioned in the post works for me.
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 28 October 2010, 20:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  oss-4.2_2003-2
Comment by Ionut Biru (wonder) - Thursday, 28 October 2010, 19:58 GMT
is not the other way around? OSS breaks with 2.6.36 and oss needs to be fixed?
Comment by quantax (quantax) - Thursday, 28 October 2010, 20:32 GMT
I can confirm this error. It happened right after the kernel update. Here is the full error message:

# /etc/rc.d/oss start
:: Starting Open Sound System [BUSY] Relinking OSS kernel modules for "2.6.36-ARCH SMP preempt mod_unload 686 "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.36-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-2.6.36-ARCH'
CC [M] /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:956:6: error: ‘struct file_operations’ has no member named ‘ioctl’
/usr/lib/oss/build/osscore.c:960:14: warning: assignment from incompatible pointer type
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1634:3: warning: return discards qualifiers from pointer target type
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36-ARCH'
make: *** [default] Error 2

Relinking the OSS kernel modules failed
[FAIL]

I also can confirm that removing line 956 from /usr/lib/oss/build/osscore.c allows OSS to be built, start and work again.
Comment by Øyvind Heggstad (Mr.Elendig) - Thursday, 28 October 2010, 20:39 GMT

Loading...