Re: [CentOS] question about package buildings

2008-12-31 Thread Ralph Angenendt
David Hláčik wrote:
> Hello guys,
> 
> our company is going to distribute our software as rpms.
> I have prepared set Source RPMS which works ok on 64-bit and i386 platform.
> 
> I want to make our build process more automatic.
> 
> 1. What is the best way to build 32bit RPMS on 64bit CentOS machine?

Use mock (which is in CentOS extras repository).

> 2. What software/automatization script can be used for make build more
> automatic === does for centos exists something like Koji for Fedora?

I just have a small shell script wrapper around mock. If you need to
build on a larger scale, you could take a look at plague. If you just
need to build two or three packages a day, use a shell script :)

Cheers,

Ralph


pgptHTwNPKmgH.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anaconda crash during Centos 5.2 installation.

2008-12-31 Thread Alain PORTAL
Le mardi 30 décembre 2008 à 19:37, MHR a écrit :

> You need to supply more information about this "old" machine - that
> could be the problem

Motherboard is EliteGroup P4VXASD+
Processor is Intel Celeron 4A 2GHz
Chipset is VIA VT8753/A/E Apollo P4V266/A/E
Videoadapter is nVIDIA RIVA TNT2 M64 (32MB)

Regards,
Alain
-- 
La version française des pages de manuel Linux
http://manpagesfr.free.fr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anaconda crash during Centos 5.2 installation.

2008-12-31 Thread Alain PORTAL
Le mardi 30 décembre 2008 à 19:53, Lanny Marcus a écrit :

> As Mark (mhr) mentioned, it might not run on that box. I suggest you
> download the "Live CD" for CentOS 5.2 and test it with that. If it
> doesn't run on the Live CD, it probably is not going to run on that
> box. GL

Trying in graphical mode and text mode, I get a lot of errors message such as:
SQUASHFS error Unable to read page, block 2a673ccd, srclength 65536
SQUASHFS error zlib_fs returned unexpected result 0xfffd size 5230

I verified iso image (sha1sum) before burning it.
k3b (Fedora Core 6) report burn successful.
Is there a way with the Live CD to check the media before using it?

Regards,
Alain
-- 
La version française des pages de manuel Linux
http://manpagesfr.free.fr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Anaconda crash during Centos 5.2 installation.

2008-12-31 Thread William L. Maltby

On Wed, 2008-12-31 at 13:36 +0100, Alain PORTAL wrote:
> Le mardi 30 décembre 2008 à 19:53, Lanny Marcus a écrit :
> 
> > As Mark (mhr) mentioned, it might not run on that box. I suggest you
> > download the "Live CD" for CentOS 5.2 and test it with that. If it
> > doesn't run on the Live CD, it probably is not going to run on that
> > box. GL
> 
> Trying in graphical mode and text mode, I get a lot of errors message such as:
> SQUASHFS error Unable to read page, block 2a673ccd, srclength 65536
> SQUASHFS error zlib_fs returned unexpected result 0xfffd size 5230
> 
> I verified iso image (sha1sum) before burning it.
> k3b (Fedora Core 6) report burn successful.
> Is there a way with the Live CD to check the media before using it?

