mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Help Needed
@ 2014-01-18 17:34 Madhusudhan Rao Sripalle
  2014-01-18 22:16 ` Randy Dunlap
  2014-01-22 14:34 ` Madhusudhan Rao Sripalle
  0 siblings, 2 replies; 11+ messages in thread
From: Madhusudhan Rao Sripalle @ 2014-01-18 17:34 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-18 17:34 Help Needed Madhusudhan Rao Sripalle
@ 2014-01-18 22:16 ` Randy Dunlap
  2014-01-19  3:08   ` Ryan Cunningham
  2014-01-22 14:34 ` Madhusudhan Rao Sripalle
  1 sibling, 1 reply; 11+ messages in thread
From: Randy Dunlap @ 2014-01-18 22:16 UTC (permalink / raw)
  To: Madhusudhan Rao Sripalle, linux-kernel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-18 22:16 ` Randy Dunlap
@ 2014-01-19  3:08   ` Ryan Cunningham
  0 siblings, 0 replies; 11+ messages in thread
From: Ryan Cunningham @ 2014-01-19  3:08 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Madhusudhan Rao Sripalle, linux-kernel

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

> On Jan 18, 2014, at 2:16 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
> 
>> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-18 17:34 Help Needed Madhusudhan Rao Sripalle
  2014-01-18 22:16 ` Randy Dunlap
@ 2014-01-22 14:34 ` Madhusudhan Rao Sripalle
  2014-01-22 14:55   ` Mark Knecht
  1 sibling, 1 reply; 11+ messages in thread
From: Madhusudhan Rao Sripalle @ 2014-01-22 14:34 UTC (permalink / raw)
  To: linux-kernel

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

On Sat, Jan 18, 2014 at 11:04 PM, Madhusudhan Rao Sripalle
<madhu.sripalle@gmail.com> 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.
>
>
> -Madhu

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 14:34 ` Madhusudhan Rao Sripalle
@ 2014-01-22 14:55   ` Mark Knecht
  2014-01-22 15:05     ` Madhusudhan Rao Sripalle
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2014-01-22 14:55 UTC (permalink / raw)
  To: Madhusudhan Rao Sripalle; +Cc: Linux Kernel List

On Wed, Jan 22, 2014 at 6:34 AM, Madhusudhan Rao Sripalle
<madhu.sripalle@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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 14:55   ` Mark Knecht
@ 2014-01-22 15:05     ` Madhusudhan Rao Sripalle
  2014-01-22 15:08       ` Richard Weinberger
  2014-01-22 15:09       ` Mark Knecht
  0 siblings, 2 replies; 11+ messages in thread
From: Madhusudhan Rao Sripalle @ 2014-01-22 15:05 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Linux Kernel List

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.

On Wed, Jan 22, 2014 at 8:25 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Wed, Jan 22, 2014 at 6:34 AM, Madhusudhan Rao Sripalle
> <madhu.sripalle@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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 15:05     ` Madhusudhan Rao Sripalle
@ 2014-01-22 15:08       ` Richard Weinberger
  2014-01-22 15:09       ` Mark Knecht
  1 sibling, 0 replies; 11+ messages in thread
From: Richard Weinberger @ 2014-01-22 15:08 UTC (permalink / raw)
  To: Madhusudhan Rao Sripalle; +Cc: Mark Knecht, Linux Kernel List

On Wed, Jan 22, 2014 at 4:05 PM, Madhusudhan Rao Sripalle
<madhu.sripalle@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.

> On Wed, Jan 22, 2014 at 8:25 PM, Mark Knecht <markknecht@gmail.com> wrote:
>> On Wed, Jan 22, 2014 at 6:34 AM, Madhusudhan Rao Sripalle
>> <madhu.sripalle@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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/



-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 15:05     ` Madhusudhan Rao Sripalle
  2014-01-22 15:08       ` Richard Weinberger
@ 2014-01-22 15:09       ` Mark Knecht
  2014-01-22 15:47         ` Madhusudhan Rao Sripalle
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2014-01-22 15:09 UTC (permalink / raw)
  To: Madhusudhan Rao Sripalle; +Cc: Linux Kernel List

On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
<madhu.sripalle@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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 15:09       ` Mark Knecht
@ 2014-01-22 15:47         ` Madhusudhan Rao Sripalle
  2014-01-22 17:41           ` Mark Knecht
  0 siblings, 1 reply; 11+ messages in thread
From: Madhusudhan Rao Sripalle @ 2014-01-22 15:47 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Linux Kernel List

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

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 <markknecht@gmail.com> wrote:
> On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
> <madhu.sripalle@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

[-- Attachment #2: help_seek.output --]
[-- Type: application/octet-stream, Size: 8503 bytes --]



$ls /boot

abi-3.2.0-23-generic
config-3.11.10superhero
config-3.11.10superhero.old
config-3.2.0-23-generic
grub
initrd.img-3.11.10superhero
initrd.img-3.2.0-23-generic
memtest86+.bin
memtest86+_multiboot.bin
System.map-3.11.10superhero
System.map-3.11.10superhero.old
System.map-3.2.0-23-generic
vmlinuz-3.11.10superhero
vmlinuz-3.11.10superhero.old
vmlinuz-3.2.0-23-generic



$df

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda5      375289456 53560404 302943772  16% /
udev              982548       12    982536   1% /dev
tmpfs             396536      836    395700   1% /run
none                5120        0      5120   0% /run/lock
none              991332      156    991176   1% /run/shm
#

#
# File: /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos5)'
  search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
  set locale_dir=($root)/boot/grub/locale
  set lang=en_IN
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="$1"
	if [ "$1" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.11.10superhero' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	linux	/boot/vmlinuz-3.11.10superhero root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.11.10superhero
}
menuentry 'Ubuntu, with Linux 3.11.10superhero (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	echo	'Loading Linux 3.11.10superhero ...'
	linux	/boot/vmlinuz-3.11.10superhero root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11.10superhero
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.11.10superhero.old' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	linux	/boot/vmlinuz-3.11.10superhero.old root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.11.10superhero
}
menuentry 'Ubuntu, with Linux 3.11.10superhero.old (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	echo	'Loading Linux 3.11.10superhero.old ...'
	linux	/boot/vmlinuz-3.11.10superhero.old root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.11.10superhero
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	linux	/boot/vmlinuz-3.2.0-23-generic root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.2.0-23-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	echo	'Loading Linux 3.2.0-23-generic ...'
	linux	/boot/vmlinuz-3.2.0-23-generic root=UUID=732ae7ab-4681-4969-ab72-4c8449483829 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-23-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos5)'
	search --no-floppy --fs-uuid --set=root 732ae7ab-4681-4969-ab72-4c8449483829
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###



#
# File: /etc/default/grub
#
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 15:47         ` Madhusudhan Rao Sripalle
@ 2014-01-22 17:41           ` Mark Knecht
  2014-01-23 10:21             ` Madhusudhan Rao Sripalle
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2014-01-22 17:41 UTC (permalink / raw)
  To: Madhusudhan Rao Sripalle; +Cc: Linux Kernel List

On Wed, Jan 22, 2014 at 7:47 AM, Madhusudhan Rao Sripalle
<madhu.sripalle@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 <markknecht@gmail.com> wrote:
>> On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
>> <madhu.sripalle@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.

Good luck,
Mark

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help Needed
  2014-01-22 17:41           ` Mark Knecht
@ 2014-01-23 10:21             ` Madhusudhan Rao Sripalle
  0 siblings, 0 replies; 11+ messages in thread
From: Madhusudhan Rao Sripalle @ 2014-01-23 10:21 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Linux Kernel List

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

On Wed, Jan 22, 2014 at 11:11 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Wed, Jan 22, 2014 at 7:47 AM, Madhusudhan Rao Sripalle
> <madhu.sripalle@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 <markknecht@gmail.com> wrote:
>>> On Wed, Jan 22, 2014 at 7:05 AM, Madhusudhan Rao Sripalle
>>> <madhu.sripalle@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.
>
> Good luck,
> Mark

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-23 10:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-18 17:34 Help Needed Madhusudhan Rao Sripalle
2014-01-18 22:16 ` Randy Dunlap
2014-01-19  3:08   ` Ryan Cunningham
2014-01-22 14:34 ` Madhusudhan Rao Sripalle
2014-01-22 14:55   ` Mark Knecht
2014-01-22 15:05     ` Madhusudhan Rao Sripalle
2014-01-22 15:08       ` Richard Weinberger
2014-01-22 15:09       ` Mark Knecht
2014-01-22 15:47         ` Madhusudhan Rao Sripalle
2014-01-22 17:41           ` Mark Knecht
2014-01-23 10:21             ` Madhusudhan Rao Sripalle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®