Re: [CentOS] How do I get the kernel srpm?

2018-04-27 Thread Phil Perry

On 27/04/18 21:35, Robert Heller wrote:

I tried to follow the work flow shown in https://wiki.centos.org/Sources, but
it does not seem to work:

I did this:

mkdir CentOS
pushd CentOS
git clone https://git.centos.org/git/centos-git-common.git
git clone https://git.centos.org/git/rpms/kernel.git
pushd kernel/
git checkout c6
../centos-git-common/get_sources.sh

And I got the message:

Missing metadata. Please run from inside a sources git repo

What am I missing?
   



Use this guide:

https://wiki.centos.org/HowTos/I_need_the_Kernel_Source

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


Re: [CentOS] How do I get the kernel srpm?

2018-04-27 Thread Richard Grainger
yumdownloader --source kernel

On Fri, Apr 27, 2018 at 9:35 PM, Robert Heller  wrote:
> I tried to follow the work flow shown in https://wiki.centos.org/Sources, but
> it does not seem to work:
>
> I did this:
>
> mkdir CentOS
> pushd CentOS
> git clone https://git.centos.org/git/centos-git-common.git
> git clone https://git.centos.org/git/rpms/kernel.git
> pushd kernel/
> git checkout c6
> ../centos-git-common/get_sources.sh
>
> And I got the message:
>
> Missing metadata. Please run from inside a sources git repo
>
> What am I missing?
>
>
> --
> Robert Heller -- 978-544-6933
> Deepwoods Software-- Custom Software Services
> http://www.deepsoft.com/  -- Linux Administration Services
> hel...@deepsoft.com   -- Webhosting Services
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: thunderbird annoyance

2018-04-27 Thread m . roth
incoming-cen...@rjl.com wrote:
> Is the folder that you have selected inside of an account whose email
> address is exactly the same as the one that get's cc'ed?  I could see
> where if the messages were forwarded to a different email account, it
> would do this. If this is not the case, go into
> edit->preferences->advanced-config->config editor (like the about:config
> in firefox) and search for cc_ and see if any of those variables are
> turned on.
>
Nothing, there, and looking for reply, I see
mailnews.reply_to_self_check_all_ident;false

   mark
> Nataraj
>
> On 04/27/2018 10:51 AM, m.r...@5-cent.us wrote:
>> incoming-cen...@rjl.com wrote:
>>> On 04/27/2018 07:55 AM, m.r...@5-cent.us wrote:
 Does anyone know if it's even possible to NOT cc myself when I hit
 reply
 all?

 Geez, that's what's in the sent folder
>>> Check your settings for account setting->copies & folders->cc these
>>> email addresses
>>>
>>> When I do a "reply all" I do not get cc'ed.
>>>
>> Just did, and cc these email addresses is not checked.
>>
>>  mark
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


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


[CentOS] How do I get the kernel srpm?

2018-04-27 Thread Robert Heller
I tried to follow the work flow shown in https://wiki.centos.org/Sources, but 
it does not seem to work:

I did this:

mkdir CentOS
pushd CentOS
git clone https://git.centos.org/git/centos-git-common.git
git clone https://git.centos.org/git/rpms/kernel.git
pushd kernel/
git checkout c6
../centos-git-common/get_sources.sh

And I got the message:

Missing metadata. Please run from inside a sources git repo

What am I missing?
  

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: thunderbird annoyance

2018-04-27 Thread incoming-centos
Is the folder that you have selected inside of an account whose email 
address is exactly the same as the one that get's cc'ed?  I could see 
where if the messages were forwarded to a different email account, it 
would do this. If this is not the case, go into 
edit->preferences->advanced-config->config editor (like the about:config 
in firefox) and search for cc_ and see if any of those variables are 
turned on.


Nataraj

On 04/27/2018 10:51 AM, m.r...@5-cent.us wrote:

incoming-cen...@rjl.com wrote:

On 04/27/2018 07:55 AM, m.r...@5-cent.us wrote:

Does anyone know if it's even possible to NOT cc myself when I hit reply
all?

Geez, that's what's in the sent folder

Check your settings for account setting->copies & folders->cc these
email addresses

When I do a "reply all" I do not get cc'ed.


Just did, and cc these email addresses is not checked.

 mark

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



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


Re: [CentOS] OT: thunderbird annoyance

2018-04-27 Thread m . roth
incoming-cen...@rjl.com wrote:
> On 04/27/2018 07:55 AM, m.r...@5-cent.us wrote:
>> Does anyone know if it's even possible to NOT cc myself when I hit reply
>> all?
>>
>> Geez, that's what's in the sent folder
>
> Check your settings for account setting->copies & folders->cc these
> email addresses
>
> When I do a "reply all" I do not get cc'ed.
>
Just did, and cc these email addresses is not checked.

mark

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


Re: [CentOS] OT: thunderbird annoyance

2018-04-27 Thread Leon Fauster
Am 27.04.2018 um 16:55 schrieb m.r...@5-cent.us:
> 
> Does anyone know if it's even possible to NOT cc myself when I hit reply all?
> 
> Geez, that's what's in the sent folder

to be honest - i do like sending it as a copy to myself, it
verifies that the mail at least get out of my workstation but 
everyone has his own processes 

cc recipients can be configured, check your preferences ...

--
LF


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


Re: [CentOS] OT: thunderbird annoyance

2018-04-27 Thread incoming-centos

On 04/27/2018 07:55 AM, m.r...@5-cent.us wrote:

Does anyone know if it's even possible to NOT cc myself when I hit reply all?

Geez, that's what's in the sent folder

 mark

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


Check your settings for account setting->copies & folders->cc these 
email addresses


When I do a "reply all" I do not get cc'ed.

Nataraj


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


[CentOS] OT: thunderbird annoyance

2018-04-27 Thread m . roth
Does anyone know if it's even possible to NOT cc myself when I hit reply all?

Geez, that's what's in the sent folder

mark

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


[CentOS] CentOS events for 2018/2019

2018-04-27 Thread Rich Bowen
TL;DR: What events should we go to? Tell me at 
https://goo.gl/forms/kLZ2y1H1jRSy4NdC3


(Cross-posting from promo@ mailing list, to get a wider participation. 
Thanks!)


Looking at the coming 12 months, I need some feedback as I select events 
that need to have a CentOS presence of some kind. While I have already 
committed to some of these events (See below), starting around July we 
haven't really signed on for much, and I would like to hear from the 
community what events you feel we should be at, and why.


The why is, by far, the more important half of the question. Why, as in, 
what story do we want to tell there; who are we trying to tell that 
story to; what would be a positive outcome from being there.


First, here are the events that I am already committed to:


May 8-10: Red Hat Summit - https://www.redhat.com/en/summit/2018

June 25-28: ISC-HPC (SuperComputing) Frankfurt - https://www.isc-hpc.com/

October 1-3: cPanel, Houston - https://conference.cpanel.com/

November 12-15: SuperComputing 18, Dallas - https://sc18.supercomputing.org/

February 2-3 (assumed): FOSDEM, Brussels - http://fosdem.org


The story at Red Hat Summit is that CentOS (and, specifically, our SIGs) 
is the platform for innovation, and the source of all of Red Hat's 
products, as well as projects and products that continue to invent the 
industry.


The story at the SuperComputing events is what I have been tweeting 
"SuperComputing is #PoweredByCentOS" - which is incontrovertibly true. 
The top 500 supercomputers in the world are overwhelmingly CentOS.


We attend cPanel because the web hosting business, and in particular 
cPanel-backed sites, are overwhelmingly running on CentOS.


FOSDEM - because it's FOSDEM.

Events where we could have a presence are, of course, legion. We can 
continue to do the events that we did last year, and the year before, 
and that would be fine. Or we can try to visit some other industry 
segment where we'd like to shine brighter.


I've made a Google Form at https://goo.gl/forms/kLZ2y1H1jRSy4NdC3 
listing the events that I'm currently considering, but also providing 
space for you to tell me what events I'm not thinking about yet.


Finally, please note that I'm not just talking about me going to stuff, 
but, rather, identifying the right people that should be at these 
events, and sending them to represent us - CentOS Ambassadors, if you will.


--
Rich Bowen - rbo...@redhat.com
@RDOcommunity // @CentOSProject // @rbowen
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] formating DVR-RW

2018-04-27 Thread Thomas Schmitt
Hi,

i am upstream developer of libburn. Nevertheless, the following is intended
to be purely technical info, not advertising.

Better do not use wodim with DVD media. It was forked from a CD-only
version of cdrecord and got added not-so-skilled code for operating DVD.
One should use dvd+rw-tools or a program that has libburn as backend.
I am not aware whether cdrecord is meanwhile willing to format DVD-RW.


With dvd+rw-tools and according to an old cheat sheet of mine, a DVD-RW
gets formatted like this:

  dvd+rw-format -force /dev/sr0

(Iirc, the option -force was needed if there is already an ISO filesystem
 on the medium.)

