From phi.gcc at gmail.com Sat Nov 24 10:57:43 2012 From: phi.gcc at gmail.com (phi gcc) Date: Sat, 24 Nov 2012 11:57:43 +0100 Subject: [rhn-users] kernel debuginfos list (kernel versions list) Message-ID: Hi All, This is my first post at redhat.com. If I picked the wrong mailing list tell me gently :) I have a suscription on rhn and I try to get the list of all kernel version that have been publised for a given version pattern like kernel-2.6.32-279* or kernel-debuginfo-2.6.32-279* My wish is to get something like kernel-2.6.32-279 kernel-2.6.32-279.1.1 ... or kernel-debuginfo-2.6.32-279 kernel-debuginfo-2.6.32-279.1.1 ... I could not find a easy way to do that. I need these as I do many kernel crash dump reading, and I need to 'pre download' some debuginfo locally to be ready when a dump arrive, not having to get the .rpm at the time. Thanx in advance, Phi From inode0 at gmail.com Sat Nov 24 16:56:57 2012 From: inode0 at gmail.com (inode0) Date: Sat, 24 Nov 2012 10:56:57 -0600 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: On Sat, Nov 24, 2012 at 4:57 AM, phi gcc wrote: > Hi All, > > This is my first post at redhat.com. > If I picked the wrong mailing list tell me gently :) > > I have a suscription on rhn and I try to get the list of all kernel > version that have been publised for a given version pattern like > kernel-2.6.32-279* or kernel-debuginfo-2.6.32-279* > > My wish is to get something like > kernel-2.6.32-279 > kernel-2.6.32-279.1.1 > ... > or > kernel-debuginfo-2.6.32-279 > kernel-debuginfo-2.6.32-279.1.1 > ... > > I could not find a easy way to do that. > > I need these as I do many kernel crash dump reading, and I need to > 'pre download' some debuginfo locally to be ready when a dump arrive, > not having to get the .rpm at the time. You can do something like this perhaps. # repoquery --plugins --show-duplicates --nvr kernel*-2.6.32-279* Modify the pattern to match your needs and other options to suit your taste. John From deep.cms at gmail.com Sun Nov 25 08:17:09 2012 From: deep.cms at gmail.com (Deepak Kumar) Date: Sun, 25 Nov 2012 13:47:09 +0530 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: OR you can do something like this. # yum list kernel-2.6* Deepak On Sat, Nov 24, 2012 at 10:26 PM, inode0 wrote: > On Sat, Nov 24, 2012 at 4:57 AM, phi gcc wrote: > > Hi All, > > > > This is my first post at redhat.com. > > If I picked the wrong mailing list tell me gently :) > > > > I have a suscription on rhn and I try to get the list of all kernel > > version that have been publised for a given version pattern like > > kernel-2.6.32-279* or kernel-debuginfo-2.6.32-279* > > > > My wish is to get something like > > kernel-2.6.32-279 > > kernel-2.6.32-279.1.1 > > ... > > or > > kernel-debuginfo-2.6.32-279 > > kernel-debuginfo-2.6.32-279.1.1 > > ... > > > > I could not find a easy way to do that. > > > > I need these as I do many kernel crash dump reading, and I need to > > 'pre download' some debuginfo locally to be ready when a dump arrive, > > not having to get the .rpm at the time. > > You can do something like this perhaps. > > # repoquery --plugins --show-duplicates --nvr kernel*-2.6.32-279* > > Modify the pattern to match your needs and other options to suit your > taste. > > John > > _______________________________________________ > rhn-users mailing list > rhn-users at redhat.com > https://www.redhat.com/mailman/listinfo/rhn-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phi.gcc at gmail.com Sun Nov 25 10:04:53 2012 From: phi.gcc at gmail.com (phi gcc) Date: Sun, 25 Nov 2012 11:04:53 +0100 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: Hi All, Thank you for your replies, I was trying to find regexp pattern to stuff in the web forms on the redhat.com download page, I found some way to do this but looks non determinist. The repoquery solution works form me, didn't knew this. The yum solution seems to display the kernel-* that are already installed on my system, not the one published at redhat and I don't have (yet). Thanx to you all. Cheers, Phi From phi.gcc at gmail.com Mon Nov 26 07:48:27 2012 From: phi.gcc at gmail.com (phi gcc) Date: Mon, 26 Nov 2012 08:48:27 +0100 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: Hi All, I am back on my desire to pre-download a set of kernel crash dump related .rpm. I learned how to list all the published kernel for a given kernel version, thanx to Deepak and inode0 (/). Now I try the download, I discovered yumdownloader, yet it sounds I cant get all I need. First of all I guess that yumdownload wold only serve request for which I am register at RHN, sor for now I got a registration for xn x86 (32bit) server, so I guess my yumdownloads will apply to *.i686.rpm's only ? Is that correct?. Then here is some things that I can do x86$ sudo yumdownloader --destdir $PWD kernel-2.6.32-279.5.1.el6 kernel-2.6.32-279.5.1.el6.i686.rpm | 23 MB 00:48 So it sounds it elected to grab .i686.rpm probably due to my suscribtion. Now trying to get the debuginfo for this kernel. x86$ sudo yumdownloader --destdir $PWD kernel-debuginfo-2.6.32-279.5.1.el6 Loaded plugins: product-id, refresh-packagekit, rhnplugin No Match for argument kernel-debuginfo-2.6.32-279.5.1.el6 Nothing to download Is this expected ? Thanx in advance. Cheers Phi From inode0 at gmail.com Mon Nov 26 16:26:36 2012 From: inode0 at gmail.com (inode0) Date: Mon, 26 Nov 2012 10:26:36 -0600 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: On Mon, Nov 26, 2012 at 1:48 AM, phi gcc wrote: > Hi All, > > I am back on my desire to pre-download a set of kernel crash dump related .rpm. > > I learned how to list all the published kernel for a given kernel > version, thanx to Deepak and inode0 (/). > > Now I try the download, I discovered yumdownloader, yet it sounds I > cant get all I need. > > First of all I guess that yumdownload wold only serve request for > which I am register at RHN, sor for now I got a registration for xn > x86 (32bit) server, so I guess my yumdownloads will apply to > *.i686.rpm's only ? Is that correct?. > > Then here is some things that I can do > > x86$ sudo yumdownloader --destdir $PWD kernel-2.6.32-279.5.1.el6 > kernel-2.6.32-279.5.1.el6.i686.rpm | 23 MB 00:48 > > So it sounds it elected to grab .i686.rpm probably due to my suscribtion. > > Now trying to get the debuginfo for this kernel. > > x86$ sudo yumdownloader --destdir $PWD kernel-debuginfo-2.6.32-279.5.1.el6 > Loaded plugins: product-id, refresh-packagekit, rhnplugin > No Match for argument kernel-debuginfo-2.6.32-279.5.1.el6 > Nothing to download > > Is this expected ? It is expected if your system is not subscribed to the relevant debuginfo channels on RHN. Log into RHN and check which channels you are subscribed to and add the debuginfo channels you need there. John From phi.gcc at gmail.com Tue Nov 27 07:20:08 2012 From: phi.gcc at gmail.com (phi gcc) Date: Tue, 27 Nov 2012 08:20:08 +0100 Subject: [rhn-users] kernel debuginfos list (kernel versions list) In-Reply-To: References: Message-ID: Hi Inode0 (John), > > It is expected if your system is not subscribed to the relevant > debuginfo channels on RHN. Log into RHN and check which channels you > are subscribed to and add the debuginfo channels you need there. Jeez it worked, I did clik a number of link before converging, since when I did my suscribtion, I asked the person incharge for kernel debuging, I thought kernel-debuginfo was kind of implicit, but not, I only had the 'basic' kernel thing, I added kernel-debuginfo and it ran like a champ. Now I got to redo all this for all the architecture I am supposed to support :) Thanx tons. Cheers, Phi