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

2016-09-26 Thread John Baldwin
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' <j...@freebsd.org>
> Cc: freebsd-current@freebsd.org; FreeBSD-current@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:j...@freebsd.org]
> Sent: Tuesday, August 30, 2016 3:57 AM
> To: Murthy Bhat <murthy.b...@microsemi.com>
> Cc: freebsd-current@freebsd.org; FreeBSD-current@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:j...@freebsd.org]
> > Sent: Monday, August 29, 2016 10:52 PM
> > To: freebsd-current@freebsd.org
> > Cc: Murthy Bhat <murthy.b...@microsemi.com>; 
> > FreeBSD-current@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-09-21 Thread Murthy Bhat
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' <j...@freebsd.org>
Cc: freebsd-current@freebsd.org; FreeBSD-current@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:j...@freebsd.org]
Sent: Tuesday, August 30, 2016 3:57 AM
To: Murthy Bhat <murthy.b...@microsemi.com>
Cc: freebsd-current@freebsd.org; FreeBSD-current@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:j...@freebsd.org]
> Sent: Monday, August 29, 2016 10:52 PM
> To: freebsd-current@freebsd.org
> Cc: Murthy Bhat <murthy.b...@microsemi.com>; 
> FreeBSD-current@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-08-30 Thread Murthy Bhat
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:j...@freebsd.org] 
Sent: Tuesday, August 30, 2016 3:57 AM
To: Murthy Bhat <murthy.b...@microsemi.com>
Cc: freebsd-current@freebsd.org; FreeBSD-current@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:j...@freebsd.org]
> Sent: Monday, August 29, 2016 10:52 PM
> To: freebsd-current@freebsd.org
> Cc: Murthy Bhat <murthy.b...@microsemi.com>; 
> FreeBSD-current@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-08-29 Thread John Baldwin
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:j...@freebsd.org] 
> Sent: Monday, August 29, 2016 10:52 PM
> To: freebsd-current@freebsd.org
> Cc: Murthy Bhat <murthy.b...@microsemi.com>; FreeBSD-current@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-08-29 Thread Murthy Bhat
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)

Regards/Murthy Bhat

-Original Message-
From: John Baldwin [mailto:j...@freebsd.org] 
Sent: Monday, August 29, 2016 10:52 PM
To: freebsd-current@freebsd.org
Cc: Murthy Bhat <murthy.b...@microsemi.com>; FreeBSD-current@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2016-08-29 Thread John Baldwin
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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"