Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 9:48 PM, Scott Ballantyne  wrote:

>
> Adam Vande More wrote:
> >
> > > It does seem like a bit
> > > of over-kill to quit updating ALL ports because one is long
> > > gone. Seems like it could do the others.
> > >
> >
> > So it should continue on and potentially build 1000's of ports with
> broken
> > linking and dependencies?  Portupgrade will do this if you tell it.  Try
> it
> > out and see what fun you can create.
> >
>
> Not a single program on my system depended on that program being
> rebuilt.


And what about libs it may have left behind and other ports picking up
faulty info?  Then you build unsupported and faultly packages and complain
to the list when something doesn't work.  Just follow /usr/ports/UPDATING
as advised instead of your "shortcuts".


> Portmaster should certainly refuse to rebuild anything that
> did, of course.


Exactly what it did.



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


Re: Advice sought on Portmaster -Faf and deleted ports

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 6:35 PM, Scott Ballantyne  wrote:
>
>
> I understand why portmaster quits that port.


Because it has no choice.


> It does seem like a bit
> of over-kill to quit updating ALL ports because one is long
> gone. Seems like it could do the others.
>

So it should continue on and potentially build 1000's of ports with broken
linking and dependencies?  Portupgrade will do this if you tell it.  Try it
out and see what fun you can create.



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


Re: SU+J Lost files after a power failure

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 1:43 PM, Adam Vande More wrote:

>
>
> mount -o sync
>

should be

mount sync

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


Re: SU+J Lost files after a power failure

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 1:33 PM, CeDeROM  wrote:

> Thank you for explaining :-) So it looks that it would be sensible to
> force filesystem check every n-th mount..?


Please explain the logic in which this helps anything.


> Or to do a filesystem check
> after crash..?


Already standard behavior as implicitly seen in this thread.


> Are there any flags like that to mark filesystem
> unclean and to force fsck after n-th mount?


No and any fs that requires such a system is broken by design.


> That would assume
> disabling journal and soft updates journaling I guess..?
>
> What would be the best option for best data integrity in case of
> crash?
>

mount -o sync or use ZFS. Both require hardware that correctly report
success to fsync.

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


Re: SU+J Lost files after a power failure

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 11:50 AM, CeDeROM  wrote:

>
> Then why random files gets damaged as well even they are not
> accessed/written on power loss? :-)
>

Prove they weren't.

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


Re: SU+J Lost files after a power failure

2013-10-14 Thread Adam Vande More
On Mon, Oct 14, 2013 at 11:34 AM, David Demelier
wrote:

>
> Why? SU+J is enabled by default. Isn't the purpose of a journaled file
> system to ensure that any bad shutdown will protect data?
>

As already stated, those measures are to preserve fs integrity eg meta data
is in sync.  It doesn't ensure that all the outstanding writes are
committed to disk in the event of a power outage.

On GNU/Linux, on Windows you will not require anything else to recover
> your data.
>

This is complete garbage when using default settings as you imply below.
The default for ext3 on basically every distro still using ext3 is an
ordered journal and don't even get started on ext4.  NTFS by default
can/will also lose data on a power outage.


> I don't want to tweak the filesystem or use something different that the
> default, as it is the default it's the *warranty* that it is the correct
> way to protect data for new FreeBSD user's installations IMHO.
>

There is no *warranty* as explicitly stated in
http://www.freebsd.org/copyright/freebsd-license.html

The behavior you wish would slow down disk writes by an order of magnitude
and is already available to users willing to use non-default settings.

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


Re: persistence in freeBSD

2013-09-16 Thread Adam Vande More
On Mon, Sep 16, 2013 at 3:58 PM, atar  wrote:

> the text in your citation doesn't appear in the following URL:
>
> http://www.freebsd.org/cgi/**man.cgi?query=mount&apropos=0&**
> sektion=0&manpath=FreeBSD+9.1-**RELEASE&arch=i386&format=html<http://www.freebsd.org/cgi/man.cgi?query=mount&apropos=0&sektion=0&manpath=FreeBSD+9.1-RELEASE&arch=i386&format=html>
>
>
Yes, it does.  Trying scrolling down further.  The options are listed in
alphabetical order.

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


Re: Network Question

2013-09-12 Thread Adam Vande More
On Thu, Sep 12, 2013 at 2:06 PM, Kurt Buff  wrote:

>
> There's the rub. How do you determine the IP address of the other machine?
>

Normally I look at /var/db/dhcpd/dhcpd.leases.  Pretty much all of the home
routers also have the information accessible on it's administration page.
Really depends on that exact setup as there are a number of ways.

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


Re: Network Question

2013-09-12 Thread Adam Vande More
On Thu, Sep 12, 2013 at 1:45 PM, Daniel Nang wrote:

> Hello,
>
> I have two computers, both running FreeBSD, accessing the
> web via DHCP from the router. The setup looks like this:
>
>
>Internet
> |
> |
> |
> machine1.example.com --- Router --- machine.2.example.com
>  - DHCP -- DHCP -
>
>
> Both computers can access the internet with no problems.
> So far so good...
>
> My question is, if I can simultaneously have the computers access
> the net as in the given picture and also let them communicate with
> each other e.g. via ssh?
>


machine1# ssh `ip of machine2`


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


Re: supported desktops

2013-09-11 Thread Adam Vande More
On Wed, Sep 11, 2013 at 11:30 AM, atar  wrote:

> hi there!!
>
> just wanted to know please which desktops environments are supported by
> freeBSD.
>

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

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


Re: VPN where local private address collide

2013-08-19 Thread Adam Vande More
On Sun, Aug 18, 2013 at 7:17 AM, Terje Elde  wrote:

> On 18. aug. 2013, at 02.43, Adam Vande More wrote:
> > > What about SSL/TLS for example?  How would the router swap the header
> in an encrypted session?
> >
> > Same as it would any sessions since only the payload is encrypted.  What
> Frank calls basic nat, most people call static nat(at least people who have
> read enough Cisco docs) and it works just fine. Also you are confusing
> headers.
>
> The point I was aiming for was that even if you were to swap the IPs in
> the IP-header on the gateway, some protocols still reference the IPs inside
> the TCP-payload,


Yes like IPSec as I mentioned.


> and while you can rewrite that on a NAT-box using an application level
> gateway, you can not do that if the session is using SSL or TLS.
>

Complete BS.


>
> I was referring to headers *inside* the SSL/TLS-layers.  I thought that
> was obvious, but I see I might not have been clear enough.
>

Not clear in the least.  Expanding on what is so difficult about might do a
lot of us some good.


>
> Yes, you can often still resolve it on the server, but just how messy does
> one want to get stacking workaround on top of workaround,
>

Despite your protestations to the contrary,  NAT and SIP work quite weil
together in basic configurations including TLS and the OP's scenario.   I
can't explain your difficulties but perhaps when you aren't at a mobile
device you could answer a question in depth.


The server would register that the phone is available at 192.168.0.200
> (locally, in lan_b), while the server would actually need to send to
> 192.168.2.200, in order to reach 192.168.0.200 in lan_a.




> Exactly how this would behave depends on a lot of factors, but you'd
> quickly end up with a situation in which the phone *appears* to work, can
> register against the server and call out (both client-initiated), but where
> incoming calls just don't work (sent to 192.168.0.200 in lan_b, rather than
> in lan_a).


Could you could post your config to demonstrate what you are doing
incorrectly?

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


Re: VPN where local private address collide

2013-08-17 Thread Adam Vande More
On Sat, Aug 17, 2013 at 6:29 PM, Terje Elde  wrote:

> On 17. aug. 2013, at 16:37, Frank Leonhardt  wrote:
> > This is just the sort of problem Google will have when it buys Facebook
> :-)
>
> Probably not. If Google were to buy Facebook, I'm confident they'd be able
> to renumber their networks if they have to.
>
> > Your explanation of the foul-up possible with NAPT is well made,
> although not really talking about the kind of NAT used on Home/SME routers
> (one public address hiding many private one) - I'm thinking of Basic NAT -
> one-to-one replacement, not one-to-many. (i.e. static address assignment).
> All the router (or firewall) needs to do is swap the IP address in the
> header as it passes through, and swap it back when it returns. The two
> hosts shouldn't notice a thing.
>
> That's a good theory. In reality, it's much more complicated.
>
> What about SSL/TLS for example?  How would the router swap the header in
> an encrypted session?


Same as it would any sessions since only the payload is encrypted.  What
Frank calls basic nat, most people call static nat(at least people who have
read enough Cisco docs) and it works just fine. Also you are confusing
headers.  IP itself has a header and TCP and UDP each have their own.
 SIP/TLS works just fine on static nat.   IPsec is different as it encrypts
the port info but there is almost always something can be done about this
at that level.

> Swapping headers is also a bit outside the scope of NAT

No, it's the entire point of NAT.  How do you think the "Translation"
occurs?  Again you are confusing header levels.  In general, NAT doesn't
care about whatever info is in the payload, only layer 3 and usually layer
4 and in certain configs layer 5 are pertinent to NAT configs.



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


Re: copying milllions of small files and millions of dirs

2013-08-15 Thread Adam Vande More
On Thu, Aug 15, 2013 at 1:13 PM, aurfalien  wrote:

> Hi all,
>
> Is there a faster way to copy files over NFS?
>

Remove NFS from the setup.



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


Re: memory stick

2013-08-08 Thread Adam Vande More
On Thu, Aug 8, 2013 at 9:34 AM, william benton  wrote:

> I am trying to mount a memory stick at the command line. I seem to be able
> to mount and unmount it but i can't copy files into the stick. please see
> the attached image for the commands I used and the results. If you have any
> suggestions on what the problem might be I would sure like to know what you
> think. I logged in as root on free BSD version 7.0 release 0.0.
>
>

You have a special character in your path.  You will need to escape it, eg
cp /usr/home/w\!/foo /mnt/ufs/

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


Re: Tablet PCs and FreeBSD?

2013-08-05 Thread Adam Vande More
On Mon, Aug 5, 2013 at 4:05 PM, Adam Vande More wrote:

>
> On Mon, Aug 5, 2013 at 1:44 PM, cpghost  wrote:
>
>> Hello list,
>>
>> what's the status of FreeBSD/arm w.r.t. Tablet PCs?
>> Is there ANY tablet out there that managed to at
>> least boot FreeBSD? (I'm not talking about Xorg etc,
>> just a simple console with FreeBSD base system would
>> suffice for now -- even NetBSD would be great)
>>
>> I'm looking for a Tablet PC that runs Linux/arm (not
>> just Android), and it would be nice if that model was
>> also able to run FreeBSD; and if not now, so in the
>> foreseeable future.
>>
>> Any suggestions w.r.t. models?
>>
>
> All I can recall was this thread(read whole thing):
>
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2012-November/246404.html
>

Also asking on freebsd-arm might get you farther.
-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Tablet PCs and FreeBSD?

2013-08-05 Thread Adam Vande More
On Mon, Aug 5, 2013 at 1:44 PM, cpghost  wrote:

> Hello list,
>
> what's the status of FreeBSD/arm w.r.t. Tablet PCs?
> Is there ANY tablet out there that managed to at
> least boot FreeBSD? (I'm not talking about Xorg etc,
> just a simple console with FreeBSD base system would
> suffice for now -- even NetBSD would be great)
>
> I'm looking for a Tablet PC that runs Linux/arm (not
> just Android), and it would be nice if that model was
> also able to run FreeBSD; and if not now, so in the
> foreseeable future.
>
> Any suggestions w.r.t. models?
>

All I can recall was this thread(read whole thing):

http://lists.freebsd.org/pipermail/freebsd-questions/2012-November/246404.html

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


Re: Installation hangs during "Archive extraction" phase (9.1)

2013-07-26 Thread Adam Vande More
On Fri, Jul 26, 2013 at 8:51 AM, Ewald Jenisch  wrote:

> On Fri, Jul 26, 2013 at 01:16:32PM +0200, bw.mail.lists wrote:
> > You don't actually need to install ports.txz. All it does is populate
> > /usr/ports, but you can do that after install using portsnap as
> > documented in the handbook
> > (
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
> ):
> >
> > portsnap fetch
> > portsnap extract
> >
>
> Hi,
>
> Thanks for the hint. Now I could finish the installation (which takes
> like forever (speaking in terms of 2 hours which is pretty strange
> given the raw power of this machine)) however after rebooting the box
> behaves weird to say the last:
>
> I started out be entering "portsnap fetch". Everything runs fine up to
> the point when I see "Verifying snapshot integrity". Then the system
> completely comes to a grind. After sending the "portsnap fetch" to the
> background (^Z) and entering "top" the machine completely freezes
> without any indication as to why.
>
> I've already done a complete hardware diagnosis - everything OK.
>
> Any ideas on how to track this one down?
>

Don't install ports during installation, try using 8.4 or 9.1BETA1 instead


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


Re: does journaling cause DMA-WRITE failure?

2013-07-18 Thread Adam Vande More
On Thu, Jul 18, 2013 at 9:26 AM, s m  wrote:

> i have two question: does journaling cause to happen these errors?


Perhaps indirectly as increased load on a flaky disk/driver can cause
these.  Mostly likely you have a failing drive though.


> and if i
> set hw.ata.ata_dma to 0, is it resolve the problem?


Not resolve, perhaps workaround


> if yes, has it any side
> effect or not?
>

As for the third question, yes it will dramatically decrease disk io speed
unless it's already slow because it's failing.


>
> any comments or hints are really appreciated.
> SAM
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



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


Re: Possibly OT: NFS vs SMB performance

2013-07-06 Thread Adam Vande More
On Fri, Jul 5, 2013 at 11:18 AM, Andrea Venturoli  wrote:

> Hello.
>
> Sorry to ask here: maybe it's not the best place, but it might be a start
> (the client and server are both FreeBSD).
>
> The server exports the same directory via NFS and via SMB.
>
> I'd expect some performance penalty when using SMB, but:
> "find /nfs_mounted_dir >/dev/null" takes more or less 1 minute;
> "find /smb_mounted_dir >/dev/null" takes nearly 10 minutes.
>
> Is this normal in your experience?
>

http://lists.freebsd.org/pipermail/freebsd-current/2013-January/038903.html

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


Re: Troubleshooting a gmirror disk marked broken

2013-06-28 Thread Adam Vande More
On Fri, Jun 28, 2013 at 5:28 PM, Nikola Pavlović  wrote:

> About AHCI, it didn't attach after setting ahci_load="YES" in
> loader.conf so I assumed it wasn't enabled in BIOS.  As I don't have
> physical access to the machine I asked the support to enable it, and
> presumably they did (that's what they said, and the machine was rebooted
> when they said they did).  But still no luck.  It's a VIA 6420
> controller and maybe it doesn't support AHCI (couldn't find anything
> definitive on the net about that).


This appears to be the case.  There may be some sysctl which can alter ata
settings that might help like stuff under kern.geom.mirror.  It's already
been a long time since I've used 8.x so I don't remember everything.  Just
have to dig around.
-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Upgrading from 8.0 to 8.4 with freebsd-update?

2013-06-27 Thread Adam Vande More
On Thu, Jun 27, 2013 at 8:05 PM, Patrick  wrote:

> Is it possible to skip point releases using freebsd-update so that I
> can go from 8.0 to 8.4


Yes.  http://www.freebsd.org/releases/8.4R/relnotes-detailed.html#upgrade


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


Re: Troubleshooting a gmirror disk marked broken

2013-06-27 Thread Adam Vande More
On Thu, Jun 27, 2013 at 10:16 AM, Charles Swiger  wrote:

> If you haven't rebuilt the mirror already, running a full disk read scan
> against both drives (ie, via "dd if=/dev/ad4 of=/dev/null bs=1m" or
> similar)
> might be prudent.  That will help identify/migrate any sectors which are
> failing but still recoverable via ECC to the spare sectors.
>

I was going to say something like that too but AFAIK sectors aren't
remapped on failed reads, has to be written to(dd if=/dev/zero of=/dev/ad4
bs=1m).  If it were me, I make sure I had fully tested complete backups
before I broke the mirror and did that.

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


Re: Troubleshooting a gmirror disk marked broken

2013-06-26 Thread Adam Vande More
On Wed, Jun 26, 2013 at 9:38 PM, Nikola Pavlović  wrote:

> Hi,
>
> Last night during a massive (~1 year worth :| )
> portsnap fetch
>
> the server went unresponsive and ssh eventually disconnected.  I decided
> to leave it during the night, and, sure enough, the situation was the
> same in the morning, so I had to do a hard reset.  It came back up, but
> one of the two gmirror components was marked as broken and deactivated.
>
> The hang happened during the 'fetching new files or ports' (~24000 of
> them, there are currently ~1 snapshots in /var/db/portsnap) phase
> of postsnap fetch.
>
> /var/log/messages was completely silent during the period between the
> hang and the reset.
>
> Googling around I found a mention that it's possible to sometimes get a
> 'blip'[*] during busy periods, so I decided to just bite the bullet and
> reinsert the component with
> # gmirror forget gm0
> # gmirror clean ad4
> # gmirror insert gm0 ad4
>
> Currently it's syncing and things *seem* OK.  My question is how much
> should I be worried and what could be the cause of this?  Is it possible
> that  ports snapshot fetching caused this, or that perhaps it was the other
> way around (a failing disk causing the machine to choke during the huge
> portsnap fetch)?  How to proceed? :)
>

The messages log definitely shows problems with your io.  The smart log of
the disks are also at least mildly concerning and indicates the drives are
in a preliminary stage of death.  Some HD deaths take years to complete.
Expect random glitches and intermittent reduced performance as a continuous
degradation.   You might be able to alleviate some of this by switching to
the AHCI driver and bumping up timeouts but at the end of the day 2 flaky
disks in a mirror don't inspire confidence.

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

Re: install firefox without X

2013-06-18 Thread Adam Vande More
On Tue, Jun 18, 2013 at 8:41 AM, Pol Hallen  wrote:

> Hi all :-)
>
> I need use -X ssh and use firefox on remote machine:
>
> ssh -X -l user xxx host
>
> Is there a way to install firefox without X? or less ports possible
>

On a clean machine, setting WITHOUT_X11=yes in /etc/make.conf then using
ports to install firefox eg "portmaster www/firefox" is going to be the
easiest way to get a minimal install.  Then only required X11 components
will be pulled in(assuming the port tree is in a good state).   Obviously
X11 cannot be eliminated entirely on the headless system try to forward X11
apps.  There is a reason you have to type "ssh -X"

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


Re: installing a kernel under a custom location, not /boot/kernel?

2013-06-17 Thread Adam Vande More
On Mon, Jun 17, 2013 at 7:13 AM, Anton Shterenlikht wrote:

> I think there is an option for this.
> But I cannot find it under
> 9.5. Building and Installing a Custom Kernel
> http://www.freebsd.org/doc/handbook/kernelconfig-building.html
>
> I need to keep several kernels installed, not
> just the current and the previous. How to achive this?
>

KODIR=/boot/testkernel

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


Re: 9.1-RELEASE slow boot

2013-06-11 Thread Adam Vande More
On Tue, Jun 11, 2013 at 4:43 PM, Fernando Apesteguía <
fernando.apesteg...@gmail.com> wrote:

> I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead
> the default 5000.
> Still no luck. It doesn't make any difference so I suppose something
> else changed.
>
> Any ideas?
>
> Thanks in advance.


Try setting hw.usb.no_boot_wait=1

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


Re: buildworld selectively?

2013-06-10 Thread Adam Vande More
On Sun, Jun 9, 2013 at 4:27 PM, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:

> Walter Hurry  writes:
>
> > Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if
> > it was a silly question.
>
> Bear in mind that you're only going to be able to shave a small fraction
> off the build time. by excluding parts of the build. The 'games' section
> in particular has almost nothing in it.


You can save great deal of build time if you don't need much.  Between
limiting what is built for world and kernel, most builds could be cut to a
small fraction of what default is.  For example, WITHOUT_CLANG alone save a
lot of time.  However to get a complete targeted build takes a good deal of
effort.  Usually only makes sense for mass deployments IME.

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


Re: System Calls that do DNS

2013-06-04 Thread Adam Vande More
On Tue, Jun 4, 2013 at 12:21 AM, Doug Hardie  wrote:
> Unfortunately truss does not show anything more than ktrace.

Normally most people use truss first, then fall back to ktrace ;)

> Bind doesn't check the hosts files as far as I can tell.

System requests obey nsswitch.conf(5)

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


Re: setup journaling for root partition

2013-06-03 Thread Adam Vande More
On Tue, May 21, 2013 at 9:46 AM, Michael Sierchio  wrote:
> AFAIK Softupdates journaling still breaks snapshot functionality - which
> makes it unusable for me. I wouldn't assume that the O.P. doesn't want we
> he's asking for.

Fixed awhile ago unless there is new bug on that.  Haven't tried.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/161674


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


Re: mount_smbfs in base?

2013-05-31 Thread Adam Vande More
On Fri, May 31, 2013 at 1:41 PM, Quark  wrote:
>
> I saw that, but suspected I must have done something stupid that those 
> binaries got placed there.
>
>>
>>>  then what is extra in samba port?
>>
>> a SMB client and server
>
> so this SMB client is recentish than what is in base?

Yes.

> I 'guess' samba was GPL, is it OK to let live GPL s/w in base when such 
> strides are being attempted to oust GCC?

mount_smbfs isn't GPL.

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


Re: Should I move to amd64 ?

2013-05-30 Thread Adam Vande More
Given your description, no you should not move.

On Thu, May 30, 2013 at 1:04 PM, Michael Gass  wrote:
>
> I am currently using a 9.1-RELEASE with an i386 install.
> The hardware is a core 2 duo with 2 GB of RAM.  My video card
> is an ati radeon hd 2400 xt. Things work fine.
>
> Would I gain anything by starting over and doing an AMD64 install
> or would that be a bad idea?  Would my system perform better, worse,
> or the same after the change? I may eventually bring the memory up
> to 4GB, but not anytime soon.
>
> I understand some ports my not work - like WINE - but I do not use
> WINE. Would there be other problems?
>
> --
> Michael Gass
> mg...@csbsju.edu
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



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


Re: "swap" partition leads to instability?

2013-05-29 Thread Adam Vande More
On Wed, May 29, 2013 at 2:52 PM, jb  wrote:
> Well, Linux utilizes swap space as part of virtual memory.


As does every other Unix.



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


Re: "swap" partition leads to instability?

2013-05-29 Thread Adam Vande More
PS -- Moderating questions@ is just awful.  I'm disappointed.

On Wed, May 29, 2013 at 1:34 PM, Adam Vande More  wrote:
> On Wed, May 29, 2013 at 1:05 PM, Warren Block  wrote:
>> And you don't think the presence of TRIM--where the SSD can actually know
>> which blocks are no longer in use--is worthwhile?
>
> As a whole, TRIM is worthwhile.  However when an SSD is
> overprovisioned it provides a lot of benefits.  TRIM-less swap in this
> case doesn't.  The PE rate of the worst MLC SSD's at this point is
> @3000 AFAIK.  Given those figures and average desktop swap rate at my
> estimation, prioritizing write endurance on an SSD is not
> beneficial(especially with a SanForce).  If you are swapping
> continuously something like ZeusRAM may be required.  There are
> probably other solutions available as well as other 3rd party ones.
> If you are swapping a lot, the best case is usually to add RAM.
>
> --
> Adam Vande More



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


Re: "swap" partition leads to instability?

2013-05-29 Thread Adam Vande More
On Wed, May 29, 2013 at 1:05 PM, Warren Block  wrote:
> And you don't think the presence of TRIM--where the SSD can actually know
> which blocks are no longer in use--is worthwhile?

As a whole, TRIM is worthwhile.  However when an SSD is
overprovisioned it provides a lot of benefits.  TRIM-less swap in this
case doesn't.  The PE rate of the worst MLC SSD's at this point is
@3000 AFAIK.  Given those figures and average desktop swap rate at my
estimation, prioritizing write endurance on an SSD is not
beneficial(especially with a SanForce).  If you are swapping
continuously something like ZeusRAM may be required.  There are
probably other solutions available as well as other 3rd party ones.
If you are swapping a lot, the best case is usually to add RAM.

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


Re: "swap" partition leads to instability?

2013-05-29 Thread Adam Vande More
On Wed, May 29, 2013 at 6:19 AM, jb  wrote:
> - overcommitment of memory (a bluff asking to be punished by OOM killer)

No self respecting Unix has an OOM by default.

> - OOM killer

Are you suggesting FreeBSD does this crap?

> Besides, they allow sloppy/dangerous programming.

Yup, in the kernel.

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


Re: "swap" partition leads to instability?

2013-05-26 Thread Adam Vande More
On Sun, May 26, 2013 at 7:20 PM, Warren Block  wrote:
> Which part?

This part:  "Another problem with SSDs is that they can have
difficulty with wear leveling."  Do as I suggested and you'll get
maximum life from the drive even with swap present.  Even absent of
best practices, SSD's in general do a great job in managing wear
leveling.  We're 5+ years out from crappy SSD's with dynamic wear
leveling.  Modern SSD's don't suffer nearly the write amplification
effect of earlier drives.  Also the write amplification effect only
comes into play during random writes.  A lot of common swap usage
isn't random.  All this is of course assuming we're dealing with a
quality drive.  If you're using a cheap Chinese knock off, all bets
are off.

> A FreeBSD swap partition has no way to use TRIM, so I suggest
> using a swap file on top of UFS, which does support TRIM.
>
> Using TRIM should preserve performance better than leaving unused space and
> letting the drive wear leveling algorithm move data around without the hint.

Normal dynamic wear leveling on a modern SSD will be better than
imposing an FS- backed swap for 4GB partion occupying a small fraction
of total drive space.  File backed paging imposes two sets of
bottlenecks and TRIM only *helps* with one.  Another part of the
equation is how much is swap used.  If rarely, this is a non-issue to
begin with.  If it's significant, any flash SSD probably isn't
appropriate.  Certain other SSD's are not subject to these guidelines
at all.

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


Re: "swap" partition leads to instability?

2013-05-26 Thread Adam Vande More
On Sun, May 26, 2013 at 6:32 PM, Warren Block  wrote:

> Another problem with SSDs is that they can have difficulty with wear
> leveling.  This is even worse with swap because there is no way to use TRIM
> to tell the SSD about blocks that have been freed.

Um, that is wrong.  It is in fact the basically the point of TRIM.
And SSD's typically use the best form of wear leveling and it's
usually advisable to leave a bit of the drive unpartitioned/unused to
ensure the wear leveling works optimally.



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


Re: FreeBSD, VBox, mouse integration

2013-05-21 Thread Adam Vande More
On Tue, May 21, 2013 at 11:25 AM, asf8g 9hf32  wrote:
> Hello,
>
> I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too.
> I'd like to integrate mouse from guest and host(I don't want to use right
> ctrl to free mouse from guest).
> I'm using vbox guest additions to do it. I have loaded drivers(vboxguest
> and vboxvideo).My rc.conf has lines
>
> vboxguest_enable="YES"vboxservice_enable="YES"
>
> but mouse isn't integrated.
>
> Could you tell me what to do to integrate mouse ?


https://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests

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


Re: How to get kernel source code of free-BSD release 9.1

2013-05-19 Thread Adam Vande More
On Sun, May 19, 2013 at 4:03 PM, Chou, David J  wrote:
> Hi,
>
> I  have created a virtual machine of PC-BSD release 9.1 64 bit in VMware 
> Player Version 5.0.0 build-812388 based on PCBSD9.1-x64-DVD.iso downloaded 
> from ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.iso , and 
> setup network configuration and installed Firefox 20.0 by AppCafe, and 
> configured the network setting in Preference->Advanced of Firefox, and I 
> could  access Internet.
>
> Now I need to build my own customized kernel, but there is no src 
> subdirectory in /usr, so here is my question:
>
>   1.  Is there any way to install kernel source when I create the  virtual 
> machine from PCBSD9.1-x64-DVD.iso ?

 mount_cd9660 /dev/acd0 /mnt && tar -C / /mnt/usr/freebsd-dist/src.txz

>   2.  Any BKM to get the kernel source after the Virtual Machine already 
> created as my case now?

fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.1-RELEASE/src.txz





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


Re: Restaging from scratch

2013-04-03 Thread Adam Vande More
On Wed, Apr 3, 2013 at 4:16 PM, Grant Peel  wrote:

>
> If anyone is willing to explain step by step, how to boot, create the
> filesystems, and make the disk bootable using 9.1 & gpart etc I would
> appreciate it!
>

The easiest way is to boot off of USB memstick image and use the installer
to partition and install the OS.  Instructions are in the handbook as
always.

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


Re: ZFS - whole disk or partition or BSD slice?

2013-02-02 Thread Adam Vande More
On Sat, Feb 2, 2013 at 9:51 AM, james  wrote:

> On 28/01/2013 16:10, Paul Kraus wrote:
>
>> I have been using ZFS with GPT partitions with no issues. I have
>> NOT compared performance between whole disk and partitioned, which is where
>> the difference in Solaris arises (ZFS makes better use of the physical
>> drive's write cache).
>>
>
> Well, it is the write cache manipulation and flushing that I'd like to
> have turned on.  Anyone know what the score is with FreeBSD?


It is on.  Whether it's a raw drive or partition, the device is under
control of GEOM.  ZFS talks fine with either.  Just make sure partitions
are 4k aligned if necessary.

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


Re: zfs configuration

2013-01-21 Thread Adam Vande More
On Mon, Jan 21, 2013 at 10:33 PM,  wrote:

> On Mon, Jan 21, 2013 at 07:50:58AM -0800, Don Dugger wrote:
> > Hi All,
> >
> > So I use zfs for the root file system. Works well. However now I want to
> > move /tmp to ram-disk (memory disk or what ever). When I try to unmount
> > /tmp with the zfs command of course it won't because its busy. With ufs I
> > would just edit fstab and reboot what do I don with zfs??
>
> You can install and run 'lsof' to see which running programs are currently
> using anything in "/tmp". Stop them, mount a new /tmp, and then restart
> them.
>

Or use fstat and avoid the lsof overhead

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


Re: What is the timeout of TCP in freeBSD?

2013-01-21 Thread Adam Vande More
On Sun, Jan 20, 2013 at 9:38 PM, Karthik Reddy <22karthikre...@gmail.com>wrote:

> When I change the kern.hz to 50, the timeout is happening at 76sec. Could
> you please elaborate on kern.hz and how does it effect timing.
>

Lower frequency so less opportunities for errors to be introduced, although
you may have greater network latency at that setting.

Some setting under sysctl kern.timecounter and/or sysctl kern.eventtimer
should be able to allow the guest to run better if the hypervisor can't do
it.

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


Re: What is the timeout of TCP in freeBSD?

2013-01-20 Thread Adam Vande More
On Sun, Jan 20, 2013 at 8:50 AM, Karthik Reddy <22karthikre...@gmail.com>wrote:

> I was doing a experiment on FreeBSD for testing TCP timeout and RTO. OS is
> being run from two different VMware versions 4.0 and 5.0.
>
> Present Scenario: VMware Player 4.0
> I'll start a telnet session to a non-existing system in the network. When I
> look at the tcpdump the RTO starts at every 3 seconds and after some
> exponential backoff starts. In this scenario after 75 seconds the TCP gives
> up and tells me that there is no system existing with the IP and telnet
> session terminates.
>
> Next Scenario: VMware Player 5.0
> In this scenario, I did the same but the RTO starts at 5 sec and then
> varies. In this scenario, it takes more than 120 seconds for telnet session
> to tell me that there is no system is available in the network.
>
> I have seen sysctl in both VM's. net.inet.tcp.keepinit = 75000
>
> Is this problem something related to timing of the VM's or any other issue?
>

What's the wallclock delta during such a test?  Have you tried setting
'kern.hz="50"' or fiddling other TC options?  UP VM's tend to keep time
better than other multicore configs.

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


Re: absurd I/O perf with ZFS: hangs on zfs->cv)

2013-01-18 Thread Adam Vande More
On Tue, Jan 15, 2013 at 10:57 PM, Eitan Adler  wrote:

> Hi all.
>
>
> Running FreeBSD 9.1-Release, I am seeing some absurd hangs (10 minutes
> or more to open a file) with SIGINFO informing me that the process is
> stuck on zio->io_cv.
>
> Does anyone have any suggestions for what I want to look at to tune
> this?
>

https://wiki.freebsd.org/ZFSTuningGuide  Even has a section on laptop
settings.  Also the ZFS Evil Tuning Guide



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


Re: sh script problem with capturing return code

2013-01-09 Thread Adam Vande More
On Wed, Jan 9, 2013 at 7:23 PM, Lowell Gilbert <
freebsd-questions-lo...@be-well.ilk.org> wrote:

> Lowell Gilbert  writes:
>
> > I think it's a real bug, and the test cases don't cover "extra" elements
> > at all. Now I just have to figure out the right fix.
>
> I'm pretty sure that the fix is just to set rval on jumping to the
> "extra" tag in vwalk() in src/usr.sbin/mtree/verify.c.
>
> But my hot water heater just exploded, so I may not look at code for a
> few more days.


I think they are importing NetBSD's updated mtree, perhaps already fixed
there.

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


Re: utility to compare 2 dir trees

2013-01-01 Thread Adam Vande More
On Mon, Dec 31, 2012 at 8:39 PM, Fbsd8  wrote:

> ended up trying
> cd dir-tree1
> mtree -c | mtree -p dir-tree2
>
> Now this seems like it worked, except every thing was flagged for
> non-matching modification time. How do I tell it to not check modification
> time?
>


mtree -c -k sha256digest,uname,gname | mtree -p dir-tree2

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


Re: utility to compare 2 dir trees

2012-12-31 Thread Adam Vande More
On Mon, Dec 31, 2012 at 7:23 PM, Fbsd8  wrote:

> I want to compare 2 different directory trees to each other to locate any
> differences in directories and files contained there in.
>
> Any suggestions?
>

mtree(8)

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


Re: updatedb?

2012-12-18 Thread Adam Vande More
On Tue, Dec 18, 2012 at 3:01 PM, Walter Hurry  wrote:

> Security through obscurity? Really? In this
> day and age?
>

My password is obscured from you.  I consider that more secure regardless
of what any other opinion is.

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


Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-05 Thread Adam Vande More
On Wed, Dec 5, 2012 at 5:42 PM, Damien Fleuriot  wrote:

>
>
> On 6 Dec 2012, at 00:19, Tim Daneliuk  wrote:
>
> >  sudo chown root:wheel my_naughty_script
> >  sudo chmod  700 my_naughty script
> >  sudo ./my_naughty_script
> >
> >   The sudo log will note that I ran the script, but not what it did.
> >
> >
>
> wow, way to complicate matters.
>
> sudo csh
>
>
>
> > So Gentle Geniuses, is there prior art here that could be applied
> > to give me full coverage logging of every action taken by any person or
> > thing running with effective or actual root?
> >
> > P.S. I do not believe
>
> Now would be a good time to start, then.
>
> The only things you need to ensure are:
> - auditd cannot be killed off (this is an interesting bit actually, anyone
> knows how to do that ?)
>

Can't be done really for an id 0 account.  Not without extensive
customization anyway. However the Audit Distribution Daemon was
recently committed so audit logs could potentially be stored in different
location easily.


> - the audit trail files can only be appended to ; man chflags


Audit Distribution Daemon would alleviate this as well.

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


Re: Somewhat OT: Is Full Command Logging Possible?

2012-12-05 Thread Adam Vande More
On Wed, Dec 5, 2012 at 5:19 PM, Tim Daneliuk  wrote:

> This is a little bit outside the strict boundaries of a FreeBSD question,
> but I am hoping someone in this community has solved this problem and
> that I might be able to adapt it for non-FreeBSD systems (AIX and Linux,
> specifically).
>
> P.S. I do not believe auditd does this either.
>

Challenge your beliefs.

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


Re: No xrstor Error Encountered During Buildkernel

2012-11-30 Thread Adam Vande More
On Fri, Nov 30, 2012 at 12:02 PM, Tim Daneliuk wrote:

> I have a FBSD 9.0 VM running under VirtualBox (hosted under Mint Linux).
> I blew away /usr/src and rebuilt it with 9-STABLE via subversion.
> Then, I did a mergemaster.
>
> When I try to now do a buildword, it blows up after about 15 minutes
> of compilation with:
>
> /usr/src/sys/amd64/acpica/**acpi_switch.S: Assembler messages:
> /usr/src/sys/amd64/acpica/**acpi_switch.S:146: Error: no such
> instruction: `xsetbv
> '
> /usr/src/sys/amd64/acpica/**acpi_switch.S:147: Error: no such
> instruction: `xrstor
>  (%rbx)'
> *** [acpi_switch.o] Error code 1
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** [buildkernel] Error code 1
>
>
> Ideas?


That is a VM is not related to your problem.  Your problem lies somewhere
within the environment in the OS like an incorrect make.conf or ccache
usage. Occasionally, a problem on a STABLE branch preventing a build, but
this is rare.



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


Re: Odd X11 over SSH issue

2012-11-23 Thread Adam Vande More
On Fri, Nov 23, 2012 at 11:43 AM, Paul Kraus  wrote:

> I am seeing very poor response time running the VitrualBox GUI via X11
> tunneled over SSH via the Internet. The issue _appears_ to be limited
> to the VBox GUI as Firefox is reasonable. I am well aware of the
> latency issues tunneling X11 over SSH across the Internet, but that is
> what we are stuck with for the moment. The server is running FreeBSD 9
> and is patched as of about 4 weeks ago.
>

Start it with "--graphicssystem native"


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


Re: virtualbox with FreeBSD as host

2012-11-18 Thread Adam Vande More
On Sun, Nov 18, 2012 at 6:36 PM, Fbsd8  wrote:

> One word answers have no meaning.
>

That which can be asserted without evidence can be dismissed without
evidence.


> As I understand the VB manual there is only 2 ways to CREATE virtual
> machines on a freebsd host. Launch VB from the host x11 desktop which
> launches the VB config screen or use headless commands from host command
> line which just creates control files without the VB screens being
> displayed.
>
> If you know of some other ways them explain your self.


There is nothing in the VB manual which says the x11 server has to be
running on the host system.  You do need an x11 server to access the QT4
GUI however it can reside on a remote system and even a Windows Box.  Just
need the x11 libs locally that is it.


>
>
>>
>>   So the bottom line is virtualbox=desktop.
>>>
>>>
>> Since you can access it only by traditional server means, it's a desktop
>> app?
>>
>>
> Have no idea what you trying to say by the above statement that ends in a
> question mark. Please clarify.
>

Please answer the question as implied by the question mark.


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


Re: virtualbox with FreeBSD as host

2012-11-18 Thread Adam Vande More
On Sun, Nov 18, 2012 at 7:50 AM, Fbsd8  wrote:

>
> So I was barking up the wrong tree. By design virtualbox requires a
> desktop on the host to use the virtualbox built in config screens


False


>  So the bottom line is virtualbox=desktop.
>

Since you can access it only by traditional server means, it's a desktop
app?

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


Re: virtualbox with FreeBSD as host

2012-11-16 Thread Adam Vande More
On Sat, Nov 17, 2012 at 3:10 AM,  wrote:

> Adam Vande More  wrote:
> > On Fri, Nov 16, 2012 at 3:18 PM, Fbsd8  wrote:
> > > I do not run x11 or any desktop on my 9.0 host.
> >
> > This would be your problem.
>
> How so?  Surely virtualbox _should_ be able to hand off a VT to the
> XP guest, for it to use as a keyboard, mouse, and display.  (This
> supposes that the FreeBSD box in question _has_ a keyboard, mouse,
> and display, and thus has a VT that it can hand off.)


I see what you are saying but that isn't possible currently with
Virtualbox.  The closest piece of tech I know of the OP's request is Xen
VGA passthrough.

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


Re: virtualbox with FreeBSD as host

2012-11-16 Thread Adam Vande More
On Fri, Nov 16, 2012 at 3:18 PM, Fbsd8  wrote:

>
>>>>> I read the UserManual and think I am barking up the wrong tree.
>

It's called the XY problem, and it's resolved by asking better questions.


> So lets start over again with what the wanted desired result is.
> I have 9.0 installed on my 200gb hard drive, it's configured to use the
> first 100gb leaving the second 100gb free. I was going to install XP in
> the second half and have a duel boot config. Then I find out XP has to
> be install first on the HD meaning I have to install 9.0 from scratch
> again. I read a post on this list where it was suggested to run
> Virtualbox on my 9.0 host and then run XP as a guest. I want to boot the
> 9.0 host and login to the 9.0 host, start the Virtualbox XP guest and
> enter the XP guest [IE: be in the XP OS windows environment], can I do
> all that from the host command line?


Yes.  Although you certainly wouldn't use the headless mode since you want
a head.


> I do not run x11 or any desktop on
> my 9.0 host.


This would be your problem.

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


Re: WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date.

2012-11-15 Thread Adam Vande More
On Thu, Nov 15, 2012 at 3:57 PM, Matthias Petermann wrote:

> Hello,
>
> from a freshly installed FreeBSD 9.0-RELEASE I did a freebsd-update to
> bring
> it to the latest patch level.
>
> After:
>
> # freebsd-update fetch
>
> I got this message:
>
> WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date.
> It is strongly recommended that you upgrade to a newer
> release within the next 2 months.
>
> What does this exactly mean?


Means exactly what it says.  9.0 will soon be unsupported.  Things like p1,
p2 etc are patchsets to a release, they are not a release onto themselves.

http://www.freebsd.org/security/#sup

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


Re: 9.0 crash, ssd or filesystem problem?

2012-11-15 Thread Adam Vande More
On Thu, Nov 15, 2012 at 1:18 PM, Gary Aitken wrote:

> Error 6 is ENXIO, device not configured; not sure exactly what that means.
>
> This machine has:
>   16G   mem
>0.5G swap
>2G   /tmp
>4G   /var
> Is any of that likely to be related to the problem?
>
> Given an addr in the failure error:
>   g_vfs_done() ada0p6 [WRITE(offset=38838571008 length=4096)]error=6
> how does one relate that addr to the partitioning scheme?
>
> ~$ gpart show ada0
> =>   34  250069613  ada0  GPT  (119G)
>  34128 1  freebsd-boot  (64k)
> 162   41943040 2  freebsd-ufs  (20G)  /
>419432021048576 3  freebsd-swap  (512M)swap
>429917788388608 4  freebsd-ufs  (4.0G) /var
>513803864194304 5  freebsd-ufs  (2.0G) /tmp
>55574690  192216088 6  freebsd-ufs  (91G)  /usr
>   2477907782278869- free -  (1.1G)
>
> Thanks for any insights,
>

Sounds like you have bad hardware.  Drive, cable, controller etc.  Probably
wouldn't hurt to do a fsck either.


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


Re: Shut-down when access to NFS share is gone

2012-11-15 Thread Adam Vande More
On Thu, Nov 15, 2012 at 7:37 AM, Leslie Jensen  wrote:

>
> I managed to shut down a machine with an NFS share before the connected
> client was shut down.
>
> Now this client won't shut down. It stands at : All buffers synced.
>
> I suspect it's waiting for the NFS server in order to disconnect.
>
> Is there any time-out I must wait for? Will it help to bring the NFS
> server back up?
>
> Can I in anyway tell such a client to ignore such an error?
>

http://www.freebsd.org/cgi/man.cgi?query=mount_nfs&sektion=8

If the server becomes unresponsive while an NFS file system is mounted,
 any new or outstanding file operations on that file system will hang
 uninterruptibly until the server comes back.  To modify this default be-
     haviour, see the *intr* and *soft* options.


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


Re: Question regarding a server with an unsupported old version

2012-10-21 Thread Adam Vande More
On Sun, Oct 21, 2012 at 9:31 PM, Rei Okamoto  wrote:

> Hello to all,
>
> My name is Rei Okamoto posting from Japan.
>
> I'm very new to FreeBSD and please pardon and caution me
> if anything I post is in any way inappropriate.
>
> Here's a problem I'm facing right now.
>
> I started working for a company this month as a
> sole engineerer, given all my tasks with virtually
> no manuals other than IP addresses, IDs and PWs.
> (Dangerous, but not such a rare case in this country)
>
> One of the clients is running the web site using
> FreeBSD 4.7.
>
> Although it is surely the best to renew the server to
> newest machine and OS, the client is reluctant to do so
> because of money.
>
> So a long story short, because I need to do some testing,
> I've installed FreeBSD 4.11 to the VirtualBox as a
> test server in my local PC and got the network connected.
>
> I want to build the test server as close to the
> actual server as possible, such as considering the
> OS's version 4.11 to be close enough to 4.7, but
> as I try to install PHP4 with a following command,
>
> pkg_add -r php4-4.3.6.tgz
>
> I get an error message below.
>
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.11-release/Latest/php4-4.3.6.tgz:
> File unavailable (e.g., file not found, no access)
>
> So you probably can figure out the rest of the story,
> it is all too old to make a near duplication of the server.
>
> Is there any suggestion on what I can do
> other than convincing the client to renew the server?
> (which I am doing but already been politely refused)
>
> Pardon me for the long message,
> and thank you in advance for all replies.
>

You can find an archive of packages released with FreeBSD 4.11 here:
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.11-RELEASE/packages/All/

However, you'll find the packages are different than those released with
your original version.  A move from 4.7 to 4.11 doesn't really gain you
much.  Better off to start a migration strategy or leave it alone.

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


Re: Sysctls and privacy

2012-10-14 Thread Adam Vande More
On Sun, Oct 14, 2012 at 8:33 PM,  wrote:

>
>> Here is the catch. I know I can read-only mount most static filesystems
> from a template. However, the mutable ones have to be copied.
>

Says who?  Is this your requirement?  Why?


> Because someone might know the program memory, cpu or network usage
> patterns
> and extrapolate from the data. Firefox is a good example because it
> eats up huge amounts of RAM and garbage collects it quite fast. So when
> that pattern shows up you know someone is probably using Firefox.
> This, of course, also applies to other programs.
>

If this is really a serious concern of yours, you have much bigger fish to
fry than sysctl(8).

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


Re: Virtualbox

2012-10-06 Thread Adam Vande More
On Sat, Oct 6, 2012 at 10:49 PM, Bernt Hansson  wrote:

> When I try to start a virtual os in virtualbox i get an error.
>
> kldload vboxdrv.ko
> kldload: can't load vboxdrv.ko: Exec format error
>
> Rebuilt VB and still this error
>
> 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jan 12 15:13:06 CET 2012
> GENERIC amd64
>

Update your kernel sources to match the installed.


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


Re: File permissions - how to "lock" a directory

2012-09-29 Thread Adam Vande More
On Sat, Sep 29, 2012 at 4:41 PM, Paul Schmehl wrote:

> I have a particularly thorny problem I'm trying to solve, but I'll bet
> FreeBSD has a solution.
>
> I'm running a webserver using suphp.  It's very picky about permissions.
> It wants the web server user (www) to be the owner of all directories and
> files.
>
> Meanwhile, the site owners want to be able to update and add files to the
> site.  When they update files everything is fine.  When they upload new
> files, the ownership of the file is user:user instead of www:user, so
> apache can't display them.
>
> Is there a way to "lock" a directory such that all files created in that
> directory are owned by the directory owner?  If not, I'll have to script
> something to change perms after uploads.
>

There is the suiddir option, see mount(8) and chmod(2).

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


Re: Replacing mirrored swap

2012-09-20 Thread Adam Vande More
On Thu, Sep 20, 2012 at 11:47 AM, Scott Ballantyne  wrote:

> Hi,
>
> I'm using a ZFS mirror, and had a disc fail. I had a spare unused disc
> in the case, and just switched over to that, after partitioning it
> with gpart. ZFS is great, just have to say that.
>
> But I'm not sure about the correct way to bring the new swap partition
> online. Do I use gmirror label, as I did when I created it? Or gmirror
> insert?  Or something else. I'm using the round-robin balancing
> algorithm, if that matters.
>
> Thanks in advance for your help.
> Scott
>
>
The handbook or man page on gmirror cover this exact scenario.

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


Re: trouble building 'ndis' device driver into stripped-down custom kernel.

2012-09-10 Thread Adam Vande More
On Mon, Sep 10, 2012 at 2:23 PM, Robert Bonomi wrote:

>
> Enviorment is FreeBSD 8.3,  i386
>
> I'm currently running a stipped-down custom kernal with all superfluous
> devices/options removed.
>
> I'm trying to add the 'ndis' device back in, but when I follow the
> directions
> on the ndis(4) manpage, and add:
> options NDISAPI
> device  ndis
> and try to re-compile the kernel (config, cd, make depend, make), linking
> fails, with:
> if_ndis.o(.text+0x1104): In function 'ndis_detach':
> : undefined reference to 'ndis_free_amem'
> if_ndis.o(.text+0x1194): In function 'ndis_attach':
> : undefined reference to 'ndis_alloc_amem'
>
> Obviously, the config file is missing 'something'  -- does anybody have
> any ideat _what_ that something is?
>
>
It seems you need

device pccard

and whatever that depends upon if anything.

Another solution is here:

http://lists.freebsd.org/pipermail/freebsd-current/2004-November/042586.html

although it seems only lines 1083/4 need to go in my version.

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


Re: Building a computer for FreeBSD

2012-08-20 Thread Adam Vande More
On Mon, Aug 20, 2012 at 9:43 PM, Tyler Campbell <
ty...@tristatesafeandlock.com> wrote:

> Is there a list of parts for building a personal computer or do you just
> read through the hardware list?
>

Usually everything works on standard consumer hardware...defer to big name
where possible eg intel.  The usual hotspots are video(use Nvidia for path
of least resistance/most performance) and brand new hardware.


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


Re: Best file system for a busy webserver

2012-08-16 Thread Adam Vande More
On Thu, Aug 16, 2012 at 10:45 AM, Paul Schmehl wrote:

> Does anyone have any opinions on which file system is best for a busy
> webserver (7 million hits/month)?  Is anyone one system noticeably better
> than any other?
>
> Just curious.  I'm getting ready to setup a new box running FreeBSD 9, and
> since I'm starting from scratch, I'm questioning all my previous
> assumptions.
>

Sounds like you have ample hardware, so I would probably consider ZFS.  You
get a lot of other options with it which simply aren't available or harder
to manage on a UFS system.  Things like data integrity, ZIL/ARC, live
low-cost snapshots, diff'ing the snapshot, transparent compression, etc all
come with ZFS.  Great tools for certain scenarios.  Properly setup, ZFS
RAID functionality will own any hardware raid solution ever presented
because ZFS doesn't rely on a battery for consistency, nor do they provide
most other features stated including integrity oriented ones.  ZFS is
intended to work with raw disk/JBOD. Good controllers are still important,
they simply don't have the knowledge to use them at peak efficiency.

I don't see much benefit to SSD's for this use case.  All the common files
should be in the fs cache which is at least an order of magnitude faster
than flash based memory, and finding enterprise SSD's(preferably SLC) which
obey FLUSH commands appropriately and have a capicitor appropriate to
production use is something more of a crapshoot than traditional SATA/SAS
drives.

All that being said, UFS is fine too.  I use it most often for light VM
installs and where resources are scarce.  However the 2 single biggest ZFS
feature I like are the data integrity and transparent compression are
wonderful which aren't available in UFS.  ZFS snapshots are much more
functional as well and go well w/ zfs send/receive.

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


Re: can't build Samba 35 on FreeBSD 9.0

2012-08-15 Thread Adam Vande More
On Wed, Aug 15, 2012 at 8:59 PM, James D. Parra wrote:

> Hello,
>
> I am trying to install Samba35 on FreeBSD 9.0 but I keep getting a build
> error.
>

The text you gave us gives me the thought you are flailing in the dark.
 First off, use a port management tool eg portmaster.  Learn how to use it
fully including regularly reading /usr/ports/UPDATING The handbook has
great information on managing ports, I suggest reading it closely if you
want FreeBSD to be your friend.

In this scenario, you would use

portsnap fetch update(assuming you've once a portsnap extract once before)
portmaster /usr/ports/net/samba35

The specific error in your message indicates some problem with ccache.
 What does your /etc/make.conf look like?

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


Re: NFS within a Jail?!

2012-08-10 Thread Adam Vande More
On Wed, Aug 8, 2012 at 1:57 PM, Fbsd8  wrote:
>
> Dealing with this has been SOP practice in jails since their inception.
>>  See man 8 jail.  The best way to run the NFS server is from the jail.
>>  Running it host side is the hard part.
>>
>>
> http://www.freebsd.org/cgi/**query-pr.cgi?pr=133265<http://www.freebsd.org/cgi/query-pr.cgi?pr=133265>
> The jail code maintainer says NFS server/client will not work jailed. So
> since you say this is SOP (standard operation procedure) then why is there
> no documentation available on how to do it? All the Google hits for "NFS
> running from Freebsd jail" end with no one got it to work. Have you done
> this? Do you have a procedure to post or know of a posted procedure giving
> step-by-step sequence to get NFS running in a jail with or without
> VIMAGE/VNET for Release 8.x or 9.x versions?


That PR is about mounting a fs in a jail, specifically one proved by NFS.
 What does that have to do with the OP's question?  It's quite clear you
didn't read the full thing.



> Still doesn't change the FACT it's experimental!


Which is your sole reason for poo=pooing it?  Are you talking about the
arbitrary line between experimental and production?  I wonder how a piece
of functionality transitions from experimental to production...is it
possible we get there by promoting mindshare of the new piece instead of
FUD?

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


Re: NFS within a Jail?!

2012-08-08 Thread Adam Vande More
On Wed, Aug 8, 2012 at 9:02 AM, Fbsd8  wrote:
>
> Long answer is; NFS requires rpcbind to function. rpcbind is dependent on
> a network stack. Jails do not have their own network stack, they use the
> hosts network stack.


Dealing with this has been SOP practice in jails since their inception.
 See man 8 jail.  The best way to run the NFS server is from the jail.
 Running it host side is the hard part.


> There is some experimental software to give each jail its own network
> stack but I sure would not deploy a production system based on this.
>

There are a number of people who have reached the
opposite decision concerning VIMAGE/VNET enabled jails.  They are much
easier to work with and provide nice capabilities.

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


Re: Disk Errors

2012-07-24 Thread Adam Vande More
On Tue, Jul 24, 2012 at 11:40 AM, dweimer  wrote:

> Just curious, I am sure the likely issue is a bad disk, but I thought
> there might be a chance this could be caused by possibly by something else.
>
> I have three 1TB disks I use for backup, two of them are Western Digital
> drives I bought specifically for this purpose.  One is a Seagate drive that
> came out of a barebones PC that I replaced with a couple smaller drives in
> a stripe to gain performance.  I use the drives in an external SATA dock,
> using geom eli encryption, the western digital drives give me no problems,
> but the seagate drive gives me a lot of the following errors under load.
>
> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=817755328
> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=837397120
> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=879786112
> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=882931200
> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=890542016
> ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=902767296
> ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=904071296
>

This type of problem has been a consistent problem on FreeBSD until mid 8.x
range.  Try upgrading your system to something a little more modern.

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


Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-22 Thread Adam Vande More
On Sun, Jul 22, 2012 at 6:05 PM, Jakub Lach  wrote:

> Speaking of misunderstanding, that's certainly
> possible.
>
> How much overhead is "normal" and alternatively,
> why in FreeBSD USB 2.0 reports as "40MB/s" and
> not other arbitrary number.
>

The overhead includes many different things including hardware latency.
 However the big one is USB communication itself.  That is static, you
can't change it and it doesn't vary(assuming same communication type).
 Your reported speeds are typical, and in all likelihood would be very
similar under another OS.



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


Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s?

2012-07-22 Thread Adam Vande More
On Sun, Jul 22, 2012 at 4:20 PM, Jakub Lach  wrote:

> Hi,
>
> I was fortunate enough to buy USB 3.0 pendrive,
> which actually works with FreeBSD just ripped from
> package! (normal _empty_ FAT filesystem, no
> garbageware added, no need to format).
>
> It actually bounces from 40MB/s limit when reading
> from it.
>
> Writing is about 18MB/s.
>
> Device is supposed to be "467x" which should
> be about 70MB/s.
>
> And USB 2.0 hard limit is 60MB/s.
>
> Wouldn't be nice to squeeze few additional
> MB/s?
>

You are suffering a misunderstanding of how USB 2 works.  There is a lot of
overhead to it.  If you want USB 3 speeds, buy a USB 3 controller.
-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: fsck on FAT32 filesystem?

2012-07-16 Thread Adam Vande More
On Mon, Jul 16, 2012 at 10:50 AM, Jerry  wrote:
>
> >
> > This is *precisely*  why dd is _grossly_inferior_ to
> > professional-grade tools like Spinrite.
> >
> > With the settings the resident "infallible expert on everything"
> > <*SNORT*> recommends, dd will make _one_ attempt to read each disk
> > sector, going through the O/S's device driver code, and write out
> > 'whatever it got', regardless of whether or not ane sort of
> > read-error was signalled.  This results in GUARANNTEED,
> > *UNRECOVERABLE*, GARBAGE in the copy, _every_ place where a read
> > error was encountered.  This result can be marginally acceptable --
> > for 'first-cut' attempts at accessing 'easily recoverable' data on
> > the disk.
> >
> > 'dd' is purely 'amateurville', however, when it comes to recovering
> > =critical= data inside an 'unreadable' (by the O/S) disk block.
> >
> >
> > Spinrite, and other professional-grade tools, run absolutely
> > stand-alone, without the use of _any_ O/S drivers, or even BIOS
> > code.  Spinrite _directly_ programs the hard-disk-controller chip,
> > can retrieve into memory _every_ bit -- including address-marks,
> > sector framing, recorded ECC bits, and so on -- on a track, for
> > analysis, can seek from an inner track, read the bits, then seek from
> > an _outer_ track, and do another read. It can also do things like
> > step the heads 'fractionally' off the track center, and read
> > _there_.  By doing these kinds of *very*low*level* operations, that
> > are forbidden to any 'userland' task, by an O/S, tools like Spinrite
> > can do a FAR BETTER job of extracting data from damaged disks.
> >
> > Professional-grade tools can also do things like 'pre-initialize' the
> > I/O buffer _in_the_disk_itself_, with _different_ bit patterns on
> > multiple read passes,  They can thus find bitstrings that are (a) the
> > 'prior data' in th buffer, (b) bits that are read consistently from
> > the disk, and (c) bits that 'change value' from one read attempt to
> > the next.  This allows such tools to do a much better job of
> > RECONSTRUCTING the actual data in the 'error' sector(s).
> >
> >
> > "Make a copy, and work only on the copy" _is_ good advice for
> > attempting 'simple' data recovery with tools that run in 'userland',
> > under an O/S. When the 'simple' approach fails, or is insufficient,
> > it is time to bring out the "big guns" -- things like Spinrite --
> > which -require- direct accesss to the original damaged disk. Since
> > Spinrite, and similar tools, operate READ-ONLY on the disk -- which
> > is *not* guaranteed if there is a general-purpose O/S in the wa -- it
> > _is_ generally safe to let them access the damaged original.  The
> > problematic situation is where spinning up the drive causes -more-
> > damage to the media..
>
> +1
>
> I use to keep SpinRite on a flash drive that I could easily carry with
> me if needed. Of course that would require the machine to be worked on
> to have the ability to boot from a flash drive. Unfortunately, not all
> of them could. Fortunately, I almost never need an industrial strength
> recovery product like SpinRite. It is nice to know it is available if I
> do though.


SpinWrong is a scam, Gibson is a fraud, and this conversation is pure
marketing gibberish. I thought most had overcome this credulity years ago.
 It appears I was mistaken.


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


Re: fsck on FAT32 filesystem?

2012-07-15 Thread Adam Vande More
On Sun, Jul 15, 2012 at 4:29 PM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:

> totally in error. SpinRite will attempt to read a damage sector up to
>> 2000 times and through different algorithms determine what is most
>>
>
> man dd
>

Even better,

recoverdisk /dev/da0 /dev/da1



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


Re: fsck on FAT32 filesystem?

2012-07-15 Thread Adam Vande More
On Sun, Jul 15, 2012 at 2:23 AM, Ronald F. Guilmette
wrote:
>
> Is there any such a tool (as fsck for FAT32) available for freeBSD?  If so,
> where would I find it?
>

/sbin/fsck_msdosfs

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


Re: Question about gmirror priorities

2012-07-06 Thread Adam Vande More
On Fri, Jul 6, 2012 at 8:10 AM, Michael Ross  wrote:

> Hi,
>
> the manpage says for ``gmirror label'':
>
> The order of components is important,
> because a component's priority is based on its position
> (starting from 0 to 255).
>
>
> so I would expect to have different priorities for the components,
> yet both are listed with a priority of 0:
>

I would expect components to have a different priority if I assigned them
one.  Otherwise I would assume they have the default priority.  I don't
know if makes it makes any difference for the algo you are running anyways.

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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Adam Vande More
On Sun, Jun 24, 2012 at 6:59 PM, Al Plant  wrote:
>
> I need to get an old parallel Omega Zip drive to work on a freeBSD 8.* to
> transfer some archives to new media.
>
> I have a problem with getting the OS to read the Omega Zip drive so it can
> be seen in dmesg to manually set the id correctly in /etc/fstab Flash
> drives and floppies show up but not Parallel Omegas. My wifes MS machine
> has no parallel input and my several FreeBSD boxes do but wont find the
> hardware. I used to use Omega Zip under FreeBSD 4.11. Thought these had
> been transferred years ago but they were only found recently.
>
> Any suggestions appreciated.
>

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/article.html

Also at /boot/kernel/vpo.ko


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


Re: backup tools

2012-06-22 Thread Adam Vande More
On Fri, Jun 22, 2012 at 11:09 AM, Chad Perrin  wrote:

> I'm setting up a "new" backup server using FreeBSD.  It will be used for
> backing up laptops, which will not be connected to the network by any
> kind of schedule, so backups will be initiated manually rather than by
> cron or other scheduled procedures.  I'm trying to decide on what tools
> to use for managing backups.  In the past I have used rsync, which has
> worked reasonably well, but fails one of my desired criteria for the new
> backup procedures, and is less than ideal for others.
>

One's I use or have used:

sysutils/rdiff-backup
sysutils/tarsnap
misc/amanda-server

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


Re: Need latest xorg

2012-06-20 Thread Adam Vande More
On Wed, Jun 20, 2012 at 7:02 AM, Lynn Steven Killingsworth <
blue.seahorse.syndic...@gmail.com> wrote:

> Hi FreeBSD -
>
> I have an AMD HD 7950 video card so I am trying to install the latest
> FreeBSD xorg available (7.5.2) for an updated driver.
>
> When I start make the install immediately stops at MesaLib-7.6.1.tar.gz.
>  I can restart it on a primary using the location given then after a short
> time the install stops at /x11/9menu  (/9menu-1.8.shar.gz)  I can also
> attempt to restart this on a couple of servers but after a trip around the
> world my install still stops at /x11/9menu


Post the error messages so we can tell what is going on instead of what you
think is going on.   A few tips:

*  Use a port managament tool, preferably portmaster.
*   set RANDOMIZE_MASTER_SITES in /etc/make.conf to force trying different
download locations.
*  You may be interested in sysutils/fastest_cvsup

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


Re: No sound in my FreeBSD 9

2012-06-20 Thread Adam Vande More
On Wed, Jun 20, 2012 at 7:21 PM, sw2wolf  wrote:
>
> pci1:  at device 0.0 (no driver attached)
>

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

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


Re: New to FreeBSD - Some questions

2012-06-20 Thread Adam Vande More
These are good guidelines to follow:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html

Try to avoid X Y problems.  Initiating it with the root question will give
the best results.

On Wed, Jun 20, 2012 at 7:32 AM, Fred Morcos  wrote:

> Hello all,
>
> I am new to FreeBSD, coming from a GNU/Linux background (most
> comfortable with Archlinux). I compiled a series of questions I would
> like to ask in different areas and categories. Should I send them all
> in a single email message or should I split them by subject/topic into
> different emails?
>
> The advantage of the former is that I will be able to easily show
> relations between the different topics and questions (put them into
> context) as well as articulate the setup I would like to reach. The
> advantage of the latter is that it is cleaner and simpler to answer
> one question by one.
>
> Also, I have done a bit of poking around to answer each of my own
> questions, obviously with no luck, so I do not mind RTFM-ing - I would
> actually prefer it, please feel free to link me to an article,
> tutorial, man page or handbook that already answers one or more
> question(s).
>
> Cheers,
> Fred
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



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


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-20 Thread Adam Vande More
On Wed, Jun 20, 2012 at 1:59 AM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:
>
> OK? Can you just answer that simple question clearly?
>

Yes Wojciech, I can attempt an answer for you.  Pay attention, this gets
very complex.

The decision to move to Clang was motivated by what is best for the
project, and not what is best for Wojciech.

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


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-19 Thread Adam Vande More
On Wed, Jun 20, 2012 at 12:18 AM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:

> Yes, Clang in general produces slower binaries than gcc.  Is that in
>> dispute or something?  Or is this just repetition in case we
>> didn't hear you the first time?
>>
>
> just yesterday i've heard lots of otherwise claim.
>
>
>
>> Try thinking of the transition as a step back to take many steps forward.
>>
>
> What exactly step forward it means?
>

These are a few:

http://clang.llvm.org/comparison.html#gcc

And the performance overall in clang is gaining more rapidly than gcc.  At
it's present rate, it won't be long until your are complaining for clang to
be the default if that is your primary objection.  Other factors have
pushed this change into motion sooner than perhaps desirable for some.
 However, it is inevitable given the licensing barriers and the project's
long term goals.  Eliminating, or at least not being dependent on a GNU
toolchain.  GPL v3 brings with it a whole host problems such as:

http://www.tech-faq.com/linux-licensing-in-conflict-with-secure-boot-support.html

Those licensing issues may not be an issue for you, but they are for many
of the targets FreeBSD wishes to serve so keeping the base system as
unpolluted as possible is important.

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


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-19 Thread Adam Vande More
On Tue, Jun 19, 2012 at 11:26 PM, Wojciech Puchar <
woj...@wojtek.tensor.gdynia.pl> wrote:

> i tested your test program, and in that case, contrary to testing common
> unix programs, difference is far higher showing gcc superiority.
>
> i did this test with FreeBSD 9 supplied clang and FreeBSD 9 supplied gcc.
>
> clearly shows that clang actually cannot do more agressive optimization
> (that trades space) at all, and at -O2 is far slower.
>

Yes, Clang in general produces slower binaries than gcc.  Is that in
dispute or something?  Or is this just repetition in case we didn't hear
you the first time?

Try thinking of the transition as a step back to take many steps forward.
 Or just change your compiler.  Complaining on this list is definitely the
wrong place though.  Those who have offended your sensibilities by moving
to Clang don't live here.

People have already done nice work on the benchmarks:

http://blog.vx.sk/archives/25-FreeBSD-Compiler-Benchmark-gcc-base-vs-gcc-ports-vs-clang.html

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


Re: Newbie question: Why aren't my cron jobs running?

2012-06-11 Thread Adam Vande More
On Mon, Jun 11, 2012 at 9:04 PM, Walter Hurry  wrote:

>
> #min hr dom month dow command
>
> SHELL=/bin/bash
>
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/
> daddy/bin
>
> HOME=/home/walterh
>
>  00  02 *   * *   /home/walterh/exports.sh
>
>  05  02 *   * *   /home/walterh/backup_etc.sh
>
>  10  02 *   * *   /home/walterh/systemcheck.sh
>
>  15  02 *   * *   /home/walterh/backup_bsd.sh
>
> $
>
> So what is wrong? Why is nothing happening? I have consulted the handbook
> but see nothing.
>

You really have bash in /bin ?  Are your scripts executable?  What does
/var/log/cron say?

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


Re: speed of "dump"

2012-06-11 Thread Adam Vande More
On Mon, Jun 11, 2012 at 7:14 AM, Robert Huff  wrote:

>
>  DUMP: finished in 1746 seconds, throughput 19568 KBytes/sec
>

Looks like one of your disks must be USB.

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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-01 Thread Adam Vande More
On Thu, May 31, 2012 at 6:59 PM, Thomas Mueller wrote:
>
> I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the
> printer all right when connected by Ethernet, but then fails on installing
> the required binary plugin.  Printer is not detected at all when connected
> by USB.
>
> NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't
> find the printer on Ethernet, next step is to login to wireless router,
> and/or check the dmesg.boot, and then use the IP address found therefrom.
>
> pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
> pkgsrc URL: http://www.netbsd.org/docs/software/packages.html
>
> I wonder if I should have bought a printer, non-HP, with wireless, as long
> as it also had USB and Ethernet capability.
>
> Seeing security advisories for FreeBSD, my next move might be to update
> the source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and
> build for i386 as well.  Then I would have the possibility of building wine
> from the ports, and I could try the MS-Windows software.  I also need to
> update the other ports, including but not limited to hplip and dependencies.
>

I added a HP Photosmart C6300 series via CUPS using HP Photosmart c6300
Series hpijs, 3.11.5 socket://192.168.25.15:9100

Prints fine over wireless.

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


Re: automating menu options in ports (and other ports build questions)

2012-05-24 Thread Adam Vande More
On Thu, May 24, 2012 at 8:51 PM, Polytropon  wrote:

> On Thu, 24 May 2012 19:28:58 -0600, Gary Aitken wrote:
> > 3. Do the package builds use the defaults set in the ports tree?  If
> > not, how are the options for packages chosen, and how does one determine
> > what the package options are?
>
> They use the default options.


This is true for most ports at least, but perhaps not true for all of them.
 For example the QT4_OPTIONS controls some rather critical functionality
which is compiled into the packages however doesn't end up in a default
port install without other modification in make.conf.  It
wouldn't surprise me at all if there were a few port config screens that
didn't match a package's selected options.

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


Re: FreeBSD X?

2012-05-17 Thread Adam Vande More
On Thu, May 17, 2012 at 7:45 PM, Daniel Staal  wrote:

> --As of May 17, 2012 8:36:38 PM -0400, Vance Siemens is alleged to have
> said:
>
>  http://www.trollaxor.com/2012/**05/freebsd-x-berkeley-unix-**
>> apple-quality.ht<http://www.trollaxor.com/2012/05/freebsd-x-berkeley-unix-apple-quality.ht>
>>
>
> Um, wasn't April 1st *last* month?
>

Perhaps it's the author, it's at least some type of "hey look at me!" type
of behavior.

http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033580.html

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


Re: which filesytems zfs needs to function

2012-04-30 Thread Adam Vande More
On Mon, Apr 30, 2012 at 7:20 PM, Edward M  wrote:

> Hi,
>
> I was running FreeBSD 9.0 using ZFS with the following setup on one
> harddrive:
> *(5) Create appropriate filesystems (feel free to improvise!).*
>
> zfs create zroot/usr
> zfs create zroot/usr/home
> zfs create zroot/var
> zfs create-o  compression=on-o  exec=on-o  setuid=off zroot/tmp
> zfs create-o  compression=lzjb-o  setuid=off zroot/usr/ports
> zfs create-o  compression=off-o  exec=off-o  setuid=off
> zroot/usr/ports/distfiles
> zfs create-o  compression=off-o  exec=off-o  setuid=off
> zroot/usr/ports/packages
> zfs create-o  compression=lzjb-o  exec=off-o  setuid=off zroot/usr/src
> zfs create-o  compression=lzjb-o  exec=off-o  setuid=off zroot/var/crash
> zfs create-o  exec=off-o  setuid=off zroot/var/db
> zfs create-o  compression=lzjb-o  exec=on-o  setuid=off zroot/var/db/pkg
> zfs create-o  exec=off-o  setuid=off zroot/var/empty
> zfs create-o  compression=lzjb-o  exec=off-o  setuid=off zroot/var/log
> zfs create-o  compression=gzip  -o  exec=off-o  setuid=off zroot/var/mail
> zfs create-o  exec=off-o  setuid=off zroot/var/run
> zfs create-o  compression=lzjb-o  exec=on-o  setuid=off zroot/var/tmp
>

The filesystems are mostly arbitrary.  You really only need the rootfs with
appropriate directories underneath.  The list provided is simply a concise
idealized layout.

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


Re: First character typed lost

2012-04-29 Thread Adam Vande More
On Sun, Apr 29, 2012 at 6:04 PM, Warren Block  wrote:

> On a Gateway ML6732 notebook, FreeBSD 9-stable is working great.  Video
> works (i915), sound works, the only thing that isn't quite right is that
> the first character typed after the FreeBSD kernel loads is lost. After
> that, it works normally.  This makes entering a passphrase more challenging.
>
> Any suggestions on what to check?  ACPI? atkbd hints?
>
> Currently it's running 9-stable, but did the same thing with 8.x.  Of
> course it works normally for the BIOS and boot menu, FreeBSD loader menu,
> Windows, and Xubuntu.
>
> The system is not terribly old, a Pentium Dual T2390, and this is with a
> GENERIC kernel.
>
> sysctl shows
>
>  dev.atkbdc.0.%desc: Keyboard controller (i8042)
>  dev.atkbdc.0.%driver: atkbdc
>  dev.atkbdc.0.%location: handle=\_SB_.PCI0.LPCB.PS2K
>  dev.atkbdc.0.%pnpinfo: _HID=PNP0303 _UID=0
>  dev.atkbdc.0.%parent: acpi0
>  dev.atkbd.0.%desc: AT Keyboard
>  dev.atkbd.0.%driver: atkbd
>  dev.atkbd.0.%parent: atkbdc0
>
> dmesg shows
>
>  atkbdc0:  port 0x60,0x64 irq 1 on acpi0
>  atkbd0:  irq 1 on atkbdc0
>  kbd0 at atkbd0
>  atkbd0: [GIANT-LOCKED]
>

Sometimes ps/2 devices are actually USB ones so I might try fiddling with
BIOS USB settings eg legacy mode to see that makes a difference.  Maybe try
suggesting a different IRQ in device.hints?  Just fishing.

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


Re: Performance and mouse problems

2012-04-27 Thread Adam Vande More
On Fri, Apr 27, 2012 at 11:13 AM, Albert Shih  wrote:

> Hi all
>
> I've got two very strange problem
>
> I'm running 9-stable on a Dell Laptop E4200.
>
> Since this morning when I put a USB mouse (I've try three mouses to be
> sure) it's not working. The kernel and HAL see the mouse but Xorg don't
> seem do anything.
>
> The second point is the load of the system is alway more than 1 (~1.5-2)
> event I do nothing. I kill all services, daemon, software and the load
> never drop.
>
> I've stop :
>
>hald
>dbus
>powerd
>etc...
>
> and ps don't show any process eating some ressource. But the load is high
> (and the laptop is very hot).
>
> I make a csup of world and build new userland, and news kernel. And nothing
> change
>

http://www.wonkity.com/~wblock/docs/html/aei.html

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


Re: FreeBSD vice OS X memory management

2012-04-25 Thread Adam Vande More
On Thu, Apr 26, 2012 at 12:04 AM, jb  wrote:

> If so, should FreeBSD adopt NetBSD's MM subsys, or just improve itself
> surgically ?
>

You ought first establish there is a problem.  What you have cited is
recently reinvigorated trend that has taken on the air of  the "BDS is
dying" troll.  What you have is a set of computer users with no
understanding of kernel internals attempting to diagnose some sort of
possibly legitimate problem by reaching conclusion via rumor and
guesswork.  These people can be taken about as seriously as those who
insist the moon landing was fake and other bizarre ignorant pseudo-science.

http://workstuff.tumblr.com/post/19036310553/two-things-that-really-helped-speed-up-my-mac-and
http://dywypi.org/2012/02/back-on-linux.html

When you have a test case illustrating your feared FreeBSD VM shortcomings,
you may at that point begin to attract developer interest.


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


Re: recommendation(s) for new computer

2012-04-20 Thread Adam Vande More
On Fri, Apr 20, 2012 at 10:19 AM, Christian Baer <
christian.b...@uni-dortmund.de> wrote:

> Most of these components aren't all that thrilling (because they will
> run with just about anything), but you are welcome to comment on them if
> you think I could/should rethink an aspect. Remember that I live in
> Germany and my choice fell on things that I can easily get on the German
> market. I took a look at the costs and the prices that Intel wants for
> their CPUs and mainboards just blew my socks off! Therefore, I decided
> that this will be an AMD-computer (again).
>

I'm not sure where the power/performance/price ratio is at currently, but
it wasn't that long ago purchasing an intel was a much better deal long
term.  It was something like it took a year and half of an AMD and intel
cpu idling to draw even in total price all the while having a much greater
performance potential with Intel.  I say this as someone who hopes AMD will
succeed.  There is much more to it than just raw upfront cost.





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


Re: mounting ext2fs

2012-04-19 Thread Adam Vande More
On Thu, Apr 19, 2012 at 1:59 PM, Matthias Apitz  wrote:

> What do you expect exactly from this command? The actual shell will open
> /dev/da0 for writing + truncating and will connect (dup) its fd 1 to it;
> then it will execute 'true', perhaps as buit-in; so what?
>

As he stated, it forces a GEOM retasting which is something necessary when
dealing with removable media.  However I don't think it will help in this
case as the device is already seen.  More likely the problem is the fs
itself.   I'm having trouble discerning the current problem you are trying
to solve given the scattered nature of the thread, but in general trouble
mounting ext2/3 fs results from one of 3 things.

GEOM doesn't see the partion which is what the "true > /dev/da0" fixes
The fs wasn't dismounted cleanly and needs to be fsck'd
The fs was created in a manner incompatible with FreeBSD ext2/3 support.

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


Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-07 Thread Adam Vande More
>
> > > I don't know why !?
> > >
> > > Is ext2fs.ko loaded? Does /var/log/messages reveal anything?
>
>
> Yes :
>
> casa# kldstat | grep ext
>  91 0xc8806000 1ext2fs.ko
> casa#
>
>
> I try:
>
> casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
> mount: /dev/da1a : Invalid argument
>
> /var/log/messages :
>
> Apr  7 22:16:35 casa kernel: ext2fs: da1a: wrong magic number 0 (expected
> 0xef53
>
>
What is the output from "gpart list"?

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


Re: Token Ring (really)

2012-04-06 Thread Adam Vande More
On Fri, Apr 6, 2012 at 9:27 PM, Jay West  wrote:

> Well, found the XP drivers for the card (it's a Madge Smart MK4 PCI
> adapter,
> not olicom as I thought).
>
> Ndisgen seemed to work fine
>
> After kldloading the resulting module, ifconfig shows:
> ndis0: flags=8843 metric 0 mtu 1500
>ether 00:00:00:ee:ed:c6
>media: Ethernet autoselect (100baseTX)
>status: no carrier
>
> It is connected though (via DB9, not RJ45). I don't see how you can specify
> 4mbps or 16mbps, attempting the oltr media types for example "UTP/4mbps"
> says no such media type.
>
> I am wondering if the ndisgen utility is only designed for ndis Ethernet
> cards instead of my case - ndis token ring. :(
>

It is still in the 7.x branch:
http://svnweb.freebsd.org/base/stable/7/sys/contrib/dev/oltr/

Otherwise, it's time to abandon steamships for airplanes.  Sounds like you
have a primed business opportunity just waiting to be exploited.

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


Re: Best practices about Jails

2012-04-04 Thread Adam Vande More
On Wed, Apr 4, 2012 at 3:16 AM, Andrea Venturoli  wrote:

> Second question: from inside the jail I can access all services on
> localhost (eg. telnet localhost pop3, where a pop3 server is running on the
> host). Can this be avoided, e.g. with ipfw?
> Ideally, since this jail will run only one deamon and it will be accessed
> through Apache mod_proxy from the host, I'll just need inbound access to
> its port and outbound access to smtp and web proxy on the host system. No
> direct access from/to other hosts.
> Is this possible?
>

I use http://druidbsd.sourceforge.net/vimage.shtml to manage VIMAGE jails.
It works well.  I don't use any of the jail frameworks in ports because I
don't run a large amount of jails which is where one sees the greatest
benefit from them.  Of course they make certain optimization and procedures
easier, but there is something to be said for learning the canonical way
jails operate before implementing them in a more abstract framework.  My
statements are not considering the rc.d/jail* and vimage package as
frameworks(although they are in a way at least).

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


  1   2   3   4   5   6   7   8   >