[Debian-eeepc-devel] Bug#508805: Bug#508805: Bug#508805: rt2860-source: Building rt2860-modules works only for root and fails for non-root users

Achim Löbbert aloebbert at gmx.de
Mon Jan 5 12:35:54 UTC 2009


Am Monday 05 January 2009 02:29:36 schrieb Glenn Saberton:
> Hi Achim,
> 	Can you supply the command and full output of your make-kpkg command. I
> have built the rt2860 source with make-kpkg modules, and it builds fine.
> The depmod command should not be run during the build of the package,
> and in my case it wasn't. It should however be run when the module is
> installed, which you need to be root to do. Apoligies for not getting to
> this earlier.

Hi Glenn,

please find attached the files requested. To assure a defined state I
first extracted the rt2860-source package again, then I took the log in 
attached file 508805-without-patch.log.gz . Then after patching the
module source using the patch from Alexander I repeated the same build
command which basically is 'fakeroot make-kpkg modules_image' with some 
parameters added and the stdout and stderr redirected to the log file
attached as 508805-with-patch.log.gz .

As you can see in the first log, the unpatched source runs the command
/sbin/depmod -a 2.6.27.10
which a normal user is not allowed to do, whereas _after_ applying
the patch the depmod is no longer run and the build succeeds.

Achim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 508805-without-patch.log.gz
Type: application/x-gzip
Size: 2148 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20090105/f39fbe22/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 508805-with-patch.log.gz
Type: application/x-gzip
Size: 2185 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20090105/f39fbe22/attachment-0001.bin 


More information about the Debian-eeepc-devel mailing list