daily CVS update output

2019-05-14 Thread NetBSD source update


Updating src tree:
P src/distrib/i386/installimage/Makefile
P src/doc/TODO.clang
P src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
P src/sys/arch/amd64/amd64/amd64_trap.S
P src/sys/arch/amd64/amd64/locore.S
P src/sys/arch/amd64/include/frameasm.h
P src/sys/arch/arm/rockchip/rk3328_cru.c
P src/sys/arch/arm/rockchip/rk_tsadc.c
P src/sys/arch/x86/include/specialreg.h
P src/sys/arch/x86/x86/spectre.c
P src/sys/dev/ic/dwc_gmac.c
P src/sys/dev/pci/if_wm.c
P src/sys/dev/pci/ixgbe/ixgbe.c
P src/sys/net/if.c
P src/sys/net/if_ether.h
P src/sys/net/if_ethersubr.c
P src/sys/net/if_vlan.c
P src/sys/netinet/in_pcb.c
P src/sys/netinet/ip_output.c
P src/sys/netinet6/in6_pcb.c
P src/sys/netinet6/ip6_output.c
P src/tests/libexec/ld.elf_so/Makefile
P src/tests/libexec/ld.elf_so/Makefile.inc

Updating xsrc tree:


Killing core files:



Updating release-7 src tree (netbsd-7):

Updating release-7 xsrc tree (netbsd-7):



Updating release-8 src tree (netbsd-8):
P distrib/notes/common/main
P distrib/sets/lists/etc/mi
U doc/CHANGES-8.1
P doc/LAST_MINUTE
P etc/defaults/rc.conf
P etc/mtree/special
P etc/rc.d/Makefile
U etc/rc.d/smtoff
P external/gpl2/groff/tmac/mdoc.local
P share/man/man5/rc.conf.5
P sys/arch/amd64/amd64/amd64_trap.S
P sys/arch/amd64/amd64/locore.S
P sys/arch/amd64/include/frameasm.h
U sys/arch/arm/allwinner/awin_ahcisata.c
P sys/arch/arm/imx/if_enet.c
P sys/arch/mips/adm5120/dev/if_admsw.c
P sys/arch/x86/include/specialreg.h
P sys/arch/x86/x86/spectre.c
P sys/dev/mii/brgphy.c
P sys/dev/mii/ciphy.c
P sys/dev/mii/rgephy.c
P sys/dev/pci/if_alc.c
P sys/dev/pci/if_bge.c
P sys/dev/pci/if_bnx.c
P sys/dev/pci/if_et.c
P sys/dev/pci/if_lii.c
P sys/dev/pci/if_msk.c
P sys/dev/pci/if_nfe.c
P sys/dev/pci/if_sk.c
P sys/dev/pci/if_ti.c
P sys/dev/pci/if_txp.c
P sys/dev/pci/if_vge.c
P sys/dev/pci/if_wm.c
P sys/dev/usb/if_aue.c
P sys/dev/usb/if_axen.c
P sys/net/if_media.c
P sys/netinet6/nd6_nbr.c
P sys/sys/param.h
P usr.sbin/postinstall/postinstall

Updating release-8 xsrc tree (netbsd-8):




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  42492410 May 15 03:09 ls-lRA.gz


Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Jared McNeill
You have to write the image to the “entire disk” partition (rld2c), which will 
overwrite the disk label anyway.

> On May 14, 2019, at 4:27 PM, Ron Georgia  wrote:
> 
> Question: if I disklabel -eI ld2 and remove partition e, then dd the image 
> again to /dev/rld2e, will that work or will I have a Pinebrick?
> 
> On 5/14/19, 1:54 PM, "Ron Georgia"  wrote:
> 
>Well... I did both 
> 
>arm64# dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 9.927 secs (3063231 bytes/sec)
> 
>And
> 
>arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img 
> of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)
> 
>Both commands generated a ton of "ld2c: error writing fsbn..." errors. 
> When I reboot I get a blank screen. ( Any thoughts on what I can do?
> 
>Disklabel looks like this:
>arm64# disklabel ld2
># /dev/rld2:
>type: ld
>disk: ld2
>label: default label
>flags:
>bytes/sector: 512
>sectors/track: 63
>tracks/cylinder: 32
>sectors/cylinder: 2016
>cylinders: 1040
>total sectors: 2097152
>rpm: 3600
>interleave: 1
>trackskew: 0
>cylinderskew: 0
>headswitch: 0   # microseconds
>track-to-track seek: 0  # microseconds
>drivedata: 0
> 
>5 partitions:
>#sizeoffset fstype [fsize bsize cpg/sgs]
> c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
> 1040*)
> e:163840 32768  MSDOS # (Cyl. 16*-
>  97*)
>disklabel: boot block size 0
>disklabel: super block size 0
>disklabel: partitions c and e overlap
> 
>I will surmise that overlapping partitions are not good?
> 
>On 5/14/19, 12:53 PM, "Jason Thorpe"  wrote:
> 
> 
> 
>> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
>> 
>> If I understand correctly:
>> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable 
>> Images from https://www.invisible.ca/arm/
>> 2. download arm64.img from 
>> ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
>>  to microSD card.
> 
>You can dd the invisible.ca imagine to the eMMC as well.  It's just a 
> standard arm64.img with u-boot helpfully added by Jared; no need to download 
> a second one (to which you would then need to add u-boot).
> 
>> 3. dd image to /dev/rld2c
>> 4. Power down, remove SD card and reboot.
>> 
>> Correct?
>> For YES, press 1
>> For NO, press 2
>> 
>> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
>> 
>>   Easiest way is to download the image to the SD card, then dd it to the 
>>   eMMC:
>> 
>> # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>> 
>>   You can't "wreck" your Pinebook this way as it will always try to boot 
>>   from SD card first. So after writing the image to eMMC, shutdown the 
>>   computer, remove the SD card, and power it back on. If something goes 
>>   wrong, plug the SD card back in and it will boot from that device when you 
>>   power it back on.
>> 
>> 
>>   On Tue, 14 May 2019, Ron Georgia wrote:
>> 
>>> Instead of creating the image with dd, I followed the suggestion of 
>>> building the image with "highly recommend" Etcher. I am now able to login 
>>> as root! Not sure what happened. I am documenting every step of the way in 
>>> order to make my journey, mistakes and all, available to other "not so 
>>> savvy" Pinebook users.
>>> 
>>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
>>> https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>>> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition and 
>>> install?
>>> 
>>> === MISC DATA ===
>>> arm64# disklabel ld0
>>> # /dev/rld0:
>>> type: SCSI
>>> disk: STORAGE DEVICE
>>> label: fictitious
>>> flags: removable
>>> bytes/sector: 512
>>> sectors/track: 32
>>> tracks/cylinder: 64
>>> sectors/cylinder: 2048
>>> cylinders: 1641
>>> total sectors: 31116288
>>> rpm: 3600
>>> interleave: 1
>>> trackskew: 0
>>> cylinderskew: 0
>>> headswitch: 0   # microseconds
>>> track-to-track seek: 0  # microseconds
>>> drivedata: 0
>>> 
>>> 8 partitions:
>>> #sizeoffset fstype [fsize bsize cpg/sgs]
>>> a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  
>>> 15193*)
>>> b:262144196608   swap # (Cyl. 96 -
>>> 223)
>>> c:  31116288 0 unused  0 0# (Cyl.  0 -  
>>> 15193*)
>>> d:  31116288 0 unused  0 0# (Cyl.  0 -  
>>> 15193*)
>>> e:163840 32768  MSDOS # (Cyl. 16 - 
>>> 95)
>>> 
>>> arm64# disklabel ld2
>>> # /dev/rld2:
>>> type: ld
>>> disk: ld2
>>> label: default label
>>> flags:
>>> 

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
When I dd from a terminal on my Mac, I get an error printed to the console, 
"ld2: mbr partition exceeds disk size"

On 5/14/19, 3:38 PM, "Jared McNeill"  wrote:

You have to write the image to the “entire disk” partition (rld2c), which 
will overwrite the disk label anyway.

> On May 14, 2019, at 4:27 PM, Ron Georgia  wrote:
> 
> Question: if I disklabel -eI ld2 and remove partition e, then dd the 
image again to /dev/rld2e, will that work or will I have a Pinebrick?
> 
> On 5/14/19, 1:54 PM, "Ron Georgia"  wrote:
> 
>Well... I did both 
> 
>arm64# dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 9.927 secs (3063231 bytes/sec)
> 
>And
> 
>arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img 
of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)
> 
>Both commands generated a ton of "ld2c: error writing fsbn..." errors. 
When I reboot I get a blank screen. ( Any thoughts on what I can do?
> 
>Disklabel looks like this:
>arm64# disklabel ld2
># /dev/rld2:
>type: ld
>disk: ld2
>label: default label
>flags:
>bytes/sector: 512
>sectors/track: 63
>tracks/cylinder: 32
>sectors/cylinder: 2016
>cylinders: 1040
>total sectors: 2097152
>rpm: 3600
>interleave: 1
>trackskew: 0
>cylinderskew: 0
>headswitch: 0   # microseconds
>track-to-track seek: 0  # microseconds
>drivedata: 0
> 
>5 partitions:
>#sizeoffset fstype [fsize bsize cpg/sgs]
> c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 
-   1040*)
> e:163840 32768  MSDOS # (Cyl. 
16*- 97*)
>disklabel: boot block size 0
>disklabel: super block size 0
>disklabel: partitions c and e overlap
> 
>I will surmise that overlapping partitions are not good?
> 
>On 5/14/19, 12:53 PM, "Jason Thorpe"  wrote:
> 
> 
> 
>> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
>> 
>> If I understand correctly:
>> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable 
Images from https://www.invisible.ca/arm/
>> 2. download arm64.img from 
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
 to microSD card.
> 
>You can dd the invisible.ca imagine to the eMMC as well.  It's 
just a standard arm64.img with u-boot helpfully added by Jared; no need to 
download a second one (to which you would then need to add u-boot).
> 
>> 3. dd image to /dev/rld2c
>> 4. Power down, remove SD card and reboot.
>> 
>> Correct?
>> For YES, press 1
>> For NO, press 2
>> 
>> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
>> 
>>   Easiest way is to download the image to the SD card, then dd it to the 
>>   eMMC:
>> 
>> # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>> 
>>   You can't "wreck" your Pinebook this way as it will always try to boot 
>>   from SD card first. So after writing the image to eMMC, shutdown the 
>>   computer, remove the SD card, and power it back on. If something goes 
>>   wrong, plug the SD card back in and it will boot from that device when 
you 
>>   power it back on.
>> 
>> 
>>   On Tue, 14 May 2019, Ron Georgia wrote:
>> 
>>> Instead of creating the image with dd, I followed the suggestion of 
building the image with "highly recommend" Etcher. I am now able to login as 
root! Not sure what happened. I am documenting every step of the way in order 
to make my journey, mistakes and all, available to other "not so savvy" 
Pinebook users.
>>> 
>>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst 
(per https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>>> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition 
and install?
>>> 
>>> === MISC DATA ===
>>> arm64# disklabel ld0
>>> # /dev/rld0:
>>> type: SCSI
>>> disk: STORAGE DEVICE
>>> label: fictitious
>>> flags: removable
>>> bytes/sector: 512
>>> sectors/track: 32
>>> tracks/cylinder: 64
>>> sectors/cylinder: 2048
>>> cylinders: 1641
>>> total sectors: 31116288
>>> rpm: 3600
>>> interleave: 1
>>> trackskew: 0
>>> cylinderskew: 0
>>> headswitch: 0   # microseconds
>>> track-to-track seek: 0  # microseconds
>>> drivedata: 0
>>> 
>>> 8 partitions:
>>> #size

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
I did, but I get a massive amount of errors.

On 5/14/19, 3:38 PM, "Jared McNeill"  wrote:

You have to write the image to the “entire disk” partition (rld2c), which 
will overwrite the disk label anyway.

> On May 14, 2019, at 4:27 PM, Ron Georgia  wrote:
> 
> Question: if I disklabel -eI ld2 and remove partition e, then dd the 
image again to /dev/rld2e, will that work or will I have a Pinebrick?
> 
> On 5/14/19, 1:54 PM, "Ron Georgia"  wrote:
> 
>Well... I did both 
> 
>arm64# dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 9.927 secs (3063231 bytes/sec)
> 
>And
> 
>arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img 
of=/dev/rld2c bs=1m conv=sync
>dd: /dev/rld2c: Input/output error
>30+0 records in
>29+0 records out
>30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)
> 
>Both commands generated a ton of "ld2c: error writing fsbn..." errors. 
When I reboot I get a blank screen. ( Any thoughts on what I can do?
> 
>Disklabel looks like this:
>arm64# disklabel ld2
># /dev/rld2:
>type: ld
>disk: ld2
>label: default label
>flags:
>bytes/sector: 512
>sectors/track: 63
>tracks/cylinder: 32
>sectors/cylinder: 2016
>cylinders: 1040
>total sectors: 2097152
>rpm: 3600
>interleave: 1
>trackskew: 0
>cylinderskew: 0
>headswitch: 0   # microseconds
>track-to-track seek: 0  # microseconds
>drivedata: 0
> 
>5 partitions:
>#sizeoffset fstype [fsize bsize cpg/sgs]
> c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 
-   1040*)
> e:163840 32768  MSDOS # (Cyl. 
16*- 97*)
>disklabel: boot block size 0
>disklabel: super block size 0
>disklabel: partitions c and e overlap
> 
>I will surmise that overlapping partitions are not good?
> 
>On 5/14/19, 12:53 PM, "Jason Thorpe"  wrote:
> 
> 
> 
>> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
>> 
>> If I understand correctly:
>> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable 
Images from https://www.invisible.ca/arm/
>> 2. download arm64.img from 
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
 to microSD card.
> 
>You can dd the invisible.ca imagine to the eMMC as well.  It's 
just a standard arm64.img with u-boot helpfully added by Jared; no need to 
download a second one (to which you would then need to add u-boot).
> 
>> 3. dd image to /dev/rld2c
>> 4. Power down, remove SD card and reboot.
>> 
>> Correct?
>> For YES, press 1
>> For NO, press 2
>> 
>> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
>> 
>>   Easiest way is to download the image to the SD card, then dd it to the 
>>   eMMC:
>> 
>> # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
>> 
>>   You can't "wreck" your Pinebook this way as it will always try to boot 
>>   from SD card first. So after writing the image to eMMC, shutdown the 
>>   computer, remove the SD card, and power it back on. If something goes 
>>   wrong, plug the SD card back in and it will boot from that device when 
you 
>>   power it back on.
>> 
>> 
>>   On Tue, 14 May 2019, Ron Georgia wrote:
>> 
>>> Instead of creating the image with dd, I followed the suggestion of 
building the image with "highly recommend" Etcher. I am now able to login as 
root! Not sure what happened. I am documenting every step of the way in order 
to make my journey, mistakes and all, available to other "not so savvy" 
Pinebook users.
>>> 
>>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst 
(per https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>>> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition 
and install?
>>> 
>>> === MISC DATA ===
>>> arm64# disklabel ld0
>>> # /dev/rld0:
>>> type: SCSI
>>> disk: STORAGE DEVICE
>>> label: fictitious
>>> flags: removable
>>> bytes/sector: 512
>>> sectors/track: 32
>>> tracks/cylinder: 64
>>> sectors/cylinder: 2048
>>> cylinders: 1641
>>> total sectors: 31116288
>>> rpm: 3600
>>> interleave: 1
>>> trackskew: 0
>>> cylinderskew: 0
>>> headswitch: 0   # microseconds
>>> track-to-track seek: 0  # microseconds
>>> drivedata: 0
>>> 
>>> 8 partitions:
>>> #sizeoffset fstype [fsize bsize cpg/sgs]
>>> a:  30657536458752

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
Question: if I disklabel -eI ld2 and remove partition e, then dd the image 
again to /dev/rld2e, will that work or will I have a Pinebrick?

On 5/14/19, 1:54 PM, "Ron Georgia"  wrote:

Well... I did both 

arm64# dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
dd: /dev/rld2c: Input/output error
30+0 records in
29+0 records out
30408704 bytes transferred in 9.927 secs (3063231 bytes/sec)

And

arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img of=/dev/rld2c 
bs=1m conv=sync
dd: /dev/rld2c: Input/output error
30+0 records in
29+0 records out
30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)

