Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 131676
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Luca Barbato <lu_zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nicolas Boichat <nicolas@boichat.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kqemu-0.7.2-fix_module_parm.patch kqemu-0.7.2-fix_module_parm.patch patch Nicolas Boichat 2006-04-29 06:51 0000 914 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131676 depends on: Show dependency tree
Bug 131676 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-29 06:50 0000
2.6.17-* dropped MODULE_PARM.

(Same problem as bug #128470 for kqemu 1.3.0)

------- Comment #1 From Nicolas Boichat 2006-04-29 06:51:40 0000 -------
Created an attachment (id=85765) [details]
kqemu-0.7.2-fix_module_parm.patch

Patch for kqemu-0.7.2.ebuild to apply this patch.

--- /usr/portage/app-emulation/kqemu/kqemu-0.7.2.ebuild 2006-04-20
00:05:34.000000000 +0200
+++ kqemu-0.7.2.ebuild  2006-04-29 15:34:01.000000000 +0200
@@ -39,6 +39,9 @@ src_unpack() {
        # The class_simple interfaces were removed in 2.6.13-rc1, leaving only
        # GPL symbols behind, which this module can't use.  Until there's a fix
        # from Fabrice, kqemu+udev no worky.
+
+       epatch "${FILESDIR}/${P}-fix_module_parm.patch"
+
        cd ${S}

        # Ensure mprotect restrictions are relaxed for emulator binaries

------- Comment #2 From Jakub Moc (RETIRED) 2006-04-29 07:19:09 0000 -------
Why don't you use 1.3.0 which is fixed?

------- Comment #3 From Luca Barbato 2006-05-06 00:46:06 0000 -------
I'm going to remove old qemu ebuilds soon, you need the old version for
particular reasons?

------- Comment #4 From Stefan Schweizer 2006-05-07 05:12:13 0000 -------
the new version is masked, that is why we have this problem.
Unmask it and all will be fine :)

------- Comment #5 From Stefan Schweizer 2006-05-08 02:53:52 0000 -------
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:'
/var/tmp/portage/kqemu-1.3.0_pre7/work/kqemu-1.3.0pre7/kqemu-linux.c


I had to do that today, seems 1.3 is not fixed?

------- Comment #6 From Stefan Schweizer 2006-05-08 13:47:36 0000 -------
I fixed kqemu-0.7.2 and kqemu-1.3.0_pre7, thanks!

------- Comment #7 From Nicolas Boichat 2006-05-09 08:29:14 0000 -------
Works fine. Thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug