Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Wed, 5 Jan 2011, Chris Brennan wrote:
  On Wed, Jan 5, 2011 at 12:44 AM, Ian Smith smi...@nimnet.asn.au wrote:
  
   Saw Chris' later message that -F isn't there for him, but here's what
   should be, on the data, the sure-fire way to clobber that last sector:
  
dd if=/dev/zero of=/dev/ad4 oseek=1465149167
  
   which command SHOULD report just 512 bytes written (we're sure it can't
   write past the end of the disk with no count specified), after which:
  
dd if=/dev/ad4 iseek=1465149167 | hd
  
   SHOULD show zeroes from  to 01ff (ie next block 0200)
   If not, there really must be some hardware issue with writing?
  
   Hopefully getting there!

  Fixit# sysctrl kern.geom.debugflags=16
  kern.geom.debugflags: 0 - 16
  Fixit# dd if=/dev/zero of=/dev/ad4 oseek=1465149167
  dd: /dev/ad4: end of device
  2+0 records in
  1+0 records out
  512 bytes transferred in 0.011 secs (51195 bytes/sec)

So that's right.

  Fixit# dd if=/dev/ad4 iseek=1465149167 | hd
  1+0 records in
  1+0 records out
    00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
  ||
  512 bytes transferred om 0.009863 secs (51912 bytes/sec)
  *
  0200

And that's right - the GPT secondary header is now gone.

  restarting and back to sysinstall from BETA1 is nice dice ... same original
  error ... can I just zero the whole drive?

Sure you can - but I'd be (happy to be) surprised at this point if it's 
going to do much good.  If nothing else it's a full surface write test, 
and you could check afterwards that it's all been zeroed, hd showing 
just a few lines (as above) over the whole disk (dd if=/dev/ad4 | hd)

We seem to have ruled out the remnants of a GPT problem, having Bruce 
and Warren to thank for pointing it out; it's bound to catch others.

Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62 
are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you 
used 'W' to write anyway; can't say for sure that the bsdlabel is ok, 
but see no reason to suppose otherwise.  What says 'bsdlabel ad4s1' 
while you've still got one?

Just be sure NOT to use the 'A' option for auto-partitioning again; I'm 
sure I saw some problem with that on 8.1, not sure if it's fixed on 8.2 
(Bruce?) so I suggest allocating the BSD partitioning you really want.

Failing that, I can't see other than a hardware issue, unless somehow 
sysinstall is broken and you may do better manually running fdisk and 
bsdlabel and newfs per Handbook and manuals?  If that worked you could 
still use sysinstall, skip fdisk and labelling steps and install the 
distributions, ports tree, doc packages and other sysinstall goodies.

If it still persisted after that I'd subscribe and report the issue to 
freebsd-stable in as much detail as needed for some more fresh eyes.

cheers, Ian
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 20:06:42 +1100 (EST)
Ian Smith smi...@nimnet.asn.au wrote:

 Just be sure NOT to use the 'A' option for auto-partitioning again;
 I'm sure I saw some problem with that on 8.1, not sure if it's fixed
 on 8.2 (Bruce?) so I suggest allocating the BSD partitioning you
 really want.

I've not fixed anything related to that.

-- 
Bruce Cran
___
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 Space

2011-01-06 Thread Matthew Seaman
On 05/01/2011 22:33, Jeff Whitman wrote:
 I'm finding conflicting data on this.  Some say 0, some say 1 times RAM,
 others say stay with 2 x RAM.

Standard advice is 2x RAM -- but that dates back to the days when
servers would have quantities of RAM measured in Megabytes rather than
Gigabytes.

2 X RAM is a lot of disk space nowadays -- so either you'll need to find
some other use for that space; eg. as a swap-backed /tmp partition,
or else provide less swap.  Also, there's a maximum of -- I think -- 8GB
swap above which the performance of swap is degraded, due to algorithmic
limits in the way memory pages are mapped onto disk pages.

You need 1 x RAM + a few kB in order to support getting a crashdump. Or
at least, you did before the days of minidumps.  Not sure what the
requirements are for getting system dumps nowadays.  Swap space used for
crashdumps should be a raw partition, not a file.

On the other hand, for good performance you should not be using any
significant amounts of swap in normal usage.  You will need some swap,
as the OS tends to use a small amount even when not under memory
pressure.  You should have swap to act as a buffer in case your machine
suddenly starts using up more memory than you expect, either because of
memory leaks, or due to demand spikes or through any number of other
possible causes.

Therefore, I think the best advice for a modern large memory system
would be:

If RAM  8GB, then SWAP = 8GB[*]
If RAM  8GB, then SWAP = 1 x RAM + delta

where delta is perhaps a Megabyte or so.  Just rounding the partition
size up to the next cylinder boundary should be enough (which happens
automatically with most partitioning schemes).

Cheers,

Matthew

[*] In this case, if you need crashdumps, you should dedicate another
otherwise unused partition of the correct size as your dumpdev.

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: a perl question

2011-01-06 Thread Matthew Seaman
On 05/01/2011 22:15, RW wrote:
 Personally I find that using cat makes things simpler and less error
 prone when reusing  pipelines in shell history.
 
 For example it's easier to edit 
 
  cat file | foo
 
 into 

  cat file | bar | foo
 or   cat file? | foo
 
 than editing 
 
  foo  file
 
 into
 
  bar  file | foo
 or   cat file? | foo

Little known factoid -- shell redirections can occur *anywhere* on the
command line.

%  foo cat
abcdefghijklmnopqrstuvwxyz
%  foo tr 'a-z' 'm-za-l'
mnopqrstuvwxyzabcdefghijkl

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 3:06 AM, Ian Smith smi...@nimnet.asn.au wrote

 Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62
 are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you
 used 'W' to write anyway; can't say for sure that the bsdlabel is ok,
 but see no reason to suppose otherwise.  What says 'bsdlabel ad4s1'
 while you've still got one?


This is a pretty easy problem to replicate if you are pressing W, and that
issue has existed for quite some time.  If you press W then Q at
sysinstall fdisk then attempt to force write disklabel screens you will get
the error.  Just setup the slices and partitions as you want and let
sysinstall handle the writing of information.  There is a big warning box
that says not to use force write except under certain conditions and this is
not one of them.

If you google the error message in the OP, the first result is:

http://forums.freebsd.org/showthread.php?t=1675

Failing that, I can't see other than a hardware issue, unless somehow
 sysinstall is broken and you may do better manually running fdisk and
 bsdlabel and newfs per Handbook and manuals?


 This doesn't say hardware error to me at all, at least not a disk hardware
issue.  The message was present across two disks, and if there truly is a
problem writing to the media a complete zeroing of the drive would be
apparent then.

While we're getting people to look at sysinstall and the auto resizing, it
would be nice to get the Unable to create the partition.  Too big? issue
resolved.  You can trigger this by auto-sizing the partitions, deleting a
couple and recreating one that a different size than one autosize
suggested.  Then create the second partion using the auto-populated value in
partition size box.  Typically run into this when making / a little bigger
on amd64 installs by borrowing some space from /usr.  It's very tedious to
slowly decrease the size of the second partition in your attempts to create
it if you're trying to utilize the whole drive.


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


Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Thu, 6 Jan 2011 09:11:55 +, Bruce Cran wrote:
  On Thu, 6 Jan 2011 20:06:42 +1100 (EST)
  Ian Smith smi...@nimnet.asn.au wrote:
  
   Just be sure NOT to use the 'A' option for auto-partitioning again;
   I'm sure I saw some problem with that on 8.1, not sure if it's fixed
   on 8.2 (Bruce?) so I suggest allocating the BSD partitioning you
   really want.
  
  I've not fixed anything related to that.

Oh, I must have dreamed it all; found nothing in local -stable archives, 
went hunting on sysinstall cvsweb but found anything there, don't know 
how to search svn yet; life's too short.  Thanks for teaching some GPT.

Sorry, Ian
___
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


/ file system is full, but du does not show that it's full

2011-01-06 Thread c0re
# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M466M   -9.8M   102%/

So it's full.

But by du it's not appeared to be full


# du -hxd 1 /
2.0K/.snap
512B/dev
2.0K/tmp
2.0K/usr
2.0K/var
1.9M/etc
2.0K/cdrom
2.0K/dist
1.0M/bin
131M/boot
 10M/lib
356K/libexec
2.0K/media
 12K/mnt
2.0K/proc
7.2M/rescue
296K/root
4.7M/sbin
4.0K/lost+found
157M/


I know that something (like running process) can hold file so it's
actually are not deleted. I rebooted server. But this not helped, so
it's not a process holding file.

Checked with fsck

# fsck /
** /dev/ad0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
47268 files, 238539 used, 15276 free (6684 frags, 1074 blocks, 2.6%
fragmentation)

No problems here.


# uname -a
FreeBSD host.domain.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #0: Tue
Dec 28 13:55:47 MSK 2010
r...@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL  i386

What's the problem here? Why df says that filesystem is full? Other
command may also say that can't write because file system is full.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Ryan Coleman
What about filehandlers?

On Jan 6, 2011, at 5:26 AM, c0re wrote:

 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M466M   -9.8M   102%/
 
 So it's full.
 
 But by du it's not appeared to be full
 
 
 # du -hxd 1 /
 2.0K/.snap
 512B/dev
 2.0K/tmp
 2.0K/usr
 2.0K/var
 1.9M/etc
 2.0K/cdrom
 2.0K/dist
 1.0M/bin
 131M/boot
 10M/lib
 356K/libexec
 2.0K/media
 12K/mnt
 2.0K/proc
 7.2M/rescue
 296K/root
 4.7M/sbin
 4.0K/lost+found
 157M/
 
 
 I know that something (like running process) can hold file so it's
 actually are not deleted. I rebooted server. But this not helped, so
 it's not a process holding file.
 
 Checked with fsck
 
 # fsck /
 ** /dev/ad0s1a (NO WRITE)
 ** Last Mounted on /
 ** Root file system
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 47268 files, 238539 used, 15276 free (6684 frags, 1074 blocks, 2.6%
 fragmentation)
 
 No problems here.
 
 
 # uname -a
 FreeBSD host.domain.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #0: Tue
 Dec 28 13:55:47 MSK 2010
 r...@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL  i386
 
 What's the problem here? Why df says that filesystem is full? Other
 command may also say that can't write because file system is full.
 ___
 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

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


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Matthew Seaman
On 06/01/2011 11:26, c0re wrote:
 # df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M466M   -9.8M   102%/
 
 So it's full.
 
 But by du it's not appeared to be full
 
 
 # du -hxd 1 /
 2.0K/.snap
 512B/dev
 2.0K/tmp
 2.0K/usr
 2.0K/var
 1.9M/etc
 2.0K/cdrom
 2.0K/dist
 1.0M/bin
 131M/boot
  10M/lib
 356K/libexec
 2.0K/media
  12K/mnt
 2.0K/proc
 7.2M/rescue
 296K/root
 4.7M/sbin
 4.0K/lost+found
 157M/
 

Do you have partitions mounted at /tmp, /usr, /var etc?  Does the output
of your du command change if you unmount those partitions?
(It might be an idea to boot into a livefs CD or DVD given that du(1)
lives in /usr/bin, so a bit tricky to unmount /usr and then run du)

My guess is that you've at one time created files beneath what is
usually a mount point.  Mounting the partition over them makes those
files inaccessible, but they still take up space on the drive.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
2011/1/6 Ryan Coleman ryan.cole...@cwis.biz:
 What about filehandlers?

 On Jan 6, 2011, at 5:26 AM, c0re wrote:

 # df -h
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad0s1a    496M    466M   -9.8M   102%    /

 So it's full.

 But by du it's not appeared to be full


 # du -hxd 1 /
 2.0K    /.snap
 512B    /dev
 2.0K    /tmp
 2.0K    /usr
 2.0K    /var
 1.9M    /etc
 2.0K    /cdrom
 2.0K    /dist
 1.0M    /bin
 131M    /boot
 10M    /lib
 356K    /libexec
 2.0K    /media
 12K    /mnt
 2.0K    /proc
 7.2M    /rescue
 296K    /root
 4.7M    /sbin
 4.0K    /lost+found
 157M    /


 I know that something (like running process) can hold file so it's
 actually are not deleted. I rebooted server. But this not helped, so
 it's not a process holding file.

 Checked with fsck

 # fsck /
 ** /dev/ad0s1a (NO WRITE)
 ** Last Mounted on /
 ** Root file system
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 47268 files, 238539 used, 15276 free (6684 frags, 1074 blocks, 2.6%
 fragmentation)

 No problems here.


 # uname -a
 FreeBSD host.domain.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #0: Tue
 Dec 28 13:55:47 MSK 2010
 r...@host.domain.com:/usr/obj/usr/src/sys/MYKERNEL  i386

 What's the problem here? Why df says that filesystem is full? Other
 command may also say that can't write because file system is full.
 ___
 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



fstat does not show full filepath so I uses lsof from ports
lsof does not show anything criminal

# lsof /
COMMANDPID   USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
init 1   root  cwd   VDIR   0,81  512 2 /
init 1   root  rtd   VDIR   0,81  512 2 /
init 1   root  txt   VREG   0,81   632348 33074 /sbin/init
firmware 5   root  cwd   VDIR   0,81  512 2 /
firmware 5   root  rtd   VDIR   0,81  512 2 /
adjkerntz  145   root  cwd   VDIR   0,81  512 2 /
adjkerntz  145   root  rtd   VDIR   0,81  512 2 /
adjkerntz  145   root  txt   VREG   0,81 7448 16481 /sbin/adjkerntz
adjkerntz  145   root  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
adjkerntz  145   root  txt   VREG   0,81  1067248 50739 /lib/libc.so.7
devd   487   root  cwd   VDIR   0,81  512 2 /
devd   487   root  rtd   VDIR   0,81  512 2 /
devd   487   root  txt   VREG   0,81   369684 32969 /sbin/devd
syslogd564   root  cwd   VDIR   0,81  512 2 /
syslogd564   root  rtd   VDIR   0,81  512 2 /
syslogd564   root  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
syslogd564   root  txt   VREG   0,8155240 50747 /lib/libutil.so.7
syslogd564   root  txt   VREG   0,81  1067248 50739 /lib/libc.so.7
rpcbind650   root  cwd   VDIR   0,81  512 2 /
rpcbind650   root  rtd   VDIR   0,81  512 2 /
rpcbind650   root  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
rpcbind650   root  txt   VREG   0,8155240 50747 /lib/libutil.so.7
rpcbind650   root  txt   VREG   0,81  1067248 50739 /lib/libc.so.7
snmpd  690   root  cwd   VDIR   0,81  512 2 /
snmpd  690   root  rtd   VDIR   0,81  512 2 /
snmpd  690   root  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
snmpd  690   root  txt   VREG   0,8132024 50740 /lib/libcrypt.so.4
snmpd  690   root  txt   VREG   0,8155240 50747 /lib/libutil.so.7
snmpd  690   root  txt   VREG   0,8192720 50743 /lib/libm.so.5
snmpd  690   root  txt   VREG   0,8129916 50741 /lib/libkvm.so.4
snmpd  690   root  txt   VREG   0,8118788 50761 /lib/libdevstat.so.6
snmpd  690   root  txt   VREG   0,81  1417668 50595 /lib/libcrypto.so.5
snmpd  690   root  txt   VREG   0,81  1067248 50739 /lib/libc.so.7
sh 751  mysql  cwd   VDIR   0,81  512 2 /
sh 751  mysql  rtd   VDIR   0,81  512 2 /
sh 751  mysql  txt   VREG   0,81   115388 33069 /bin/sh
sh 751  mysql  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
sh 751  mysql  txt   VREG   0,8188492 50751 /lib/libedit.so.6
sh 751  mysql  txt   VREG   0,81   261484 50738 /lib/libncurses.so.7
sh 751  mysql  txt   VREG   0,81  1067248 50739 /lib/libc.so.7
mysqld 800  mysql  rtd   VDIR   0,81  512 2 /
mysqld 800  mysql  txt   VREG   0,81   189172 50770 /libexec/ld-elf.so.1
mysqld 800  mysql  txt   VREG   0,8164300 49385 /lib/libz.so.3
mysqld 800  mysql  txt   VREG   0,8128768 58494 /lib/libcrypt.so.3
mysqld 800  mysql  txt   VREG   0,8195120 49378 /lib/libm.so.4
mysqld 800  mysql  txt   VREG   0,81   140320 49370 /lib/libpthread.so.2
mysqld 800  mysql  txt 

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk:
 On 06/01/2011 11:26, c0re wrote:
 # df -h
 Filesystem     Size    Used   Avail Capacity  Mounted on
 /dev/ad0s1a    496M    466M   -9.8M   102%    /

 So it's full.

 But by du it's not appeared to be full


 # du -hxd 1 /
 2.0K    /.snap
 512B    /dev
 2.0K    /tmp
 2.0K    /usr
 2.0K    /var
 1.9M    /etc
 2.0K    /cdrom
 2.0K    /dist
 1.0M    /bin
 131M    /boot
  10M    /lib
 356K    /libexec
 2.0K    /media
  12K    /mnt
 2.0K    /proc
 7.2M    /rescue
 296K    /root
 4.7M    /sbin
 4.0K    /lost+found
 157M    /


 Do you have partitions mounted at /tmp, /usr, /var etc?  Does the output
 of your du command change if you unmount those partitions?
 (It might be an idea to boot into a livefs CD or DVD given that du(1)
 lives in /usr/bin, so a bit tricky to unmount /usr and then run du)

 My guess is that you've at one time created files beneath what is
 usually a mount point.  Mounting the partition over them makes those
 files inaccessible, but they still take up space on the drive.

        Cheers,

        Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
 JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW



Nice idea! But I can't check it now - server is may hundred km away
and no KVM aviable. Will check it 1 or 2 weeks later. Checked only
/tmp - it was ok, no files there after unmount.
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Ian Smith
On Thu, 6 Jan 2011, Adam Vande More wrote:
  On Thu, Jan 6, 2011 at 3:06 AM, Ian Smith smi...@nimnet.asn.au wrote
  
   Your dd of the first 71 sectors looked right, MBR looks ok, sectors 1-62
   are zeroes, boot1 and boot2 from sector 63-70 seem normal, after you
   used 'W' to write anyway; can't say for sure that the bsdlabel is ok,
   but see no reason to suppose otherwise.  What says 'bsdlabel ad4s1'
   while you've still got one?
  
  
  This is a pretty easy problem to replicate if you are pressing W, and that
  issue has existed for quite some time.  If you press W then Q at
  sysinstall fdisk then attempt to force write disklabel screens you will get
  the error.  Just setup the slices and partitions as you want and let
  sysinstall handle the writing of information.  There is a big warning box
  that says not to use force write except under certain conditions and this is
  not one of them.

Adam, I think you may have missed a lot from the earlier messages in 
this thread.  Admittedly it's long and likely tedious, but trying to 
help somebody get the OS installed is about as basic as it gets for me; 
I'd be hugely relieved if someone with more / better clues took it on.

We didn't get to try W)rite from the fdisk and label screens until long 
after all attempts at letting sysinstall deal with things had failed to 
even slice the disk, bombing on this error every time.  Chris' disk is 
brand new, nothing installed.  W)riting from sysinstall succeeded at 
least in creating ad4s1 in the MBR and writing the bootblocks to that 
slice.  I made it very clear this is not something to do without due 
care; in the circumstances there was absolutely nothing to be lost.

And then the GPT issue, of which I was totally ignorant.  Fixed.

  If you google the error message in the OP, the first result is:
  
  http://forums.freebsd.org/showthread.php?t=1675

I can't see anything there that informs any solution to this issue, that 
doesn't cover everything Chris has tried.  If you can, please elaborate?

  Failing that, I can't see other than a hardware issue, unless somehow
   sysinstall is broken and you may do better manually running fdisk and
   bsdlabel and newfs per Handbook and manuals?
  
  
   This doesn't say hardware error to me at all, at least not a disk hardware
  issue.  The message was present across two disks, and if there truly is a
  problem writing to the media a complete zeroing of the drive would be
  apparent then.

Chris has this issue with one disk only, so I'm not sure what you mean?

If it's not hardware related (or HP firmware, as Mike suggested), maybe 
it is an issue with sysinstall.  Manual fdisk  bsdlabel  newfs would 
confirm that or otherwise, but Chris will have to hunt up mans, docs and 
howtos on doing that himself, they're out there.  On the other hand it's 
useful learning, and nothing he tries can make matters any worse.

[ I can't comment on auto-allocated partitions, the last time I thought 
that was even vaguely a useful idea was my first install of 2.2.6 :^]

If you have any spare magic dust to sprinkle on this, please do so.

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


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best...
2011/01/06 15:06:18 +0300 c0re nr1c...@gmail.com = To FreeBSD :

cr # lsof /

why not to restart your httpd and mysqld?
This may release your unused filehandles.
Another place to look for wasted space is filesystem snapshots, if any. They
can be created implicitly, e. g., by fsck.
And... why lsof and not fstat(1)?

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best...
2011/01/06 16:57:34 +0300 Peter Vereshagin pe...@vereshagin.org = To 
freebsd-questions@freebsd.org :
PV This may release your unused filehandles.

used but unlinked, really, oops.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Chris Rees
Server has been rebooted before to try this.

Chris



Sorry for top-posting, Android won't let me quote, but K-9 can't yet do
threading.
On 6 Jan 2011 14:06, Peter Vereshagin pe...@vereshagin.org wrote:
 Concrete jungle, oh freebsd-questions, you've got to do your best...
 2011/01/06 16:57:34 +0300 Peter Vereshagin pe...@vereshagin.org = To
freebsd-questions@freebsd.org :
 PV This may release your unused filehandles.

 used but unlinked, really, oops.

 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2
6627)
 --
 http://vereshagin.org
 ___
 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
 why not to restart your httpd and mysqld?
 This may release your unused filehandles.
As I said I've restarted whole server, so nothing there to release at all.

 Another place to look for wasted space is filesystem snapshots, if any. They
 can be created implicitly, e. g., by fsck.
Yeah, I checked /.snap - nothing there.

 And... why lsof and not fstat(1)?
As I mentioned - fstat does not show full path including filename like
lsof does.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Svein Skogen (Listmail account)
On 06.01.2011 15:19, c0re wrote:
 why not to restart your httpd and mysqld?
 This may release your unused filehandles.
 As I said I've restarted whole server, so nothing there to release at all.
 
 Another place to look for wasted space is filesystem snapshots, if any. They
 can be created implicitly, e. g., by fsck.
 Yeah, I checked /.snap - nothing there.

Reboot into single user mode, and check with du -hs /* before the system
mounts other FS'es than /

//Svein

-- 
+---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best...
2011/01/06 17:19:05 +0300 c0re nr1c...@gmail.com = To FreeBSD :
cr  Another place to look for wasted space is filesystem snapshots, if any. 
They
cr  can be created implicitly, e. g., by fsck.
cr Yeah, I checked /.snap - nothing there.

snapshot is represented as a file of a special type that can be located
anywhere oin a file system, not only the /.snap/. Try snainfo -a.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org
___
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


sysinstall error on 8.2-PRE

2011-01-06 Thread Odhiambo Washington
Dear people,

I have a strange problem. On one system that I am running, I cannot use
sysinstall to do partition/label for a disk. This problem seems peculiar to
this OS, somewhere.
When I launch sysinstall, I get some funny message appear on the screen (see
http://lix.in/-9b7e16 for an image).
From there I choose custom - partition  Select the disk then enter
partition editor. The cursor simply refuses to move from there, though
keyboard is active.

What may be the cause?

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: blog-site questions....

2011-01-06 Thread Bryan H.
If you're looking to pay a little for this, I might recommend you
check out Squarespace[1].

They have some great content management features and some wonderful
templates, which are completely customizable.  Probably the best way
to see how it works is to view the tour[2].

And finally, you can get 14 days to try it completely free.  You don't
even need a credit card to sign up, and if you use the offer code
TWIT (from the This Week in Tech podcast with Leo Laporte), you
can get 10% off the price for the life of your account[3].

Even if you don't decide to go with Squarespace, I'd reinforce one
thing Chris said:

 If you want to promote some of your written work ... get a domain

Perhaps you could use a sub-domain on your thought.org domain, but I
would say that anyone using those free blog services (wordpress.com /
blogger / livejournal) for a for professional reason, well... aren't
very professional, in my opinion.  ;-)

Wordpress (the software)[4] is rather easy to install on your own
servers, and has a nice, easy-to-use administration panel.  There are
tons of themes and plugins available for it, so it's quite
customizable as well.

Hope that helps some.  :-)

  [1] http://www.squarespace.com/
  [2] http://www.squarespace.com/tour/
  [3] http://www.squarespace.com/twit
  [4] http://wordpress.org/
___
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 Space

2011-01-06 Thread Jerry McAllister
On Thu, Jan 06, 2011 at 09:42:36AM +, Matthew Seaman wrote:

 On 05/01/2011 22:33, Jeff Whitman wrote:
  I'm finding conflicting data on this.  Some say 0, some say 1 times RAM,
  others say stay with 2 x RAM.
 
 Standard advice is 2x RAM -- but that dates back to the days when
 servers would have quantities of RAM measured in Megabytes rather than
 Gigabytes.

Of course, in those days disk space was measured in MBytes too.
 
 Also, there's a maximum of -- I think -- 8GB
 swap above which the performance of swap is degraded, due to algorithmic
 limits in the way memory pages are mapped onto disk pages.

I don't know about an 8GB limit for swap performance.  I suppose
it is possible.So, the following formula from Mathew is probably 
a good new rule of thumb.

 
 You need 1 x RAM + a few kB in order to support getting a crashdump. Or
 at least, you did before the days of minidumps.  Not sure what the
 requirements are for getting system dumps nowadays.  Swap space used for
 crashdumps should be a raw partition, not a file.

jerry


 
 On the other hand, for good performance you should not be using any
 significant amounts of swap in normal usage.  You will need some swap,
 as the OS tends to use a small amount even when not under memory
 pressure.  You should have swap to act as a buffer in case your machine
 suddenly starts using up more memory than you expect, either because of
 memory leaks, or due to demand spikes or through any number of other
 possible causes.
 
 Therefore, I think the best advice for a modern large memory system
 would be:
 
 If RAM  8GB, then SWAP = 8GB[*]
 If RAM  8GB, then SWAP = 1 x RAM + delta
 
 where delta is perhaps a Megabyte or so.  Just rounding the partition
 size up to the next cylinder boundary should be enough (which happens
 automatically with most partitioning schemes).
 
   Cheers,
 
   Matthew
 
 [*] In this case, if you need crashdumps, you should dedicate another
 otherwise unused partition of the correct size as your dumpdev.
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 


___
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


Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread patrick
I know this is a bit crazy, but is there any opinion as to whether a
binary upgrade using an 8.1 CD would work to upgrade a system running
4.10? Normally I would want to do a fresh install, but it's at a
remote client site where it's not going to be easy to do it that way,
and I'm going to need to guide someone less experienced through the
install/upgrade process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Jerry McAllister
On Thu, Jan 06, 2011 at 07:45:28AM -0800, patrick wrote:

 I know this is a bit crazy, but is there any opinion as to whether a
 binary upgrade using an 8.1 CD would work to upgrade a system running
 4.10? Normally I would want to do a fresh install, but it's at a
 remote client site where it's not going to be easy to do it that way,
 and I'm going to need to guide someone less experienced through the
 install/upgrade process.

It might work.  But, I think you would save a lot of headache and time
to just do a new scratch install of 8.xx (8.2 should be here soon).

First, make a thorough list of everything that is installed on the
old machine.List info from disk slice[s] and partitions and other
configuration items.  Then make copies (backups) of all user data
and anything that needs to be kept from the old system and is not
being newly installed from ports and such.

Now would be a good/great time to replace/upgrade the hard disk or
install a second (third..., etc) disk.

Rethink the partitioning according to current usage and disk sizes.

Then just build a new machine, configure it appropriately, install
the ports and any other possible software - latest versions.  Then
restore all the user data that is needed on the new system and you
should be ready to go.  (Some old data may better be left in archive)

jerry  

 ___
 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd and

2011-01-06 Thread gahn
thanks. i am looking into the suggestions.

best

gahn

--- On Wed, 1/5/11, Indexer inde...@internode.on.net wrote:

 From: Indexer inde...@internode.on.net
 Subject: Re: freebsd and
 To: Bill Moran wmo...@potentialtech.com
 Cc: gahn ipfr...@yahoo.com, freebsd general questions 
 freebsd-questions@freebsd.org
 Date: Wednesday, January 5, 2011, 4:53 PM
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 On 06/01/2011, at 07:02, Bill Moran wrote:
 
  
  (don't see why this was on -current)
  
  In response to gahn ipfr...@yahoo.com:
  hi all:
  
  i set up the freeradius 21.100.1 on freebsd 8.1.
 it uses local authentication database of /etc/passwd (thanks
 to the previous discussions alan did with others). the
 problem is: it only works with the condition of the server
 id running as root instead of freeradius due to the one
 way MD5 hash of /etc/passwd file.
  
  are there any other better ways to implement
 this?
  
  a) Put the Radius server in a jail, so it can run as
 root without all the
    security concerns.
  b) Use something other than /etc/passwd
 authentication
  
 
 Cant radius use pam? perhaps you should look into that. 
 
 It may be a pain though, freeradius is largely
 undocumented, and what documentation exists is often
 incomplete, incorrect and full of people touting IT JUST
 WORKS when 99% of the time, It never works. Once you figure
 it out however, its great. I would highly recommend putting
 your raddb into a version control system. 
 
  -- 
  Bill Moran
  http://www.potentialtech.com
  http://people.collaborativefusion.com/~wmoran/
  ___
  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
 
 William Brown
 
 pgp.mit.edu
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
 
 iQIcBAEBAgAGBQJNJRKdAAoJEHF16AnLoz6Je6YP/j5sfpXOReiyviyNututzGfA
 dS+/6MoBfumuzdLAxTZ5gCJ4r7hIWJSbl0vPbt8zDbigcGJKcuT63dfdeAsV/7vu
 /0KqeC1HbrS5mXB2bVVjUvxgm+LbTlTrS8pIkS3A1jWSvvYgqb5ABXL2gXDARJig
 pQ5Ehw/mJsgNNmYOrHD1FV5H1/0s0arXSK6rK/sJa7qBIyuLvfuatfK2NOFlPAr5
 ST1UqvGrEVP5vA4GGO3+l4m7CBIuzVBuVaLpTpsHUXcdjxoB0bgZrR6se42z7VFo
 PgClT1bKv/Ht8rD9EO6oRpASAHB89/K1HpNvHbV9KT+veuKcla0xVPilpyt+XMES
 c4iDxwOBzml+N6QPiGdD9+GhfvZbg2JBgHoGYFXclyDJFceiDVkMgTWN75miB+d4
 tMTZbtwkQNoobRmp/BCAlVqRJC3dUQeVqDSAUkuMf6ZU0WQWfh6g8qtGb0IA5mWH
 u0mRbBacEr4kx3bSeIzCb09DJMkDFmb1/kaQPVqUEYpU+ggW8yLV5sz/vdomdpRB
 6hUfcXHnGK/GY4FsMPHaLTWghHdG6cFv8XwM/8ftsrCTtJYl0mD8xzSxqeTBCrua
 VPHcZ0d4gxe7reylYZfp8NqTAK96JBkRqEoTtYyi6Oiy8kbolY8SHiok98o/uydT
 nGM30URjS7EC7oSyL4N5
 =ppAO
 -END PGP SIGNATURE-
 



___
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


Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Robert Huff

patrick writes:

  I know this is a bit crazy, but is there any opinion as to
  whether a binary upgrade using an 8.1 CD would work to upgrade a
  system running 4.10? Normally I would want to do a fresh install,
  but it's at a remote client site where it's not going to be easy
  to do it that way, and I'm going to need to guide someone less
  experienced through the install/upgrade process.

While this may not be an option, my preference would be to
1) build a new machine, 2) install 8.1, 3) install the apps and
data, 4) test thoroughly, then 5) ship the result to the remote
location.  Anything else is likely to be too painful for words.


Robert Huff

___
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: blog-site questions....

2011-01-06 Thread Chip Camden
Quoth Gary Kline on Wednesday, 05 January 2011:
 Guys,
 
 If there are any people who are into maintaining web logs/blog, this
 might be _the_ place to ask.  O/wise, type 'd' now.
 
 One thing I've heard several times is that blogging is a good way of
 promoting one's own books.  (I've got at least three books either
 published or to-be-published. [[ ... .]])  Now, outside this list
 nobody knows me--and that's fine, except that  with a just published
 ebook, it's time to make my name and ebook public.  Before I rush
 out and sign up with some blogging websites, would be be better to
 use a FBSD port and do it myself?
 
 Ill be open about this: I'm still not _entirely_ sure whata blog is.
 But I'm a fast study :)
 If there are better places to ask about web logs, URL's please... .
 
 gary
 
 PS: Any reason why nobody here has read my ebook?  It is for geeks
 and about op en source stuff, so, like , v'mon, people 
 
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 7.97a release of Jottings: http://jottings.thought.org
 
 ___
 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

I use WordPress hosted on my own domains.  As others have mentioned, it's
pretty easy to maintain.  It also does a lot of the SEO for you.  For
instance, when you add new content, the default configuration
automatically notifies various ping servers so that aggregators (and
Google) pick up the new content right away.  Extensions can be found for
just about anything you need, and they aren't that hard to write if you
don't find what you're looking for.

OTOH, WordPress can be pretty heavy on page loads unless you go to some
pains to optimize it.  For most people, that isn't a concern -- but if
you were to have the enviable problem of getting a few thousand or more
hits per day then it could become an issue.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpST39IcGtys.pgp
Description: PGP signature


Re: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Mike Tancsa
On 1/6/2011 11:27 AM, Robert Huff wrote:
 
 patrick writes:
 
  I know this is a bit crazy, but is there any opinion as to
  whether a binary upgrade using an 8.1 CD would work to upgrade a
  system running 4.10? Normally I would want to do a fresh install,
  but it's at a remote client site where it's not going to be easy
  to do it that way, and I'm going to need to guide someone less
  experienced through the install/upgrade process.
 
   While this may not be an option, my preference would be to
 1) build a new machine, 2) install 8.1, 3) install the apps and
 data, 4) test thoroughly, then 5) ship the result to the remote
 location.  Anything else is likely to be too painful for words.

How old is the hardware as well?  If its running 4.x, something is going
to die on it sooner than later. I agree with the above. Send a new box
or at the very least a new disk with 8.2 on it. Then, just mount the old
4.x disk and copy over the user data.

---Mike
___
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: sysinstall error on 8.2-PRE

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 17:38:33 +0300
Odhiambo Washington odhia...@gmail.com wrote:

 I have a strange problem. On one system that I am running, I cannot
 use sysinstall to do partition/label for a disk. This problem seems
 peculiar to this OS, somewhere.
 When I launch sysinstall, I get some funny message appear on the
 screen (see http://lix.in/-9b7e16 for an image).
 From there I choose custom - partition  Select the disk then enter
 partition editor. The cursor simply refuses to move from there, though
 keyboard is active.

The problem is that geom has been extended with additional types (e.g.
glabel, gsched) that libdisk doesn't know about - so it gets confused.

-- 
Bruce Cran
___
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: sysinstall error on 8.2-PRE

2011-01-06 Thread Odhiambo Washington
On Thu, Jan 6, 2011 at 8:02 PM, Bruce Cran br...@cran.org.uk wrote:

 On Thu, 6 Jan 2011 17:38:33 +0300
 Odhiambo Washington odhia...@gmail.com wrote:

  I have a strange problem. On one system that I am running, I cannot
  use sysinstall to do partition/label for a disk. This problem seems
  peculiar to this OS, somewhere.
  When I launch sysinstall, I get some funny message appear on the
  screen (see http://lix.in/-9b7e16 for an image).
  From there I choose custom - partition  Select the disk then enter
  partition editor. The cursor simply refuses to move from there, though
  keyboard is active.

 The problem is that geom has been extended with additional types (e.g.
 glabel, gsched) that libdisk doesn't know about - so it gets confused.


So, how do I fix/manoeuvre around that problem?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: sysinstall error on 8.2-PRE

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 20:13:08 +0300
Odhiambo Washington odhia...@gmail.com wrote:

 So, how do I fix/manoeuvre around that problem?

Unfortunately you'd need to use a different tool to partition/label the
disk, such as gpart.

-- 
Bruce Cran
___
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


sendmail panic - savemail: cannot save rejected email anywhere

2011-01-06 Thread Lydia Rowe
Hi!

I'm encountering this most curious error on a fairly new FreeBSD 8
machine and I'm just not sure where to go with this.

The Error: 
Jan  6 12:56:31  sendmail[1600]: p06HuRGB001600:
Losing ./qfp06HuRGB001600: savemail panic
Jan  6 12:56:31  sendmail[1600]: p06HuRGB001600: SYSERR(root): savemail:
cannot save rejected email anywhere


uname -a:

FreeBSD .root 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17
UTC 2009 
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Unless my understanding of mathematics is way off, I've got more than
enough room:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M180M277M39%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e496M 14K456M 0%/tmp
/dev/ad0s1f 24G5.7G 17G26%/usr
/dev/ad0s1d1.3G 18M1.2G 1%/var


Any insight on what is happening/causing this would be beyond
awesome. :).

--
Lydia Rowe


___
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: sendmail panic - savemail: cannot save rejected email anywhere

2011-01-06 Thread Paul Macdonald

On 06/01/2011 17:04, Lydia Rowe wrote:

cannot save rejected email anywhere


savemail panics occur when sendmail is unable to deliver a bounced 
message to the postmaster alias.
(from googling :) 
http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html


--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
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: the GIMP and Samba

2011-01-06 Thread Christopher J. Ruwe
On Wed, 5 Jan 2011 23:36:12 +0100
Polytropon free...@edvax.de wrote:

 Welcome to the glory of rapid application development and
 modern programming! :-)

Somebody could write a letter to the ACM: Dynamic Linking Considered
Harmful ... or sth in that vicinity 

-- 
Christopher J. Ruwe
TZ GMT + 1


signature.asc
Description: PGP signature


Re: sendmail panic - savemail: cannot save rejected email anywhere

2011-01-06 Thread Julian H. Stacey
Lydia Rowe wrote:
 Hi!
 
 I'm encountering this most curious error on a fairly new FreeBSD 8
 machine and I'm just not sure where to go with this.
 
 The Error: 
 Jan  6 12:56:31  sendmail[1600]: p06HuRGB001600:
 Losing ./qfp06HuRGB001600: savemail panic
 Jan  6 12:56:31  sendmail[1600]: p06HuRGB001600: SYSERR(root): savemail:
 cannot save rejected email anywhere
 
 
 uname -a:
 
 FreeBSD .root 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17
 UTC 2009 
 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 Unless my understanding of mathematics is way off, I've got more than
 enough room:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M180M277M39%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad0s1e496M 14K456M 0%/tmp
 /dev/ad0s1f 24G5.7G 17G26%/usr
 /dev/ad0s1d1.3G 18M1.2G 1%/var
 
 
 Any insight on what is happening/causing this would be beyond
 awesome. :).
 
 --
 Lydia Rowe

When I've had that err message I check my /etc/mail/sendmail.cf
is up to newest release to match the .mc  binaries from source,
then check all path in the .cf exist,  check access permissions.
Then the problem goes away.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not quoted-printable, or HTML or base 64.
Avoid top posting, it cripples itemised cumulative responses.
___
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: sendmail panic - savemail: cannot save rejected email anywhere

2011-01-06 Thread Lydia Rowe
On Thu, 2011-01-06 at 17:47 +, Paul Macdonald wrote:
 On 06/01/2011 17:04, Lydia Rowe wrote:
  cannot save rejected email anywhere
 
 savemail panics occur when sendmail is unable to deliver a bounced 
 message to the postmaster alias.
 (from googling :) 
 http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html
 

Ah, thank you. That helped. In case these archives help someone in the
future, here's what hapened: Armed with this information, I took another
run at the logs and there was a problem with the hostname, which was:

.root

Yeah, so I updated the hostname and savemail isn't panicking anymore and
neither am I. :).

Thanks, all!

--
Lydia

___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote:

 Adam, I think you may have missed a lot from the earlier messages in
 this thread.  Admittedly it's long and likely tedious, but trying to
 help somebody get the OS installed is about as basic as it gets for me;
 I'd be hugely relieved if someone with more / better clues took it on.


Actually, I've been following every post since the thread's inception.
Despite your listing of generally good advice, the most obvious cause theis
error msg(of an admitted newbie) was not explicitly ruled out.  I'm simply
saying you should start there.


 Chris has this issue with one disk only, so I'm not sure what you mean?


Earlier in the thread, the OP stated he tried to install on a Micro SD card
and got the exact same result.

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


Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 1:32 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote:

 Adam, I think you may have missed a lot from the earlier messages in
 this thread.  Admittedly it's long and likely tedious, but trying to
 help somebody get the OS installed is about as basic as it gets for me;
 I'd be hugely relieved if someone with more / better clues took it on.


 Actually, I've been following every post since the thread's inception.
 Despite your listing of generally good advice, the most obvious cause theis
 error msg(of an admitted newbie) was not explicitly ruled out.  I'm simply
 saying you should start there.


 Chris has this issue with one disk only, so I'm not sure what you mean?


 Earlier in the thread, the OP stated he tried to install on a Micro SD card
 and got the exact same result.


I see now the SD Card was not the install target, but regarding the the
original point to OP was able to preform other normal operations on the card
eg different FS.

I don't really think the OP was pressing W initially which is why I didn't
say anything earlier, just saying it's worth a check.

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


Configuring BCE Interrupt Coalescing on 8.1-RELEASE

2011-01-06 Thread Rick Miller
Hi All,

  I am looking to configure interrupt coalescing for a bce interface
in 8.1-RELEASE.  Everything I have found via google only points to the
bce manpage, which only identifies that interrupt coalescing is
supported with no information with regards to configuring it.  Where
can I find information on configuring it?

-- 
Take care
Rick Miller
___
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: Configuring BCE Interrupt Coalescing on 8.1-RELEASE

2011-01-06 Thread Dan Nelson
In the last episode (Jan 06), Rick Miller said:
 I am looking to configure interrupt coalescing for a bce interface in
 8.1-RELEASE.  Everything I have found via google only points to the bce
 manpage, which only identifies that interrupt coalescing is supported with
 no information with regards to configuring it.  Where can I find
 information on configuring it?

After a quick readthrough of the source, it looks like it's always enabled
unless you had built the driver with BCE_DEBUG enabled.  The values aren't
exposed via sysctl for you to view or edit.

http://fxr.watson.org/fxr/source/dev/bce/if_bce.c?v=FREEBSD81#L1012

-- 
Dan Nelson
dnel...@allantgroup.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: blog-site questions....

2011-01-06 Thread Gary Kline
On Thu, Jan 06, 2011 at 08:53:24AM -0600, Bryan H. wrote:
 If you're looking to pay a little for this, I might recommend you
 check out Squarespace[1].
 
 They have some great content management features and some wonderful
 templates, which are completely customizable.  Probably the best way
 to see how it works is to view the tour[2].
 
 And finally, you can get 14 days to try it completely free.  You don't
 even need a credit card to sign up, and if you use the offer code
 TWIT (from the This Week in Tech podcast with Leo Laporte), you
 can get 10% off the price for the life of your account[3].
 
 Even if you don't decide to go with Squarespace, I'd reinforce one
 thing Chris said:
 
  If you want to promote some of your written work ... get a domain
 
 Perhaps you could use a sub-domain on your thought.org domain, but I
 would say that anyone using those free blog services (wordpress.com /
 blogger / livejournal) for a for professional reason, well... aren't
 very professional, in my opinion.  ;-)
 
 Wordpress (the software)[4] is rather easy to install on your own
 servers, and has a nice, easy-to-use administration panel.  There are
 tons of themes and plugins available for it, so it's quite
 customizable as well.
 
 Hope that helps some.  :-)
 
   [1] http://www.squarespace.com/
   [2] http://www.squarespace.com/tour/
   [3] http://www.squarespace.com/twit
   [4] http://wordpress.org/


I don't know what happened to my .signature before, but I
already have several virtual/sub domains.  i have already begun 
to promote Journey at journey.thought.org.  I've also [finally]
joined Facebook, and begun reading books and articles on howto 
promote one's own books.  If, as Chris suggests, sites like
Blogger.com are for blogging, why not use a free site there?
Or build out my own page called, eg, journey.yhought.org/myblog/?

Most of my day is spent on one of my project areas [[ BTW, my
speech-computer project has actually proved out(!)]].  In just
the past few days I have begun building out my amazom.com site
and asking questions on their forums.  I haven't paid much
attention to blogs so far.  

I occasionally ramble on about what's on my mind on my
transfinite.thought.org site, but I check, double- and
triple-check my facts and then footnote them.   So back to the 
idea of my getting into blogging as a means of promoting: is a
blog suppose to be a factual discussion?  Opinions? Gossip?

This has helped, thanks.  I don't think blogging is going to
help me that much because there aren't that many of us geeks,
and certainly many fewer with disabilities.  I'll look at our 
wordpress port and see.  

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.org

___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Adam Vande More
On Thu, Jan 6, 2011 at 1:51 PM, Adam Vande More amvandem...@gmail.comwrote:

 I see now the SD Card was not the install target, but regarding the the
 original point to OP was able to preform other normal operations on the card
 eg different FS.

 I don't really think the OP was pressing W initially which is why I didn't
 say anything earlier, just saying it's worth a check.


There is also this issue here which looks to be quite similar.

http://www.freebsd.org/cgi/query-pr.cgi?pr=135040cat=

You can try to upgrade your BIOS and reduced physical memory or use the
suggested loader.conf setting(or boot prompt)


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


Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread grarpamp
I know I'll take heat from everyone else who responded saying to
effectively ship a new box. But maybe this user has significant
costs involved with that. Along with any other reasons...

v4 to v8 can be done. I've done it entirely live over the net.
Nothing crazy about it.

The basic idea is that there are too many changes and tools involved
to fart around with build/install world, mergemaster, CD's, sysinstall,
etc. And they're just not aware of such a jump. And you can't trust
the idiots on the other end to get it right even if they would work.
You are the SA, free your mind. To the initiate, it would be
harrowing. To the seasoned SA, it's logical cake.

So backup your entire 4.x box over the wire, there will be no return.

Go find a box and install v8 however you want it. If you fail, this
one goes to the shipper asap. You can use a vm but that will take
longer to ship. You are very wise to also install a v4 box and
overlay your backup on it first for testing the entire process. If
you failed to heed SA wisdom about separating / /usr /usr/local
/var /home /boot, free space, etc on the original v4 box, your life
will be much harder. But if you have a ton of unpartitioned free
space on it, you can fix that one at a time too ;)

Be very aware of boot sectors, loaders, partitions, slices, fstab,
sizes, /dev, ifconfig, packet filters, kernel config, etc. That
kills most people. Also, since all your apps will be pristine v8
vers, you need to sort out their use of the old data and config.

If you have space, rsync -Haxi upload your v8 mountpoints to separate
staging dirs on the v4 box. It helps narrow your power fail window :)

Get on the v4 box. If you've got console, re boot -s. If not, take
it down till only init, sh and sshd remain. If you have space, rsync
your current v4 mountpoints to some backup dirs.

You're going to need static versions of rsync, openssh, sh, su, and
any other tools. You'll need to kill and run the static sshd... re:
fstat, umount, libs, etc. If you want, truncate /etc/rc to load
only static sshd from /root. This gives you some chance at recovery.
Again, do a local trial run to figure out what, where and when you
want or need all the tricks and in what order.

Mount everything read-write and rsync -Haxi --delete from your v8
staging dirs (whether local or remote) over top of the live but now
library freed v4 mountpoints.

Reboot ;)

Don't forget to lay down new boot sectors etc as and when needed
during or after the above.

It works, don't complain to me or this list if you break it :)
___
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: blog-site questions....

2011-01-06 Thread Gary Kline
On Thu, Jan 06, 2011 at 08:29:48AM -0800, Chip Camden wrote:
 Quoth Gary Kline on Wednesday, 05 January 2011:
  Guys,
  
  If there are any people who are into maintaining web logs/blog, this
  might be _the_ place to ask.  O/wise, type 'd' now.
  
  One thing I've heard several times is that blogging is a good way of
  promoting one's own books.  (I've got at least three books either
  published or to-be-published. [[ ... .]])  Now, outside this list
  nobody knows me--and that's fine, except that  with a just published
  ebook, it's time to make my name and ebook public.  Before I rush
  out and sign up with some blogging websites, would be be better to
  use a FBSD port and do it myself?
  
  Ill be open about this: I'm still not _entirely_ sure whata blog is.
  But I'm a fast study :)
  If there are better places to ask about web logs, URL's please... .
  
  gary
  
  PS: Any reason why nobody here has read my ebook?  It is for geeks
  and about op en source stuff, so, like , v'mon, people 
  
  
  -- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 Journey Toward the Dawn, E-Book: http://www.thought.org
The 7.97a release of Jottings: http://jottings.thought.org
  
  ___
  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
 
 I use WordPress hosted on my own domains.  As others have mentioned, it's
 pretty easy to maintain.  It also does a lot of the SEO for you.  For
 instance, when you add new content, the default configuration
 automatically notifies various ping servers so that aggregators (and
 Google) pick up the new content right away.  Extensions can be found for
 just about anything you need, and they aren't that hard to write if you
 don't find what you're looking for.
 
 OTOH, WordPress can be pretty heavy on page loads unless you go to some
 pains to optimize it.  For most people, that isn't a concern -- but if
 you were to have the enviable problem of getting a few thousand or more
 hits per day then it could become an issue.


T.Y! WOrdpress it is.  (Last time I checked, I gave up at
once--maybe sooner.  Time for a more serious look.)

gary

 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.org

___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Warren Block

On Fri, 7 Jan 2011, Ian Smith wrote:

Manual fdisk  bsdlabel  newfs would confirm that or otherwise, but 
Chris will have to hunt up mans, docs and howtos on doing that 
himself, they're out there.


Aha! http://www.wonkity.com/~wblock/docs/html/disksetup.html

May/may not be helpful, but the price is right.  Feedback welcome.
___
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: blog-site questions....

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 4:00 PM, Gary Kline kl...@thought.org wrote:

  I don't know what happened to my .signature before, but I
 already have several virtual/sub domains.  i have already begun
 to promote Journey at journey.thought.org.  I've also [finally]
 joined Facebook, and begun reading books and articles on howto
 promote one's own books.  If, as Chris suggests, sites like
 Blogger.com are for blogging, why not use a free site there?
 Or build out my own page called, eg, journey.yhought.org/myblog/?


Blogger and the like are for blogging, of a personal nature. For those that
don't have the cash or the expertise to set something up of their own. If
you have a large friend-base on Facebook, then you can certainly promote
your (e)book(s) there. That will get you exposure in the social-networking
realm. If you have the domain already (thought.org) then branching off of
that with something like name.books.thought.org or
thought.org/BookBlog/that I would go that route (again, wordpress
would be ideal to start with
here). The goal here is that you don't want to look too amateurish. That
could hurt what reputation your trying to build.


 Most of my day is spent on one of my project areas [[ BTW, my
 speech-computer project has actually proved out(!)]].  In just
 the past few days I have begun building out my amazom.com site
 and asking questions on their forums.  I haven't paid much
 attention to blogs so far.


I think you meant amazon.com? it is good that your speech-computer project
has proven itself.

I occasionally ramble on about what's on my mind on my
 transfinite.thought.org site, but I check, double- and
 triple-check my facts and then footnote them.   So back to the
 idea of my getting into blogging as a means of promoting: is a
 blog suppose to be a factual discussion?  Opinions? Gossip?


transfinite.thought.org has the rudimentary feel of an editoral/blogging
site already, this would be a good start ... you could fire up wordpress and
port your articles from transfinite to wordpress (copy/paste or any other
means avail.) as a base and then you can move into promoting your
(e)Book(s). The purpose of the blogging site is to make yourself known,
basically as an independent reporter (at least that's how I've always viewed
it). To answer your last series of questions here. The blog will be anything
you want it to be, including all of these. I would suggest visiting
blogger.com, livejournal.com and a few others you can find and read the
public blogs there. You will find a large majority of them very amateurish,
but you will find some that are very well done. Both in visual appeal and
structure of the written word.



 This has helped, thanks.  I don't think blogging is going to
 help me that much because there aren't that many of us geeks,
 and certainly many fewer with disabilities.  I'll look at our
 wordpress port and see.


Well, it could help, in conjunction with other promotion tools. If you are
published, then your books will get assigned ISBN/ISBN13 numbers, you can
then promote and talk about the fact that your books are listed on amazon,
barns  noble, etc, from a personal standpoint. Blog about your experiences
of being a new writer, being published for the first time, etc, etc. It's an
open door to make with as you please.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading from FreeBSD 4.10 to 8.1?

2011-01-06 Thread Devin Teske
Sharing some of our experiences here at VICOR.

On Thu, 2011-01-06 at 15:55 -0500, grarpamp wrote:
 I know I'll take heat from everyone else who responded saying to
 effectively ship a new box. But maybe this user has significant
 costs involved with that. Along with any other reasons...

Our company is in that situation. In fact, we have:

1000 systems still running FreeBSD-4.11
200 systems still running FreeBSD-4.8
1 system still running FreeBSD-4.4
and 1 system still running FreeBSD-2.2.2

The 200 4.8 systems are actually in the process of upgrading to 4.11
this year (go ahead... roflmao your heart out).

Later this year, we plan to migrate ~500 systems from 4.11 to 8.1 and we
plan to do it with a binary upgrade package (of our own design).


 
 v4 to v8 can be done. I've done it entirely live over the net.
 Nothing crazy about it.

Confirmed. We've done it too. Nothing special.


 
 The basic idea is that there are too many changes and tools involved
 to fart around with build/install world, mergemaster, CD's, sysinstall,
 etc. And they're just not aware of such a jump. And you can't trust
 the idiots on the other end to get it right even if they would work.
 You are the SA, free your mind. To the initiate, it would be
 harrowing. To the seasoned SA, it's logical cake.
 

It takes time to be thorough, but if you're thorough there's no reason
to fear a binary upgrade. In fact, you can logistically break it down
into the following procedure:

- Take vanilla 4.x host-one
- Take vanilla 8.x host-two
- Diff host-one to host-two
- Build binary differential package
- Package pre-install regresses the machine by uninstalling all packages
- Package post-install builds the 8.x box back up with new packages


 So backup your entire 4.x box over the wire, there will be no return.
 

In our 4.x-8.x binary upgrade, we have a back-out strategy because
we've been doing binary upgrades for years.

In essence, our company started on FreeBSD-2.2.2, then did binary
upgrade to 4.4. Then binary upgrade to 4.8. Then binary upgrade to 4.11.
Now binary upgrade to 8.1.

The backout strategy is essentially to re-install the 4.11 upgrade
package (downgrading from 8.1 back to 4.11).

But really... in over 10 years, we've never had to back out a binary
upgrade (the procedure to do so has been documented and there, but in
the tens-of-thousands of binary upgrades we've done, we've never had to
back it out... not even once).


 Go find a box and install v8 however you want it. If you fail, this
 one goes to the shipper asap. You can use a vm but that will take
 longer to ship. You are very wise to also install a v4 box and
 overlay your backup on it first for testing the entire process. If
 you failed to heed SA wisdom about separating / /usr /usr/local
 /var /home /boot, free space, etc on the original v4 box, your life
 will be much harder. But if you have a ton of unpartitioned free
 space on it, you can fix that one at a time too ;)
 
 Be very aware of boot sectors, loaders, partitions, slices, fstab,
 sizes, /dev, ifconfig, packet filters, kernel config, etc. That
 kills most people. Also, since all your apps will be pristine v8
 vers, you need to sort out their use of the old data and config.
 
 If you have space, rsync -Haxi upload your v8 mountpoints to separate
 staging dirs on the v4 box. It helps narrow your power fail window :)
 
 Get on the v4 box. If you've got console, re boot -s. If not, take
 it down till only init, sh and sshd remain. If you have space, rsync
 your current v4 mountpoints to some backup dirs.
 
 You're going to need static versions of rsync, openssh, sh, su, and
 any other tools. You'll need to kill and run the static sshd... re:
 fstat, umount, libs, etc. If you want, truncate /etc/rc to load
 only static sshd from /root. This gives you some chance at recovery.
 Again, do a local trial run to figure out what, where and when you
 want or need all the tricks and in what order.
 
 Mount everything read-write and rsync -Haxi --delete from your v8
 staging dirs (whether local or remote) over top of the live but now
 library freed v4 mountpoints.
 
 Reboot ;)
 
 Don't forget to lay down new boot sectors etc as and when needed
 during or after the above.
 
 It works, don't complain to me or this list if you break it :)
 ___
 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
-- 
Cheers,
Devin Teske

- CONTACT INFORMATION -
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.te...@fisglobal.com

- LEGAL DISCLAIMER -
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly 

Re: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
GMail threadding don't fail me now!

On Thu, Jan 6, 2011 at 4:54 AM, Adam Vande More amvandem...@gmail.comwrote:

 This is a pretty easy problem to replicate if you are pressing W, and that
 issue has existed for quite some time.  If you press W then Q at
 sysinstall fdisk then attempt to force write disklabel screens you will get
 the error.  Just setup the slices and partitions as you want and let
 sysinstall handle the writing of information.  There is a big warning box
 that says not to use force write except under certain conditions and this is
 not one of them.

 If you google the error message in the OP, the first result is:

 http://forums.freebsd.org/showthread.php?t=1675



pressing 'W' was a last resort option, by no means was I starting off that
way.


  Failing that, I can't see other than a hardware issue, unless somehow
 sysinstall is broken and you may do better manually running fdisk and
 bsdlabel and newfs per Handbook and manuals?


  This doesn't say hardware error to me at all, at least not a disk hardware
 issue.  The message was present across two disks, and if there truly is a
 problem writing to the media a complete zeroing of the drive would be
 apparent then.


No, only one disk.


 While we're getting people to look at sysinstall and the auto resizing, it
 would be nice to get the Unable to create the partition.  Too big? issue
 resolved.  You can trigger this by auto-sizing the partitions, deleting a
 couple and recreating one that a different size than one autosize
 suggested.  Then create the second partion using the auto-populated value in
 partition size box.  Typically run into this when making / a little bigger
 on amd64 installs by borrowing some space from /usr.  It's very tedious to
 slowly decrease the size of the second partition in your attempts to create
 it if you're trying to utilize the whole drive.


 --
 Adam Vande More

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


Re: Re: Configuring BCE Interrupt Coalescing on 8.1-RELEASE

2011-01-06 Thread vrwmiller
Thanks, Dan! I'm not well versed in C...glad you were able to help me out  
with that!


On Jan 6, 2011 3:07pm, Dan Nelson dnel...@allantgroup.com wrote:

In the last episode (Jan 06), Rick Miller said:



 I am looking to configure interrupt coalescing for a bce interface in



 8.1-RELEASE. Everything I have found via google only points to the bce


 manpage, which only identifies that interrupt coalescing is supported  
with



 no information with regards to configuring it. Where can I find



 information on configuring it?





After a quick readthrough of the source, it looks like it's always enabled



unless you had built the driver with BCE_DEBUG enabled. The values aren't



exposed via sysctl for you to view or edit.





http://fxr.watson.org/fxr/source/dev/bce/if_bce.c?v=FREEBSD81#L1012





--



Dan Nelson



dnel...@allantgroup.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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 8:11 AM, Ian Smith smi...@nimnet.asn.au wrote:

  Adam, I think you may have missed a lot from the earlier messages in
 this thread.  Admittedly it's long and likely tedious, but trying to
 help somebody get the OS installed is about as basic as it gets for me;
 I'd be hugely relieved if someone with more / better clues took it on.

 We didn't get to try W)rite from the fdisk and label screens until long
 after all attempts at letting sysinstall deal with things had failed to
 even slice the disk, bombing on this error every time.  Chris' disk is
 brand new, nothing installed.  W)riting from sysinstall succeeded at
 least in creating ad4s1 in the MBR and writing the bootblocks to that
 slice.  I made it very clear this is not something to do without due
 care; in the circumstances there was absolutely nothing to be lost.

 And then the GPT issue, of which I was totally ignorant.  Fixed.


I agree, you seem to be lumping me into a generalization based on the
errormsg.


If you google the error message in the OP, the first result is:
  
   http://forums.freebsd.org/showthread.php?t=1675


I read this, while that PR Reporter claims the same error message, the
conditions in which s/he gets it _are not_ the same conditions in which I am
getting this.
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 2:32 PM, Adam Vande More amvandem...@gmail.comwrote:

 On Thu, Jan 6, 2011 at 7:11 AM, Ian Smith smi...@nimnet.asn.au wrote:

 Adam, I think you may have missed a lot from the earlier messages in
 this thread.  Admittedly it's long and likely tedious, but trying to
 help somebody get the OS installed is about as basic as it gets for me;
 I'd be hugely relieved if someone with more / better clues took it on.


 Actually, I've been following every post since the thread's inception.
 Despite your listing of generally good advice, the most obvious cause theis
 error msg(of an admitted newbie) was not explicitly ruled out.  I'm simply
 saying you should start there.


...




 Chris has this issue with one disk only, so I'm not sure what you mean?


 Earlier in the thread, the OP stated he tried to install on a Micro SD card
 and got the exact same result.


Ney, I was having general issues w/ my card-reader and slow write speeds,
that has been solved.
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan

If you google the error message in the OP, the first result is:
  
   http://forums.freebsd.org/showthread.php?t=1675


 I read this, while that PR Reporter claims the same error message, the
 conditions in which s/he gets it _are not_ the same conditions in which I am
 getting this.



Thread poster* sorry for that one
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 4:27 PM, Warren Block wbl...@wonkity.com wrote:

 On Fri, 7 Jan 2011, Ian Smith wrote:

  Manual fdisk  bsdlabel  newfs would confirm that or otherwise, but Chris
 will have to hunt up mans, docs and howtos on doing that himself, they're
 out there.


 Aha! 
 http://www.wonkity.com/~wblock/docs/html/disksetup.htmlhttp://www.wonkity.com/%7Ewblock/docs/html/disksetup.html

 May/may not be helpful, but the price is right.  Feedback welcome.


Can I bow at your feet?!? This gave me just enough of a clue to go back and
arbitraility pass 'gpart delete -i 1 ad4' which actually deleted a
partition! I then zeroed the first 73 and the last 33 blocks of the drive.
fdisk still complained about 'Class not found' which I googled and found to
be an artifact of gpart(8).

So my question is this now, once gpart has touched a disk, does it have the
partition-aids now?

Moving on, I then continued the standard process listed by your link,
bsdlabel'd my layout and saved it, when I do an 'ls -lsga /dev | grep ad4' I
see that I have partitions a,b,d,e,f and I was able to newfs each one of
them

Next question, from this point (at the fixit prompt) can I preform a manual
install of just base? if I can get the system installed at this point then
all should be good when I reboot.
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Bruce Cran
On Thu, 6 Jan 2011 17:54:32 -0500
Chris Brennan xa...@xaerolimit.net wrote:

 Next question, from this point (at the fixit prompt) can I preform a
 manual install of just base? if I can get the system installed at
 this point then all should be good when I reboot.

http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition has a good guide for
installing the base manually (you can ignore the gpart and zfs
commands if you want). I found I had to copy the base and kernel
directories from the install ISO to a UFS-formatted USB stick first
though since the LiveFS CD doesn't have the distributions.

-- 
Bruce Cran
___
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: a new hard-drive in a 2y/o laptop [solved]

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 6:04 PM, Bruce Cran br...@cran.org.uk wrote:

 http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition has a good guide for
 installing the base manually (you can ignore the gpart and zfs
 commands if you want). I found I had to copy the base and kernel
 directories from the install ISO to a UFS-formatted USB stick first
 though since the LiveFS CD doesn't have the distributions.

 --
 Bruce Cran


Bruce, your a lifesaver! +1 for you and your wiki page. +1 for Warren's page
(
http://www.wonkity.com/~wblock/docs/html/disksetup.html#_the_old_standard_way_tt_fdisk_8_tt_and_tt_bsdlabel_8_tt)
and +5 for Ian and his incredible patience. Hodgepodging Warren's and
Bruce's pages together got me a working base. Laptop is now installed w/o
the assistance of a boot cd or the usb hard-drive I was using.

I did have to grab a DVD of 8.1 and burn it to a DVDRW, just so I could get
access to /dist/8.1-*. That being said, I think I am going to look at
setting up that same external hd w/ a full 8.2-R root when it's ready, so I
have a full, local tree to utilize for weird installs like this (I don't
know why I never did that before)
___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Warren Block

On Thu, 6 Jan 2011, Chris Brennan wrote:


On Thu, Jan 6, 2011 at 4:27 PM, Warren Block wbl...@wonkity.com wrote:
  On Fri, 7 Jan 2011, Ian Smith wrote:

Manual fdisk  bsdlabel  newfs would confirm that or otherwise, 
but Chris will have to hunt up mans, docs and howtos on doing that himself, they're out 
there.


Aha! http://www.wonkity.com/~wblock/docs/html/disksetup.html

May/may not be helpful, but the price is right.  Feedback welcome.


Can I bow at your feet?!? This gave me just enough of a clue to go back and 
arbitraility pass 'gpart delete -i 1 ad4' which actually deleted a partition! I 
then zeroed the first 73 and
the last 33 blocks of the drive. fdisk still complained about 'Class not found' 
which I googled and found to be an artifact of gpart(8).


destroy -F is supposed to mean Forced destroying of the partition table 
even if it is not empty.  But compare to this thread on the forum 
earlier today: http://forums.freebsd.org/showthread.php?t=20731


Maybe -F isn't quite as brutal as it needs to be.


So my question is this now, once gpart has touched a disk, does it have the 
partition-aids now?


GPT does seem to be tenacious, and I'm wondering if maybe there's 
something left in RAM that's written back to the disk on shutdown.



Moving on, I then continued the standard process listed by your link, 
bsdlabel'd my layout and saved it, when I do an 'ls -lsga /dev | grep ad4' I 
see that I have partitions a,b,d,e,f
and I was able to newfs each one of them

Next question, from this point (at the fixit prompt) can I preform a manual 
install of just base? if I can get the system installed at this point then all 
should be good when I reboot.


I would just boot the install CD, enter q and the fdisk screen, enter 
the mountpoints and q at the label screen, and let it do the rest.___
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: a new hard-drive in a 2y/o laptop

2011-01-06 Thread Chris Brennan
On Thu, Jan 6, 2011 at 11:48 PM, Warren Block wbl...@wonkity.com wrote:

  destroy -F is supposed to mean Forced destroying of the partition table
 even if it is not empty.  But compare to this thread on the forum earlier
 today: http://forums.freebsd.org/showthread.php?t=20731

 Maybe -F isn't quite as brutal as it needs to be.


I still can't find any documentation on this in the manpages? HA! I just
finished skimming the above thread, -F is indeed new and not in 8.1. I am
going to set up a local mirror of 7.x, 8.x and HEAD over the next week and
if I remember, I'll be sure to check it out and see if it does infact exist
in 8.2.


  So my question is this now, once gpart has touched a disk, does it have
 the partition-aids now?


 GPT does seem to be tenacious, and I'm wondering if maybe there's something
 left in RAM that's written back to the disk on shutdown.


Sneaky ... but possibly not likely since I more then once pulled the plug
and didn't give it time to actually write anything. Either way, between your
link and Bruce's, all is well.



  Moving on, I then continued the standard process listed by your link,
 bsdlabel'd my layout and saved it, when I do an 'ls -lsga /dev | grep ad4' I
 see that I have partitions a,b,d,e,f
 and I was able to newfs each one of them

 Next question, from this point (at the fixit prompt) can I preform a
 manual install of just base? if I can get the system installed at this point
 then all should be good when I reboot.


 I would just boot the install CD, enter q and the fdisk screen, enter the
 mountpoints and q at the label screen, and let it do the rest.


See, I did that the first time and it all came to a screaming halt. That's
when I started to get creative with Ian. I'm going to take a stab in the
dark and blame Seagate for kludging the disk on me. Either way, a manual
fdisk and bsdlabel did the trick, it's got to be something in sysinstall not
liking what ever was written there by gpart...
___
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


Manage Bind9 through the web, PowerDNS crash my system at startup

2011-01-06 Thread Sayed Nimer
Hello,
I was looking for a solution to manage Bind9 DNS server through a web so I
can add/edit zone.
I thought PowerDNS/PowerAdmin would be a good solution for my requirements.
I successfully installed both PowerDNS/PowerAdmin and tested them was
working fine.
When I restart my box I found PowerDNS crash my system giving many errors
can't find mysqlserver.
Any suggestions for the requirement to manage Bind9 through the web, or the
PowerDNS problem.
Thanks and have a nice day.

___
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: Manage Bind9 through the web, PowerDNS crash my system at startup

2011-01-06 Thread Ross Cameron
On Fri, Jan 7, 2011 at 8:39 AM, Sayed Nimer sayed...@gmail.com wrote:

 Hello,
 I was looking for a solution to manage Bind9 DNS server through a web so I
 can add/edit zone.
 I thought PowerDNS/PowerAdmin would be a good solution for my requirements.
 I successfully installed both PowerDNS/PowerAdmin and tested them was
 working fine.
 When I restart my box I found PowerDNS crash my system giving many errors
 can't find mysqlserver.
 Any suggestions for the requirement to manage Bind9 through the web, or the
 PowerDNS problem.
 Thanks and have a nice day.


Have you tried making sure that the MySQL daemon is started /BEFORE/
PowerDNS and Apache is started?
___
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