Both commands generated a ton of "ld2c: error writing fsbn..." errors. When 
I reboot I get a blank screen. ( Any thoughts on what I can do?

Disklabel looks like this:
arm64# disklabel ld2
# /dev/rld2:
type: ld
disk: ld2
label: default label
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 32
sectors/cylinder: 2016
cylinders: 1040
total sectors: 2097152
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
 c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
1040*)
 e:163840 32768  MSDOS # (Cyl. 16*- 
97*)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions c and e overlap

I will surmise that overlapping partitions are not good?

On 5/14/19, 12:53 PM, "Jason Thorpe"  wrote:



> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
> 
> If I understand correctly:
> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM 
Bootable Images from https://www.invisible.ca/arm/
> 2. download arm64.img from 
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
 to microSD card.

You can dd the invisible.ca imagine to the eMMC as well.  It's just a 
standard arm64.img with u-boot helpfully added by Jared; no need to download a 
second one (to which you would then need to add u-boot).

> 3. dd image to /dev/rld2c
> 4. Power down, remove SD card and reboot.
> 
> Correct?
> For YES, press 1
> For NO, press 2
> 
> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
> 
>Easiest way is to download the image to the SD card, then dd it to 
the 
>eMMC:
> 
>  # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
> 
>You can't "wreck" your Pinebook this way as it will always try to 
boot 
>from SD card first. So after writing the image to eMMC, shutdown 
the 
>computer, remove the SD card, and power it back on. If something 
goes 
>wrong, plug the SD card back in and it will boot from that device 
when you 
>power it back on.
> 
> 
>On Tue, 14 May 2019, Ron Georgia wrote:
> 
>> Instead of creating the image with dd, I followed the suggestion of 
building the image with "highly recommend" Etcher. I am now able to login as 
root! Not sure what happened. I am documenting every step of the way in order 
to make my journey, mistakes and all, available to other "not so savvy" 
Pinebook users.
>> 
>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst 
(per https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>> Before I "wreck" my Pinebook, do I select ld2 as the drive to 
partition and install?
>> 
>> === MISC DATA ===
>> arm64# disklabel ld0
>> # /dev/rld0:
>> type: SCSI
>> disk: STORAGE DEVICE
>> label: fictitious
>> flags: removable
>> bytes/sector: 512
>> sectors/track: 32
>> tracks/cylinder: 64
>> sectors/cylinder: 2048
>> cylinders: 1641
>> total sectors: 31116288
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0   # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>> 
>> 8 partitions:
>> #sizeoffset fstype [fsize bsize cpg/sgs]
>> a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 
-  15193*)
>> b:262144196608   swap # (Cyl. 96 
-223)
>> c:  31116288 0 unused  0 0# (Cyl.  0 
-  15193*)
>> d:  31116288 0 unused  0 0# (Cyl.  0 
-  15193*)
>> 

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
Well... I did both 

arm64# dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
dd: /dev/rld2c: Input/output error
30+0 records in
29+0 records out
30408704 bytes transferred in 9.927 secs (3063231 bytes/sec)

And

arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img of=/dev/rld2c 
bs=1m conv=sync
dd: /dev/rld2c: Input/output error
30+0 records in
29+0 records out
30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)

Both commands generated a ton of "ld2c: error writing fsbn..." errors. When I 
reboot I get a blank screen. ( Any thoughts on what I can do?

Disklabel looks like this:
arm64# disklabel ld2
# /dev/rld2:
type: ld
disk: ld2
label: default label
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 32
sectors/cylinder: 2016
cylinders: 1040
total sectors: 2097152
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
 c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   1040*)
 e:163840 32768  MSDOS # (Cyl. 16*- 97*)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions c and e overlap

I will surmise that overlapping partitions are not good?

On 5/14/19, 12:53 PM, "Jason Thorpe"  wrote:



> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
> 
> If I understand correctly:
> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable 
Images from https://www.invisible.ca/arm/
> 2. download arm64.img from 
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
 to microSD card.

You can dd the invisible.ca imagine to the eMMC as well.  It's just a 
standard arm64.img with u-boot helpfully added by Jared; no need to download a 
second one (to which you would then need to add u-boot).

> 3. dd image to /dev/rld2c
> 4. Power down, remove SD card and reboot.
> 
> Correct?
> For YES, press 1
> For NO, press 2
> 
> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
> 
>Easiest way is to download the image to the SD card, then dd it to the 
>eMMC:
> 
>  # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
> 
>You can't "wreck" your Pinebook this way as it will always try to boot 
>from SD card first. So after writing the image to eMMC, shutdown the 
>computer, remove the SD card, and power it back on. If something goes 
>wrong, plug the SD card back in and it will boot from that device when 
you 
>power it back on.
> 
> 
>On Tue, 14 May 2019, Ron Georgia wrote:
> 
>> Instead of creating the image with dd, I followed the suggestion of 
building the image with "highly recommend" Etcher. I am now able to login as 
root! Not sure what happened. I am documenting every step of the way in order 
to make my journey, mistakes and all, available to other "not so savvy" 
Pinebook users.
>> 
>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition 
and install?
>> 
>> === MISC DATA ===
>> arm64# disklabel ld0
>> # /dev/rld0:
>> type: SCSI
>> disk: STORAGE DEVICE
>> label: fictitious
>> flags: removable
>> bytes/sector: 512
>> sectors/track: 32
>> tracks/cylinder: 64
>> sectors/cylinder: 2048
>> cylinders: 1641
>> total sectors: 31116288
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0   # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>> 
>> 8 partitions:
>> #sizeoffset fstype [fsize bsize cpg/sgs]
>> a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  
15193*)
>> b:262144196608   swap # (Cyl. 96 -   
 223)
