Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unloadable oss[4] modules with 2.6.39 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Tue Jun 07, 2011 11:59 pm    Post subject: Unloadable oss[4] modules with 2.6.39 [solved] Reply with quote

Hi, I've updated my kernel pf-sources-2.6.38_p6 to p8 and I cannot unload OSS4 mdoules. This really a big issue because I cannot suspend/hibernate my computer, well actually I can, but cannot restart oss init service as this required to have working soundcards. `lsmod|grep oss' output the loaded modules with an extra `[permanent]' added on each module. If I try to unload those said modules, I have an `unloadable module because used by permanent'. I've switched back to _p6 and I'm looking for a solution otherwise I can rm the _p8 as I cannot use it. And yeah for those who use aufs2 package, no luck to upgrade to .39_p* as the two required patch aren't released yet... sfjro said it will take some time to release them.

EDIT: .39_p2 is available and there seems to be aufs2 patchset on the AUR pf-sources thread. It's over there... I'll see of a possible .39_p* upgrade later.

EDIT2: 2011-06-12:
Darn, BEWARE THAT PROC DIRECTORY WILL BE DELETED IN KERNEL 2.6.39 and upward. That will be a huge issue for those of use who us OSS[4]. OSS[4] has a file `/proc/opensound/devfiles' containing the necessary nodes of the devices... when all this will be removed a patch is required to be able to unload OSS modules. I've tried to clone the [hg/mercurial] OSS-devel repository a few times, but the repositry seem to be offline.
So updating to .39 is impossible without a sign from 4front.

EDIT3[SOLVED]: Thanks for the replies. I went on experimenting a few things and end up by rm-ing 2.6.38-pf8 src directory to make a fresh make. I did make a few changes of my .config file but nothing quiet significant to trigger the successful make. And I did not apply reiser4 patch however I did only remove some <m> or <y> that I did not need anymore and added a few others.

Now I've managed to safely upgrade to .38-pf8. I'll see later for .39-pf2 when aufs2.1-39-{standalone,base} are released by sfjiro as those posted on AUR thread seem not to work--I have an error when compiling aufs2 modules showing clearly that. And why would I update my kernel so quickly? because I have an i915 black locked screen issue. I've just made a stage4 backup of my setup as everything works fine. Now I'm going to restore it to my laptop and see if I can run X and/or load i915 YET ANOTHER i915 BLACK LOCKED SCREEN and weird issues. I have no clue about this one and I did experiment a few settings... Let's try this working settup with pf-sources-2.6.38_p8 to begin with. And thanks.

And yes, the comments in Power Management and ACPI features are not that reassuring about removing directories in .39...


Last edited by tclover on Tue Jun 14, 2011 12:52 pm; edited 4 times in total
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7693
Location: Pelotas, BR

PostPosted: Mon Jun 13, 2011 1:15 am    Post subject: Reply with quote

I am running git-sources-3.0_rc1 and still have the /proc directory. That's probably some compatibility option that you forgot to set.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Mon Jun 13, 2011 2:08 am    Post subject: Reply with quote

That's reassuring because I was doing a safe check of a .config file for pf-sources-2.6.38_p6 and read something about removing directories in proc in the ACPI Power Management Features section. And anyway I'm stuck with either pf-sources-2.6.{38_p8,39_2} or gentoo-sources-2.6.{38-r5,39} because I cannot unload OSS4 modules with the former and cannot upgrade to .39 because aufs2 patchset aren't available (?)... and I'm already stuck with a simple `make' with 39_p2 which gave me a compile error on `mm/filemap.c:141:1: error...'--I did found nothing on google..., actually there's a patchset (8 patchs) on BTRFS which patch that file for CLEAN CACHE ISSUES with 39 and I tried them as a last ressort and nothing came up with it. I'm not in a hurry to upgrade anything, however, as I had an i915 black locked screen without a solution, I'm always looking for a chance to upgrade to see if anything get better--history told me that whenever I update or downgrade my kernel the issue remain and sometimes it's gone when tweaking this and that, but now I have nothing...
Back to top
View user's profile Send private message
angry_vincent
n00b
n00b


Joined: 21 Feb 2010
Posts: 30

PostPosted: Mon Jun 13, 2011 4:50 am    Post subject: Reply with quote

I tested oss4 with a lot of kernels, including .39 and no issues observed so far with /proc
_________________
http://www.funtoo.org
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7693
Location: Pelotas, BR

PostPosted: Tue Jun 14, 2011 11:29 am    Post subject: Reply with quote

tclover, can you post your .config in pastebin?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 3830
Location: Dallas area

PostPosted: Tue Jun 14, 2011 12:03 pm    Post subject: Reply with quote

Code:
config PROC_FS
    bool "/proc file system support" if EXPERT
    default y


It may be set to "n" or commented out.

What does "grep PROC_FS /usr/src/linux/.config" return?
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Tue Jun 14, 2011 12:58 pm    Post subject: Reply with quote

And yes my system runs just fine without the compatibility/deprecated *ACPI_PROC* options.
Quote:
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
# CONFIG_ACPI_PROC_EVENT is not set
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum