Why is Qemu not in Handbook

2010-04-14 Thread Bob Johnson
For years I used Qemu to run Windows XP under FreeBSD. It worked fine.
A few months ago I saw a message that VirtualBox was now working
correctly under FreeBSD. So I tried to install it and it wouldn't
build. But that's not the actual topic of my question. In the process
of trying to install VirtualBox I noticed that Qemu is not mentioned
in the Handbook. It's not even mentioned under Other Virtualization
Options.  So my actual question is:

Why is Qemu not mentioned in the Handbook?

There is already a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=127923

Even just a mention with a link to http://wiki.freebsd.org/qemu would
be helpful.

Thanks,

-- 
-- Bob Johnson
___
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: HELP! Is that possible creating a user named root but acturallynot the administrator root

2010-02-13 Thread Bob Johnson
On 2/12/10, Jason Lin taosheng@gmail.com wrote:
 I try this method, after set the password of toor,
 I  can't login with the account toor.

It is possible (I don't remember) that the toor account does not
have a shell in the default passwd file. If that's the problem, use
vipw to add the path to a shell as the last field on the line.  The
root account should provide a good example, or look at the line for
your own user account. /bin/csh should work for recent versions of
FreeBSD.

- Bob
___
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: HELP! Is that possible creating a user named root but acturally not the administrator root

2010-02-11 Thread Bob Johnson
On 2/11/10, Robert Huff roberth...@rcn.com wrote:

 Lin Taosheng writes:

  Is that possible to implementated?


Yes, use vipw to edit the password file. Add another username that is
UID zero. The name toor is actually already there as an example of
how to do that, but it is disabled because it has a * in the
password field. After the new username is tested and you know it
works, use vipw to replace the password field for root to an *.
Then root will still exist, but it will not be possible to log in to
it. You could also delete the entire line for root, but that gets
farther into unusual territory and increases the chance that you will
break something else by doing so.

   For most purposes, what's important is not the account name,
 but the User II.  Root is special because it has UID 0.  You can,
 create other accounts with UIS 0 ... but it's usually a Very Bad
 Idea.

I know of no reason that this would be a bad idea. It is in fact
useful in some situations to have more than one admin account, enough
so that about a decade ago some effort was put into making sure it
works properly when you do that in FreeBSD.

 As far as I know, there's no reason you can't rename the root
 account and have a non UID 0 account with that name.  On the other
 hand, if you're asking this question there may be a better way to
 accomplish your objective: would you care to share?

Having an account named root that is not UID 0 (i.e. not an
administrator), is likely to have unexpected side effects that you
probably won't like. So even though it has theoretical security
advantages (because unlike Windows, you can't remotely query FreeBSD
and ask it the name of its administrator account), it probably isn't a
good idea. A quick search turned up problems when people tried this in
Debian, and I would expect similar issues in FreeBSD. But if you try
it, I'd love to hear the result.

If you are worried about remote logins to the root account, that is
actually disabled by default in FreeBSD. The biggest hazard you face
in that area is that if you configure SSH to use PAM login, the PAM
subsystem can allow remote root logins when you think they are
disabled. You have to be careful to configure SSH (and anything else
that uses PAM) correctly in that situation.

- Bob Johnson
___
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: HELP! Is that possible creating a user named root but acturally not the administrator root

2010-02-11 Thread Bob Johnson
On 2/11/10, Jerry McAllister jerr...@msu.edu wrote:
 On Thu, Feb 11, 2010 at 01:58:07PM -0500, Bob Johnson wrote:

 On 2/11/10, Robert Huff roberth...@rcn.com wrote:
 
  Lin Taosheng writes:
 
   Is that possible to implementated?
 

 Yes, use vipw to edit the password file. Add another username that is
 UID zero. The name toor is actually already there as an example of
 how to do that, but it is disabled because it has a * in the
 password field. After the new username is tested and you know it
 works, use vipw to replace the password field for root to an *.
 Then root will still exist, but it will not be possible to log in to
 it. You could also delete the entire line for root, but that gets
 farther into unusual territory and increases the chance that you will
 break something else by doing so.

 If I take what the OP said literally, you are answering backwards.
 The OP asked if it is possible to name a different account root - eg
 one that is not UID 0.You are answering that it is possible to
 give an account other than root a UID 0.

 Now, the OP may have meant to ask what you are answering and just
 got it mixed up.   But, that was not the way the question went.

Oops. Rats. When I started my reply I had it right, but by the time I
finished I had confused myself. Thanks.

Anyway, it's possible, but in practice it probably won't work right,
and doesn't do much for security anyway.

- Bob
___
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: this may be impossible: iis there a way to play streams on our firefox?

2010-02-04 Thread Bob Johnson
On 2/4/10, Adam Vande More amvandem...@gmail.com wrote:
 On Thu, Feb 4, 2010 at 10:07 AM, Adam Vande More
 amvandem...@gmail.comwrote:

 On Thu, Feb 4, 2010 at 9:56 AM, Mike Clarke
 jmc-freeb...@milibyte.co.ukwrote:

 Is it just me or is the flash plugin still not fully functional? I'm
[...]


 I don't have either of those issues.  I've come across a couple of players
 that don't work, but all the standard ones like youtube, pbs, bbc all work
 perfectly for me.


 I would like to amemd that statement by saying they work perfectly for me
 except for an occasional temporary browser freeze.  This occur when entering
 or leaving a page at which point the entire browser will hang for maybe 30
 seconds then recover and perform as usual.  This a random event, but
 probably occurs at least daily.

When I upgraded one of my systems a few months ago, it had that
symptom, except it happened every time I entered a page that included
flash. I ended up uninstalling flash because it was too annoying and I
didn't really need it on that system.

More recently, I set up a system with flash and it works fine except
that in YouTube I often have to refresh the page to get the video to
load. For some reason the player doesn't seem to initialize when I
enter the page, but reloading it always works ok.

I suspect most of the problems people are having with Flash 10 have to
do with lingering old libraries or something like that. A brute force
rebuild of all ports might fix them. Also, pay attention to the
correct make.conf settings for the Linux kernel stuff.

-- 
-- Bob Johnson
___
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 First?

2010-01-27 Thread Bob Johnson
The only thing that looks out of place is that you have defined
ad0s1-2 before ad0s1-1. I've never tested it, but perhaps this is
causing it to get confused when calculating the disk layout? In other
words, perhaps you should use

#1G swap followed by / on rest of disk.
 #
 ad0s1-1=swap 2097152
 #All the rest is FreeBSD with soft updates.
 ad0s1-2=ufs 0 / 1

so they are defined in numerical sequence.


On 1/27/10, Martin McCormick mar...@dc.cis.okstate.edu wrote:
 Our FreeBSD systems mostly have a very simple disk layout. There
 is a 1 or 2-gigabyte swap partition and all the rest is FreeBSD.
 When manually configuring these partitions in sysinstall, I
 usually set up swap first with a 1GB size and then use the
 remaining  space by selecting the values as defaults.

   An attempt to script this in an install.cfg file is not
 going well. The disk formatting part of the file is as follows:

 disk=ad0
 partition=all
 bootManager=none
 diskPartitionEditor
 #Entire disk is FreeBSD.
 diskPartitionWrite
 

 
 # All sizes are expressed in 512 byte blocks!
 #
 #1G swap followed by / on rest of disk.
 #
 ad0s1-2=swap 2097152
 #All the rest is FreeBSD with soft updates.
 ad0s1-1=ufs 0 / 1
 # Let's do it!
 diskLabelEditor
 diskLabelCommit

 # OK, everything is set.  Do it!
 installCommit

   This doesn't work. sysinstall reports that it can't
 write the swap space.

   fdisk reports a FreeBSD partition and all the others are
 shown as free.

   Any ideas? Thank you.

 Martin McCormick WB5AGZ  Stillwater, OK
 Systems Engineer
 OSU Information Technology Department Telecommunications Services Group
 ___
 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



-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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


NDIS panics (Was: Can I rescan for new PCI devices? Or should hotplugging Expresscards work?)

2010-01-11 Thread Bob Johnson
On 1/9/10, Paul B Mahol one...@gmail.com wrote:
 On 12/16/09, Bob Johnson fbsdli...@gmail.com wrote:
 I'm using an ExpressCard for wireless networking because there seems
 to be no driver for the internal card in my laptop (and NDIS panics
 the system). The Expresscard shows up as a PCI device and works fine,

 How are you using NDIS and when system panic what is displayed?

I tried to use ndisgen with the internal Dell 1397 card. I don't have
details available right now, although if you need them I can try it
again. When I did the kldload the system spit out error messages about
unknown symbols and then panic-ed. I did some searching of the
archives and found a message describing the same symptoms, and the
response posted was that it indicated that the Windows driver made API
calls that were not implemented in the NDIS wrapper.

This was a 64-bit Windows driver and an amd64 FreeBSD system. Similar
results in both
FreeBSD 7.2 and 8.0.

It appears that kern/132672 is describing the same or a very similar
issue.  It also suggests that there is a more fundamental problem than
the unrecognized symbols.

I can try to reproduce the problem tonight if you want me to.

Thanks,

-- 
-- Bob Johnson
___
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 a disk with ignoring errors

2010-01-05 Thread Bob Johnson
On 1/5/10, Yuri Pankov yuri.pan...@gmail.com wrote:
 On Tue, Jan 05, 2010 at 03:31:46PM +0100, Christoph Kukulies wrote:
 I recall a case when I had a hard disk that had got bad sectors and
 it wasn't accessible through normal mounting anymore.
 Then a tool came into the game that - I believe - Poul Henning had
 recommended or written for this purpose.

 It copies a disk sector by sector to a file (kind of dd), but
 ignores errors, it just skips sectors it couldn't read (after a
 couple
 of retries). The result was, that one had a - albeit - worm-eaten -
 image of the disk allowing to access the filesystem
 and getting to the important files with a little luck these not
 being amongst the corrupted data.

 Anyone knowing what this little tool was named? Something like
 diskcopy, devcopy, I forgot.

 --
 Christoph

 dd conv=noerror?

I think you need sync also. E.g.

dd if=/dev/ad3 of=disk.img bs=512 conv=sync,noerror

will replace the unreadable blocks with blocks of NULs.

-- 
-- Bob Johnson
___
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: re-write is this booting info correct?

2010-01-05 Thread Bob Johnson
On 12/28/09, Fbsd1 fb...@a1poweruser.com wrote:


 How is this rewrite correct?
[...]

 corrupted by a virus. Microsoft/Windows provides no native method of
 selecting which partition to boot from in a multiple partition allocation.

Windows NT and XP both use a built-in boot loader that can be used to
select the boot partition. You can use it to dual-boot Windows and
FreeBSD, or multiple versions of Windows (or both). There is a FreeBSD
FAQ that explains how to configure it at
(http://www.freebsd.org/doc/en/books/faq/disks.html#NT-BOOTLOADER).
Basically, you edit the c:\boot.ini file and do a bit of other magic.

In Vista and Windows 7 it changed to some new method that can still
boot your choice of partitions, but the native configuration tool
provided can only configure it to boot different versions of Windows.
To configure it to boot FreeBSD you need a third-party tool (EasyBCD
is popular).

-- 
-- Bob Johnson
___
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: snd_hda blues

2010-01-04 Thread Bob Johnson
It is likely that whomever is able to help you will need additional
information. You can get this information by rebooting your system and
selecting Boot FreeBSD with verbose logging from the boot menu.
After it boots, use grep hdac /var/run/dmesg.boot to extract the
detailed information about your sound system configuration and post it
back to freebsd-questions.

If I have time I will try to look through the info and come up with a
suggestion, but I must warn you in advance that I am unlikely to find
the time in the next few days, so post the info to the list to give
others a chance to look at it.

- Bob


On 1/4/10, Sandra Kachelmann s.kachelm...@googlemail.com wrote:
 I am trying to get my HDA based soundcard work on both output jacks
 (back by the card and on the jack on top of the tower).

 With earlier FreeBSD versions I was able to have my speakers plugged in
 on the back of my soundcard and whenever I would plug in the headphones
 on the top of the tower the speakers would mute and the sound would
 play on the headphones.

 Now this doesn't work anymore. The speakers work but plugging in the
 top tower jack won't do anything.

 Looking at man snd_hda I tried all the examples (adding stuff
 to /boot/device.hints). None of the examples did what I wanted.

 By googling a little bit I found a dude who had the same problem so I
 simply copied the device.hints lines that solved his problem.

 The following lines make my headphones work:

 hint.hdac.0.cad0.nid22.config=as=1 seq=15
 hint.hdac.0.cad0.nid24.config=as=3
 hint.hdac.0.cad0.nid26.config=as=1
 hint.hdac.0.cad0.nid29.config=as=2

 However, after that my speakers are mute, all the time. If anyone could
 help me restoring the old snd_hda behaviour I would be very thankful
 since I don't quite understand what the snd_hda manpage is trying to
 tell me (sorry, I really tried...).

 Here are the information I think might help:

 $ cat /dev/sndstat
 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
 Installed devices: pcm0: HDA Realtek ALC883 PCM #0 Analog at cad 0
 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex
 default)

 Any help is gratefully apreciated.

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



-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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


Can I rescan for new PCI devices? Or should hotplugging Expresscards work?

2009-12-16 Thread Bob Johnson
I'm using an ExpressCard for wireless networking because there seems
to be no driver for the internal card in my laptop (and NDIS panics
the system). The Expresscard shows up as a PCI device and works fine,
except that it must be in the system at boot time to be recognized.

Judging by old posts I found on the topic, it appears that automated
hotplugging of PCI devices is probably still work in progress, but is
there a way to manually have the system rescan for PCI devices so I
don't have to reboot when I insert the network card?

I'm using 8.0 RELEASE amd64.

Thanks!

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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: 8.0-RELEASE and dangerously dedicated disks

2009-12-02 Thread Bob Johnson
On 11/28/09, Peggy Wilkins enli...@gmail.com wrote:
 Can someone elaborate on what exactly this statement in the 8.0
 detailed release notes means?

 http://www.freebsd.org/releases/8.0R/relnotes-detailed.html#FS

 2.2.5 File Systems

 “dangerously dedicated” mode for the UFS file system is no longer
 supported.

  Important: Such disks will need to be reformatted to work with this
 release.

[...snip...]

 It doesn't make sense to me that dangerously dedicated could have an
 impact on UFS filesystems specifically.  A partition table is just a
 partition table, regardless of what filesystems might be written on
 disks, yes?  Am I misunderstanding something here?


Unless someone has changed the meaning of the term in the last few
years, a dangerously dedicated disk is one that has the FreeBSD file
system on it with no partition table. It is basically an artifact of
the pre-Microsoft origin of BSD (there were reasons it stayed around,
but they ought to be ancient history by now). Since UFS is the
standard FreeBSD filesystem, DD disks contain UFS filesystems almost
by definition.

So, to get to the main point of your confusion (and unless I am the
one that is very confused), dangerously dedicated disks do not have
partition tables. That's what makes them dangerous. It confuses things
that expect to find a partition table.

If your partition name has an s (slice number) in it (e.g. ad2s1a)
it is not dangerously dedicated. A DD disk partition would have a
name like ad2a with no slice number. At least, that's the way it
used to be. I quit using DD disks years ago when it became clear to me
that the unintended side effects aren't worth the few bytes you save.
Every once in a while a BIOS, or a utility, or something else pops up
that expects to find a partition table and gets confused without it.
It appears that it has happened again.

 Thanks for helping to clear up my confusion...

I hope I helped.

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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 vs Disc (was: WD External Disc Drive)

2009-10-26 Thread Bob Johnson
On 10/26/09, Polytropon free...@edvax.de wrote:
 On Mon, 26 Oct 2009 12:07:45 +, Arthur Chance free...@qeng-ho.org
 wrote:
 The distinction you make is one
 I've not come across before, and I've worked with computers for nearly
 40 years.


Same here. I've always been told they were completely interchangeable.

I do recall that when floppy drives appeared for personal computers in
the late '70s and early '80s, there was some argument about the
correct spelling. The claim was that disc was correct, and that some
ignorant hobbyist at a new computer company had misspelled it as
disk and it stuck. But IBM used the disk spelling long before
that, so I don't think that was really what happened.

Looking in the OED, I find that disk was the original spelling, and
in the late 1800s disc became popular, then around 1950 disk
started regaining popularity, largely in the computer industry.


- Bob

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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: Using ctorrent or other program to seed a torrent

2009-06-30 Thread Bob Johnson
On 6/28/09, Kelly Jones kelly.terry.jo...@gmail.com wrote:
 I know how to use ctorrent to create a torrent file, but how do I
 actually seed the resulting file so that others can get it, and how do
 I 'register' myself w/ a tracker so that others will know what IP
 address to connect to, etc?

I haven't done it in a while, but after you create the .torrent file,
you upload the .torrent file to the tracker. That's basically all the
registration you need to do. The .torrent file contains the
information other clients need to download the file. You then start
seeding the file with your client, which connects to the tracker and
advertises the availability of the file.

To seed the file, you basically just do exactly what you would do if
you were trying to download the torrent, using the -E or -e option to
specify how long you want to seed after the download completes. You
should run ctorrent in the directory where you created the torrent (or
at least in a directory with a copy of the file and the .torrent
file), so it will already have the downloaded file. Seeding will
begin as soon as it gets itself organized.

I THINK that -e 0 will cause it to seed forever, but if not, -e 
will give you more than a year. I used to use -e 999, which is a
little over 41 days.

If you want it to get out of your way and hide in the background, run
it as a daemon, e.g.:

  ctorrent -d -e  nameoffile.torrent



 Can ctorrent seed torrents, or do I need another program for that?

Yes, ctorrent automatically seeds for 72 hours after it finishes the
download, and you can adjust that.

-- Bob Johnson
   fbsdli...@gmail.com
___
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: Problem with burncd

2009-06-09 Thread Bob Johnson
On 6/9/09, Carmel carmel...@hotmail.com wrote:
 I just installed FreeBSD-7.2. I attempted to burn a CD; however,
 when the burn completes, I receive this message:

 burncd: ioctl(CDRIOCFIXATE); Input/output error.


I have been getting that error message on and off for some time
(years) now. The CD comes out ok, though, so I think it is failing
after the fixate process is complete. Without a filesystem, you can
still get your file back with dd if=/dev/acd0 of=newfilename.txt
bs=2048 where of course newfilename.txt can be whatever you want the
new copy to be called.

The other issues raised by your post (no filesystem, other software)
have been addressed by others, but fwiw I use mkisofs to build the
filesystem, and then burncd to burn it to the cd. For storing data on
DVDs, growisofs is much more convenient, install it as part of
sysutils/dvd+rw-tools.


-- Bob Johnson
   fbsdli...@gmail.com
___
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: something broke last night. www.freebsd.org offline?

2009-05-27 Thread Bob Johnson
On 5/27/09, Michael Scheidell scheid...@secnap.net wrote:
 none of my freebsd systems can surf to www.freebsd.org anymore.

 host www.freebsd.org
 www.freebsd.org has address 69.147.83.33


  telnet www.freebsd.org 80
 Trying 69.147.83.33...

 on macos.
 just hangs.


I see the same thing. I don't think the problem is with his system.

$ host www.freebsd.org
www.freebsd.org has address 69.147.83.33
www.freebsd.org has IPv6 address 2001:4f8:fff6::21
www.freebsd.org mail is handled by 0 .

$ telnet www.freebsd.org 80
Trying 69.147.83.33...

does nothing.


It looks like perhaps yahoo is dropping our packets:

$ traceroute www.freebsd.org
traceroute to www.freebsd.org (69.147.83.33), 64 hops max, 52 byte packets
 1  001-152-227-128.unnamed.eng.ufl.edu (128.227.152.1)  0.341 ms
0.313 ms  0.327 ms
 2  128.227.45.241 (128.227.45.241)  0.432 ms  0.379 ms  0.370 ms
 3  ctx36-nexus-msfc-1-v43-1.ns.ufl.edu (128.227.236.29)  0.431 ms
0.530 ms  0.421 ms
 4  ctx36-ewan-msfc-1-v50-1.ns.ufl.edu (128.227.236.86)  0.495 ms
0.493 ms  0.464 ms
 5  128.227.0.97 (128.227.0.97)  0.474 ms  0.512 ms  0.480 ms
 6  jax-flrcore-7609-1-te31-1806.net.flrnet.org (198.32.155.93)
22.181 ms  51.552 ms  49.658 ms
 7  orl-flrcore-7609-1-te21-1.net.flrnet.org (198.32.155.2)  13.231 ms
 13.284 ms  13.289 ms
 8  mia-flrcore-7609-1-gi12-1.net.flrnet.org (198.32.124.143)  13.373
ms  13.911 ms  13.882 ms
 9  nota.bas2.dce.yahoo.com (198.32.124.115)  18.469 ms  13.336 ms  13.330 ms
10  so-1-1-0.pat1.da3.yahoo.com (216.115.101.0)  41.589 ms  41.614 ms  41.600 ms
11  ae1.pat2.da3.yahoo.com (216.115.105.163)  42.018 ms  41.864 ms  41.814 ms
12  as1.pat2.sjc.yahoo.com (216.115.101.151)  86.935 ms  86.555 ms  86.512 ms
13  ae1-p161.msr1.sp1.yahoo.com (216.115.107.63)  87.049 ms  86.950 ms
ae1-p171.msr2.sp1.yahoo.com (216.115.107.87)  86.777 ms
14  ge-1-47.bas-b1.sp1.yahoo.com (209.131.32.45)  87.212 ms
ge-1-41.bas-b2.sp1.yahoo.com (209.131.32.33)  87.142 ms
ge-1-47.bas-b1.sp1.yahoo.com (209.131.32.45)  87.376 ms
15  * * *
16  * * *
17  * * *
18  * * *


Compare that to freebsd.org (without the www.):

$ traceroute freebsd.org
traceroute to freebsd.org (69.147.83.40), 64 hops max, 52 byte packets
 1  001-152-227-128.unnamed.eng.ufl.edu (128.227.152.1)  0.380 ms
0.320 ms  0.316 ms
 2  128.227.45.241 (128.227.45.241)  0.543 ms  0.573 ms  0.492 ms
 3  ctx36-nexus-msfc-1-v43-1.ns.ufl.edu (128.227.236.29)  0.425 ms
0.409 ms  0.391 ms
 4  ctx36-ewan-msfc-1-v50-1.ns.ufl.edu (128.227.236.86)  0.491 ms
0.461 ms  0.457 ms
 5  128.227.0.97 (128.227.0.97)  0.492 ms  0.467 ms  0.460 ms
 6  jax-flrcore-7609-1-te31-1806.net.flrnet.org (198.32.155.93)  6.198
ms  5.985 ms  5.933 ms
 7  orl-flrcore-7609-1-te21-1.net.flrnet.org (198.32.155.2)  13.370 ms
 13.279 ms  13.627 ms
 8  mia-flrcore-7609-1-gi12-1.net.flrnet.org (198.32.124.143)  13.357
ms  13.440 ms  13.373 ms
 9  nota.bas2.dce.yahoo.com (198.32.124.115)  13.234 ms  15.855 ms  13.211 ms
10  so-1-1-0.pat1.da3.yahoo.com (216.115.101.0)  41.623 ms  41.380 ms  41.543 ms
11  ae1.pat2.da3.yahoo.com (216.115.105.163)  41.944 ms  41.636 ms  41.645 ms
12  as1.pat2.sjc.yahoo.com (216.115.101.151)  86.337 ms  86.170 ms  86.149 ms
13  ae1-p161.msr1.sp1.yahoo.com (216.115.107.63)  86.777 ms
ae1-p171.msr2.sp1.yahoo.com (216.115.107.87)  86.577 ms
ae0-p161.msr1.sp1.yahoo.com (216.115.107.59)  86.996 ms
14  ge-1-46.bas-b2.sp1.yahoo.com (209.131.32.51)  88.098 ms
ge-1-41.bas-b2.sp1.yahoo.com (209.131.32.33)  86.831 ms
ge-1-46.bas-b1.sp1.yahoo.com (209.131.32.43)  86.921 ms
15  freefall.freebsd.org (69.147.83.40)  86.617 ms  86.754 ms  86.816 ms


- Bob
___
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: Inspiron 15 (aka 1545)

2009-05-26 Thread Bob Johnson
On 5/16/09, Bob Johnson fbsdli...@gmail.com wrote:
 This question has sort of been asked before, but I never saw a clear
 answer, so here it is, in the hope that someone can save me some time:

 I need a cheap, simple, reasonably light laptop, but not a tiny
 display, and I'm looking at the Best Buy pre-configured Inspiron 15
 (i.e. Inspiron 1545). Anyone have direct experience with FreeBSD amd64
 on one of these? Is there anything that isn't going to work?


For the benefit of anyone else considering this laptop: I went ahead
and bought the thing, and everything I have looked at so far except
the Dell Wireless 1397 card is working (and I expect to eventually
beat it into submission), although some things took a little extra
work. I'm in the process of writing up my experience at
http://myfreebsd.tumblr.com


 The video is Intel Integrated Graphics Media Accelerator 4500MHD. If
 it works well enough to watch DVDs and the occasional downloaded
 video, I'll be happy.

Video works with X.org.


 The wireless card is a Dell 1397 802.11b/g. Will I be able to build an
 NDIS driver (presumably on 7.2-RELEASE amd64)?

No success yet. Dell's most recent 64-bit driver wrapped with ndisgen
panics the system when I kldload it.


 Is the ExpressCard 34 slot supported?

Don't have a card to test it with yet.


 Best Buy's description is at
 http://www.bestbuy.com/site/olspage.jsp?skuId=9149414type=productid=1218036213682


Sound works.

USB ports work.

Haven't tested external video.

Got the Yukon wired Ethernet card to work by installing Yukon's
proprietary FreeBSD driver (myk). As of today, it appears that there
is a patch to the BSD msk driver that will get it working with this
card, but I haven't tested it.

The 7-function multimedia slot seems to work, but the only time I've
used it to copy data from a card, it was excruciatingly slow. It took
hours to copy a 2 GB SD card (kept stalling and moving no data for
minutes at a time). I haven't tried to find the reason for that yet,
but my vague recollection is that I've run into that problem in the
past and was able to fix it.

Haven't yet tested the camera, but it is seen by the USB system, so I
expect there to be software out there that knows what to do with it.

A few quirks that are interesting (e.g. default keyboard mapping). See
the blog linked above for details.

- Bob
___
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: Inspiron 15 (aka 1545)

2009-05-19 Thread Bob Johnson
On 5/17/09, Leslie Jensen les...@eskk.nu wrote:


 Bob Johnson skrev:
[...]
 I need a cheap, simple, reasonably light laptop, but not a tiny
 display, and I'm looking at the Best Buy pre-configured Inspiron 15
 (i.e. Inspiron 1545). Anyone have direct experience with FreeBSD amd64
 on one of these? Is there anything that isn't going to work?
[...]

 Hello Bob

 I'm running FreeBSD 7.2-RELEASE amd64 on a Latitude E6500. I ordered it
 with a Dell wireless but was unable to make it work. I then upgraded to
 an Intel wireless card but it was to new, chip number 5200, so freebsd
 has no support for that card either. I'm now using a Linksys USB
 wireless stick that works. But it's inconvienient because I forget to
 attach it and then I need to restart to get it to work.

Have you tried (and failed) to build an NDIS driver for the wireless
card using ndisgen?

Thanks,

-- Bob Johnson
___
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


Inspiron 15 (aka 1545)

2009-05-16 Thread Bob Johnson
This question has sort of been asked before, but I never saw a clear
answer, so here it is, in the hope that someone can save me some time:

I need a cheap, simple, reasonably light laptop, but not a tiny
display, and I'm looking at the Best Buy pre-configured Inspiron 15
(i.e. Inspiron 1545). Anyone have direct experience with FreeBSD amd64
on one of these? Is there anything that isn't going to work?

The video is Intel Integrated Graphics Media Accelerator 4500MHD. If
it works well enough to watch DVDs and the occasional downloaded
video, I'll be happy.

The wireless card is a Dell 1397 802.11b/g. Will I be able to build an
NDIS driver (presumably on 7.2-RELEASE amd64)?

Is the ExpressCard 34 slot supported?

Best Buy's description is at
http://www.bestbuy.com/site/olspage.jsp?skuId=9149414type=productid=1218036213682

Thanks,

-- Bob
___
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 package system proposal

2009-04-08 Thread Bob Johnson
On 4/8/09, Jonathan McKeown j.mcke...@ru.ac.za wrote:
 On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote:
 On 4/4/09, Chris Whitehouse cwhi...@onetel.com wrote:
  Hi all

 [...]

  My suggestion is to start with a ports tree that is fixed in time. Make
  that ports tree available as part of this package system and compile a
  typical desktop set of ports, particularly choosing ones which are large
  or have many dependencies. When it is all complete release it and start
  again. Surely quite a wide selection of desktops, wm's and apps could be
  compiled in a couple of weeks?

 How is it an improvement over the existing tools? I must be missing
 something, because it sounds to me like you are merely asking that
 there be more ports made available as packages than are now offered.

 I think what you're missing is the suggestion to bundle a set of pre-built
 packages with a snapshot of the ports tree used to build them. Currently
 it's
 difficult to mix and match packages and ports because the versions of
 dependencies are likely to differ between the package and the local version
 of the ports tree. If you know you have the same ports tree your packages
 were built from, you can much more easily combine pre-built packages and
 local builds from source.

OK, I see now.


 This has clear advantages. At the moment, unless you're very lucky with your
 timing, you tend to find that as soon as you want to build one port from
 source (perhaps to fiddle with the configuration) you have to stop using
 prebuilt packages altogether.


I've not really had a lot of trouble with that, although it sometimes
causes problems. OK, with something big like KDE it causes problems.

 The drawback I can see is the disk space required to keep several
 generations
 of packages online - if the package-port bundle is rebuilt every three
 weeks,
 let's say, and you want to keep 6 months' worth of packages online, you need
 to keep 9 complete versions available.


I think a bigger drawback is the security issue. As soon as any
package in the collection has a significant announced security flaw,
you are faced with the choice of withdrawing the entire collection,
withdrawing only that package, or leaving the flawed package out there
for people to use because it is more convenient for them.

At the very least, it creates a management headache for whomever has
to make the decisions.

 Chris's suggestion is certainly more than just a request for more packages,
 though.


It seems to me that a great deal of what his suggestion would
accomplish would be accomplished by building a very extensive set of
packages once a week or so, so that it is easy to do binary updates of
anything that needs updating. For many, that should solve the bulk of
the problem. And because most ports don't change weekly, the
week-to-week changes shouldn't be unmanageably large.

That could also be a starting point for implementing his full
suggestion. Keeping around week-to-week deltas rather than an entire
collection would reduce the storage requirement substantially.

PC-BSD seems to already keep up-to-date binary packages of their
applications. Do they accomplish that by only offering a small subset
of the full ports collection?

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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 package system proposal

2009-04-07 Thread Bob Johnson
On 4/4/09, Chris Whitehouse cwhi...@onetel.com wrote:
 Hi all

[...]

 My suggestion is to start with a ports tree that is fixed in time. Make
 that ports tree available as part of this package system and compile a
 typical desktop set of ports, particularly choosing ones which are large
 or have many dependencies. When it is all complete release it and start
 again. Surely quite a wide selection of desktops, wm's and apps could be
 compiled in a couple of weeks?

A lot of ports are already available as packages. Do you simply want
more ports available as packages, or a more fundamental change?


 Modify pkg_add so that it can be told to use this 'snapshot' including
 downloading the fixed ports tree that was used.

What is the benefit of this?


 Some benefits to this system are
 - much easier for lower power or laptop users to keep their desktop
 machine up to date

A large subset of ports are already available as packages. Would
making more of them available solve the problem you perceive? Who
would decide what the appropriate default configuration should be for
each port?

 - problems with particular ports can be centrally fixed by knowledgeable
 people, possibly reducing time on lists.

Huh? Aren't they already?

 - reduced energy use for everyone.

I think the difference in energy use would be so small as to be
pointless. If I have a system that consumes 75 kilowatt hours per
month, and I spend an extra 0.05 kilowatt hour per month updating
ports, is the difference (less than 1/10 of 1 percent) really
meaningful? I can't even measure my power usage accurately enough to
detect the difference. Convince me to use three liters less hot water
per month, and you will save more energy.

 - the ports system is still available for those who do want to change
 the config options
 - ports which are not included in the snapshot are still available -
 since this system has already provided the larger ports as packages, the
   remaining ones would be less onerous to install

That's already done.

 - ports that are installed with make install would maintain
 compatibility with the other installed packages.

In what way are they now not compatible?

 - don't need to mess with portupgrade etc.

What's the significant difference between messing with pkg_add and
messing with portupgrade?

A large subset of ports are already available as packages, so it isn't
clear to me how this proposal is significantly improved over using
portupgrade -PR _portname_ when a port needs updating. Or
portupgrade -PRa when you feel the urge to bring everything up to
date.

Installing and using portaudit is another useful step in the process.
It will send you email to tell you WHEN you should use portupgrade. Of
course, it uses energy to do so.

 - it could (I think) be fitted fairly well into the existing package
 building process.
 - it generally increases the useability of FreeBSD as a desktop system.
 [...]

How is it an improvement over the existing tools? I must be missing
something, because it sounds to me like you are merely asking that
there be more ports made available as packages than are now offered.

To me, the best way to improve FreeBSD as a desktop system would be to
get Flash 9, 10, etc. working properly (this seems to have recently
been accomplished for Flash 9), and to figure out how to get the
Gnome-related stuff to update smoothly without the constant need for
manual interference (I get tired of running gnomeloganalyzer). But
that's a discussion for a different thread.

-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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: Printing - standard? CUPS? ...??

2009-01-12 Thread Bob Johnson
I prefer print/apsfilter from ports. To get color postscript printing
and duplex printing you may need to change the default configuration,
which will probably end up somewhere under /usr/local/etc/apsfilter

- Bob


On 1/12/09, Ewald Jenisch a...@jenisch.at wrote:
 Hi,

 For a system set up from scratch (7.1) I'm about to set up printing.

 Printer: Minolta C351 (basically a networked PS-Printer also capable
 of color)

 My requirements: Print from mutt (mail), print text files, print
 PS-files with the ability to print duplex and 2-up both in color and
 b/w.

 Should I go for the standard vanilla FreeBSD lpr that comes with the
 system or use anything else? If anything else - what (CUPS,...?)

 Please note that I want to print both from gnome (X-win) as well as
 via the commadline.

 Thanks in advance for any clue,
 -ewald



 ___
 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



-- 
-- Bob Johnson
   fbsdli...@gmail.com
___
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: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2008-10-27 Thread Bob Johnson
On 10/27/08, Simon Chang [EMAIL PROTECTED] wrote:
 Raising PMAP_SHPGPERPROC works most of the time.  You can also re-tune
[...]
 By the way, does anyone know whether there is any way to tune
 PMAP_SHPGPERPROC using sysctl, or does such button/knob not exist?

It is tunable with a sysctl in AMD64 kernels, but apparently not in
i386. The logged error message in AMD64 mentions the sysctl, at least
in 7.0-R.

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


Re: kernel: Approaching the limit on PV entries...

2008-10-13 Thread Bob Johnson
On 10/10/08, Mark Tinguely [EMAIL PROTECTED] wrote:
   vm.pmap.pv_entry_count: 583006
   vm.pmap.shpgperproc: 200
   vm.pmap.pv_entry_max: 2243305
  
   The system:
   FreeBSD  7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1
   07:51:58 UTC 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64
  
   Can someone briefly explain what this is telling me and how to decide
   which sysctl to increase? I have found some old postings that predate
   the sysctls that suggested increasing shpgperproc in the kernel
   configuration, about 50 at a time until the problem goes away, but I
   still have no clue what that is accomplishing.

 what (simplified):
 the pv_entry helps the virtual memory system track physical pages, so a
 physical page can be shared with another process or another virtual address.

 In the i386/amd64 the pv_entry entries are allocated in page size chunks
 on a per process memory map basis. This helps reduce redundant pointers
 and overall saves memory.

 shpgperproc can be read as the number of shared pages per proceess.
 pv_entry_max is calculated from shpgperproc (and on the amd64, shpgperproc
 can be derived from setting the vm.pmap.pv_entry_max).

 On the amd64, the values can be adjusted by sysctl, but on the i386
 the values must be compiled into the kernel.

 There are some automatic adjustments in the calculation of the number
 of pv_entry, but the warnings are given early enough to help aid in the
 tweaking of the value. The advice of slowly increasing vm.pmap.shpgperproc
 is probably the best solution. I would adjust up slower than 50 (25%
 increase seems to be pretty high).

 --Mark Tinguely.


Thanks. I'll see what happens.

In amd64/7.0 is there any chance running out of pv_entrys would show
up as failures in interprocess communication rather than a panic? The
original symptom was that certain web pages (or jailed servers, I'm
not sure) were unreachable, as if the firewall were misconfigured,
until the system was rebooted. I didn't get to look at the system
before it was rebooted, and I find very little in the logs to explain
what was going on.

Thanks again,

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


kernel: Approaching the limit on PV entries...

2008-10-10 Thread Bob Johnson
A web server with several jailed copies of Apache is having problems
that seem to be caused by incorrect IPFW rules, but in the process of
working on that, I find in the log the following repeated many times:

Oct  8 23:29:50 spider kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max sysctl.
Oct  8 23:30:52 spider kernel: Approaching the limit on PV entries,
consider increasing either the vm.pmap.shpgperproc or the
vm.pmap.pv_entry_max sysctl.