>> c:  31116288 0 unused  0 0# (Cyl.  0 -  
15193*)
>> d:  31116288 0 unused  0 0# (Cyl.  0 -  
15193*)
>> e:163840 32768  MSDOS # (Cyl. 16 -   
  95)
>> 
>> arm64# disklabel ld2
>> # /dev/rld2:
>> type: ld
>> disk: ld2
>> label: default label
>> flags:
>> bytes/sector: 512
>> sectors/track: 63
>> tracks/cylinder: 32
>> sectors/cylinder: 2016
>> cylinders: 1040
>> total sectors: 2097152
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0   # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>> 
>> 3 partitions:
>> #sizeoffset fstype [fsize bsize cpg/sgs]

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Jason Thorpe



> On May 14, 2019, at 9:33 AM, Ron Georgia  wrote:
> 
> If I understand correctly:
> 1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable Images 
> from https://www.invisible.ca/arm/
> 2. download arm64.img from 
> ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
>  to microSD card.

You can dd the invisible.ca imagine to the eMMC as well.  It's just a standard 
arm64.img with u-boot helpfully added by Jared; no need to download a second 
one (to which you would then need to add u-boot).

> 3. dd image to /dev/rld2c
> 4. Power down, remove SD card and reboot.
> 
> Correct?
> For YES, press 1
> For NO, press 2
> 
> On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:
> 
>Easiest way is to download the image to the SD card, then dd it to the 
>eMMC:
> 
>  # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync
> 
>You can't "wreck" your Pinebook this way as it will always try to boot 
>from SD card first. So after writing the image to eMMC, shutdown the 
>computer, remove the SD card, and power it back on. If something goes 
>wrong, plug the SD card back in and it will boot from that device when you 
>power it back on.
> 
> 
>On Tue, 14 May 2019, Ron Georgia wrote:
> 
>> Instead of creating the image with dd, I followed the suggestion of building 
>> the image with "highly recommend" Etcher. I am now able to login as root! 
>> Not sure what happened. I am documenting every step of the way in order to 
>> make my journey, mistakes and all, available to other "not so savvy" 
>> Pinebook users.
>> 
>> How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
>> https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
>> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition and 
>> install?
>> 
>> === MISC DATA ===
>> arm64# disklabel ld0
>> # /dev/rld0:
>> type: SCSI
>> disk: STORAGE DEVICE
>> label: fictitious
>> flags: removable
>> bytes/sector: 512
>> sectors/track: 32
>> tracks/cylinder: 64
>> sectors/cylinder: 2048
>> cylinders: 1641
>> total sectors: 31116288
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0   # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>> 
>> 8 partitions:
>> #sizeoffset fstype [fsize bsize cpg/sgs]
>> a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  
>> 15193*)
>> b:262144196608   swap # (Cyl. 96 -
>> 223)
>> c:  31116288 0 unused  0 0# (Cyl.  0 -  
>> 15193*)
>> d:  31116288 0 unused  0 0# (Cyl.  0 -  
>> 15193*)
>> e:163840 32768  MSDOS # (Cyl. 16 - 
>> 95)
>> 
>> arm64# disklabel ld2
>> # /dev/rld2:
>> type: ld
>> disk: ld2
>> label: default label
>> flags:
>> bytes/sector: 512
>> sectors/track: 63
>> tracks/cylinder: 32
>> sectors/cylinder: 2016
>> cylinders: 1040
>> total sectors: 2097152
>> rpm: 3600
>> interleave: 1
>> trackskew: 0
>> cylinderskew: 0
>> headswitch: 0   # microseconds
>> track-to-track seek: 0  # microseconds
>> drivedata: 0
>> 
>> 3 partitions:
>> #sizeoffset fstype [fsize bsize cpg/sgs]
>> a:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
>> 1040*)
>> c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
>> 1040*)
>> disklabel: boot block size 0
>> disklabel: super block size 0
>> disklabel: partitions a and c overlap
>> 
>> arm64# gpt show ld0
>> GPT not found, displaying data from MBR.
>> 
>>start  size  index  contents
>>0 1 MBR
>>1 32767 Unused
>>32768163840  1  MBR part 12 (active)
>>   196608262144 Unused
>>   458752  30657536  2  MBR part 169
>> 
>> arm64# gpt show ld2
>> gpt: /dev/rld2: map entry doesn't fit media: new start + new size < start + 
>> size
>> (1 + 1f < a000 + 1d5)
>> 
>> arm64# dmesg | grep ld
>> [ 1.16] axpreg5 at axppmic0: eldo2
>> [ 2.737735] sdmmc1: autoconfiguration error: couldn't enable card: 60
>> [ 2.811871] ld2 at sdmmc2: <0x45:0x0100:DF4016:0x00:0xfe875b0b:0x000>
>> [ 2.811871] ld2: 1024 MB, 1040 cyl, 32 head, 63 sec, 512 bytes/sect x 
>> 2097152 sectors
>> [ 2.828746] ld0 at sdmmc0: <0x03:0x5344:SS16G:0x80:0x42ce3d51:0x122>
>> [ 2.848748] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 
>> 31116288 sectors
>> [ 2.848748] ld2: mbr partition exceeds disk size
>> [ 2.848748] ld2: 8-bit width, 200.000 MHz
>> [ 2.876482] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
>> [ 7.617842] ld2: mbr partition exceeds disk size
>> [ 7.627841] boot device: ld0
>> [ 7.627841] root on ld0a dumps on ld0b
>> [   424.699875] ld2: mbr partition exceeds disk size
>> [   424.709875] ld2: mbr partition exceeds disk size
>> [   431.049997] ld2: mbr 

Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
If I understand correctly:
1. boot Pinebook from microSD loaded with Pinebook NetBSD ARM Bootable Images 
from https://www.invisible.ca/arm/
2. download arm64.img from 
ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201905140810Z/evbarm-aarch64/binary/gzimg/
 to microSD card.
