[CentOS] Curiosity Question

2012-07-13 Thread Phil Savoie
Hi All,

During updates I see a number preceding the package to be updated as 
indicated in the below example:

  1:perl-Module-Build-0.3500-119.el6_1.1.x86_64
  ^
Does anyone know what does this indicates?

Thank you,

Phil
-- 
Carpe Aptenodytes! (Seize the Penguins!)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Curiosity Question

2012-07-13 Thread Leonard den Ottolander
Hello Phil,

On Fri, 2012-07-13 at 05:52 -0400, Phil Savoie wrote:
>   1:perl-Module-Build-0.3500-119.el6_1.1.x86_64
>   ^
> Does anyone know what does this indicates?

It's the epoch, which is essentially a version override, i.e. any
version of a package with an epoch of 1 is more recent than a version
without an epoch (epoch = 0). It was conceived to overcome issues caused
by poor versioning.

For example
package-1beta-1
vs.
1:package-1-2

(1beta > 1, epoch to the rescue)

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


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


Re: [CentOS] Fwd: Bug 800181: NFSv4 on RHEL 6.3 over six times slower than 5.8

2012-07-13 Thread Tilman Schmidt
Am 11.07.2012 00:58, schrieb Gé Weijers:
> It may not be a bug, it may be that RHEL 6.x implements I/O barriers
> correctly, which slows things down but keeps you from losing data

Which is of course no excuse for not even responding to a support
request. "It's not a bug, it's a feature" may not be the response the
client wants to hear, but it's much better than no response at all.

Jm2c

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Curiosity Question

2012-07-13 Thread Phil Savoie
On 07/13/2012 06:30 AM, Leonard den Ottolander wrote:
> Hello Phil,
>
> On Fri, 2012-07-13 at 05:52 -0400, Phil Savoie wrote:
>> > 1:perl-Module-Build-0.3500-119.el6_1.1.x86_64
>> > ^
>> >  Does anyone know what does this indicates?
> It's the epoch, which is essentially a version override, i.e. any
> version of a package with an epoch of 1 is more recent than a version
> without an epoch (epoch = 0). It was conceived to overcome issues caused
> by poor versioning.
>
> For example
> package-1beta-1
> vs.
> 1:package-1-2
>
> (1beta>  1, epoch to the rescue)
>
> Regards,
> Leonard.

Thank you, sir.

Phil
-- 
Carpe Aptenodytes! (Seize the Penguins!)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fwd: Bug 800181: NFSv4 on RHEL 6.3 over six times slower than 5.8

2012-07-13 Thread mark
On 07/12/12 06:41, Colin Simpson wrote:
> I have tried the async option and that reverts to being as fast as
> previously.
>
> So I guess the choice is use the less safe async and get file creation
> being quick or live with the slow down until a potentially new protocol
> extension appears to help with this.

The most aggravating part of this is when my manager first set me the 
problem of trying to find a workaround, I *did* try async, and got no 
difference. Now, I can't replicate that... but the oldest version I have 
is still 6.2, and I think I was working under 6.0 or 6.1.

*After* I test further, I think it's up to my manager and our users to 
decide if it's worth it to go with less secure - this is a real issue, 
since some of their jobs run days, and one or two weeks, on an HBS* or a 
good sized cluster. (We're speaking of serious scientific computing here.)

mark

* Technical term: honkin' big server, things like 48 or 64 cores, 
quarter of a terabyte of memory or so
>
> Colin
>
>
> On Wed, 2012-07-11 at 15:16 -0700, David C. Miller wrote:
>>
>> - Original Message -
>>> On Wed, Jul 11, 2012 at 11:29 AM, Colin Simpson
>>>   wrote:

 But think yourself lucky, BTRFS on Fedora 16 was much worse. This
 was
 the time it took me to untar a vlc tarball.

 F16 to RHEL5 - 0m 28.170s
 F16 to F16 ext4 -  4m 12.450s
 F16 to F16 btrfs - 14m 31.252s

 A quick test seems to say this is better in F17 (3m7.240s on BTRFS
 but
 still looks like we are hitting NFSv4 issues for this but btrfs
 itself
 is better).
>>>
>>> I wonder if the real issue is that NFSv4 waits for a directory change
>>> to sync to disk but linux wants to flush the whole disk cache before
>>> saying the sync is complete.
>>>
>>> --
>>>Les Mikesell
>>>   lesmikes...@gmail.com
>>
>> I think you are right that it is the forcing of the sync operation for all 
>> writes in NFSv4 that is making it slow. I just tested on a server and client 
>> both running RHEL 6.3. I exported a directory that had an old tar.gz of open 
>> office 3.0 distribution for Linux. 175MB. Exported with the default of sync 
>> option took 26 seconds to extract from the client mount. Exported with the 
>> async option and the extraction only took 4 seconds. Just to be clear on 
>> what I tested with. This is over 1GbE. The NFS server has an Intel Core 
>> i3-2125 CPU @ 3.3GHz, 16GB ram, NFS export directory is from a 22 drive 
>> Linux RAID6 connected via a SAS 6Gb/sec HBA. The client is a Intel Core 2 
>> duo E8400 @ 3GHz, 4GB ram.
>>
>> Mark,
>>
>> Have you tried using async in your export options yet? Any difference?
>>
>> David.
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
>
> 
>
>
> This email and any files transmitted with it are confidential and are 
> intended solely for the use of the individual or entity to whom they are 
> addressed. If you are not the original recipient or the person responsible 
> for delivering the email to the intended recipient, be advised that you have 
> received this email in error, and that any use, dissemination, forwarding, 
> printing, or copying of this email is strictly prohibited. If you received 
> this email in error, please immediately notify the sender and delete the 
> original.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
"The Pluto Files", Neil Degrasse Tyson.
Pluto shall rise again! - whitroth
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Aft nix
Hi,

I'm developing kernel modules right now, and the build times are
starting to get under my skin. As a side effect i'm taking way too
many "coffee" breaks during builds.

So i was looking for a way to build only the stuffs i need for my
platform. Chapter 7 and 8 of "linux kernel in a nutshell" gave a good
detail of how to do that by hand. Its a good read :
http://www.kroah.com/lkn/

But Although i understand the stuffs, this is still a lot of tweaks to
make that work.

2.6.32 and later kernels added a new target "make localmodconfig".
which scans through "lsmod" and change the .config appropriately. So i
thought i found my "automation". But this perl script has some problem
too.

This thread describes the problems :
https://bbs.archlinux.org/viewtopic.php?pid=845113

There was also a proposed solution which apparently worked for others
, is to run the script directly instead of using make's target.

Although for me, make localmodconfig does not work at all. its because
of the following :

$make clean
$make mrproper
$cp /boo/config-'uname -r' .config
$make localmodconfig

and it haults with

vboxguest config not found!!
nf_defrag_ipv6 config not found!!
vboxsf config not found!!
vboxvideo config not found!!

The thing is my kernel development environment is inside virtualbox.
These vbox modules were installed when i chose to install "virtualbox
guest addtion".

And the netfilter module might be a Distribution specific module(Lot
of netfilter modules are not part of the mainline kernel, so its not a
shock to me), which is not included in mainline kernel.

Now the workaround this obviously unloading these module and trying
again. But I'm thinking if there is patch for the
"streamline_config.pl" which will enable the user to exclude certain
modules if s/he wants. Problem is i have "zero" knowledge about perl
and i like it that way.

So my problems in "nutshell"

1) Patching streamline_config.pl so i can give a list of module name
as argument which it will exclude from processing the config file.

2) I've tried to run the script by myself. But running it directly
fails with a error.

[root@kernel-host-rh6 linux-2.6]# sh scripts/kconfig/streamline_config.pl
scripts/kconfig/streamline_config.pl: line 45: my: command not found
scripts/kconfig/streamline_config.pl: line 47: my: command not found
scripts/kconfig/streamline_config.pl: line 48: chomp: command not found
scripts/kconfig/streamline_config.pl: line 50: syntax error near
unexpected token `('
scripts/kconfig/streamline_config.pl: line 50: `my @searchconfigs = ('

Again my "zero" knowledge about perl does not helping my case.

Additional info:

I have faced the same thing in 2.6.32, 2.6.33, 2.6.35, 3.4, 3.4.rc1
.(I constantly switch version for various reasons, everywhere the
problem is same)

You can access the script from kernel.org gitweb:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob;f=scripts/kconfig/streamline_config.pl;h=bccf07ddd0b67a0e2f761fd5721f274a49bf9bbb;hb=HEAD

Its from 3.4.0. `git log --stat scripts/kconfig/streamline_config.pl`
shows some activity recently on this file. But my problem persists.

3) Is there any way i can get the "Centos specific" patches in "plain
patch" format? That means i dont wanna do things in src-rpm way.
If the patches are available in normal patch format i can keep
everything tidy in my kernel git tree.
-- 
-aft
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Aft nix
On Fri, Jul 13, 2012 at 6:29 PM, Aft nix  wrote:
> Hi,
>
> I'm developing kernel modules right now, and the build times are
> starting to get under my skin. As a side effect i'm taking way too
> many "coffee" breaks during builds.
>
> So i was looking for a way to build only the stuffs i need for my
> platform. Chapter 7 and 8 of "linux kernel in a nutshell" gave a good
> detail of how to do that by hand. Its a good read :
> http://www.kroah.com/lkn/
>
> But Although i understand the stuffs, this is still a lot of tweaks to
> make that work.
>
> 2.6.32 and later kernels added a new target "make localmodconfig".
> which scans through "lsmod" and change the .config appropriately. So i
> thought i found my "automation". But this perl script has some problem
> too.
>
> This thread describes the problems :
> https://bbs.archlinux.org/viewtopic.php?pid=845113
>
> There was also a proposed solution which apparently worked for others
> , is to run the script directly instead of using make's target.
>
> Although for me, make localmodconfig does not work at all. its because
> of the following :
>
> $make clean
> $make mrproper
> $cp /boo/config-'uname -r' .config
> $make localmodconfig
>
> and it haults with
>
> vboxguest config not found!!
> nf_defrag_ipv6 config not found!!
> vboxsf config not found!!
> vboxvideo config not found!!
>
> The thing is my kernel development environment is inside virtualbox.
> These vbox modules were installed when i chose to install "virtualbox
> guest addtion".
>
> And the netfilter module might be a Distribution specific module(Lot
> of netfilter modules are not part of the mainline kernel, so its not a
> shock to me), which is not included in mainline kernel.
>
> Now the workaround this obviously unloading these module and trying
> again. But I'm thinking if there is patch for the
> "streamline_config.pl" which will enable the user to exclude certain
> modules if s/he wants. Problem is i have "zero" knowledge about perl
> and i like it that way.
>
> So my problems in "nutshell"
>
> 1) Patching streamline_config.pl so i can give a list of module name
> as argument which it will exclude from processing the config file.
>
> 2) I've tried to run the script by myself. But running it directly
> fails with a error.
>
> [root@kernel-host-rh6 linux-2.6]# sh scripts/kconfig/streamline_config.pl
> scripts/kconfig/streamline_config.pl: line 45: my: command not found
> scripts/kconfig/streamline_config.pl: line 47: my: command not found
> scripts/kconfig/streamline_config.pl: line 48: chomp: command not found
> scripts/kconfig/streamline_config.pl: line 50: syntax error near
> unexpected token `('
> scripts/kconfig/streamline_config.pl: line 50: `my @searchconfigs = ('
>
> Again my "zero" knowledge about perl does not helping my case.
>
> Additional info:
>
> I have faced the same thing in 2.6.32, 2.6.33, 2.6.35, 3.4, 3.4.rc1
> .(I constantly switch version for various reasons, everywhere the
> problem is same)
>
> You can access the script from kernel.org gitweb:
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob;f=scripts/kconfig/streamline_config.pl;h=bccf07ddd0b67a0e2f761fd5721f274a49bf9bbb;hb=HEAD
>
> Its from 3.4.0. `git log --stat scripts/kconfig/streamline_config.pl`
> shows some activity recently on this file. But my problem persists.
>
> 3) Is there any way i can get the "Centos specific" patches in "plain
> patch" format? That means i dont wanna do things in src-rpm way.
> If the patches are available in normal patch format i can keep
> everything tidy in my kernel git tree.
> --
> -aft

You can ignore the "perl script" not running thing. I was trying
trying run a perl script with "sh" in front of it. How horribly dumb
i've been today :)
cheers.

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


Re: [CentOS] Fwd: Bug 800181: NFSv4 on RHEL 6.3 over six times slower than 5.8

2012-07-13 Thread Les Mikesell
On Fri, Jul 13, 2012 at 7:12 AM, mark  wrote:
>
> *After* I test further, I think it's up to my manager and our users to
> decide if it's worth it to go with less secure - this is a real issue,
> since some of their jobs run days, and one or two weeks, on an HBS* or a
> good sized cluster. (We're speaking of serious scientific computing here.)

I always wondered why the default for nfs was ever sync in the first
place.  Why shouldn't it be the same as local use of the filesystem?
The few things that care should be doing fsync's at the right places
anyway.

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] version bind to 6.3 release and back port option

2012-07-13 Thread fakessh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


hello guys


they are the new features of bind version from back port doors
superior to the current version of centos 6.3

inline signing
it is present

what are the new functionality provides for this update

- -- 
  http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
  gpg --keyserver pgp.mit.edu --recv-key C2626742

  http://urlshort.eu fakessh @
  http://gplus.to/sshfake
  http://gplus.to/sshswilting
  http://gplus.to/john.swilting
  https://lists.fakessh.eu/mailman/
  This list is moderated by me, but all applications will be accepted
  provided they receive a note of presentation
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAAIAIACgkQNgqL0sJiZ0KMGwCgmfD5tsTx1KkP5u5SLZD2vKSE
kl4AoNCi8OTd2Is1YODxjYetc62OYnQR
=O5on
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Akemi Yagi
On Fri, Jul 13, 2012 at 5:29 AM, Aft nix  wrote:
> Hi,
>
> I'm developing kernel modules right now, and the build times are
> starting to get under my skin. As a side effect i'm taking way too
> many "coffee" breaks during builds.
(snip)
> 3) Is there any way i can get the "Centos specific" patches in "plain
> patch" format? That means i dont wanna do things in src-rpm way.
> If the patches are available in normal patch format i can keep
> everything tidy in my kernel git tree.

The CentOS way of "Build Your Own Kernel Modules" is described in this
CentOS wiki article:

http://wiki.centos.org/HowTos/BuildingKernelModules

I suggest you try method 1 first to see if you can build your module.
Once confirmed, you may want to proceed to method 3 to build a
kABI-compatible module.

You can ask further questions about kmods either here, or better yet,
on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
number of kernel modules for RHEL/CentOS/SL.

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


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread m . roth
Aft nix wrote:
> Hi,
>
> I'm developing kernel modules right now, and the build times are
> starting to get under my skin. As a side effect i'm taking way too
> many "coffee" breaks during builds.

> But Although i understand the stuffs, this is still a lot of tweaks to
> make that work.
>
> 2.6.32 and later kernels added a new target "make localmodconfig".
> which scans through "lsmod" and change the .config appropriately. So i
> thought i found my "automation". But this perl script has some problem
> too.
>
> This thread describes the problems :
> https://bbs.archlinux.org/viewtopic.php?pid=845113

#1: archlinux? Are you working in CentOS or arch linux?
>
> There was also a proposed solution which apparently worked for others
> , is to run the script directly instead of using make's target.

#2: That's because people don't understand make at all. Go read the
O'Reilly book on Make: .
Grok it.
>
> Although for me, make localmodconfig does not work at all. its because
> of the following :
>
> $make clean

#3: you complain about how long it takes to build, yet you're doing a make
clean *first*. See #2. Then *DO* *NOT* use make clean unless it's
absolutely necessary.

> $make mrproper
> $cp /boo/config-'uname -r' .config

#4: Have you looked at the contents of .config to verify they're what you
expect?

> $make localmodconfig

#5: How is .config used in the makefile?
>
> and it haults with
>
> vboxguest config not found!!
> nf_defrag_ipv6 config not found!!
> vboxsf config not found!!
> vboxvideo config not found!!
>
> The thing is my kernel development environment is inside virtualbox.
> These vbox modules were installed when i chose to install "virtualbox
> guest addtion".

#6: Did you install the dev modules *in* the virtualbox, as opposed to the
host?

> Now the workaround this obviously unloading these module and trying
> again. But I'm thinking if there is patch for the
> "streamline_config.pl" which will enable the user to exclude certain
> modules if s/he wants. Problem is i have "zero" knowledge about perl
> and i like it that way.

#7: You're building kernel mods, and don't want to know about perl?
>
> So my problems in "nutshell"
>
> 1) Patching streamline_config.pl so i can give a list of module name
> as argument which it will exclude from processing the config file.

#8: Perhaps if you looked at the perl script, or ran it with -? or -h or
--help, it might *tell* you?


>
> Additional info:

> 3) Is there any way i can get the "Centos specific" patches in "plain
> patch" format? That means i dont wanna do things in src-rpm way.
> If the patches are available in normal patch format i can keep
> everything tidy in my kernel git tree.

#9: yum update [package], perhaps?

#10: And under annoyances, turn on your damn spellchecking. "Stuffs",
"hault"

 mark "and maybe your makefile needs a VPATH corrected"

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


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Aft nix
On Fri, Jul 13, 2012 at 7:48 PM,   wrote:

> #1: archlinux? Are you working in CentOS or arch linux?

I'm using CentOS. But the problem was "make localmodconfig" is not
working. I don't see how a question related to "building kernel.org
kernel" relates to distribution, just because the problem was
discussed in a distribution's forum. Same kind of discussion can be
found(about faulty behaviour of "make localmodconfig") in
debian/ubuntu forums if use try google.

>>
>> There was also a proposed solution which apparently worked for others
>> , is to run the script directly instead of using make's target.
>
> #2: That's because people don't understand make at all. Go read the
> O'Reilly book on Make: .
> Grok it.

Not understanding how this relates to ignorance of "make". may be you
are pointing about the environment variables and stuffs.

>>
>> Although for me, make localmodconfig does not work at all. its because
>> of the following :
>>
>> $make clean
>
> #3: you complain about how long it takes to build, yet you're doing a make
> clean *first*. See #2. Then *DO* *NOT* use make clean unless it's
> absolutely necessary.
>

I'm trying to tune up my kernel build. so i need to see which way it
performs the best. During development i dont "clean". I dont even make
the whole tree. i just build the part of the tree i'm developing.


>> $make mrproper
>> $cp /boo/config-'uname -r' .config
>
> #4: Have you looked at the contents of .config to verify they're what you
> expect?

Yep, i have run make menuconfig to see what's enabled. But you there
is thousands of options, its not practical to go through all of them.
I just see common options. Like if the driver for my ethernet card is
enabled "only". stuffs like that.

>
>> $make localmodconfig
>
> #5: How is .config used in the makefile?

Its used by default.

>>
>> and it haults with
>>
>> vboxguest config not found!!
>> nf_defrag_ipv6 config not found!!
>> vboxsf config not found!!
>> vboxvideo config not found!!
>>
>> The thing is my kernel development environment is inside virtualbox.
>> These vbox modules were installed when i chose to install "virtualbox
>> guest addtion".
>
> #6: Did you install the dev modules *in* the virtualbox, as opposed to the
> host?

Yes.

> 
>> Now the workaround this obviously unloading these module and trying
>> again. But I'm thinking if there is patch for the
>> "streamline_config.pl" which will enable the user to exclude certain
>> modules if s/he wants. Problem is i have "zero" knowledge about perl
>> and i like it that way.
>
> #7: You're building kernel mods, and don't want to know about perl?

I managed to make it through without "perl" till now.

>>
>> So my problems in "nutshell"
>>
>> 1) Patching streamline_config.pl so i can give a list of module name
>> as argument which it will exclude from processing the config file.
>
> #8: Perhaps if you looked at the perl script, or ran it with -? or -h or
> --help, it might *tell* you?

Honestly i've never checked it. i've just checked. nothing comes up
with --help, -h -?. All are unknown options.


>
> 
>>
>> Additional info:
> 
>> 3) Is there any way i can get the "Centos specific" patches in "plain
>> patch" format? That means i dont wanna do things in src-rpm way.
>> If the patches are available in normal patch format i can keep
>> everything tidy in my kernel git tree.
>
> #9: yum update [package], perhaps?
>

trying not involve *rpm*. I like my git tree :) .

> #10: And under annoyances, turn on your damn spellchecking. "Stuffs",
> "hault"

English is not my native language. When i type quickly sometimes,
correcting all the spelling mistake seems like a burden. Sorry for the
annoyance in caused.

>
>  mark "and maybe your makefile needs a VPATH corrected"
>

Thanks for your insight.

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



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


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Aft nix
On Fri, Jul 13, 2012 at 7:34 PM, Akemi Yagi  wrote:
> On Fri, Jul 13, 2012 at 5:29 AM, Aft nix  wrote:
>> Hi,
>>
>> I'm developing kernel modules right now, and the build times are
>> starting to get under my skin. As a side effect i'm taking way too
>> many "coffee" breaks during builds.
> (snip)
>> 3) Is there any way i can get the "Centos specific" patches in "plain
>> patch" format? That means i dont wanna do things in src-rpm way.
>> If the patches are available in normal patch format i can keep
>> everything tidy in my kernel git tree.
>
> The CentOS way of "Build Your Own Kernel Modules" is described in this
> CentOS wiki article:
>
> http://wiki.centos.org/HowTos/BuildingKernelModules
>
> I suggest you try method 1 first to see if you can build your module.
> Once confirmed, you may want to proceed to method 3 to build a
> kABI-compatible module.
>
> You can ask further questions about kmods either here, or better yet,
> on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
> number of kernel modules for RHEL/CentOS/SL.
>
> Akemi
>

So bottom line is, i can't get the patches other than src-rpms?


I better learn this thing, i guess.
cheers.
 ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos



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


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread m . roth
Aft nix wrote:
> On Fri, Jul 13, 2012 at 7:34 PM, Akemi Yagi  wrote:
>> On Fri, Jul 13, 2012 at 5:29 AM, Aft nix  wrote:
>>> Hi,
>>>
>>> I'm developing kernel modules right now, and the build times are
>>> starting to get under my skin. As a side effect i'm taking way too
>>> many "coffee" breaks during builds.
>> (snip)
>>> 3) Is there any way i can get the "Centos specific" patches in "plain
>>> patch" format? That means i dont wanna do things in src-rpm way.
>>> If the patches are available in normal patch format i can keep
>>> everything tidy in my kernel git tree.
>>
>> The CentOS way of "Build Your Own Kernel Modules" is described in this
>> CentOS wiki article:
>>
>> http://wiki.centos.org/HowTos/BuildingKernelModules
>>
>> I suggest you try method 1 first to see if you can build your module.
>> Once confirmed, you may want to proceed to method 3 to build a
>> kABI-compatible module.
>>
>> You can ask further questions about kmods either here, or better yet,
>> on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
>> number of kernel modules for RHEL/CentOS/SL.
>
> So bottom line is, i can't get the patches other than src-rpms?