Just a thought along another tack: have you verified the hardware is
good? That thouyght strikes me because of the nature of the messages you
are getting. I have a mainboard with the VIA 8237 chipset and nvidia
graphics (I don't recall which model ATM) and run 5.x w/o problems.

If the unit has been around a long time, try re-seating all the memory,
cables, PS connectors, etc. Have you run a memtest86(?). Does a visual
inspection show any signs of distress on the board (discoloration of
capacitors, leaking, etc)?

Check BIOS settings too - maybe something set wrongly? Is the CMOS
battery good? Do BIOS settings hold?

> 
> Regards,
> Alain

HTH
-- 
Bill

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


Re: [CentOS] Anaconda crash during Centos 5.2 installation.

2008-12-31 Thread Alain PORTAL
Le mercredi 31 décembre 2008 à 13:47, William L. Maltby a écrit :

> Have you run a memtest86(?).

memtest86 found several errors during test #5.
No more time today to test which memory is defective, I'll try next year ;-)
which means next week.

Thanks!

Alain
-- 
La version française des pages de manuel Linux
http://manpagesfr.free.fr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Proxy password questions

2008-12-31 Thread Kwan Lowe
Hello All:
I'm having a strange issue with the yum proxy settings.  It is
directly related to passwords containing exclamation points.

For example, the following works fine in yum.conf:
http_proxy=http://somentlmproxy.somecompany.com
http_password=regularpassword

However, if the password contains any exclamation points, it will not
authenticate properly. E.g., a password such as "TheyKilledKenny!!"
will fail, but "TheyKilledKenny??" will work fine.

I've tried exporting http_proxy from the command line and escaping the
exclamation points:
http_proxy=http://klowe:theykilledkenny\...@somentlmproxy.xxx.com:80
but no success.

Any workarounds to get this going? Unfortunately, I do not have any
control over the password.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CD burning issues & questions

2008-12-31 Thread MHR
I have been having some strange results trying to burn CDs under
CentOS.  I don't think they are hardware related because I have had
some success, in fact most of this usually works.

I use k3b for most of my CD and DVD writing - it seems to work fairly
well (well, except for wrecking my installation a few weeks ago when
it crashed my installation and I had to reinstall to get it back, but
that's old news).

Yesterday, of my work desktop (32-bit), I tried to burn a CD with k3b.
 The system hung as soon as I clicked on the start button in the burn
menu.  I did not want another case of wrecked system, so I rebooted
(no other way to interrupt it) and all went well, except that I didn't
even try to burn the CD.  (I used my other, backup desktop, and it
worked fine over there - hmm)

Then, last night, on my home desktop (64-bit), which is usually solid
as a rock, no problems whatsoever (I said "usually"), I had similar
problems, though not quite as bad.  I was trying to erase some CD-RWs,
and I kept getting errors, both from k3b and cdrecord, claiming that
they could not lock the drive for exclusive access (because another
process was accessing the device).  This is really annoying because
I've tried this one several CD-RWs, and they all get the same error.
Since k3b doesn't include a facility to add data to an already written
CD or DVD unless there's a specific project for it (which I don't have
'cuz the CDs were written under Window$ or with projects I didn't
keep).

Any ideas/suggestions?

Thanks.

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


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread William L. Maltby

On Wed, 2008-12-31 at 10:27 -0800, MHR wrote:
> I have been having some strange results trying to burn CDs under
> CentOS.  I don't think they are hardware related because I have had
> some success, in fact most of this usually works.
> 
> I use k3b for most of my CD and DVD writing - it seems to work fairly
> well (well, except for wrecking my installation a few weeks ago when
> it crashed my installation and I had to reinstall to get it back, but
> that's old news).
> 
> Yesterday, of my work desktop (32-bit), I tried to burn a CD with k3b.
>  The system hung as soon as I clicked on the start button in the burn
> menu.  I did not want another case of wrecked system, so I rebooted
> (no other way to interrupt it) and all went well, except that I didn't
> even try to burn the CD.  (I used my other, backup desktop, and it
> worked fine over there - hmm)
> 
> Then, last night, on my home desktop (64-bit), which is usually solid
> as a rock, no problems whatsoever (I said "usually"), I had similar
> problems, though not quite as bad.  I was trying to erase some CD-RWs,
> and I kept getting errors, both from k3b and cdrecord, claiming that
> they could not lock the drive for exclusive access (because another
> process was accessing the device).  This is really annoying because
> I've tried this one several CD-RWs, and they all get the same error.
> Since k3b doesn't include a facility to add data to an already written
> CD or DVD unless there's a specific project for it (which I don't have
> 'cuz the CDs were written under Window$ or with projects I didn't
> keep).
> 
> Any ideas/suggestions?

As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess).

With a normal desktop, when you insert a CD/DVD that has something
recognizable on it, an "automount" occurs that gives you access to the
thing from your desktop. I know notthing about the k3*, so I don't know
if the following is possible.

Is it possible that it is mounted as another user? If it is mounted at
all, does k3* allow you to erase, write, etc? I would think that it
would need to be un-mounted for that to occur.