libburn's frontend cdrskin has a command line interface that is roughly
compatible to wodim or cdrecord. (There are also Xfburn, xorriso, and
Brasero's libburn plugin.)
A formatting run looks like this:

  cdrskin -v dev=/dev/sr0 blank=format_overwrite


Fred Smith wrote:
> Why would one format a cd/dvd?

DVD-RW can have two states: unformatted sequential and formatted to
"restricted" overwritable.

The latter can take 32 KiB chunks of write data at 32 KiB-aligned addresses.
It does not have to be blanked before re-use. growisofs and libisoburn
can do multi-session on it, like they do with DVD+RW, DVD-RAM, BD-RE.

Unformatted DVD-RW behave much like DVD-R (which is good for testing).
Blanking them for re-use is only swift if you do not want to do multi-session
on the blank medium. For multi-session they must be blanked fully, which
lasts as long as a full write run.

My own experince since 2004 is that formatted DVD-RW can be re-used more
often before they die. Unformatted DVD-RW seem to be less long living.
The older the drive, the earlier they fail.


Giles Coochey wrote:
> In order to delete something that you had previously written to it?

Formatted DVD-RW can be used as random access read-write device by help
of buffering device /dev/pktcdvd* created by pktsetup(1).
But this is an invitation for trouble, as is with the other overwritable
optical media types. Random access is slow and the frequent overwriting
of particular media blocks reduces life time.

(The other overwritable DVD and BD types need no /dev/pktcdvd* because
 they can be used for addressing with 2 KiB granularity.)


Nataraj wrote:
> I suggest that you try xorriso.

Thank you for flying xorriso. :))
It has a cdrecord-wodim-compatibility mode described in man 1 xorrecord.
Formatting is done by:

  xorrecord -v dev=/dev/sr0 blank=format_overwrite

The native command mode is more versatile but demands learning new names
and new rules. See man 1 xorriso.

  xorriso -outdev /dev/sr0 -format as_needed

The mode "as_needed" formats what can be formatted and is not formatted yet.
It throws no error if the medium is not suitable for formatting.


Have a nice day :)

Thomas

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


Re: [CentOS] Question about "generic" USB <=> Serial Port kernel drivers...

2018-04-27 Thread Phil Perry

On 27/04/18 03:13, Robert Heller wrote:

OK, I am running CentOS 6 on my Laptop and Desktop, presently kernel version
2.6.32-696.20.1.el6.x86_64 (yes, a version or so out of date -- I'll probably
do an update soon -- non-trivial since my Internet connection is via dialup).

I recently bought a couple of Adafruit Arduino compatibles, a Flora and a
Metro 328. Hooking up the Flora and the Metro to a Raspberry Pi running
Raspbian (kernel 4.9.35-v7+), tells me that the Metro 328's USB uses a FTDI
USB serial interface (ftdi_sio.ko) and the Flora uses the cdc_acm (cdc-acm.ko)
USB serial interface. Both of these drivers are available with CentOS 6's
kernel, but since Adafruit uses their own Vendor & Product IDs and my (old)
kernel's ftdi_sio and cdc-acm drivers don't have Adafruit Vendor & Product
IDs, the drivers don't automagically connect. The ftdi_sio has parameters for
the Vendor & Product IDs, and specifing the product ID for the Metro 328
allows the driver to latch onto the Metro 328's USB connect and things work (I
get a /dev/ttyUSB0 device). The cdc-acm does not have any parameters and I
don't see any way to get it to connect.  I am pretty sure all Adafruit did was
change the programming of the USB chip to have their Vendor & Product IDs and
the driver should work (the FTDI one does, once the Vendor & Product IDs are
passed to it).

My question: since the cdc-acm is not parameterized, I am guessing I need to
get the kernel module source (from RH's kernel source RPM? Or maybe Elrepo has
it?), hack in the Adafruit Vendor & Product IDs into its table of Vendor &
Product IDs and recompile it. Is this correct? Also: is there some "trick"
that allows me to create a kernel module that will work with kernel updates,
without having to re-compile it after every kernel update?




Yes, that would be my starting point. If you are sure the drivers just 
need the vendor & Product device IDs, I would take the CentOS driver 
code, patch in the required device IDs and build it as a kmod package.


kmod packages on Red Hat take advantage of Red Hat's stable kernel ABI 
and as such do not need to be recompiled for each and every kernel 
update. They do _sometimes_ break if the driver uses a kernel symbol not 
on Red Hat's stable kABI whitelist AND Red Hat updates that ABI during a 
kernel update which can occasionally happen at point releases, but 
unlikely now given the age of el6. If that happens then we just need to 
rebuild the kmod against the newer kernel and we are normally good to 
go. If you wish to proceed down this route then please register and file 
an RFE at elrepo.org/bugs and we can look at this for you.


Alternatively, there is the CentOS-Plus kernel, where CentOS provide 
some patches to enhance the standard RHEL kernel offering, without 
breaking compatibility. As this is a simple patch to add device IDs, 
Akemi could add support for your devices to the CentOS-Plus kernel and 
you could switch to using the CentOS-Plus kernel and receive automatic 
updates via CentOS. If you wish to take this route you should file a bug 
against the CentOS Plus kernel on the CentOS bug tracker and Akemi will 
take care of it for you.


Please feel free to discuss further here if required.

Phil

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