That's why I mentioned yum update . Yum will get the dependencies
as well.
>
> I better learn this thing, i guess.

You're on CentOS and not using yum to update the system? You very much
need to learn it.

  mark

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


[CentOS] BCM4313 on CentOS 6.3

2012-07-13 Thread ottop
Hi all,

I'm a complete newbie in Linux and am trying to get my Broadcom BCM4313
working in my Lenovo S10-3t netbook (CentOS 6.3 installed from LiveCD).
I followed the steps in the wiki, which lead me to ELRepo: wl-kmod. I
followed the instructions there until Step 2:

$ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
$ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
-r|cut -d"." -f1).local" >> ~/.rpmmacros

Then I got stuck with this message:

bash: lsb_release: command not found

Next, I tried using the driver from Broadcom site, and ended up with this
message:

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.i686'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD  /root/Downloads/hybrid_wl/built-in.o
  CC [M]  /root/Downloads/hybrid_wl/src/shared/linux_osl.o
  CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_linux.o
  CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_iw.o
  CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: ‘enum
tx_power_setting’ declared inside parameter list
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: its scope
is only this definition or declaration, which is probably not what you
want
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: warning: ‘enum
tx_power_setting’ declared inside parameter list
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: error: parameter
2 (‘type’) has incomplete type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
‘wl_cfg80211_set_tx_power’:
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error:
‘TX_POWER_AUTOMATIC’ undeclared (first use in this function)
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: (Each
undeclared identifier is reported only once
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: for each
function it appears in.)
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1125: error:
‘TX_POWER_LIMITED’ undeclared (first use in this function)
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1131: error:
‘TX_POWER_FIXED’ undeclared (first use in this function)
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: At top level:
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1649: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1651: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1652: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1653: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1654: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1658: warning:
initialization from incompatible pointer type
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
‘wl_inform_single_bss’:
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1817: error: too few
arguments to function ‘ieee80211_channel_to_frequency’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
‘wl_bss_roaming_done’:
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing
argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’
but argument is of type ‘u8 *’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing
argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is
of type ‘s32’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing
argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a cast
include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is of
type ‘u8 *’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: passing
argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is
of type ‘s32’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: error: too few
arguments to function ‘cfg80211_roamed’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
‘wl_bss_connect_done’:
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing
argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel *’
but argument is of type ‘u8 *’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing
argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a cast
include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument is
of type ‘s32’
/root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: passing
argument 5 of ‘cfg8021

Re: [CentOS] BCM4313 on CentOS 6.3

2012-07-13 Thread m . roth
ot...@lavabit.com wrote:
> Hi all,
>
> I'm a complete newbie in Linux and am trying to get my Broadcom BCM4313
> working in my Lenovo S10-3t netbook (CentOS 6.3 installed from LiveCD).
> I followed the steps in the wiki, which lead me to ELRepo: wl-kmod. I
> followed the instructions there until Step 2:
>
> $ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
> $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
> -r|cut -d"." -f1).local" >> ~/.rpmmacros
>
> Then I got stuck with this message:
>
> bash: lsb_release: command not found

Yum install redhat-lsb. This will install a bunch of stuff to make it
Linux Standard Base compatible.
>
> Next, I tried using the driver from Broadcom site, and ended up with this
> message:
>

> make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.i686'
> make: *** [all] Error 2
>
> Then, I tried the older driver version from Ubuntu's site as suggested in
> CentOS wiki, and got this message:
>
> KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
> make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.i686'
>   LD  /root/Downloads/broadcom-sta/i386/built-in.o
>   CC [M]  /root/Downloads/broadcom-sta/i386/src/shared/linux_osl.o
>   CC [M]  /root/Downloads/broadcom-sta/i386/src/wl/sys/wl_linux.o
>   CC [M]  /root/Downloads/broadcom-sta/i386/src/wl/sys/wl_iw.o
>   LD [M]  /root/Downloads/broadcom-sta/i386/wl.o
> WARNING: modpost: missing MODULE_LICENSE() in
> /root/Downloads/broadcom-sta/i386/wl.o
> see include/linux/module.h for more information
>   Building modules, stage 2.
>   MODPOST 1 modules
> WARNING: modpost: missing MODULE_LICENSE() in
> /root/Downloads/broadcom-sta/i386/wl.o
> see include/linux/module.h for more information
>   CC  /root/Downloads/broadcom-sta/i386/wl.mod.o
>   LD [M]  /root/Downloads/broadcom-sta/i386/wl.ko.unsigned
>   NO SIGN [M] /root/Downloads/broadcom-sta/i386/wl.ko
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.i686'
>
> I'm pretty much totally stuck now, as I have no idea what I'm doing at all
> . Would really appreciate any help.

Trying to install something from another distro's always problematical,
given variances in numbering and dependencies. The "missing module
license" implies there's something not d/l, and if you'd been in a
debian/ubuntu system, and used apt-get, you'd have gotten it.

I did some googling, and found
.
Personally, since it's a system driver, I'd sudo -s, mkdir /usr/local/src,
and do the work in there. Other than than, and it's from this year, you
might have better results.

mark

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


[CentOS] CentOS-announce Digest, Vol 89, Issue 5

2012-07-13 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CEBA-2012:1075  CentOS 6 libvirt-java Update (Johnny Hughes)


--

Message: 1
Date: Fri, 13 Jul 2012 13:35:27 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:1075  CentOS 6 libvirt-java
Update
To: centos-annou...@centos.org
Message-ID: <20120713133527.ga26...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1075 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1075.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 


i386:
8c9a2025b8092b45e3141c12e7bb814b5869a7303f71b6525288a7cd3425c9bc  
libvirt-java-0.4.7-1.el6_3.1.noarch.rpm
b302c30be2d44057a3c6f2dfa715101afa9b54883ee757307ec776688aa2f4ee  
libvirt-java-devel-0.4.7-1.el6_3.1.noarch.rpm
0c596c1602954e23e562686f0aa611e0a0161d06f226fab86a148428fbd60309  
libvirt-java-javadoc-0.4.7-1.el6_3.1.noarch.rpm

x86_64:
c3f14ea20fcca9aa71e6f2562fbedab292ab51da640b1b175fd46b3ca990422e  
libvirt-java-0.4.7-1.el6_3.1.noarch.rpm
b80c5737183bb724850f993b8da92179087b5956450893883d7ff0b994a50095  
libvirt-java-devel-0.4.7-1.el6_3.1.noarch.rpm
5f63bf79bb1a70f7edf325d396849c91beb5531ec97e1bd33e732861c082bff2  
libvirt-java-javadoc-0.4.7-1.el6_3.1.noarch.rpm

Source:
2cbc4426abb05cae390c1d7a08ee0aa78618b80c07205911b2a3347408a0efea  
libvirt-java-0.4.7-1.el6_3.1.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

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


End of CentOS-announce Digest, Vol 89, Issue 5
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 5.5 yum updates

2012-07-13 Thread pankaj.tolani
This used to work for me last week

I basically need to install maven2 along with all its dependencies

So I follow the suggestions at
http://www.davehodgkinson.com/blog/2011/04/installing-maven-on-a-fresh-redhatcentos-5-5/


Now at the yum update step, I have started seeing lots of HTTP Error 404.
Have some of the repos moved?

I know a solution is yum clean all and then do yum update but then that
also updates firefox and xulrunner for me which screws up product I use.

Please tell me a way out. I dont want to do firefox/xulrunner upgrade, but
just maven2 installation as suggested on the page

thanks,
pankaj

-- 
पंकज एम तोलानी
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Aft nix
On Fri, Jul 13, 2012 at 9:01 PM,   wrote:
> Aft nix wrote:
>> On Fri, Jul 13, 2012 at 7:34 PM, Akemi Yagi  wrote:
>>> On Fri, Jul 13, 2012 at 5:29 AM, Aft nix  wrote:
 Hi,

 I'm developing kernel modules right now, and the build times are
 starting to get under my skin. As a side effect i'm taking way too
 many "coffee" breaks during builds.
>>> (snip)
 3) Is there any way i can get the "Centos specific" patches in "plain
 patch" format? That means i dont wanna do things in src-rpm way.
 If the patches are available in normal patch format i can keep
 everything tidy in my kernel git tree.
>>>
>>> The CentOS way of "Build Your Own Kernel Modules" is described in this
>>> CentOS wiki article:
>>>
>>> http://wiki.centos.org/HowTos/BuildingKernelModules
>>>
>>> I suggest you try method 1 first to see if you can build your module.
>>> Once confirmed, you may want to proceed to method 3 to build a
>>> kABI-compatible module.
>>>
>>> You can ask further questions about kmods either here, or better yet,
>>> on the ELRepo's mailing list. ELRepo ( http://elrepo.org ) builds a
>>> number of kernel modules for RHEL/CentOS/SL.
>>
>> So bottom line is, i can't get the patches other than src-rpms?
>
> That's why I mentioned yum update . Yum will get the dependencies
> as well.
>>
>> I better learn this thing, i guess.
>
> You're on CentOS and not using yum to update the system? You very much
> need to learn it.
>

I know how yum works. i'm a long time centos user. I'm talking about
the "centos specific patches" for the kernel. if i roll
these patches over vanilla kernel, it will become the kernel source
where kernel rpms are built. Now centos distributes its kernel sources
through src-rpms(srpms). Which is "already patched" kernel source.
What i want is just the patches. so i that i can roll it over vanilla
kernel
and get identical source as those distributed through srpms.

I hope i'm clear now.

cheers.

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



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


Re: [CentOS] BCM4313 on CentOS 6.3

2012-07-13 Thread Akemi Yagi
On Fri, Jul 13, 2012 at 8:35 AM,   wrote:
> Hi all,
>
> I'm a complete newbie in Linux and am trying to get my Broadcom BCM4313
> working in my Lenovo S10-3t netbook (CentOS 6.3 installed from LiveCD).
> I followed the steps in the wiki, which lead me to ELRepo: wl-kmod. I
> followed the instructions there until Step 2:
>
> $ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
> $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
> -r|cut -d"." -f1).local" >> ~/.rpmmacros
>
> Then I got stuck with this message:
>
> bash: lsb_release: command not found

Are you referring to this ELRepo article?

http://elrepo.org/tiki/wl-kmod

It says, "yum install redhat-lsb". Also, if you follow the
instructions in there, you will NOT be building the module as root.
Mark has noted these points in his reply. So, please go through the
wiki carefully and try not to skip any steps.

Will you also show us the output returned by :

lspci -nn | grep -i net

I'd like to see the vendor:device pairing.

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


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Patrick Lists
On 13-07-12 19:48, Aft nix wrote:
> I know how yum works. i'm a long time centos user. I'm talking about
> the "centos specific patches" for the kernel.

Afaik they are not CentOS specific patches. They are Red Hat patches 
(unless CentOS add additional patches).

> if i roll
> these patches over vanilla kernel, it will become the kernel source
> where kernel rpms are built. Now centos distributes its kernel sources
> through src-rpms(srpms). Which is "already patched" kernel source.
> What i want is just the patches. so i that i can roll it over vanilla
> kernel
> and get identical source as those distributed through srpms.

Afaik you can't get the individual patches since that is not how Red Hat 
distributes their kernel src rpm which CentOS rebuilds. So you could ask 
Red Hat for the individual patches. Good luck with that. They started 
distributing pre-patched kernel sources to make competitors live (not 
necessarily CentOS) a bit more difficult. There's a long discussion 
about this on the Intertubes. Don't have the link anymore so Google is 
your friend.

If all else fails, you could do a diff between the vanilla kernel and 
the one distributed by Red Hat.

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


Re: [CentOS] ssh port forwarding

