Re: Userland PPP on ADSL

2018-05-13 Thread O'Connor, Daniel


> On 8 May 2018, at 22:33, Eugene Grosbein  wrote:
>> Does anyone have any suggestions where to start looking? It would be nice if 
>> the base tool worked properly for what I feel is a not uncommon scenario :)
> 
> You have not specified FreeBSD version you use.

Oops, sorry - it's 11.1p7.

Although I am pretty sure I saw it all the way back at 9.x when I switched a 
number of systems over to mpd5.

> First, you should check if the ppp process is waiting on some system call 
> when it's hung.
> Use ps -l or procstat to check it. And you should enable verbose logs in 
> ppp.conf.

Good idea, I need to re-set a system back to PPP to test and break it when 
there isn't someone around to complain about it which might take a while :(

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

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


bug 224498(ls -lh does not display properly around 1MB, 1GB, ...) in 11.2-BETA1

2018-05-13 Thread Masachika ISHIZUKA
Hi.

Thank you for providing 11.2-BETA1.
I was freebsd-updated from 11.1-RELEASE-p10.
11.2-BETA1 has issue 'bug 224498'.
-- 
Masachika ISHIZUKA
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


lagg0 with ue0 and iwm0 is not operate on 11.2-BETA1

2018-05-13 Thread Masachika ISHIZUKA
Hi.

I'm using lagg0 with ue0(if_axge.ko) and iwm0(if_iwm.ko) as follows.

% cat /etc/rc.conf
ifconfig_ue0="ether xx:xx:xx:xx:xx:xx up"
wlans_iwm0="wlan0"
create_args_wlan0="country JP"
ifconfig_wlan0="wpa"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport ue0 laggport wlan0 192.168.x.x 
netmask x.x.x.x"

It is good working on 12-current, but 11.2-BETA1 is not working.

It can work ue0 or wlan0 alone on 11.2-BETA1, i.e.
ifconfig_lagg0="laggproto failover laggport ue0 192.168.x.x netmask x.x.x.x"
or
ifconfig_lagg0="laggproto failover laggport wlan0 192.168.x.x netmask x.x.x.x"
is working.

===

I have another machine and that is operate lagg0 with re0 and ath0
on 11.2-BETA1, but it has trouble. It is bood working with re0 and
good working with failovered ath0, but not working when I switched
back re0. It can be recovered by 'ifconfig re0 down' and 'ifconfig re0 up'.
It is the same as on 12-current.

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


Upgrade to 11.2-BETA1: vboxdrv kernel modulo load leads to panic unless vbox ports be rebuilt

2018-05-13 Thread Jose G. Juanino
Hi FreeBSD stable,

I have upgraded from 11.1 to 11.2-BETA1 right now. I use Virtualbox to
run Windows 7 from the FreeBSD box, and just after to complete the
upgrade and reboot, the system panics just after to load kernel module
vboxdrv.

The workaround is rebuild both emulators/virtualbox-ose and
emulators/virtualbox-ose-kmod ports from within 11.2-BETA1, and
after that everything works nicely as before the upgrade. I hope this
help other people suffering a similar issue. Best regards.


-- 
José G. Juanino
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


11.1-RELEASE-p10 cannot compile freebsd stable/11 kernel?

2018-05-13 Thread Mike Karels
I attempted a kernel compile from stable/11, as a freebsd-update didn't
seem to update /usr/src/sys, and I'm running a custom kernel.  I get
compile errors like this:

../../../amd64/amd64/support.S:829:2: error: unknown directive
 .altmacro
 ^
:1:13: error: invalid register name
handle_ibrs_%(ll):
^~
:3:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
:2:2: note: while in macro instantiation
 .rept 32
 ^
../../../amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
:1:13: error: invalid register name
handle_ibrs_%(ll):
^~
:8:2: note: while in macro instantiation
 ibrs_seq_label %(ll)
 ^
:2:2: note: while in macro instantiation
 .rept 32
 ^
../../../amd64/amd64/support.S:858:2: note: while in macro instantiation
 ibrs_seq 32
 ^
:1:13: error: invalid register name
handle_ibrs_%(ll):
(and this continues)

I had just run freebsd-update:

pughole# freebsd-version
11.1-RELEASE-p10


pughole# cc --version
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 
4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin

I know that clang has been updated a lot; has the kernel source gotten
ahead of clang on stable/11?

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


Re: lagg0 with ue0 and iwm0 is not operate on 11.2-BETA1

2018-05-13 Thread Zeus Panchenko

isn't it the same lasting bug/feature?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213207

Masachika ISHIZUKA  wrote:

> Hi.
> 
> I'm using lagg0 with ue0(if_axge.ko) and iwm0(if_iwm.ko) as follows.
> 
> % cat /etc/rc.conf
> ifconfig_ue0="ether xx:xx:xx:xx:xx:xx up"
> wlans_iwm0="wlan0"
> create_args_wlan0="country JP"
> ifconfig_wlan0="wpa"
> cloned_interfaces="lagg0"
> ifconfig_lagg0="laggproto failover laggport ue0 laggport wlan0 192.168.x.x 
> netmask x.x.x.x"
> 
> It is good working on 12-current, but 11.2-BETA1 is not working.
> 
> It can work ue0 or wlan0 alone on 11.2-BETA1, i.e.
> ifconfig_lagg0="laggproto failover laggport ue0 192.168.x.x netmask x.x.x.x"
> or
> ifconfig_lagg0="laggproto failover laggport wlan0 192.168.x.x netmask x.x.x.x"
> is working.
> 
> ===
> 
> I have another machine and that is operate lagg0 with re0 and ath0
> on 11.2-BETA1, but it has trouble. It is bood working with re0 and
> good working with failovered ath0, but not working when I switched
> back re0. It can be recovered by 'ifconfig re0 down' and 'ifconfig re0 up'.
> It is the same as on 12-current.
> 
> -- 
> Masachika ISHIZUKA
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

-- 
Zeus V. Panchenko   jid:z...@im.ibs.dn.ua
IT Dpt., I.B.S. LLC   GMT+2 (EET)


signature.asc
Description: PGP signature


Re: 11.1-RELEASE-p10 cannot compile freebsd stable/11 kernel?

2018-05-13 Thread Konstantin Belousov
On Sun, May 13, 2018 at 09:58:29AM -0500, Mike Karels wrote:
> I attempted a kernel compile from stable/11, as a freebsd-update didn't
> seem to update /usr/src/sys, and I'm running a custom kernel.  I get
> compile errors like this:
> 
> ../../../amd64/amd64/support.S:829:2: error: unknown directive
>  .altmacro
>  ^
> :1:13: error: invalid register name
> handle_ibrs_%(ll):
>   ^~
> :3:2: note: while in macro instantiation
>  ibrs_seq_label %(ll)
>  ^
> :2:2: note: while in macro instantiation
>  .rept 32
>  ^
> ../../../amd64/amd64/support.S:858:2: note: while in macro instantiation
>  ibrs_seq 32
>  ^
> :1:13: error: invalid register name
> handle_ibrs_%(ll):
>   ^~
> :8:2: note: while in macro instantiation
>  ibrs_seq_label %(ll)
>  ^
> :2:2: note: while in macro instantiation
>  .rept 32
>  ^
> ../../../amd64/amd64/support.S:858:2: note: while in macro instantiation
>  ibrs_seq 32
>  ^
> :1:13: error: invalid register name
> handle_ibrs_%(ll):
> (and this continues)
> 
> I had just run freebsd-update:
> 
> pughole# freebsd-version
> 11.1-RELEASE-p10
> 
> 
> pughole# cc --version
> FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on 
> LLVM 4.0.0)
> Target: x86_64-unknown-freebsd11.1
> Thread model: posix
> InstalledDir: /usr/bin
> 
> I know that clang has been updated a lot; has the kernel source gotten
> ahead of clang on stable/11?
On stable/11 they are in sync.  The official method of upgrade is
make buildworld buildkernel
from older version takes care of the compiler version transparently.
If you use config/make, ensure that the installed world is at the
compatible level for the kernel sources.

Another option might be stopping using integrated clang assembler, there
is some option in out build system for that, but I do not know it enough
to remember.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Upgrade to 11.2-BETA1: vboxdrv kernel modulo load leads to panic unless vbox ports be rebuilt

2018-05-13 Thread Jose G. Juanino
On Sunday, May 13 at 15:53:28 CEST, Jose G. Juanino wrote:
> Hi FreeBSD stable,
> 
> I have upgraded from 11.1 to 11.2-BETA1 right now. I use Virtualbox to
> run Windows 7 from the FreeBSD box, and just after to complete the
> upgrade and reboot, the system panics just after to load kernel module
> vboxdrv.
> 
> The workaround is rebuild both emulators/virtualbox-ose and
> emulators/virtualbox-ose-kmod ports from within 11.2-BETA1, and
> after that everything works nicely as before the upgrade. I hope this
> help other people suffering a similar issue. Best regards.

Full backtrace:

https://pastebin.com/raw/17UU5Mij


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


Re: Upgrade to 11.2-BETA1: vboxdrv kernel modulo load leads to panic unless vbox ports be rebuilt

2018-05-13 Thread Mark Saad
Jose
  If you have not rebuilt the virtualbox-ose-kmod package from ports with the 
11.2-beta1 sources on disk ; please do so .  This should resolve this issue .

---
Mark Saad | nones...@longcount.org

> On May 13, 2018, at 3:41 PM, Jose G. Juanino  wrote:
> 
>> On Sunday, May 13 at 15:53:28 CEST, Jose G. Juanino wrote:
>> Hi FreeBSD stable,
>> 
>> I have upgraded from 11.1 to 11.2-BETA1 right now. I use Virtualbox to
>> run Windows 7 from the FreeBSD box, and just after to complete the
>> upgrade and reboot, the system panics just after to load kernel module
>> vboxdrv.
>> 
>> The workaround is rebuild both emulators/virtualbox-ose and
>> emulators/virtualbox-ose-kmod ports from within 11.2-BETA1, and
>> after that everything works nicely as before the upgrade. I hope this
>> help other people suffering a similar issue. Best regards.
> 
> Full backtrace:
> 
> https://pastebin.com/raw/17UU5Mij
> 
> 
> -- 
> Jose G. Juanino
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: 11.1-RELEASE-p10 cannot compile freebsd stable/11 kernel?

2018-05-13 Thread Mike Karels
[details omittied]
> > I know that clang has been updated a lot; has the kernel source gotten
> > ahead of clang on stable/11?
> On stable/11 they are in sync.  The official method of upgrade is
>   make buildworld buildkernel
> from older version takes care of the compiler version transparently.
> If you use config/make, ensure that the installed world is at the
> compatible level for the kernel sources.

So the freebsd-update version is not in sync with the -stable branch?
That was not at all obvious to me.  I upgrade from source on my -current
test system, but normally use freebsd-update on my production systems
(until it failed to update the kernel).

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


Re: lagg0 with ue0 and iwm0 is not operate on 11.2-BETA1

2018-05-13 Thread Masachika ISHIZUKA
> isn't it the same lasting bug/feature?
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213207
>
>> I'm using lagg0 with ue0(if_axge.ko) and iwm0(if_iwm.ko) as follows.
>> 
>> % cat /etc/rc.conf
>> ifconfig_ue0="ether xx:xx:xx:xx:xx:xx up"

  I think bug 213207 is not the same.
  As I set mac address of ethernet adapter(ue0) or ethernet card(re0),
I don't change mac address of wlan devices(iwm0/ath0).
-- 
Masachika ISHIZUKA
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Upgrade to 11.2-BETA1: vboxdrv kernel modulo load leads to panic unless vbox ports be rebuilt

2018-05-13 Thread Kevin Oberman
On Sun, May 13, 2018 at 12:41 PM, Jose G. Juanino 
wrote:

> On Sunday, May 13 at 15:53:28 CEST, Jose G. Juanino wrote:
> > Hi FreeBSD stable,
> >
> > I have upgraded from 11.1 to 11.2-BETA1 right now. I use Virtualbox to
> > run Windows 7 from the FreeBSD box, and just after to complete the
> > upgrade and reboot, the system panics just after to load kernel module
> > vboxdrv.
> >
> > The workaround is rebuild both emulators/virtualbox-ose and
> > emulators/virtualbox-ose-kmod ports from within 11.2-BETA1, and
> > after that everything works nicely as before the upgrade. I hope this
> > help other people suffering a similar issue. Best regards.
>
> Full backtrace:
>
> https://pastebin.com/raw/17UU5Mij
>
>
> --
> Jose G. Juanino


Kernel modules are NOT guaranteed to work between kernels. It is
recommended that all kernel modules from ports and lsof be added to
PORTS_MODULES so they are re-built after each kernel update. Rebuild
virtualbox-ose-kmod, unload all vbox modules and reload them. That should
fix he problem.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


drm-next-kmod is good working on 11.2-BETA1

2018-05-13 Thread Masachika ISHIZUKA
Hi.

My machine (pentium G4560(kaby lake)) is good working with
drm-next-kmod on 11.2-BETA1.
Thank you very much.
-- 
Masachika ISHIZUKA
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: lagg0 with ue0 and iwm0 is not operate on 11.2-BETA1

2018-05-13 Thread Zeus Panchenko
Masachika ISHIZUKA  wrote:
>   I think bug 213207 is not the same.
>   As I set mac address of ethernet adapter(ue0) or ethernet card(re0),
> I don't change mac address of wlan devices(iwm0/ath0).

solution whci solved my situation is described namely here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213207#c13

-- 
Zeus V. Panchenko   jid:z...@im.ibs.dn.ua
IT Dpt., I.B.S. LLC   GMT+2 (EET)


signature.asc
Description: PGP signature


[Bug 228174] [dump] dump(8) can read garbage and loop forever

2018-05-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228174

--- Comment #3 from Kirk McKusick  ---
Taking a snapshot is the same as if you unmounted the filesystem and dumped it.
When you take a snapshot, the following steps are taken:
1) Any new system calls that want to write to the filesystem are suspended.
2) All system calls currently writing to the filesystem are allowed to finish.
3) All dirty blocks are flushed to the filesystem.
4) A snapshot of the fully flushed filesystem is taken.
5) The suspended system calls are awaken, but none of their changes appear in
the snapshot.

The dump of the snapshot therefore gets a consistent view of the filesystem.
The date of the snapshot is recorded, so that when you later take a level-1
dump (using another snapshot) you get exactlty the changes between the two
snapshots.

Putting in error checking for every possible inconsistency is a massive
undertaking. And the resulting dumps are inconsistent and prone to all sort of
errors when you attempt to restore from them. That is why snapshots were added
as they allow consistent and correct dumps to be made on a live system.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"