Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help Needed

3 views
Skip to first unread message

Madhusudhan Rao Sripalle

unread,
Jan 18, 2014, 12:40:02 PM1/18/14
to
Hi,

I am an expert of HP-UX (kernel and drivers), while being novice at
linux. I am currently looking ways for quick ramp up so that I could
contribute to linux community.

Kindly provide pointers starting from where I could get the kernel
sources. Appreciate help in advance.


-Madhu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Randy Dunlap

unread,
Jan 18, 2014, 5:20:01 PM1/18/14
to
On 01/18/2014 09:34 AM, Madhusudhan Rao Sripalle wrote:
> Hi,
>
> I am an expert of HP-UX (kernel and drivers), while being novice at
> linux. I am currently looking ways for quick ramp up so that I could
> contribute to linux community.
>
> Kindly provide pointers starting from where I could get the kernel
> sources. Appreciate help in advance.

google for "linux kernel source" -- the top 2 URLs give you the kernel
source trees ... unless you want the source for some particular distro
like Red Hat, SuSE, Ubuntu, ArchLinux, etc., then you would need to go
to the web sites of those distros to find the sources.

Also check http://kernelnewbies.org/ for some newbie info.

--
~Randy

Ryan Cunningham

unread,
Jan 18, 2014, 10:10:02 PM1/18/14
to
You can just go to http://www.kernel.org to get the Linux kernel source code.

If you want to use a certain Linux distribution, search "Linux distributions" using your favorite Web search engine.

Sent from my iPad

Madhusudhan Rao Sripalle

unread,
Jan 22, 2014, 9:40:02 AM1/22/14
to
Thanks to Randy and Ryan for the responses. The pointers are really
helpful. Currently I am facing an issue with Ubuntu's grub not
displaying the newly built kernel.

Existing kernel on the ubuntu system is 3.2.0-23-generic. While the
new one is 3.11.10. The Grub has/displays fedora and ubuntu each one
and their corresponding recovery modes. On building and installing
3.11.10 on Ubuntu's, the newly built kernel doesn't show up in grub at
the boot time. Kindly help. Updating grub also doesn't help.

-Madhu

Mark Knecht

unread,
Jan 22, 2014, 10:00:01 AM1/22/14
to
On Wed, Jan 22, 2014 at 6:34 AM, Madhusudhan Rao Sripalle
<madhu.s...@gmail.com> wrote:
> Thanks to Randy and Ryan for the responses. The pointers are really
> helpful. Currently I am facing an issue with Ubuntu's grub not
> displaying the newly built kernel.
>
> Existing kernel on the ubuntu system is 3.2.0-23-generic. While the
> new one is 3.11.10. The Grub has/displays fedora and ubuntu each one
> and their corresponding recovery modes. On building and installing
> 3.11.10 on Ubuntu's, the newly built kernel doesn't show up in grub at
> the boot time. Kindly help. Updating grub also doesn't help.
>
> -Madhu

There are likely a lot of resources on the web to more complete
instructions but roughly speaking:

1) Mount /boot
2) Copy your new kernel binary to /boot. I.e. cp
arch/x86_64/boot/bzImage /boot/bzImage-#####
3) Edit /boot/grub/grub.conf to add the new kernel in the list of options

HTH,
Mark

Mark Knecht

unread,
Jan 22, 2014, 10:10:02 AM1/22/14
to
On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
<madhu.s...@gmail.com> wrote:
> The grub file is /boot/grub/grub.cfg. The newly built kernel is
> reflected in grub.cfg. But, the grub doesn't display this new kernel
> at the boot time. I tried few tips from the web. It is no help. That
> is why I sought help from this forum.

You have not provided enough information for anyone to help you very
much. Show things like the contents of /boot, your grub config file,
etc., and maybe we'll see the mistake you're making.

Good luck,

Madhusudhan Rao Sripalle

unread,
Jan 22, 2014, 10:10:02 AM1/22/14
to
The grub file is /boot/grub/grub.cfg. The newly built kernel is
reflected in grub.cfg. But, the grub doesn't display this new kernel
at the boot time. I tried few tips from the web. It is no help. That
is why I sought help from this forum.

Richard Weinberger

unread,
Jan 22, 2014, 10:10:02 AM1/22/14
to
On Wed, Jan 22, 2014 at 4:05 PM, Madhusudhan Rao Sripalle
<madhu.s...@gmail.com> wrote:
> The grub file is /boot/grub/grub.cfg. The newly built kernel is
> reflected in grub.cfg. But, the grub doesn't display this new kernel
> at the boot time. I tried few tips from the web. It is no help. That
> is why I sought help from this forum.

If "make install" does not work your distro's /sbin/installkernel is
broken and needs fixing.
--
Thanks,
//richard

Mark Knecht

unread,
Jan 22, 2014, 12:50:02 PM1/22/14
to
On Wed, Jan 22, 2014 at 7:47 AM, Madhusudhan Rao Sripalle
<madhu.s...@gmail.com> wrote:
> I have attached the boot directory contents, /boot/grub/grub.cfg and
> /etc/default/grub contents. Also attached the mount points on the
> system.
>
> On Wed, Jan 22, 2014 at 8:39 PM, Mark Knecht <markk...@gmail.com> wrote:
>> On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
>> <madhu.s...@gmail.com> wrote:
>>> The grub file is /boot/grub/grub.cfg. The newly built kernel is
>>> reflected in grub.cfg. But, the grub doesn't display this new kernel
>>> at the boot time. I tried few tips from the web. It is no help. That
>>> is why I sought help from this forum.
>>
>> You have not provided enough information for anyone to help you very
>> much. Show things like the contents of /boot, your grub config file,
>> etc., and maybe we'll see the mistake you're making.
>>
>> Good luck,
>> Mark

I thin you need someone who knows your disto. You're likely going to
be better served on a distro-specific list.

In my case (Gentoo) the file edited to give me boot options is
/boot/grub/grub.conf which is not what you attached. I don't have the
file on my system but maybe your disto calls it something else.
Anyway, the contents of what you showed are quite different from the
way we do it on Gentoo. My grub.conf file contents for comparison:

c2RAID6 ~ # cat /boot/grub/grub.conf
default 0
timeout 15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


title RAID6 3.10.27-gentoo using LABEL (RAID6, md=1.2, initramfs in kernel)
root (hd0,0)
kernel (hd0,0)/boot/bzImage-3.10.27-gentoo root=LABEL=RAID6root
video=vesafb vga=0x307

title RAID6 3.10.26-gentoo using LABEL (RAID6, md=1.2, initramfs in kernel)
root (hd0,0)
kernel (hd0,0)/boot/bzImage-3.10.26-gentoo root=LABEL=RAID6root
video=vesafb vga=0x307


title SSD 3.8.13-gentoo using LABEL (SSD, no initramfs)
root (hd5,1)
kernel (hd5,0)/boot/bzImage-3.8.13-gentoo root=LABEL=SDDroot
video=vesafb vga=0x307

title SSD 3.8.13-gentoo using /dev/sda2 (SSD, no initramfs)
root (hd5,1)
kernel (hd5,0)/boot/bzImage-3.8.13-gentoo root=/dev/sda2 video=vesafb vga=0x307

c2RAID6 ~ #

When I build a new kernel it's just added in the manner I briefly
explained earlier.

Likely I cannot give more help.

Madhusudhan Rao Sripalle

unread,
Jan 23, 2014, 5:30:03 AM1/23/14
to
Hi,

In the context of solving the below original issue, I came across
below error while I was running "sudo make install". Wondering what
the below error means?

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for
module r8169


-Madhu
0 new messages