Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-09-02 Thread Kevin Krieser
On Aug 26, 2008, at 12:36 PM, Akemi Yagi wrote: On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 5:49 AM, Jim Perrin [EMAIL PROTECTED] wrote: Rather than guessing, why not look at the output from the rpm command he ran, which gives the name of the

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-09-02 Thread Akemi Yagi
On Tue, Sep 2, 2008 at 5:51 PM, Kevin Krieser [EMAIL PROTECTED] wrote: On Aug 26, 2008, at 12:36 PM, Akemi Yagi wrote: Alan and I are now talking about this so we can amend the Wiki article appropriately. According to him, unifdef is not required on his 32-bit system. I will update on this

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Ian jonhson
I have downloaded the src.rpm according the wiki instructions. however, when I executed $ rpm -i kernel-2.6.18-92.1.10.el5.src.rpm I got a lot of warnings and after the following command: $ rpmbuild -bp --target=`uname -m` kernel-2.6.spec 2 prep-err.log | tee prep-out.log No files are created

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Romeo Ninov
Do you have installed kernel-devel package? Ian jonhson wrote / napísal(a): I have downloaded the src.rpm according the wiki instructions. however, when I executed $ rpm -i kernel-2.6.18-92.1.10.el5.src.rpm I got a lot of warnings and after the following command: $ rpmbuild -bp

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Filipe Brandenburger
On Tue, Aug 26, 2008 at 08:14, Ian jonhson [EMAIL PROTECTED] wrote: error: Failed build dependencies: unifdef is needed by kernel-2.6.18-92.1.10.el5.x86_64 Yum is your friend. $ yum whatprovides unifdef ... unifdef.x86_64 : Unifdef tool for removing ifdef'd lines

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Ian jonhson
On Tue, Aug 26, 2008 at 8:18 PM, Romeo Ninov [EMAIL PROTECTED] wrote: Do you have installed kernel-devel package? Sure. but the problem is still there. Any help? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Romeo Ninov
What about kernel-headers Ian jonhson wrote / napísal(a): On Tue, Aug 26, 2008 at 8:18 PM, Romeo Ninov [EMAIL PROTECTED] wrote: Do you have installed kernel-devel package? Sure. but the problem is still there. Any help? ___ CentOS

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Jim Perrin
On Tue, Aug 26, 2008 at 8:44 AM, Romeo Ninov [EMAIL PROTECTED] wrote: What about kernel-headers Rather than guessing, why not look at the output from the rpm command he ran, which gives the name of the package he's missing? Filipe nailed this one a little earlier in the thread with

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 5:49 AM, Jim Perrin [EMAIL PROTECTED] wrote: Rather than guessing, why not look at the output from the rpm command he ran, which gives the name of the package he's missing? Filipe nailed this one a little earlier in the thread with unifdef.x86_64 needing to be

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 5:49 AM, Jim Perrin [EMAIL PROTECTED] wrote: Rather than guessing, why not look at the output from the rpm command he ran, which gives the name of the package he's missing? Filipe nailed this one a little

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 10:36 AM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote: I remember running into this a while back. That being the case, shouldn't unifdef be included in kernel-devel, or at least one of the packages that are

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 11:12 AM, MHR [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 10:36 AM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote: I remember running into this a while back. That being the case, shouldn't unifdef be included in

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 11:20 AM, Akemi Yagi [EMAIL PROTECTED] wrote: You can certainly help. So, from what you wrote I suppose you encountered the same dependency problem and then manually installed unifdef. Was this indeed the case? Also, this happened on an x86_64 system? Yes, yes,

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Nicolas Thierry-Mieg
MHR wrote: I routinely build a kernel with NTFS read/write support whenever a new kernel comes out, partly to get the support this is OT, but do you know you can get NTFS RW support by simply installing fuse-ntfs-3g from rpmforge? Fuse (from rf) gets rebuilt for new kernels by dkms, so

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 2:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: MHR wrote: I routinely build a kernel with NTFS read/write support whenever a new kernel comes out, partly to get the support this is OT, but do you know you can get NTFS RW support by simply installing

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 12:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: this is OT, but do you know you can get NTFS RW support by simply installing fuse-ntfs-3g from rpmforge? Fuse (from rf) gets rebuilt for new kernels by dkms, so it's painless on kernel updates. Yes, but the point

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 12:53 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: MHR wrote: I routinely build a kernel with NTFS read/write support whenever a new kernel comes out, partly to get the support this is OT,

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 12:57 PM, MHR [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 12:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: this is OT, but do you know you can get NTFS RW support by simply installing fuse-ntfs-3g from rpmforge? Fuse (from rf) gets rebuilt for new kernels

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 1:03 PM, Akemi Yagi [EMAIL PROTECTED] wrote: Well... if you go for the fuse/dkms route, you will lose the chance to build the module upon kernel update. :-) True - decisions, decisions, mhr ___ CentOS mailing list

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 2:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 12:53 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: MHR wrote: I routinely build a kernel with NTFS read/write support

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 1:12 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: Actually, the documentation is here: http://wiki.centos.org/TipsAndTricks/NTFSPartitions Akemi: Thank you. I discovered that I need fuse and that wiki

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread William L. Maltby
On Tue, 2008-08-26 at 13:10 -0700, MHR wrote: On Tue, Aug 26, 2008 at 1:03 PM, Akemi Yagi [EMAIL PROTECTED] wrote: Well... if you go for the fuse/dkms route, you will lose the chance to build the module upon kernel update. :-) True - decisions, decisions, Well you can always do

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 2:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 12:53 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:34 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: MHR wrote: I routinely build a kernel with NTFS read/write support

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 3:33 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 1:12 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: Actually, the documentation is here:

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Nicolas Thierry-Mieg
Lanny Marcus wrote: I have dkms now. On the wiki, it says: to mount read-write: /dev/sda1 /mnt/win ntfs-3g rw,umask=,defaults 0 0 [EMAIL PROTECTED] ~]# /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0-bash: /dev/hda6: Permission denied Lanny: that line goes in

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 3:33 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 1:12 PM, Lanny Marcus [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 2:57 PM, Akemi Yagi [EMAIL PROTECTED] wrote: Actually, the documentation is here:

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 1:54 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: Lanny Marcus wrote: I have dkms now. On the wiki, it says: to mount read-write: /dev/sda1 /mnt/win ntfs-3g rw,umask=,defaults 0 0 [EMAIL PROTECTED] ~]# /dev/hda6 /mnt/win ntfs-3g

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Ralph Angenendt
Lanny Marcus wrote: [EMAIL PROTECTED] ~]$ su - Password: [EMAIL PROTECTED] ~]# /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0 What do you think this command does? -bash: /dev/hda6: Permission denied Sure. You just tried to execute a partition. Ralph pgpF6EkIt8Stg.pgp

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 4:49 PM, Ralph Angenendt [EMAIL PROTECTED] wrote: Lanny Marcus wrote: [EMAIL PROTECTED] ~]$ su - Password: [EMAIL PROTECTED] ~]# /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0 What do you think this command does? -bash: /dev/hda6: Permission denied

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Lanny Marcus
On Tue, Aug 26, 2008 at 4:05 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 1:54 PM, Nicolas Thierry-Mieg [EMAIL PROTECTED] wrote: Lanny Marcus wrote: I have dkms now. On the wiki, it says: to mount read-write: /dev/sda1 /mnt/win ntfs-3g rw,umask=,defaults 0 0

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread William L. Maltby
On Tue, 2008-08-26 at 17:14 -0500, Lanny Marcus wrote: On Tue, Aug 26, 2008 at 4:05 PM, Akemi Yagi [EMAIL PROTECTED] wrote: snip Lanny: that line goes in /etc/fstab Indeed. Thank, Nicolas, for noticing this. I have amended the wiki page to make it clearer. Akemi: If it said to

[CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-25 Thread Ian jonhson
Hi, My jobs need to recompile the kernel codes, but I don't know how to yum the kernel source codes. Any help? Thanks in advance. Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-25 Thread Akemi Yagi
On Mon, Aug 25, 2008 at 5:14 AM, Ian jonhson [EMAIL PROTECTED] wrote: Hi, My jobs need to recompile the kernel codes, but I don't know how to yum the kernel source codes. Any help? First look in http://wiki.centos.org/HowTos/I_need_the_Kernel_Source and then

Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-25 Thread Mihai T. Lazarescu
On Mon, Aug 25, 2008 at 08:14:19PM +0800, Ian jonhson wrote: My jobs need to recompile the kernel codes, but I don't know how to yum the kernel source codes. This should download the .src RPM in the current dir: yumdownloader --source kernel yum-utils should be installed first. Mihai