Re: [CentOS] INFO: task nash:5282 blocked for more than 120 seconds.

2010-06-09 Thread Tsuyoshi Nagata
(2010/06/09 15:06), Ruslan Sivak wrote:
> INFO: task nash:5282 blocked for more than 120 seconds.

some guy faces the same problem on citrix's forum.
He find that he removes 2-sata disks, It's booting fine.

the nash(finding volumes in boot sequences) has many
limits with boot device recognition.

resolution
  back to old kernel(5.5)
  rebuilding ramdisk(mkinitrd) with latest device driver.(if you have 
vendor/raid equipment)
  back to storage configurations.

changing grub/boot parameter with "noquiet" options show you debug messages.
these message can let you change your booting conditions.

-Tsuyoshi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin 
> I'm trying to customize a CentOS installation cd, but got 
> trouble with kickstart.
> I want to use dialog[1] for command line based 
> user interface, but it can't display correctly in kickstart with CentOS 5.5. 
> Same ks file works with CentOS 5.3 (both i386 and x86_64).

What does "can't display correctly" mean?
Checked /etc/termcap for available terminals?

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] amazon ec2 and centos?

2010-06-09 Thread J. Jefferson Gray
We're currently running almost 20 instances with aws.  We're using CentOS
5.4/5.5 as the base, and the 2.6.18 kernel image provided by amazon in the
form of their 2.6.18-ec2-v1.4(may have that form wrong).  This works well,
but its also from December 2009 so we're 6 months off where Cent is now.

Be more than willing to help QA/Test out kernels if there's some way we can
get them submitted into Amazon's kernel store.  Anything we can do to help,
feel free to contact off list.  Would love to see a much quicker turnaround
on these, and might help get us to Amazon supporting CentOS 6 quicker down
the road if we get the process in place with them now with 5.5.

Cent works very well other that this kernel process.

Cheers

J.G.

On Tue, Jun 8, 2010 at 7:45 AM, Karanbir Singh  wrote:

> On 08/06/2010 00:32, Johnny Tan wrote:
> > We're currently using the RightScale ones, but I think it'd be ideal
> > to have a clean CentOS AMI with the current kernels.
>
> Yes, I would like to have an official CentOS AMI as well and have looked
> into creating something like this previously. The Amazon guys have been
> fairly interested - but dont seem to be wanting to push things beyond
> the 'interested' stages. They are really geared up to working with
> companies and organisations putting forward development costs etc,
> rather than a general community.
>
> > Karanbir, you seem to have been the one on CentOS side who has had
> > the most conversations with Amazon. Is that conversation dead?
>
> Pretty much. There are still some inroads and I've spoken with the guys
> at amazon as recently as a month back; but that conversation isn't going
> anywhere beyond the interest factor.
>
> Ideally, what I would like to do is get together some people who have an
> interest in this; not associated with any $commercial provider, and see
> if we can get some level of QA testing done. I dont really want anything
> 'official' unless we can be sure that the user experience and
> expectations dont change drastically from a stock CentOS install.
>
> - KB
> ___
> 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] amazon ec2 and centos?

2010-06-09 Thread Wes Shull
On Wed, Jun 9, 2010 at 4:39 AM, J. Jefferson Gray
 wrote:
> We're currently running almost 20 instances with aws.  We're using CentOS
> 5.4/5.5 as the base, and the 2.6.18 kernel image provided by amazon in the
> form of their 2.6.18-ec2-v1.4(may have that form wrong).  This works well,
> but its also from December 2009 so we're 6 months off where Cent is now.

I was just playing with this over the last couple of days.  I found
that while all of upstream's kernels on ec2 seem to be marked as paid,
another rebuilder of upstream, Oracle, has kernels and initrds out
there for free.  I just grabbed the appropriate kernel-xen from OEL
and installed it, and my hand-rolled Centos5.5 image booted off their
aki/ari without any problems.  They don't seem to have the -194 kernel
out there yet, but at least -164...

Not ideal, but it works.

--wes
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] MAC address changes after cloning

2010-06-09 Thread premrajm
Hi,

I have x86 system and have used clonezilla to clone the entire hardisk of 
system A and restored it on another x86 system, system B.
After the cloning process, i notice that the MAC address of the system B 
in the /etc/sysconfig/network-scripts/ifcfg-eth0 is changed and
is having the MAC address of system A.

The interesting part is that if i do an ifconfig from the bash prompt, the 
MAC address of the system B is correctly displayed, but 
in ifcfg-eth0 script it is different. I had disabled kudzu, since i was 
always getting eth1 activated on System B, 
even though i had used eth0 on system A. eth0.bak was getting created 
instead on system B. Disabling kudzu resolved it.
 
My question is that how could i get the same MAC address for system B from 
ifconfig and in 
/etc/sysconfig/network-scripts/ifcfg-eth0. Is there any script to do it ?
Thanks and Regards | Premraj  M | Sr.Engineer - Hardware | Tel: +91 
080-67274900 | Cell: +91 9741231739 | Email: premr...@digilink.in
Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and 
is intended solely for the use of the individual to whom it is addressed. It 
may contain privileged or confidential information and should not be circulated 
or used for any purpose other than for what it is intended. If you have 
received this message in error, please notify the originator immediately. If 
you are not the intended recipient, you are notified that you are strictly 
prohibited from using, copying, altering, or disclosing the contents of this 
message. The company accepts no responsibility for loss or damage arising from 
the use of the information transmitted by this email including damage from 
virus.


__

This email has been scrubbed for your protection by SecureMX.
For more information visit http://securemx.in
__

<>___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread Zhang Huangbin

On Jun 9, 2010, at 5:39 PM, John Doe wrote:

> From: Zhang Huangbin 
>> I'm trying to customize a CentOS installation cd, but got 
>> trouble with kickstart.
>> I want to use dialog[1] for command line based 
>> user interface, but it can't display correctly in kickstart with CentOS 5.5. 
>> Same ks file works with CentOS 5.3 (both i386 and x86_64).
> 
> What does "can't display correctly" mean?
> Checked /etc/termcap for available terminals?

I use 'chvt 3' in ks file to switch to 3rd tty, but it stays in 1th tty 
(installation console).
Swith to 2nd tty with 'Ctrl+Alt+F2', run 'ps' command, i can see dialog process 
is running.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SOLVED annoying firefox crash on nvidia

2010-06-09 Thread Paul Bijnens

A long time ago, there was thread about firefox randomly crashing.

http://www.mail-archive.com/centos@centos.org/msg50010.html

It turned out not only firefox, but random other X window applications as well.
Especially scrolling in firefox seemed to induce the error.

I'm now since almost 2 weeks up and running with the same firefox instance
and scrolling up/down, left/right, playing video's, viewing websites with
heavy javascripts whatever, and without any crash since.

I use the proprietary driver NVIDIA-Linux-x86_64-195.36.24-pkg2.run (the latest
last time I looked).

I believe the cullprit was to explicitly load some modules in the xorg.conf
file.  (It is probably the "extmod" module -- there is almost no real
documentation on what those modules actually do...)

While the nvidia driver installs, there is an utility that generates
the new xorg.conf file for you, having only one module "glx" loaded.
This seems to be source of the trouble.
Gnome seems to assume more functionality is available, and does not gracefully
recover when asking something that is not implemented in those extra modules.

Since adding some more modules, I have no more crashes:

 Section "Module"
 Load "dbe"
 Load "extmod"
 Load "type1"
 Load "freetype"
 Load "glx"
 Load "fbdevhw"
 Load "record"
 EndSection

And, as added benefit, or side effect, the memory usage of my gnome
applets has drastically gone down.
I used to see a simple clock-applet having using 800 Mbyte virtual memory or so
and having 400M reported under the "resident memory" column.
Other people also reported such a problem, but it was frequently dismissed
by explanations like "gnome uses a lot of shared memory it is not real
memory".
I now have my clock and other gnome applets running in under 300M virtual,
10-14M resident memory (if you ask me, still large for clock -- where is
the time when I ran a whole unix with 5 serial terminals and the server
had 1 Mbyte RAM total memory on a motorola 68010 processor?)


-- 
Paul Bijnens
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *
* stop, end, ^]c, +++ ATH, disconnect,  halt,  abort,  hangup,  KJOB, *
* ^X^X,  :D::D,  kill -9 1,  kill -1 $$,  shutdown,  init 0,  Alt-F4, *
* Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread Zhang Huangbin

On Jun 9, 2010, at 5:39 PM, John Doe wrote:

> From: Zhang Huangbin 
>> I'm trying to customize a CentOS installation cd, but got 
>> trouble with kickstart.
>> I want to use dialog[1] for command line based 
>> user interface, but it can't display correctly in kickstart with CentOS 5.5. 
>> Same ks file works with CentOS 5.3 (both i386 and x86_64).
> 
> What does "can't display correctly" mean?
> Checked /etc/termcap for available terminals?

I found below lines here: http://fedoraproject.org/wiki/Anaconda/Kickstart

# 
If your script spawns a daemon process, you must make sure to close stdout and 
stderr. Doing so is standard procedure for creating daemons. If you do not 
close these file descriptors, the installation will appear hung as anaconda 
waits for an EOF from the script.
# 

Will it cause my issue? and how can i close stdout and stderr?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MAC address changes after cloning

2010-06-09 Thread Brian Mathis
The MAC address shown in the /etc/sysconfig/network/ifcfg-ethX files is just
the address of what was detected at the time of installation.  This is done
to make sure the configuration is applied to the correct NIC.  It does not
auto-generate every time you reboot the system.

You will need to manually change that to the MAC address displayed by
ifconfig, and add that to the list of things you need to update after
cloning a system.


On Wed, Jun 9, 2010 at 8:03 AM,  wrote:

>
> Hi,
>
> I have x86 system and have used *clonezilla* to clone the entire hardisk
> of system A and restored it on another x86 system, system B.
> After the cloning process, i notice that the MAC address of the system B in
> the /etc/sysconfig/network-scripts/ifcfg-eth0 is changed and
> is having the MAC address of system A.
>
> The interesting part is that if i do an *ifconfig *from the bash prompt,
> the MAC address of the system B is correctly displayed, but
> in ifcfg-eth0 script it is different. I had disabled kudzu, since i was
> always getting eth1 activated on System B,
> even though i had used eth0 on system A. eth0.bak was getting created
> instead on system B. Disabling kudzu resolved it.
>
> My question is that how could i get the same MAC address for system B from
> ifconfig and in
> /etc/sysconfig/network-scripts/ifcfg-eth0. Is there any script to do it ?
>
> Thanks and Regards | Premraj  M | Sr.Engineer - Hardware | Tel: +91
> 080-67274900 | Cell: +91 9741231739 | Email: premr...@digilink.in
> Disclaimer : This message is proprietary to Smartlink Network Systems Ltd.
> and is intended solely for the use of the individual to whom it is
> addressed. It may contain privileged or confidential information and should
> not be circulated or used for any purpose other than for what it is
> intended. If you have received this message in error, please notify the
> originator immediately. If you are not the intended recipient, you are
> notified that you are strictly prohibited from using, copying, altering, or
> disclosing the contents of this message. The company accepts no
> responsibility for loss or damage arising from the use of the information
> transmitted by this email including damage from virus.
> This email has been scrubbed for your protection by SecureMX. For more
> information visit securemx.in
>
> ___
> 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] INFO: task nash:5282 blocked for more than 120 seconds.

2010-06-09 Thread Ruslan Sivak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/9/2010 4:29 AM, Tsuyoshi Nagata wrote:
> (2010/06/09 15:06), Ruslan Sivak wrote:
>> INFO: task nash:5282 blocked for more than 120 seconds.
> 
> some guy faces the same problem on citrix's forum.
> He find that he removes 2-sata disks, It's booting fine.
> 
> the nash(finding volumes in boot sequences) has many
> limits with boot device recognition.
> 
> resolution
>   back to old kernel(5.5)
>   rebuilding ramdisk(mkinitrd) with latest device driver.(if you have 
> vendor/raid equipment)
>   back to storage configurations.
> 
> changing grub/boot parameter with "noquiet" options show you debug messages.
> these message can let you change your booting conditions.
> 
> -Tsuyoshi

