Re: uselocale() function

2017-02-14 Thread Martin Husemann
On Tue, Feb 14, 2017 at 11:23:45AM +0100, Marc Baudoin wrote: > Hi, > > I'm responsible for building the NetBSD binaries for the TeX Live > distribution. We're preparing the 2017 release and I have a > problem with the new version of a component (dvisvgm). It uses a > uselocale() function which

Re: uselocale() function

2017-02-14 Thread Martin Husemann
On Tue, Feb 14, 2017 at 12:39:52PM +0100, Marc Baudoin wrote: > Well, that piece of software happens to be written in C++. I > dont't know why the author doesn't use that model. In case it wasn't clear: what I meant is: set the locale for individual stream objects explicitly. Most simple example

Re: Why are there physmem and physmem64?

2017-02-15 Thread Martin Husemann
On Wed, Feb 15, 2017 at 10:48:40PM +0900, Miwa Susumu wrote: > hi. > > sysctl has hw.physmem and hw.physmem64. The former exists only for backward binary compat, just ignore it. Martin

Re: Why are there physmem and physmem64?

2017-02-16 Thread Martin Husemann
On Thu, Feb 16, 2017 at 11:17:54PM +0900, Miwa Susumu wrote: > How about replace physmem64 to physmem ? > > remove: physmem > rename: physmem64 -> physmem This breaks binary compatibility (old programs might query "physmem" hard coded as a 32bit value). Martin

Re: Why are there physmem and physmem64?

2017-02-17 Thread Martin Husemann
On Fri, Feb 17, 2017 at 11:00:10PM +0900, Miwa Susumu wrote: > If change it, sysctl work correctly. Unless you have more than 4 GB. So why bother changing it at all? Just ignore the old value. Martin

Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-11 Thread Martin Husemann
On Sat, Mar 11, 2017 at 09:06:03PM +0100, Marco Beishuizen wrote: > I'm rebuilding it as we speak with the suggested option so I'm hoping that > it's a bit more than just a logo thing. No, it is just the logo. Martin

Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-11 Thread Martin Husemann
On Sat, Mar 11, 2017 at 10:24:00PM +0100, Marco Beishuizen wrote: > Unfortunately just as crashy as before (segmentation fault on random sites, > and in preferences and add-ons tabs). Switching to another browser for now. On what architecture is that? Martin

Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-13 Thread Martin Husemann
If anyone has receipes to easily make it crash, please send-pr! Debugging often is simple, if you can reproduce it. I'll fire off an i386 build with debug info tonight... Martin

Re: Installing FF 52 from pkgsrc: "stable" version instead of nightly

2017-03-14 Thread Martin Husemann
On Tue, Mar 14, 2017 at 01:16:35AM +0700, Robert Elz wrote: > A Vague memory from the distant past suggests that the thing to try > is to move aside the .mozilla directory, and allow the new firefox > to start in a completely clean environment. Yes, this is a generic "firefox shows strange symptom

Re: PLIP

2017-03-25 Thread Martin Husemann
On Sat, Mar 25, 2017 at 12:55:28AM -0400, Andy Ball wrote: > > Hello, > > Does NetBSD still include support for PLIP (IP over a parallel > port link)? I see a manpage for it but no mention of it in the > GENERIC kernel config file for amd64 or i386. The code is still there (sys/dev/ppbus/if

Re: NetBSD-current on HP Pavilion p6142p

2017-04-10 Thread Martin Husemann
On Sat, Apr 08, 2017 at 04:16:34PM -0500, John D. Baker wrote: > Actually, I think it does detect them on cold boot but reports errors. > On simple reboot it does not detect them at all. I see something similar with -current and: ahcisata1 at pci0 dev 17 function 0: vendor 1002 product 4391 (rev.

Re: 8.0 BETA i386: mplayer: text relocations error

2017-06-11 Thread Martin Husemann
On Sat, Jun 10, 2017 at 03:00:06PM +, [email protected] wrote: > I seem to recall the mplayer failure is something in ffmpeg that is > i386 specific. I will try to reproduce. Yes, text relocations are arch specific (usually non-PIC code used in PIC builds, maybe some of the mplayer asm stuff). Mp

Re: 8.0 BETA i386: mplayer: text relocations error

2017-06-11 Thread Martin Husemann
On Sun, Jun 11, 2017 at 08:55:14AM +, [email protected] wrote: > Could this be the cause of firefox issues on i386? > > (I remeber it was libavcodec from ffmpeg3, and firefox also uses > ffmpeg3) Hmm, indeed that could be related. Martin

Re: Can NetBSD cgd be used for encrypted backup?

2017-06-11 Thread Martin Husemann
On Sun, Jun 11, 2017 at 09:27:25PM +0530, Mayuresh wrote: > On Sun, Jun 11, 2017 at 04:32:02PM +0200, Kamil Rytarowski wrote: > > > - Can the native cgd of NetBSD be used for the purpose of encrypted > > > backup? Basically can I mount such filesystem in a way that it shows > > > encrypted file

Re: Can NetBSD cgd be used for encrypted backup?

2017-06-11 Thread Martin Husemann
On Sun, Jun 11, 2017 at 09:59:17PM +0530, Mayuresh wrote: > On Sun, Jun 11, 2017 at 06:12:58PM +0200, Martin Husemann wrote: > > I have used cgd for remote encrypted backups in the past: > > > > - remote offers a "partition" as iscsi device > > Not over

Re: Can NetBSD cgd be used for encrypted backup?

2017-06-13 Thread Martin Husemann
On Mon, Jun 12, 2017 at 12:19:33PM +0530, Mayuresh wrote: > That's quite interesting. Would like to try out. But I guess, you'd need > root access at remote? No? No, just an iscssi device. Many NAS devices can export a "partition" via iscssi. Martin

Re: kernel config problem

2017-07-13 Thread Martin Husemann
On Wed, Jul 12, 2017 at 09:09:11PM -0700, Michael Litchard wrote: > make[1]: don't know how to make absvdi2.c. Stop The file should be there in sys/external/bsd/compiler_rt/dist/lib/builtins/. How did you get your source tree, it seems to be incomplete? Martin

Re: creating a netbsd router

2017-07-15 Thread Martin Husemann
On Fri, Jul 14, 2017 at 12:53:58PM -0400, Derrick Lobo wrote: > I would like to create eth0 as the WAN interface and the remaining eth1-6 > as the LAN interface so that I can connect multiple switches and devices > directly on the 7 remaining ports.. As others have said: if you want multiple of th

Re: Can I use NetBSD as a desktop system?

2017-07-19 Thread Martin Husemann
On Wed, Jul 19, 2017 at 11:57:47AM +, [email protected] wrote: > On Wed, Jul 19, 2017 at 12:39:58PM +0200, Riccardo Mottola wrote: > > I'd also love SD card reader support :) > > Mine works... might be just a matter of recognizing your device as a > valid one Indeed (mine works too). Please share

Re: Permedia 3 and Xorg (on AXP)

2017-07-20 Thread Martin Husemann
On Thu, Jul 20, 2017 at 12:29:38PM +0200, BERTRAND Joël wrote: > I know SRM commands, but it's not a bug related to SRM. Indeed with -7 and > the same configuration, shutdown -r reboots system without any trouble. It did work for me earlier this week in -current, but I haven't tested -8 yet. Mart

Re: Permedia 3 and Xorg (on AXP)

2017-07-31 Thread Martin Husemann
On Mon, Jul 31, 2017 at 11:19:57PM +0200, BERTRAND Joël wrote: > And I can confirm that shutdown -r now stops my PWS but it doesn't reboot > ;-) FWIW: netbsd-8 as of today on DS20 server reboots/halts just fine. Martin

Re: *.netbsd.org down ?

2017-08-22 Thread Martin Husemann
On Tue, Aug 22, 2017 at 11:13:11AM +, Chavdar Ivanov wrote: > Is this so at the moment? Anyone having the same? mail.* seems to work ;-) www works for me too. Martin

Heads up: users of the netbsd-8 branch

2017-09-01 Thread Martin Husemann
If you are using NetBSD 8 BETA already, and are not updating from the official "daily" builds, please note: - The gcc internal specs have changed (rules for libgcc when building shared binaries). This change requires a full build of ALL binaries ever created with gcc 5.4. - Failure to do

Re: Heads up: users of the netbsd-8 branch

2017-09-03 Thread Martin Husemann
On Sat, Sep 02, 2017 at 03:47:09AM +, Thomas Mueller wrote: > Does this also apply to NetBSD-current? > > When did the changes happen? My last update on i386 was Aug 30 (but amd64 > was last updated Jun 20): There were various changes, but I think the last one that better be followed by a c

Re: fixing a bad sector

2017-09-05 Thread Martin Husemann
On Tue, Sep 05, 2017 at 05:35:07PM +, Steve Blinkhorn wrote: > I have discovered a problem on a live server (i386) I run - this > is filling up /var/log/messages so that it has turned over more than > 10 times today. > > The message: > > Sep 5 16:56:49 trafalgar /netbsd: wd0a: error reading

Re: fixing a bad sector

2017-09-05 Thread Martin Husemann
On Tue, Sep 05, 2017 at 06:05:08PM +, Steve Blinkhorn wrote: > Is there a way of identifying the file that's affected from the fsbn? > Because it's the boot partition and the server is far away I need to > be sure the machine will come up in multi-user mode if I have to > reboot. I think fsdb(

Re: fixing a bad sector

2017-09-05 Thread Martin Husemann
On Tue, Sep 05, 2017 at 06:19:31PM +, Steve Blinkhorn wrote: > SMART supported, SMART enabled > id value thresh crit collect reliability description raw [..] > 5 97 36 yes online positiveReallocated sector count 145 I would take this alone as a strong hint and go with Jukka's rec

Re: fixing a bad sector

2017-09-05 Thread Martin Husemann
On Tue, Sep 05, 2017 at 08:30:51PM +0200, [email protected] wrote: > FWIW, when I first saw this on a drive, NetBSD was able to recover and > let me back-up the data (indeed very first thing to do). After, the > SMART status was almost useless, since the faults reappeared until the > disk finall

Re: : in file's name using mount_ntfs (not fuse)

2017-11-10 Thread Martin Husemann
On Fri, Nov 10, 2017 at 10:21:51AM +, trebol wrote: > Hello, > > I'd appreciate it if someone could tell me how to copy a file from a ntfs > partition with a colon in its name. This character is used to get files > attributes, and I can't find a way to avoid it. I may remember wrong, but ":"

Re: : in file's name using mount_ntfs (not fuse)

2017-11-10 Thread Martin Husemann
On Fri, Nov 10, 2017 at 10:59:22AM +, Stephen Borrill wrote: > On Fri, 10 Nov 2017, trebol wrote: > > Well, ':' it seems to allowed. From > > > > https://msdn.microsoft.com/en-us/library/windows/desktop/dd317748(v=vs.85).aspx > > > > [...] In both NTFS and FAT file systems, the special file n

Re: NetBSD-8/i386 SMP Panic? (was: Re: Netbsd-7/i386 won't boot on new motherboard/CPU)

2017-11-16 Thread Martin Husemann
On Thu, Nov 16, 2017 at 05:53:49PM +0700, Robert Elz wrote: > | I took photos of the panic at: > | > | http://acruhl.freeshell.org/netbsd-i386-8-panic1.jpg > | http://acruhl.freeshell.org/netbsd-i386-8-panic2.jpg > > Those are UVM (x86 pmap) issues - there have been recent "issues" with >

Re: Ged USB VID/PID from the scsi device name

2017-11-27 Thread Martin Husemann
On Mon, Nov 27, 2017 at 05:56:11PM +0100, Samorukov,Alexey wrote: > Smartmontools maintains database with usb vid/pid + fw version to > find the best match. But for what? The SMART values supervised by smartmontools should not depend on any of this. Is it completely cosmetic? Martin

Re: Unable to join open WEP wireless network

2018-02-02 Thread Martin Husemann
On Thu, Feb 01, 2018 at 09:34:48PM +, Xianwen Chen (???) wrote: > Dear Dave, > Thank you. An open WEP network is a network that does not require > password or key. Dave's point is: technically that should not be possible, how do you encrypt the packets when there is no key? Martin

Re: thinkpad : e470 : bootup : barfs at acpi

2018-02-04 Thread Martin Husemann
On Sun, Feb 04, 2018 at 11:07:55AM +0100, Matthias Petermann wrote: > There seems to be another link with prefix nycdn - not sure if there is > really a CDN behind but from my location it says download would take 8 > minutes. > > https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/201802030140Z/ima

Re: NetBSD disk performance on VirtualBox

2018-03-18 Thread Martin Husemann
On Sun, Mar 18, 2018 at 01:41:46PM +, Sad Clouds wrote: > Hello, are there known I/O performance issues with NetBSD on VirtualBox? > I've setup two similar VMs, one Linux, another one NetBSD, both use > SATA virtual controller with one disk. > > Writing 1GB file sequentially: > - Linux gives 4

Re: NetBSD disk performance on VirtualBox

2018-03-18 Thread Martin Husemann
On Sun, Mar 18, 2018 at 02:08:53PM +, Sad Clouds wrote: > Hello, I tend to use dd to estimate I/O throughput > > dd if=/dev/zero of=out bs=1m count=1000 Ok, so it is about in-filesystem writes. Assuming you use ffs, you could test with the "log" or the "async" and no special mount option. Al

Re: NetBSD disk performance on VirtualBox

2018-03-19 Thread Martin Husemann
On Sun, Mar 18, 2018 at 03:45:48PM +, Sad Clouds wrote: > Hello, using 'log' or both 'async, log' does not improve things much, > i.e. it's around 30-50 MBytes/sec: > > localhost# mount | grep wd0a > /dev/wd0a on / type ffs (asynchronous, log, local) > > localhost# dd if=/dev/zero of=out bs=1

Re: NetBSD disk performance on VirtualBox

2018-03-19 Thread Martin Husemann
On Mon, Mar 19, 2018 at 08:54:12AM +, Chavdar Ivanov wrote: > I'd be also interested in your setup - on a W10 hosted VBox (latest) on a > fast M.2 disk I get approximately 5 times slower values, on -current amd64, > having disks attached to SATA, SAS and NVMe controllers (almost the same, > the

Re: NetBSD disk performance on VirtualBox

2018-03-19 Thread Martin Husemann
On Mon, Mar 19, 2018 at 12:06:44PM +, Sad Clouds wrote: > Hello, which virtual controller do you use in VirtualBox and do you have > "Use Host I/O Cache" selected on that controller? If yes, then you need to > disable it before running I/O tests, otherwise it caches loads of data in > RAM inste

Re: Native sound system

2018-04-05 Thread Martin Husemann
On Thu, Apr 05, 2018 at 03:40:12AM +0200, Sid wrote: > NetBSD current should jump to or try OSS version 4, to avoid redoing > a lot of work. libosssaudio.so is only a (tiny) compat shim on NetBSD (like 1000 lines of C code). Adding newer OSS versions to that is more work, not less ;-) But it cer

Re: redirect console to com0

2018-04-26 Thread Martin Husemann
On Thu, Apr 26, 2018 at 03:12:39PM +0200, Manuel Bouyer wrote: > You have to tell NetBSD to use the serial port as console. > You can do this with > consdev com0 > at boot prompt or in the /boot.cfg file You also want to enable the console entry in /etc/ttys and disable all ttyE* entries. Martin

Re: 8.0 rc1 barfs during install

2018-05-07 Thread Martin Husemann
On Mon, May 07, 2018 at 03:46:33PM +, Kathe wrote: > i have an amd64 system which runs well with freebsd, openbsd and ubuntu. > with netbsd 8.0 rc1, it barfs while outputing the message below; > sdhc0: adma error, status ff > sdhc0: timeout waiting for mask 0x3 value 0 (state=0x) > sdhc

Re: 8.0 rc1 barfs during install

2018-05-07 Thread Martin Husemann
On Mon, May 07, 2018 at 09:08:28AM -0700, Hisashi T Fujinaka wrote: > My guess is that you're going to have to get a video of the screen > during installation. Of provide the "pcictl list" (or whatever equivalent) output for the sdhc device from one of the other operating systems you tried. Marti

Re: 8.0 rc1 barfs during install

2018-05-07 Thread Martin Husemann
On Mon, May 07, 2018 at 04:23:39PM +, Kathe wrote: > 02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev > 01) OK, is there a verbose mode where it dumps the details of this device? If we are lucky there is a 64bit BAR and then the fix is pretty obvious (thanks to

Re: 8.0 rc1 barfs during install

2018-05-08 Thread Martin Husemann
On Tue, May 08, 2018 at 07:30:57AM +, Kathe wrote: > 02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev > 01) (prog-if 01) > Subsystem: Lenovo SD/MMC Card Reader Controller > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping-

Re: 8.0 rc1 barfs during install

2018-05-10 Thread Martin Husemann
On Thu, May 10, 2018 at 07:19:08AM +, Kathe wrote: > > 32bit, so not that easy - bah. > > > > Martin > > > > any approximations about when it would be available? > would it by any chance be available under the upcoming 8 series? > thanks. With the above I meant to say: I have no idea what is

Re: zfs and dtrace, as specialized add-ons?

2018-05-23 Thread Martin Husemann
On Wed, May 23, 2018 at 09:30:17AM +, Kathe wrote: > why can't zfs and dtrace be supported as specialized add-ons? > so basically, the system delivered as is should not have zfs > and dtrace bundle-in but rather be configured and compiled-in > by those users who need them. ZFS is delivered as

Re: PTHREAD_MUTEX_INITIALIZER on 6.1.5 issues

2018-05-29 Thread Martin Husemann
On Tue, May 29, 2018 at 08:29:02AM +0200, Riccardo wrote: > Hi all, > > > I am testing build og GNUstep base (head) on NetBSD 6.1.5/sparc > > Build fails with: > > Compiling file NSObject.m ... > NSObject.m: In function '+[NSObject initialize]': > NSObject.m:1049:34: error: expected expression

Re: PTHREAD_MUTEX_INITIALIZER on 6.1.5 issues

2018-05-30 Thread Martin Husemann
On Wed, May 30, 2018 at 10:34:10AM +0200, Riccardo Mottola wrote: > well it should return a value, look here for POSIX: > > http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_mutex_init.html I don't see where it says that it should return a value. Note that the synapsis give is exactly what

Re: sacrilegious question : netbsd 8 : release date : approximate?

2018-06-05 Thread Martin Husemann
On Tue, Jun 05, 2018 at 12:23:15PM +, Kathe wrote: > i have been trying the daily builds of netbsd-8 and none of them work. How so? > netbsd-8 release date approximation? RC2 should happen in the next few days, hopefully shortly followed by the final release. But if the daily build of netbs

Re: How to specify userconf kernel options on armv7

2018-06-16 Thread Martin Husemann
On Sat, Jun 16, 2018 at 10:33:52PM +0530, Mayuresh wrote: > On Sat, Jun 16, 2018 at 10:28:08PM +0530, Mayuresh wrote: > > > > Probably it's better to build kernel. But I am unclear about where to copy > > the binary. See below. > > In /boot/boot.ini noticed netbsd-ODROID-C1.ub A .ub file is an u

Re: How to specify userconf kernel options on armv7

2018-06-17 Thread Martin Husemann
On Sun, Jun 17, 2018 at 04:05:23PM +0530, Mayuresh wrote: > On Sat, Jun 16, 2018 at 11:48:23PM +0200, Martin Husemann wrote: > > We have tools to pack a kernel into such an image, > > I have started kernel recompilation by commenting out ulpt. Please share > more information

Re: getauxval AT_SECURE error [ was graphics/sane-backends...]

2018-06-17 Thread Martin Husemann
On Sun, Jun 17, 2018 at 09:57:21PM +0530, Mayuresh wrote: > On Sun, Jun 17, 2018 at 08:30:08PM +0530, Mayuresh wrote: > > assertion "type == AT_SECURE" failed: file "common/compat.c", line 801, > > function "getauxval" > > [1] Abort trap (core dumped) scanimage > > While this originates from cor

Re: Postgresql 9.5 on 7.0_STABLE vs 7.1_STABLE

2018-06-18 Thread Martin Husemann
On Mon, Jun 18, 2018 at 12:55:12PM +0300, Dima Veselov wrote: > It seems that PostgreSQL 9.5 may not continue working anymore, > saying > FATAL: could not open shared memory segment "/PostgreSQL.1804289383": Not > supported > I booted old kernel back and it work as it should. Can you ktrace the

Re: getauxval AT_SECURE error [ was graphics/sane-backends...]

2018-06-18 Thread Martin Husemann
Can you ktrace the scanimmage run and look for the last .so file that it opens? Martin

Re: getauxval AT_SECURE error [ was graphics/sane-backends...]

2018-06-19 Thread Martin Husemann
On Tue, Jun 19, 2018 at 07:38:55AM +0530, Mayuresh wrote: > On Mon, Jun 18, 2018 at 08:48:45PM +0200, Martin Husemann wrote: > > Can you ktrace the scanimmage run and look for the last .so file that it > > opens? > > 21861 1 scanimage NAMI "/usr/lib/libgcc_s.so.1&

Re: getauxval AT_SECURE error [ was graphics/sane-backends...]

2018-06-20 Thread Martin Husemann
On Wed, Jun 20, 2018 at 03:21:12AM +, Christos Zoulas wrote: > So where is it being called from? Probably from libcrypto? > It [p11-glue] should not expose the symbol... Yeah, libcropty's .init section probes for arm properties, with a stupid version relying on libc providing "getauxval" (on L

Re: Problems installing onto computer with ld0 as boot drive

2018-07-14 Thread Martin Husemann
On Fri, Jul 13, 2018 at 03:21:21PM -0400, jmitchel wrote: > a) The device requires UEFI Have you seen this? http://wiki.netbsd.org/Installation_on_UEFI_systems/ Martin

