Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72006 - patch for 2.6.7 to update alsa and fix snd-ioctl32
Summary: patch for 2.6.7 to update alsa and fix snd-ioctl32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://dev.gentoo.org/~eradicator/2.6...
Whiteboard:
Keywords:
Depends on:
Blocks: 55465
  Show dependency tree
 
Reported: 2004-11-21 19:01 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-11-24 00:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1120-CAN-2004-0415.patch (1120-CAN-2004-0415.patch,108.01 KB, patch)
2004-11-23 04:24 UTC, Jeremy Huddleston (RETIRED)
Details | Diff
1363_sparc-kconfig-driver-rework.patch (1363_sparc-kconfig-driver-rework.patch,17.41 KB, patch)
2004-11-23 04:25 UTC, Jeremy Huddleston (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-21 19:01:56 UTC
I put the patch in my devspace because it's 1.5M uncompressed
http://dev.gentoo.org/~eradicator/2.6.7-alsa-ioctl32.patch.bz2

This patch updates the version of alsa included in the 2.6.7 kernel to match that of alsa-driver-1.0.7 with patches to allow snd-ioctl32 to function on sparc  (without it, many 32bit ioctls will result in system lockup).  This was easier than just backporting my patches as the fixed ioctl32 uses functionality added to alsa after the version included with 2.6.7.

sparc still uses 2.6.7 as later kernels have problems on certain sparc hardware, so please get this into 2.6.7-r15 ASAP
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-11-23 02:54:43 UTC
I am getting rejects when applying to gentoo-dev-sources-2.6.7-r14, could you please fix?

Also I get this error, which is odd:
 * Applying 4500_alsa-1.0.7.patch (-p0+)...
patch: pch.c:614: intuit_diff_type: Assertion `i0 != NONE' failed.        [ !! ]
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-23 03:27:16 UTC
It applies against vanilla-2.6.7 and completely replaces the old sound/ and include/sound/ directories except for sound/oss ... The alsa hunks in 1120-CAN-2004-0415.patch should be removed...  would you prefer that I give you a patch against 2.6.7-r14 (that't needlessly bloating the patchset, but if it's easier for you, I will... just let me know...)
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-23 04:24:22 UTC
Created attachment 44549 [details, diff]
1120-CAN-2004-0415.patch

1120-CAN-2004-0415.patch with alsa hunk removed
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-23 04:25:31 UTC
Created attachment 44550 [details, diff]
1363_sparc-kconfig-driver-rework.patch

1363_sparc-kconfig-driver-rework.patch with alsa hunk removed...

this should let the alsa patch apply cleanly now
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-24 00:43:39 UTC
in portage... thanks dsd