sysctl gives me:

# sysctl vm.pmap
vm.pmap.pmap_collect_active: 0
vm.pmap.pmap_collect_inactive: 0
vm.pmap.pv_entry_spare: 45818
vm.pmap.pv_entry_allocs: 595716945
vm.pmap.pv_entry_frees: 595133939
vm.pmap.pc_chunk_tryfail: 0
vm.pmap.pc_chunk_frees: 3543052
vm.pmap.pc_chunk_allocs: 3546795
vm.pmap.pc_chunk_count: 3743
vm.pmap.pv_entry_count: 583006
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 2243305

The system:
FreeBSD  7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1
07:51:58 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

Can someone briefly explain what this is telling me and how to decide
which sysctl to increase? I have found some old postings that predate
the sysctls that suggested increasing shpgperproc in the kernel
configuration, about 50 at a time until the problem goes away, but I
still have no clue what that is accomplishing.

Also, the system has been rebooted since I collected those messages,
and they aren't happening any more, but I expect they will reappear
eventually. Until then I probably can't actually test anything.

Thanks for your time,

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


Re: ntpd and GPS

2008-09-19 Thread Bob Johnson
On 9/19/08, Tom Storey [EMAIL PROTECTED] wrote:
 Hi all,

 Ive been toying with setting up my old Garmin GPS12 as a reference for a
 server (FreeBSD 6.2) running ntpd, but Ive run into an issue.


Is it possible the issue isn't what you think it is?

 Ive searched around a bit and cant find an answer, perhaps because there
 isnt one.

I once (years ago) had a Garmin GPS working with ntpd, so it's
reasonable to believe it can be done again, unless support for that
capability was dropped (which I doubt). Unfortunately, it was long
enough ago that I don't remember what I did. It's possible I used the
1 PPS output without NMEA sentences, but that's not my recollection.


 Is there any way I can set ntpd to expect a $GPRMC string every 2 seconds,
 which is the frequency at which the GPS12 transmits them?


 Alternatively, does anyone know how to make the GPS12 transmit a $GPRMC
 string every second?

I'm almost certain you can't. The complete set of all NMEA sentences
takes more than one second at the default 4800 baud, so IIRC it
outputs sentences only on odd seconds, and perhaps the older units are
too slow to compute a fix once per second. Two things that may work
around this are to turn off everything except the GPRMC sentence:

 $PGRMO,,2
 $PGRMO,GPRMC,1

and perhaps free up some CPU time (for faster position calculation) by
(oddly enough) reducing the output data rate to 1200 bps:

 $PGRMC,,1,

but I don't think that will actually work. To go back to 4800 bps, use
3 instead of 1. I think there are 11 commas after the C in that
command, but my eyes aren't so sharp any more.

There is a Linux driver for the Garmin proprietary protocol. Don't
know if it is distributed in a FreeBSD version. Try
http://jensar.us/~bob/garmin/


 If there is a better place I can post this, please let me know.

This is probably a good place for this question, but if you don't get
a better answer, try the archives of the time nuts mailing list
https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts which
unfortunately appears to be down right now. General info about that
group is at http://www.leapsecond.com/time-nuts.htm

If that yields nothing, you might post your question to the Time Nuts
list, time-nuts @ febo.com. It is probably a FAQ for them, but they
will be polite about it. And I had hoped to once again stick an old
Garmin on an NTP server, so I'll be curious to know if this turns out
to be insurmountable.

Good luck,

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


Re: safest way to upgrade a production server

2008-09-08 Thread Bob Johnson
On 9/8/08, John Almberg [EMAIL PROTECTED] wrote:

 uname -a
 FreeBSD ***servername*** 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1:
 Mon Dec  3 09:46:53 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/
 src/sys/INET_ON  amd64

 oooh, that is a bit old I think.

 I chose this server as an example, because it's the oldest one. I
 didn't install the OS on this server, the vendor did. Not sure why
 they chose a prerelease version... perhaps 6.3 was almost ready to go
 and they wanted to put us on the 6.3 branch? I don't know.


I had the same problem, except I was the vendor. Set up a system with
6.3-PRERELEASE for testing, then forgot it wasn't -RELEASE and put it
in production.

 Anyway, I guess what I should do is patch this to the latest 6.3
 version?


My strategy was to do a source-base upgrade to 6.3-RELEASE, and then
use freebsd-update to apply critical patches. Freebsd-update only
works on -RELEASE versions with generic kernels, but I find it much
faster and easier than trying to do upgrades from source. You also
need to keep track of ports that need updating: use portaudit for
that.

 Or should I go to the latest 6.x version? I am pretty sure I don't
 want to experiment with a 7.x upgrade.

I believe 6.3 is the latest 6.x version. For now the thing to do is
get to an up-to-date 6.3 system. Then take your time figuring out the
best strategy for the transition to 7.x.

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


Re: defrag

2008-08-28 Thread Bob Johnson
On 8/27/08, prad [EMAIL PROTECTED] wrote:
 something that has puzzled me for years (but i've never got around to
 asking) is how does *nix get away without regular defrag as with
 windoze.


Essentially, the UFS file system (and its close relatives) is
intentionally fragmented in a controlled way as the files are written,
so that the effect of the fragmentation is limited. Files are written
at sort-of-random locations all over the disk, rather than starting at
one end and working toward the other, and there is a limit to how much
sequential disk space a single file can occupy (a large file
essentially gets broken up and stored as if it were a collection of
smaller files). The result is that as long as there is a reasonable
amount of empty disk space available, it will be possible to find
space to store a new file efficiently. This is why the filesystem
wants to have at least 8% empty space. If you have less than 8% empty
space left on the filesystem, it switches from the speed optimizing
mode that I just described to a mode that tries to pack things into
the remaining space as efficiently as possible, at the cost of speed.
FreeBSD also by default reserves some disk space for administrative
use that is not available to normal users.

One result of this scheme (and other issues) is that access time for
large files suffers a bit (but not as much as it would if they were
heavily fragmented). If you are setting up a volume mainly for storing
large files, you can adjust some of the parameters (e.g. using
tunefs(8)) so the filesystem will handle large files more efficiently,
at the expense of wasting space on small files.

 fsck is equivalent to scandisk, right?

Pretty much. It looks for errors and tries to fix them. It does not
attempt to defragment the disk. Unless the disk is almost full,
defragmenting probably wouldn't improve things enough to matter.


 so when you delete files and start getting 'holes', how does *nix deal
 with it?


The process of scattering files all over the disk intentionally leaves
holes all over the disk (that's what I mean by controlled
fragmentation). When you add and delete files, those holes get bigger
and smaller, and merge or split apart, but until the disk gets very
full, there should always be holes big enough to efficiently store new
files. The difference between this and what happens in a FAT
filesystem is that the process is designed so that there is a
statistically high likelihood that the holes produced will be large
enough to be used efficiently.

 --
 In friendship,
 prad

I hope that helps. And as usual, if I got any of that wrong, someone
please correct me. If I answer this question often enough, I will
eventually get it right, then perhaps we can make it a FAQ ;-)

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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Yesterday, I wrote about CANNOT READ BLK from my new hd that I
 filled via firewire:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
 The response suggested to check for faulty hardware, which I am still
 trying to do.

 I found FreeBSD reporting the drive to have 128GB instead of 232GB as
 FreeBSD did when the drive was connected via firewire. Searching the
 web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
 (Centrino) laptop (Acer TM800).

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS
lying to it (which is unlikely, because FreeBSD uses the BIOS value
only for initial booting), or the hard drive itself lying. Does your
drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, Jan Henrik Sylvester [EMAIL PROTECTED] wrote:
On 7/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Yesterday, I wrote about CANNOT READ BLK from my new hd that I
 filled via firewire:
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-July/179646.html
 The response suggested to check for faulty hardware, which I am still
 trying to do.

 I found FreeBSD reporting the drive to have 128GB instead of 232GB as
 FreeBSD did when the drive was connected via firewire. Searching the
 web, I found one reference of someone else having problems with
128/137GB using the same (latest) bios on this five year old
 (Centrino) laptop (Acer TM800).


I don't know how long ago the ATA-6 specification was adopted, but
prior to that ATA-5 had a 128 GB limit on disk size. I suspect your
BIOS is old enough to have adopted that limit. Perhaps if a BIOS
update for your system is available, it will solve your problem. BUT,
my understanding is that after the initial boot, FreeBSD reads the
size directly from the drive, so it seems strange that you are
encountering this problem if the drive itself is correctly reporting
its size.

Anyway, the fundamental answer to your question is this should not be
happening. The challenge is to figure out where the problem is and
what to do about it.

FreeBSD has no such limit, at least not in recent versions (I'm using
a 200 GB drive at this moment, and at home I have a system with a 500
GB and a 750 GB drive). Your problem is caused either by the BIOS

 I never said FreeBSD had a limit. With ddo, it works. (I am on 7.0.)

lying to it (which is unlikely, because FreeBSD uses the BIOS value

 Yes, it is the bios. With ddo, the full disk is available; ddo supposingly
 does nothing but change the bios interrupt handlers.

only for initial booting), or the hard drive itself lying. Does your

 Are you sure about only for initial booting? If that was the case, I would
 not understand why it shows ad0: 238475MB with ddo and ad0: 131072MB
 without. Moreover, I tried writing to a sector beyond 128GB unsuccessfully
 without ddo and successfully with ddo (using dd).


I am quite certain, although I don't know the details. Like any modern
operating system (and since before some of them), FreeBSD asks the
drive for its size.

drive have a jumper that causes it to report its capacity as 128GB for
compatibility with older BIOSes? If so, remove the jumper and try
again.

 These is no such jumper. With Linux and Windows seeing the correct size
 (without ddo), the drive must report it somehow correctly.

 Either your claim that FreeBSD is not relying on the bios is wrong, or I
 understand even less about the interaction of bios, drive, ddo handler, and
 os than I thought I would. (Please, enlighten me, if you know more.)


I think it would be informative to do as someone suggested after your
first post, and re-install FreeBSD on the partition from scratch, to
see if it that solves the behavior problems. It could be an artifact
of your transfer method, although I don't have a specific theory to
explain it.

By the way, what version of FreeBSD is on the system? Any chance it is
old enough that it didn't support drives larger than 128 GB (I don't
know how old that would have to be)?  That might include a bug in an
IDE driver that has since been fixed, or an obscure default
configuration option that changes FreeBSD's idea of how to address a
drive.

Another thought is that if you aren't using the FreeBSD loader (MBR),
then your problems may be caused by the loader. You could test this by
installing the FreeBSD disk loader (I think that would be boot0cfg -B
ad0, but I might not have that right).

Is there any chance the MS-DOS partition table got changed at some
point to tell FreeBSD the partition is smaller than the BSD label says
it is?

 Thanks for your input!

Good luck.

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


Re: 250GB hd: Can FreeBSD use 137GB (bios) as Linux or Windows do?

2008-07-31 Thread Bob Johnson
On 7/31/08, Jan Henrik Sylvester [EMAIL PROTECTED] wrote:
 I guess I should have put it more concise as some important details were
 lost in the middle of the background story.

 --- The important part: ---

 If I boot the FreeBSD 7.0-RELEASE livefs CD, I have my 232GB hd limited
 to 128GB. (According to dmesg and some dd writing tests.)

 If I boot the dynamic drive overlay MBR that changes the INT13 bios
 routines and let it boot the livefs CD, FreeBSD can access all 232GB.

 These two cases happen with the same MBR and the same content on the drive.

 --- (Important part ending) ---

  From my limited understanding: This cannot be about the FreeBSD
 installation transfered by firewire, since it is long gone. This cannot
 be about the FreeBSD MBR, since it is not involved. This is not about
 the partition table, since it is the same.

It CAN be about the partition table, at least in principle, although
I'd think that if the dmesg says the drive is 128 GB that's probably
not what is happening. An invalid partition table can be interpreted
differently by different systems (I know that from painful
experience), and of course, by different releases of FreeBSD. And
Vista in particular seems to like to do strange things to partition
tables, FWIW.


 Doing the same with a Linux live CD (Knoppix), I can access the whole
 drive in both cases.

 Windows reports 232GB, too, but according to this (German) posting
 http://www.acer-userforum.de/thread.php?postid=40207 writing above 128GB
 will wrap around for the 855GME chipset driver (I have 855PM). The
 posting claims ddo would solve it, which I cannot understand, if the
 Windows driver ignores the bios information. (The posting is about Acer
 Travelmate 661. I got the 800 from the same time.)

 My laptop is more than five years old and I have got the latest bios for
 years, apparently without 48bit LBA.

 I am kind of lost. I cannot understand the disassembled MBR and even if
 I could, I do not think I would want to create my own boot manager /
 INT13 handler. I guess reading FreeBSD source code would be next... but
 I am not very confident there, either.

 The alternative is that my understanding of the problem is totally wrong.

 Thanks for more helping to think through this mess of information I got
 during the last day.

FreeBSD has to make some educated guesses about what disk geometry to
assume: it has to try to make assumptions that will be compatible with
what other operating systems are likely to do, so at times it is
possible that it will opt for something safe but not right in order
to balance conflicting information it gets from the BIOS, the
partition table, and the drive itself. That's why you have the option
of changing its assumptions when you do a sysinstall. What the livefs
cd does, I do not know, but the only way you will know what would
happen if you installed FreeBSD on, and boot from, that hard drive
will be to actually install FreeBSD on that hard drive and see what
happens. The one thing I am certain of is that it should have no
problem booting from and using a 232 GB drive.

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


Re: local mirrors of ports and packages?

2008-07-29 Thread Bob Johnson
On 7/29/08, Coert Waagmeester [EMAIL PROTECTED] wrote:
 Hi all!



 I am quite new to FreeBSD. I am quite a boffin on Linux though.

 What I would like to know is, how can I make local mirrors of ports and
 packages? I live in South-Africa, and bandwidth is painfully slow and
 expensive.

 How many data would it be in total?

Does fetching from an existing mirror in South Africa help, e.g.
cvsup.za.freebsd.org or ftp.za.freebsd.org?


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


Re: What price at the license of FreeBSD 7?

2008-07-22 Thread Bob Johnson
On 7/21/08, Chad Perrin [EMAIL PROTECTED] wrote:

 That wouldn't solve the problem of the US dollar being a fiat currency.
 Basically, under a fiat currency, trying to financially plan for the
 future is a matter of gambling the economy won't blow up in your face in
 the interim -- which is anything but a sure bet.


All currency is fiat currency, unless you print it on toilet paper.
Then it will have intrinsic value. Printing it on fish would work,
too, but that would stink up your wallet. Gold is durable, but has no
real intrinsic value. So print your money on toilet paper or food,
then it will always have value.

I'll sell you a copy of FreeBSD for a beer, plus shipping.  See how
well that works? Don't even have to do currency conversions.

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


Re: tips about saving text in Easy Editor

2008-07-22 Thread Bob Johnson
On 7/22/08, Prakash Poudyal [EMAIL PROTECTED] wrote:
 Hello Everybody

 Here I want to know some tips of the Easy Editor. Can any body say the
 Key word that will save the text of Easy Editor. Like you know we used
 to Esc :w in case in VIM Editor. So please if any body know please
 reply me. I want to know way of directly saving in Easy Editor.
 Thank

Press Esc and it will give you a menu that you will find helpful. I
think Esc c c is what you want, or Esc Enter Enter if you want to
save and exit.

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


Re: calcru: runtime went backwards errors

2008-06-30 Thread Bob Johnson
On 6/30/08, David Allen [EMAIL PROTECTED] wrote:
 I've been seeing errors like the following appearing:

 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
 usec to 258 usec for pid 516 (devd)
[...]
 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
 usec to 481 usec for pid 0 (swapper)

 and narrowed down the cause to openntpd.

 Do these errors fall into the Mostly Harmless category?

It's probably just an annoyance, unless it is happening so often it
causes other problems.

The FreeBSD FAQ used to have a nice explanation of this, but it has
been replaced by a discussion that simply assumes the problem is
caused by the Intel SpeedStep implementation on your motherboard:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#Q5.24.

But in general, this error can be caused by several things, including
a device that is slow to respond to interrupts. One thing that often
helps on SMP systems is to make sure your timecounter isn't using TSC:

$ sysctl kern.timecounter
kern.timecounter.tick: 1
kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0)
dummy(-100)
kern.timecounter.hardware: ACPI-fast
[...]

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


Re: File Systems

2008-06-24 Thread Bob Johnson
On 6/24/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I would like to contribute my knowledge of several otherwise ar cane
file systems and wanted your take on modifying the FS types with other
values. Is there a central authority for all file system types that
these should be registered with first or should I simply choose values
and add them in?
It would be dumb to add support for a new file system only for some
other partition utility to not recognize it and want to destroy it.
Please advise...

If you are referring to the partition type (which indicates the file
system type that is on an MS/IBM style disk partition), I don't think
there is a central authority, but there is a very extensive list at:

http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-30 Thread Bob Johnson
On 5/29/08, Gary Kline [EMAIL PROTECTED] wrote:
 On Thu, May 29, 2008 at 06:14:26PM -0400, Bob Johnson wrote:
 On 5/29/08, Gary Kline [EMAIL PROTECTED] wrote:
 Several weeks ago a friend asked why my www.thought.org page
 was so hard to read.  She said that part of my text was black
 [...]
 I'd be much obliged for any help here.
 
 

 Konqueror says that the comment that reads

 !-- click on Graphic to goto jottings.thought.org --!

[...]

   (also, this may explain why sometimes my comments bombbed during
   testing.  i thought ! .. ! was *legal*.  *mumble::censored*)


Yeah, that's a common error. It would make sense, and I have no clue
why comment tags aren't symmetric in HTML. But the bizzare thing is
that early in the days of web browsers, rather than just accept that
as legal so broken code would render correctly, the browser authors
decided to fix the problem by accepting end-of-line as a comment
terminator, which very distinctly violates the standard. So there are
a lot of web pages out there that won't render correctly on
standards-compliant browsers.

I suspect that using an editor that _correctly_ highlights HTML code
would solve most of your problems. To me, a content management system
only makes sense for a site that is either large, or has multiple
authors. If you update your site frequently, a WYSIWYG HTML editor
would be helpful and should have a very small learning curve. I think
others have already suggested a few.

I took a brief look at your site, and it appears that right now you
are pretty much using it as a blog. If the format works for you, a
site like  http://www.tumblr.com/help might be easier than maintaining
your own. The nice thing about tumblr is that you don't have to
install anything on your own system to use it.

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


Re: Renaming root to homer?

2008-05-30 Thread Bob Johnson
On 5/29/08, Gilles [EMAIL PROTECTED] wrote:
 Hello

 With all those scripts trying to connect to SSHd as root, I was
 wondering if it'd be OK to rename this account to eg. homer, to act
 as a first line of defense?

I doubt it.


 Are there unknown consequences to doing something like that?


Probably, but if we knew what they were, they wouldn't be unknown.

 If not, is it done by just editing /etc/password with vi, or is there
 a better way?


Use vipw. That invokes vi (or your default editor if that's not vi) to
edit the account database (which isn't actually /etc/passwd), and when
you exit from vi, it runs the scripts necessary to update all the
right things.

Lots of peeps have already pointed out the downside of this, but if
you really think it's what you want to do, probably the best way to do
it is to create a second admin account named homer or whatever. In
/etc/passwd, the toor account is an example of this (it is disabled
by default). They both have UID 0 and are effectively the same
account, just accessed by different names and passwords. Then change
the root password to be invalid, so the attackers can hack away all
day and have no chance of guessing the root password. You do that by
putting a * in the password field (the second field) while you are in
vipw.

I (along with many others) think you should find a solution that
doesn't require remote admin logins, but while you do the reading
necessary for that, this at least seems to quickly accomplish your
goal.

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


Re: Need to build a new mail server

2008-05-30 Thread Bob Johnson
On 5/30/08, DAve [EMAIL PROTECTED] wrote:
 Eric Zimmerman wrote:
 Foo JH wrote:
 I like Qmail. It's not overly difficult to configure, and it's
 extensible.


 and requires 400 patches to do basic things =(

 List them, not 100, not 399, all 400 please.

 Keep in mind that when your download x.x.x release of a software package
 you are downloading a patched source code. Sendmail has been patched
 many times, Postfix is patched, Exim is patched. qmail just requires you
 apply your own patches. Patching is not a bad thing, shrinkwrap mail
 admins applying patches that they do not understand is a bad thing.


 heres some interesting reading about qmail...

 http://www.dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html

 That so much time and effort is spent telling everyone how bad qmail is
 still amazes me. It is one of the best performing and most extensible
 MTAs I have ever used. It is not however, suitable for those who choose
 not to understand how mail works. Point and clickers should stay with
 Postfix, also a very capable MTA.


I agree. No one should use Qmail unless they have read and completely
understand every email-related RFC and have at least two years of
experience running a commercial mail server. Amateurs shouldn't even
consider it.

Please, use anything but Qmail. It sprays backscatter spam all over
the internet.

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


Re: Stumped:: web HTML. Caution, may be OT.

2008-05-29 Thread Bob Johnson
On 5/29/08, Gary Kline [EMAIL PROTECTED] wrote:
   Several weeks ago a friend asked why my www.thought.org page
   was so hard to read.  She said that part of my text was black
[...]
   I'd be much obliged for any help here.



Konqueror says that the comment that reads

!-- click on Graphic to goto jottings.thought.org --!

isn't closed until the end of the next comment way down the page, so
it is ignoring all the code in between. I think that's your problem
(there is a typo in the close of the comment). In other words,
Konqueror seems to be displaying the page correctly. The other
browsers are probably (incorrectly) treating end-of-line as
end-of-comment.

When you View Document Source in Konqueror, it highlights the markup
to make it easier to spot such problems, and comments stand out pretty
distinctly. In fact, it appears there are a few other places with that
same typo (closing a comment with --!).

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


Re: Storage projects

2008-05-15 Thread Bob Johnson
On 5/15/08, Bob Johnson [EMAIL PROTECTED] wrote:
 Do you want a programming project, or a figure-out-how-to-do-it project?

 One thing that pops up once in a while is the need for a real-time
 distributed file server. I.E. two or more fileservers serving the same
 files from physically separate locations, while keeping the files
 synchronized in real time. One scenario is a business that has
[...]

It also appears that Dragonfly BSD's Hammer filesystem is an attempt
at solving this problem (as well as several other problems).

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


Re: Storage projects

2008-05-15 Thread Bob Johnson
Do you want a programming project, or a figure-out-how-to-do-it project?

One thing that pops up once in a while is the need for a real-time
distributed file server. I.E. two or more fileservers serving the same
files from physically separate locations, while keeping the files
synchronized in real time. One scenario is a business that has
multiple offices and would like to reduce inter-office network traffic
by having a synchronized file server at each local office, so read
access is to the local file server, and only the (relatively rare)
changes need to propagate across the network. Another quite common
scenario is a laptop that you want to keep synchronized with your home
fileserver regardless of where it happens to be on the Internet.


There are assorted partial solutions to this problem, but I don't know
of any that are entirely satisfactory for the general case (I admit,
I'm not up on the state of the art in this area). For instance,
running gmirror with one provider accessed via ggated is good for some
situations, but doesn't encrypt the network traffic, and really just
gives you one fileserver with real-time off-site backup.

CMU's Coda filesystem purports to be a solution to this problem, but
has pretty weak documentation (unless that has changed recently) and
unknown reliability (setting up Coda on a pair of FreeBSD systems,
documenting how to do it, getting some measurement of reliability, and
reporting on the results would be a useful project, but if you are
looking for a programming project I doubt it qualifies).

Lots of people have written papers on related ideas. One collection of
links is at http://www.cypherspace.org/links.html .  You might get
some ideas there.

- Bob


On 5/15/08, Onkar [EMAIL PROTECTED] wrote:
 Can anyone please suggest me a good storage(File system ,SCSI/iSCSI  stack,
 TCP/IP ) project . I have 2 AMD 64 PCs each with 1 GB RAM and 350 GB SATA
 HDD,

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

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


Re: FreeBSD installation on AMD64

2008-04-01 Thread Bob Johnson
On 4/1/08, Ivan Voras [EMAIL PROTECTED] wrote:
 Sébastien Morand wrote:
  Hi,
 
  I'm new in FreeBSD, I'm used to GNU/Linux from many years but I'm trying
 to
  migrate to FreeBSD.
  My hardware is AMD64 / 1GB RAM / envy24ht network car / nVidia 7300GS GC /
  USB Scanner / HP 660 Printer

 This looks like a desktop computer, with multimedia capabilities. It's
 very likely you won't be able to use some or all of the non-essential
 components.

I rarely run into that, but the Envy24ht does seem to be a candidate
for that problem. And I think it's a sound card, not network. USB
scanners are another potential problem, but if your scanner has a SANE
driver, it ought to work. See
http://www.sane-project.org/sane-supported-devices.html

[...]
 While there are people using FreeBSD for a graphical desktop, and some
 of them are even using the 64-bit version, they are few and far between,
 and most of them are satisfied with the bare essentials. For X.Org
 issues you might try the freebsd-x11@ mailing list. For issues with
 specific ports, try stable@ or [EMAIL PROTECTED] Be ready for a lot of
 manual configuration (as compared to Linux).

There seem to be lots of people using FreeBSD with a graphical
desktop. I do, and it works fine. If you are big into watching Flash
videos or playing Flash games on assorted web sites, you may have
problems, as Flash 7 is the latest version that works well and many
websites want Flash 9, which still has stability issues. YouTube works
with Flash 7, FWIW.

There may be some Linux programs you are accustomed to that either
don't run right on FreeBSD, or are not in the ports system so you have
to manually install them.

Installing FreeBSD i386 on an amd64 machine also works fine - and in
some respects it is better than running amd64 on an amd64 machine. At
present, there are some programs you are likely to want to use that
work on FreeBSD i386 but not FreeBSD amd64. And some have said that
amd64 uses more memory (maybe bigger word size means bigger
structures?) -- if so, that's a good reason to install FreeBSD i386 if
you only have 1 g of memory.

I've had trouble with the latest nVidia proprietary driver, but I was
upgrading an old system and haven't yet tried to see what happens with
a fresh install of the nVidia driver. The open source nv driver
works, but has very limited feature support (doesn't support multiple
monitors, for instance). I've also had problems with the ATI
radeonhd driver on one system, but not on another with a very
similar video card (the problems appear when I use multi-headed
displays). In other words, the only way to be sure what will happen
with your particular video card is to try it.

Good luck. A test installation of FreeBSD should go quickly enough
that it is not a big deal. If you use KDE, install it from packages
(precompiled) rather than compiling the port and you will save heaps
of time.

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


Re: [FreeBSD 7] Radeon Mobility M10/9600 + xorg 7.3 + ati/radeon driver causes complete system hang/freeze

2008-03-18 Thread Bob Johnson
On 3/17/08, Mark Ovens [EMAIL PROTECTED] wrote:
 Torgeir Hoffmann wrote:
[,,,]
  I have the following problems with my xorg 7.3 installation, even after I
  have pkg_delete -a, and reinstalled all with packages. The system was
  updated with freebsd-update from 6.3-release to 7.0-release.
 

 This sounds similar to the problem I have with 7.3 and a Radeon 8500LE
 card. Never had this problem with any previous version of Xorg (or XFree86).

 when the system hangs I can ssh(1) in from another box and find that
 Xorg process is sucking as much as 400% - yes four *hundred* percent -
 CPU ? It is holding a Giant Lock - State is *GIANT

 I can kill the Xorg process but on the affected box I just end up with a
 blank black screen so have to Ctrl-Alt_Del to reboot.

 The problem seems to come and go as I update installed ports. If I've
 got the problem then updating the ports gets rid of it (sometimes) and
 when the system is working a port upgrade starts it off again
 (sometimes). It seems to be one of the X ports being updated that is the
 cause but I don't know which - xorg-drivers seems a likely culprit.

 One thing I did do was to delete the port xf86-video-radeonhd which
 fixed the problem once. I don't know what installed it as a dependency
 but it hasn't been reinstalled - although the problem still comes and goes.

 I've had this on 6.3 and on 7.0 (completely clean build, not an upgrade
 from 6.3).

 As I said, this has only been a problem since u/g Xorg from 7.2-7.3 and
 it is becoming a PITA. I wonder if it's just that Radeon cards don't
 work too well with FreeBSD and/or Xorg?? Perhaps it's worth swapping to
 nVidia?


On two of my systems (out of four) I've had a lot of problems with Xorg 7.3.

My older system has run happily for a few years using the nvidia
proprietary driver to drive two monitors and an old mga card to drive
a third monitor. I was eventually forced to upgrade Xorg on it because
so many ports couldn't be installed or updated without it. Since
upgrading to X.org 7.3, the mga card is unusable and the nvidia card
configuration will no longer work with dual monitors. After spending a
week fighting it, I've given up on that system. It was an upgrade and
there is no telling how much cruft is left over from the older nvidia
driver.

At the time this happened, I was preparing to move to a new system
with an ATI card, so I turned my attention to the new system. I find
the radeonhd driver configuration to be extremely fragile if I try to
drive two monitors with it. Many configurations which should be
entirely legal (e.g. specifying PreferredMode) lock up the system to
the point that the only way to recover is to unplug the power.

If I only had those experiences, I would conclude that Xorg 7.3 is
total junk. But at home I have two systems that work fine with it. One
is even using the radeonhd driver with two monitors -- a configuration
similar to the one that gives me so much trouble with lockups.

Overall, I think the older Xorg was much more stable and usable. I'm
not at all sure the new features were worth the price.

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


LaCie Lightscribe Labeler on FreeBSD ?

2008-03-07 Thread Bob Johnson
Anyone out there tried to get the LaCie Lightscribe Labeler for Linux
(or the version from the Lightscribe website) running under FreeBSD?

http://www.desktoplinux.com/news/NS3072070867.html
http://www.lacie.com/products/product.htm?pid=10803
http://www.lightscribe.com/downloadSection/linux/index.aspx?id=815

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


Re: panic: No BIOS smap info from loader: http://www.freebsd.org/cgi/query-pr.cgi?pr=111955

2008-03-07 Thread Bob Johnson
On 3/7/08, Stacey Roberts [EMAIL PROTECTED] wrote:
 Hello,
 Is anyone aware if this issue is fixed in FreeBSD 7.0-RELEASE / STABLE?


It is NOT fixed in -RELEASE and I doubt it is fixed in -STABLE.

 I've been trying to get FreeBSD-7 amd64 installed on an HP dc7700p
 workstation
 at work, but the installation CDs always fail with the error: panic: No BIOS
 smap info from loader.


Yep. The HP BIOS is a bit bogus. It won't reveal memory information to
the AMD64 boot code.

 My case appear exactly as is referenced in the above PR filing, but various
 google searches of other people's experiences revealed this problem still
 happening as of this week - that is, after the release of 7.0.

 Does anyone have any idea as to where this is heading, or if there's a call
 out
 for users to submit more information, or volounteer to test suggested
 workarounds?

I believe the status is the problem is understood but the solution
will take a lot of time.

I have one of those idiot boxes and FreeBSD i386 boots fine on it, and
runs mostly well, so if that's acceptable to you, that's the
workaround. The only problems I've had with i386 are that the video
card is a bit goofy (I've mostly solved that) and the sound system
acts strange (which I haven't had time to investigate), but other than
that it seems to run fine. But I won't voluntarily have anything to do
with another HP computer if I can avoid it -- this thing didn't even
have correct Windows drivers for some of its hardware.

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


Re: panic: No BIOS smap info from loader: http://www.freebsd.org/cgi/query-pr.cgi?pr=111955

2008-03-07 Thread Bob Johnson
On 3/7/08, Stacey Roberts [EMAIL PROTECTED] wrote:
 Hi Bob,
 Thanks for the response..,

 On Fri, 07 Mar 2008, Bob Johnson wrote:

  On 3/7/08, Stacey Roberts [EMAIL PROTECTED] wrote:
[...]
  Yep. The HP BIOS is a bit bogus. It won't reveal memory information to
  the AMD64 boot code.

 On the off-chance that there might be a vendor issue, I *DID* request our IT
 Dept to flash the BIOS on the workstation to see if a later revision might
 help
 in the meantime - can't hurt, will see next week when I can take another
 crack
 at this..,


I did that a few weeks ago and it didn't help. I don't think HP plans
to fix this. When the Linux community originally complained about this
problem about a year ago, pointing out that HP claims to support
Linux, HP told them to take a hike because the dc7700 is not on their
list of systems that they support Linux on. So at that time, HP had no
interest in making anything but Windows run on it. I don't know if HP
has softened their stance on that issue at all.

[...]
 Will give it a bit of time to see what develops - there *are* other
 options
 available to us, but it'd be great to maintain FreeBSD presence where
 possible.

If you are planning to use them as workstations, you might be happier
with i386. There are still some apps that don't work under amd64. If
you are looking at servers, I haven't done any performance tests on
this thing so I can't tell you how suitable it would be (although if
there is some specific and reasonably easy test you'd like me to run I
wouldn't mind doing that).


 Thanks for the information and advice!

 Regards,

 S Roberts

Good luck!

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


Re: amd64 or i386 for desktop use?

2008-03-05 Thread Bob Johnson
On 3/5/08, Isaac Mushinsky [EMAIL PROTECTED] wrote:
 On 3/5/08, Roland Smith [EMAIL PROTECTED] wrote:
 
  On Wed, Mar 05, 2008 at 12:36:33AM -0500, Isaac Mushinsky wrote:
   I have new hardware (Abit ip35-pro, Intel Q6600), and was contemplating
   installing FreeBSD/arch, but now realise that I am going to have some
   problems.
  
   My nvidia card will not be of much use (GeForce 8500GT), since
  nvidia-drivers
   are not there for amd64, and the open source nv driver does not even
  support
   XVideo extension for these cards. I can downgrade to a nv 7xxx series
  card,
   which works better with the open driver. I do not mind loss of 3D
  support,
   but would need basic things like mplayer.
 
 
  Any ATI card up to and including the 9250 (rv280) is fully supported on
  amd64, 3D and all. (I know because I've got one :-)
 
 
[...]

 Thanks a lot. Trouble is, new hardware does not even have an AGP slot for
 those cards. I don't mind to go without 3D, though, and it appears some
 newer cards (R5xx/R6xx) have decent drivers otherwise.

 Yes, I also want to go amd64 because I can. Besides, it will be a fresh
 install, and if ever, this is the right time to switch.

Where can I get a decent driver for ATI chipsets (e.g. RG516)?

The radeonhd driver does not support hardware acceleration, and so far
it doesn't work properly with my brain-dead RG516 card (which tells
radeonhd that there are no monitors connected), leaving me with the
vesa driver, which is pretty limiting but at least is better than
nothing. Although this was planned to be an amd64 system, I'm forced
to use i386 because the HP BIOS won't boot FreeBSD amd64 (I will never
voluntarily have anything to do with another HP system after my
experience with this one).

My nVidia-based system works (although not as well as it did with
older nVidia drivers), but it is an older card on an i386 system. I
don't know what happens with newer nVidia chipsets.

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


mkisofs and timestamps in ISO-9660 filesystems

2008-01-23 Thread Bob Johnson
I posted this a few days ago and got only marginally helpful responses, so 
here it is again with more detail:

1) I'm using reasonably recent versions of things:

# uname -a
FreeBSD acer.wb4jcm.org 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Dec 24 10:10:07 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

# mkisofs -version
mkisofs 2.01.01a37 (amd64-unknown-freebsd7.0) Copyright (C) 1993-1997 Eric 
Youngdale (C) 1997-2007 Jörg Schilling

# pkg_info | grep cdrtools
cdrtools-devel-2.01.01a37,1 CD/DVD and ISO-9660 image creation and extraction 
tools

2) My system is set to US Eastern Standard Time:

# date
Wed Jan 23 21:45:27 EST 2008
# date -u
Thu Jan 24 02:45:49 UTC 2008
# TZ=EST date
Wed Jan 23 21:46:53 EST 2008
# TZ=GMT date
Thu Jan 24 02:46:58 GMT 2008
# echo $TZ

# 

This is a dual boot system (with MS Vista), so the hardware clock is set to 
local time, not to GMT. I suspect this is significant.


3) I have a test file (just a bunch of zeroes). It's big because I wanted to 
see how quickly this system could write out a GB of data, but I get the same 
results with small files). The time stamp displayed by ls is correct for 
local time, and shows correct GMT time if I ask for it:
# ls -l
total 1049104
-rw-r--r--  1 root  bobj  1073741824 Jan 23 21:28 test.file --CORRECT
# TZ=GMT ls -l
total 1049104
-rw-r--r--  1 root  bobj  1073741824 Jan 24 02:28 test.file --CORRECT
#  


4) I use mkisofs to create an ISO filesystem with this test file in it:

# mkisofs -R -J -o test.iso test.file
  0.95% done, estimate finish Wed Jan 23 21:55:59 2008
[...]
 99.15% done, estimate finish Wed Jan 23 21:54:46 2008
Total translation table size: 0
Total rockridge attributes bytes: 274
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
524469 extents written (1024 MB)

5) I use mdconfig to mount the ISO filesystem (I get the same results if I use 
burncd to burn a CD and then mount the CD):

# mdconfig -a -t vnode -f test.iso -u 4
# mount_cd9660 /dev/md4 /mnt
#

6) Now when I look at the dates on the ISO filesystem, they are wrong. They 
look like the correction for offset from GMT has been applied twice. Note 
that the correct local timestamp for the file on the ISO filesystem is  Jan 
23 21:28 and the correct GMT timestamp is Jan 24 02:28.

# ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# TZ=EST ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# TZ=GMT ls -l /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 21:28 test.file -- WRONG!
#
# ls -lc /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# ls -lt /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:28 test.file -- WRONG!
# ls -lu /mnt
total 1048576
-rw-r--r--  1 root  bobj  1073741824 Jan 23 16:37 test.file -- WRONG!
#   

So what is going on here? Is this a bug, or a misconfiguration, or a 
misunderstanding? 

And as a side issue, why is the incorrect last access time 16:37, rather than 
16:54, since I built the ISO filesystem at 21:54?

I have not yet tried moving a CD to a Windows system to see what the file 
timestamp shows there. I have tried this on two different FreeBSD systems 
(7.0-RC1 amd64, and 6.2-RELEASE-p9 i386) with both cdrtools and 
cdrtools-devel from ports, and get the same results.

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


Re: Boot Loader Broken?

2008-01-21 Thread Bob Johnson
On 1/21/08, Schiz0 [EMAIL PROTECTED] wrote:
 On Jan 9, 2008 1:38 PM, Schiz0 [EMAIL PROTECTED] wrote:
[...]

 Now, I'm even in a bigger hole. My power died this weekend, and I
 guess the / partition has some errors on it, so it is being mounted
 read-only. But I'm unable to get into single user mode. I tried
 shutdown now and init 1 and they both brought me back to the
 multi-user login prompt. And there's no menu to reboot and select
 single user mode from.

What do you mean by multi-user login prompt?


 Can someone help me either solve the bootloader problem, or just how
 to get into single user mode?

When you reboot the system (e.g. press ctrl-alt-delete or issued the
shutdown -r now command), it should present a boot menu with
numbered choices. What happens if you select the one corresponding to
boot in single user mode. Or do you never get to the menu? If you
never got that menu, you are almost certainly in single-user mode.

Is there anything in /boot/loader.conf ?

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


Wrong times written by mkisofs?

2008-01-19 Thread Bob Johnson
I recently built a CD of images to give to a friend. I noticed the timestamps 
displayed when I list the CD contents are five hours earlier than they should 
be. Five hours matches my GMT offset. This is a dual-boot system with Win XP, 
so the hardware clock is set to local time.

E.g. a file on my hard drive has a correct timestamp
-rw---  1 bobo  bobo  2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG

while the same file on the resulting CD looks like
-rw---  1 bobo  bobo  2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG

The date command returns the correct local time.

Did I do something incorrectly, or is this a bug in mkisofs? It appears to me 
that mkisofs decided to correct for GMT offset when it shouldn't have.

The sequence of operations I followed is below.

- Bob

# ls -l ToJoe
total 62544
-rw---  1 bobo  bobo  2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG
-rw---  1 bobo  bobo  3346787 Jan 19 12:22 IMG_0661_080116_0524.JPG
-rw---  1 bobo  bobo  3623969 Jan 19 12:22 IMG_0662_080116_0525.JPG
-rw---  1 bobo  bobo  3966310 Jan 19 12:22 IMG_0663_080116_0526.JPG
-rw---  1 bobo  bobo  3971338 Jan 19 12:22 IMG_0664_080116_0526.JPG
-rw---  1 bobo  bobo  3946837 Jan 19 12:22 IMG_0665_080116_0528.JPG
-rw---  1 bobo  bobo  3873753 Jan 19 12:22 IMG_0666_080116_0528.JPG
-rw---  1 bobo  bobo  3832501 Jan 19 12:22 IMG_0667_080116_0529.JPG
-rw---  1 bobo  bobo  3854064 Jan 19 12:22 IMG_0668_080116_0531.JPG
-rw---  1 bobo  bobo  3849156 Jan 19 12:22 IMG_0669_080116_0532.JPG
-rw---  1 bobo  bobo  3868314 Jan 19 12:23 IMG_0670_080116_0533.JPG
-rw---  1 bobo  bobo  3901654 Jan 19 12:23 IMG_0671_080116_0534.JPG
-rw---  1 bobo  bobo  3851665 Jan 19 12:23 IMG_0672_080116_0537.JPG
-rw---  1 bobo  bobo  3850832 Jan 19 12:23 IMG_0673_080116_0538.JPG
-rw---  1 bobo  bobo  3876448 Jan 19 12:23 IMG_0674_080116_0542.JPG
-rw---  1 bobo  bobo  3866105 Jan 19 12:23 IMG_0675_080116_0543.JPG
-rw---  1 bobo  bobo  3881576 Jan 19 12:23 IMG_0676_080116_0543.JPG
[EMAIL PROTECTED] ~/images]$ mkisofs -J -R -o FMband.iso ToJoe/*
 16.05% done, estimate finish Sat Jan 19 12:24:16 2008
 32.04% done, estimate finish Sat Jan 19 12:24:16 2008
 48.00% done, estimate finish Sat Jan 19 12:24:18 2008
 64.04% done, estimate finish Sat Jan 19 12:24:17 2008
 80.04% done, estimate finish Sat Jan 19 12:24:17 2008
 96.01% done, estimate finish Sat Jan 19 12:24:18 2008
Total translation table size: 0
Total rockridge attributes bytes: 1801
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used d064
31250 extents written (61 MB)
[EMAIL PROTECTED] ~/images]$ su 
Password:
[EMAIL PROTECTED] /home/bobo/images]# burncd -f /dev/acd0 -s 8 data FMband.iso 
fixate
next writeable LBA 0
writing from file FMband.iso size 62500 KB
written this track 62500 KB (100%) total 62500 KB
fixating CD, please wait..
[EMAIL PROTECTED] /home/bobo/images]# mount_cd9660 /dev/acd0 /mnt
[EMAIL PROTECTED] /home/bobo/images]# ls -l /mnt
total 62113
-rw---  1 bobo  bobo  2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG
-rw---  1 bobo  bobo  3346787 Jan 19 07:22 IMG_0661_080116_0524.JPG
-rw---  1 bobo  bobo  3623969 Jan 19 07:22 IMG_0662_080116_0525.JPG
-rw---  1 bobo  bobo  3966310 Jan 19 07:22 IMG_0663_080116_0526.JPG
-rw---  1 bobo  bobo  3971338 Jan 19 07:22 IMG_0664_080116_0526.JPG
-rw---  1 bobo  bobo  3946837 Jan 19 07:22 IMG_0665_080116_0528.JPG
-rw---  1 bobo  bobo  3873753 Jan 19 07:22 IMG_0666_080116_0528.JPG
-rw---  1 bobo  bobo  3832501 Jan 19 07:22 IMG_0667_080116_0529.JPG
-rw---  1 bobo  bobo  3854064 Jan 19 07:22 IMG_0668_080116_0531.JPG
-rw---  1 bobo  bobo  3849156 Jan 19 07:22 IMG_0669_080116_0532.JPG
-rw---  1 bobo  bobo  3868314 Jan 19 07:23 IMG_0670_080116_0533.JPG
-rw---  1 bobo  bobo  3901654 Jan 19 07:23 IMG_0671_080116_0534.JPG
-rw---  1 bobo  bobo  3851665 Jan 19 07:23 IMG_0672_080116_0537.JPG
-rw---  1 bobo  bobo  3850832 Jan 19 07:23 IMG_0673_080116_0538.JPG
-rw---  1 bobo  bobo  3876448 Jan 19 07:23 IMG_0674_080116_0542.JPG
-rw---  1 bobo  bobo  3866105 Jan 19 07:23 IMG_0675_080116_0543.JPG
-rw---  1 bobo  bobo  3881576 Jan 19 07:23 IMG_0676_080116_0543.JPG
[EMAIL PROTECTED] /home/bobo/images]# date
Sat Jan 19 12:27:25 EST 2008
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wrong times written by mkisofs?

2008-01-19 Thread Bob Johnson
On Saturday 19 January 2008 05:22:58 pm you wrote:
  Irecently built a CD of images to give to a friend. I noticed the
  timestamps displayed when I list the CD contents are five hours earlier
  than they should be. Five hours matches my GMT offset. This is a
  dual-boot system with Win XP, so the hardware clock is set to local time.
 
  E.g. a file on my hard drive has a correct timestamp
  -rw---  1 bobo  bobo  2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG
 
  while the same file on the resulting CD looks like
  -rw---  1 bobo  bobo  2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG
 
  The date command returns the correct local time.
 
  Did I do something incorrectly, or is this a bug in mkisofs? It appears
  to me that mkisofs decided to correct for GMT offset when it shouldn't
  have.
 

 Let me asume you use a _recent_ mkisofs and set up a correct timezone...

[...]

 What do you get from mkisofs -version?

mkisofs 2.01 (i386-unknown-freebsd6.2)

 What timezone do you have (how many hours from GMT and which location)?

U.S. Eastern Standard Time (EST = GMT-5)

 What do you have in the TZ= variable?

It seems to be empty.

 What do you see with TZ=GMT ls -l ToJoe?

# TZ=GMT ls -l /mnt
total 62113
-rw---  1 bobj  bobj  2246671 Jan 19 12:22 IMG_0660_080115_2348.JPG
-rw---  1 bobj  bobj  3346787 Jan 19 12:22 IMG_0661_080116_0524.JPG
-rw---  1 bobj  bobj  3623969 Jan 19 12:22 IMG_0662_080116_0525.JPG
-rw---  1 bobj  bobj  3966310 Jan 19 12:22 IMG_0663_080116_0526.JPG
-rw---  1 bobj  bobj  3971338 Jan 19 12:22 IMG_0664_080116_0526.JPG
-rw---  1 bobj  bobj  3946837 Jan 19 12:22 IMG_0665_080116_0528.JPG
-rw---  1 bobj  bobj  3873753 Jan 19 12:22 IMG_0666_080116_0528.JPG
-rw---  1 bobj  bobj  3832501 Jan 19 12:22 IMG_0667_080116_0529.JPG
-rw---  1 bobj  bobj  3854064 Jan 19 12:22 IMG_0668_080116_0531.JPG
-rw---  1 bobj  bobj  3849156 Jan 19 12:22 IMG_0669_080116_0532.JPG
-rw---  1 bobj  bobj  3868314 Jan 19 12:23 IMG_0670_080116_0533.JPG
-rw---  1 bobj  bobj  3901654 Jan 19 12:23 IMG_0671_080116_0534.JPG
-rw---  1 bobj  bobj  3851665 Jan 19 12:23 IMG_0672_080116_0537.JPG
-rw---  1 bobj  bobj  3850832 Jan 19 12:23 IMG_0673_080116_0538.JPG
-rw---  1 bobj  bobj  3876448 Jan 19 12:23 IMG_0674_080116_0542.JPG
-rw---  1 bobj  bobj  3866105 Jan 19 12:23 IMG_0675_080116_0543.JPG
-rw---  1 bobj  bobj  3881576 Jan 19 12:23 IMG_0676_080116_0543.JPG

These times are the correct LOCAL time, not GMT. The following are five hours 
off:

# TZ=EST ls -l /mnt
total 62113
-rw---  1 bobj  bobj  2246671 Jan 19 07:22 IMG_0660_080115_2348.JPG
-rw---  1 bobj  bobj  3346787 Jan 19 07:22 IMG_0661_080116_0524.JPG
-rw---  1 bobj  bobj  3623969 Jan 19 07:22 IMG_0662_080116_0525.JPG
-rw---  1 bobj  bobj  3966310 Jan 19 07:22 IMG_0663_080116_0526.JPG
-rw---  1 bobj  bobj  3971338 Jan 19 07:22 IMG_0664_080116_0526.JPG
-rw---  1 bobj  bobj  3946837 Jan 19 07:22 IMG_0665_080116_0528.JPG
-rw---  1 bobj  bobj  3873753 Jan 19 07:22 IMG_0666_080116_0528.JPG
-rw---  1 bobj  bobj  3832501 Jan 19 07:22 IMG_0667_080116_0529.JPG
-rw---  1 bobj  bobj  3854064 Jan 19 07:22 IMG_0668_080116_0531.JPG
-rw---  1 bobj  bobj  3849156 Jan 19 07:22 IMG_0669_080116_0532.JPG
-rw---  1 bobj  bobj  3868314 Jan 19 07:23 IMG_0670_080116_0533.JPG
-rw---  1 bobj  bobj  3901654 Jan 19 07:23 IMG_0671_080116_0534.JPG
-rw---  1 bobj  bobj  3851665 Jan 19 07:23 IMG_0672_080116_0537.JPG
-rw---  1 bobj  bobj  3850832 Jan 19 07:23 IMG_0673_080116_0538.JPG
-rw---  1 bobj  bobj  3876448 Jan 19 07:23 IMG_0674_080116_0542.JPG
-rw---  1 bobj  bobj  3866105 Jan 19 07:23 IMG_0675_080116_0543.JPG
-rw---  1 bobj  bobj  3881576 Jan 19 07:23 IMG_0676_080116_0543.JPG


I thought this system had been updated recently, but:

# uname -a
FreeBSD sniffles.bobj.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 
17:40:53 UTC 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

so for my next trick, I will at least get it up to the lastest binary patch 
level, and try again.

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


Re: Now that 6.3 ...

2008-01-19 Thread Bob Johnson
On 1/19/08, Chris [EMAIL PROTECTED] wrote:
 Now that 6.3 is official, I have to assume that 7.0 is very near?

 --
 Best regards,
 Chris

I think 7.0 is very near, but not because of the status of 6.3. When a
release is in the RC stage, it is very near full release unless
something very significant is found by user testing. There are enough
potential problems being posted that I wouldn't be surprised to see
another release candidate, but perhaps all of those will turn out to
be minor issues and the next thing that will happen is the full
release.

I have run 7.0 BETAs on several systems and encountered no problems
(except that amd64 won't boot on our stupid HP systems with brain dead
BIOSes, but i386 works fine on them, KDE and all). I have already put
7.0 on a couple of production DNS servers (well, they are intended for
production, but are still in testing). The issues being reported don't
seem to be a problem for that use, and I'd rather set up a new server
with a new major release than one that is near end of life.

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


Re: Error building OpenEXR

2008-01-11 Thread Bob Johnson
/usr/ports/UPDATING (entry 20071008) might help.

The solution there isn't exactly what I ended up having to do (I don't
actually remember exactly what I did), but it pointed me in the right
direction.

- Bob


On 1/9/08, Gary Schenk [EMAIL PROTECTED] wrote:
 Attempting to upgrade the ports on my machine, and following (or trying to
 follow) UPDATING, an error accurs on the upgrade of OpenEXR. This made a lot
 of KDE ports fail.

 gmake[1]: *** [imfexamples] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop in /usr/ports/graphics/OpenEXR.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade.69205.29
 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.2.2_1
 UPGRADE_PORT_VER=1.2.2_1 make
 ** Fix the problem and try again.

 I then tried deleting OpenEXR and reinstalling it, but that did not work
 out.
 This shows up:


 b44ExpLogTable.cpp:52:18: half.h: No such file or directory
 b44ExpLogTable.cpp: In function `int main()':
 b44ExpLogTable.cpp:85: error: `half' was not declared in this scope
 b44ExpLogTable.cpp:85: error: expected `;' before h
 b44ExpLogTable.cpp:86: error: `h' was not declared in this scope
 b44ExpLogTable.cpp:90: error: `HALF_MAX' was not declared in this scope
 b44ExpLogTable.cpp:114: error: `half' was not declared in this scope
 b44ExpLogTable.cpp:114: error: expected `;' before h
 b44ExpLogTable.cpp:115: error: `h' was not declared in this scope
 gmake[1]: *** [b44ExpLogTable.o] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop in /usr/ports/graphics/OpenEXR.

 I'm at a real lost. If someone could give me a nudge in the right direction,
 I
 would appreciate it.

  uname -a
 FreeBSD babo.hbfun.org 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Fri Feb 16
 13:25:14
 PST 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BABO  i386

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

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


Re: SATA DVD Drive Install Problem

2008-01-11 Thread Bob Johnson
On 1/9/08, Sean Murphy [EMAIL PROTECTED] wrote:
 Is anyone successful in installing FreeBSD from a SATA DVD Drive?

 I am having trouble as it boots from the CD of 6.3 RC2 but at the
 beginning of the install it fails.  The CD I then tried in another
 computer and it installs fine.  I was wondering if it was the SATA DVD
 drive or the motherboard.

Do you get an error message when it fails?

I just installed AMD64 7.0-RC1 using the internal SATA DVD on an Acer
Aspire M5630. During the boot of the install CD, it paused for a while
with several READ_BIG errors, then that apparently timed out and and
changed modes, then it continued to boot without problem. I have not
yet tried to do anything with the DVD drive now that I have the system
up and running.

BTW, the video card uses the RADEONHD driver which does not yet
support hardware video acceleration, so I don't really recommend
running out and buying a new Aspire just yet.

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


Re: Nut and RAID on FreeBSD 7.0

2008-01-10 Thread Bob Johnson
On 1/10/08, Derrick Ryalls [EMAIL PROTECTED] wrote:


 Perhaps I need to re-evaluate my line of thinking.  Light sometime
 flicker, but power almost never goes out.  When it does it is either
 back on in less than 1 minute, or out for hours.  If the UPS detects
 critical correctly and gives me at least a minute before death, then
 that should be plenty of time for the system to auto-shutdown.  Guess
 I will have to do some experimentation tonight.

While you experiment, keep in mind the following sequence of events:

-- Power fails
-- UPS signals low battery
-- System shuts down
-- Power returns before UPS shuts itself down
-- System never reboots, because it never lost power.

Getting around this is the tricky part. I haven't used NUT in about
seven years, but back then the recommendation was to shut down to
single user mode and run a script that delayed for some time longer
than the remaining battery life of the UPS, then rebooted the system.
There didn't seem to be an easy hook for running a script after
shutting down to single user mode (maybe there is now).

I haven't looked at NUT recently, but I expect the various flags that
you are supposed to test are another way around this problem.

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


Re: short Q

2007-11-28 Thread Bob Johnson
On 11/27/07, jekillen [EMAIL PROTECTED] wrote:

 Originally, I was in a hurry and was having trouble with ports. This
 approach had
 worked for three machines. But one I was having endless problems with.
 Meanwhile
 I got it together to get ports to work. But the port did not install  a
 startup script for
 MySQL, at least in /etc/rc.d,

The port should have installed a startup script in /usr/local/etc/rc.d/

That is where ports usually install their startup scripts. Adding
scripts to /etc/rc.d can create confusion when you update the OS some
time in the future.

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


7.0-B2 IPFW/IP6FW interaction

2007-11-10 Thread Bob Johnson
I've been trying to learn about IPv6, using the 7.0 series as my
platform so it gets some exercise before release, and I've run into a
few odd interactions between IPFW handling of IPv4 and IPv6. The only
one I can reliably reproduce is pretty straightforward: if I set up
/etc/rc.conf to enable IPFW for both IPv4 and IPv6, both with the
CLIENT rule set, and edit /etc/rc.firewall and /etc/rc.firewall6
accordingly, only one ruleset gets loaded.

On my test system, the IPv6 ruleset is loaded first, and then when the
IPv4 ruleset is loaded, the flush command in rc.firewall removes all
of the IPv6 rules, so I end up with default deny for IPv6, plus all of
my normal IPv4 rules. It's possible that this interaction explains the
other oddities I thought I've seen but haven't reliably reproduced.

I fixed it by removing the flush commands from both rc.firewall and
rc.firewall6, but I expect this broke the proper operation of
/etc/rc.d/ipfw restart (although I haven't actually tested that. I
just manually flush the rules if I need to restart the firewall).

Am I running into this problem because 7.0 expects me to do something
differently, or is this actually a bug?  It appears the problem is in
the old config scripts (rc.firewall and rc.firewall6) that worked
properly when IPFW and IP6FW were independent, but now interact with
each other. It would probably make sense to integrate the two scripts
into a single rc.firewall script, but I haven't had time to take a
shot at that yet. If the load order is always the same, then of course
I can just remove the flush command from the second rule set and it
will solve the problem. Again, I haven't looked into that yet.

I've also noticed there are new rc.conf variables (e.g.
firewall_myservices, firewall_allowservices) that appear to be
intended to configure default rules for me, but I have not
investigated them. Perhaps I should?

In /etc/rc.conf the firewall statements I have are:

firewall_enable=YES
firewall_logging=YES
firewall_type=CLIENT
ipv6_firewall_enable=YES
ipv6_firewall_logging=YES
ipv6_firewall_type=CLIENT

and this is 7.0-BETA2

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


Re: ip6fw without ipfw?

2007-11-06 Thread Bob Johnson
On 11/6/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Tuesday 06 November 2007 00:54:36 Bob Johnson wrote:
  So is it a bug or a feature that enabling ip6fw (/etc/rc.d/ip6fw
  start) also enables ipfw (the ipv4 version)? I didn't see it mentioned
  in IP6FW(8).
 
  It sure surprised me when I was exploring IPv6 setup and I enabled
  ip6fw without configuring the IPv4 rc.firewall.  Locked me out of the
  remote system, because ssh won't let me log in on IPv6 (I'll post that
  question in another message), and ipfw came up and locked me out via
  IPv4. Forced me to go out and enjoy the nice weather yesterday instead
  of playing with IPv6 all day...

 Can't replicate what you said. I am running 6.2-STABLE from June.
 I loaded the ip6fw module and ipfw is not loaded. I also ran the
 ip6fw rc script. Nothing happened regarding ipfw.

 root:0:/cdrom# ip6fw show
 65535  0  0 deny ipv6 from any to any
 root:0:/cdrom# ipfw show
 ipfw: getsockopt(IP_FW_GET): Protocol not available

 If you can replicate the problem, please report it.

 Nikos


Sorry I forgot to mention that this is on 7.0-BETA1.

I find that it only happens the first time I enable the firewall after
rebooting. I remove the firewall_enable and ipv6_firewall_enable lines
in rc.conf, reboot the system, then put the lines back in rc.conf.
Then /etc/rc.d/ip6fw start also starts ipfw.

I'm pretty sure that when this happens, ipfw doesn't load its rules
from /etc/rc.firewall, so it is running with only the default deny
rule (I'll try to confirm that some time today, but first I need to
get some real work done this morning).

After the firewall has been enabled and disabled, re-enabling ip6fw
doesn't seem to affect ipfw.

Since this is apparently a bug, I'll file a PR. I'm going to install
7.0-BETA2 later today, I'll try again on that.

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


Re: ip6fw without ipfw?

2007-11-06 Thread Bob Johnson
On 11/6/07, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Tuesday 06 November 2007 17:14:24 Bob Johnson wrote:
  Since this is apparently a bug, I'll file a PR. I'm going to install
  7.0-BETA2 later today, I'll try again on that.

 Not saying that this is not a bug, but keep in mind
 that there is no ip6fw in RELENG_7. IPv6 filtering
 is integrated in ipfw. I think you better ask ipfw@
 for opinions and workarounds before filing a PR.

 HTH,

Yes, it helps. Thanks.

I think there is a bug in the implementation. I'll ask the ipfw people.


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


Re: ipv6 confusion

2007-11-05 Thread Bob Johnson
On 11/5/07, Aryeh M. Friedman [EMAIL PROTECTED] wrote:
 I want to set my machine up to be on both IPv4 and IPv6.   I have read
 the stuff on 6over4 and such and still a little confused on a few things:

 1. The machine I want to do the tunneling on is behind a NAT'ed firewall
 how do I reliabelly obtain the external IP of the firewall (dhcp
 assigned from cable company)?

Probably the easiest method is to go to a web site that tells you what
IP you are coming from, e.g. http://www.go6.net (just below the top
banner). Or if you log in to your firewall it will be able to tell you
its external IP number.


 2. If the machine I want to do the tunneling with is the DMZ host for
 the above FW do I need to add anything special to the FW's routing tables?

6to4 tunneling uses IP protocol type 41, so you need to tell your FW
to permit protocol 41 traffic. TCP, UDP, ICMP, etc. are all different
protocol types, so the syntax used to allow TCP traffic might work if
you use 41 instead of TCP. You may also need a way to tell your
firewall to route all protocol 41 traffic to your IPv6 gateway system
so it can receive all of your incoming IPv6 traffic.


 3. I am a little confused on how to pick the other end of the tunnel and
 how do I configure it once the first 2 items are solved?... The
 confusion comes from how is an arbitary (by me [with in the restrictions
 in stf(4)]) selected IPv6 IP supposed to be routable when IPv4 forces
 me to use the one assigned to me by my upstream router?

Pick the tunnel with the least delay!

The other restrictions only mean that if you have more than one IPv6
system on your local network, they must have unique IPv6 addresses. At
least, I think that's what they mean. This is the part of IPv6 over
IPv4 that I haven't directly experimented with yet, so I can tell you
what I think I understand, not what I've proven I understand, but here
it is:  You will run stf(4) on only one system on your LAN. That
system becomes your gateway to the IPv6 world. Other systems on your
LAN get other IPv6 addresses, all with the same initial 48 bits (I.E.
they all use the same IPv4 address to construct their IPv6 address,
but the rest of the address has to be different for each system in
your LAN). Outside systems will send traffic for your LAN to the
gateway system (the one running stf) and it will forward it
accordingly. You will need to tell the stf system that it is supposed
to perform that role, which for FreeBSD I think is accomplished by
adding rtadvd_enable=YES to /etc/rc.conf. You may (or may not) find
it informative to read rtadvd(8). On all the other systems in your
LAN, you just need to enable IPv6, and they will talk to rtadvd and
configure themselves appropriately. At least, that's my understanding.

So far I have not used stf -- instead I have used tunneling via the
gw6c client and Freenet6 (i.e. http://www.go6.net). First install the
net/gateway6 port. Edit /usr/local/etc/gw6c.conf and change the
appropriate parts for an anonymous connection (the comments explain
them - in fact that may be the default). Also set gw6c.conf so your
system will be a router if you have other IPv6 systems on your LAN.
Then run gw6c and it will set up the tunnel, and run rtadvd for you if
appropriate. That should be all you have to do. Again, this is needed
only on your gateway system, so all the other systems on your network
need only have IPv6 enabled. It should also be obvious that both of
these methods completely bypass your existing IPv4 firewall, so every
system on your LAN will have unfirewalled exposure to the Internet,
unless you run an IPv6 firewall as well.

One advantage of using gw6c is that it can build a tunnel over
protocol 41, over TCP, or over UDP. So if your firewall prevents you
from getting a 6to4/stf tunnel working, try  gw6c. I also found it
easier to set up than figuring out what I needed to make stf work, but
I'm about to set up an stf system so I can directly compare the two.

If you like the gw6c method, go to http://www.go6.net and register for
a free account. Then edit gw6c.conf with your account info and other
appropriate changes, and restart it. You will be issued a permanent
IPv6 address tied to your account, so that if your external IPv4
address changes your IPv6 addresses do not change.


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


ip6fw without ipfw?

2007-11-05 Thread Bob Johnson
So is it a bug or a feature that enabling ip6fw (/etc/rc.d/ip6fw
start) also enables ipfw (the ipv4 version)? I didn't see it mentioned
in IP6FW(8).

It sure surprised me when I was exploring IPv6 setup and I enabled
ip6fw without configuring the IPv4 rc.firewall.  Locked me out of the
remote system, because ssh won't let me log in on IPv6 (I'll post that
question in another message), and ipfw came up and locked me out via
IPv4. Forced me to go out and enjoy the nice weather yesterday instead
of playing with IPv6 all day...

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


Re: How to provide fail-over capability for servers?

2007-10-30 Thread Bob Johnson
It depends on what type of services the servers offer. Mail servers,
web servers, file servers, DHCP servers?  SMTP (the mail protocol) for
instance has built-in provisions for automatic failover.

- Bob


On 10/29/07, Stephen Allen [EMAIL PROTECTED] wrote:
 I'm completely new to this so some of my ideas may sound ludicrous...
 please put me right where necessary!

 I will have 3 net-facing servers which must be available 24/7.  I had
 planned to have an additional box located in a different building on the
 same site (in case of part power-outage) that will run VMware server and
 host all the fail-over servers.

 What options are there for providing automatic fail-over capability?  I
 had thought of running a cron job every minute that would test for the
 existence of the other server and assume its identity if it couldn't get
 a reply, but it feels like a 'sub-optimal' way of doing it.

 Can anyone give me some ideas I should be looking at?

 Many thanks,
 Steve :)

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

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


Re: Why 7.0 is so late ?

2007-10-17 Thread Bob Johnson
On 10/17/07, Albert Shih [EMAIL PROTECTED] wrote:
 Hi all


 Anyone known why this time the release of 7.0 is so late ? In generaly the
 date on http://www.freebsd.org/releng/index.html is alway very optimist.

 But this time it's almost 5 mounth (annonced june 2007).

 I've see somewhere it's because 7.0 come with gcc 4.2 and many ports don't
 compile. Is this the reason ?

According to http://www.freebsd.org/releases/7.0R/todo.html there is a
very short list of things left to fix. The most important issue is
some sort of TCP problem (TCP timers are listed as requiring more
testing).

Unless someone in release engineering answers your question, that's
the best official information I'm aware of.

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


Re: 1 TB data copy

2007-10-12 Thread Bob Johnson
On 10/12/07, CyberLeo Kitsana [EMAIL PROTECTED] wrote:
 Bill Moran wrote:
  In response to Monah Baki [EMAIL PROTECTED]:
  I'm not completely up to speed with FreeBSD's NTFS support.  Last I looked
  at it, it was experimental and there were warnings everywhere.  I assume
  it's improved since then (~3 years ago) but can't say with authority.

 As I recall, the native FreeBSD NTFS support is read-only. However, the
 NTFS-3g project has a mostly complete (and pretty safe) read/write
 implementation as a FUSE program, which can be found in ports:

 sysutils/fusefs-ntfs
 sysutils/ntfsprogs


FreeBSD NTFS is not read only, but there are restrictions on what it
can write. To quote the man page:

 There is limited writing ability.  Limitations: file must be nonresident
 and must not contain any sparses (uninitialized areas); compressed files
 are also not supported.  The file name must not contain multibyte charac-
 ters.

If your file name uses only ASCII characters, you will be probably be
OK using mount_ntfs to write to an NTFS filesystem. I've used it for
years, but mostly for reading files. The few times I've used it for
writing, it worked fine. I think you are most likely to have problems
if you use it to edit an existing file.

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


Re: Video chipset hardware list

2007-10-01 Thread Bob Johnson
On 10/1/07, Harry Matthiesen Jensen [EMAIL PROTECTED] wrote:
 Hi,

 I have tried to lookup a hardware list  video chipset supported
 on x.org, but for some reason I can't find anything.

 Is there a good hint where to find it?


I have had pretty good results looking at man pages for individual
drivers. If you already have a system and want to estimate your chance
of success, this is a good approach. For example, the radeon(4x) page
correctly fails to list my RV516 chipset as supported... 8(And
nVidia also provides proprietary FreeBSD drivers for their chipsets,
so their website may be helpful. I don't know if ATI's proprietary
driver is usable on FreeBSD.

Keep in mind that the vesa driver will get almost anything working,
although without the full performance of a chipset-specific driver.
The Xorg -configure command is quite good at selecting the correct
driver, so it is often easier to just try it and see what happens
rather than reading a lot of driver documentation to see if your
chipset is supported.

The x.org web site is a poor place to look for documentation, so you
should probably look at the man pages at freebsd.org if you haven't
already installed x.org on your system.

Good luck!

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


Re: anyone have a favorite laptop?

2007-09-26 Thread Bob Johnson
On 9/25/07, Bill Campbell [EMAIL PROTECTED] wrote:
 I used Thinkpads for about 10 years with various Linux systems.
 My last one was a Thinkpad 600 which I used continuously from
 August 1999 through March 2007 when I got a Mac Powerbook (now if
 only I could run OS X on a Thinkpad :-).

 We have used a fair variety of Thinkpads with our auction
 software for the last 10 years or so with excellent results.

Fortunately you were using Linux. For some Thinkpads, IBM arbitrarily
picked a system ID for their suspend-to-disk partition that was the
same as FreeBSD UFS (165). The result was you could not boot the
Thinkpad after you installed FreeBSD, until IBM changed the sysid and
you updated your BIOS. I ran into this about six years ago when I got
a hand-me-down Thinkpad.  Info at
http://www.unixguide.net/freebsd/faq/03.10.shtml.  This was a problem
for some new Thinkpads at least as late as 2002.

Moral: the ability to run Linux does not imply the ability to run FreeBSD.

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


Re: anyone have a favorite laptop?

2007-09-25 Thread Bob Johnson
I've been happy with FBSD on Dell Inspirons, although the newest I've
used it on is an 8600 (it's what I'm using now). Some things have been
problems (e.g. on the 7500 the sound input never had a driver, on the
8600 it took a while to find a driver that would make a working NDIS
driver for the wireless).

In general, if you get something new on the market you are far more
likely to have trouble getting it working. In that regard in
particular, I've had better luck with nVidia rather than ATI video
(nVidia publishes FreeBSD drivers).

- Bob

On 9/25/07, Bill Campbell [EMAIL PROTECTED] wrote:
 On Mon, Sep 24, 2007, Arend P. van der Veen wrote:
 We have used Thinkpads for a long time.  I am currently using a T60.
 Never had any problems.

 I used Thinkpads for about 10 years with various Linux systems.
 My last one was a Thinkpad 600 which I used continuously from
 August 1999 through March 2007 when I got a Mac Powerbook (now if
 only I could run OS X on a Thinkpad :-).

 We have used a fair variety of Thinkpads with our auction
 software for the last 10 years or so with excellent results.

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

 Liberty don't work as good in practice as it does in speeches.
 Will Rogers
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: migrate from postfix to qmail

2007-09-24 Thread Bob Johnson
On 9/21/07, Lotfi kecir [EMAIL PROTECTED] wrote:
 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?
 Thanks.

The short answer should be that you just install the mail/qmail port.
The details of how to move the mailboxes to the new server depend on
what mailbox format you are using now.  If they are Maildir format,
Qmail will be able to use them with no changes. If they are not
Maildir format, you will need to post that information.

But please do not use Qmail -- it pollutes everyone else's mailbox
with blowback spam. If someone has convinced you that you want to use
Qmail, I strongly recommend that you consider Courier instead. It was
designed to be a drop-in replacement for Qmail, but does not have most
of the problems that Qmail has. The configuration files are very
similar to Qmail, so Qmail training should transfer to Courier pretty
readily.

If you are putting this on the same server you now use for
postfix/dovecot, you will probably need to edit /etc/rc.conf to
disable your old mail program and enable the new one. E.g. if there is
a 'postfix_enable=YES' statement, you may need to replace it with
something like 'courier_enable=YES'.

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


Re: ssh forwarding question

2007-09-11 Thread Bob Johnson
On 9/3/07, Pollywog [EMAIL PROTECTED] wrote:
 On Tuesday 04 September 2007 00:13:13 Pollywog wrote:
  On Monday 03 September 2007 23:08:45 Predrag Punosevac wrote:
   Pollywog wrote:
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 15901
Could not request local forwarding.
  
   It seems to me that you have a problem with a firewall. Look at your own
   message. It looks like port 15901 is closed for listening.
 
  Here is another clue.  Something seems to be wrong with the loopback:
 
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
  inet6 ::1 prefixlen 128
  ripple# ping localhost
  PING localhost (127.0.0.1): 56 data bytes
  ping: sendto: Can't assign requested address
  ping: sendto: Can't assign requested address
  ping: sendto: Can't assign requested address
  ping: sendto: Can't assign requested address
  ping: sendto: Can't assign requested address
  ping: sendto: Can't assign requested address
 
  I have not set up a firewall on this host, so the problem is something
  else, perhaps the output above from ifconfig helps.

 Yes that was the problem.  I did this:

 ifconfig lo0 127.0.0.1 netmask 255.0.0.0

 After that I could ping localhost and my VNC connection via SSH succeeded.
 Now how do I fix this problem permanently in FreeBSD, by running sysinstall
 again and setting the loopback address from there?

It should have already been in /etc/defaults/rc.conf.  So the mystery
to be solved is why it was not there (or what you had in /etc/rc.conf
that overrode it, maybe). When you installed FBSD, did you do a
standard install or one of the expert installs?

And of course, since it was 7.0, you can expect things to be broken
once in a while. It is what most of the world would call beta code.
The quick fix is to put the required line in either
/etc/defaults/rc.conf or /etc/rc.conf. Normally you would never edit
/etc/defaults/rc.conf, but that line should have been in it.

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


Re: sysinstall, packages, ports q.s

2007-09-07 Thread Bob Johnson
On 9/5/07, Sur Demir [EMAIL PROTECTED] wrote:

 Hi,
 I'm a bit new to FreeBSD, and have few questions challenging my Gentoo
 Linux mindset:

There are a lot of approaches to managing FreeBSD systems. What is
best for you depends on your goals. My suggestions are a bit different
from what you have already received, I think.


 1. I performed a Minimal 6.2 installation (it boots OK).

Just out of curiosity, why did you do this rather than the recommended
Standard install?

 Then I selected
 Post installation tasks - Distributions. There I see base
 (required),
 it appears unselected. Does this install anything more than what
 Minimal
 install did at the first place?

Good question. It certainly installs less than a Standard Install,
which is what I normally do.


 2. I see pkg_add, pkg_delete, pkg_info but no pkg_update. How am I
 supposed to keep my system up to date, unless I revert to ports?


The normal way to keep the base system up to date is by using cvsup
to update your source tree to the latest -STABLE code, and then
rebuild the system. The instructions are in the Handbook in the
Cutting Edge chapter. But I don't usually do that - I'm usually more
interested in ease of maintenance than having the latest greatest code
base, so I install freebsd-update from ports and use it to do binary
updates (freebsd-update may now be part of the base install, I'm not
sure) when there are critical updates available.

Just be aware that freebsd-update can only update the -RELEASE version
(i.e what you install from the distribution CD). If you update your
system to the -STABLE code base you won't be able to do binary updates
(unless that has changed recently). If you build a custom kernel, then
freebsd-update can't update your kernel, although it can still update
the other components of the base system.

 3. Minimal install provides a number of commands by default like pkg_*,
 portsnap, gcc, ls, vi, etc but pkg_info does not list any of their
 packages, which means they're not managed under /var/db/pkg. Then, how
 am I supposed to upgrade them without ending up with multiple versions?


The base system is treated as an integrated unit. So you update it by
updating your source code and recompiling, or with freebsd-update, as
I mentioned above. You can also patch only the specific code of
interest and recompile just that part of the system. All three methods
are usually provided for when there are security updates, and there
are probably other approaches that would work.

That reminds me, it's a good idea to subscribe to the
FreeBSD-security-notifications list so you get notification of
security updates.

 4. I want to avoid the -CURRENT branch and want to stay with -STABLE
 branch for now. The page http://www.freebsd.org/ports/index.html says:
 The Ports Collection supports the latest release on the
 FreeBSD-CURRENT
 and FreeBSD-STABLE branches.
 This not clear to me: If I start using ports, am I on -STABLE or not?

The base system (kernel, basic commands and utilities) are treated as
a separate integral unit outside of the ports system.  The ports
system is stuff that you add on to the base system. Entities in
ports are supposed to install properly on -CURRENT, -STABLE, and
recent -RELEASE systems. Older systems may have trouble installing
some ports.

The default method of installing a port is to build it from source
code, but it is possible to install many (maybe most?) as precompiled
binaries. Various methods of doing so should be explained in the
Handbook -- I usually use portinstall with appropriate flags.


 5. make.conf is blank by default. Does CPU_TYPE default to i386 in this
 case?


The FreeBSD Project tries hard to follow POLA (the Principle Of
Least Astonishment, i.e. do what your users will find least
surprising), so it is highly likely that it defaults to whatever major
family it is running on, which for most people is i386.

 I hope I'm not too confused and sound silly. TIA.

No, you are asking the right questions. I think you will find the
Handbook to be very informative.


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


Re: mail server setup questions

2007-09-06 Thread Bob Johnson
On 9/5/07, Chad Perrin [EMAIL PROTECTED] wrote:
 On Thu, Sep 06, 2007 at 11:37:11AM +1000, Norberto Meijome wrote:
  On Wed, 5 Sep 2007 16:52:56 -0400
  Bob Johnson [EMAIL PROTECTED] wrote:
 
   In case I haven't made myself clear, I despise Qmail with a passion.
[...]
 
  I just realised that qmail appears over and over in Linux distros, or at
 least
  on linux servers i've had to suffer... not sure the relationship there (in
  design / philosophy...)... and I am really NOT wanting to start a flame
 war.
  Just a thought that crossed my mind as I was reading this thread.

About five or seven years ago when sendmail was having a lot of
security problems and people were looking for alternatives, qmail was
reasonably well established and was widely recommended. So a lot of
people switched to it (including the place where I now work),
including several Linux distros. We were never very happy with it
here, and I suspect that the reason it has such a following in the
Linux world is either that they have never used an alternative (same
reason Windows has so many fans), or to abandon it and move to
something else would cause a sort of cognitive dissonance that
prevents it from happening.


 I haven't seen enough production FreeBSD systems set up by others to have
 any impressions about whether Linux admins are more likely to use Qmail
 than FreeBSD admins.  I do get the impression, however, that the Linux
 admins who choose Qmail tend to do so for much the same reason that MS
 Windows admins choose Exchange: they think it's easier, that setting it
 up is just a plug-and-play, point-and-click sort of exercise.  The fact
 that it's sending and receiving emails within a couple hours (starting
 from a clean box) seems to be the sum total of their metric for ease of
 setup, and all the hassle and annoyance that follows doesn't even enter
 into it.

For those people I recommend Courier.  It was designed to be a drop-in
replacement for Qmail, but without most of the flaws. The
configuration files, for instance, are mostly the same. The biggest
problem I've had when configuring Courier is that it tends to be
overly determined to enforce RFC compliance and thus will not be
friendly toward a lot of mail from various MS products. Find the
configuration flag that turns off that behavior or users will complain
about the results. The author makes a reasonable case for the default
behavior (to do otherwise forces Courier to be non-compliant itself),
but in the real world you have to be able to accept mail from MS
products.

I have used Courier at my previous job (about 200 users) and at home
and I have no significant complaints. If you just need a basic server
that will handle your personal email without requiring you to learn
what amounts to a new programming language (as with Exim and a few
others), it's a good choice. The full distribution includes a POP/IMAP
server and a webmail system. Just be sure not to skip the README file,
and follow the instructions for testing your installation
step-by-step. I have NOT tried to set up intensive anti-spam measures
on Courier, so I don't know what problems may be in store there, but
I'm sure there is info at http://www.courier-mta.org

I'm not really as evangelistic for Courier as I sound. As long as you
stay away from Qmail you will probably be happy with whatever you use.
I do recommend that you use something that supports Maildir style
mailboxes, though.

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


Re: mail server setup questions

2007-09-05 Thread Bob Johnson
On 9/5/07, Andrey Shuvikov [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to set up a home mailserver with imap/web access. But I was
 going to use exim. Several people mentioned postfix here, but nobody
 named exim. Is it a matter of personal preference or is exim not
 suitable for this task?


It's most definitely a matter of personal preference. I lean toward
Exim or Courier. Exim is highly customizable, but the price you pay
for that is a steep learning curve when you start looking at
customization. Courier isn't as flexible, but can do anything most
people are likely to want from a mail server by just setting the
appropriate configuration values. And if you just must have more
complexity, you can use procmail to do local delivery for Courier.

FWIW I use Courier at home and Exim at work. We replaced Qmail (yech!)
with Exim at work in part because we needed its customizability.  The
only real reason for me to switch to Exim at home would be to reduce
the number of tools I'm dealing with. Courier has the advantage of
having everything (smtp, pop, imap, and webmail servers) all
distributed as one package, other than the host web server for the
webmail component.

Whatever you do, please don't use Qmail. I don't want any more
blowback spam than I already get.

In case I haven't made myself clear, I despise Qmail with a passion. I
suppose it is suitable for people who like puzzles (as in What
patches do I need to make this do something useful? or What
third-party tool do I need to make sense out of these awful log
files?) and who don't mind inflicting lots of unnecessary secondary
spam on the rest of the world.  Yes, I know there are _supposed_ to be
patches that fix that problem, but (a) the one I've seen in action
doesn't work very well, and (b) you shouldn't need to apply
third-party patches to your mail server to make it do what it is
supposed to do in the first place.

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


Re: (error) Your apache does not support DSO modules

2007-08-27 Thread Bob Johnson
http://httpd.apache.org/docs/2.2/dso.html

What is it that you are actually trying to accomplish? What was the
command that resulted in these errors?

- Bob


On 8/27/07, Anthony Philipp [EMAIL PROTECTED] wrote:
 Hi,

 When I searched for DSO modules I found this page:
 http://httpd.apache.org/docs/1.3/dso but it doesn.t seem to have a similar
 page for the 2.2.x series of Apache. Am I hunting down the correct path? I
 also checked /usr/ports/UPDATING but unable to find anything of relevance
 there. I.ve included the error below. Any help is appreciated.

 Regards,

 Anthony


 ---  Cleaning out obsolete shared libraries
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 848 packages
 found (-0 +1) . done]
 ** Makefile possibly broken: lang/php5:
 /usr/local/sbin/apxs: not found
 /usr/ports/Mk/bsd.apache.mk, line 278: warning:
 /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
 /usr/local/sbin/apxs: not found
 /usr/ports/Mk/bsd.apache.mk, line 278: warning:
 /usr/local/sbin/apxs -q MPM_NAME returned non-zero status
 php5-5.2.3_1
 : Your apache does not support DSO modules

 ---  Skipping 'security/php5-mcrypt' (php5-mcrypt-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'www/punbb' (punbb-1.2.15) because a requisite package
 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'converters/php5-iconv' (php5-iconv-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-ctype' (php5-ctype-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'graphics/php5-gd' (php5-gd-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'net/php5-ldap' (php5-ldap-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-xml' (php5-xml-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'www/php5-session' (php5-session-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'ftp/php5-curl' (php5-curl-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'databases/php5-mysql' (php5-mysql-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'devel/php5-pcre' (php5-pcre-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ** Detected a package name change: gpdf (graphics/evince) - 'evince'
 (graphics/evince)
 ** No need to upgrade 'gpdf-2.10.0_5' (= evince-0.8.3). (specify -f to
 force)
 ---  Skipping 'textproc/php5-simplexml' (php5-simplexml-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'devel/php5-spl' (php5-spl-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'textproc/php5-dom' (php5-dom-5.2.3_1) because a requisite
 package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ---  Skipping 'security/php5-mhash' (php5-mhash-5.2.3_1) because a
 requisite package 'php5-5.2.3_1' (lang/php5) failed (specify -k to force)
 ** Listing the failed packages (*:skipped / !:failed)
 ! lang/php5 (php5-5.2.3_1)  (Makefile broken)
 * security/php5-mcrypt (php5-mcrypt-5.2.3_1)
 * www/punbb (punbb-1.2.15)
 * converters/php5-iconv (php5-iconv-5.2.3_1)
 * textproc/php5-ctype (php5-ctype-5.2.3_1)
 * graphics/php5-gd (php5-gd-5.2.3_1)
 * net/php5-ldap (php5-ldap-5.2.3_1)
 * textproc/php5-xml (php5-xml-5.2.3_1)
 * www/php5-session (php5-session-5.2.3_1)
 * ftp/php5-curl (php5-curl-5.2.3_1)
 * databases/php5-mysql (php5-mysql-5.2.3_1)
 * devel/php5-pcre (php5-pcre-5.2.3_1)
 * textproc/php5-simplexml (php5-simplexml-5.2.3_1)
 * devel/php5-spl (php5-spl-5.2.3_1)
 * textproc/php5-dom (php5-dom-5.2.3_1)
 * security/php5-mhash (php5-mhash-5.2.3_1)
 ---  Packages processed: 7 done, 825 ignored, 15 skipped and 1 failed


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

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


Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Bob Johnson
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] wrote:
 Hi again. On a dual-core system, how do I tell how much of each of
 the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs
 at once? Is there something in ports (that works without X...) that
 will give good info?

Try:

top -S

or while you are running top, just press shift-S.

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


Re: FreeBSD Wireless

2007-08-27 Thread Bob Johnson
Where does the question come from? Have you read about block relay
on a Linux help page and trying to find the FBSD equivalent, or have
you seen block relay as an undocumented option to ifconfig in FBSD?

- Bob


On 8/27/07, Thiago Pollachini [EMAIL PROTECTED] wrote:
 no one?
 regards,

 2007/8/2, Thiago Pollachini [EMAIL PROTECTED]:
 
  Hello ALL,
 
  i was studying the ifconfig manual and i did not find any argument or
  explanation about block relay.
 
  Can anyone help?
 
  Regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vlc won't play region encoded DVDs

2007-08-17 Thread Bob Johnson
On 8/16/07, Chandhee Thala [EMAIL PROTECTED] wrote:
 Hello,

 I'm running VLC 0.8.5 on FreeBSD 6.2.

 I was under the impression that VLC ignored region-encoding when
 playing DVDs, but this is apparently not the case on my BSD box.

In all but the oldest DVD drives, region encoding is supposed to be
enforced by the drive itself, not by your software. You can change the
region code setting on your drive a few times, but there is a limit (5
times, I think). Have you succeeded at playing the same DVDs with VLC
on a different O/S?

 Most of the American DVDs I try to play gets a region encoding error
 and quits. I have no problems with foreign DVDs (from other
 countries).

Most American movies are marked with a specific region code. In some
countries (China for example), it is common practice to publish movies
marked to be playable in all regions. And of course, you may be
playing movies from the region your drive is set to.

 Is this standard behavior for VLC on BSD or am I doing something wrong?

I haven't actually tried to play an out-of-region DVD, so I don't know
from direct experience, but I wouldn't expect to succeed if I tried.
As I said, the region protection is done by the drive itself.

I hope I'm wrong, though. The sooner this idiot DRM stuff dies, the better.

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


Re: Share folder over internet

2007-08-16 Thread Bob Johnson
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote:
   Hi All,

 Here is a problem that I cannot solve. I have two offices with two file
 servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on
 the local server). I would like to share some directory structures between
 the two offices. Originally I was thinking about sshfs (mount_sshfs) but I
 cannot compile fuse from the ports. NFS cannot share subdirectories, only
 whole filesystems and it is not secure to use over the internet.


Unless I'm very confused, BSD NFS can export directories and directory
trees in addition to filesystems.  See export(5).  Internet security
should be attainable with an appropriate firewall configuration that
allows the servers to only talk to each other.

 [...]
 What should I use?


I often suggest Coda (ports/net/coda6_server  coda6_client) for this
sort of situation, but it has been so many years since I've used it
myself that I don't know what state it is in these days. I hope the
documentation has improved. Note the client runs on the local file
server, so you don't need to change anything on end-users'
workstations.

In your case, though, it sounds like NFS would actually do what you need.

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


Re: Share folder over internet

2007-08-16 Thread Bob Johnson
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote:

  I often suggest Coda (ports/net/coda6_server  coda6_client) for this
  sort of situation, but it has been so many years since I've used it
  myself that I don't know what state it is in these days. I hope the
  documentation has improved. Note the client runs on the local file
  server, so you don't need to change anything on end-users'
  workstations.
 
 If it really has client side caching then it can be better than NFS.
 However, I just found this on their official website:

 snip
 There were several sweeping changes in freebsd, and in the case where
 the developers didn't exactly know how to solve it for Coda, they just
 removed the related code. For instance, they don't support vget with a
 device/inode number pair anymore, so they simply removed the complete
 coda_open codepath. As a result it is impossible to open any files or
 directories in /coda with the current fbsd kernel module.
 /snip

Like most of their documentation, that seems to be out of date.
According to their codebase, that particular issue was fixed a few
months ago. But I certainly wouldn't trust Coda (on ANY platform) for
production use without a bunch of testing. Which is too bad, it seems
like a neat solution looking for problems to solve. I played with it
for a while several years ago and I liked it enough to wish I had a
problem that required it.

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


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-05-31 Thread Bob Johnson

On 5/31/07, George [EMAIL PROTECTED] wrote:


Or how about favourite most useless man page entry:

The notion of errors is ill defined.

Come to think of it, that last one is almost poetic, isn't it?  In a Zen
sort of way.  Anyone recall which manpage it's from?


grep says netstat(1).

In the Bugs section, which seems like a good place for that information.

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


Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-05-31 Thread Bob Johnson

On 5/31/07, Bob Johnson [EMAIL PROTECTED] wrote:

On 5/31/07, George [EMAIL PROTECTED] wrote:

 Or how about favourite most useless man page entry:

The notion of errors is ill defined.

 Come to think of it, that last one is almost poetic, isn't it?  In a Zen
 sort of way.  Anyone recall which manpage it's from?

grep says netstat(1).

In the Bugs section, which seems like a good place for that information.

- Bob


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


Re: command to inentify the process that is listening in a port.

2007-04-11 Thread Bob Johnson

On 4/10/07, Jonathan McKeown [EMAIL PROTECTED] wrote:

On Monday 09 April 2007 17:37, Martin Hudec wrote:
 Siju George wrote:
  How Do you actually Identify what process is listening on a TCP/IP port?
  nmap does not usually give the right answer.
  There should be some command that can be run on the local host for
  identification right?

 man lsof

 5:35pm [amber] ~# lsof -i @localhost:123
 COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 ntpd552 root   10u  IPv4 0xc4c46000  0t0  UDP localhost:ntp

Just out of interest, why do so many people recommend lsof, which is a port,
when sockstat/fstat are in the base system and seem to cover the same
ground?
Am I missing something about lsof?


Linux systems don't have sockstat, so people who got to FreeBSD via
Linux are used to lsof and they tend to continue using it. Same result
for those who read the many Linux howto websites.

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


Re: mail server blues

2007-04-09 Thread Bob Johnson

On 4/6/07, Jay Gordon [EMAIL PROTECTED] wrote:

go with qmail... it rocks

http://www.qmailrocks.org/

it's a damn good mta.


My advice: stay away from qmail.  Anything that requires a big pile of
patches just to make it usable doesn't belong on your computer.  And I
probably get more backscatter spam from those cursed qmail systems
than from everything else combined -- if it were up to me, qmail would
be illegal.

If you want something like qmail, but done right, try Courier. If you
want extreme configurability, try Exim.  But I don't think that's
really the answer to the original post -- I think there's something
more fundamental going on there.

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


Re: NTP: Driving Me Nuts

2007-03-23 Thread Bob Johnson

Are all three of these systems using the same router to share the same
IP number?  It may be that the router is having trouble keeping track
of three connections to the same port on the same server (I don't
think it SHOULD, but maybe it is).

If that's the case, you can fix it by using a different server for
each machine.  I suggest:

server   0.us.pool.ntp.org
server   1.us.pool.ntp.org
server   2.us.pool.ntp.org
(for those in other countries, change us to the appropriate country
code, and see http://www.pool.ntp.org for more info).

In fact, since NTP works best if you use more than one server, and
those addresses return random servers, just put all three of those
server lines in each configuration file.

- Bob


On 6/12/05, David Marshall [EMAIL PROTECTED] wrote:

I'm having an awful time trying to get NTP working on some new servers.

Consider three machines:

jeffy: my home machine, runs 5.4 with a very sleek kernel, sits behind a
router.

web1: one of the new servers, running 5.4-p2 with a kernel
configuration that *only* has options INET6 commented out:

[EMAIL PROTECTED] diff GENERIC WEB
25c25
 ident GENERIC
---
 ident WEB
32c32
 options   INET6   # IPv6 communications protocols
---
 #options  INET6   # IPv6 communications protocols


web2: another of the new servers, running 5.4 with GENERIC

All three have the same /etc/ntp.conf:

server sundial.columbia.edu
driftfile /var/db/ntp.drift

All, of course, have ntpd_enable=YES in /etc/rc.conf

Here are the relevant lines from the log when I run /etc/rc.d/ntpd
start, after making sure it is stopped, of course.  When any of them
is stopped netstat -n | fgrep 123 yields no lines.

jeffy:

Jun 11 23:24:53 jeffy ntpd[90141]: ntpd 4.2.0-a Mon May  9 15:42:44 PDT 2005
(1)
Jun 11 23:24:53 jeffy ntpd[90141]: no IPv6 interfaces found

web1:

Jun 12 02:28:23 web1 ntpd[783]: ntpd 4.2.0-a Sun Jun 12 00:46:05 EDT 2005
(1)
Jun 12 02:28:23 web1 ntpd[783]: no IPv6 interfaces found
Jun 12 02:28:23 web1 ntpd[783]: bind() fd 6, family 2, port 123, addr
0.0.0.0, in_classd=0 flags=8 fails: Address already in use

web2:

Jun 12 02:24:28 web2 ntpd[32792]: ntpd 4.2.0-a Sun May  8 06:01:21 UTC 2005
(1)
Jun 12 02:24:28 web2 ntpd[32792]: bind() fd 9, family 2, port 123,
addr 0.0.0.0, in_classd=0 flags=8 fails: Address already in use


'ntpq -p' on jeffy returns a normal looking ntpq result.  'ntpq -p' on
either web1 or web2 eventually times out.  However, if I put a
restrict into their ntp.conf I get something like

 remote   refid  st t when poll reach   delay   offset
jitter
==
 hickory.cc.colu .INIT.  16 u-   6400.0000.000
4000.00

that never changes, even after several hours.

I've read a lot of similar problem reports, but none of them ever seem
to have a definitive answer.

Can anyone help?  I'm really mystified.

The only thing I have left to try is that I have noticed that jeffy
has NO_INET6 = true set in /etc/make.conf, whereas web1 does not have
this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: Post DST changes

2007-03-12 Thread Bob Johnson

On 3/12/07, Mike Tancsa [EMAIL PROTECTED] wrote:

I am seeing some inconsistent and strange results after the DST
change this weekend.  On all the boxes, it seems setup OK

[...]

yet mixed in notice the /kernel entry... Its an hour off !?

if I restart syslogd, it corrects it for the kernel entry, but not
for other applications. They all seem to log the time one hour back.
Most applications seem this way.  On my more recent boxes this didnt
happen, but for some legacy RELENG_4 and older RELENG_5 and RELENG_6
boxes, the same odd behavior.


Restart any programs that aren't picking up the time change.


From the tzsetup(8) man page:

BUGS
Programs which are already running when tzsetup creates or updates
/etc/localtime will not reflect the updated timezone.

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


Re: Mounting multiple NFS shares to the same point

2007-02-12 Thread Bob Johnson

On 2/12/07, Tillman Hodgson [EMAIL PROTECTED] wrote:
[...]

Further, you can mount /different/ shares to the same directory:

[EMAIL PROTECTED] ~]# mount /exports/srvbackup/
[EMAIL PROTECTED] ~]# mount_nfs nas:/pub /exports/srvbackup/
[EMAIL PROTECTED] ~]# mount | grep srvbackup
nas:/srvbackup on /exports/srvbackup (nfs)
nas:/pub on /exports/srvbackup (nfs)

I then cd'ed to /exports/srvbackup, and only saw files from the second
mount (nas:/pub). So it's not doing a union mount or anything like that.

Is this normal behaviour? Are there any problems with (performance,
perhaps) that might occur if an NFS share is mounted twice? What if my
backup job is still running, would it be interrupted by the second mount
75 minutes later (according to the `periodic` entires in crontab) or
will it be fine?


This is normal behavior.  There may be exceptions, but in general you
can mount one filesystem over another (it isn't unique to NFS).  Only
the most recently mounted filesystem will be visible.  Unmount it, and
the one below it will become visible again.  It does not reduce
performance, it's just the way it works. For example, when you mount
an NFS volume, you are mounting it over a directory on your local UFS
volume, which is then no longer visible. In some cases this is useful:
for example, you can populate the UFS directory with files that
provide default values for something when the NFS mount is not there,
or that can tell a script that the NFS mount is not present.

I'm not sure whether you are backup up TO or FROM the NFS mount, but
either way, you aren't going to get the results you want if the second
mount occurs while the backup is in progress.

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


Re: whois weirdness...

2006-10-23 Thread Bob Johnson

The BSD whois command doesn't seem to get along well with the Verisign
whois server.  You get back every domain that includes MICROSOFT.COM
in it, e.g. MICROSOFT.COM.FILLS.ME.WITH.BELLIGERENCE.NET, even if you
attempt to specify the unique name with something like

whois =MICROSOFT.COM

A workaround is to use the above form of the command to get a list of
whois servers for each of the listed domains, and then query the
correct server for the one you are interested in, e.g.:

whois -h whois.opensrs.net microsoft.com

If that doesn't describe your situation, post an example of the
response you get.

- Bob


On 10/23/06, Evren Yurtesen [EMAIL PROTECTED] wrote:

Hello,

When I do whois from my FreeBSD 6-stable boxes I am receiving funny answers.

For example when I do whois microsoft.com I get totally unrelated data.
However
whois works just as expected from some linux boxes I tried.

Can anybody explain why this is happening?

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


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


Re: kppp DNS problem?

2006-10-23 Thread Bob Johnson

On 10/21/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

  kppp works as advertised, except for one little problem.

  my primary and secondary DNS servers are as follows:

  ns1.hosting.trueband.net

  ns2.hosting.trueband.net

  All well and good - BUT the kppp config untility will only allow
numbers to be entered into the utility!

  Please suffer this ol' burn-out from the 60's some advice.  What to
do, where?


Your ISP should give you names instead of numbers for their DNS
servers.  Your system can only use names if it already knows where its
DNS servers are, because converting names to numbers is what DNS
servers do.

Hence, the software only wants numbers.

As someone has already posted, the names they gave you resolve to:
64.92.112.162
64.92.112.163

which does not appear to be very robust.  It would be nice if at least
one of your nameservers was on a different network, in case their
network loses connectivity.

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


Re: gmirror HD failure detection

2006-09-20 Thread Bob Johnson

On 9/20/06, Robin Becker [EMAIL PROTECTED] wrote:

After using Dru Lavigne's excellent article http://tinyurl.com/da66a about
Raid-1 I have a full Raid-1 mirror on a new rack server. I'm wondering if
anyone
can tell me how best to monitor the hardware status to detect imminent
failure
of one of the disks? Do I use something like smartctl in a cron or what?


When you installed smartmontools to get smartctl, it should have also
installed smartd. It will run in the background and notify you of
significant changes. man smartd for details.

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


Re: Is Active Directory integrated file sharing possible on FreeBSD?

2006-09-18 Thread Bob Johnson

On 9/18/06, Ashley Moran [EMAIL PROTECTED] wrote:



I just wanted to sanity check that it is possible.  I think he just
doesn't want to work on our server because it isn't Linux :)

Ashley


You might need to make sure AD support got enabled. In the samba3 port
at least, it is off by default (although winbind support is enabled by
default).

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


Re: spamassassin

2006-09-18 Thread Bob Johnson

On 9/18/06, justins [EMAIL PROTECTED] wrote:


I`ve installed spamassassin rules on my sentmailserver and i am trying to
filter my mail in order to pick out some spam.
The spamd process is running only it doesn`t add anything to my mail
heather so procmail can`t forward it to the caughtspam folder.



spamd is the daemon version of spamassassin.  It doesn't do anything
unless something hands mail to it via its companion program, spamc
(unless you want to roll your own interface program). It is intended
to be used on high-volume servers that can't stand the overhead of
starting a new spamassassin process for each email message.


How do i start spamassassin in order to filter my incomming mail.
Anyone.


That depends on your server. If it knows how to use spamd/spamc, then
configure it according to its documentation.  Otherwise, to filter an
individual message in a file, use the spamassassin program (rather
than spamd), e.g. spamassassin /path/to/message/file.  Or more
likely you will want to pipe the message to spamassassin on stdin and
get the marked-up message from stdout.

If you need more detail than that, you probably should be looking at
the documentation for your mail server or for spamassassin. Every
server package seems to have a different way to do it.

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


Re: Too many Xorg modes

2006-08-25 Thread Bob Johnson

On 8/24/06, Perry Hutchison [EMAIL PROTECTED] wrote:

In 6.1, how would I set up xorg.conf to restrict Xorg to a few
specific modes?  The Xorg.8.log created during xorgcfg shows 24
modelines, but when I cycle through the modes using CtrlAltPlus
there are two which don't work at all and the remaining 22 cover
only 8 resolutions (of which only about 3 seem likely to actually
be useful.)


I don't know if there is an easier way, but I just copy the modelines
I like from the log and paste them in the xorg.conf file. Put them in
the Monitor section.
E.g.:

ModeLine 1600x1200  162.00  1600 1664 1856 2160  1200 1201 1204 1250
+hsync +vsync

I use modelines that give 60Hz vertical sync because there is a
transformer sitting next to my monitor, and at 70Hz sync rate the
display wiggles at 10 Hz.

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


Re: Too many Xorg modes

2006-08-25 Thread Bob Johnson

On 8/25/06, Bob Johnson [EMAIL PROTECTED] wrote:

On 8/24/06, Perry Hutchison [EMAIL PROTECTED] wrote:
 In 6.1, how would I set up xorg.conf to restrict Xorg to a few
 specific modes?  The Xorg.8.log created during xorgcfg shows 24
 modelines, but when I cycle through the modes using CtrlAltPlus
 there are two which don't work at all and the remaining 22 cover
 only 8 resolutions (of which only about 3 seem likely to actually
 be useful.)

I don't know if there is an easier way, but I just copy the modelines
I like from the log and paste them in the xorg.conf file. Put them in
the Monitor section.


To address your second paragraph: in my case at least, including
explicit modelines suppresses the automatic modes. I only get the ones
explicitly listed. This has worked in both XFree86 and Xorg.

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


Re: FreeBSD from Scratch

2006-08-04 Thread Bob Johnson

On 8/4/06, Rich Mayo [EMAIL PROTECTED] wrote:

Is anyone on the list familiar with the Linux from Scratch project?
More to the point, is anybody aware if there is anything like a FreeBSD
from Scratch project??


It depends on which aspect of Linux from Scratch is of interest to you.

Building from source code is the standard way to update FreeBSD.  By
editing appropriate configuration files you can produce a fairly
customized installation:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
describes the basics.

You also have the option of doing a minimal install in the first
place, and then adding additional pieces as you wish.

Another approach to a customized FreeBSD is the nanobsd project, which
has tools to let you build a stripped-down FreeBSD that is small
enough to run from a floppy disk (although these days a usb flash
drive is probably a more common target):

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

There are preconfigured nanobsd builds to make firewalls, routers, and
other common tools.

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


Re: HOWTO wireless please.

2006-07-20 Thread Bob Johnson

On 7/20/06, Marwan Sultan [EMAIL PROTECTED] wrote:

Hello gurus,

Can someone help me setting up my wireless device on my laptop
im on 6.1R, I tried to do as instructed on handbook, but no luck.
My laptop suppose to be the client, and i have a netgear wireless modem
router up and running.
How to make the freebsd see the router have the ip, and make the device up?

from dmesg
ugen0: Broadcom Corp HP Integrated Module



ugen is the generic usb device driver that gets attached if a specific
driver for the device is not available. I don't think you will be able
to do anything useful with it (it seems to be intended more for
developers to use while experimenting with a device).

There is a tool called ndiscvt that will take a Windows NDIS device
driver and wrap it up in an interface that allows it to be used as a
FreeBSD driver. Most likely, you will need to do that to get your
interface working. Instructions are in section 27.3.3.6.3 of the
FreeBSD Handbook (buried in one of the sections someone has already
mentioned: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html

In 6.1 there is a script called ndisgen that automates the process
described in the Handbook. You will probably find it much easier to
read its man page and use it instead of using ndiscvt directly. The
instructions amount to become root, run ndisgen, do what it says.

Once you have successfully built and loaded the NDIS driver, it will
by default show up as ndis0 when you do an ifconfig. Once that
happens, the rest should be easy.

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


Re: ntpd configuration . . . and errors

2006-07-14 Thread Bob Johnson

On 7/14/06, Owen G [EMAIL PROTECTED] wrote:

Hi all,

Following the suggestions regarding setting timekeeping up as a daemon
I did the following and got these console messages . . .

. . .
Jul 14 13:04:29 epia ntpd[648]: no IPv6 interfaces found
Jul 14 13:04:29 epia ntpd[648]: gethostby*.getanswer: asked for
europe.pool.ntp.org IN , got type A


This isn't a problem. It asked for an IP6 address if available and it
wasn't, so it got an IP4 address instead.


Jul 14 13:04:29 epia ntpd[648]: Frequency format error in
/var/db/ntpd.drift
Jul 14 13:05:44 epia ntpd[656]: no IPv6 interfaces found


Notice the process ID changed from 648 to 656 here. It looks like a
second copy of ntpd is trying to start.


Jul 14 13:05:44 epia ntpd[656]: bind() fd 4, family 2, port 123, addr
0.0.0.0, i
n_classd=0 flags=8 fails: Address already in use


The second copy can't grab port 123 because the first copy is already using it.

The output of ntpq -p should be informative. It will tell you if ntpd
is actually working.

By the way, you can use multiple servers for greater reliability, e.g.
in ntp.conf:

server 0.europe.pool.ntp.org
server 1.europe.pool.ntp.org
server 2.europe.pool.ntp.org

will give you three different randomly selected servers, in case one goes down.

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


Re: TIME loss

2006-07-13 Thread Bob Johnson

On 7/13/06, Jean-Paul Natola [EMAIL PROTECTED] wrote:

Hi everyone,

I have been trying to figure this one out for a couple of days,  but no can
do.

My clock on my bsd box currently 19 minutes ahead of the real world.

I have it set to query my w2k box as the time server.

I do have the ntpd running,

So I am not sure how to adjust I tried this

milter# ntpdate -q 192.168.1.3
Looking for host 192.168.1.3 and service ntp
host found : fci2003.fci
server 192.168.1.3, stratum 2, offset -1120.152027, delay 0.03365
13 Jul 14:30:19 ntpdate[79951]: step time server 192.168.1.3 offset
-1120.152027 sec

But the longer the machine stays up  (142 days ) the more time the clock
loses,

Aside from rebooting ,  is there any way to fix this?




It doesn't really make sense to run ntpdate if ntpd is already
running.  ntpdate runs once, sets the clock, and then exists.  ntpd
runs continuously and keeps the clock synchronized to the server, but
you must have the config file set up correctly. Do you have a line
like

server 192.168.1.3

in /etc/ntp.conf?

You might also want to make sure rc.conf includes:

ntpd_enable=YES
ntpd_flags=-g -p /var/run/ntpd.pid

The -g option lets it do a single large correction when it first
starts, similar to ntpdate.

If ntpd is running, then ntpq -p will tell you what peers it thinks it
is trying to synchronize to, and what the status is. If it shows an
asterisk (*) next to one of the peers, it is synchronized to that one.
In your case, it will be a list of one.  It takes a few minutes to
synch after first starting up.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top and multiple CPU's

2006-07-13 Thread Bob Johnson

On 7/13/06, stan [EMAIL PROTECTED] wrote:

On Thu, Jul 13, 2006 at 06:08:50PM +0530, Ashok TM wrote:
 use
 top -S
 There will be new column with  'C'  tag which displays the the cpu id  on
 which the process is running

 mptables to list the processors available

Hmm,

cvsup# mptables
mptables: Command not found.
cvsup# man -k mptables
mptables: nothing appropriate

and the man page for top says that _s os:

   -S Show system processes in the  display.   Normally,
   system pro- cesses  such  as  the pager and the swapper are not 
shown.
   This option makes them visible.

Am I mising something?


Perhaps you haven't actually tried it to see what happens. On 5.4,
there is not an extra column, but top -S includes each CPU's idle
percentage as a separate system process, so you can get some idea of
how well balanced things are.  Perhaps the description above was for
7-CURRENT and 6.1-R acts more like 5.4. I don't have a 6.1 SMP system
to test it on.

5.4 also doesn't seem to have mptables.

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


Re: Frustration

2006-06-30 Thread Bob Johnson

On 6/29/06, Fernando Pinguelo [EMAIL PROTECTED] wrote:

I am writing to you because I need to vent. I have tried installing version
5.3 of FreeBSD on a Pentium III machine. I thought I succeeded in doing it
so, but when I tried to build xOrg I realized that I did not have all the
ports installed and that some other dependencies were also missing. I
realized then that the installation had not been as successful as I first
thought.


When you did the install, did you do a standard install, or did you
try to do a custom install? The warning that says a custom install is
for experts is for real.

[...]


Good luck to those heroic individuals who stick with the configuration fight
to the end. I failed to see the 'Power to Serve'.


I moved to FreeBSD because in my experience it has been much easier to
install than Windows. I installed WIndows XP and FreeBSD 6.1 on a
laptop last week and the FreeBSD install was much easier. It actually
had working drivers for the laptop (unlike Windows). Perhaps if you
had posted some of your problems to the list you could have been
helped.  Oh, well.

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


Re: FFS data integrity

2006-06-21 Thread Bob Johnson

On 6/18/06, Pablo Marín Ramón [EMAIL PROTECTED] wrote:

Bob Johnson wrote:
 The short answer is that fsck can detect the bad inodes and fix or
 delete them.  Assuming no programming errors, you don't have to worry
 about a file containing bogus data after fsck has run.  Unfortunately,
 if write-caching is enabled on your hard drive (and it probably is,
 for speed), then the drive may internally re-order the writes and the
 carefully crafted sequence of writes disappears, so there are no
 guarantees (or at least, not as many).  Whether this is actually a
 problem depends on the brand, model, and firmware version of the
 drive, because some drives claim that data has been written to the
 disk when it is actually only in the drive buffer, while other drives
 are more honest.


[... removed for brevity...]


The following is extracted from Soft Updates: A Technique for
Eliminating Most Synchronous Writes in the Fast Filesystem:


The first author on that paper, Marshall Kirk McKusick, was the
original developer of FreeBSD's filesystem, and of the softupdates
system, so I'm reasonably confident that if you trust the paper you
can trust the FreeBSD implementation (barring, as I said, programming
errors).




[...more deleted for brevity...]


so I assume FreeBSD is doing the correct thing.

Is correct this assumption?


It is supposed to be, but I've never looked at it in enough detail to
answer from my own knowledge.  The right people to ask would be Dr.
McKusick or a few of the other people who maintain that code.  There
is a mailing list specific to filesystem development:
[EMAIL PROTECTED] I think that for the level of detail you are
interested in, that would be a better place to ask than on this
general-purpose list. There are also other topic-specific lists
described at http://www.freebsd.org/handbook/eresources.html#ERESOURCES-MAIL,
you might find some of them of interest.

I hope that helps a little,

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


  1   2   3   >