Re: failure to build Firefox 54

2017-07-18 Thread Gary Duzan
In Message <2b33a67e-722d-a6df-699f-a46735890...@libero.it>,
   Riccardo Mottola <riccardo.mott...@libero.it>wrote:

=>Hi,
=>
=>Gary Duzan wrote:
=>> =>Hi,
=>> =>
=>> =>building Firefox fails for me due to undefined symbol. Error below. this
=>> =>is on x86
=>> =>How is it for others?
=>>
=>> I'm on x86_64, but I get a similar symptom from xenkernel4[68].
=>> It looks like cwrappers is overriding -fno-stack-protection, leading to
=>> the errors.
=>
=>do you mean you get a similar error when building xenkernel?

   Yes.

=>I did a complete pkg_rolling-update today, but firefox still fails.
=>
=>Any other has this issue? workarounds?

   Yes, at least for xenkernel4[68]. Try adding PKGSRC_USE_SSP=no
to the package Makefile and rebuilding.

Gary Duzan


Re: failure to build Firefox 54

2017-07-13 Thread Gary Duzan
In Message <e49c94ad-af34-1a6f-73e1-e416ec3e3...@libero.it>,
   Riccardo Mottola <riccardo.mott...@libero.it>wrote:

=>Hi,
=>
=>building Firefox fails for me due to undefined symbol. Error below. this 
=>is on x86
=>How is it for others?

   I'm on x86_64, but I get a similar symptom from xenkernel4[68].
It looks like cwrappers is overriding -fno-stack-protection, leading to
the errors.

    Gary Duzan


=>Thanks - Riccardo
=>
=>
=>Executing: ../../../../.cwrapper/bin/c++ -std=gnu++11 -I/usr/pkg/include 
=>-I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss 
=>-I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
=>-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ffmpeg3 -Wall 
=>-Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual 
=>-Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code 
=>-Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized 
=>-Wno-error=deprecated-declarations -Wno-error=array-bounds -Wformat -O2 
=>-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include 
=>-I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include 
=>-I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 
=>-I/usr/pkg/include/ffmpeg3 -march=i586 -mstackrealign -fno-exceptions 
=>-fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno 
=>-pthread -pipe -I/usr/pkg/include -O2 -fomit-frame-pointer -fPIC -DPIC 
=>-shared -Wl,-soname,libmozsqlite3.so -o libmozsqlite3.so -lpthread 
=>-Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib 
=>-L/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 
=>-Wl,-R/usr/pkg/gcc49/lib/gcc/i486--netbsdelf/4.9.4 -L/usr/pkg/gcc49/lib 
=>-Wl,-R/usr/pkg/gcc49/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
=>-L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss 
=>-Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib 
=>-L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack 
=>-Wl,-z,text -Wl,--build-id 
=>-Wl,-rpath-link,/usr/pkgsrc/www/firefox/work/build/dist/bin 
=>-Wl,-rpath-link,/usr/pkg/lib 
=>/usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpdvYoWO.list 
=>-Wl,--version-script,libmozsqlite3.so.symbols
=>/usr/pkgsrc/www/firefox/work/build/config/external/sqlite/tmpdvYoWO.list:
=> INPUT("../../../db/sqlite3/src/sqlite3.o")
=>
=>../../../db/sqlite3/src/sqlite3.o: In function `putVarint64':
=>sqlite3.c:(.text+0x140f): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `remove_diacritic':
=>sqlite3.c:(.text+0x7547): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `readMasterJournal':
=>sqlite3.c:(.text+0xa79d): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `vdbePmaWriteVarint':
=>sqlite3.c:(.text+0xda65): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o: In function `readJournalHdr':
=>sqlite3.c:(.text+0xf161): undefined reference to `__stack_chk_fail_local'
=>../../../db/sqlite3/src/sqlite3.o:sqlite3.c:(.text+0x1637d): more 
=>undefined references to `__stack_chk_fail_local' follow
=>/usr/bin/ld: libmozsqlite3.so: hidden symbol `__stack_chk_fail_local' 
=>isn't defined
=>/usr/bin/ld: final link failed: Bad value
=>collect2: error: ld returned 1 exit status
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/rules.mk:804: recipe 
=>for target 'libmozsqlite3.so' failed
=>gmake[3]: *** [libmozsqlite3.so] Error 1
=>gmake[3]: Leaving directory 
=>'/usr/pkgsrc/www/firefox/work/build/config/external/sqlite'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/recurse.mk:71: recipe 
=>for target 'config/external/sqlite/target' failed
=>gmake[2]: *** [config/external/sqlite/target] Error 2
=>gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/recurse.mk:32: recipe 
=>for target 'compile' failed
=>gmake[1]: *** [compile] Error 2
=>gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
=>/usr/pkgsrc/www/firefox/work/firefox-54.0.1/config/rules.mk:525: recipe 
=>for target 'all' failed
=>gmake: *** [all] Error 2
=>*** Error code 2
=>
=>


Re: NetBSD 8.0-BETA hangs at boot at xHCI (so does netbsd-7)

2017-07-06 Thread Gary Duzan
In Message 

Re: Problem with httpd and openssl on NetBSD-7.1

2017-05-02 Thread Gary Duzan
In Message <10926.1493743...@secondfloor.xyz>,
   Christopher Pinon <cjpi...@secondfloor.xyz>wrote:

=>J. Lewis Muir <jlm...@imca-cat.org> wrote:
=>
=>> On 05/02, Christopher Pinon wrote:
=>> > By the way, another (easier) question about httpd: is there a way for
=>> > httpd to listen to both plain http (port 80) requests and https (port
=>> > 443) requests? (Like apache.) At the moment, as far as I can tell, it's
=>> > either or, depending on whether or not '-Z ...' is set.
=>> 
=>> I've not tried, but can't you just run two instances of it: one
=>> listening on port 80 and the other listening on port 443?
=>
=>Thanks, Lewis: indeed, this works. :-) I guess that I was focused on
=>doing this from /etc/rc.conf, but for no good reason, really. Am
=>beginning to warm up to httpd after a long time with apache!

   You still can use rc.conf, if you'd like. Copy /etc/rc.d/httpd
to /etc/rc.d/httpsd (or something like that), and tweak the copy
to have a different name, rcvar, and command_args. Then you can
specify httpsd=YES in /etc/rc.conf, along with other variables you
need for command_args.

Gary Duzan





pvmove

2017-02-28 Thread Gary Duzan
re: https://mail-index.netbsd.org/netbsd-users/2013/05/27/msg012890.html

   Did the pvmove target ever get included in the NetBSD LVM? I'm
on the netbsd-7 branch, and it doesn't seem to be working. If it
was added to -current I could try that out in a VM, but I would
like it on my desktop, and the xhci functionality in -current
doesn't agree with my system.

   Thanks.

Gary Duzan




Re: USB img NetBSD-7.0.1-amd64-install.img does not boot

2016-07-04 Thread Gary Duzan
In Message <20160704105315.GA1856@c720-r292778-amd64>,
   Matthias Apitz <g...@unixarea.de>wrote:

=>
=>
=>Hello,
=>
=>I'm a long time user of FreeBSD (since 1995) and run CURRENT on my
=>laptops and netbooks, all compiled from SVN. I only say this to
=>underline that I have certain experience with such stuff.
=>
=>I wanted to give NetBSD a try on my Acer C720 (aka Chromebook, but
=>switched to LegacyBoot mode) and fetched the USB image. I wrote it with
=>dd(1) to the USB key and it is there and even mountable in FreeBSD:
=>
=> [...]
=>
=>but it does not boot:
=>
=>Booting from Hard Disk ...
=>NetBSD MBR boot
=>Error Disk read error
=>Booting from Floppy
=>Boot failed: could not read the boot disk
=>
=>No bootable device.
=>
=>What could I have done wrong? Thanks

   I see that the C720 has both USB 2.0 and 3.0 ports. If you are
using the 3.0 port, try the 2.0 port. Unfortunately, NetBSD's USB
3.0 support is experimental at best.

   Good luck...

Gary Duzan




Re: NPF single NIC & NAT

2016-06-27 Thread Gary Duzan
In Message <loom.20160626t181533-...@post.gmane.org>,
   Ryan Brackenbury <ryan.brackenb...@gmail.com>wrote:

=>Hopefully someone can shed some light on what I'm doing wrong - and 
=>hopefully there is a way to do this that doesn't require a second NIC.

   I can't speak to the NPF issue, but you could try using a vlan interface
between your servers as a workaround.

/etc/ifconfig.vlan0:
create
vlan {vlan-id} vlanif ale0
inet 172.16.0.2
!route add -host 172.16.0.3 192.168.0.3

and something similar on the opposite end. I do something like this
at home, but inverted, putting external traffic on a vlan (via a
hardware switch) and routing it out on the native interface.

   Good luck.

    Gary Duzan




Re: Change default compat_linux path ?

2016-02-25 Thread Gary Duzan
In Message <dub112-w116b3c8a6fa58c3658711abd5...@phx.gbl>,
   Adrien Fernandes <adrien_fernand...@hotmail.com>wrote:

=>Hello,is it possible to change /emul/linux path ? I downloaded
=>by myself Arch Linux operating system and I put it in my home
=>directory (~/Linux) and I wish to be able to use binaries from
=>there. The fact is that if I move Arch Linux root to /emul/linux/,
=>I can use binaries but if I move it elsewhere, it won't work
=>anymore.I didn't install any emulators/suse package. I wished to
=>do it all by myself. Yes, I can still create a symlink but before,
=>I wish to know if it can be changed.
=>Adrien Fernandes

   It looks like it is hard-coded:

compat/linux/common/linux_exec.c: .e_path =   "/emul/linux",

NetBSD recognizes the executable as Linux and modifies the process
to look for executables under the e_path before looking under the
real root.

Gary Duzan




Re: How to install NetBSD on a USB stick

2016-02-13 Thread Gary Duzan
In Message <20160214054548.070dd115...@xen1.duzan.org>,
   "Gary Duzan" <g...@duzan.org>wrote:

=>In Message <20160214052012.ga...@internode.on.net>,
=>   Brett Lymn <bl...@internode.on.net>wrote:
=>
=>=>On Sun, Feb 14, 2016 at 08:34:37AM +0530, Mayuresh wrote:
=>=>
=>=>> - Will the end result be different with your method vs creating a live
=>=>>   image (as Gary's reply suggested)?
=>=>> 
=>=>
=>=>IIRC Gary pointed you at an install image which has a cut down set of
=>=>tools on it, just sufficient to install the operating system.  If you
=>=>are looking for a fully functioning NetBSD system then you don't want an
=>=>install image.
=>
=>   Not that it matters much at this point, since Mayuresh appears
=>to have managed a normal install to USB, but I had suggested building
=>a live-image, which appears to be pretty complete. From a -current
=>build in January:
=>
=># df -k /mnt
=>Filesystem1K-blocks   Used  Avail %Cap Mounted on
=>/dev/dk01416942 894948 451148  66% /mnt
=># ls -l /mnt/etc/mtree/
=>total 13400
=>-r--r--r--  1 root  wheel59623 Jan  3 01:40 NetBSD.dist
=>-r--r--r--  1 root  wheel   812361 Jan  3 01:56 set.base
=>-r--r--r--  1 root  wheel  2605531 Jan  3 01:56 set.comp
=>-r--r--r--  1 root  wheel44485 Jan  3 01:56 set.etc
=>-r--r--r--  1 root  wheel44126 Jan  3 01:56 set.games
=>-r--r--r--  1 root  wheel   840260 Jan  3 01:56 set.man
=>-r--r--r--  1 root  wheel98679 Jan  3 01:56 set.misc
=>-r--r--r--  1 root  wheel   104099 Jan  3 01:56 set.modules
=>-r--r--r--  1 root  wheel   416694 Jan  3 01:56 set.tests
=>-r--r--r--  1 root  wheel93113 Jan  3 01:57 set.text
=>-r--r--r--  1 root  wheel   213721 Jan  3 01:57 set.xbase
=>-r--r--r--  1 root  wheel   489084 Jan  3 01:57 set.xcomp
=>-r--r--r--  1 root  wheel11608 Jan  3 01:57 set.xetc
=>-r--r--r--  1 root  wheel   780017 Jan  3 01:57 set.xfont
=>-r--r--r--  1 root  wheel36002 Jan  3 01:57 set.xserver
=>-r--r--r--  1 root  wheel19264 Jan  3 01:40 special
=>
=>  Gary Duzan
=>
=>
=>p.s., Interestingly, it was a bit more difficult to mount the wd0
=>image than I expected. It has an MBR partition table, but the
=>disklabel on the vnd device I attached to it was garbage, with
=>partitions a-p all covering the whole disk. I had to use dkctl
=>addwedge with the offset and size from the fdisk to get a device
=>I could mount. This was on 7.0_STABLE from mid-December.

   Sorry, FWIW, this was actually an sd0 live-image.

Gary Duzan




Re: How to install NetBSD on a USB stick

2016-02-13 Thread Gary Duzan
In Message <20160214052012.ga...@internode.on.net>,
   Brett Lymn <bl...@internode.on.net>wrote:

=>On Sun, Feb 14, 2016 at 08:34:37AM +0530, Mayuresh wrote:
=>
=>> - Will the end result be different with your method vs creating a live
=>>   image (as Gary's reply suggested)?
=>> 
=>
=>IIRC Gary pointed you at an install image which has a cut down set of
=>tools on it, just sufficient to install the operating system.  If you
=>are looking for a fully functioning NetBSD system then you don't want an
=>install image.

   Not that it matters much at this point, since Mayuresh appears
to have managed a normal install to USB, but I had suggested building
a live-image, which appears to be pretty complete. From a -current
build in January:

# df -k /mnt
Filesystem1K-blocks   Used  Avail %Cap Mounted on
/dev/dk01416942 894948 451148  66% /mnt
# ls -l /mnt/etc/mtree/
total 13400
-r--r--r--  1 root  wheel59623 Jan  3 01:40 NetBSD.dist
-r--r--r--  1 root  wheel   812361 Jan  3 01:56 set.base
-r--r--r--  1 root  wheel  2605531 Jan  3 01:56 set.comp
-r--r--r--  1 root  wheel44485 Jan  3 01:56 set.etc
-r--r--r--  1 root  wheel44126 Jan  3 01:56 set.games
-r--r--r--  1 root  wheel   840260 Jan  3 01:56 set.man
-r--r--r--  1 root  wheel98679 Jan  3 01:56 set.misc
-r--r--r--  1 root  wheel   104099 Jan  3 01:56 set.modules
-r--r--r--  1 root  wheel   416694 Jan  3 01:56 set.tests
-r--r--r--  1 root  wheel93113 Jan  3 01:57 set.text
-r--r--r--  1 root  wheel   213721 Jan  3 01:57 set.xbase
-r--r--r--  1 root  wheel   489084 Jan  3 01:57 set.xcomp
-r--r--r--  1 root  wheel11608 Jan  3 01:57 set.xetc
-r--r--r--  1 root  wheel   780017 Jan  3 01:57 set.xfont
-r--r--r--  1 root  wheel36002 Jan  3 01:57 set.xserver
-r--r--r--  1 root  wheel19264 Jan  3 01:40 special

Gary Duzan


p.s., Interestingly, it was a bit more difficult to mount the wd0
image than I expected. It has an MBR partition table, but the
disklabel on the vnd device I attached to it was garbage, with
partitions a-p all covering the whole disk. I had to use dkctl
addwedge with the offset and size from the fdisk to get a device
I could mount. This was on 7.0_STABLE from mid-December.


Re: cvs update hangs 'amd' in tstile when 'firefox' is running

2016-02-12 Thread Gary Duzan
In Message <pine.neb.4.64.1602112120290.1...@david.technoskunk.fur>,
   "John D. Baker" <jdba...@mylinuxisp.com>wrote:

=>On Fri, 12 Feb 2016 03:08:04 + (UTC), chris...@astron.com (Christos
=>Zoulas) wrote:
=>
=>> Ok, do a cvs update (which is what triggers it), wait a bit and then
=>> do the unmount.
=>
=>I'm not quite sure about to what you refer.  On a non-stuck client,
=>during 'cvs update' on the NFS server or even arbitrarily long afterward,
=>one can umount/mount an NFS filesystem at will.  If the mount point is
=>the PWD or otherwise in use, the umount attempt returns "Device busy".
=>
=>Even on a quiescent 'amd'-managed NFS mount, access to files on that
=>mount during or slightly after a 'cvs update' on the file server will
=>succeed, albeit with some disconcerting delay--as long as 'firefox'
=>isn't running.
=>
=>Pondering other scenarios that could trigger the behavior.  Something
=>with a file open on the 'amd'-managed mount during 'cvs update' on the
=>server?  The directory is already open as PWD in the shell.  Something
=>that writes to a file?  I have another client on which I was editing an
=>email during 'cvs update' and it survived (albeit with the aforementioned
=>delay).

   Just a random thought: maybe mmap a file on the mount? If just
the mmap doesn't do it, dirty at least one page and see if that
does.

Gary Duzan




Re: Support for Intel P3500 PCIe SSD drive

2016-01-28 Thread Gary Duzan
In Message <alpine.neb.2.11.1601281556410.26...@m83.parsec.com>,
   Swift Griggs <swiftgri...@gmail.com>wrote:

=>On Thu, 28 Jan 2016, Derrick Lobo wrote:
=>> Trying this new toy and would to have support for it.. vendor 0x8086 
=>> product 0x0953 (Flash mass storage, interface 0x02, revision 0x01) at 
=>> pci1 dev 0 function 0 not configured
=>
=>Personally, I've never seen these PCIe adapters work unless they implement 
=>a standard SATA controller (and most don't). I know for certain-sure that 
=>the OCZ Revo series will NOT work. Sorry I can't be more helpful.

   Looks like that's an NVMe SSD, which requires an NVMe driver,
and I don't believe NetBSD has added one yet. It looks like -current
has the PCI id, but that's about it.

    Gary Duzan




Re: (tutorial) How to use PulseAudio on NetBSD

2015-11-18 Thread Gary Duzan
In Message <20151118T202054Z@localhost>,
   Izaac <iz...@setec.org>wrote:

=>On Wed, Nov 18, 2015 at 05:04:20PM +0100, Adrien Fernandes wrote:
=>> Since Mozilla stopped support of OSS, NetBSD users have no sound on
=>> Firefox anymore so here is one the way to get back sound on Internet,
=>> very easy.
=>
=>For your next trick, can you figure out how to get audio for
=>adobe-flash-plugin11 working?  Because that business about a tmpfs on
=>/emul/linux/dev/shm doesn't do it.

   I had adobe-flash-plugin11 working ok until I recently upgraded
to 7.0_STABLE from 7.0_RC3. Initially flash wasn't working at all
(with firefox38 or firefox). A pkg_rolling-replace on a freshly updated
pkgsrc got it mostly working again, but the audio has intermittent
static, at least with YouTube, and Facebook videos aren't working.

   FWIW, I have the following in my /etc/fstab:

procfs  /usr/pkg/emul/linux/procprocfs rw,linux
procfs  /usr/pkg/emul/linux32/proc  procfs rw,linux
tmpfs   /usr/pkg/emul/linux/dev/shm tmpfs   rw,-m1777
tmpfs   /usr/pkg/emul/linux32/dev/shm   tmpfs   rw,-m1777

    Gary Duzan




Re: 7.0_RC2 pkg_summary.gz not found

2015-08-01 Thread Gary Duzan
In Message can+fjhmzcrvvdop-ttnk5dweuhchwhw8kq52lazcv2wbu2q...@mail.gmail.com,
   Benny Siegert bsieg...@gmail.comwrote:

=On Sat, Aug 1, 2015 at 1:14 AM, ron georgia rong1...@gmail.com wrote:
= my /usr/pkg/etc/pkgin/repositories.conf.
= ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.0/All
=
=You should be able to substitute 6.0 for 7.0 and get working packages.

   7.0 should be fine, though. Maybe try http: instead of ftp:?

Gary Duzan




Re: dhcpcd / IPv6 question

2015-04-07 Thread Gary Duzan
In Message pine.neb.4.64.1504080912040.22...@vps1.whooppee.com,
   Paul Goyette p...@vps1.whooppee.comwrote:

=OK, then off to plan B - let's see if I can get a tunnel broker to work 
=with my dynamic IP address.  (Fixed/Static IP not available here in the 
=Philippines for residential service, as far as I can tell.)  (If that 
=doesn't work, I'll just disable IPv6...)
=
=Anyone got suggestions for a simple tunnel set-up?

   With tunnelbroker.net (Hurricane Electric, which has PoPs in
Hong Kong and Singapore) I use the following /etc/ifconfig.gif0
file:

create
tunnel a.b.c.d w.x.y.z
inet6 2001:feed:dead:beef::2 2001:feed:dead:beef::1 prefixlen 128
!route add -inet6 default ::1
!route change -inet6 default -ifp $int

where a.b.c.d is your local IPv4 address, w.x.y.z is the tunnel
endpoint IPv4 address, 2001:feed:dead:beef::2 is your local IPv6
address, and 2001:feed:dead:beef::1 is the IPv6 address of the
other end of the tunnel.

Gary Duzan





Re: dhcpcd / IPv6 question

2015-04-07 Thread Gary Duzan
In Message pine.neb.4.64.1504080833110.24...@vps1.whooppee.com,
   Paul Goyette p...@vps1.whooppee.comwrote:

=I'm finally getting my NetBSD environment reestablished, and am running 
=into a little problem.  I started dhcpcd from /etc/rc.d without any 
=special options, and this is what I get in /var/run/rc.log
=
=...
=[running /etc/rc.d/dhcpcd]
=Starting dhcpcd.
=DUID 00:01:00:01:1c:b2:4c:b2:78:24:af:3d:64:10
=re0: IAID af:3d:64:10
=re0: rebinding lease of 192.168.1.7
=re0: soliciting an IPv6 router
=re0: Router Advertisement from fe80::1a1e:78ff:fe97:11ad
=re0: requesting DHCPv6 information
=re0: leased 192.168.1.7 for 86400 seconds
=re0: adding route to 192.168.1.0/24
=re0: adding default route via 192.168.1.1
=forked to background, child pid 412
=...
=
=It appears that I got a RouterAdvert from somewhere, but never got any 
=IPv6 routing information.  My IPv6 route table looks like this:
=
=
=Destination   Gateway   Flags Refs UseMtu 
=Interface
=::/104::1   UGRS -   -  33648  lo0
=::/96 ::1   UGRS -   -  33648  lo0
=::1   ::1   UH   -   -  33648  lo0
=::127.0.0.0/104   ::1   UGRS -   -  33648  lo0
=::224.0.0.0/100   ::1   UGRS -   -  33648  lo0
=::255.0.0.0/104   ::1   UGRS -   -  33648  lo0
=:::0.0.0.0/96 ::1   UGRS -   -  33648  lo0
=2001:db8::/32 ::1   UGRS -   -  33648  lo0
=2002::/24 ::1   UGRS -   -  33648  lo0
=2002:7f00::/24::1   UGRS -   -  33648  lo0
=2002:e000::/20::1   UGRS -   -  33648  lo0
=2002:ff00::/24::1   UGRS -   -  33648  lo0
=fe80::/10 ::1   UGRS -   -  33648  lo0
=fe80::%re0/64 link#1UC   -   -  -  re0
=fe80::7a24:afff:fe3d:6410 78:24:af:3d:64:10 UHLl -   -  -  lo0
=fe80::%lo0/64 fe80::1   U-   -  -  lo0
=fe80::1   fe80::1   UHl  -   -  -  lo0
=ff01:1::/32   link#1UC   -   -  -  re0
=ff01:2::/32   ::1   UC   -   -  33648  lo0
=ff02::%re0/32 link#1UC   -   -  -  re0
=ff02::%lo0/32 ::1   UC   -   -  33648  lo0
=
=
=I have no idea where the 2001:... and 2002:...entries came from...

   Those are standard routes; I have those, too.

=Any clue on how to get a valid IPv6 default route?

   I don't think you have a real IPv6 address yet. ifconfig re0
will most likely show a fe80::7a24:afff:fe3d:6410%re0 link local
address, which is generated from your MAC, but nothing else. It
looks like your router is IPv6 capable, but isn't actually providing
IPv6 service.

Gary Duzan




Re: py-usb problems

2015-02-18 Thread Gary Duzan
In Message 54e5210d.6030...@anduin.org.uk,
   Dave Tyson dty...@anduin.org.ukwrote:

=On 02/18/15 19:05, Jonathan A. Kollasch wrote:
= On Wed, Feb 18, 2015 at 05:58:22PM +, Dave Tyson wrote:
= recent pkgsrc. /dev/usb* is readable/writeable by all
= What about /dev/ugen*.*?  Any ugen devices in dmesg?
=
=Forgot to add that /dev/uhid0-/dev/uhid18 as also
=read-write all.

   ktrace showed that ioctl(,USB_DEVICEINFO,) is returning devices,
but a debug vesion of PyUSB shows that the usb_device::devices
pointer is coming back null, which points to a libusb problem. A
debug version of libusb shows that bsd.c:usb_os_find_devices() is
skipping anything that isn't ugen, so any USB devices you have
drivers for won't show up.

   Not terribly helpful, but there it is.

Gary Duzan




Re: After device resize in DOM-0, DOM-U disklabel unchanged

2014-10-12 Thread Gary Duzan
In Message 543aeeda.6070...@zabrico.com,
   Louis Guillaume lo...@zabrico.comwrote:

=DOM-U
=
=# dmesg | grep xbd0
=xbd0 at xenbus0 id 1: Xen Virtual Block Device Interface
=xbd0: using event channel 6
=xbd0: 32768 MB, 512 bytes/sect x 67108864 sectors
=boot device: xbd0
=root on xbd0a dumps on xbd0b
=
=# disklabel xbd0 | egrep (total sectors| d:)
=total sectors: 33554432
=  d:  33554432  0 unused  0 0  # (Cyl.  0 -  16383)
=
=
=
=How do I get disklabel to know about the new device info?

   I expect you could simply fix it using disklabel -e in the
DOMU.

Gary Duzan



Re: xentools42 compilation error

2014-08-24 Thread Gary Duzan
In Message 20140825021651.GA24538@odin,
   Mayuresh mayur...@acm.orgwrote:

=menu=Boot Xen:load /netbsd.XEN3PAE_DOM0 console=pc; multiboot
=/usr/pkg/xen41-kernel/xen-debug.gz dom0_mem=3000M root=sd0a dump=sd0i
=
=Also tried /dev/sd0a in place of sd0a. Didn't work.
=
=I am using xen 4.1 as I faced compilation error for 4.2. Is root= a later
=feature? man page on my system doesn't show root=.

   Try putting bootdev=sd0 after console=pc. See the boot(8) man page,
and the load command section.

Gary Duzan




Re: ixg(4) performances

2014-07-01 Thread Gary Duzan
In Message 1lo4dze.1ihmarucmavkvm%m...@netbsd.org,
   m...@netbsd.org (Emmanuel Dreyfus)wrote:

=Hisashi T Fujinaka ht...@twofifty.com wrote:
=
=  No, this was a file copy over NFS.
= Step one, don't use NFS.
=
=What should I use instead?

   Regardless of alternatives to NFS, it seems to me that the first
thing to do is isolate the interface performance from the NFS
performance. If you can use ttcp or something similar to measure
the TCP/UDP performance over the same link, that should help
determine whether it is an NFS-specific problem or a more general
networking problem.

Gary Duzan




Re: LD_PRELOAD and mixed architectures

2014-06-22 Thread Gary Duzan
In Message 53a6f6d7.5040...@grammatech.com,
   Dave Vitek dvi...@grammatech.comwrote:

=Hi all,
=
=I'm on an amd64 machine that has a mixture of i386 and amd64 binaries 
=present.  I want to build a shared object file and use LD_PRELOAD to 
=inject it into every process in some process tree. The executables in 
=the tree could be a mixture of amd64 and i386 executables.  Many other 
=operating systems have a way of using LD_PRELOAD in a mixed architecture 
=environment, but I'm not seeing a path to victory on netbsd.
=
=I had a look at the source code for ld.so (the elf one anyway).  It 
=doesn't search search LD_LIBRARY_PATH -- it just tries to open() the 
=filename in LD_PRELOAD relative to CWD and blows up if the architecture 
=doesn't match the process.  Other operating systems facilitate this sort 
=of thing in various ways:
=
=Solaris: LD_PRELOAD_32 and LD_PRELOAD_64
=Linux: Search LD_LIBRARY_PATH, only fail if every attempt fails. Also, 
=$LIB is magical.
=Mac OS X: Universal binaries
=
=One (ugly) thought I had is to have the shared object file hook every 
=function in the exec family and fix LD_PRELOAD so it points at the 
=architecture of the binary about to be exec'd before delegating to the 
=real exec.  Anyone have a less ugly alternative that doesn't require 
=modifying system files (e.g., adjusting ld.so)?

   Just a thought, but have you tried putting a 32-bit version of
the library under /emul/netbsd32 ?

Gary Duzan




Re: [RAIDframe] system hangs while manipulating large files

2014-01-03 Thread Gary Duzan
In Message alpine.neb.2.00.1401032034540.15...@korriban.imil.net,
   Emile `iMil' Heitor i...@home.imil.netwrote:

=
= asynchronous + log should be impossible.
=
=I've just discovered that the hard way :)

   FWIW, it is documented in mount(8):


 log (FFS only) Mount the file system with wapbl(4) meta-
 data journaling, also known simply as logging.  It
 provides rapid metadata updates and eliminates the
 need to check file system consistency after a system
 outage.  A file system mounted with log can not be
 mounted with async.  [...]


Gary Duzan




flactag core in realpath(), PR#46618 Pullup?

2013-04-17 Thread Gary Duzan
   Is there any chance this fix will be pulled up to the netbsd-6 branch?

http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46618

I'm on 6.1_RC3 and had to hack a patch into pkgsrc to get flactag to work.

   Thanks.

Gary Duzan