Thank you.  I found the post, but it wasn't very helpful.  I have only 2
drives in a raid 1, so removing them is not an option.

I'm pretty sure I know what's wrong, but I need to get into a shell to
fix it.

I tried adding noquiet to the boot parameters, but it didn't seem to
help.  Am I doing it right?

Original boot line:

> mboot.c32 /boot/xen.gz com1=115200,8n1 console=com1,vga dom0_mem=752M
lowmem_e
mergency_pool=1M crashkernel=...@32m --- /boot/vmlinuz-2.6-xen
root=LABEL=root-j
uaihdrs ro console=tty0 xencons=hvc console=hvc0 ---
/boot/initrd-2.6-xen.img

Updated boot line:
> mboot.c32 /boot/xen.gz com2=57600,8n1 console=com2,vga dom0_mem=752M
lowmem_em
ergency_pool=1M crashkernel=...@32m --- /boot/vmlinuz-2.6-xen
root=LABEL=root-ju
aihdrs ro console=tty0 xencons=hvc console=hvc0 noquiet ---
/boot/initrd-2.6-xen
.img


Russ
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPnBgACgkQH3GFiXyBPuMUqgCfdeEFrxVNrRx78/h9BqJtfeB+
+qEAoLbxgXUwMYsmGJWR2UpM7svIoZTA
=HLWu
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] unsuscribe

2010-06-09 Thread Pitshou Asingalembi


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm building and hyphens in Version tags

2010-06-09 Thread JohnS

On Tue, 2010-06-08 at 05:58 -0400, R P Herrold wrote:

> Again ?  'very little info' ? Goodness I've written this post 
> a lot of times and Google remembers many of them -- look 
> using: rpmvercmp

About 9,490 results (0.35 seconds)  and on so little of them are correct
and up to date.

> What I was saying was: a hyphen in a RELEASE tag is malformed 
> under the rules that RPM enforces, and the use of the explicit 
> -n opton in the %setup stanza will solve the matter to get at 
> an unpacked tarball.  Same goes for a hypehn in the VERSION 
> tag.  The script I posted should be a general shell decoder 
> ring, honoring the delimiter sets in Red Hat derived space

Saw the script.

> But wait, as it gets worse.  Collation sequences can conflict 
> as to what is a well-formed 'sequence' between various 
> national languages, and within a language over time ... In 
> part of my family's past there is a Danish branch, and the 
> letter pair 'aa' seeming can in some cases sort after 'z' so a 
> well ordered list of animal types might go either at the 
> front, or the end of this list, depending on the 
> pronounciation:
> 
>   aardvark
>   bee
>   cat
>   ...
>   yack
>   zebra
>   aardvark

> 
> The functional dominance of the english collation sequence 
> seems widespread in the FOSS that I see, but I remember a huge 
> fedora fight about package nameing using more than the 
> ASCII-127 A-Za-z0-9[.-_] subset ... [6]

Well you have the solution to that.  As in since you seem to like
Anthropology and Family History.  Predictions.  Prediction sequences can
and should derive the correct version for upgrade.  All though this is
only really done in databases like Postgres and MySQL via API.  R may
seem to be a good fit.  If nothing else theres nothing wrong with some
fancy inline .asm.  Would it work? I do not know.  I would have to get
hacking.  This does work with Genealogy btw.  

Teaser: my status update uses an assembly Kernel API.

> Not using embedded spaces or forward or back slashes seems 
> sensible to me (as a person who swims in *nix file names -- 
> Mac people regularly embed spaces and specials in file names; 
> the vast confusion in doing phone support and simply 'saying' 
> a URL and getting a remote person to strike: '/' vs '\' to get 
> to a page is so galling, due to a certain company thinking it 
> needed a special filesystem path delimiter -- but is it 
> 'wrong'?), but ...

Yes a huge problem.

> Thus: Don't fight City Hall; use -n in the %setup stanze
>   and move on

Nice post. Would like to see more like this from you.

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin 
> I use 'chvt 3' in ks file to switch to 3rd tty, but it stays in 1th tty 
> (installation console).
> Swith to 2nd tty with 'Ctrl+Alt+F2', run 'ps' command, i can see dialog 
> process is 
> running.

I just tested my kickstart with 5.5 and it does fail too now, while it was 
working with 5.4.
The pre ks process was running, but on no vt...
I ran my script by hand from vt2, then killed the old stuck one and anaconda 
switched 
to vt1 and displayed: "Can't ask a question from command line mode!"...

I also do:
  chvt 3
  /tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log 2>&1
  chvt 1

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] unsuscribe

2010-06-09 Thread Robert C Wittig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pitshou Asingalembi wrote:
> 
> ___
> CentOS mailing list
> CentOS@centos.org

unsubscribe yourself at:

> http://lists.centos.org/mailman/listinfo/centos
> 



- --
- -wittig
http://www.robertwittig.com/
http://robertwittig.net/
http://robertwittig.org/
.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/

iQEVAwUBTA+qNf9qkhAVPSgqAQLqiggAm4sKts9wsCG3ePBsR4hPNEs0NzPfzbsU
3yFZxdW0/OQ0OqoyYxXPiUyDAl5ZJxOk/1+x/7VKGMKDARccmZpQoMGHRpRns6jM
ltJe/S8pHYJpQoR0q1cZbr0DYxso7twWa7YfPnuIIrNv8rDezVqUhPOuH2hgEcfM
yg3NJ0+y/4yK01BNr4nINNibycw0KYI3UjH0+KipueXzXrktiLCntbQELoUJTsee
W3cz335LDi8xE9SoG8B43QZ0NVk9CdRMaYL1VUlLv6EQsISkT3Rg+1tyDjLrp+TU
W2ePcz6s1Sq1aI4fmH0G5XRHwA+EsrHUQ46Rf4YHKvhcJ7bY+oTjPQ==
=H7KY
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ls -lrt reversal

2010-06-09 Thread Michael D. Berger
My CentOS box with:
  $ uname -r
  2.6.18-164.6.1.el5

gets the file order wrong with:
   ls -lrt *
.
Two files that were last modified in the same
second are shown in order that is the reverse
of the order in which they were actually last
modified.  Note also that the later file was
first created after the earlier file was last
modified.

Is the precision of this only to the second?

Mike.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ls -lrt reversal

2010-06-09 Thread Stephen Harris
On Wed, Jun 09, 2010 at 03:06:30PM +, Michael D. Berger wrote:

>ls -lrt *

> Is the precision of this only to the second?

Yes.  File timestamps are reported by the stat() call as time_t values,
which are "seconds past 00:00:00 1/1/1970".  So "ls" can only sort to
a 1 second precision.

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Any experience with Eucalyptus on Centos 5.x?

2010-06-09 Thread Rick Thomas
Is anyone here running Eucalyptus (open source cloud computing  
manager, similar to Amazon EC2, from UC Santa Barbara)?

Have you got any hints for bringing it up?

Thanks!

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rpm building and hyphens in Version tags

2010-06-09 Thread R P Herrold
On Wed, 9 Jun 2010, JohnS wrote:

>> Thus: Don't fight City Hall; use -n in the %setup stanze
>>  and move on
>
> Nice post. Would like to see more like this from you.

The whole CentOS crew is picked up at:
http://planet.centos.org/

and these are people who are literate, and hold strong 
opinions that they can express well.  At one point, I went 
through and editted the aggregator to only pick up content 
tagged with 'centos' as we had complaints about side opinion 
matter, but the home feed URLs of each have a fine collection 
of such 'good stuff'

I seem to have anticipated the US CERT email-republished 
advisory on the Flash cross-scripting attack being actively 
exploited with mine yesterday on 'reading the logs:
http://orcorc.blogspot.com/2010/06/reading-logs.html

I posted in the morning, and got the June 8 update release in 
my email that afternoon:
http://www.adobe.com/support/security/advisories/apsa10-01.html

The matter is critical indeed, because a person performing 
actions exposing their unit to potentially hostile third party 
content as a root or administrator right account can become 
invisibly compromised

There is presently another active one using PDFs as a carrier, 
rather than Flash, that I see in my logs as well (behind a 
couple of layers of one way 'lobster trap' firewalls, but 
clearly able to be invisibly 'pulled through' by web / PDF 
browsers viewing 'trapped' content)

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any experience with Eucalyptus on Centos 5.x?

2010-06-09 Thread Rudi Ahlers
On Wed, Jun 9, 2010 at 5:39 PM, Rick Thomas  wrote:

> Is anyone here running Eucalyptus (open source cloud computing
> manager, similar to Amazon EC2, from UC Santa Barbara)?
>
> Have you got any hints for bringing it up?
>
> Thanks!
>
> Rick
> ___
>
>
My experience? Aweful. Their documentation isn't the easiest to follow and
the interface isn't the easiest to use either. I ended up switching to
CloudMin, which now has a free GPL version as well.




> --
> Kind Regards
> Rudi Ahlers
> SoftDux
>
> Website: http://www.SoftDux.com
> Technical Blog: http://Blog.SoftDux.com
> Office: 087 805 9573
> Cell: 082 554 7532
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: John Doe 
> I just tested my kickstart with 5.5 and it does fail too now, 
> while it was working with 5.4.
> The pre ks process was running, but on no vt...
> I ran my script by hand from vt2, then killed the old stuck 
> one and anaconda switched to vt1 and displayed: 
> "Can't ask a question from command line mode!"...
> I also do:
>  chvt 3
>  /tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log > 2>&1
>  chvt 1

Disregard the "can't have a question in command line mode!",
it might be related to another problem... being that anaconda bugs me 
about non partioned logical disks, even if they are not referenced in the 
kickstart configuration...  I added all of them to the ignoredisk line and 
it solved the problem...

Only the chvt problem persists.

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin 
> I use 'chvt 3' in ks file to switch to 3rd tty, but it stays in 1th tty 
> (installation console).
> Swith to 2nd tty with 'Ctrl+Alt+F2', run 'ps' command, i can see dialog 
> process is 
> running.

I fixed it with some execs:

chvt 3
exec < /dev/tty3 > /dev/tty3
/tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log 2>&1
chvt 1
exec < /dev/tty1 > /dev/tty1

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any experience with Eucalyptus on Centos 5.x?

2010-06-09 Thread Athmane Madjoudj

>
> My experience? Aweful. Their documentation isn't the easiest to follow
> and the interface isn't the easiest to use either. I ended up switching
> to CloudMin, which now has a free GPL version as well.
>

Me too, i have a bad experience with Eucalyptus because of the bad docs, 
also i have noticed that it a bloated software (Java)

i have switched to ConVirt [1], it not cloud management but it's a good 
software to manage a lot of hosts servers runing VM (both KVM and Xen).

HTH

[1] http://www.convirture.com/

-- 
Athmane Madjoudj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Booting into a shell and skipping init

2010-06-09 Thread Ruslan Sivak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
5.5 underneath).  I added init=/bin/sh to the boot line, but I'm still
getting an error.  Here is the boot line:

 mboot.c32 /boot/xen.gz com2=57600,8n1 console=com2,vga dom0_mem=752M
lowmem_em
ergency_pool=1M crashkernel=...@32m --- /boot/vmlinuz-2.6-xen
root=LABEL=root-ju
aihdrs ro console=tty0 xencons=hvc console=hvc0 init=/bin/sh ---
/boot/initrd-2.
6-xen.img


And here's how it breaks:

Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Creating root device.
Mounting root filesystem.
kjournald starting.  Commit interval 5 seconds
Setting up other filesystems.
Setting up new root fs
EXT3-fs: mounted filesystem with ordered data mode.
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
/bin/bash: : No such file or directory
Kernel panic - not syncing: Attempted to kill init!


Any help would be appreciated.

Russ
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMD8rSGUZBYlCheYcRAgBMAKCuVLVCLyjEba0ZyTI9fylUpC4mJQCff8KO
Esz9mJjSy8Gi/wopV0+9V7E=
=d90p
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm building and hyphens in Version tags

2010-06-09 Thread JohnS

On Wed, 2010-06-09 at 11:40 -0400, R P Herrold wrote:
> On Wed, 9 Jun 2010, JohnS wrote:
> 
> >> Thus: Don't fight City Hall; use -n in the %setup stanze
> >>and move on
> >
> > Nice post. Would like to see more like this from you.
> 
> The whole CentOS crew is picked up at:
>   http://planet.centos.org/
> 
> and these are people who are literate, and hold strong 
> opinions that they can express well.  At one point, I went 
> through and editted the aggregator to only pick up content 
> tagged with 'centos' as we had complaints about side opinion 
> matter, but the home feed URLs of each have a fine collection 
> of such 'good stuff'
> 
> I seem to have anticipated the US CERT email-republished 
> advisory on the Flash cross-scripting attack being actively 
> exploited with mine yesterday on 'reading the logs:
>   http://orcorc.blogspot.com/2010/06/reading-logs.html
> 
> I posted in the morning, and got the June 8 update release in 
> my email that afternoon:
>   http://www.adobe.com/support/security/advisories/apsa10-01.html
> 
> The matter is critical indeed, because a person performing 
> actions exposing their unit to potentially hostile third party 
> content as a root or administrator right account can become 
> invisibly compromised
> 
> There is presently another active one using PDFs as a carrier, 
> rather than Flash, that I see in my logs as well (behind a 
> couple of layers of one way 'lobster trap' firewalls, but 
> clearly able to be invisibly 'pulled through' by web / PDF 
> browsers viewing 'trapped' content)

I smell a custom compiled ip tables with tarpit?  While indeed all that
is good info for a lot of people I was not referring to any of that
above.  I have been familiar with all that for a long time.  If missed
somehow I get an anonymous mail...As I see all that is posted in CentOS
Planet

" Would like to see more of this from you"  Was intended to be more
like: Good to see you are being nice and informative.  Instead of your
normal like saying cmovCC! %EBX...

John


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MAC address changes after cloning

2010-06-09 Thread James Hogarth
Or depending on your requirements just drop hwaddr from ifcfg so it applies
to the detected adaptor regardless of MAC

Sent from Android mobile

On Jun 9, 2010 2:16 PM, "Brian Mathis"  wrote:

The MAC address shown in the /etc/sysconfig/network/ifcfg-ethX files is just
the address of what was detected at the time of installation.  This is done
to make sure the configuration is applied to the correct NIC.  It does not
auto-generate every time you reboot the system.

You will need to manually change that to the MAC address displayed by
ifconfig, and add that to the list of things you need to update after
cloning a system.


On Wed, Jun 9, 2010 at 8:03 AM,  wrote:

> >
> >
> > Hi,
> >
> > I have x86 system and have used clonezilla to clone the entire hardisk of
> system A an...
> ___
> 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Booting into a shell and skipping init

2010-06-09 Thread m . roth
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
> 5.5 underneath).  I added init=/bin/sh to the boot line, but I'm still
> getting an error.  Here is the boot line:
>
>  mboot.c32 /boot/xen.gz com2=57600,8n1 console=com2,vga dom0_mem=752M
> lowmem_em
> ergency_pool=1M crashkernel=...@32m --- /boot/vmlinuz-2.6-xen
> root=LABEL=root-ju
> aihdrs ro console=tty0 xencons=hvc console=hvc0 init=/bin/sh ---
> /boot/initrd-2.
> 6-xen.img
>
>
> And here's how it breaks:
>
> Waiting for driver initialization.
> Scanning and configuring dmraid supported devices
> Creating root device.
> Mounting root filesystem.
> kjournald starting.  Commit interval 5 seconds
> Setting up other filesystems.
> Setting up new root fs
> EXT3-fs: mounted filesystem with ordered data mode.
> no fstab.sys, mounting internal defaults
> Switching to new root and running init.
> unmounting old /dev
> unmounting old /proc
> unmounting old /sys
> /bin/bash: : No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
>
*bang*
I *just* fought with that yesterday. It's a grub thing - the entry for
what it's booting needs a line reading
root (hd0,0)
or whatever is appropriate. Note that if there's one bootable
drive/partition, it will define that as hd0.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Booting into a shell and skipping init

2010-06-09 Thread Stephen Harris
> I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
> 5.5 underneath).  I added init=/bin/sh to the boot line, but I'm still

XenServer 5.6 is based on CentOS 5.4

   [r...@penfold ~]# cat /etc/redhat-release 
   XenServer release 5.6.0-31188p (xenenterprise)
   [r...@penfold ~]# rpm -q centos-release
   centos-release-5-4.el5.centos.1

Aren't you better off taking XenServer questions to the Citrix forums?
For example, the XenServer boot process uses extlinux and not grub;
here's an area where XenServer diverges from CentOS and so you may get
better answers from the correct support forum.

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PHP file upload limit

2010-06-09 Thread Boris Epstein
Hi all,

I am trying to run a web-based PHP application on a CentOS 5 32-bit
machine that requires me to upload large files. The machine also
happens to have little RAM (256MB).

I have no problem setting my upload limit ( upload_max_filesize ) to 1
GB but for some reason 2 GB or above seems to be no go. Would anybody
know why? Could it be one of the many 32-bit vs 64-bit issues?

Thanks.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Eero Volotinen
2010/6/9 Boris Epstein :
> Hi all,
>
> I am trying to run a web-based PHP application on a CentOS 5 32-bit
> machine that requires me to upload large files. The machine also
> happens to have little RAM (256MB).
>
> I have no problem setting my upload limit ( upload_max_filesize ) to 1
> GB but for some reason 2 GB or above seems to be no go. Would anybody
> know why? Could it be one of the many 32-bit vs 64-bit issues?

add more swap and memory ?

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Boris Epstein
On Wed, Jun 9, 2010 at 3:25 PM, Eero Volotinen  wrote:
> 2010/6/9 Boris Epstein :
>> Hi all,
>>
>> I am trying to run a web-based PHP application on a CentOS 5 32-bit
>> machine that requires me to upload large files. The machine also
>> happens to have little RAM (256MB).
>>
>> I have no problem setting my upload limit ( upload_max_filesize ) to 1
>> GB but for some reason 2 GB or above seems to be no go. Would anybody
>> know why? Could it be one of the many 32-bit vs 64-bit issues?
>
> add more swap and memory ?
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Eero,

I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
available. That logically should be enough to allow me to upload a 2
GB file, I would think.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Drew
> I have no problem setting my upload limit ( upload_max_filesize ) to 1
> GB but for some reason 2 GB or above seems to be no go. Would anybody
> know why? Could it be one of the many 32-bit vs 64-bit issues?

upload_max_size is not the only variable that would affect uploading.
You may also want to look at the settings for:

post_max_size -- uploading files is done through the HTTP POST
mechanism so this has to be at least as big as upload_max_size
memory_limit -- If memory limits are enabled, this also must be larger
then upload_max_size

It may also be a 32bit limit as well:

(from php.net)
Note: PHP allows shortcuts for bit values, including K (kilo), M
(mega) and G (giga). PHP will do the conversions automatically if you
use any of these. Be careful not to exceed the 32 bit signed integer
limit (if you're using 32bit versions) as it will cause your script to
fail.


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Whit Blauvelt
> > 2010/6/9 Boris Epstein :

> >> I have no problem setting my upload limit ( upload_max_filesize ) to 1
> >> GB but for some reason 2 GB or above seems to be no go. Would anybody
> >> know why? Could it be one of the many 32-bit vs 64-bit issues?

Other PHP settings, like post_max_size, also can affect large uploads.
Google is your friend on this.

Whit
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread Jerry Franz

On 06/09/2010 12:32 PM, Boris Epstein wrote:

Eero,

I've got 4 GB of swap. At the moment all 4 GB less 100 MB of it is
available. That logically should be enough to allow me to upload a 2
GB file, I would think.
   


Looking at the bugtracker: http://bugs.centos.org/view.php?id=3118

"PHP is not built with large file support on 32 bit x86, probably other 
32 bit platforms, all releases of CentOS 4
Additional Information I verified that upstream does not have this 
problem. It is severe enough for my use (scientific processing) that I 
am changing OS."


While the report is for CentOS4, it may be related to your problem.

--
Benjamin Franz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP file upload limit

2010-06-09 Thread James Hogarth
Plus at that point you might also be hitting problems with browser
behaviour since you say it is a web app 2 gigs is a heck of a
post... have you looked into any other solutions such as an uploader in
flash or java capable of resuming transfers and streamed (partial) transfers
rather than a single post?

Sent from Android mobile

On Jun 9, 2010 8:45 PM, "Whit Blauvelt"  wrote:

> > 2010/6/9 Boris Epstein :

> >> I have no problem setting my upload limit ( upload_max_filesize ) to 1
> >> GB but for some rea...
Other PHP settings, like post_max_size, also can affect large uploads.
Google is your friend on this.

Whit

___
CentOS mailing list
CentOS@centos.org
http://lists.c...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Booting into a shell and skipping init

2010-06-09 Thread James Hogarth
And given that the xen kernel is not a Linux kernel but rather that centos
is just dom0 so I'm not sure that init argument would do what the OP wanted
anyway...

Sent from Android mobile

On Jun 9, 2010 6:24 PM, "Stephen Harris"  wrote:

> I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
> 5.5 underneath). I added...
XenServer 5.6 is based on CentOS 5.4

  [r...@penfold ~]# cat /etc/redhat-release
  XenServer release 5.6.0-31188p (xenenterprise)
  [r...@penfold ~]# rpm -q centos-release
  centos-release-5-4.el5.centos.1

Aren't you better off taking XenServer questions to the Citrix forums?
For example, the XenServer boot process uses extlinux and not grub;
here's an area where XenServer diverges from CentOS and so you may get
better answers from the correct support forum.

--

rgds
Stephen

___
CentOS mailing list
CentOS@centos.org
http://lists.c...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Booting into a shell and skipping init

2010-06-09 Thread James Hogarth
Err reread and disregard my thoughts - evidently too tired! But its true
citrix forums would be a better audience esp given the upstream vendor and
hence centos moving to kvm..

Sent from Android mobile

On Jun 9, 2010 6:24 PM, "Stephen Harris"  wrote:

> I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
> 5.5 underneath). I added...
XenServer 5.6 is based on CentOS 5.4

  [r...@penfold ~]# cat /etc/redhat-release
  XenServer release 5.6.0-31188p (xenenterprise)
  [r...@penfold ~]# rpm -q centos-release
  centos-release-5-4.el5.centos.1

Aren't you better off taking XenServer questions to the Citrix forums?
For example, the XenServer boot process uses extlinux and not grub;
here's an area where XenServer diverges from CentOS and so you may get
better answers from the correct support forum.

--

rgds
Stephen

___
CentOS mailing list
CentOS@centos.org
http://lists.c...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PXE boot into rescue mode

2010-06-09 Thread Ruslan Sivak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I followed the instructions here:
http://nixcraft.com/file-servers/14803-how-centos-5-pxe-linux-installation-server.html,
along with a few other sources that were less successful, and I finally
got a pxe boot going.  I'm using CentOS 5.3 x86_64 media as the source.

The server boots, but keeps hanging.

Here is my boot line:

images/centos/5/x64/vmlinuz com2=57600,8n1 console=com2,vga vga=normal
initrd=images/centos/5/x64/initrd.img ramdisk_size=32768 text rescue
console=ttyS1,57600n8 console=tty1 raid=noautodetect debug noquiet


And here's how it hangs:

Loading images/centos/5/x64/vmlinuz.
Loading
images/centos/5/x64/initrd.img..
..
Ready.
Linux version 2.6.18-128.el5 (mockbu...@builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Jan 21 10:41:14
EST 2009
Command line: com2=57600,8n1 console=com2,vga vga=normal
initrd=images/centos/5/x64/initrd.img ramdisk_size=32768 text rescue
console=ttyS1,57600n8 console=tty1 raid=noautodetect debug noquiet
BOOT_IMAGE=images/centos/5/x64/vmlinuz
BIOS-provided physical RAM map:
 BIOS-e820:  - 000a (usable)
 BIOS-e820: 0010 - bfb5 (usable)
 BIOS-e820: bfb5 - bfb66000 (reserved)
 BIOS-e820: bfb66000 - bfb85c00 (ACPI data)
 BIOS-e820: bfb85c00 - c000 (reserved)
 BIOS-e820: e000 - f000 (reserved)
 BIOS-e820: fe00 - 0001 (reserved)
 BIOS-e820: 0001 - 00074000 (usable)
DMI 2.5 present.
ACPI: RSDP (v002 DELL  ) @
0x000f2160
ACPI: XSDT (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0x000f21fc
ACPI: FADT (v003 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83524
ACPI: MADT (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83078
ACPI: SPCR (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83130
ACPI: HPET (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83184
ACPI: MCFG (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb831c0
ACPI: WD__ (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83200
ACPI: SLIC (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb83338
ACPI: ERST (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb6c844
ACPI: HEST (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb6ca54
ACPI: BERT (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb6c6c4
ACPI: EINJ (v001 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb6c6f4
ACPI: TCPA (v002 DELL   PE_SC3   0x0001 DELL 0x0001) @
0xbfb834bc
ACPI: SSDT (v001 DELL   PE_SC3   0x0011 INTL 0x20050624) @
0xbfb6a996
ACPI: SSDT (v001 DELL   PE_SC3   0x0011 INTL 0x20050624) @
0xbfb6b03c
ACPI: SSDT (v001 DELL   PE_SC3   0x0011 INTL 0x20050624) @
0xbfb6b6e2
ACPI: SSDT (v001 DELL   PE_SC3   0x0011 INTL 0x20050624) @
0xbfb6bd88
ACPI: SSDT (v001 DELL   PE_SC3   0x0010 INTL 0x20050624) @
0xbfb6c42e
ACPI: DSDT (v001 DELL   PE_SC3   0x0001 INTL 0x20050624) @
0x
No NUMA configuration found
Faking a node at -00074000
Bootmem setup node 0 -00074000
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
disabling kdump
On node 0 totalpages: 7233511
  DMA zone: 2655 pages, LIFO batch:0
  DMA32 zone: 766856 pages, LIFO batch:31
  Normal zone: 6464000 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x06] enabled)
Processor #6 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] enabled)
Processor #7 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x14] disabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x15] disabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x16] disabled)
ACPI: LAPIC (acpi_id[0x08] lapic_id[0x17] disabled)
ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 8, version 32, address 0xfec0, GSI 0-23
ACPI: IOAPIC (id[0x09] address[0xfec8] gsi_base[32])
IOAPIC[1]: apic_id 9, version 32, address 0xfec8, GSI 32-55
ACPI: IOAPIC (id[0x0a] address[0xfec81000] gsi_base[64])
IOAPIC[2]: apic_id 10, version 32, address 0xfec81000, GSI 64-87
ACPI: IO®zÂÙµ±¥¹ÕéÿInitializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
Inode-cache hash table entries: 2097152 (order: 12, 167

[CentOS] Intel ICH10R on CentOS 5.4

2010-06-09 Thread nate
Hey there..

I was wondering if anyone could share experiences they have had
with the Intel ICH10R SATA controller? I tried looking around
but all I could find were RAID references, I have no interest
in using the RAID functionality just basic SATA JBOD. Wondering
if there are any gotchas for performance, drivers, quality etc.

I normally don't touch anything that is not hardware RAID though
this is a special project.. And even if I get demo gear I won't
have enough time to put it through real paces(likely need weeks)
before a decision needs to be made.

I don't see anything that is causing alarm but just curious if
anyone else has experiences.

thanks

nate

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] software raid - better management advice needed

2010-06-09 Thread aurfalien
Hi,

I've used mdadm for years now to manage software raids.

The task of using fdisk to first create partitions on a spare drive  
sitting on a shelf (raid 0 were my 1st of 2 drives failed) is kind of  
bugging me now.

After using fdisk to create the same partition layout on the new drive  
as is on the existing drive and then using mdadm to finish every thing  
up is a little tedious.

Any one have an idea how to have a sort of hot plug were I just swap  
out the drive and it rebuilds?


- aurf
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PXE boot into rescue mode

2010-06-09 Thread Christopher Chan

> I followed the instructions here:
> http://nixcraft.com/file-servers/14803-how-centos-5-pxe-linux-installation-server.html,
> along with a few other sources that were less successful, and I finally
> got a pxe boot going.  I'm using CentOS 5.3 x86_64 media as the source.
>
> The server boots, but keeps hanging.

> Does anyone know what could be wrong?  I just need to get to a shell and
> get into fdisk.

Try using trk. Works over here for me but I use it for fixing Windows 
desktops...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel ICH10R on CentOS 5.4

2010-06-09 Thread William Warren
On 6/9/2010 7:44 PM, nate wrote:
> Hey there..
>
> I was wondering if anyone could share experiences they have had
> with the Intel ICH10R SATA controller? I tried looking around
> but all I could find were RAID references, I have no interest
> in using the RAID functionality just basic SATA JBOD. Wondering
> if there are any gotchas for performance, drivers, quality etc.
>
> I normally don't touch anything that is not hardware RAID though
> this is a special project.. And even if I get demo gear I won't
> have enough time to put it through real paces(likely need weeks)
> before a decision needs to be made.
>
> I don't see anything that is causing alarm but just curious if
> anyone else has experiences.
>
> thanks
>
> nate
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
jsut put the bios into sata or ata mode and not raid..then the raid 
functionality is zero..:)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel ICH10R on CentOS 5.4

2010-06-09 Thread Mark Pryor
Nate

--- On Wed, 6/9/10, nate  wrote:

> From: nate 
> Subject: [CentOS] Intel ICH10R on CentOS 5.4
> To: centos@centos.org
> Date: Wednesday, June 9, 2010, 4:44 PM
> Hey there..
> 
> I was wondering if anyone could share experiences they have
> had
> with the Intel ICH10R SATA controller? I tried looking
> around
> but all I could find were RAID references, I have no
> interest
> in using the RAID functionality just basic SATA JBOD.
> Wondering
> if there are any gotchas for performance, drivers, quality
> etc.
 
> if
> anyone else has experiences.

I have the GA EP45-ud3r MB with this north bridge. Mine has 3 separate Bios 
entries for ahci, raid, and jmicron. 

IIRC C5.4 has drivers for all. The worst thing you can do is install with
the functionality off in the bios. Turn them all on, install, then decide if 
you want to tweek.

I never ran JBOD, but did try RAID0 and it was flawless. Dmraid handled it.

-- 
Mark


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Intel ICH10R on CentOS 5.4

2010-06-09 Thread John R Pierce
William Warren wrote:
> jsut put the bios into sata or ata mode and not raid..then the raid 
> functionality is zero..:

even when its enabled, the raid functionaliy of the ICH??R chips is 
zero.  :) "enabling RAID" in the BIOS simply sets a bit in the chip 
thats write-once (once its set, it can't be reset short of a full chip 
reset), this does two things. 

A) it changes the PCI DEVICE_ID of the chip so it requires different 
drivers,
B) it tells the BIOS and drivers that they should implement Intel 
Matrix aka fake raid rather than standard SATA JBOD.

thats *ALL* it does in hardware.  nada else.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] software raid - better management advice needed

2010-06-09 Thread Robert Heller
At Wed, 9 Jun 2010 16:50:53 -0700 CentOS mailing list  wrote:

> 
> Hi,
> 
> I've used mdadm for years now to manage software raids.
> 
> The task of using fdisk to first create partitions on a spare drive  
> sitting on a shelf (raid 0 were my 1st of 2 drives failed) is kind of  
> bugging me now.
> 
> After using fdisk to create the same partition layout on the new drive  
> as is on the existing drive and then using mdadm to finish every thing  
> up is a little tedious.
> 
> Any one have an idea how to have a sort of hot plug were I just swap  
> out the drive and it rebuilds?

sfdisk is your friend (from man sfdisk):

   -d Dump the partitions of a device in a format useful as input  to
  sfdisk. For example,
  % sfdisk -d /dev/hda > hda.out
  % sfdisk /dev/hda < hda.out
  will correct the bad last extended partition that the OS/2 fdisk
  creates.

So:

1) plug in replacement disk.
2) partition it:

# sfdisk -d /dev/sdX | sfdisk /dev/sdY

Where /dev/sdX is an existing disk and /dev/sdY is the replacement disk

3) add the partition(s) to the array(s):

# mdadm /dev/mdI ... -a /dev/sdYI
# mdadm /dev/mdJ ... -a /dev/sdYJ
# mdadm /dev/mdK ... -a /dev/sdYK
# mdadm /dev/mdL ... -a /dev/sdYL

No reason not to put all of the above in a script...

> 
> 
> - aurf
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>

-- 
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] Intel ICH10R on CentOS 5.4

2010-06-09 Thread William Warren
On 6/9/2010 8:27 PM, John R Pierce wrote:
> William Warren wrote:
>
>> jsut put the bios into sata or ata mode and not raid..then the raid
>> functionality is zero..:
>>  
> even when its enabled, the raid functionaliy of the ICH??R chips is
> zero.  :) "enabling RAID" in the BIOS simply sets a bit in the chip
> thats write-once (once its set, it can't be reset short of a full chip
> reset), this does two things.
>
>  A) it changes the PCI DEVICE_ID of the chip so it requires different
> drivers,
>  B) it tells the BIOS and drivers that they should implement Intel
> Matrix aka fake raid rather than standard SATA JBOD.
>
> thats *ALL* it does in hardware.  nada else.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
i understand that..but he doesn't want the fakeriad of the bios 
emulation or bit flip or whatever active so my comments about how to 
avoid it are accurate and stand as accurate.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] software raid - better management advice needed

2010-06-09 Thread aurfalien
On Jun 9, 2010, at 5:36 PM, Robert Heller wrote:

> At Wed, 9 Jun 2010 16:50:53 -0700 CentOS mailing list  > wrote:
>
>>
>> Hi,
>>
>> I've used mdadm for years now to manage software raids.
>>
>> The task of using fdisk to first create partitions on a spare drive
>> sitting on a shelf (raid 0 were my 1st of 2 drives failed) is kind of
>> bugging me now.
>>
>> After using fdisk to create the same partition layout on the new  
>> drive
>> as is on the existing drive and then using mdadm to finish every  
>> thing
>> up is a little tedious.
>>
>> Any one have an idea how to have a sort of hot plug were I just swap
>> out the drive and it rebuilds?
>
> sfdisk is your friend


Indeed, thanks, sfdisk will remain a life long friend.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] software raid - better management advice needed

2010-06-09 Thread Kwan Lowe
On Wed, Jun 9, 2010 at 8:36 PM, Robert Heller  wrote:
[snip]
>
> sfdisk is your friend (from man sfdisk):
>
[snip]

I'd mod this up if I could... sfdisk saves me hours and hours of
time.. I also use it to dump backup information to files in case I
need to rebuild.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos