* X86 4.8 kernel boot questions
@ 2017-04-04 17:25 Tracy Smith, CEO
2017-04-04 17:54 ` Fenghua Yu
0 siblings, 1 reply; 3+ messages in thread
From: Tracy Smith, CEO @ 2017-04-04 17:25 UTC (permalink / raw)
To: T. L. Smith
Cc: x86, h.peter.anvin, ravi.v.shankar, vikas.shivappa, fenghua.yu,
tony.luck, Vikas Shivappa, lkml
Hi All,
The production board I'm using doesn't have a JTAG available,
upgrading to 4.8 from 4.1,.and need to understand why Linux 4.8.3
doesn't boot on a x86_64 corei7-64. Boots with no issues with 4.1.
Hangs at the last message of u-boot, the typical "Starting kernel."
The bootcmd and arguments are given below.
I see a fault FFS and a message indicating the image didn't load after failover.
1) How can I verify if the kernel image was loaded?
2) What is this FFS fault? Where do I find this.
3) Has the bootargs or bootcmd changed between 4.1 and 4.8.3?
4) If the boot cmd/arg has changed, what should the boot cmd/arg be
for 4.8.3 to boot on x86_64 corei7-64?
Initial RAM disk at linear address 0x20000000, size 11638378 bytes
Kernel command line: "BOOT_IMAGE=/imgx/bzImage LABEL=BOOT
root=/dev/ram0 imgmnt=/media/sda2 imgdir=imgx img=image.rootfs
rootdelay=2 slub_debug=F console=ttyS1,115200 bootcount=1
bootcount_addr=0xa4000 acpi_enforce_resources=lax pram_size=0x800000
pram_addr=10000000 pram_loc=ddr crashkernel=128M
memmap=0x800000$0x10000000 "EFI table at 683392c0, mmap 68339300,
mmap size 4c0, version 1, descr. size 0x30
Starting kernel ...
Timer summary in microseconds:
Mark Elapsed Stage
0 0 reset
1 1 board_init_r
105 104 board_init_f
10,180,048 10,179,943 id=64
10,221,985 41,937 id=65
10,356,645 134,660 main_loop
12,366,521 2,009,876 usb_start
18,747,284 6,380,763 start_kernel
Accumulated time:
10,162,689 ahci
On a 4.1.26-yocto-standard #1 SMP it boots with no issues. Basically
same .config used in both cases except for anything deprecated between
4.1 and 4.8.3.
root@:~# cat /proc/cmdline
BOOT_IMAGE=/imgy/bzImage LABEL=BOOT root=/dev/ram0 imgmnt=/media/sda2
imgdir=imgy img=image.rootfs rootdelay=2 slub_debug=F
console=ttyS1,115200 fault=FFS bootcount=3 bootcount_addr=0xa4000
acpi_enforce_resources=lax pram_size=0x800000 pram_addr=10000000
pram_loc=ddr crashkernel=128M memmap=0x800000$0x10000000
root@CLX3001:~# cat /proc/consoles
ttyS1 -W- (EC p a) 4:65
netcon0 -W- (E )
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: X86 4.8 kernel boot questions
2017-04-04 17:25 X86 4.8 kernel boot questions Tracy Smith, CEO
@ 2017-04-04 17:54 ` Fenghua Yu
2017-04-04 18:04 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Fenghua Yu @ 2017-04-04 17:54 UTC (permalink / raw)
To: info
Cc: x86, h.peter.anvin, ravi.v.shankar, vikas.shivappa, fenghua.yu,
tony.luck, Vikas Shivappa, lkml, Greg Kroah-Hartman, stable
On Tue, Apr 04, 2017 at 10:25:46AM -0700, Tracy Smith, CEO wrote:
> Hi All,
>
> The production board I'm using doesn't have a JTAG available,
> upgrading to 4.8 from 4.1,.and need to understand why Linux 4.8.3
> doesn't boot on a x86_64 corei7-64. Boots with no issues with 4.1.
>
> Hangs at the last message of u-boot, the typical "Starting kernel."
> The bootcmd and arguments are given below.
>
> I see a fault FFS and a message indicating the image didn't load after failover.
>
> 1) How can I verify if the kernel image was loaded?
>
> 2) What is this FFS fault? Where do I find this.
>
> 3) Has the bootargs or bootcmd changed between 4.1 and 4.8.3?
>
> 4) If the boot cmd/arg has changed, what should the boot cmd/arg be
> for 4.8.3 to boot on x86_64 corei7-64?
>
> Initial RAM disk at linear address 0x20000000, size 11638378 bytes
>
> Kernel command line: "BOOT_IMAGE=/imgx/bzImage LABEL=BOOT
> root=/dev/ram0 imgmnt=/media/sda2 imgdir=imgx img=image.rootfs
> rootdelay=2 slub_debug=F console=ttyS1,115200 bootcount=1
> bootcount_addr=0xa4000 acpi_enforce_resources=lax pram_size=0x800000
> pram_addr=10000000 pram_loc=ddr crashkernel=128M
> memmap=0x800000$0x10000000 "EFI table at 683392c0, mmap 68339300,
> mmap size 4c0, version 1, descr. size 0x30
>
> Starting kernel ...
>
> Timer summary in microseconds:
>
> Mark Elapsed Stage
> 0 0 reset
> 1 1 board_init_r
> 105 104 board_init_f
> 10,180,048 10,179,943 id=64
> 10,221,985 41,937 id=65
> 10,356,645 134,660 main_loop
> 12,366,521 2,009,876 usb_start
> 18,747,284 6,380,763 start_kernel
> Accumulated time:
> 10,162,689 ahci
>
>
> On a 4.1.26-yocto-standard #1 SMP it boots with no issues. Basically
> same .config used in both cases except for anything deprecated between
> 4.1 and 4.8.3.
>
> root@:~# cat /proc/cmdline
> BOOT_IMAGE=/imgy/bzImage LABEL=BOOT root=/dev/ram0 imgmnt=/media/sda2
> imgdir=imgy img=image.rootfs rootdelay=2 slub_debug=F
> console=ttyS1,115200 fault=FFS bootcount=3 bootcount_addr=0xa4000
> acpi_enforce_resources=lax pram_size=0x800000 pram_addr=10000000
> pram_loc=ddr crashkernel=128M memmap=0x800000$0x10000000
>
> root@CLX3001:~# cat /proc/consoles
> ttyS1 -W- (EC p a) 4:65
> netcon0 -W- (E )
Have you tried git bisect? You may pin point a patch that causes the
issue by git bisect.
You may also send full dmesg from serial console after hang.
Add stable kernel maintainer Greg to the list.
Thanks.
-Fenghua
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: X86 4.8 kernel boot questions
2017-04-04 17:54 ` Fenghua Yu
@ 2017-04-04 18:04 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2017-04-04 18:04 UTC (permalink / raw)
To: Fenghua Yu
Cc: info, x86, h.peter.anvin, ravi.v.shankar, vikas.shivappa,
tony.luck, Vikas Shivappa, lkml, stable
On Tue, Apr 04, 2017 at 10:54:06AM -0700, Fenghua Yu wrote:
> On Tue, Apr 04, 2017 at 10:25:46AM -0700, Tracy Smith, CEO wrote:
> > Hi All,
> >
> > The production board I'm using doesn't have a JTAG available,
> > upgrading to 4.8 from 4.1,.and need to understand why Linux 4.8.3
> > doesn't boot on a x86_64 corei7-64. Boots with no issues with 4.1.
4.8 is not maintained anymore, so not much I can do here, but git bisect
is going to be your friend, good luck!
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-04 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 17:25 X86 4.8 kernel boot questions Tracy Smith, CEO
2017-04-04 17:54 ` Fenghua Yu
2017-04-04 18:04 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).