Re: FQDNs for netbooted hosts via DHCP?

2018-07-14 Thread Martin Husemann
On Sat, Jul 14, 2018 at 06:40:49AM -0400, Greg Troxel wrote: > My guess, without reading specs, is that the right thing to do is to > change the in-kernel dhcp client to construct fqdn and use it. The in-kernel dhcp client is minimalistic and only extracts enough data to mount /, and it should not

Re: FQDNs for netbooted hosts via DHCP?

2018-07-16 Thread Martin Husemann
On Mon, Jul 16, 2018 at 08:49:31AM +0100, Roy Marples wrote: > After thinking about it some more, I think the best solution for the FQDN is > to either fix the DHCP server to send the domain in the hostname field OR > stop the kernel assigning a hostname OR leave things as they are. This is tricky

Re: Booting netbsd-8 fails

2018-07-22 Thread Martin Husemann
Can you please try with a kernel from the official build? Since you had (unclear) local build issues, this would rule out any local issues (and also allow us to map the crash address better). Martin

Re: Booting netbsd-8 fails

2018-07-22 Thread Martin Husemann
On Sun, Jul 22, 2018 at 05:55:30PM +0700, Gua Chung Lim wrote: > * Martin Husemann ([email protected]) wrote: > > Can you please try with a kernel from the official build? > > Since you had (unclear) local build issues, this would rule out any > > local issues (and also allo

Re: Booting netbsd-8 fails

2018-07-22 Thread Martin Husemann
On Sun, Jul 22, 2018 at 09:05:29PM +0700, Gua Chung Lim wrote: > for kernel... > If I understand correctly, I have to fetch > ftp.NetBSD.org/pub/NetBSD/NetBSD-8.0/amd64/binary/kernel/netbsd-GENERIC.gz, > and then extract it in /. > Am I right? Yes. > for modules... > Shall I fetch > ftp.NetBSD

Re: High latency for IPv6 on netbsd-8

2018-07-29 Thread Martin Husemann
In the not working case, wm0 has: inet6 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64 flags 0x0 inet6 2405:9800:b550:2939:8638:35ff:fe48:5720/128 flags 0x0 and it would be good to understand where the second comes from. Maybe add "-d" to dhcpcd_flags in /etc/rc.conf and see what it says? Martin

Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Sun, Jul 29, 2018 at 09:03:04PM +, Pedro Pinho wrote: > All these are my last attempts at shutting down my machine. > Please find the full log here, https://pastebin.com/PKEtRqWP Can you please give concrete commands that you invoke and explain the result? Nothing in that log looks wrong. I

Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Mon, Jul 30, 2018 at 10:39:35AM +0200, Pedro Pinho wrote: > All the following commands act like reboot: > sudo poweroff > sudo shutdown -p now > sudo halt -v > The machine closes down all running applications and apears to shutdown, > but immediately starts booting again, exactly like reboot. Ac

Re: Portable curses

2018-08-08 Thread Martin Husemann
On Wed, Aug 08, 2018 at 09:47:29AM +0930, Brett Lymn wrote: > ncurses is available in pkgsrc for those who need/desire it. I think you misunderstood: he asks for NetBSD curses being more easily packagable and used elsewhere (IIUC). Martin

Re: NetBSD block vs raw disk I/O

2018-08-11 Thread Martin Husemann
On Sat, Aug 11, 2018 at 04:02:44PM +0100, Sad Clouds wrote: > Hi, so you're saying that with ucb_direct read/write on mounted file > system should also speed things up compared to NetBSD-8? I see terrible > I/O performance with NetBSD running as a VM on a VirtualBox, just > reading/writing regular

Re: NetBSD disk I/O

2018-08-14 Thread Martin Husemann
On Tue, Aug 14, 2018 at 06:39:14PM +0100, Sad Clouds wrote: > Hello, in my case it's not just slow I/O, i.e. if they were both slow > on Linux and NetBSD VMs, then I would just accept it. However on the > same VirtualBox host, with the same VM settings, NetBSD I/O is very > slow, compared to Linux.

Re: Partition alignment for optimal disk I/O

2018-08-24 Thread Martin Husemann
On Fri, Aug 24, 2018 at 03:37:42PM -0500, J. Lewis Muir wrote: > Does the NetBSD installer take this into account when it creates the > default MBR partitions and BSD disklabel partitions, or do I need to > watch out and correct it? For example, I ran It does by default on larger disks (assuming

Re: Installing and Using NetBSD on 6 TB Drive

2018-08-29 Thread Martin Husemann
On Wed, Aug 29, 2018 at 08:47:48PM +0700, Robert Elz wrote: > Oh, one more thing, the chances that sysinst on NetBSD-8 (or for that matter, > any NetBSD) will do this setup and get it right are vanishingly slim... > (unfortunately) Not quite - if you have the GPT partitions setup, you can use the

Re: Recommended desktop environment?

2018-09-05 Thread Martin Husemann
On Wed, Sep 05, 2018 at 04:28:11PM +0100, Sad Clouds wrote: > Which hardware platform? If it's x86 then anything you can find in > pkgsrc will probably work. I tend to use xfce on x86, but on sparc64 it > had issues, so I used simple window manager like windowmaker. FWIW, I am typing this on a spa

Re: Why is TERM=vt100 on the console?

2018-09-13 Thread Martin Husemann
On Thu, Sep 13, 2018 at 12:47:59PM +0200, Benny Siegert wrote: > export TERM=wsvt25 > > makes a number of console applications display colors. > > Why is this not the default? It should be the default for newer installs, but it is not changed on updates. Martin

Re: Why is TERM=vt100 on the console?

2018-09-14 Thread Martin Husemann
On Fri, Sep 14, 2018 at 08:30:48AM +, [email protected] wrote: > Every time we have this discussion someone ends up saying that yes, > everything being terrible and not supporting anything modern is a great > default. they like it that way. I tried to fix it in 2012 (for PR 10127). Maybe at that

Re: Why is TERM=vt100 on the console?

2018-09-15 Thread Martin Husemann
On Fri, Sep 14, 2018 at 11:32:53PM +, Valery Ushakov wrote: > Or even better, change console to off and ttyE0, which is already set > to wsvt25, to on. This is the default e.g. on macppc (of the ports > that I use). Yes, that is what I'll make sysinst do (unless you installed serial console b

Re: BSD disklabel partition letters in NetBSD

2018-09-22 Thread Martin Husemann
It is actually quite simple (with a few twists, muahahah :-}): On many architectures there is a single reserved partition, in all cases I am aware of: "c". You can check with "sysctl kern.rawpartition", it is 3 on these architectures. Sparc64 and alpha are examples for this. Then there are arch

Re: sysinst(8), `Installing from an unmounted filesystem'

2018-10-10 Thread Martin Husemann
On Wed, Oct 10, 2018 at 06:58:59PM +0200, Rocky Hotas wrote: > Hi! > As regards > > http://www.netbsd.org/docs/guide/en/chap-exinst.html > > Items in Fig. 3.22 have changed in 8.0 installation. They are now: > > Device > File system > Base directory > Binary set directory > Source set directory

Re: sysinst(8), `Installing from an unmounted filesystem'

2018-10-10 Thread Martin Husemann
On Wed, Oct 10, 2018 at 07:54:39PM +0200, Rocky Hotas wrote: > > File system: /mnt > > ? Are you sure? Shouldn't file system be `ffs', `msdos', `ext2fs' or similar? > I've followed this setting and sysinst(8) tries > > exec mount_/mnt > > giving error. `mount_ffs' for example would work. Yep, y

Re: netbsd-8 build distribution error

2018-10-22 Thread Martin Husemann
On Mon, Oct 22, 2018 at 09:35:22AM +0200, Manuel Bouyer wrote: > On Sun, Oct 21, 2018 at 01:16:22PM -0700, Michael Cheponis wrote: > > Hi, it's great this is fixed. > > > > But, I do wonder: How is even possible to have something called "NetBSD > > mumble STABLE ..." not compile? Because, you kn

Re: sysinst(8) and 8 character limitation when adding a user

2018-10-30 Thread Martin Husemann
On Tue, Oct 30, 2018 at 12:05:37AM +0100, Rocky Hotas wrote: > this limitation was about older versions of the OS. If this is the case, > the `8 characters' string could be removed, or replaced with the current > (and longer) limitation. That would likely be: > sysctl kern.login_name_max so 17

Re: Interfacing webcam with NetBSD

2018-11-12 Thread Martin Husemann
On Mon, Nov 12, 2018 at 09:50:42PM +0530, Mayuresh wrote: > The subsystem lacks a puffs-style library that servers can be written > against. That does not make sense to me - just open the device? Martin

Re: Interfacing webcam with NetBSD

2018-11-12 Thread Martin Husemann
On Mon, Nov 12, 2018 at 06:23:11PM +0100, Michael van Elst wrote: > On Mon, Nov 12, 2018 at 05:45:48PM +0100, Martin Husemann wrote: > > On Mon, Nov 12, 2018 at 09:50:42PM +0530, Mayuresh wrote: > > > The subsystem lacks a puffs-style library that servers can be written

Re: How to boot in UEFI mode: practically no documentation

2018-05-29 Thread Martin Husemann
On Tue, May 29, 2018 at 08:15:43AM +, Thomas Mueller wrote: > Where do I find documentation on how to boot NetBSD amd64 or possibly i386 in > UEFI mode? I'm working on a wiki page (and will change the NetBSD 8.0 install docs to point to that). I can't answer how to boot into alternative oper

Re: is powerd supposed to work any more?

2018-12-17 Thread Martin Husemann
On Tue, Dec 18, 2018 at 07:46:43AM +1030, Brett Lymn wrote: > I haven't looked at powerd for a long time because suspend/resume didn't > work on my laptop but with some execllent work by some developers I now > have a laptop that suspensds and resumes correctly. Now I notice that > powerd doesn't

Re: how much percent of netbsd core is c89?

2018-12-25 Thread Martin Husemann
On Mon, Dec 24, 2018 at 05:06:13PM +, [email protected] wrote: > > For practical reasons we restrict c89 + extensions to building tools. > > what is intended by "tools"? This is the part that is needed for bootstrapping our cross build environment. Once "tools" are compiled, they are used to build

Re: Crash minecraft under NetBSD-8 amd64

2019-01-03 Thread Martin Husemann
On Thu, Jan 03, 2019 at 01:50:15PM +0100, Jose Luis Rodriguez Garcia wrote: > It seems to be: http://gnats.netbsd.org/48584 > > epoll in linux emulation isn't implemented. > > Does it continue to be the case? Yeah, that still seems to be the case > Any workaround for run minecraft in NetBSD? D

Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Sun, Jan 13, 2019 at 12:56:23PM +0100, Csányi Pál wrote: > Hi, > > I am running NetBSD 8.0 version. > > I just installed links and want to open > https://duckduckgo.com > > but links crached with this message: > Illegal instruction (core dump). Tell us a bit about your hardware, please, e.g.

Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:08:59AM +0100, Csányi Pál wrote: > I want to keep this NetBSD installation, but if I can upgrade to > netbsd-8 daily so so I can preserve all my settings from netbsd 8.0, > then I want to upgrade to netbsd-8 daily. Can I upgrade this way? Yes, the installer offers updati

Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:40:36AM +0100, Csányi Pál wrote: > All right, I want to upgrade My NetBSD 8.0 system to netbsd-8 daily. > > I am searching it to download, but not sure which one is it? > Is the following: > https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/i386/installation/cdrom/bo

Re: Links crashed when open a https site?

2019-01-13 Thread Martin Husemann
On Mon, Jan 14, 2019 at 08:52:57AM +0100, Martin Husemann wrote: > The "boot" one does not include installer bits, I would use this: > > https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/images/NetBSD-8.99.30-i386.iso > > if you have previously installed the i386 po

Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 09:16:19AM +0100, Csányi Pál wrote: > so what I want is the following: > > > > > http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/images/NetBSD-8.0_STABLE-i386.iso > > Right? Yes! Martin

Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 10:08:44AM +0100, Csányi Pál wrote: > I tried to download for upgrade by usinh HTTP but it can't find files > on ftp.NtetBSD.org address. > What is the correct URL for this? http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/latest/ Martin

Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 10:53:59AM +0100, Csányi Pál wrote: > Although, he stopped at this point: https://imgur.com/a/QDcvqVS > > What can I do to proceed? There are no postinstall issues that failed (or is that cut off the image)? Looks like everything is fine and you can just hit enter to conti

Re: Links crashed when open a https site?

2019-01-14 Thread Martin Husemann
On Mon, Jan 14, 2019 at 09:54:16PM +0700, Gua Chung Lim wrote: > * Csnyi Pl ([email protected]) wrote: > > When trying the ftp.NetBSD.org URL I get this error: > > ftp: Error retrieving file '404 Not Found' > Does STABLE branch have direct URL? > I don't think so. It has (see other messages in

Re: ZFS development questions

2019-01-15 Thread Martin Husemann
On Wed, Jan 16, 2019 at 01:07:59PM +0530, Jay Patel wrote: > better option is HammerFS from DragonflyBSD but may be in future i guess Is that usable nowadays? I had very bad experiences in its early time when I once installed a test DragonFly system to check some firefox issue. Any performance nu

Re: libstdc++.so.7 is missing

2019-01-16 Thread Martin Husemann
On Thu, Jan 17, 2019 at 07:03:33AM +0100, Pedro Pinho wrote: > Reply to myself and another problem. > Actually, there's no firefox package with version >52!? > Wonder if I should point my repo conf back to Q3? Does anyone know what > went wrong with the package build? Give us a hint: what architec

Re: libstdc++.so.7 is missing

2019-01-17 Thread Martin Husemann
On Thu, Jan 17, 2019 at 02:35:34PM +0100, Pedro Pinho wrote: > Nope, this was/is 8.0 from the start. And you did not have any pkgs pre-installed? The problem is that 8.0 had libstdc++.so.8.0, and nothing compiled for 8.0 should ever refer to libstdc++.so.7. So some pkg you got must have been comi

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 02:00:54PM +0300, Dima Veselov wrote: > Greetings! > > After some 8.0-STABLE upgrades all my NetBSD boxes have problem > with rc.d scripts. They are definitely working, but when script > have to wait for a process it contantly prints that: > > [root@almaz src]$ /etc/rc.d/p

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 03:17:57PM +0300, Dima Veselov wrote: > > The rc scripts use "sleep 0.05" but not all versions of sleep > > support non-integral values. > > I never replaced original one. The only replacement was done - > upgrading via build.sh distribution sets. Just checked cvsweb - > I

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 12:25:46PM +, Stephen Borrill wrote: > The sleep is coming form rc.subr, not the rc.d script itself: > > # We want this to be a tight loop for a fast exit > sleep 0.05 Ooops - overlooked that our sleep does handle it. Martin

  1   2   3   4   5   6   7   8   9   >