Prev: memory stick
Next: Lilo problem
From: Grant on 15 Jan 2007 19:33 On 15 Jan 2007 23:38:14 GMT, rshepard(a)salmo.appl-ecosys.com wrote: > What are the differences between building kernels as a user someplace and >as root in /usr/src/linux? Linus doesn't like it ;) See: http://old.kernelnewbies.org/faq/index.php3#headers As well, bad things happen when extracting tarballs as root, and the recent 2.6 tarballs get their permissions 'wrong' when extracted by root -- you might search lkml for references. The answer is to extract tarball as normal user, configure / compile as normal user, install as root. Along come nVidia and VMware with their peek-a-boo into linux kernel's privates in order to interface a binary blob... > >> ls -l /lib/modules/$(uname -r) |egrep "(build|source)" >> say? > >lrwxrwxrwx 1 root root 23 2007-01-13 12:53 build -> /usr/src/linux-2.6.19.2/ >lrwxrwxrwx 1 root root 23 2007-01-15 13:38 source ->/usr/src/linux-2.6.19.2/ Looks okay, vmware version? Grant. -- http://bugsplatter.mine.nu/
From: Peter on 15 Jan 2007 19:40 On Tue, 16 Jan 2007 00:02:21 +0000, rshepard wrote: snip... > > Peter, > > I thought this might be the case, as previous kernel upgrades required > upgrades to VMware, too. However, I've tried five times today to download > the tarball, and each time it hangs after 30-50M of the 104M total size. > Frustrating. I've asked the VMware folks if there's ftp access since ncftp > will resume a partial download. > >> I assume you did make modules_install after compiling your new kernel? > > Yup. > > Thanks, > > Rich > Try this. http://www.filemirrors.com/search.src?type=begins&file=vmware VMWare for some reason, does not have the most recent version on its servers. However, if you download this, check its checksums against the following courtesy of the Gentoo Manifest. VMware-workstation-5.5.3-34685.tar.gz 111527809 RMD160 ad664c254b8d4cf010fdccf833f75e7112b50696 SHA1 55ed65a94a3058df95ee93ad46564619c324bfed SHA256 a46f7199957c96d25f25c401e10da3c81728409b1bbd62db1bebb3b8a568c595 -- Peter
From: Eric Hameleers on 16 Jan 2007 15:22 Grant wrote: > On 15 Jan 2007 23:38:14 GMT, rshepard(a)salmo.appl-ecosys.com wrote: > >> What are the differences between building kernels as a user someplace and >> as root in /usr/src/linux? > > Linus doesn't like it ;) See: > http://old.kernelnewbies.org/faq/index.php3#headers Well who cares about that old post? That was six and a half years ago - things have changed, and those remarks certainly don't apply to Slackware and its kernel-header package. >> My system has: >> > grant(a)sempro:~$ ls -l /lib/modules/$(uname -r) |egrep "(build|source)" >> > lrwxrwxrwx 1 root root 33 2007-01-12 11:29 build -> /home/grant/linux/linux-2.6.19.2a/ >> > lrwxrwxrwx 1 root root 33 2007-01-12 11:29 source -> /home/grant/linux/linux-2.6.19.2a/ >> > >> > What is the location of the directory of C header files that match your running >> > kernel? [/lib/modules/2.6.19.2a/build/include] > > Grant, > > /usr/src/2.6.19.2/include > > Same result with /lib/modules/2.6.19.2/build/include You should point the installer to /usr/include/linux which is where Slackware keeps it's copy of the kernel headers (installed by the kernel-headers package). Don't use /usr/src/linux/include ... Eric
From: Grant on 16 Jan 2007 15:42 On Tue, 16 Jan 2007 21:22:23 +0100, Eric Hameleers <alien(a)penguin1.dyndns.org> wrote: >Grant wrote: >> On 15 Jan 2007 23:38:14 GMT, rshepard(a)salmo.appl-ecosys.com wrote: >> >>> What are the differences between building kernels as a user someplace and >>> as root in /usr/src/linux? >> >> Linus doesn't like it ;) See: >> http://old.kernelnewbies.org/faq/index.php3#headers > >Well who cares about that old post? That was six and a half years ago >- things have changed, and those remarks certainly don't apply to >Slackware and its kernel-header package. Slackware's placement of the kernel source under /usr/src is the old way, quaint, but deprecated long ago. Should be harmless? And yes, my remarks have nothing to do with the slack kernel-headers package. Grant. -- http://bugsplatter.mine.nu/
From: Eric Hameleers on 16 Jan 2007 16:37
Grant wrote: > Slackware's placement of the kernel source under /usr/src is the old > way, quaint, but deprecated long ago. Should be harmless? Deprecated? This is where most distros if not all still place the kernel sources. Eric |