[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-26 Thread Gerd Hoffmann
Hi, > >> No, tested with qemu.git. Plus the code the patch touches in > >> nvme_controller_enable comes after where the alloc failure happens. > > > > I haven't upstreamed the relevant QEMU patch yet as I'm waiting for the > > SeaBIOS part to be reviewed first. > > > > The alloc failure can

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-26 Thread Gerd Hoffmann
Hi, > > No, tested with qemu.git. Plus the code the patch touches in > > nvme_controller_enable comes after where the alloc failure happens. > > I haven't upstreamed the relevant QEMU patch yet as I'm waiting for > the SeaBIOS part to be reviewed first. Just send it to qemu-devel. The usual

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-25 Thread Cole Robinson
On 5/25/21 12:06 PM, Thanos Makatos wrote: >> -Original Message- >> From: Cole Robinson >> Sent: 25 May 2021 17:01 >> To: Gerd Hoffmann >> Cc: Thanos Makatos ; seabios@seabios.org; >> John Levon ; Swapnil Ingle >> ; Liu, Changpeng >> Subje

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-25 Thread Thanos Makatos
> -Original Message- > From: Cole Robinson > Sent: 25 May 2021 17:01 > To: Gerd Hoffmann > Cc: Thanos Makatos ; seabios@seabios.org; > John Levon ; Swapnil Ingle > ; Liu, Changpeng > Subject: Re: [SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller w

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-25 Thread Cole Robinson
On 5/25/21 9:23 AM, Gerd Hoffmann wrote: > Hi, > >> Where can I file this so it doesn't get lost? >> Anyone know a qemu command line workaround? > > Does > https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/2Q7NPH7TJNHK6JGPHQL7755HILO23ISN/ > help? > No, tested with

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-25 Thread Gerd Hoffmann
Hi, > Where can I file this so it doesn't get lost? > Anyone know a qemu command line workaround? Does https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/2Q7NPH7TJNHK6JGPHQL7755HILO23ISN/ help? take care, Gerd ___ SeaBIOS

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-05-24 Thread Cole Robinson
On 4/16/21 4:46 AM, Thanos Makatos wrote: > > >> -Original Message- >> From: Gerd Hoffmann >> Sent: 16 April 2021 08:15 >> To: Thanos Makatos >> Cc: Kevin O'Connor ; seabios@seabios.org; John >> Levon ; Swapnil Ingle >> ; Liu, Changpeng >> Subject: Re: [SeaBIOS] SeaBIOS fails to boot

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-16 Thread Thanos Makatos
> -Original Message- > From: Gerd Hoffmann > Sent: 16 April 2021 08:15 > To: Thanos Makatos > Cc: Kevin O'Connor ; seabios@seabios.org; John > Levon ; Swapnil Ingle > ; Liu, Changpeng > Subject: Re: [SeaBIOS] SeaBIOS fails to boot from NVMe controller with lots > of namespaces > >

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-16 Thread Gerd Hoffmann
Hi, > Regarding the failure cases, will things break during build > (BUILD_MIN_BIOSTABLE=16K), e.g: > > [seabios] Error! ROM doesn't fit (135584 > 131072) > [seabios]You have to either increase the size (CONFIG_ROM_SIZE) > [seabios]or turn off some features (such as hardware support

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-15 Thread Thanos Makatos
> -Original Message- > From: Kevin O'Connor > Sent: 14 April 2021 16:09 > To: Gerd Hoffmann > Cc: Thanos Makatos ; seabios@seabios.org; > John Levon ; Swapnil Ingle > ; Liu, Changpeng > Subject: Re: [SeaBIOS] SeaBIOS fails to boot from NVMe controller with lots > of namespaces > >

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-15 Thread Gerd Hoffmann
Hi, > Is QEMU still shipping images limited to 128KiB? If so, that would be > another restriction. Ah, right, maybe that was the reason. Yes, there still is a 128k variant, for backward compatibility with qemu version 1.7 & older. Backward compatibility support for qemu version 1.3 & older

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-14 Thread Kevin O'Connor
On Thu, Apr 08, 2021 at 01:32:47PM +0200, Gerd Hoffmann wrote: > > > > I changed the number of namespaces my controller reports to 1 and it > > > > worked fine. Is there an easy way to get around this or do I have to > > > > fix the code? I haven't looked at the code in detail, but I think we > >

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-08 Thread Gerd Hoffmann
Hi, > > > I changed the number of namespaces my controller reports to 1 and it > > > worked fine. Is there an easy way to get around this or do I have to > > > fix the code? I haven't looked at the code in detail, but I think we > > > don't have to allocate the array of namespaces in > > >

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-08 Thread Thanos Makatos
> -Original Message- > From: Gerd Hoffmann > Sent: 08 April 2021 11:10 > To: Thanos Makatos > Cc: seabios@seabios.org; John Levon ; Swapnil > Ingle ; Liu, Changpeng > > Subject: Re: [SeaBIOS] SeaBIOS fails to boot from NVMe controller with lots > of namespaces > > On Thu, Apr 01,

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-08 Thread Gerd Hoffmann
On Thu, Apr 01, 2021 at 12:42:18PM +, Thanos Makatos wrote: > I'm using SeaBIOS (b0d61ec) to boot from a virtual NVMe controller that has > relatively many namespaces (64). The exact error is : > > /3ff9f000\ Start thread > |3ff9f000| Searching bootorder for: /pci@i0cf8/*@6 >

[SeaBIOS] Re: SeaBIOS fails to boot from NVMe controller with lots of namespaces

2021-04-06 Thread Thanos Makatos
> -Original Message- > From: Thanos Makatos > Sent: 01 April 2021 13:42 > To: seabios@seabios.org > Cc: John Levon ; Swapnil Ingle > ; Liu, Changpeng > Subject: [SeaBIOS] SeaBIOS fails to boot from NVMe controller with lots of > namespaces > > I'm using SeaBIOS (b0d61ec) to boot from