Re: Booting BSD on a libreboot system - documentation needed

2016-10-22 Thread Leah Rowe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

hi

https://libreboot.org/docs/bsd/

it's there now, but incomplete. it works though. feel free to submit
improvements to the html docs in the main git repo. see:

https://libreboot.org/git/

On 23/10/16 01:29, William D. Jones wrote:
> Although, I'm ill-equipped to work on this, I am also curious about
> BSD support for libreboot. What is blocking EFI support?
> 
> -Original Message- From: Swift Griggs Sent: Friday,
> September 30, 2016 5:42 PM To: Leah Rowe Cc:
> current-users@NetBSD.org Subject: Re: Booting BSD on a libreboot
> system - documentation needed
> 
> On Fri, 30 Sep 2016, Leah Rowe wrote:
>> Libreboot is a free/opensource BIOS/UEFI
>> implementation/replacement. GNU/Linux is supported well, but
>> people have recently started figuring out how to boot BSD.
> 
> Very cool. I for one will check it out.
> 
> If I'm not mistaken, NetBSD's bootloader doesn't yet support EFI.
> It sounds like it's somewhat less jiggery-pokery than an MBR
> bootloader. Plus it just uses a regular FAT32 file system. I'm sure
> there are difficulties I'm not aware of, but I'm hoping for good
> things, soon.
> 
> -Swift
> 
> -- William D. Jones thor0...@comcast.net

- -- 
Leah Rowe

Libreboot developer

Use free software. Free as in freedom.
https://en.wikipedia.org/wiki/Free_software

Use a free operating system, GNU/Linux.
https://libreboot.org/docs/distros/
Or BSD:
https://libreboot.org/docs/bsd/

Use a free BIOS.
https://libreboot.org/

Support computer user freedom.
https://peers.community/

Minifree Ltd, trading as Ministry of Freedom | Registered in England,
No. 9361826 | VAT No. GB202190462
Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK |
Web: http://minifree.org/

-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJYDD/QAAoJEP9Ft0z50c+Urx8H/3Ul7AXmQEnULIHiKFxInAyr
ialWJUlYXsq+4LLKZqQjK49F7EE+PXkA09S9E+/GxURmD1xAS0TGFVgo4LAtfAwS
QmK9Ct+JzMNPchao1g6fJSxQbwT+iC1xoziI3NjQdL7JtT5lZ0BrQSbVbYBvvlqg
CWqYLElqxKNOu3VjrdO7oNXtYuXgOndwQ+kdP70wvFNxN5QQvJU9bXS0gqer7wMl
3q7HnduDBG4q7LkEMeYKCtLIBQ/4FP+UlVYY4ouB6Srq2H/2LH75Nt25FSQHZ3qV
ePOKxMc7kPHOtBTOviSMvlG/kO2C5E0eXiq945ZdNmlpNIGvZENqzRC9inozyn4=
=vKP0
-END PGP SIGNATURE-


Re: Booting BSD on a libreboot system - documentation needed

2016-10-22 Thread Leah Rowe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Tianocore handles EFI, but we don't need it in libreboot

On 23/10/16 01:29, William D. Jones wrote:
> Although, I'm ill-equipped to work on this, I am also curious about
> BSD support for libreboot. What is blocking EFI support?
> 
> -Original Message- From: Swift Griggs Sent: Friday,
> September 30, 2016 5:42 PM To: Leah Rowe Cc:
> current-users@NetBSD.org Subject: Re: Booting BSD on a libreboot
> system - documentation needed
> 
> On Fri, 30 Sep 2016, Leah Rowe wrote:
>> Libreboot is a free/opensource BIOS/UEFI
>> implementation/replacement. GNU/Linux is supported well, but
>> people have recently started figuring out how to boot BSD.
> 
> Very cool. I for one will check it out.
> 
> If I'm not mistaken, NetBSD's bootloader doesn't yet support EFI.
> It sounds like it's somewhat less jiggery-pokery than an MBR
> bootloader. Plus it just uses a regular FAT32 file system. I'm sure
> there are difficulties I'm not aware of, but I'm hoping for good
> things, soon.
> 
> -Swift
> 
> -- William D. Jones thor0...@comcast.net

- -- 
Leah Rowe

Libreboot developer

Use free software. Free as in freedom.
https://en.wikipedia.org/wiki/Free_software

Use a free operating system, GNU/Linux.
https://libreboot.org/docs/distros/
Or BSD:
https://libreboot.org/docs/bsd/

Use a free BIOS.
https://libreboot.org/

Support computer user freedom.
https://peers.community/

Minifree Ltd, trading as Ministry of Freedom | Registered in England,
No. 9361826 | VAT No. GB202190462
Registered Office: 19 Hilton Road, Canvey Island, Essex SS8 9QA, UK |
Web: http://minifree.org/

-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJYDD/mAAoJEP9Ft0z50c+UOrgIAI2/djJfh7GGWZwzudG8a3iL
L+zn3O8wHE03GpuaSA+j9MNj2Nzp8XIGnIQahIFmwucVo70/dX2bZ4Q3NH7fab+q
DuPQ53U/nC9++yefR7MhYKpw5bLebrA02ZQsAhTtgvBKyhCjqqpl5qutP3Ivc8e+
trrLnb7LG4AfEEHpYKBMFjbA6gReCzhV1pCcjS36+o7yC9CSm3pzJZz1Zf31YJxH
oIeJPCAuBm0yksjwrLZtszwlAutMcsVj5Mcyk6uEGWbjOC9ugCua3NwHCojZUgsb
QkgYWJWljz8gM49UyX5IVfih9NOmyVW7+04nDg6yFyX83Qb63i9V8mha3hZezVk=
=gUY0
-END PGP SIGNATURE-


Re: gdb.old is broken

2016-10-22 Thread bch
On Oct 15, 2016 4:31 AM, "Ian D. Leroux"  wrote:
>
> On Sat, 15 Oct 2016 10:09:52 +0200 (CEST) Havard Eidnes 
> wrote:
> > > And while I'm on a roll I might as well promote -P as well. I think
> > > that unless you know what you are doing, -d and -P is probably
> > > switches you always want to apply when you do cvs update.
> >
> > I agree -- that's why my ~/.cvsrc contains:
> >
> > update -d -P
> > diff -u
> > rdiff -u
>
> In fact, both the NetBSD guide (chapter 30) and the pkgsrc guide
> (chapter 2) make this recommendation explicitly; though interestingly
> they don't recommend exactly the same options. Setting ~/.cvsrc (mostly
> following the pkgsrc guide) is the first thing I do to my user account
> on a newly installed machine. Which is probably why people don't talk
> about it much (beyond the guides). Once you've set ~/.cvsrc, you rarely
> have to think about it.

TIL

> --
> IDL


Re: WANTED: nvme(4) driver testing on MP systems on -current

2016-10-22 Thread Chavdar Ivanov
VirtualBox

On Fri, 21 Oct 2016, 04:17 Thor Lancelot Simon,  wrote:

> On Thu, Oct 20, 2016 at 11:09:02PM +0200, Jarom??r Dole??ek wrote:
> > I've now committed my fixes for NVMe driver, should be more stable
> > now, give it a try.
> >
> > With those fixes, the driver works without any problem, even under
> > fairly heavy i/o load, when nvme.c and ld_nvme.c is compiled with -O0,
> > on both virtual and real MP machine. -O2 kernel works also on virtual
> > machine, but I've had an I/O lockup on real hw machine with -O2
> > kernel. It may have been unrelated, I'm still investigating.
>
> I keep forgetting to ask -- what kind of virtual machine has NVMe
> as an emulated device?
>
> Thor
>


daily CVS update output

2016-10-22 Thread NetBSD source update

Updating src tree:
P src/compat/amd64/i386/bsd.i386.mk
P src/distrib/sets/lists/tests/mi
P src/etc/mtree/NetBSD.dist.tests
P src/external/gpl3/gcc/dist/libgcc/config.host
P src/external/gpl3/gcc/lib/libgcc/Makefile.inc
P src/external/gpl3/gcc/lib/libgcc/arch/i386/defs.mk
P src/external/gpl3/gcc/lib/libgcc/arch/x86_64/defs.mk
P src/external/gpl3/gdb/dist/gdb/hppanbsd-tdep.c
P src/external/gpl3/gdb/dist/gdb/config/arm/nbsdelf.mh
P src/external/gpl3/gdb/dist/gdb/config/pa/nbsd.mt
P src/lib/libcurses/add_wchstr.c
P src/lib/libcurses/addbytes.c
P src/lib/libcurses/background.c
P src/lib/libcurses/border.c
P src/lib/libcurses/curses.c
P src/lib/libcurses/fileio.c
P src/lib/libcurses/fileio.h
P src/lib/libcurses/ins_wch.c
P src/lib/libcurses/ins_wstr.c
P src/lib/libpthread_dbg/pthread_dbg.h
P src/share/man/man4/nvme.4
P src/share/mk/bsd.own.mk
P src/sys/dev/dksubr.c
P src/sys/dev/dkvar.h
P src/tests/usr.bin/Makefile
U src/tests/usr.bin/uniq/Makefile
U src/tests/usr.bin/uniq/d_basic.in
U src/tests/usr.bin/uniq/d_basic.out
U src/tests/usr.bin/uniq/d_counts.out
U src/tests/usr.bin/uniq/d_input.in
U src/tests/usr.bin/uniq/d_show_duplicates.out
U src/tests/usr.bin/uniq/d_show_uniques.out
U src/tests/usr.bin/uniq/t_uniq.sh
P src/usr.bin/systat/cmds.c
P src/usr.bin/systat/extern.h
P src/usr.bin/systat/main.c

Updating xsrc tree:


Killing core files:

Running the SUP scanner:
SUP Scan for current starting at Sun Oct 23 03:01:43 2016
SUP Scan for current completed at Sun Oct 23 03:01:58 2016
SUP Scan for mirror starting at Sun Oct 23 03:01:58 2016
SUP Scan for mirror completed at Sun Oct 23 03:03:49 2016




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  47175952 Oct 23 03:05 ls-lRA.gz


Re: Booting BSD on a libreboot system - documentation needed

2016-10-22 Thread William D. Jones
Although, I'm ill-equipped to work on this, I am also curious about BSD 
support for libreboot. What is blocking EFI support?


-Original Message- 
From: Swift Griggs

Sent: Friday, September 30, 2016 5:42 PM
To: Leah Rowe
Cc: current-users@NetBSD.org
Subject: Re: Booting BSD on a libreboot system - documentation needed

On Fri, 30 Sep 2016, Leah Rowe wrote:

Libreboot is a free/opensource BIOS/UEFI implementation/replacement.
GNU/Linux is supported well, but people have recently started figuring
out how to boot BSD.


Very cool. I for one will check it out.

If I'm not mistaken, NetBSD's bootloader doesn't yet support EFI. It
sounds like it's somewhat less jiggery-pokery than an MBR bootloader. Plus
it just uses a regular FAT32 file system. I'm sure there are difficulties
I'm not aware of, but I'm hoping for good things, soon.

-Swift

--
William D. Jones
thor0...@comcast.net 



wm WOL not working anymore

2016-10-22 Thread Frank Kardel

Hi !

There has be quite some work going on for wm interfaces.

When testing current kernels I found that some time after
if_wm.c:1.347 the WOL functionality has stopped working
on my ASRock 990FX Extreme 9 wm interfaces (PHYs are down
after "shutdown -p").

Compiling if_wm.c with "options WM_WOL" leads to
compilations errors (defined, but not used).

So currently I gather that WOL on wm is work in
progress - am I right ?

dmesg snipplets:
wm0 at pci6 dev 0 function 0: Intel i82572EI 1000baseT Ethernet (rev. 0x06)
wm0: interrupting at ioapic1 pin 23
wm0: PCI-Express bus
wm0: 2048 words (16 address bits) SPI EEPROM, version 5.11.8, Image 
Unique ID 

wm0: Ethernet address 00:1b:21:xx:yy:zz
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto


wm1 at pci13 dev 0 function 0: Intel i82583V (rev. 0x00)
wm1: interrupting at ioapic0 pin 18
wm1: PCI-Express bus
wm1: 2048 words FLASH, version 1.10.0, Image Unique ID 
wm1: Ethernet address bc:5f:f4:xx:yy:zz
makphy0 at wm1 phy 1: Marvell 88E1149 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto


Frank