Re: 9.0 amd64 install assertion

2020-04-03 Thread Martin Husemann
On Fri, Apr 03, 2020 at 09:17:39PM +0200, Steffen Nurpmeso wrote:
> Just do it Martin, it will assert. 

No, it will not in all cases - we are testing this stuff in the
automatic test runs and it does not trigger there.

Martin


Re: 9.0 amd64 install assertion

2020-04-03 Thread Steffen Nurpmeso
Martin Husemann wrote in
<20200403174943.gj7...@mail.duskware.de>:
 |On Fri, Apr 03, 2020 at 07:37:40PM +0200, Steffen Nurpmeso wrote:
 |> Available disks
 |> 
 |>   ?>a: wd0 (8.0G) ?
 |>   ? b: 6161d776-d99d-48fc-8c4f-f1534c64ffda (dk0@wd0) ?
 |>   ? c: 4a12784d-6024-42a7-8f15-c50a4236933c (dk1@wd0) ?
 |
 |So you do have some GPT partitions on wd0 already - were they present
 |before, when you ran into the assertion?

Just do it Martin, it will assert.  I guess b and c above should
not be part of this menu?  It is just the waved through default.

 |To reproduce the issue I need full details of the disk, e.g. dmesg
 |fragment of wd0 attaching, plus (if the disk was not empty before) the
 |output of gpt show wd0 (not dk0).

Ah, sorry, wd0.

  #?0|n-0900:steffen$ gpt show wd0
   start  size  index  contents
   0 1 PMBR
   1 1 Pri GPT header
   232 Pri GPT table
  3430 Unused
  64  12713917  1  GPT part - NetBSD FFSv1/FFSv2
12713981 3 Unused
12713984   4063199  2  GPT part - NetBSD swap
1677718332 Sec GPT table
16777215 1 Sec GPT header

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: 9.0 amd64 install assertion

2020-04-03 Thread Martin Husemann
On Fri, Apr 03, 2020 at 07:37:40PM +0200, Steffen Nurpmeso wrote:
> Available disks
> 
>   ?>a: wd0 (8.0G) ?
>   ? b: 6161d776-d99d-48fc-8c4f-f1534c64ffda (dk0@wd0) ?
>   ? c: 4a12784d-6024-42a7-8f15-c50a4236933c (dk1@wd0) ?

So you do have some GPT partitions on wd0 already - were they present
before, when you ran into the assertion?

To reproduce the issue I need full details of the disk, e.g. dmesg
fragment of wd0 attaching, plus (if the disk was not empty before) the
output of gpt show wd0 (not dk0).

Martin


Re: 9.0 amd64 install assertion

2020-04-03 Thread Steffen Nurpmeso
Hallo Martin.

Sorry for the late response.

Martin Husemann wrote in
<20200402060344.ga2...@mail.duskware.de>:
 |Please describe the state of the disk before you started (empty, an old 
 |installation with disklabel/MBR, ) and how exactly you got to the
 |point of failure (i.e. all menu selections).

Just like i said, everything default nothing special.  qemu with
8 GB disk, looked in custom partitioning but choose the NetBSD
provided defaults, used default sizes etc.  This means two
partitions, one for / one for swap i think.  So but then i just
quit instead of installing.  After four reboots, two from harddisk
which booted but stopped because getty could not attach to
/dev/console (one ISO boot in between to run MAKEDEV all which did
not help) i gave up and headed towards installation via HTTP.

So sure, let's repeat it.

  │>a: Installation messages in English
keyboard:
  >a: unchanged
  >a: Install NetBSD to hard disk
continue:
  >b: Yes
Available disks

  │>a: wd0 (8.0G) │
  │ b: 6161d776-d99d-48fc-8c4f-f1534c64ffda (dk0@wd0) │
  │ c: 4a12784d-6024-42a7-8f15-c50a4236933c (dk1@wd0) │
  │ d: Extended partitioning  │
  │ x: Exit

  - Choose b:
>b: Use default partition sizes
  assertion

I mean, i do not want that (b).  That is, i wanted to install the
sets to (b), yes.  b and c are of course the result of the initial
install that i aborted in the HTTP menu.
Apropos menu.  The yes/no switches are often very far below the
actual question.

  >c: Re-install sets or install additional sets

 |Also helpfull would be the output of fdisk, disklabel and "gpt show"
 |for that disk (though it now will show the "after" state, not the one
 |that made you run into this issue).

  # gpt show /dev/dk0
  GPT not found, displaying data from MBR.
  start  size  index  contents
  0 1 MBR
  1  12713916 Unused

All others give ioctl errors.

Works nice otherwise, though would be nicer if (tar -cpf - | tar
-xpf -) would save some download and count as installed.  I also
struggled because the e1000 was enabled=0 and unusable, dmesg
however said "are you an emulator?" and so we are now
virtio-net-pci based, which works very good.  However, with qemu
4.2.0 i need to ping the VM before the network works.  I had this
with archlinux 2019.12, even worse, but there a kernel update
fixed the behaviour.  (That was qemu 4.0.0 by then i think.)  I do
not see the behaviour with other BSDs nor Linux, so i thought
i mention it.

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: Looking for java an android devs on netbsd environment

2020-04-03 Thread Mike Pumford




On 03/04/2020 15:49, Greg Troxel wrote:

"John m0t"  writes:




c. eclipse

eclipse ought to work its a java application although I have no direct 
experience on NetBSD I've always found its ui so frustrating when I'm 
forced to use it that I'd never use it voluntarily (which covers all my 
NetBSD tools).



d.intellij idea


NetBSD has linux emulation, so the above might actually work.  Sort of
on my list to do this eventually, but I don't have anything useful to
say.


e. qt creator


I suspect that works fine.


f. java (oracle java vs OpenJDK)(which version/versions? 1.8? 11?)


openjdk8 runs fine on netbsd-8/amd64 - I have successfully run josm and
mkgmap from openstreetmap, and unifi from Ubiquiti.  openjdk11 builds
and I believe works.

I'm also using openjdk8 successfully on 9.0/amd64 to run jenkins. I 
didn't have a lot of luck running jenkins on opendjk 11 but that could 
have been jenkins rather than openjdk11 and I've not had the time to 
revisit it since.


 Mike


Re: Looking for java an android devs on netbsd environment

2020-04-03 Thread Greg Troxel
"John m0t"  writes:

> I am trying to set a full production system to do android and java 
> development in NetBSD.
>
> a. android studio
>
> b. adb bridge
>
> c. eclipse
>
> d.intellij idea

NetBSD has linux emulation, so the above might actually work.  Sort of
on my list to do this eventually, but I don't have anything useful to
say.

> e. qt creator

I suspect that works fine.

> f. java (oracle java vs OpenJDK)(which version/versions? 1.8? 11?)

openjdk8 runs fine on netbsd-8/amd64 - I have successfully run josm and
mkgmap from openstreetmap, and unifi from Ubiquiti.  openjdk11 builds
and I believe works.


My advice is to install openjdk11, and to use the pkgsrc linux packages
and unpack the android studio stuff and see how it goes.

I would do this on 9 or current, and perhaps expect to get into fixing
linux syscalls in the emulation layer, perhaps not.

I hope someone else has wisdom for you - sending this hoping I'm not the
expert here!


Looking for java an android devs on netbsd environment

2020-04-03 Thread John m0t
 Hello;

I am trying to set a full production system to do android and java development in NetBSD.

Is anyone doing it right now or ever done it before?

I need to know if these things work on netbsd:

a. android studio

b. adb bridge

c. eclipse

d.intellij idea

e. qt creator

f. java (oracle java vs OpenJDK)(which version/versions? 1.8? 11?)

any experience that you have is most most welcome and appreciated.

Thank You.

JB 


 


 




Re: NetBSD 9, Nouveau and Fan Control

2020-04-03 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes:

>I tried to install NetBSD 9.0 on my Gamer PC and just noticed that the 
>fan of the graphics card sounds like a jet engine.

The nouveau driver cannot control the fan. Neither under NetBSD nor
under Linux.

With Linux you have the choice of the proprietary (binary only) driver
from NVidia.

-- 
-- 
Michael van Elst
Internet: mlel...@serpens.de
"A potential Snark may lurk in every tree."


NetBSD 9, Nouveau and Fan Control

2020-04-03 Thread John m0t
Hi;
I guess you can. we had the same problem under the kernel on linux which relates to a table being removed from the new nouveau driver. I didn't get solved.
maybe; if you can; use an AMD card?!


 


 




NetBSD 9, Nouveau and Fan Control

2020-04-03 Thread Matthias Petermann

Hello everyone,

I tried to install NetBSD 9.0 on my Gamer PC and just noticed that the 
fan of the graphics card sounds like a jet engine.


The graphics card is a NVidia GF108 based GT430. The kernel is using the 
nouveau DRM module.


Is there any way to take over fan control at any level in NetBSD or 
should I look around for a passively cooled card?


Best regards
Matthias