Re: pkg problem on FreeBSD 13.0-CURRENT

2018-10-25 Thread Per Gunnarsson
I rebuilt pkg from ports and it seems to work now. When I think about it
there was a note in UPDATING that I maybe should have read.

20181009:
    OpenSSL has been updated to version 1.1.1.  This update included
    additional various API changes througout the base system.  It is
    important to rebuild third-party software after upgrading.  The
value
    of __FreeBSD_version has been bumped accordingly.

On 10/25/18 6:29 PM, Pieper, Jeffrey E wrote:
> I'm seeing:
>
> Installing pkg-1.10.5_5...
> Extracting pkg-1.10.5_5: 100%
> ld-elf.so.1: Shared object "libssl.so.9" not found, required by "pkg"
>
> Thanks,
> Jeff
>
> On 10/25/18, 9:18 AM, "owner-freebsd-curr...@freebsd.org on behalf of Kurt 
> Jaeger"  
> wrote:
>
> Hi!
> 
> > On 10/25/18 5:19 PM, Sean Bruno wrote:
> > > pkg-static install -f pkg
> > 
> > It works better now, but there are some complaints.
> 
> If it's only the certificate issue, try this:
> 
> cd /usr/local/etc
> cp pkg.conf.sample pkg.conf
> vi pkg.conf
> -
> PKG_ENV : {
> SSL_NO_VERIFY_PEER: 1
> }
> -
> 
> -- 
> p...@freebsd.org +49 171 3101372  2 years to go !
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 
>

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: pkg problem on FreeBSD 13.0-CURRENT

2018-10-25 Thread Per Gunnarsson


On 10/25/18 5:19 PM, Sean Bruno wrote:
> pkg-static install -f pkg

It works better now, but there are some complaints.


root@konjak:/usr # pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected.  Running
"pkg-static install -f pkg" recommended
Updating FreeBSD repository catalogue...
pkg-static: Repository FreeBSD load error: access repo
file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01   
pkg-static: error reading public key:
error::lib(0):func(0):reason(0)
pkg-static: No trusted certificate has been used to sign the repository
repository FreeBSD has no meta file, using default settings
Fetching packagesite.txz: 100%    6 MiB   2.2MB/s    00:03   
pkg-static: error reading public key:
error::lib(0):func(0):reason(0)
pkg-static: No trusted certificate has been used to sign the repository
Unable to update repository FreeBSD
Error updating repositories!



signature.asc
Description: OpenPGP digital signature


pkg problem on FreeBSD 13.0-CURRENT

2018-10-25 Thread Per Gunnarsson
FreeBSD konjak 13.0-CURRENT FreeBSD 13.0-CURRENT r339705 GENERIC  amd64

pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected.  Running
"pkg-static install -f pkg" recommended
Updating FreeBSD repository catalogue...
pkg-static: Repository FreeBSD load error: access repo
file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
pkg-static: http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/meta.txz: Not
Found
repository FreeBSD has no meta file, using default settings
pkg-static:
http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD
Error updating repositories!

Regards,

Per Gunnarsson

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Fatal trap 12 when booting with fuse in /boot/loader.conf

2018-08-22 Thread Per Gunnarsson
Sorry for possibly mentioning this twice.

FreeBSD konjak 12.0-ALPHA2 FreeBSD 12.0-ALPHA2 #0 r338177: Wed Aug 22
08:46:40 CEST 2018
root@konjak:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

/usr/src Revision: 338177

/usr/ports Revision: 43

When I try to boot with the fuse module in /boot/loader.conf I get
something like this:

Fatal trap 12:

...

fault virtual address = 0xcd
instruction pointer = 0x20:0x80eec062
stack pointer = 0x20:0x8420e580
frame pointer = 0x20:0x8420e670

...

Then there is a prompt:
db>

or something, but it doesn't respond to keyboard input and I have to reboot.

Somehow I managed to unload all modules from the boot prompt and reboot.
After that, I rebooted without the fuse module in /boot/loader.conf and
things work fine.

I have tried to boot again with fuse in /boot/loader.conf, and the first
boot I get to a mountroot
prompt which I am now reading up on.

Maybe this is the same as Michael Gmelin is working on.

Regards,

Per Gunnarsson

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


dmesg output I don't understand

2018-08-22 Thread Per Gunnarsson
Hello!

What do these lines in my dmesg mean?

I am on amd64.

/usr/src Revision: 338177

/usr/ports Revision: 43

P.S

I got Fatal trap 12 with this revision after installing several fusefs
modules from ports.

After removing fuse from my loader.conf, things booted again.

Regards,

Per Gunnarsson

lock order reversal:
 1st 0xfee82d80 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3916
 2nd 0xf80005787000 dirhash (dirhash) @
/usr/src/sys/ufs/ufs/ufs_dirhash.c:289
stack backtrace:
#0 0x80c02573 at witness_debugger+0x73
#1 0x80c023f4 at witness_checkorder+0xe34
#2 0x80b9fe68 at _sx_xlock+0x68
#3 0x80ec518d at ufsdirhash_add+0x3d
#4 0x80ec805f at ufs_direnter+0x49f
#5 0x80ed04f9 at ufs_mkdir+0x8b9
#6 0x81201479 at VOP_MKDIR_APV+0xd9
#7 0x80c7d5aa at kern_mkdirat+0x1ca
#8 0x8107ea21 at amd64_syscall+0x281
#9 0x81058d3d at fast_syscall_common+0x101
Security policy loaded: MAC/ntpd (mac_ntpd)
acquiring duplicate lock of same type: "os.lock_mtx"
 1st os.lock_mtx @ nvidia_os.c:886
 2nd os.lock_mtx @ nvidia_os.c:886
stack backtrace:
#0 0x80c02573 at witness_debugger+0x73
#1 0x80c023f4 at witness_checkorder+0xe34
#2 0x80b74cac at __mtx_lock_flags+0x9c
#3 0x82f9ad8b at os_acquire_spinlock+0x1b
#4 0x82e91adc at _nv032251rm+0xc
lock order reversal:
 1st 0xf8003033e068 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2590
 2nd 0xfe0001a84200 bufwait (bufwait) @
/usr/src/sys/ufs/ffs/ffs_vnops.c:282
 3rd 0xf80030340d88 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2590
stack backtrace:
#0 0x80c02573 at witness_debugger+0x73
#1 0x80c023f4 at witness_checkorder+0xe34
#2 0x80b6a2db at lockmgr_xlock_hard+0x6b
#3 0x80b6ace5 at __lockmgr_args+0x545
#4 0x80ebfe25 at ffs_lock+0xa5
#5 0x81201ef9 at VOP_LOCK1_APV+0xd9
#6 0x80c803e6 at _vn_lock+0x66
#7 0x80c6eccf at vget+0x7f
#8 0x80c60eb1 at vfs_hash_get+0xd1
#9 0x80ebb69f at ffs_vgetf+0x3f
#10 0x80eb10ed at softdep_sync_buf+0x5dd
#11 0x80ec0c04 at ffs_syncvnode+0x294
#12 0x80eb0308 at softdep_fsync+0x4c8
#13 0x80ebfcfc at ffs_fsync+0x7c
#14 0x81200e69 at VOP_FSYNC_APV+0xd9
#15 0x80c7cdd4 at kern_fsync+0x194
#16 0x8107ea21 at amd64_syscall+0x281
#17 0x81058d3d at fast_syscall_common+0x101
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Revision: 329797 kernel build problem

2018-02-22 Thread Per Gunnarsson
own-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value
-Wno-error-address-of-packed-member?? -mno-aes -mno-avx??
-std=iso9899:1999 -c /usr/src/sys/compat/linux/linux_fork.c -o linux_fork.o
--- all_subdir_linux ---
*** [linux32_dummy.o] Error code 1

Regards,

Per Gunnarsson

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Kernel build error rev.328485

2018-01-27 Thread Per Gunnarsson
I am back with new build errors. If I post too frequently, please inform me.

/usr/src/sys/compat/freebsd32/freebsd32_misc.c:122:1: error:
static_assert failed "compile-time assertion failed"
CTASSERT(sizeof(struct kevent32) == 20);
^    ~
/usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
    ^  ~
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:126:1: error:
static_assert failed "compile-time assertion failed"
CTASSERT(sizeof(struct stat32) == 96);
^    ~~~
/usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
    ^  ~
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:612:24: error: no member
named 'data' in 'struct kevent32'
    CP(kevp[i], ks32[i], data);
    ~^
/usr/src/sys/compat/freebsd32/freebsd32.h:41:36: note: expanded from
macro 'CP'
#define CP(src,dst,fld) do { (dst).fld = (src).fld; } while (0)
 ~ ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:644:24: error: no member
named 'data' in 'struct kevent32'
    CP(ks32[i], kevp[i], data);
    ~^
/usr/src/sys/compat/freebsd32/freebsd32.h:41:48: note: expanded from
macro 'CP'
#define CP(src,dst,fld) do { (dst).fld = (src).fld; } while (0)
 ~ ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: error:
declaration of 'struct freebsd32_stat_args' will not be visible outside
of this function [-Werror,-Wvisibility]
freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)
 ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1744:42: error:
incomplete definition of type 'struct freebsd32_stat_args'
    error = kern_statat(td, 0, AT_FDCWD, uap->path, UIO_USERSPACE,
 ~~~^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: note: forward
declaration of 'struct freebsd32_stat_args'
freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)
 ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1749:28: error:
incomplete definition of type 'struct freebsd32_stat_args'
    error = copyout(, uap->ub, sizeof (sb32));
   ~~~^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:42: note: forward
declaration of 'struct freebsd32_stat_args'
freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)
 ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1738:1: error: no
previous prototype for function 'freebsd32_stat'
[-Werror,-Wmissing-prototypes]
freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap)
^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: error:
declaration of 'struct freebsd32_lstat_args' will not be visible outside
of this function [-Werror,-Wvisibility]
freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)
  ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1826:60: error:
incomplete definition of type 'struct freebsd32_lstat_args'
    error = kern_statat(td, AT_SYMLINK_NOFOLLOW, AT_FDCWD, uap->path,
   ~~~^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: note: forward
declaration of 'struct freebsd32_lstat_args'
freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)
  ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1831:28: error:
incomplete definition of type 'struct freebsd32_lstat_args'
    error = copyout(, uap->ub, sizeof (sb32));
   ~~~^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:43: note: forward
declaration of 'struct freebsd32_lstat_args'
freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)
  ^
/usr/src/sys/compat/freebsd32/freebsd32_misc.c:1820:1: error: no
previous prototype for function 'freebsd32_lstat'
[-Werror,-Wmissing-prototypes]
freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap)
^
12 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

Regards,

Per Gunnarsson

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Kernel build error

2018-01-27 Thread Per Gunnarsson
Hello!

I am trying to build the kernel with revision 328463.

It halts with this error:

/usr/src/sys/cam/scsi/scsi_da.c:1514:9: error: 'CAM_PERIPH_PRINT' macro
redefined [-Werror,-Wmacro-redefined]
#define CAM_PERIPH_PRINT(p, msg, args...)
    ^
/usr/src/sys/cam/cam_periph.h:263:9: note: previous definition is here
#define CAM_PERIPH_PRINT(p, msg, args...)   \
    ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

Regards,

Per Gunnarsson

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"