Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 72006

Summary: patch for 2.6.7 to update alsa and fix snd-ioctl32
Product: Gentoo Linux Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: major CC: sparc
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://dev.gentoo.org/~eradicator/2.6.7-alsa-ioctl32.patch.bz2
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 55465    
Attachments: 1120-CAN-2004-0415.patch
1363_sparc-kconfig-driver-rework.patch

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