Booting native 4K SSD disk from FreeBSD ?

2017-10-03 Thread Hans Petter Selasky
Hi, I accidentially ordered a Sata SSD disk which diskinfo reports a sector-size 4K instead of 512 bytes. Trying to get it to boot under FreeBSD appeared impossible. Then I started looking into the boot0,1,2 and loader and the assumptions they make about 512 byte sector size LBA :-( Anyone

Re: Booting native 4K SSD disk from FreeBSD ?

2017-10-03 Thread Allan Jude
On 10/03/2017 17:18, Hans Petter Selasky wrote: > Hi, > > I accidentially ordered a Sata SSD disk which diskinfo reports a > sector-size 4K instead of 512 bytes. Trying to get it to boot under > FreeBSD appeared impossible. Then I started looking into the boot0,1,2 > and loader and the

Re: ABI confusion: freebsd:12:x86:64 or ABI: freebsd:12:amd64?

2017-10-03 Thread Jeffrey Bouquet
On Tue, 3 Oct 2017 10:51:24 +0200, "O. Hartmann" wrote: > When using "poudriere", it seems ABI is freebsd:12:x86:64. When using FreeBSD > base, it > seems always to be referred to FreeBSD:12:amd64. What now? All non-BSD world > uses x86:64, > FreeBSD is using amd64,

Re: ABI confusion: freebsd:12:x86:64 or ABI: freebsd:12:amd64?

2017-10-03 Thread O. Hartmann
Am Tue, 3 Oct 2017 13:08:53 +0200 Kurt Jaeger schrieb: > Hi! > > > When using "poudriere", it seems ABI is freebsd:12:x86:64. As I wrote: poudriere repo. > > Where do you get that value from ? If I access a repo, > I access e.g. > > https://repo.opsec.eu/${ABI} > > and

Re: ABI confusion: freebsd:12:x86:64 or ABI: freebsd:12:amd64?

2017-10-03 Thread Kurt Jaeger
Hi! > When using "poudriere", it seems ABI is freebsd:12:x86:64. Where do you get that value from ? If I access a repo, I access e.g. https://repo.opsec.eu/${ABI} and ABI maps to FreeBSD:12:amd64 -- p...@opsec.eu+49 171 3101372 3 years to go !

ABI confusion: freebsd:12:x86:64 or ABI: freebsd:12:amd64?

2017-10-03 Thread O. Hartmann
When using "poudriere", it seems ABI is freebsd:12:x86:64. When using FreeBSD base, it seems always to be referred to FreeBSD:12:amd64. What now? All non-BSD world uses x86:64, FreeBSD is using amd64, but why is this used inconsistently all over the places? I run into trouble setting up some

anyone know how to get rid of this error? (10.4/Gcc vs binutils port)

2017-10-03 Thread Julian Elischer
Our 10.4 system is using gcc (for now). when we compile the devel/binutils port, we get a failure with a bunch of these errors: `_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE' referenced in section `.rodata' of aarch64.o: defined in discarded section

Re: anyone know how to get rid of this error? (10.4/Gcc vs binutils port)

2017-10-03 Thread Ian Lepore
On Wed, 2017-10-04 at 00:18 +0800, Julian Elischer wrote: > Our 10.4 system is using gcc (for now). > > when we compile the devel/binutils port, we get a failure with a > bunch  > of these errors: > > > `_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE' referenced in section  > `.rodata' of

Re: anyone know how to get rid of this error? (10.4/Gcc vs binutils port)

2017-10-03 Thread Julian Elischer
On 4/10/17 12:56 am, Ian Lepore wrote: On Wed, 2017-10-04 at 00:18 +0800, Julian Elischer wrote: Our 10.4 system is using gcc (for now). when we compile the devel/binutils port, we get a failure with a bunch of these errors: `_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE' referenced in section

Re: Booting native 4K SSD disk from FreeBSD ?

2017-10-03 Thread Toomas Soome
> On 4 Oct 2017, at 00:18, Hans Petter Selasky wrote: > > Hi, > > I accidentially ordered a Sata SSD disk which diskinfo reports a sector-size > 4K instead of 512 bytes. Trying to get it to boot under FreeBSD appeared > impossible. Then I started looking into the boot0,1,2