Re: [CentOS] Remote nautilus, X display forwarding problem
On Fri, Aug 6, 2010 at 15:49, Keith Roberts wrote: > Give me a temporary login (sent directly via email) as > u...@centos-55-32-minimal, and I'll see if I can login and run Nautilus from > here. > > Are there any other X apps that you can run on the remote box that will work > over ssh -X ? > Thanks, Keith. I cannot reproduce the issue, but if it crops up again (ie, if the problem wasn't bkac) then I'll ping you. Thanks. > If you ran the following from bash: > > ✈dcl:~$ xhost + localhost > localhost being added to access control list > ✈dcl:~$ ssh -X u...@ip.address > > There should be a file in your dcl home directory, called .bash_history . > Each command you type at the bash prompt will be saved to that file, > including any command line options. > My local machine has history disabled, due to an unrelated issue. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Remote nautilus, X display forwarding problem
2010/8/6 Dotan Cohen : > I need to open a Nautilus window on a headless server, but no matter > what I try it complains about the display: > > ✈dcl:~$ xhost + localhost > localhost being added to access control list > ✈dcl:~$ ssh -X u...@ip.address > [u...@centos-55-32-minimal ~]$ export DISPLAY=localhost:0.0 > [u...@centos-55-32-minimal ~]$ nautilus --display=0:0 > cannot open display: 0:0 > Run 'nautilus --help' to see a full list of available command line options. > [u...@centos-55-32-minimal ~]$ > > Googling the situation it looks like I've covered all the steps: > enabling remote X, X forwarding, display export and telling Nautilus > which display to use. Any other ideas? Thanks! install xorg-x11-xauth on server and then just ssh -X u...@ip -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] iocharset, codepage issue in CentOS 5.5
Title: iocharset, codepage issue in CentOS 5.5 Dear Colleges. The OS is CentOS 5.5. The locale is CP1251 or ISO8859-5, Language used is Russian. It looks like that the iocharset=cp1251,codepage=866 is not working in this version of CentOS, but it works in CentOS 4.6. When trying to mount a memory stick with the above mentioned parameters the file names with Russian characters in the mentioned encoding (Windows XP) are displayed wrong. When writing to this memory stick the file, containing Russian characters, the file becomes unaccesible. Do anyone met with such a bug? -- С уважением, Alexander mailto:pyat...@ap12513.spb.edu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how to ensure systems users strong passwdors enabled
how to ensure systems users have strong passwords enabled -- Regards Agnello D'souza ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to ensure systems users strong passwdors enabled
Minimum of 8 characters consisting of numbers, letters and special characters 2010/8/7 Agnello George > how to ensure systems users have strong passwords enabled > > -- > Regards > Agnello D'souza > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to ensure systems users strong passwdors enabled
Am 07.08.2010 15:12, schrieb Agnello George: > how to ensure systems users have strong passwords enabled For services using PAM configure pam_passwdqc[1]. [1] http://www.openwall.com/passwdqc/ Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to ensure systems users strong passwdors enabled
Thanks good information alexander 2010/8/7 Alexander Dalloz > > Am 07.08.2010 15:12, schrieb Agnello George: > > > how to ensure systems users have strong passwords enabled > > For services using PAM configure pam_passwdqc[1]. > > [1] http://www.openwall.com/passwdqc/ > > Alexander > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to ensure systems users strong passwdors enabled
On 07/08/10 14:12, Agnello George wrote: > how to ensure systems users have strong passwords enabled > Take a look at the section on password policies here: http://wiki.centos.org/HowTos/OS_Protection#head-c09e77a13f234131e96f8d3cb95dca1f7ff41427 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ext4?
Listee's... I have a 5.5 box and I have formatted a partition as ext4 however I can't mount it, the mount command is telling me its an unknown file system type. fsck tells me the partition is a clean ext4 partition but I can't mount it. Some reasearch has lead me to believe the problem is that ext4 isn't enabled in the kernel by default in 5.5 (this was originally a 5.2 box that has been upgraded over time, its now on 2.6.18). I'm struggling to find some idiots steps to either get the kernel rebuilt or use the CentOSPlus repo's to get the ext4 module for the kernel etcCan anyone point me at an idiots guide to make this work? -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 16:50:18 +0100 James Bensley wrote: > Listee's... > > I have a 5.5 box and I have formatted a partition as ext4 however I > can't mount it, the mount command is telling me its an unknown file > system type. fsck tells me the partition is a clean ext4 partition but > I can't mount it. Use mount -t ext4dev. See http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html-single/Technical_Notes/#chap-Technical_Notes-_Technology_Previews_ Regards, Laurent pgpX7qWPYVZVC.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 16:57, Laurent Wandrebeck wrote: > Use mount -t ext4dev. Sorry, I forgot to mention; I have reformatted the drive as ext4dev and it still wont mount, unknown file system type again! I verified it was OK with fsck and it says it is a clean ext4dev partition? -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 08/07/2010 06:10 PM, James Bensley wrote: > On 7 August 2010 16:57, Laurent Wandrebeck wrote: > >> Use mount -t ext4dev. >> > Sorry, I forgot to mention; I have reformatted the drive as ext4dev > and it still wont mount, unknown file system type again! I verified it > was OK with fsck and it says it is a clean ext4dev partition? > > Did you first "modprobe ext4dev" before trying to mount it ? -- (°- Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML //\ http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org v_/_ http://www.bbsoft4.org/<< *>> http://www.portalinux.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 17:10:13 +0100 James Bensley wrote: > On 7 August 2010 16:57, Laurent Wandrebeck wrote: > > Use mount -t ext4dev. > > Sorry, I forgot to mention; I have reformatted the drive as ext4dev > and it still wont mount, unknown file system type again! I verified it > was OK with fsck and it says it is a clean ext4dev partition? Hm, looks like ext4dev only was the case in 5.4. I've just checked in 5.5 and got: LABEL=/data /data ext4defaults1 2 so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. Do you run some vps or something ? Regards, Laurent pgpwgr2xVcGJo.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 17:27, Bernard Lheureux wrote: > Did you first "modprobe ext4dev" before trying to mount it ? [nf5...@eros ~]$ modprobe ext4 FATAL: Module ext4 not found. [nf5...@eros ~]$ modprobe ext4dev FATAL: Module ext4dev not found. -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 17:41, Laurent Wandrebeck wrote: > so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides > /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. This is probably going ot provide the answer (to you atleast, its not so clear to me); `uname -r` tells me I'm on kernel 2.6.18-92.el5. Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required module but its not active, or something? I'm going to say I need to recompile my kernel and include the module since its present on my box or work out why the newer kernel files are present but not in use? -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 18:48:05 +0100 CentOS mailing list wrote: > > On 7 August 2010 17:27, Bernard Lheureux wrote: > > > Did you first "modprobe ext4dev" before trying to mount it ? > > [nf5...@eros ~]$ modprobe ext4 > FATAL: Module ext4 not found. > [nf5...@eros ~]$ modprobe ext4dev > FATAL: Module ext4dev not found. What kernel do you have installed? sauron.deepsoft.com% uname -a Linux sauron.deepsoft.com 2.6.18-194.8.1.el5xen #1 SMP Thu Jul 1 19:41:05 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux sauron.deepsoft.com% sudo modprobe ext4 sauron.deepsoft.com% lsmod | grep ext4 ext4 289433 0 jbd2 95473 1 ext4 crc16 35137 1 ext4 (sauron is Dom0, CentOS 5.5) gollum.deepsoft.com% uname -a Linux gollum.deepsoft.com 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux gollum.deepsoft.com% sudo modprobe ext4 gollum.deepsoft.com% lsmod | grep ext4 ext4 243693 0 jbd2 58329 1 ext4 crc16 6209 1 ext4 (gollum is my laptop, also CentOS 5.5) > > -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 18:55:35 +0100 James Bensley wrote: > On 7 August 2010 17:41, Laurent Wandrebeck wrote: > > > so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides > > /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. > > This is probably going ot provide the answer (to you atleast, its not > so clear to me); > > `uname -r` tells me I'm on kernel 2.6.18-92.el5. > > Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I > have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is > kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required > module but its not active, or something? I'm going to say I need to > recompile my kernel and include the module since its present on my box > or work out why the newer kernel files are present but not in use? You need to boot on the latest kernel. Or it is not 5.5 (nor 5.4 as far as I can remember - it looks like a 5.3 one). So ext4 is unsupported. Laurent pgpBIFlnJtXbR.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.5 : Installing Sources where they are visible to system(VBOX driver install)
I have installed the source rpms on CentOS 5.5 due to virtualbox upgrade not functioning. (the old one that comes with centos works fine, however, I wanted to newer one.) Whenever I run the driver installation script it fails with an indication that it could not find the sources. How do I correct the issue with the system not seeing the installed source rpms? -- Respectfully, Martes G Wigglesworth M. G. Wigglesworth Holdings, LLC www.mgwigglesworth.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 08/07/2010 10:55 AM, James Bensley wrote: > On 7 August 2010 17:41, Laurent Wandrebeck wrote: > > >> so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides >> /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. >> > This is probably going ot provide the answer (to you atleast, its not > so clear to me); > > `uname -r` tells me I'm on kernel 2.6.18-92.el5. > > Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I > have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is > kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required > module but its not active, or something? I'm going to say I need to > recompile my kernel and include the module since its present on my box > or work out why the newer kernel files are present but not in use? > > You are *WAY* behind on your running kernel. Check /boot/grub/grub.cfg and, assuming you have the more recent kernels installed, change it to default to the current kernel and reboot. Alternatively, if you don't want to edit grub.cfg just yet, reboot and *choose* the most current kernel from the grub boot menu to test it. I use ext4 all the time and don't have any problems with it. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 08/07/2010 11:05 AM, Benjamin Franz wrote: > On 08/07/2010 10:55 AM, James Bensley wrote: > >> On 7 August 2010 17:41, Laurent Wandrebeck wrote: >> >> >> >>> so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides >>> /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. >>> >>> >> This is probably going ot provide the answer (to you atleast, its not >> so clear to me); >> >> `uname -r` tells me I'm on kernel 2.6.18-92.el5. >> >> Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I >> have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is >> kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required >> module but its not active, or something? I'm going to say I need to >> recompile my kernel and include the module since its present on my box >> or work out why the newer kernel files are present but not in use? >> >> >> > You are *WAY* behind on your running kernel. Check /boot/grub/grub.cfg > and, assuming you have the more recent kernels installed, change it to > default to the current kernel and reboot. Alternatively, if you don't > want to edit grub.cfg just yet, reboot and *choose* the most current > kernel from the grub boot menu to test it. > > I use ext4 all the time and don't have any problems with it. > > Correction: I forgot that on CentOS you want /boot/grub/grub.conf instead. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 18:55:35 +0100 CentOS mailing list wrote: > > On 7 August 2010 17:41, Laurent Wandrebeck wrote: > > > so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides > > /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. > > This is probably going ot provide the answer (to you atleast, its not > so clear to me); > > `uname -r` tells me I'm on kernel 2.6.18-92.el5. A really *old* CentOS 5.x kernel... > > Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I > have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is > kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required > module but its not active, or something? I'm going to say I need to > recompile my kernel and include the module since its present on my box > or work out why the newer kernel files are present but not in use? You have the newer kernel installed, but either you have *never* rebooted since updating or else grub.conf (or lilo.conf) was not updated or something like that. While is it indeed true that Linux does NOT need to be rebooted everytime you perform a software update (unlike MS-Windows), you do in fact have to reboot when you update the *kernel*. If you have in fact rebooted since installing the newer kernel (probably via a yum update ...) and are still not running 2.6.18-194.8.1.el5, then you need to look at /boot/grub.conf (or /etc/lilo.conf) and see what is being booted by default. You might need to fix these files (and re-run lilo if you are using lilo), and then reboot. > -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
[nf5...@eros boot]$ sudo cat /boot/grub/menu.lst # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd1,0) # kernel /vmlinuz-version ro root=/dev/sda1 # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd1,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-92.el5) root (hd1,0) kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-92.el5.img I only have one kernel listen which is why I assume I am behind, I think yum has been getting new kernels but not building them and editing the grub meun. vmlinuz-2.6.18-92.el5 and initrd-2.6.18-92.el5.img is the only kernel in /boot? I don't want to be a bother so can point me at a resolution i.e. point me at some documentation on how to make a new kernel image out of the resouces in /lib/modules/2.6.18-194.8.1.el5 and I shall do so. Many thanks to you all so far your help is greatly appreciated. -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 19:10, Jerry Franz wrote: > Correction: I forgot that on CentOS you want /boot/grub/grub.conf instead. [nf5...@eros /]$ ls -l /boot/grub/menu.lst lrwxrwxr-- 1 root root 11 Oct 27 2008 /boot/grub/menu.lst -> ./grub.conf Same difference :p -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 19:10:53 +0100 CentOS mailing list wrote: > > [nf5...@eros boot]$ sudo cat /boot/grub/menu.lst > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd1,0) > # kernel /vmlinuz-version ro root=/dev/sda1 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=5 > splashimage=(hd1,0)/grub/splash.xpm.gz > hiddenmenu > title CentOS (2.6.18-92.el5) > root (hd1,0) > kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.18-92.el5.img > > I only have one kernel listen which is why I assume I am behind, I > think yum has been getting new kernels but not building them and > editing the grub meun. vmlinuz-2.6.18-92.el5 and > initrd-2.6.18-92.el5.img is the only kernel in /boot? > > I don't want to be a bother so can point me at a resolution i.e. point > me at some documentation on how to make a new kernel image out of the > resouces in /lib/modules/2.6.18-194.8.1.el5 and I shall do so. > > Many thanks to you all so far your help is greatly appreciated. If you have /lib/modules/2.6.18-194.8.1.el5, you *should* also have /boot/vmlinuz-2.6.18-194.8.1.el5 and /boot/initrd-2.6.18-194.8.1.el5.img installed as well: sauron.deepsoft.com% rpm -qf /lib/modules/2.6.18-194.8.1.el5 kernel-2.6.18-194.8.1.el5 sauron.deepsoft.com% rpm -ql kernel-2.6.18-194.8.1.el5 | grep boot /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac /boot/System.map-2.6.18-194.8.1.el5 /boot/config-2.6.18-194.8.1.el5 /boot/initrd-2.6.18-194.8.1.el5.img /boot/symvers-2.6.18-194.8.1.el5.gz /boot/vmlinuz-2.6.18-194.8.1.el5 /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko It looks like somehow your /boot/grub/grub.conf file is not getting updated. Is grubby / mkinitrd installed? (You didn't do something like uninstall mkinitrd? or delete /sbin/grubby?) sauron.deepsoft.com% rpm -qf /sbin/grubby mkinitrd-5.1.19.6-61.el5_5.2 > -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 19:13:55 +0100 CentOS mailing list wrote: > > On 7 August 2010 19:10, Jerry Franz wrote: > > Correction: I forgot that on CentOS you want /boot/grub/grub.conf instead. > > [nf5...@eros /]$ ls -l /boot/grub/menu.lst > lrwxrwxr-- 1 root root 11 Oct 27 2008 /boot/grub/menu.lst -> ./grub.conf > > Same difference :p On additional thought: is /boot mounted read-only? > -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, Aug 7, 2010 at 11:10 AM, James Bensley wrote: > I only have one kernel listen which is why I assume I am behind, I > think yum has been getting new kernels but not building them and > editing the grub meun. vmlinuz-2.6.18-92.el5 and > initrd-2.6.18-92.el5.img is the only kernel in /boot? Please show the output of: rpm -qa kernel\* kmod\* | sort Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 19:33, Akemi Yagi > > Please show the output of: > > rpm -qa kernel\* kmod\* | sort > [nf5...@eros /]$ rpm -qa kernel\* kmod\* | sort kernel-2.6.18-128.1.6.el5 kernel-2.6.18-164.10.1.el5 kernel-2.6.18-164.15.1.el5 kernel-2.6.18-194.8.1.el5 kernel-2.6.18-92.el5 kernel-headers-2.6.18-194.8.1.el5 -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 19:23, Robert Heller wrote: > sauron.deepsoft.com% rpm -qf /lib/modules/2.6.18-194.8.1.el5 > kernel-2.6.18-194.8.1.el5 > sauron.deepsoft.com% rpm -ql kernel-2.6.18-194.8.1.el5 | grep boot > /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac > /boot/System.map-2.6.18-194.8.1.el5 > /boot/config-2.6.18-194.8.1.el5 > /boot/initrd-2.6.18-194.8.1.el5.img > /boot/symvers-2.6.18-194.8.1.el5.gz > /boot/vmlinuz-2.6.18-194.8.1.el5 > /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko > > It looks like somehow your /boot/grub/grub.conf file is not getting updated. > > Is grubby / mkinitrd installed? (You didn't do something like uninstall > mkinitrd? or delete /sbin/grubby?) > > sauron.deepsoft.com% rpm -qf /sbin/grubby > mkinitrd-5.1.19.6-61.el5_5.2 > [nf5...@eros /]$ rpm -qf /sbin/grubby mkinitrd-5.1.19.6-61.el5_5.2 mkinitrd-5.1.19.6-61.el5_5.2 [nf5...@eros /]$ rpm -qf /lib/modules/2.6.18-194.8.1.el5 kernel-2.6.18-194.8.1.el5 [nf5...@eros /]$ rpm -ql kernel-2.6.18-194.8.1.el5 | grep boot /boot/.vmlinuz-2.6.18-194.8.1.el5.hmac /boot/System.map-2.6.18-194.8.1.el5 /boot/config-2.6.18-194.8.1.el5 /boot/initrd-2.6.18-194.8.1.el5.img /boot/symvers-2.6.18-194.8.1.el5.gz /boot/vmlinuz-2.6.18-194.8.1.el5 /lib/modules/2.6.18-194.8.1.el5/kernel/drivers/mtd/redboot.ko (/boot/*.2.6.18-194.8.1.el5, none of these files exist?) -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 : Installing Sources where they are visible to system(VBOX driver install)
2010/8/7 MGW-Discussions : > > I have installed the source rpms on CentOS 5.5 due to virtualbox upgrade > not functioning. (the old one that comes with centos works fine, > however, I wanted to newer one.) > > Whenever I run the driver installation script it fails with an > indication that it could not find the sources. > > How do I correct the issue with the system not seeing the installed > source rpms? You need to install correct kernel headers and source from package and then it just works. please post full error messages and installed packages (for example in pastebin.ca link) -- Eero, RHCE ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, Aug 7, 2010 at 11:49 AM, James Bensley wrote: > On 7 August 2010 19:33, Akemi Yagi >> >> Please show the output of: >> >> rpm -qa kernel\* kmod\* | sort >> > > [nf5...@eros /]$ rpm -qa kernel\* kmod\* | sort > kernel-2.6.18-128.1.6.el5 > kernel-2.6.18-164.10.1.el5 > kernel-2.6.18-164.15.1.el5 > kernel-2.6.18-194.8.1.el5 > kernel-2.6.18-92.el5 > kernel-headers-2.6.18-194.8.1.el5 They are all installed. Are you using RAID by any chance? Your grub.conf indicates that is from the second drive. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 19:59, Akemi Yagi wrote: > They are all installed. Are you using RAID by any chance? Your > grub.conf indicates that is from the second drive. /dev/sda1 / (ext3) /dev/sda2 /storage (the ext4 in question, hardware RAID5 3.4TB) /dev/sdb1 /boot (ext3) It seems like grub and/or yum have gone wrong somewhere over the years and perhaps downloaded new kernels but not installed them? What would be a solution I should seek to achieve, compile them myself? Or is there a way I can tell my CentOS box "these are here, look you fool, use them!"? -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010, James Bensley wrote: > To: CentOS mailing list > From: James Bensley > Subject: Re: [CentOS] ext4? > > [nf5...@eros boot]$ sudo cat /boot/grub/menu.lst > # grub.conf generated by anaconda > # > # Note that you do not have to rerun grub after making changes to this file > # NOTICE: You have a /boot partition. This means that > # all kernel and initrd paths are relative to /boot/, eg. > # root (hd1,0) > # kernel /vmlinuz-version ro root=/dev/sda1 > # initrd /initrd-version.img > #boot=/dev/sda > default=0 > timeout=5 > splashimage=(hd1,0)/grub/splash.xpm.gz > hiddenmenu > title CentOS (2.6.18-92.el5) >root (hd1,0) >kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet >initrd /initrd-2.6.18-92.el5.img > > I only have one kernel listen which is why I assume I am behind, I > think yum has been getting new kernels but not building them and > editing the grub meun. vmlinuz-2.6.18-92.el5 and > initrd-2.6.18-92.el5.img is the only kernel in /boot? > > I don't want to be a bother so can point me at a resolution i.e. point > me at some documentation on how to make a new kernel image out of the > resouces in /lib/modules/2.6.18-194.8.1.el5 and I shall do so. FWIW, I have installed GRUB to separate boot partition - not the MBR of the first hard drive. Whenever there is a kernel update, I have to mount and manually edit the /boot/grub/grub.conf file on the boot partition. Yum does not update it, as it doesn't know where it is. I prefer this behaviour, as it means I have total control over which kernel is running, even after a kernel upgrade. I also make backup copies of all kernel files, just in case I need to regress to a previous version, that yum may have removed. HTH Keith Roberts ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On 7 August 2010 20:10, Keith Roberts > FWIW, I have installed GRUB to separate boot partition - > not the MBR of the first hard drive. > > Whenever there is a kernel update, I have to mount and > manually edit the /boot/grub/grub.conf file on the boot > partition. Yum does not update it, as it doesn't know where > it is. I prefer this behaviour, as it means I have total > control over which kernel is running, even after a kernel > upgrade. > > I also make backup copies of all kernel files, just in > case I need to regress to a previous version, that yum may > have removed. > This sounds like what might be happening tome although I'm not sure how to resolve this? As I have mentioned before, in /lib/modules there are sub folders for various kernels leading upto the newest release I believe so how can I compile those into a vmlinuz image to go into /boot (if that is indeed what needs doing?) -- Regards, James. http://www.jamesbensley.co.cc/ There are 10 kinds of people in the world; Those who understand Vigesimal, and J others...? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Saturday 07 August 2010 11:50, James Bensley wrote: > I have a 5.5 box and I have formatted a partition as ext4 however I > can't mount it, the mount command is telling me its an unknown file > system type. fsck tells me the partition is a clean ext4 partition > but I can't mount it. Are you trying to mount the ext4 partition using Grub? If so, mkfs.ext4 probably created 256-byte inodes, but the version of Grub that come with CentOS can only recognize 128-byte inodes. Recreate the ext4 partition using 128-byte inodes (use the -I option), or upgrade Grub to a non-CentOS version. -- Yves Bellefeuille "Au Bellefeuille estas malkompetenta juristo au li estas malhonesta; kaj ech tertium datur: ambau malvirtoj en unu homo." -- Heroldo Komunikas, n-ro 447. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 20:24:47 +0100 CentOS mailing list wrote: > > On 7 August 2010 20:10, Keith Roberts > > FWIW, I have installed GRUB to separate boot partition - > > not the MBR of the first hard drive. > > > > Whenever there is a kernel update, I have to mount and > > manually edit the /boot/grub/grub.conf file on the boot > > partition. Yum does not update it, as it doesn't know where > > it is. I prefer this behaviour, as it means I have total > > control over which kernel is running, even after a kernel > > upgrade. > > > > I also make backup copies of all kernel files, just in > > case I need to regress to a previous version, that yum may > > have removed. > > > > This sounds like what might be happening tome although I'm not sure > how to resolve this? > > As I have mentioned before, in /lib/modules there are sub folders for > various kernels leading upto the newest release I believe so how can I > compile those into a vmlinuz image to go into /boot (if that is indeed > what needs doing?) No, what is in /lib/modules are the modules that are NOT in vmlinunz. The base kernel should be in /boot. > -- Robert Heller -- Get the Deepwoods Software FireFox Toolbar! Deepwoods Software-- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database hel...@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
At Sat, 7 Aug 2010 20:06:11 +0100 CentOS mailing list wrote: > > On 7 August 2010 19:59, Akemi Yagi wrote: > > They are all installed. Are you using RAID by any chance? Your > > grub.conf indicates that is from the second drive. > > /dev/sda1 / (ext3) > /dev/sda2 /storage (the ext4 in question, hardware RAID5 3.4TB) > /dev/sdb1 /boot (ext3) > > It seems like grub and/or yum have gone wrong somewhere over the years > and perhaps downloaded new kernels but not installed them? Oh, it installed them allright. Wondering: How long as /dev/sdb1 been mounted as /boot? What happens if you do this: umount /boot ls /boot > > What would be a solution I should seek to achieve, compile them > myself? Or is there a way I can tell my CentOS box "these are here, > look you fool, use them!"? > -- Robert Heller -- Get the Deepwoods Software FireFox Toolbar! Deepwoods Software-- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database hel...@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010, James Bensley wrote: > To: CentOS mailing list > From: James Bensley > Subject: Re: [CentOS] ext4? > > On 7 August 2010 19:59, Akemi Yagi wrote: >> They are all installed. Are you using RAID by any chance? Your >> grub.conf indicates that is from the second drive. > > /dev/sda1 / (ext3) > /dev/sda2 /storage (the ext4 in question, hardware RAID5 3.4TB) > /dev/sdb1 /boot (ext3) > > It seems like grub and/or yum have gone wrong somewhere over the years > and perhaps downloaded new kernels but not installed them? > > What would be a solution I should seek to achieve, compile them > myself? Or is there a way I can tell my CentOS box "these are here, > look you fool, use them!"? Well that's sort of what I do. If you have space to create a separate boot partition for GRUB, about 20MB should be plenty. You can create it as an ext3 logical partition, inside an extended partition. That should solve the GRUB Centos issue. You then need to reinstall GRUB to that separate boot partition, otherwise GRUB will still be looking to boot from the MBR of the first drive - if that's where it is now. You can install GRUB to separate boot partition by: Create the separate boot partition, and label it something like GrubBoot, using e2label /dev/sd?? GrubBoot. create the mountpoint; /mnt/GrubBoot == ** AutoLinuxInstaller Fedora Installation I have created a seperate Grub boot logical partition, in the extended partition, called GrubBoot /dev/sda13. This enables me to do fresh Linux installations into /dev/sda1 and /dev/sda2, without destroying the GrubBoot partition. Here's a URL to my partition layout: http://i34.tinypic.com/r9nccz.jpg from grub-install man page: `--root-directory=DIR' Install GRUB images under the directory DIR instead of the root directory. This option is useful when you want to install GRUB into a separate partition or a removable disk. Here is an example in which you have a separate "boot" partition which is mounted on `/boot' (I use /mnt/GrubBoot): The installation of grub to the seperate partition was done by: First mount the GrubBoot partition with: mount -v -t ext3 -L GrubBoot /mnt/GrubBoot then grub-install --root-directory=/mnt/GrubBoot hd0 This was done with F12 as the active OS. Centos 5.5 and F12 will boot now from the GrubBoot partition. I noticed that re-installing GRUB from Centos 5.5 did not allow Fedora 12 to boot. But for some strange reason, when I re-installed GRUB from Fedora 12, this also allowed Centos 5.5 root partition to boot. Here is what my /mnt/GrubBoot/boot/grub/grub.conf file looks like. Note I've added some dummy entries at the end to distinguish where GRUB is booting from: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that # all kernel and initrd paths are relative to /, eg. # root (hd0,0) # kernel /boot/vmlinuz-version ro root=/dev/sda1 # initrd /boot/initrd-version.img #boot=/dev/sda # GRUB Linux # hd0,0/dev/sda1 1st hard drive,1st partition # hd0,1/dev/sda2 1st hard drive,2nd partition # hd0,2/dev/sda3 1st hard drive,3rd partition # GRUB Linux # hd1,0/dev/sdb1 2nd hard drive,1st partition # hd1,1/dev/sdb2 2nd hard drive,2nd partition # hd1,2/dev/sdb3 2nd hard drive,3rd partition # GRUB Linux # hd2,0/dev/sdc1 3rd hard drive,1st partition # hd2,1/dev/sdc2 3rd hard drive,2nd partition # hd2,2/dev/sdc3 3rd hard drive,3rd partition default=0 timeout=5 splashimage=(hd0,12)/boot/grub/splash.xpm.gz hiddenmenu title Initial CentOS 5.5 DVD kernel (vmlinuz-2.6.18-194.el5) root (hd0,0) kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=Centos-5-root noapm apm=off ide=nodma initrd /boot/initrd-2.6.18-194.el5.img title CentOS 5.5 system (vmlinuz-2.6.18-194.8.1.el5) root (hd0,0) kernel /boot/vmlinuz-2.6.18-194.8.1.el5 ro root=LABEL=Centos-5-root noapm apm=off ide=nodma initrd /boot/initrd-2.6.18-194.8.1.el5.img title Fedora 12 system (vmlinuz-2.6.32.12-115.fc12.i686.PAE) root (hd0,1) kernel /boot/vmlinuz-2.6.32.12-115.fc12.i686.PAE ro root=LABEL=Fedora-12-root noapm apm=off ide=nodma nomodeset initrd /boot/initramfs-2.6.32.12-115.fc12.i686.PAE.img title Fedora 12 system (2.6.31.9-174.fc12.i686.PAE) root (hd0,1) kernel /boot/vmlinuz-2.6.31.9-174.fc12.i686.PAE ro root=LABEL=Fedora-12-root noapm apm=off ide=nodma nomodeset initrd /boot/initramfs-2.6.31.9-174.fc12.i686.PAE.img title Fedora 12 system (2.6.31.5-127.fc12.i686.PAE) root (hd0,1) kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=LABEL=Fedora-12-root noapm apm=off ide=nodma nomodeset initrd
Re: [CentOS] CentOS 5.5 : Installing Sources where they are visibletosystem(VBOX driver install)
Thanks for the reply. How do I verify where the sources should be after the rpm install? How do I install only the headers, since that phrase keeps popping up but like many things on the net, no one ever actually verifies the process for making sure you have them installed, nor how to do it in the first place? Here is the listing of kernel release and available rpms where I downloaded them. [sysad...@comcserver1 tmp]$ uname -r 2.6.18-194.el5 [sysad...@comcserver1 tmp]$ ls |grep kernel |grep 2.6.18-194.el kernel-2.6.18-194.el5.src.rpm Looks like I am going to have to crack open these linux kernel books I have been putting off, now. :P -- Respectfully, Martes G Wigglesworth M. G. Wigglesworth Holdings, LLC www.mgwigglesworth.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Stuttering sound
Dear List, After some googling around without any results, I'm quite puzzled. Since some past update I can't precise, kernel 2.6.164 works fine, however 2.6.194 has some sound problem in my somewhat old and beaten Toshiba laptop. -Audacious plays OK but other applications have problems. -For instance, mplayer acts quirky: when I pause a playing video, sound keeps stuttering endlessly. The same happens sometimes when I close mplayer window. -system-config-soundcard detects the card and starts to play sample but stuttering all the way, repeating every 4th of a second or so some 16 times, at about a 1/2 second rate. -Youtube has no sound! -Software volume control has been lost long ago, unrelated to this problem but interested in recovery anyway System is fully up to date. Any hints will be appreciated! Some relevant lines in my /etc/modprobe.conf as is now, with some scars left after unfruitful battles: alias snd-card-0 snd-hda-intel #options snd-card-0 index=0 #options snd-hda-intel index=0 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel options snd-hda-intel model=auto options snd-hda-intel probe_mask=1 options snd cards_limit=8 getinfo.sh output: == BEGIN uname -rmi == 2.6.18-194.8.1.el5 i686 i386 == END uname -rmi == == BEGIN rpm -q centos-release == centos-release-5-5.el5.centos == END rpm -q centos-release == == BEGIN getenforce == Disabled == END getenforce == == BEGIN rpm -qa kernel\* | sort == kernel-2.6.18-164.15.1.el5 kernel-2.6.18-194.3.1.el5 kernel-2.6.18-194.8.1.el5 kernel-devel-2.6.18-164.15.1.el5 kernel-devel-2.6.18-194.3.1.el5 kernel-devel-2.6.18-194.8.1.el5 kernel-headers-2.6.18-194.8.1.el5 == END rpm -qa kernel\* | sort == == BEGIN lspci == 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Proces sor to DRAM Controller (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root P ort (rev 03) 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Ex press Port 1 (rev 04) 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Ex press Port 2 (rev 04) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US B UHCI #1 (rev 04) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US B UHCI #2 (rev 04) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US B UHCI #3 (rev 04) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US B UHCI #4 (rev 04) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) US B2 EHCI Controller (rev 04) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 0 4) 01:00.0 VGA compatible controller: ATI Technologies Inc M24 [Radeon Mobility X60 0] 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Et hernet Controller (rev 10) 06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Ne twork Connection (rev 05) 06:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller 06:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller 06:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) 06:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller == END lspci == == BEGIN lspci -n == 00:00.0 0600: 8086:2590 (rev 03) 00:01.0 0604: 8086:2591 (rev 03) 00:1b.0 0403: 8086:2668 (rev 04) 00:1c.0 0604: 8086:2660 (rev 04) 00:1c.1 0604: 8086:2662 (rev 04) 00:1d.0 0c03: 8086:2658 (rev 04) 00:1d.1 0c03: 8086:2659 (rev 04) 00:1d.2 0c03: 8086:265a (rev 04) 00:1d.3 0c03: 8086:265b (rev 04) 00:1d.7 0c03: 8086:265c (rev 04) 00:1e.0 0604: 8086:2448 (rev d4) 00:1f.0 0601: 8086:2641 (rev 04) 00:1f.2 0101: 8086:2653 (rev 04) 01:00.0 0300: 1002:5462 02:00.0 0200: 11ab:4351 (rev 10) 06:04.0 0280: 8086:4220 (rev 05) 06:06.0 0607: 104c:8039 06:06.1 0c00: 104c:803a 06:06.2 0180: 104c:803b 06:06.3 0805: 104c:803c == END lspci -n == -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos