Friday 10 June 2011

Intel DQ67SW with 82579LM NIC RIS Boot

Courtesy of Prit! Copy these additional files from the PRO1000\NDIS5x\ folder of the driver software to your [IMAGEROOT]\i386 folder -

elc5132.sys
e1c5132.din
e1cmsg.dll
nicco2.dll
nicinstc.dll
e1c5132.inf

Not sure exactly which one makes it work ;-D

Friday 4 February 2011

For posterity... how to get fglrx / debian / ati working!

 
Re: FGLRX failing at DKMS

I've been having these same problems with the 2.26.32-xx-Generic kernels on Kubuntu 10.04 64-bit and I was just now able to get the fglrx module to build without having to downgrade kernels.

Here's what I did. Chances are some kernel developer will start yelling at me for doing this, but oh well.

As root, open up the file /usr/src/linux-headers-2.6.32-24-generic/arch/x86/include/asm/compat.h in a text editor, inserting your version of the kernel in place of mine. That directory should be correct for both 32-bit and 64-bit systems. Go to the very botton of the file; you'll see

Code:
#endif /* _ASM_X86_COMPAT_H */
.

Between that line and the curly brace ( } ) two lines above it, paste in the following:

Code:
static inline void __user *compat_alloc_user_space(unsigned long len)
{
 struct pt_regs *regs = task_pt_regs(current);
 return (void __user *)regs->sp - len;
}
.

(It isn't really necessary that the function go exactly where I said to put it, but this will make sure that you don't accidentally paste it into another function or something like that.)

Now save the file and try reinstalling the fglrx drivers. My xorg.conf file was messed up and causing problems for me, so check that before you restart X. With any luck, you should now be rolling in fglrx goodness!

I don't think that will hurt anything, but you can remove your changes to that file after you build the module if you want.



You may have noticed that the function I had you paste in looks very similar to another function in there called 'arch_compat_alloc_user_space'. As far as I can tell, they are exactly the same except for the name and parameter type (unsigned long). It appears that 'compat_alloc_user_space' was renamed to 'arch_compat_alloc_user_space' for just this version of the kernel, so really we just put the old one back for the ATI module builder to use. This shouldn't hurt anything since the contents of the two functions are identical.