3. dd image to /dev/rld2c
4. Power down, remove SD card and reboot.

Correct?
For YES, press 1
For NO, press 2

On 5/14/19, 10:15 AM, "Jared McNeill"  wrote:

Easiest way is to download the image to the SD card, then dd it to the 
eMMC:

  # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync

You can't "wreck" your Pinebook this way as it will always try to boot 
from SD card first. So after writing the image to eMMC, shutdown the 
computer, remove the SD card, and power it back on. If something goes 
wrong, plug the SD card back in and it will boot from that device when you 
power it back on.


On Tue, 14 May 2019, Ron Georgia wrote:

> Instead of creating the image with dd, I followed the suggestion of 
building the image with "highly recommend" Etcher. I am now able to login as 
root! Not sure what happened. I am documenting every step of the way in order 
to make my journey, mistakes and all, available to other "not so savvy" 
Pinebook users.
>
> How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
> Before I "wreck" my Pinebook, do I select ld2 as the drive to partition 
and install?
>
> === MISC DATA ===
> arm64# disklabel ld0
> # /dev/rld0:
> type: SCSI
> disk: STORAGE DEVICE
> label: fictitious
> flags: removable
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 64
> sectors/cylinder: 2048
> cylinders: 1641
> total sectors: 31116288
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0   # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
>
> 8 partitions:
> #sizeoffset fstype [fsize bsize cpg/sgs]
> a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  
15193*)
> b:262144196608   swap # (Cyl. 96 -
223)
> c:  31116288 0 unused  0 0# (Cyl.  0 -  
15193*)
> d:  31116288 0 unused  0 0# (Cyl.  0 -  
15193*)
> e:163840 32768  MSDOS # (Cyl. 16 -
 95)
>
> arm64# disklabel ld2
> # /dev/rld2:
> type: ld
> disk: ld2
> label: default label
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 32
> sectors/cylinder: 2016
> cylinders: 1040
> total sectors: 2097152
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0   # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
>
> 3 partitions:
> #sizeoffset fstype [fsize bsize cpg/sgs]
> a:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
1040*)
> c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   
1040*)
> disklabel: boot block size 0
> disklabel: super block size 0
> disklabel: partitions a and c overlap
>
> arm64# gpt show ld0
> GPT not found, displaying data from MBR.
>
> start  size  index  contents
> 0 1 MBR
> 1 32767 Unused
> 32768163840  1  MBR part 12 (active)
>196608262144 Unused
>458752  30657536  2  MBR part 169
>
> arm64# gpt show ld2
> gpt: /dev/rld2: map entry doesn't fit media: new start + new size < start 
+ size
> (1 + 1f < a000 + 1d5)
>
> arm64# dmesg | grep ld
> [ 1.16] axpreg5 at axppmic0: eldo2
> [ 2.737735] sdmmc1: autoconfiguration error: couldn't enable card: 60
> [ 2.811871] ld2 at sdmmc2: <0x45:0x0100:DF4016:0x00:0xfe875b0b:0x000>
> [ 2.811871] ld2: 1024 MB, 1040 cyl, 32 head, 63 sec, 512 bytes/sect x 
2097152 sectors
> [ 2.828746] ld0 at sdmmc0: <0x03:0x5344:SS16G:0x80:0x42ce3d51:0x122>
> [ 2.848748] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect 
x 31116288 sectors
> [ 2.848748] ld2: mbr partition exceeds disk size
> [ 2.848748] ld2: 8-bit width, 200.000 MHz
> [ 2.876482] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
> [ 7.617842] ld2: mbr partition exceeds disk size
> [ 7.627841] boot device: ld0
> [ 7.627841] root on ld0a dumps on ld0b
> [   424.699875] ld2: mbr partition exceeds disk size
> [   424.709875] ld2: mbr partition exceeds disk size
> [   431.049997] ld2: mbr partition exceeds disk size
> [   431.059997] ld2: mbr partition exceeds 

Re: audio panic booting -current under vbox 6.0.6

2019-05-14 Thread Christos Zoulas
In article <20190513204643.gf9...@irregular-apocalypse.k.bsd.de>,
Christoph Badura   wrote:
>On Fri, May 10, 2019 at 07:56:02PM +0200, Christoph Badura wrote:
>> Yesterday I tried booting an amd64 install iso from sources updated
>> around 16:00 UTC under virtualbox 6.0.6.  The kernel  paniced with
>>   panic: audio_indexof_format: cannot find matched format
>
>Christos, hanks for fixing this.

NP, it was easy to debug since I am using virtualbox too :-)

christos



Re: Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Jared McNeill
Easiest way is to download the image to the SD card, then dd it to the 
eMMC:


 # dd if=arm64.img of=/dev/rld2c bs=1m conv=sync

You can't "wreck" your Pinebook this way as it will always try to boot 
from SD card first. So after writing the image to eMMC, shutdown the 
computer, remove the SD card, and power it back on. If something goes 
wrong, plug the SD card back in and it will boot from that device when you 
power it back on.



On Tue, 14 May 2019, Ron Georgia wrote:


Instead of creating the image with dd, I followed the suggestion of building the image with 
"highly recommend" Etcher. I am now able to login as root! Not sure what happened. I am 
documenting every step of the way in order to make my journey, mistakes and all, available to other 
"not so savvy" Pinebook users.

How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
Before I "wreck" my Pinebook, do I select ld2 as the drive to partition and 
install?

=== MISC DATA ===
arm64# disklabel ld0
# /dev/rld0:
type: SCSI
disk: STORAGE DEVICE
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1641
total sectors: 31116288
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  15193*)
b:262144196608   swap # (Cyl. 96 -223)
c:  31116288 0 unused  0 0# (Cyl.  0 -  15193*)
d:  31116288 0 unused  0 0# (Cyl.  0 -  15193*)
e:163840 32768  MSDOS # (Cyl. 16 - 95)

arm64# disklabel ld2
# /dev/rld2:
type: ld
disk: ld2
label: default label
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 32
sectors/cylinder: 2016
cylinders: 1040
total sectors: 2097152
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

3 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
a:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   1040*)
c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   1040*)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions a and c overlap

arm64# gpt show ld0
GPT not found, displaying data from MBR.

start  size  index  contents
0 1 MBR
1 32767 Unused
32768163840  1  MBR part 12 (active)
   196608262144 Unused
   458752  30657536  2  MBR part 169

arm64# gpt show ld2
gpt: /dev/rld2: map entry doesn't fit media: new start + new size < start + size
(1 + 1f < a000 + 1d5)

arm64# dmesg | grep ld
[ 1.16] axpreg5 at axppmic0: eldo2
[ 2.737735] sdmmc1: autoconfiguration error: couldn't enable card: 60
[ 2.811871] ld2 at sdmmc2: <0x45:0x0100:DF4016:0x00:0xfe875b0b:0x000>
[ 2.811871] ld2: 1024 MB, 1040 cyl, 32 head, 63 sec, 512 bytes/sect x 
2097152 sectors
[ 2.828746] ld0 at sdmmc0: <0x03:0x5344:SS16G:0x80:0x42ce3d51:0x122>
[ 2.848748] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 
31116288 sectors
[ 2.848748] ld2: mbr partition exceeds disk size
[ 2.848748] ld2: 8-bit width, 200.000 MHz
[ 2.876482] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[ 7.617842] ld2: mbr partition exceeds disk size
[ 7.627841] boot device: ld0
[ 7.627841] root on ld0a dumps on ld0b
[   424.699875] ld2: mbr partition exceeds disk size
[   424.709875] ld2: mbr partition exceeds disk size
[   431.049997] ld2: mbr partition exceeds disk size
[   431.059997] ld2: mbr partition exceeds disk size
[   431.059997] ld2: mbr partition exceeds disk size
[   431.14] ld2: mbr partition exceeds disk size
[   442.320213] ld2: mbr partition exceeds disk size
[   746.325984] ld2: mbr partition exceeds disk size
[   746.335984] ld2: mbr partition exceeds disk size
[  1592.422047] ld2: mbr partition exceeds disk size
[  1592.422047] ld2: mbr partition exceeds disk size
[  1679.653695] ld2: mbr partition exceeds disk size
[  1679.673697] ld2: mbr partition exceeds disk size
[  1684.513788] ld2: mbr partition exceeds disk size
[  1684.513788] ld2: mbr partition exceeds disk size
[  1684.563793] ld2: mbr partition exceeds disk size
[  1684.583793] ld2: mbr partition exceeds disk size
[  1684.583793] ld2: mbr partition exceeds disk size
[  1761.785290] ld2: mbr partition exceeds disk size
[  1778.945617] ld2: mbr partition exceeds disk size
[  1993.819664] ld2: mbr partition exceeds disk size

arm64# mount
/dev/ld0a on / type ffs (noatime, local)
/dev/ld0e on /boot type msdos (local)
kernfs on /kern type kernfs (local)
ptyfs on 

Re: Pinebook and NetBSD 8.99.39

2019-05-14 Thread Robert Swindells

On 2019-05-14 14:59, Ron Georgia wrote:

I just received my new 1080P 11inch (27.94 cm) Pinebook. It was
pre-loaded with Ubuntu and KDE. While I like KDE, it seems a bit
heavy. Ubuntu is ... ok, but I would rather have NetBSD and LXDE or
Mate. I attempted to install NetBSD but ran into some problems. Most
likely due to my incomplete understanding (see tag line below).


[snip]


Questions:
1. Is there a way to make the keyboard a standard keyboard?


Have you tried power cycling it ? I have seen the same problem a few
times.


2. Once booted, now do I "reflash" the internal drive to boot NetBSD
without having to boot from the micro SD card?


Just write the same image to the eMMC device that you put on the SD 
card, it

will resize on first boot.


Pinebook and NetBSD 8.99.39 [UPDATE]

2019-05-14 Thread Ron Georgia
Instead of creating the image with dd, I followed the suggestion of building 
the image with "highly recommend" Etcher. I am now able to login as root! Not 
sure what happened. I am documenting every step of the way in order to make my 
journey, mistakes and all, available to other "not so savvy" Pinebook users.

