Re: compiling failed with RSS enabled

2014-12-02 Thread Eric L. Camachat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 12/02/2014 07:30, Adrian Chadd wrote:
> Ugh!
> 
> please file a bug and I'll go take a look at the code soon.
> 
> Thanks!
> 
> 
> -a

Someone already did:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195518

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlR9+ScACgkQSfBQu3oOwYyNFQD+OOCF2hxRIrHuXfH00HEtLTwe
DeUYVqyM4ZODqIidD3cA/00teVl3L1CB7OANdNDh+fMSHS3coPZqxT6J/uJhDJ0F
=3sM8
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


compiling failed with RSS enabled

2014-12-01 Thread Eric L. Camachat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

current failed to compile due to queues uninitialized at line 2883 in
if_igb.c.
from the context I guess it should be n_queues instead of queues.

Index: sys/dev/e1000/if_igb.c
===
- --- sys/dev/e1000/if_igb.c(revision 275391)
+++ sys/dev/e1000/if_igb.c  (working copy)
@@ -2880,7 +2880,7 @@

 #ifdef RSS
/* If we're doing RSS, clamp at the number of RSS buckets */
- - if (queues > rss_getnumbuckets())
+   if (n_queues > rss_getnumbuckets())
queues = rss_getnumbuckets();
 #endif


Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlR9WmoACgkQSfBQu3oOwYxnrQD6Ah1uhoNaM3YTXHdOpOA7hw4j
vZUCA9VU6n/jhUEneVkBALETmBfQudmEz9/eqnmsmer8RbulQdqIKTa8InSvE2yw
=jLcf
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: No bootable device

2014-08-10 Thread Eric L. Camachat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/09/2014 10:32, Mehmet Erol Sanliturk wrote:
> 
> the installed systems are not bootable , and the last sentence on the
> screen is the following :
> 
> 
> No bootable device -- insert boot disk and press any key
> 

If you installed into GPT partitions like this:
$ gpart show ada0
=>   34  488397101  ada0  GPT  (233G)
 34   1038 1  freebsd-boot  (519K)
   1072  455081984 2  freebsd-ufs  (217G)
  455083056   33314079 3  freebsd-swap  (16G)

Try to make GPT in MBR as bootable (active) partition:
$ fdisk -s /dev/ada0
/dev/ada0: 484521 cyl 16 hd 63 sec
PartStartSize Type Flags
   1:   1   488397167 0xee 0x80
$ fdisk -p /dev/ada0
# /dev/ada0
g c484521 h16 s63
p 1 0xee 1 488397167
a 1

This is an known issue on HP laptops.

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlPn9uUACgkQSfBQu3oOwYwdtgD9ENIhnJ0Tp6KxJkzz0BbohaDB
2XCkL7za/CiQY6RruvUBAI7cnMucMKcTJCSQF+pHcyljemm+eF2ZtGd70Loh6a86
=aA2H
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Virtual box require LIBCXX

2013-10-08 Thread Eric L. Camachat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/08/2013 15:01, Jimmy Kelley wrote:
> On Tue, Oct 08, 2013 at 05:01:35PM -0300, Nilton Jose Rizzo wrote:
>> Em Tue, 08 Oct 2013 09:43:19 -0700, Eric L. Camachat escreveu
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA256
>>>
>>> On 10/08/2013 07:17, Nilton Jose Rizzo wrote:
>>>> root@valfenda:/usr/ports/emulators/virtualbox-ose # kldload vboxdrv
>>>> root@valfenda:/usr/ports/emulators/virtualbox-ose # 
>>>>
>>>> but whern I run it, the I got this error message:
>>>> rizzo@valfenda:~/src/Doutorado/visao/testes % VirtualBox 
>>>> VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
>>>> VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
>>>> /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by
>>>> /usr/local/lib/virtualbox/VBoxRT.so not found
>>>>
>>> My box can be fixed by remove misc/compat8x package.
>>
>>   In my box it was used by bootstrap jdk, look
>>
>> root@valfenda:/usr # pkg query %ro compat8x-amd64
>> java/bootstrap-openjdk
>> root@valfenda:/usr # 
>>
>>   You don't use java?
>>
>>
> 
> bootstrap-openjdk is only needed to BUILD openjdk.  You can and
> should remove it after you have successfully built one of the
> openjdk packages (see java/bootstrap-openjdk/pkg-message).
> You can delete misc/compat8x after that.
> 
Yes, I have to remove it when every time re-build openjdk

Eric

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlJUpJkACgkQSfBQu3oOwYy2oQD/RmsDCLHwn+X5TXyqWvoDPc3M
fnwKs779NaDHE8+kVF0BAJ2oMHgvQ6X1Fmhkor9PF0pRlPu586gzsupcJU4sed/a
=0MHP
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ipv6_activate_all_interfaces doesn't work on wireless interface.

2013-08-17 Thread Eric L Camachat
On Sat, 2013-08-17 at 11:12 -0700, Kevin Oberman wrote:
> On Sat, Aug 17, 2013 at 10:38 AM, Eric L Camachat
>  wrote:
> On Sat, 2013-08-17 at 10:18 -0700, Kevin Oberman wrote:
> 
> > There was a revision to networks.subr in r253683 that
> removed
> > accept_rtadv from default for bridge interfaces.
> >
> > At least the comment says that it should not be default
> which implies
> > that it used to be. If there is a logic error in the commit
> (I just
> > noted the change to rtadv and the comment, but did not
> attempt to
> > confirm the logic), perhaps accept_rtadv got turned off on
> more than
> > just bridge interfaces.
> >
> >
> >
> > 564
> >
> >
> >  bridge[0-9]*)
> > 565
> >
> >
> ># No accept_rtadv by
> > default on if_bridge(4)
> > 566
> >
> >
> ># to avoid a
> > conflict with the
> > member
> > 567
> >
> >
> ># interfaces.
> > 568
> >
> >
> >return 1
> > 569
> >
> >  ;;
> > 570
> >
> >  *)
> >
> 
> That script affect only when ipv6_enable="YES" for backward
> compatibility, from its comments.
> 
> Eric
> 
> Look further down in the commit for line in the 560s. The section I
> copied was the general case, not the legacy one. The code for both
> is .included.
> 
> -- 
I see, thanks.


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


Re: ipv6_activate_all_interfaces doesn't work on wireless interface.

2013-08-17 Thread Eric L Camachat
On Sat, 2013-08-17 at 10:18 -0700, Kevin Oberman wrote:

> There was a revision to networks.subr in r253683 that removed
> accept_rtadv from default for bridge interfaces.
> 
> At least the comment says that it should not be default which implies
> that it used to be. If there is a logic error in the commit (I just
> noted the change to rtadv and the comment, but did not attempt to
> confirm the logic), perhaps accept_rtadv got turned off on more than
> just bridge interfaces.
> 
> 
> 
> 564
>  
> 
>  bridge[0-9]*)
> 565
>  
> 
># No accept_rtadv by
> default on if_bridge(4)
> 566
>  
> 
># to avoid a
> conflict with the
> member
> 567
>  
> 
># interfaces.
> 568
>  
> 
>return 1
> 569
>  
>  ;;
> 570
>  
>  *)
> 

That script affect only when ipv6_enable="YES" for backward
compatibility, from its comments.

Eric



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


ipv6_activate_all_interfaces doesn't work on wireless interface.

2013-08-15 Thread Eric L Camachat
Here is my /etc/rc.conf
ipv6_enable="YES"
#ip6addrctl_enable="YES"
#ip6addrctl_policy="ipv6_prefer"
#ipv6_activate_all_interfaces="YES"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"

rc.d system said ipv6_enable is obsoleted by
ipv6_activate_all_interfaces.
So, I tried to replaced ipv6_enable with ipv6_activate_all_interfaces
and ip6addrctl_*, interface wlan0 will not get ipv6 address from router.

After investigated, that's because of wlan0 didn't add 'accept_rtadv'
ipv6 option.

-- 
Eric

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