That's all I can think of. Can you right-click on the icon and see what
the system thinks about it? What does a mount command show?

> 
> Thanks.
> 
> mhr
> 

Sorry I have nothing more knowledgeable. I always use the cdr tools for
my stuff.

HTH
-- 
Bill

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


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread MHR
On Wed, Dec 31, 2008 at 10:37 AM, William L. Maltby
 wrote:
>
> As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess).
>
> With a normal desktop, when you insert a CD/DVD that has something
> recognizable on it, an "automount" occurs that gives you access to the
> thing from your desktop. I know notthing about the k3*, so I don't know
> if the following is possible.
>
> Is it possible that it is mounted as another user? If it is mounted at
> all, does k3* allow you to erase, write, etc? I would think that it
> would need to be un-mounted for that to occur.
>

Actually, I did think of that.  I tried running the cdrecord erase
command with sudo (as root) and it made no difference - still couldn't
"lock" the device.

Should I unmount the disk and then try the erase command?  That seems
kind of odd, but I'll try it tonight anyway

Thanks.

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


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread Robert Moskowitz
MHR wrote:
> I have been having some strange results trying to burn CDs under
> CentOS.  I don't think they are hardware related because I have had
> some success, in fact most of this usually works.
>   

I use k3b with little problem. I do have to tell it to use TAO and to go 
at 8x. If I let it go auto, it would hang on me. I suspect it was not 
getting the 'right' hardware info and doing the wrong thing.

> I use k3b for most of my CD and DVD writing - it seems to work fairly
> well (well, except for wrecking my installation a few weeks ago when
> it crashed my installation and I had to reinstall to get it back, but
> that's old news).
>
> Yesterday, of my work desktop (32-bit), I tried to burn a CD with k3b.
>  The system hung as soon as I clicked on the start button in the burn
> menu.  I did not want another case of wrecked system, so I rebooted
> (no other way to interrupt it) and all went well, except that I didn't
> even try to burn the CD.  (I used my other, backup desktop, and it
> worked fine over there - hmm)
>
> Then, last night, on my home desktop (64-bit), which is usually solid
> as a rock, no problems whatsoever (I said "usually"), I had similar
> problems, though not quite as bad.  I was trying to erase some CD-RWs,
> and I kept getting errors, both from k3b and cdrecord, claiming that
> they could not lock the drive for exclusive access (because another
> process was accessing the device).  This is really annoying because
> I've tried this one several CD-RWs, and they all get the same error.
> Since k3b doesn't include a facility to add data to an already written
> CD or DVD unless there's a specific project for it (which I don't have
> 'cuz the CDs were written under Window$ or with projects I didn't
> keep).
>
> Any ideas/suggestions?
>
> Thanks.
>
> mhr
> ___
> 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] CD burning issues & questions

2008-12-31 Thread MHR
On Wed, Dec 31, 2008 at 11:09 AM, Robert Moskowitz  wrote:
> MHR wrote:
>> I have been having some strange results trying to burn CDs under
>> CentOS.  I don't think they are hardware related because I have had
>> some success, in fact most of this usually works.
>>
>
> I use k3b with little problem. I do have to tell it to use TAO and to go
> at 8x. If I let it go auto, it would hang on me. I suspect it was not
> getting the 'right' hardware info and doing the wrong thing.
>

A big aha!  I forgot all about that (TAO).  I usually click the
circular dual arrow button (which tells k3b to go and get the actual
speeds available so it will then use the right/fastest one).

Thanks!

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


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread William L. Maltby

On Wed, 2008-12-31 at 11:09 -0800, MHR wrote:
> On Wed, Dec 31, 2008 at 10:37 AM, William L. Maltby
>  wrote:
> >
> > As to the "in use" part, I'll make a SWAG (Scientific Wild-Ass Guess).
> >
> > With a normal desktop, when you insert a CD/DVD that has something
> > recognizable on it, an "automount" occurs that gives you access to the
> > thing from your desktop. I know notthing about the k3*, so I don't know
> > if the following is possible.
> >
> > Is it possible that it is mounted as another user? If it is mounted at
> > all, does k3* allow you to erase, write, etc? I would think that it
> > would need to be un-mounted for that to occur.
> >
> 
> Actually, I did think of that.  I tried running the cdrecord erase
> command with sudo (as root) and it made no difference - still couldn't
> "lock" the device.
> 
> Should I unmount the disk and then try the erase command?  That seems
> kind of odd, but I'll try it tonight anyway