How do I install NetBSD directly onto my Pinebook? Do I use sysinst (per 
https://wiki.netbsd.org/ports/evbarm/install_using_sysinst/)?
Before I "wreck" my Pinebook, do I select ld2 as the drive to partition and 
install?

=== MISC DATA ===
arm64# disklabel ld0
# /dev/rld0:
type: SCSI
disk: STORAGE DEVICE
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1641
total sectors: 31116288
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
 a:  30657536458752 4.2BSD  0 0 0  # (Cyl.224 -  15193*)
 b:262144196608   swap # (Cyl. 96 -223)
 c:  31116288 0 unused  0 0# (Cyl.  0 -  15193*)
 d:  31116288 0 unused  0 0# (Cyl.  0 -  15193*)
 e:163840 32768  MSDOS # (Cyl. 16 - 95)

arm64# disklabel ld2
# /dev/rld2:
type: ld
disk: ld2
label: default label
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 32
sectors/cylinder: 2016
cylinders: 1040
total sectors: 2097152
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

3 partitions:
#sizeoffset fstype [fsize bsize cpg/sgs]
 a:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   1040*)
 c:   2097152 0 4.2BSD  0 0 0  # (Cyl.  0 -   1040*)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions a and c overlap

arm64# gpt show ld0
GPT not found, displaying data from MBR.

 start  size  index  contents
 0 1 MBR
 1 32767 Unused
 32768163840  1  MBR part 12 (active)
196608262144 Unused
458752  30657536  2  MBR part 169

arm64# gpt show ld2
gpt: /dev/rld2: map entry doesn't fit media: new start + new size < start + size
(1 + 1f < a000 + 1d5)

arm64# dmesg | grep ld
[ 1.16] axpreg5 at axppmic0: eldo2
[ 2.737735] sdmmc1: autoconfiguration error: couldn't enable card: 60
[ 2.811871] ld2 at sdmmc2: <0x45:0x0100:DF4016:0x00:0xfe875b0b:0x000>
[ 2.811871] ld2: 1024 MB, 1040 cyl, 32 head, 63 sec, 512 bytes/sect x 
2097152 sectors
[ 2.828746] ld0 at sdmmc0: <0x03:0x5344:SS16G:0x80:0x42ce3d51:0x122>
[ 2.848748] ld0: 15193 MB, 7717 cyl, 64 head, 63 sec, 512 bytes/sect x 
31116288 sectors
[ 2.848748] ld2: mbr partition exceeds disk size
[ 2.848748] ld2: 8-bit width, 200.000 MHz
[ 2.876482] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[ 7.617842] ld2: mbr partition exceeds disk size
[ 7.627841] boot device: ld0
[ 7.627841] root on ld0a dumps on ld0b
[   424.699875] ld2: mbr partition exceeds disk size
[   424.709875] ld2: mbr partition exceeds disk size
[   431.049997] ld2: mbr partition exceeds disk size
[   431.059997] ld2: mbr partition exceeds disk size
[   431.059997] ld2: mbr partition exceeds disk size
[   431.14] ld2: mbr partition exceeds disk size
[   442.320213] ld2: mbr partition exceeds disk size
[   746.325984] ld2: mbr partition exceeds disk size
[   746.335984] ld2: mbr partition exceeds disk size
[  1592.422047] ld2: mbr partition exceeds disk size
[  1592.422047] ld2: mbr partition exceeds disk size
[  1679.653695] ld2: mbr partition exceeds disk size
[  1679.673697] ld2: mbr partition exceeds disk size
[  1684.513788] ld2: mbr partition exceeds disk size
[  1684.513788] ld2: mbr partition exceeds disk size
[  1684.563793] ld2: mbr partition exceeds disk size
[  1684.583793] ld2: mbr partition exceeds disk size
[  1684.583793] ld2: mbr partition exceeds disk size
[  1761.785290] ld2: mbr partition exceeds disk size
[  1778.945617] ld2: mbr partition exceeds disk size
[  1993.819664] ld2: mbr partition exceeds disk size

arm64# mount
/dev/ld0a on / type ffs (noatime, local)
/dev/ld0e on /boot type msdos (local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)

# sysinst

What kind of system do you have?

 a: Raspberry PI  
>b: Other 


NetBSD/evbarm 8.99.39

 This menu-driven tool is designed to help you install NetBSD to a hard disk, 
or upgrade an existing
 NetBSD 

Pinebook and NetBSD 8.99.39

2019-05-14 Thread Ron Georgia
I just received my new 1080P 11inch (27.94 cm) Pinebook. It was pre-loaded with 
Ubuntu and KDE. While I like KDE, it seems a bit heavy. Ubuntu is ... ok, but I 
would rather have NetBSD and LXDE or Mate. I attempted to install NetBSD but 
ran into some problems. Most likely due to my incomplete understanding (see tag 
line below). 

1. I downloaded the Pinebook image 
(NetBSD-evbarm-aarch64-201905120950Z-pinebook.img) from 
https://www.invisible.ca/arm/ 
2. dd the image to my microSD card.
3. Inserted the micro SD into the SD slot of the Pinebook and booted.

The first boot ended in a ==> prompt. Not sure what that was all about.
Reboot produced the NetBSD "arm" boot processes; however, there was a problem. 
When presented with the login prompt I tried to type "root" but the right side 
of the keyboard acts like a number pad. Pressing "o" gives me the escape 
sequence for a "6" without the numlock engaged. Pressing shift "o" gets me a 
capital O while Fn + o gets me a "6."

Questions:
1. Is there a way to make the keyboard a standard keyboard?
2. Once booted, now do I "reflash" the internal drive to boot NetBSD without 
having to boot from the micro SD card?


using the "highly recommend" Etcher

Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I just don’t 
know any better.”