2012-07-13 Thread Ski Dawg
Hello Mike,
On Thu, Jul 12, 2012 at 7:45 PM, SilverTip257 wrote:

> Doug,
>
> It's also possible to send ssh to the background and also skip remote
> commands (perfect for tunneling).
>
> Options for ssh command:
> -f  .. background
> -N . skip remote commands
>

I think these were the options that I was missing. I was able to create the
tunnel, and get my prompt back (so it will work within a script), without a
screen session. Thanks for this tip.


> ** Personally I'd look for a more robust tunnel/VPN alternative. **
> 1) OpenSSH tun/tap devices - but this should really be used for a
> 'one-off' quick tunnel => requires root to establish, so it's not
> ideal for every situation! (think roadwarriors, etc)
> 2) OpenVPN - SSL VPN - software/application based - simpler to set up
> as a result
> 3) OpenSWAN - IPSec VPN - hooks into the kernel (netkey or klips)


Trying to get this connection over ssh is just a short term solution. We
will be setting up a vpn tunnel between the systems in the near future (but
probably still 2-3 weeks out), but I was needing to get something else
running before then. The ssh solution works for the short term, until we
have an opportunity to get the vpn working.

Thanks to every one for the assistance with this issue.
--
Doug

Registered Linux User #285548 (http://counter.li.org)

Never trust a computer you can't throw out a window.
 -- Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to find all the kernel modules needed for my machine using shell script

2012-07-13 Thread Leonard den Ottolander
Hello Aft,

On Fri, 2012-07-13 at 23:48 +0600, Aft nix wrote:
> Now centos distributes its kernel sources
> through src-rpms(srpms). Which is "already patched" kernel source.
> What i want is just the patches. so i that i can roll it over vanilla
> kernel
> and get identical source as those distributed through srpms.

As CentOS is essentially a rebuild of RHEL the SRPMs are mostly the same
as upstreams. Which sadly means that since v.6 the kernel source is
distributed as a pre patched tarball.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


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


Re: [CentOS] BCM4313 on CentOS 6.3

2012-07-13 Thread Nux!
On 13.07.2012 16:35, ot...@lavabit.com wrote:
> Hi all,
>
> I'm a complete newbie in Linux and am trying to get my Broadcom 
> BCM4313
> working in my Lenovo S10-3t netbook (CentOS 6.3 installed from 
> LiveCD).
> I followed the steps in the wiki, which lead me to ELRepo: wl-kmod. I
> followed the instructions there until Step 2:
>
> $ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
> $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
> -r|cut -d"." -f1).local" >> ~/.rpmmacros
>
> Then I got stuck with this message:
>
> bash: lsb_release: command not found
>
> Next, I tried using the driver from Broadcom site, and ended up with 
> this
> message:
>
> KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
> make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.i686'
> CFG80211 API is prefered for this kernel version
> Using CFG80211 API
>   LD  /root/Downloads/hybrid_wl/built-in.o
>   CC [M]  /root/Downloads/hybrid_wl/src/shared/linux_osl.o
>   CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_linux.o
>   CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_iw.o
>   CC [M]  /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.o
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: ‘enum
> tx_power_setting’ declared inside parameter list
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:64: warning: its 
> scope
> is only this definition or declaration, which is probably not what 
> you
> want
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: warning: 
> ‘enum
> tx_power_setting’ declared inside parameter list
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1110: error: 
> parameter
> 2 (‘type’) has incomplete type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
> ‘wl_cfg80211_set_tx_power’:
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error:
> ‘TX_POWER_AUTOMATIC’ undeclared (first use in this function)
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: (Each
> undeclared identifier is reported only once
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1123: error: for 
> each
> function it appears in.)
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1125: error:
> ‘TX_POWER_LIMITED’ undeclared (first use in this function)
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1131: error:
> ‘TX_POWER_FIXED’ undeclared (first use in this function)
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: At top level:
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1649: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1651: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1652: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1653: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1654: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1658: warning:
> initialization from incompatible pointer type
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
> ‘wl_inform_single_bss’:
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:1817: error: too 
> few
> arguments to function ‘ieee80211_channel_to_frequency’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
> ‘wl_bss_roaming_done’:
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: 
> passing
> argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
> include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel 
> *’
> but argument is of type ‘u8 *’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: 
> passing
> argument 4 of ‘cfg80211_roamed’ makes pointer from integer without a 
> cast
> include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument 
> is
> of type ‘s32’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: 
> passing
> argument 5 of ‘cfg80211_roamed’ makes integer from pointer without a 
> cast
> include/net/cfg80211.h:3035: note: expected ‘size_t’ but argument is 
> of
> type ‘u8 *’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: warning: 
> passing
> argument 6 of ‘cfg80211_roamed’ makes pointer from integer without a 
> cast
> include/net/cfg80211.h:3035: note: expected ‘const u8 *’ but argument 
> is
> of type ‘s32’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2117: error: too 
> few
> arguments to function ‘cfg80211_roamed’
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c: In function
> ‘wl_bss_connect_done’:
> /root/Downloads/hybrid_wl/src/wl/sys/wl_cfg80211.c:2149: warning: 
> passing
> argument 2 of ‘cfg80211_roamed’ from incompatible pointer type
> include/net/cfg80211.h:3035: note: expected ‘struct ieee80211_channel 
> *’
> but argument is of type ‘u8 *’
> /root/Downloads/hybrid_wl/src/wl/sys/w

[CentOS] 70-persistent-net-rules

2012-07-13 Thread Jerry Geis
When my machine installs (CentOS 6.3) the two network cards are
getting reversed.   The PCI card is getting eth0 and the motherboard is 
getting eth1.
I would like them in reverse order to keep things the same as they used 
to be.

How can I easily tell these two to reverse?

Generate the 70-persistent-net-rules with motherboard eth0 first then 
the PCI slot?

Thanks,

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



Re: [CentOS] 70-persistent-net-rules

2012-07-13 Thread m . roth
Jerry Geis wrote:
> When my machine installs (CentOS 6.3) the two network cards are
> getting reversed.   The PCI card is getting eth0 and the motherboard is
> getting eth1.
> I would like them in reverse order to keep things the same as they used
> to be.
>
> How can I easily tell these two to reverse?
>
> Generate the 70-persistent-net-rules with motherboard eth0 first then
> the PCI slot?

Edit the existing one? It does persist through reboots, which is what you
might expect from the name.

  mark

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


Re: [CentOS] 70-persistent-net-rules

2012-07-13 Thread Jerry Geis
>
> Edit the existing one? It does persist through reboots, which is what you
> might expect from the name.
>
>mark
Mark

I'd like to automate- Editing is prone to  mistakes. Its not just one 
machine.

So I'd like to automate it.

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


Re: [CentOS] 70-persistent-net-rules

2012-07-13 Thread Digimer
On 07/13/2012 04:23 PM, Jerry Geis wrote:
> When my machine installs (CentOS 6.3) the two network cards are
> getting reversed.   The PCI card is getting eth0 and the motherboard is 
> getting eth1.
> I would like them in reverse order to keep things the same as they used 
> to be.
> 
> How can I easily tell these two to reverse?
> 
> Generate the 70-persistent-net-rules with motherboard eth0 first then 
> the PCI slot?
> 
> Thanks,
> 
> Jerry

https://alteeve.com/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12%2B

In that, I edit the 70-persistent-net-rules file, but now I just remove
it. In short;

1. Stop networking
2. move HWADDR value between ifcfg-ethX files.
3. Delete 70-persistent-net-rules
4. Run; 'start_udev'
5. Start networking.

-- 
Digimer
Papers and Projects: https://alteeve.com


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


Re: [CentOS] 70-persistent-net-rules

2012-07-13 Thread m . roth
Jerry Geis wrote:
>>
>> Edit the existing one? It does persist through reboots, which is what
>> you might expect from the name.
>>
> I'd like to automate- Editing is prone to  mistakes. Its not just one
> machine.
>
> So I'd like to automate it.

That's a lot more complicated, since each have their own MACs. Do you have
a) some kind of centrally-controlled configuration, and b) are they all
under DHCP, and only allow known MAC addresses to get IPs? If yes to both
of those, you could write a script to make it, using those, and push it
out.

On the other hand, you only need to do it once for each machine.

   mark

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


Re: [CentOS] 70-persistent-net-rules

2012-07-13 Thread Les Mikesell
On Fri, Jul 13, 2012 at 3:23 PM, Jerry Geis  wrote:
> When my machine installs (CentOS 6.3) the two network cards are
> getting reversed.   The PCI card is getting eth0 and the motherboard is
> getting eth1.
> I would like them in reverse order to keep things the same as they used
> to be.
>
> How can I easily tell these two to reverse?
>
> Generate the 70-persistent-net-rules with motherboard eth0 first then
> the PCI slot?

I don't think you can always count on the detection order - so blindly
automating a swap is probably a bad idea.  Also, you are going to need
the right MAC addresses in your ifcfg-eth? files to keep them nailed
down.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can NOT delete LV (in use) problem...

2012-07-13 Thread Gordon Messmer
On 07/10/2012 08:16 AM, mcclnx mcc wrote:
> I unmount file system but can not delete LV.  It say "in use".

'lsof' should tell you what has the device open.


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


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-07-13 Thread Gordon Messmer
On 07/08/2012 08:47 AM, Pasi Kärkkäinen wrote:
> There are other Xen-based virtualization solutions out there aswell with full 
> support.

That's true, but I'm guessing that a lot of people on this list are here 
specifically because they're not paying for support.

Whether that's true or not, if you're deploying virtualization *on 
CentOS*, KVM is really the only rational choice.  Xen hosting support is 
no longer a part of new releases.


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


Re: [CentOS] Strange httpd problem

2012-07-13 Thread Gordon Messmer
On 07/11/2012 12:22 AM, Eric Viseur wrote:
>   To ensure there are no interference with the monitor interface, I set
> iptables to drop all the outbound traffic on eth1 and httpd in bound to the
> IP address of eth0, but I randomly become unable to contact the webserver;
...
> Any clues why this is happening ?

Not off hand, but you could help by posting the configuration file 
containing your rules instead of a vague description of it.  There's not 
really enough to go on yet.

Rules dropping outbound traffic on the un-numbered interface are 
extraneous.  If the kernel doesn't have an address on that interface, it 
won't have any routes assigned to that interface either.  Hence, no 
traffic will be directed out of the un-numbered interface.  If you list 
your rules with "iptables -L -v" you'll see the packet counter on that 
rule has 0 hits, because it's never used.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can NOT delete LV (in use) problem...

2012-07-13 Thread Dennis Jacobfeuerborn
On 07/14/2012 12:01 AM, Gordon Messmer wrote:
> On 07/10/2012 08:16 AM, mcclnx mcc wrote:
>> I unmount file system but can not delete LV.  It say "in use".
> 
> 'lsof' should tell you what has the device open.

This might not help though if there are kpartx maps linked to that volume.
In that case you can use "dmsetup ls --tree" to see if that is the case.

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



[CentOS] python 2.7 on CentOS

2012-07-13 Thread Kaushal Shriyan
Hi

Is python 2.7 available in CentOS 5.8 repos?

Regards

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


Re: [CentOS] python 2.7 on CentOS

2012-07-13 Thread Digimer
On 07/13/2012 10:10 PM, Kaushal Shriyan wrote:
> Hi
> 
> Is python 2.7 available in CentOS 5.8 repos?
> 
> Regards
> 
> Kaushal

It's not available in any centos repo. Red Hat doesn't update the
version of anything in Enterprise Linux, beyond bug and security fixes.
CentOS being binary compatible follows the same rules.

If you want python 2.7 you will need to find a 3rd party repo or install
from source.

-- 
Digimer
Papers and Projects: https://alteeve.com


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