Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Tim Daneliuk
On 2/28/21 11:26 AM, Carl Johnson wrote:
> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all. That means that I can't use a keyboard or mouse, but I can use a
> serial console and ethernet.  I can plug any USB device into any port,
> but there is nothing logged in /var/messages.  Running usbconfig as root
> just reports 'No device match or lack of permissions'.  Running
> 'dmesg | grep -i usb' reports only the following lines:
> 
>   usb_nop_xceiv0:  on ofwbus0
>   bcm_xhci0:  irq 81 at 
> device 0.0 on pci2
>   usb_needs_explore_all: no devclass
>   
> Running 'pciconf -lv' shows there is a VL805 USB controller present.  I
> tested this with Linux and everything worked properly.  This is a new
> computer that I bought only a couple of weeks ago.  Does anybody have
> any ideas on what this might be, or what I could do to try to figure it
> out?
> 
> Thanks in advance for any ideas.
> 


Not to belabour the obvious, but have you booted the machine with Linux
to see if USB works there?  (Just to avoid the possibility that you
have bad hardware.)
___
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: How do I know if my 13-stable has security patches?

2021-02-25 Thread Tim Daneliuk
On 2/25/21 3:56 PM, Karl Denninger wrote:
> On 2/25/2021 15:56, Warner Losh wrote:
>>

> 
> Unless I've missed something that's what was lost and IMHO needs to be 
> restored; a way to know that in seconds with nothing other than the operating 
> OS on the box (e.g. via uname) and the advisory with its "greater than X is 
> safe" from the mailing list.  Am I misunderstanding the current state of 
> things in this regard?
> 

One mechanism for doing this with git would be to use tags of some sort to
indicate which commits address which CVEs.  The problem with this is that
you still need a source tree.

I may be dense (I've certainly been told I am from time-to-time) but what's
wrong with this algo:

   - FreeBSD security team sends out notification of CVE and patches
 that address them AND _what date the patches went into the source tree_.

   - I do a 'uname -a' to see if my running system was built before- or after
 that date  (+- timezone variability, perhaps).

This does assume that people are pulling latest source for their branch prior 
to building.
This only addresses kernel fixes directly, however. A patch to, say, sshd would
not be reflected in the kernel build date.  But even there, it's kind of a hint.
If your instance of sshd is older than the patch date in question, you are for 
sure
not patched.  The uncertainty remains whether or not a file timestamped after 
the
patch date was build from the correct/new source.  But I would argue that this 
particular
problem also existed with kernel r notation.

git does get many things right, but this is an area that is kind of clunky.  I 
also
hate that it has no equivalent to $RCSID for me to embed in code and docs.
___
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: Now that the meltdown-patches are in STABLE...

2018-02-26 Thread Tim Daneliuk
On 02/26/2018 02:47 PM, Rainer Duffner wrote:
> Am I right to assume they aren’t being backported to 11.1 and we have to wait 
> for 11.2?
> 
> 
> Don’t get me wrong - I’d rather have a stable system when random reboots 
> during the daily or weekly runs.
> 
> But for my own planing, I’d really like to know what the way forward is going 
> to look like.
> 
> 
> https://wiki.freebsd.org/SpeculativeExecutionVulnerabilities
> 
> Isn’t too helpful in this matter.

Ditto for 10.x - will these patches ever be backported there?
--------
Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: stable/11 r329462 - Meltdown/Spectre MFC questions

2018-02-18 Thread Tim Daneliuk
On 02/18/2018 09:50 PM, Eric A. Borisch wrote:
> 
> On Sun, Feb 18, 2018 at 3:17 PM Tim Daneliuk <tun...@tundraware.com 
> <mailto:tun...@tundraware.com>> wrote:
> 
> On 02/18/2018 05:47 PM, David Marec wrote:
> > #cpucontrol -u -v /dev/cpuctl0
> > cpucontrol: skipping /usr/local/share/cpucontrol/m32306c3_0022.fw 
> of rev 0x22: up to date
> 
> 
> While we're on the subject ... where does one find these microcode updates
> anyway.  On a 10.4-STABLE system, the command above blows out because
> there is no director /usr/local/share/cpucontrol ... so I am missing
> the magic to get it populated.
> 
> --
> 
> --------
> Tim Daneliuk     tun...@tundraware.com <mailto:tun...@tundraware.com>
> PGP Key:         http://www.tundraware.com/PGP/
> 
> 
> It’s provided by the sysutils/devcpu-data port.
> 
>  - Eric
> 
> 


Yes thanks, I finally tripped across that myself :)  Do we have any insight on
whether this addresses the latest vulnerabilities?

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: stable/11 r329462 - Meltdown/Spectre MFC questions

2018-02-18 Thread Tim Daneliuk
On 02/18/2018 05:47 PM, David Marec wrote:
> #cpucontrol -u -v /dev/cpuctl0
> cpucontrol: skipping /usr/local/share/cpucontrol/m32306c3_0022.fw of rev 
> 0x22: up to date


While we're on the subject ... where does one find these microcode updates
anyway.  On a 10.4-STABLE system, the command above blows out because
there is no director /usr/local/share/cpucontrol ... so I am missing
the magic to get it populated.

-- 
----
Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: GPT partition gets erased on boot

2017-11-13 Thread Tim Daneliuk
On 11/12/2017 10:59 PM, Walter Parker wrote:
> What would cause the partitions on a ZFS drive to disappear?

In no particular order, these leap to mind:

- A bad drive
- A misconfigured controller
- A dead backup battery on the controller

-- 
----
Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Postfix and tcpwrappers?

2016-07-25 Thread Tim Daneliuk
On 07/25/2016 01:20 PM, Shawn Bakhtiar wrote:
> ecently a large body of clowncars have been targeting my sasl-enabled
> https gateway (which I use for client machines and thus do in fact need)
> and while sshguard picks up the attacks and tries to ban them, postfix
> is ignoring the entries it makes which implies it is not linked with the
> tcp wrappers.
> 
> A quick look at the config for postfix doesn't disclose an obvious
> configuration solutiondid I miss it?
> 


You can more-or-less run anything from a wrapper if you don't daemonize it
and kick it off on-demand from inetd.  Essentially, you have inetd.conf
configured with a stanza that - upon connection attempt - launches an
instance of your desired program (postfix in this case), if and only
if the hosts.allow rules are satisfied.

This works nicely for smaller installations, but is very slow in high 
arrival rate environments because each connection attempt incurs the full
startup overhead of the program you're running.

___
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"


Is tar Broken In 10.3-STABLE?

2016-07-05 Thread Tim Daneliuk
I just upgraded to r302342 today to verify a problem I saw 
after a 10.3-STABLE upgrade yesterday.  Upgrade was 
accomplished via makeworld/kernel & installworld/kernel.


When using tar with the -T argument to provide a list 
of backup sources, it blows out with the following 
error if a source in the file list is missing:

   tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive 
structure in state 'header', should be in state 'new/closed': Unknown error: -1

In the past, tar would make some noise if it was asked
to copy a nonexistent file or directory, but it would 
continue the remainder of the archive operation.

Thoughts?
___
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"


10.3-BETA2 rpc.statd: Failed to contact host

2016-02-18 Thread Tim Daneliuk
Started to see this as of a week or so ago.  Any idea what might be going on
here?


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-18 Thread Tim Daneliuk
On 08/18/2015 12:29 PM, Antony Uspensky wrote:
 On Mon, 17 Aug 2015, Tim Daneliuk wrote:
 
 On 08/17/2015 12:53 PM, Antony Uspensky wrote:
 On Sat, 15 Aug 2015, Tim Daneliuk wrote:

 So -L does fix the problem - sort of.  The machine picks up the file as
 additional swap on boot just fine.  HWOEVER, when I try to reboot or shut
 down the host, I get a panic telling me some noise about not being able
 to shutdown swap for some reason.

 Try to swapoff (by hands) before shutdown.
 Shutdown sequence, I think, unmounts carrying disk before swapping off a 
 carried file. If I am right, -L should be processed on shutdown also.
 Just a guess.

 Yes, that did it.

 But, isn't this kind of an operational bug?  Shouldn't the shutdown logic
 do the swapoff before the unmount if it sees files being used for swap?
 
 Yes. Must.
 
 i.e. Should I enter this as a bug report?
 
 Yes, please.
 
 The only reason this matters - and it's a pretty big reason - is for 
 production
 servers when someone logs in remotely, becomes root, and issued reboot.  
 The
 machine hangs at the panic and never comes back ... something you do not see
 unless you are in a console of some sort ...
 

Done.  Bug report #202420
-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-17 Thread Tim Daneliuk
On 08/17/2015 12:53 PM, Antony Uspensky wrote:
 On Sat, 15 Aug 2015, Tim Daneliuk wrote:
 
 So -L does fix the problem - sort of.  The machine picks up the file as
 additional swap on boot just fine.  HWOEVER, when I try to reboot or shut
 down the host, I get a panic telling me some noise about not being able
 to shutdown swap for some reason.
 
 Try to swapoff (by hands) before shutdown.
 Shutdown sequence, I think, unmounts carrying disk before swapping off a 
 carried file. If I am right, -L should be processed on shutdown also.
 Just a guess.

Yes, that did it.  

But, isn't this kind of an operational bug?  Shouldn't the shutdown logic
do the swapoff before the unmount if it sees files being used for swap?

i.e. Should I enter this as a bug report?

The only reason this matters - and it's a pretty big reason - is for production
servers when someone logs in remotely, becomes root, and issued reboot.  The
machine hangs at the panic and never comes back ... something you do not see
unless you are in a console of some sort ...
-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-15 Thread Tim Daneliuk
On 08/14/2015 12:39 PM, Warren Block wrote:
 On Fri, 14 Aug 2015, Tim Daneliuk wrote:
 
 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(10): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(14): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(11): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(6): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(7): failed
 Aug 14 00:01:22 myhost last message repeated 2 times


 So, I added this to fstab (after creating /usr/swap0):

 md99noneswapsw,file=/usr/swap000

 And then did this:

 swapon -aq


 But, when I do a swapinfo, all I can see is the disk swap partition
 that comes standard with the VPS:


 Device  1K-blocks UsedAvail Capacity
 /dev/gpt/swapfs   1048576   456572   59200444%
 
 Add the -L (late) option to swapon.  How this works might differ between 
 10-Release, 10-Stable, and 11.
 
 Incidentally, md99 does not have to be literal, it's just meant to get the md 
 device number up out of the way of common interactive usage of mdconfig.


So -L does fix the problem - sort of.  The machine picks up the file as
additional swap on boot just fine.  HWOEVER, when I try to reboot or shut
down the host, I get a panic telling me some noise about not being able
to shutdown swap for some reason.

So ... I decided to just add a second disk partition for swap and -
for some reason - it works fine interactively, but upon reboot,
the newly created swap partition no longer exists and gpart shows
the space as free again.  I tried a gpart commit, but get 
operation not permitted.  So now I am trying to figure out
how to make gpart changes stick.  This may be an artifact of
the way Digital Ocean droplets are set up 

G

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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


Swap Questions

2015-08-14 Thread Tim Daneliuk
I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
512M of memory and 1G of swap partition.  I am seeing a ton of errors like
this:

Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(10): failed
Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(14): failed
Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(11): failed
Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(6): failed
Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(7): failed
Aug 14 00:01:22 myhost last message repeated 2 times


So, I added this to fstab (after creating /usr/swap0):

md99noneswapsw,file=/usr/swap0  0   0

And then did this:

swapon -aq


But, when I do a swapinfo, all I can see is the disk swap partition
that comes standard with the VPS:


Device  1K-blocks UsedAvail Capacity
/dev/gpt/swapfs   1048576   456572   59200444%



Two questions:

1) Is this reasonable behavior from  a machine wiht 512M of memory and
   a 1G swap partition?  I am doing things like running clamscan and
   buildworld at the same time. That's why I tried to add space with
   a file.

2) Why doesn't the extra swap disk appear in the hostinfo output.


TIA, 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-14 Thread Tim Daneliuk
On 08/14/2015 08:53 AM, Patrick M. Hausen wrote:
 HI!
 
 Am 14.08.2015 um 15:15 schrieb Tim Daneliuk tun...@tundraware.com:

 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 [...]
 So, I added this to fstab (after creating /usr/swap0):
 
 Did you create it with dd or just with touch? You need to create a
 file that actually occupies the disk blocks with dd.
 
 HTH
 Patrick
 

The file was actually created, and space reserved.

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-14 Thread Tim Daneliuk
On 08/14/2015 08:35 AM, Ronald Klop wrote:
 Does the /dev/md99 device exist now? Otherwise something went wrong when you 
 tried adding swap. Try swapon -a without the -q.

Yes, the device exists and yes, swapon claims is is in use:

swapon -a
swapon: md99 on /usr/swap0: Device already in use

But swapinfo doesn't know about it, if it is:

swapinfo 
Device  1K-blocks UsedAvail Capacity
/dev/gpt/swapfs   1048576   500300   54827648%


I don't know whether this is just an artifact of how swapinfo reports things,
but the system acts like it's not seeing the additional swap when it is under
heavy load.

The main culprit here, BTW, is clamav which chews through memory like crazy
as best as I can determine, and this is a VM with only 512M of memory, hence
the desire to increase swap space.

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-14 Thread Tim Daneliuk
On 08/14/2015 12:39 PM, Warren Block wrote:
 On Fri, 14 Aug 2015, Tim Daneliuk wrote:
 
 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(10): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(14): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(11): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(6): failed
 Aug 14 00:01:22 myhost kernel: swap_pager_getswapspace(7): failed
 Aug 14 00:01:22 myhost last message repeated 2 times


 So, I added this to fstab (after creating /usr/swap0):

 md99noneswapsw,file=/usr/swap000

 And then did this:

 swapon -aq


 But, when I do a swapinfo, all I can see is the disk swap partition
 that comes standard with the VPS:


 Device  1K-blocks UsedAvail Capacity
 /dev/gpt/swapfs   1048576   456572   59200444%
 
 Add the -L (late) option to swapon.  How this works might differ between 
 10-Release, 10-Stable, and 11.
 
 Incidentally, md99 does not have to be literal, it's just meant to get the md 
 device number up out of the way of common interactive usage of mdconfig.


I can try that, but this still does not resolve the issue of md99 (I get
that its not literal :)   is not destroyed with the swapoff nor the fact
that the swap file doesn't get put into use at all on boot.

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-14 Thread Tim Daneliuk
On 08/14/2015 10:48 AM, Carl Johnson wrote:
 Tim Daneliuk tun...@tundraware.com writes:
 
 On 08/14/2015 08:53 AM, Patrick M. Hausen wrote:
 HI!

 Am 14.08.2015 um 15:15 schrieb Tim Daneliuk tun...@tundraware.com:

 I just built a 10.2 machine on a cloud-based VPS (Digital Ocean) that has
 512M of memory and 1G of swap partition.  I am seeing a ton of errors like
 this:

 [...]
 So, I added this to fstab (after creating /usr/swap0):

 Did you create it with dd or just with touch? You need to create a
 file that actually occupies the disk blocks with dd.

 HTH
 Patrick


 The file was actually created, and space reserved.
 
 Try removing the md99 device with mdconfig and then run the swapon again.
 

Now we're getting somewhere.  The problem I discovered is that if I do this:

1) Remove fstab entry for swap file and reboot
2) Reinstall fstab entry for swap and swapon

Voila' - it works.  BUT ...  if I then swapoff that disk *the md device does
not go away and cannot be removed with mdcoswapon -a
swapon: md99 on /usr/swap0: Device already in use
nfig:

mdconfig -d md99 
mdconfig: file can only be used with -a


I also cannot reenable it as swap again (which is why this appeared to not
be working:

swapon -a
swapon: md99 on /usr/swap0: Device already in use


IOW, the system thinks the /dev/md99 is still in use even though I have swapped 
it
off and will neither automatically remove the device nor allow me to do so 
manually.


Ideas anyone?  (And that for all the help from you folks...)

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Swap Questions

2015-08-14 Thread Tim Daneliuk
On 08/14/2015 11:38 AM, Carl Johnson wrote:

 I should have mentioned that I had similar problems until I added the
 late option to the swapfile line in fstab.  I suspect that it is a
 general problem with swapfiles and should be in the swapfile example in
 the fstab(5) manpage.
 

Would you mind posting the exact line you're using...  Thanks

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
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: Bind in FreeBSD, security advisories

2013-07-30 Thread Tim Daneliuk

On 07/30/2013 08:13 AM, Mehmet Erol Sanliturk wrote:

On Tue, Jul 30, 2013 at 8:47 AM, Daniel Kalchev dan...@digsys.bg wrote:



On 30.07.13 15:21, Mark Felder wrote:


People don't seem upset about not having a webserver, IMAP/POP daemon,
or LDAP server in base, so I don't understand what the big deal is about
removing BIND.



I believe the primary reason these things are not in the base system is
that they have plenty of dependencies, with possibly conflicting licenses
etc.

  If the concern is over the rare case when you absolutely

need a DNS recursor and there are none you can reach I suppose we should
just import Unbound.



There are many and good reasons to include an fully featured name server,
or at least full recursive resolver. For example, for properly supporting
DNSSEC.
We could in theory remove the BIND's authoritative name server
executable... if that is attracting the SAs.

The justification reduce the number of SA's, that is, the bad PR is
probably not enough. Going that direction, we should consider Comrade
Stalin's maxim FreeBSD exists, there are problems, here is the solution --
no FreeBSD, no problems! :-)

Daniel





Then , there exists a new problem :


There is no FreeBSD ...


Thank you very much .




Exactly.  Either strip everything out of the base
including things like perl or admit that there is more
to a modern OS than just kernel and admin tools.



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


Re: How do I circumvent the use of clang during build?

2012-12-16 Thread Tim Daneliuk
As I understand it, gcc is still the default on 9

-
Tim Daneliuk

Chris H chris#@1command.com wrote:

Greetings,
 I recently made a failed attempt to move from RELENG_8
to RELENG_9. I've been on BSD since the early 80's, and with
the exception of a couple of failed kernels (my fault), I've
never had one failure with the build(world|kernel) ||
install(world|kernel). The only notable difference I noticed,
was the addition of clang. While I can't (yet) conclusively
blame it on clang. I _can_ say, that the whole process took _3_
times longer, than without. So my question is; is it possible
to build(world|kernel)  install(world|kernel) without the
clang toolchain? If for no other reason but to discover whether
clang was responsible for the failure, and whether building w/o
clang is any faster.

Thank you for all your time, and consideration.

--Chris

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


Re: Will we get a RELEASE-9.1 for Christmas?

2012-12-09 Thread Tim Daneliuk

On 12/09/2012 10:37 AM, jb wrote:

I understand that releng people will build all packages once more right before
9.1 release, but perhaps caution is warranted - would 9.1-RC4 make sense ?


I recently upgraded in place from 8.3-STABLE to 9.1-PRE.  I needed to redo
the system because of the sec compromise just to be sure, so this seemed
to be a good time to do it.  So, using the now-preferred portsnap and
svn download mechanisms, I rebuilt the OS AND every single port.  Thus
far, I've not had a significant problem ... well, other than the fact
that when sasl rebuilds it does not restart the daemon and I couldn't
figure out why mail wasn't going out ...

--

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Network throughput: Never get more than 112MB/s über two NICs

2011-04-11 Thread Tim Daneliuk
On 4/11/2011 12:55 PM, Denny Schierz said this:
 
 Am 11.04.2011 um 16:20 schrieb Michael Loftis:
 
 Most switches load balance based on MAC addresses, not IP, unless it
 is routing the traffic as a Layer 3 switch then you can enable IP
 based load balancing in some of those.  Also you might simply be
 
 that was the reason, why we disabled the loadbalancer and tested with plain 
 NICs. 
 
 reaching the limits of your firewall box too you haven't mentioned any
 of it's specs, nor do you seem to have run top while running the iperf
 tests.
 
 The clients (who running iperf -c ip) had a load near zero, they are 
 powerful machines  (Sun sparcs) with 8 cores and more. The machine, with 4 
 Cores (Xeon) who is running iperf -s, had a load round about ~0.8.
 
 No firewall etc. between the hosts, just plain network :-) 
 
 cu denny___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
 

Are you certain you are not somehow running active-passive instead of 
active-active ...
just a thought...

-- 

Tim Daneliuk
tun...@tundraware.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.1-PRE Throwing Traps Going Multiuser

2010-07-10 Thread Tim Daneliuk
On 7/5/2010 4:10 PM, Kostik Belousov wrote:
 On Mon, Jul 05, 2010 at 03:29:29PM -0500, Tim Daneliuk wrote:
 Is this a known problem (I've submitted a PR just in case it is not)?

 I am seeing this consistently when I try to do a build/installworld/kernel 
 with daily sources from the master tree:

   http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyothumb=4

 The system boots fine single-user.  Problem is repeatable with both
 my kernel AND GENERIC. (My config file at end of this msg.)

 Attempting to enter multi-user causes the problem.  This
 occurs whether or not anything is enabled in /etc/rc.conf.

 Falling back to my 6-18-2010 system image makes everything right again.

 MOBO is an Intel D946GZIS with a single SATA drive and one additional
 3Com 3c905 NIC in addition to the onboard Intel NIC.


 My Kernel Config
 =

 include GENERIC

 ident   MACHINENAME

 options IPFIREWALL
 options IPDIVERT

 options VESA

 # System console options

 options SC_DISABLE_REBOOT   # disable reboot key sequence
 options SC_HISTORY_SIZE=200 # number of history buffer lines
 options SC_PIXEL_MODE   # add support for the raster text 
 mode

 # The following options will change the default colors of syscons.

 options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
 options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
 options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
 options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
 
 Add DDB to your kernel, or specify the dump device. Then obtain a
 backtrace for the trap.


As of this morning's build (0700 CDT) this problem seems resolved.

-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


8.1-PRE Throwing Traps Going Multiuser

2010-07-05 Thread Tim Daneliuk
Is this a known problem (I've submitted a PR just in case it is not)?

I am seeing this consistently when I try to do a build/installworld/kernel 
with daily sources from the master tree:

  http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyothumb=4

The system boots fine single-user.  Problem is repeatable with both
my kernel AND GENERIC. (My config file at end of this msg.)

Attempting to enter multi-user causes the problem.  This
occurs whether or not anything is enabled in /etc/rc.conf.

Falling back to my 6-18-2010 system image makes everything right again.

MOBO is an Intel D946GZIS with a single SATA drive and one additional
3Com 3c905 NIC in addition to the onboard Intel NIC.


My Kernel Config
=

include GENERIC

ident   MACHINENAME

options IPFIREWALL
options IPDIVERT

options VESA

# System console options

options SC_DISABLE_REBOOT   # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
options SC_PIXEL_MODE   # add support for the raster text mode

# The following options will change the default colors of syscons.

options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)



-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: Intel S3000AH stall on boot

2007-12-02 Thread Tim Daneliuk

Jack Vogel wrote:

On Dec 1, 2007 8:32 PM, Daniel O'Connor [EMAIL PROTECTED] wrote:

Hi,
I am doing some work for a company that recently bought 2 systems based
on the above motherboard and mostly they work fine, however on boot
just before userland starts they stall for about a minute. (Just after
it starts the second CPU).


Did you happen to check if during that time the floppy disk is being accessed?
If it is just reconfig the kernel with that device out and the hang
won't happen.

That is the only hang that I've seen that lasts that long.

Jack



Or you can just turn it off in the BIOS to avoid having to fiddle with the
kernel.  *Why* this is happening is of more interest to me.  ISTM that
the kernel startup logic should be able to detect a floppy drive with no
disk in it and move on promptly.  I believe this because that is exactly
what 4.x did ... well, now that I think about it, I never tried 4.x on
the Intel MOBO that is causing this aggravation here



Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Enabling HTT On A Uniproc w/4.11-Stable

2005-04-17 Thread Tim Daneliuk
How do I enable hyperthreading on a Uniprocessor p4 system.
I tried my usual SMP kernel options (SMP and APIC) but, of course,
the kernel cannot find an APIC.  I have set the appropriate option
in loader.conf to enable hyperthreading but, No Joy.  Should I
use the SMP option alone here?
TIA,
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling HTT On A Uniproc w/4.11-Stable

2005-04-17 Thread Tim Daneliuk
Thanks for the prompt response!
 On Sun, 2005-Apr-17 01:50:51 -0500, Tim Daneliuk wrote:

 How do I enable hyperthreading on a Uniprocessor p4 system.
 I tried my usual SMP kernel options (SMP and APIC) but, of course,
 the kernel cannot find an APIC.  I have set the appropriate option
 in loader.conf to enable hyperthreading but, No Joy.  Should I
 use the SMP option alone here?



 You definitely need APIC for SMP and the APIC is part of the iA32 spec
 so I'm sure you have one somewhere.  At a quick guess, I suspect you
 haven't enabled the APIC in your BIOS - check for an option that
 allows you to select between PIC and APIC interrupt types.
There seems to be no such option on this MB.

 If that's not the problem, we need more information: Motherboard/BIOS
 type and at least the beginning of a verbose boot (down to about the
 pci0 probe).

Machine is a Gateway
BIOS appears to be Intel - well there is no other BIOS mfg named.
BIOS ID is: PT84510A.15A.0004.P02.0112051220
Here is some of the dmesg - I infer from the Features line that HTT means
this is hyperthread-enabled:

FreeBSD 4.11-STABLE #1: Fri Apr 15 03:41:33 CDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/UNI
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1993.54-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFL\M-USH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 536608768 (524032K bytes)
avail memory = 516800512 (504688K bytes)
Preloaded elf kernel kernel at 0xc052b000.
Warning: Pentium 4 CPU: PSE disabled
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0493502 (122)
VESA: NVidia
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 13 entries at 0xc00f2ce0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82845 Host 4o PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xf800-0xfbff at device 0.0 
on pci0

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need Help With mount_smbfs Error Message

2005-03-03 Thread Tim Daneliuk
I am running 4.11-stable (sources up-to-date as of today).  I have
a smb file system mounted on this machine (it is a samba share on another
4.11-stable box).  I am seeing this message intermittently:
   smb_maperror:Unmapped error 1:158
What might be causing this?
TIA,
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Somewhat OT]: Is There A CVSUP Type Update For ...

2005-02-22 Thread Tim Daneliuk
I know this is a bit outside the -stable charter, but I'm hoping someone
here can respond (privately is fine):  Is there a way to do cvsup type
updates of the 'packages' tree or am I forever forced to do bulk
ftps every few weeks.  IOW, I want to mirror 'packages', in this
case for i386, and I am looking for suggestions for the best way to do
this...
TIA,
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possible Problem w/4.10-stable And SMBFS?

2005-01-21 Thread Tim Daneliuk
  1K102400K80 0  16,32,64
~   sysctl 0 0K  1K102400K  1430 0  16,32
~  uidinfo 6 2K  2K102400K   890 0  32,1K
~ cred21 3K  4K102400K 31870 0  128
~  subproc   14011K 11K102400K 16640 0  32,64,256
~ proc 2 8K  8K102400K20 0  4K
~  session25 2K  2K102400K   930 0  64
~ pgrp28 1K  1K102400K  2890 0  32
~ temp   425   136K166K102400K 71300 0   
16,32,64,128,256,512,1K,4K,16K,128K
~   devbuf  1035   563K595K102400K 15320 0   
16,32,64,128,256,512,1K,2K,4K,8K,16K,32K
~lockf19 2K  2K102400K 22210 0  64
Memory Totals:  In Use   FreeRequests
~ 7630K  1789K 1477346

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Possible Problem w/4.10-stable And SMBFS?

2005-01-18 Thread Tim Daneliuk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am seeing a number of intermittent problems with SMBFS-mounted partitions
and am wondering if these are know FBSD problems or problems with the
Win32 servers:
1) After running for a very long time (weeks), SMBFS-connected directories
~   become very slow/sluggish for read/write.  A reboot of the FBSD machine
~   fixes this.  Error log shows:
~Jan 18 16:36:28 yzx /kernel: smb_iod_recvall: drop resp with mid 15734
~Jan 18 16:36:28 yzx /kernel: smb_iod_recvall: drop resp with mid 15736
~This machine is running 4.11-PRERELEASE as of 12/14/2004
2) Again, after running for a long time (several weeks), attempts to
~   to long running I/O against an SBMFS-mounted partition, I get
~   a bus error and the following entries in /var/log/messages:
~Jan 18 16:45:49 xyz /kernel: smb_iod_recvall: drop resp with mid 34907
~Jan 18 16:46:06 xyz /kernel: smb_iod_recvall: drop resp with mid 39329
~Jan 18 16:46:06 xyz /kernel: smb_iod_recvall: drop resp with mid 42496
~   This seems to be a problem primarily with very large files (100s of
~   megs to several gigs) - at least I've not seen this problem w/small
~   files.
~   This machine is running 4.10-STABLE as of 11/30/2004
Ideas would be appreciated...
- --
- 
Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFB7ZjpyjgA+Mact+YRAgmVAJ9V90kdxogkmixMGGL259Phz75tuQCdEmu+
hdSY/kUNVsvpBiGlil/kiko=
=psGE
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]