Yes. AFAIK, no mounted FS can be easily (I'm not sure about impossible)
"reformatted" or "erased" (both are effectively removing the file
system). One of the nice things an OS does (or should do) if prevent
destruction of "active" file systems. If mounted, it is active. Try the
umount and then working on it. BTW, for DVD if IIRC, you _might_ need to
"format". Unsure of that though. I know a "virgin" needs formatting.

Maybe the desktop ICON can be right-clicked and cause an unmount without
ejecting and making the icon disappear? If so, then that would let you
continue to operate on it via the desktop tools.

I've not tried that, but it _seems_ it should work. I mean, if the
desktop can recognize a "blank" media and allow you to format, burn,
etc., even though there is no file system there, it should not (IMO)
remove the icon just because it is unmounted. Once unmounted, the media
is not "active" and could (s/b IMO) be treated just like a blank media.

> 
> Thanks.
> 
> mhr
> 

-- 
Bill

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


[CentOS] ls network address traslation different in centos?

2008-12-31 Thread chloe K
Hi all
   
  ls the network address traslation in centos5.2 different?
   
  I disable the default iptable rule and use the following commands but I can't 
connect http://public:8080 from outside to this host 192.168.0.10 port 80
   
  eth1 is public address
  eth0 is private address 192.168.0.1
   
  iptables -F -t nat 
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE 
iptables --append FORWARD --in-interface eth0 -j ACCEPT 
iptables -t nat -A PREROUTING -p tcp --dport 8080 -i eth1 -j DNAT --to 
192.168.0.10:80
   
  Thank you

   
-
Looking for the perfect gift? Give the gift of Flickr!
   
-
Now with a new friend-happy design! Try the new Yahoo! Canada Messenger___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any idea when we will have updated kmod-drbd82 rpm for the latest kernel?

2008-12-31 Thread Alan Sparks
>
> On Tue, Dec 2, 2008 at 3:14 AM, mbneto  > wrote:
> >/ Hi,
> />/
> />/ After searching the archive I found one post (last october) complaining
> />/ about lack of kmod-drbd2 rpm for the lastest kernels.  Almost two months
> />/ have passed and no sign of the rpm I was wondering if the mantainer has 
> some
> />/ news about it.
> /
> Unlike previous versions, the current version of kmod-drbd82 is not
> kernel version-specific.  You should just update it and it will work
> for newer kernels.
>
> Akemi
>   
How is this statement justified?  The RPM dependencies do not indicate this:

$ rpm -qRp kmod-drbd82-smp-8.2.6-2.2.6.9_78.0.5.plus.c4.x86_64.rpm
/bin/sh
/bin/sh
/sbin/depmod
/sbin/depmod
drbd82 >= 8.2.6
kernel-smp-x86_64 = 2.6.9-78.0.5.plus.c4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1

$ rpm -qlp kmod-drbd82-smp-8.2.6-2.2.6.9_78.0.5.plus.c4.x86_64.rpm
/lib/modules/2.6.9-78.0.5.plus.c4smp/extra/drbd.ko

Since the current kernel is 78.0.8, this module will fail dependency
checks.  And install to the wrong module directory for the 78.0.8 kernel
anyway... I have tickets 3291 and 3316 open for this.
-Alan


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


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread Lanny Marcus
On Wed, Dec 31, 2008 at 1:27 PM, MHR  wrote:
> I have been having some strange results trying to burn CDs under
> CentOS.  I don't think they are hardware related because I have had
> some success, in fact most of this usually works.
>
> I use k3b for most of my CD and DVD writing - it seems to work fairly
> well (well, except for wrecking my installation a few weeks ago when
> it crashed my installation and I had to reinstall to get it back, but
> that's old news).

I use k3b to burn CD-R and CD-RW media on my CentOS 5.2 (32 bit) box.
Does not have a DVD burner, so I can't speak to burning DVD media with
k3b. I do not see those issues. However, when I began having a variety
of problems with this box, about 2 weeks ago, one of the symptoms was
that k3b did not see media in the drive.  There were also other
symptoms, unrelated to k3b. Following my own advice, which I'd given
to someone on the list, I opened the box and pushed down on all the
connectors, RAM, etc. Poof. All of the symptoms have gone away,
and stayed away, with the exception of the 4 Diagnostic Lights on the
motherboard are Yellow, undocumented, but apparently means mobo is
damaged.
Bottom line is I suggest that you open the box, and push down on all
the connectors, RAM, etc. GL & Happy New Year!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nx - KDE - CentOS 5.2

2008-12-31 Thread Craig White
something strange is occurring on what is a new setup CentOS 5.2, KDE
via NX

When I am in Konsole and I press the 'up arrow' key, I get KSnapshot
instead of repeating the last line. I looked at kcontrol and there
doesn't seem to be any keybinding to cause that and it's irritating and
I can't figure out how to shut it off...can someone toss me a bone here?

Craig

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


[CentOS] Wireless network connection problem

2008-12-31 Thread Thomas Iverson
hi all , i just met a strange problem about my wireless network , i
installed ipw3945 driver and it can detect the wireless network lists
around my laptop ,but , i can't connect to the wireless network even
under the right authority

my centos 5.2 dectected my wirless network card as eth1 , it's really
strange , i think

any help ? thx and wish you a happy new year :)

-- 
Keep It Simple Stupid
Thomas X. Iverson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Wireless network connection problem

2008-12-31 Thread Thomas Iverson
On Thu, Jan 1, 2009 at 12:39 PM, Thomas Iverson  wrote:
> hi all , i just met a strange problem about my wireless network , i
> installed ipw3945 driver and it can detect the wireless network lists
> around my laptop ,but , i can't connect to the wireless network even
> under the right authority
>
> my centos 5.2 dectected my wirless network card as eth1 , it's really
> strange , i think
>
> any help ? thx and wish you a happy new year :)
>
> --
> Keep It Simple Stupid
> Thomas X. Iverson
>

