Re: FreeBSD 11.0-RC1 boot prompt kernel load issue.

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 26 Sep 2016 10:29:01 -0700
As I said, the only way I know to debug this is to start adding printfs
in various parts of the boot loader to find out which EFI or BIOS call
triggers the panic and then trying to infer from that what the BIOS
routine might not like.  If you think it is disk related, then the
sys/boot/i386/libi386/biosdisk.c (for non-EFI) and
sys/boot/efi/libefi/efipart.c are good places to start.

On Wednesday, September 21, 2016 03:12:05 PM Murthy Bhat wrote:
> Hi,
> 
> I checked both FreeBSD 11 RC2 and RC3 latest stable releases. Same issue exists. When loading the kernel from USB pen drive at boot prompt, system gets switched off.
> 
> Could you please help?
> 
> Regards/Ram
> 
> -----Original Message-----
> From: Murthy Bhat 
> Sent: Tuesday, August 30, 2016 8:03 PM
> To: 'John Baldwin' <jhb_at_freebsd.org>
> Cc: freebsd-current_at_freebsd.org; FreeBSD-current_at_FreeBSD.org
> Subject: RE: FreeBSD 11.0-RC1 boot prompt kernel load issue.
> 
> Hi John,
> 
> Thanks for your quick response.
> 
> I did the same exercise on a super micro(X59SRL model) server, to segregate the issue. The same issue is reproduced again.
> 
> So IMHO this may not be the system UEFI firmware issue due to following two reasons.
> 1.	"load kernel" does not work on 2 different hardware platforms.
> 2.	On FreeBSD 10.3 and 10.2, both the hardware platforms (HP ProLiant ML110 Gen9 and Super micro X59SRL) work without problem.
> 
> Could you please advise some work around or any other exercise to narrow down the issue.
> 
> Regards/Ram
> 
> 
> -----Original Message-----
> From: John Baldwin [mailto:jhb_at_freebsd.org]
> Sent: Tuesday, August 30, 2016 3:57 AM
> To: Murthy Bhat <murthy.bhat_at_microsemi.com>
> Cc: freebsd-current_at_freebsd.org; FreeBSD-current_at_FreeBSD.org
> Subject: Re: FreeBSD 11.0-RC1 boot prompt kernel load issue.
> 
> EXTERNAL EMAIL
> 
> 
> On Monday, August 29, 2016 05:37:57 PM Murthy Bhat wrote:
> > Thanks for the response.
> >
> > It is UEFI boot. As such there is no stack dumped on the console 
> > during crash. System restarts from the FreeBSD boot prompt without any 
> > message on the console. Still I have a picture where monitor goes off 
> > during data load. PFA(sorry for the flash)
> 
> Ugh.  I don't have a good suggestion on debugging this besides adding printfs to the EFI loader code and/or moving an infinite loop around in the code to narrow down exactly when it resets.  It is quite possibly specific to the EFI firmware on your machine (at least, reproducing the issue might be).
> 
> > Regards/Murthy Bhat
> >
> > -----Original Message-----
> > From: John Baldwin [mailto:jhb_at_freebsd.org]
> > Sent: Monday, August 29, 2016 10:52 PM
> > To: freebsd-current_at_freebsd.org
> > Cc: Murthy Bhat <murthy.bhat_at_microsemi.com>; 
> > FreeBSD-current_at_FreeBSD.org
> > Subject: Re: FreeBSD 11.0-RC1 boot prompt kernel load issue.
> >
> > EXTERNAL EMAIL
> >
> >
> > On Wednesday, August 24, 2016 01:35:08 PM Murthy Bhat wrote:
> > >
> > > Hi,
> > >
> > > This is regarding issue faced during OS(FreeBSD 11.0-RC1) installation on the storage behind our smartpqi storage controller.
> >
> > Are you using EFI or legacy boot?  Also, can you capture a screenshot of the crash messages?  If it is not EFI, we probably crashed in the BIOS routines used to read data from the USB drive.  It may be a BIOS bug (which isn't easily fixable), but we would need the register dump from the crash to figure anything out.
> >
> > --
> > John Baldwin
> 
> 
> --
> John Baldwin


-- 
John Baldwin
Received on Mon Sep 26 2016 - 16:05:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC