Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread Pedro Pinho
Same here, HP ProBook 6460b from 2013, i5 CPU, 8GB RAM, replaced the
original HDD with a SSD and replaced the crappy broadcom wifi card with an
Intel one. Everything working fine, further details here,
https://www.unitedbsd.com/d/6-netbsd-a-little-guide-for-newcomers

Very recently, I've tried qemu-haxm virt. and, it works fine also.

Den mån 24 juni 2019 00:24Brett Lymn  skrev:

> On Sat, Jun 22, 2019 at 06:32:55PM -0400, Chris Humphries wrote:
> >
> > Mostly, it seems folks don't really run NetBSD on laptops, and if they
> > do they're silent about it.
> >
>
> As a lot of other people, silent because my laptop is ~5 years old so
> hardly helpful.  Most of my NetBSD is done on a fujitsu S904 lifebook, I
> chose is for the combination of power and light weight.  It took quite a
> while but my laptop is now well supported, built in wireless works,
> intel drm works, suspend/resume works (though I have to do the console
> switch dance to restore X after a sleep).
>
> I multi-boot my laptop NetBSD/Linux/Windows 10 using uefi & grub2.
>
> --
> Sent from my NetBSD device.
>
> "We are were wolves",
> "You mean werewolves?",
> "No we were wolves, now we are something else entirely",
> "Oh"
>


Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread Brett Lymn
On Sat, Jun 22, 2019 at 06:32:55PM -0400, Chris Humphries wrote:
> 
> Mostly, it seems folks don't really run NetBSD on laptops, and if they
> do they're silent about it.
> 

As a lot of other people, silent because my laptop is ~5 years old so
hardly helpful.  Most of my NetBSD is done on a fujitsu S904 lifebook, I
chose is for the combination of power and light weight.  It took quite a
while but my laptop is now well supported, built in wireless works,
intel drm works, suspend/resume works (though I have to do the console
switch dance to restore X after a sleep).

I multi-boot my laptop NetBSD/Linux/Windows 10 using uefi & grub2.

--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Re: "Virtual" RAID1

2019-06-23 Thread Brett Lymn
On Sat, Jun 22, 2019 at 03:13:21PM +0200, tlaro...@polynum.com wrote:
> 
> Is there something like that existing? the idea being to combine
> as much as possible existing facilities and just to insert a simple
> client/server encapsulating "disk" data at the right place (the 
> pseudo-device) to make it work.
> 

Have you looked at coda?  It is a disconnectable file system that will
automatically cache files locally and allow modifications while the file
server is unavailable, when the server is available again it will write
the changes back to the server.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread Rhialto
On Sun 23 Jun 2019 at 11:02:10 +0200, Martin Husemann wrote:
> If there wouldn't be the unsupported sdio wifi issue, I'd strongly
> recommend a pinebook ;-)

Hm.. well... on the pinebook, I would say that NetBSD's graphics drivers
"leave a lot to be desired". Mind you, with the Linux KDE Neon I'm
trying now, they "leave everything to be desired". (I have learned to
hate graphics chips more and more every day)

> Martin
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl  -- if you're unable...to Speak." - Agent Elrond


signature.asc
Description: PGP signature


Re: current transaction too big to flush

2019-06-23 Thread Dima Veselov

Greetings,

the problem is still there and I even have a single file
which can not be deleted via standard rm command
causing kernel panic. What can be done there? Current
situation make WAPBL filesystem unusable. I also can not
increase log space.

Is that real that 3Gb file deletion take 64Mb of log space?

18.06.2019 11:14, Dima Veselov пишет:


dk0 is 3Tb and I believe it is happening on this device.

[root@ssd ~]$ tunefs -N /dev/dk0
tunefs: tuning /dev/rdk0
tunefs: current settings of /dev/rdk0
     maximum contiguous block count 2
     maximum blocks per file in a cylinder group 4096
     minimum percentage of free space 5%
     optimization preference: time
     average file size: 16384
     expected number of files per directory: 64
     journal log file location: in filesystem
     journal log file size: 64MB (67108864 bytes)
     journal log flags:
     quotasdisabled
tunefs: no changes made

On 18.06.2019 9:36, Jaromír Doleček wrote:

Which version of NetBSD is this? Can you also post tunefs -N output
for the filesystem?

Jaromir

Le mar. 18 juin 2019 à 02:24, Dima Veselov  
a écrit :


Hello,

Maybe I need to create PR, but here might be a
person already met the situation of kernel panic
on big file operation. When I try to delete several
files (from 1 to 8 Gb at once) from net/transmission
interface I get kernel panic like this:

panic: wapbl_flush: current transaction too big to flush
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x15d
snprintf() at netbsd:snprintf
wapbl_stop() at netbsd:wapbl_stop
wapbl_begin() at netbsd:wapbl_begin+0x5b
ufs_inactive() at netbsd:ufs_inactive+0x13a
VOP_INACTIVE() at netbsd:VOP_INACTIVE+0x4c
vrelel() at netbsd:vrelel+0x168
ufs_remove() at netbsd:ufs_remove+0xab
VOP_REMOVE() at netbsd:VOP_REMOVE+0x50
do_sys_unlinkat.isra.5() at netbsd:do_sys_unlinkat.isra.5+0x1eb
syscall() at netbsd:syscall+0x1ec
--- syscall (number 10) ---
7887406fb53a:
cpu0: End traceback...

I also have question about dumping: kernel can't
do dump on panic:

dumping to dev 168,2 (offset=4278362, size=515454):
dump device bad

Why it is bad if it work as a swap normally?

[root@ssd ~]$ swapctl  -l
Device  512-blocks Used    Avail Capacity  Priority
/dev/dk2   8401995    0  8401995 0%    0
[root@ssd ~]$ ls -la /dev/dk2
brw-r-  1 root  operator  168, 2 Apr 19  2018 /dev/dk2



Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread Martin Husemann
On Sat, Jun 22, 2019 at 06:32:55PM -0400, Chris Humphries wrote:
> Mostly, it seems folks don't really run NetBSD on laptops, and if they
> do they're silent about it.

I do, and I have been silent. For me everything works on my two Acer
ones I currently have, but I could not recommend any currentish
(because I have not tested).

If there wouldn't be the unsupported sdio wifi issue, I'd strongly
recommend a pinebook ;-)

Martin


Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread maya
I don't recommend my laptops because I can name the list of things not
working on them (I want to fix them at some point).

I can tell you what is missing in a Dell XPS 9550 but given that I have
graphical acceleration, external monitor and internal wifi, it's an OK
recent laptop for netbsd'ing.

https://dmesgd.nycbug.org/index.cgi?do=view=3729


Re: "Virtual" RAID1

2019-06-23 Thread U'll Be King Of The Stars
I have been designing a system that does something a lot like this, to function 
as a multimedia asset management system.

I would love to compare notes with you if you like.

Do you want this to work on the block level? It sounds like you do.

Things like this do exist, but you have to be very specific about what you are 
trying to get out of it?  From your description it sounds like you simply want 
to do replication between two nodes.  But then I thought about it more and 
realized that, in this case, you could simply set your file service as "active" 
and the remote one as "redundant".

Or are you trying to implement a cache for your working files that are a subset 
of the complete file service that has too much data to store locally?

I am trying to minimize noise in the local sub-NAS of the complete file server. 
 The sub-NAS will have SSD's and the remote upstream NAS will have many arrays 
of high-capacity spinning HDD's.

In your case there are companies that, I think, do what you need, such as 
Dell/EMC.  But they are expensive and proprietary.

Can you please specify in detail what you want to do?  I would like to see if 
there is any common overlap.  If you like, we could share our findings.

Andrew

On 22 June 2019 14:13:21 BST, tlaro...@polynum.com wrote:
>Hello,
>
>I don't know if the idea is stupid, but I wonder if there is a way
>to combine existing programs in order to associate in a RAID1 a local
>disk and a "remote" disk, i.e. a way to give the RAID1 software a
>pseudo-device as the secondary disk, write data being sent also to this
>remote disk while read data being only done via the network if the
>local disk fails to answer after some laps of time (in order not to 
>crowd the network with the redundant reads, if a "shared" network
>pipe is the mean of the remote link, or simply to not waste energy).
>
>This would allow both remote backup and fallback.
>
>Is there something like that existing? the idea being to combine
>as much as possible existing facilities and just to insert a simple
>client/server encapsulating "disk" data at the right place (the 
>pseudo-device) to make it work.
>
>Hoping this does not sound totally weird,
>-- 
>Thierry Laronde 
> http://www.kergis.com/
>   http://www.sbfa.fr/
>Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: Laptop Recommendations for NetBSD?

2019-06-23 Thread Ron Georgia
My "intel" laptop is a Lenovo X200 running 8.1 and works great. As far as the 
"daily driver" goes I still rely on my Mac because my knowledge of NetBSD and 
crafting a stable desktop is shaky at best... albeit getting better. I do most 
of my python development on a box running current. All my learning of Rust is 
on the same box. Almost all my SANS course "homework" is done on that machine. 
There are a few things that keep me from using my NetBSD box as my daily 
driver. One is Firefox (v65) crashes regularly. Still trying to figure out why. 
Video is a little "ify," but that’s most likely due to my ignorance of setting 
up my intel video. Mate has a core dump from time to time. Audio is still an 
unexplored frontier, so iTunes it is for now. Other "todo" is to learn xen (or 
qemu?) in order to be able to run the prebuilt VMs the SANS people build for 
their courses. So that makes me part of the larger percentage of the "almost 
daily driver" crowd.

This made me wonder why others chose NetBSD as a desktop or server. I wonder if 
there is a place we can go to articulate why NetBSD is our poison of choice. I 
mean, why NetBSD over FreeBSD or OpenBSD or dragonfly or fill-in-the-blank-BSD?

On 6/22/19, 6:33 PM, "Chris Humphries"  wrote:

Suggestions weren't mind-blowing or anything, but the usual suspects:
Thinkpads and people saying some random laptop mostly works for them.

Mostly, it seems folks don't really run NetBSD on laptops, and if they
do they're silent about it.
I personally suspect most people run NetBSD as on servers,
virtualization (virtualbox or qemu), or toys like old machines/ports
and arm boards. I'd guess a very small percentage of NetBSD users use
it as a daily driver.


On Fri, Jun 21, 2019 at 12:52 PM U'll Be King Of The Stars
 wrote:
>
> Good choice, Chris!
>
> Is it possible to collect the suggestions that others gave you and send 
them around, either privately, or publicly to the list? I am looking for a 
Thinkpad too (anything that starts with X or T and ends in #00, #20, or #30) 
but it doesn't _have_ to be a TP.
>
> So far my attempts with my X230 been a bit frustrating.
>
> Andrew
>
> On 21 June 2019 16:09:50 BST, Chris Humphries  wrote:
>>
>> Ended up simply ordering a Thinkpad T420 off eBay for $200. Better
>> specs than I currently have and well supported.
>>
>> Thanks for all that gave me recommendations via this email, IRC, and
>> Twitter.
>>
>>
>>
>>
>> On Wed, Jun 19, 2019 at 08:59:09PM +, Chris Humphries wrote:
>>>
>>> Hello Hivemind,
>>>
>>> I'm shopping for a new laptop and would like to have a laptop with
>>> very good NetBSD support (ethernet and wireless networking works,
>>> graphics works using the graphics card in a non-generic way,
>>> suspend/resume works, trackpad).
>>>
>>> https://wiki.netbsd.org/laptops/ exists - but like many wiki pages,
>>> how current it is is questionable and may be rotten. Also, most of the
>>> laptops are very old.
>>>
>>>
>>> What is your laptop recommendation for running NetBSD bare-metal?
>>>
>>> Thank you,
>>> Chris
>>>
>>> --
>>> Chris Humphries 
>>> 5223 9548 E1DE DE87 F509  1888 8141 8451 6338 DD29
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.



-- 
Chris Humphries

PGP: 6338DD29 ch...@sogubsys.com