Hey , i connected to wireless network successfully with "dhclient
eth1" , but still i can't connect to the network via network-managaer
, how am i supposed to set my network-manager right ?

-- 
Keep It Simple Stupid
Thomas X. Iverson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CD burning issues & questions

2008-12-31 Thread Michael A. Peters
MHR wrote:
*snip*
> 
> Any ideas/suggestions?

I always just use the cli tool, and I always do the actual burn as root.

To make a CD/DVD image I use -

mkisofs -J -l -r -o foo.iso /path/to/some/directory

To burn - which I do as root - I insert the media, wait a few seconds, 
then -

cdrecord -dev=/dev/scd0 -speed=n -dao -pad -v foo.iso

For data CDs if I pick a speed below 24x it does 24x anyway - not sure 
why, didn't with my old burner (ATAPI) but does with my SATA burner.

With DVDs - I specify 4x. When burning AVI files to play on my DVD 
player (which supports divx on iso9660) if I burn at 8x - half the time 
the DVD player reports bad disk, but burn at 4x and it always works 
(DVD-R media)

Don't let the screensaver pop on during a burn - I've had that ruin 
burns. Also burn as root. When I try burning as a non privileged user, 
it often fails. You can set the suid bit on cdrecord and burn as 
standard user, but that gets undone next yum update (I suppose you could 
write a suid wrapper script and throw it in /usr/local/bin ...)

For audio CDs - last time I burned an audio CD was so long ago I don't 
remember, but I recall needing to make a TOC file and I think I used a 
different executable than cdrecord.

Also - if running BitTorrent - shut it off. I've had burns ruined 
because BitTorrent was running. That may have been because I don't have 
a dedicated disk for the CD/DVD images, so the disk arm moving to read 
and send torrent bits may have been too slow to keep the burner buffer 
happily filled.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos