Re: gmirror / crash dumps

2009-07-31 Thread Adam Vande More
On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci
pgollu...@p6m7g8.comwrote:

 Hi,

 Say I've got the following:
 /dev/mirror/gm0s1bnoneswapsw

 /dev/mirror/gm0s1a989M390M520M43%/
 /dev/mirror/gm0s1g 15G1.7G 12G13%/usr
 /dev/mirror/gm0s1h544G1.8M501G 0%/usr/home
 /dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src
 /dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj
 /dev/mirror/gm0s1f 97G2.0K 89G 0%/var

 Well I'm trying to get my kernel panics to cause dumps
 1) /etc/rc.conf
 dumpdev=AUTO
 crashinfo_enable=YES

 2) sudo chmod 700 /var/crash

 3) 8GB RAM, 16GB of swap, /var/crash is 16GB  97GB

 4) I have the following in my 7-stable kernel
 makeoptions DEBUG=-g
 options AUDIT
 options KTRACE
 options KDB
 options KDB_TRACE
 options DDB
 options GDB
 options BREAK_TO_DEBUGGER
 options INVARIANTS
 options INVARIANT_SUPPORT
 options WITNESS
 options DEBUG_LOCKS
 options DEBUG_VFS_LOCKS
 options LOCK_PROFILING
 options DIAGNOSTIC

 The long and the short of it is I don't get any dumps.

 I read somewhere that you can't dump onto a gmirror device.


That is incorrect, but I don't know the cause of your problem.  I run
nothing but gmirror and dumps happen here.


 So I've moved /var off of
 /dev/mirror/gm0s1f 97G2.0K 89G 0%/var
 and I can now do what I want with this.

 How do I go about re-jiggering this (2-disk gmirror) so I can use 1
 slice from one of them as my dumpon(8) device?

 TIA

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




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


Looking for fast graphical web browser

2009-07-31 Thread Daniel Underwood
Can anyone suggest a fast graphical web browser?  I use Firefox
(because every page displays well and I can sync bookmarks), and I
also use elinks (when graphics don't matter).  I'm looking for some
middle ground, a browser that can display most sites well but is
faster (or more lightweight) than Firefox.  (Note: I tried dillo, but
it doesn't display most sites well enough.)

TIA,
Daniel
___
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: Looking for fast graphical web browser

2009-07-31 Thread Andreas Rudisch
On Fri, 31 Jul 2009 02:32:49 -0400
Daniel Underwood djuatde...@gmail.com wrote:

 Can anyone suggest a fast graphical web browser?
Opera.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgptocbRDDx3X.pgp
Description: PGP signature


Recovering Trashed Filesystems

2009-07-31 Thread Crist J. Clark
I have two file systems in very sad shape that I would like
to retrieve some files from. I've net booted the sick box
and can access the two bad UFSs. One file system, the root
file system, isn't too bad off. However, the usr directory
is messed up. I can do,

  # ls
  .cshrc  bootlib proctmp
  .profiledev libexec rescue  usr
  .snap   entropy lost+found  rootvar
  COPYRIGHT   etc media   sbin
  bin homemnt sys

But if I try look at the files (directories),

  # ls -l
  ls: lib: Bad file descriptor
  ls: usr: Bad file descriptor
  ls: var: Bad file descriptor
  total 52
  -rw-r--r--   2 root  wheel  787 Jun 25  2008 .cshrc
  -rw-r--r--   2 root  wheel  253 Jun 20  2008 .profile
  drwxrwxr-x   2 root  operator   512 Jun 27  2008 .snap
  -r--r--r--   1 root  wheel 6188 Jun 20  2008 COPYRIGHT
  drwxr-xr-x   2 root  wheel 1024 Jun 20  2008 bin
  drwxr-xr-x   8 root  wheel  512 Jun 28  2008 boot
  dr-xr-xr-x   2 root  wheel  512 Jun 28  2008 dev
  -rw---   1 root  wheel 4096 Nov 26  2008 entropy
  drwxr-xr-x  20 root  wheel 2560 Jun 19 22:35 etc
  drwxr-xr-x   2 root  wheel  512 Jun 25  2008 home
  drwxr-xr-x   2 root  wheel  512 Jun 20  2008 libexec
  drwx--   2 root  wheel 2048 May 23 07:47 lost+found
  drwxr-xr-x   2 root  wheel  512 Jun 20  2008 media
  drwxr-xr-x   2 root  wheel  512 Jun 20  2008 mnt
  dr-xr-xr-x   2 root  wheel  512 Jun 20  2008 proc
  drwxr-xr-x   2 root  wheel 2560 Jun 20  2008 rescue
  drwxr-xr-x   4 root  wheel  512 Jul 27 21:26 root
  drwxr-xr-x   2 root  wheel 2560 Jun 20  2008 sbin
  lrwxr-xr-x   1 root  wheel   11 Jun 20  2008 sys - usr/src/sys
  drwx--   2 root  wheel  512 Jun 26  2008 tmp

We see usr is messed up. And what I'd like to recover are
files up in usr/local/etc.

Now I can mount -r /dev/ad0s1a /mnt to get the above results,
but fsck /dev/ad0s1a returns,

  # fsck /dev/ad0s1a
  ** /dev/ad0s1a
  BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

  LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

  32 is not a file system superblock
  SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
  -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
  SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).

Some help on recovering the files? I don't need the whole
disk intact. As I said, I just want to track down some local
stuff in usr/local/etc.

As for the second file system, the var file system, it is
more messed up. Looks like big chucks are zeroed out. But
again, there are a few files I would like to recover. I
have managed to recover one important one by running,

  # dd if=/dev/ad0s1f | hexdump -C | more

And manually finding the file and then using,

  # dd if=/dev/ad0s1f skip=m count=n  /tmp/recovered.txt

Then manually editing. But that is too labor intensive to try
to grab everything.

Again, when I fsck(1) I get the same message as above. Anyone
have tools for recovering files from these broken file systems?
-- 
Crist J. Clark | cjcl...@alum.mit.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update question.

2009-07-31 Thread doug
Embarrassingly simple actually. I configured a new server from a 7.0 CD I made a 
while back, brought the system to 7.1 the regular way and ran freebsd-update. 
The embarrassing part is I took little note of the fetch output other than 24 
files were updated. Can I find out which 24?


As always, thanks for any help

Doug

_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to boot or access problem file system

2009-07-31 Thread Jonathan McKeown
On Thursday 30 July 2009 23:14:39 PJ wrote:

 But isn't it strange that it used to be pretty simple to upgrade and
 update. But recently, I notice that communication between the developers
 and users (or is it the manual page writers) are getting far away from
 the realities of user/operational needs. Oh, what's the sense of beating
 a dead horse, mechanics will never be writers... let's not kid ourselves.

I may be misunderstanding what you've been saying over the last couple of days 
(I can understand your frustration, but your questions would be much clearer 
if you didn't let it spill over into chippy remarks about FreeBSD like the 
above).

Let me summarise what I think you've said, and what I think it means, and 
please, correct me if I'm wrong.

You run a custom kernel, and you decided for your latest system upgrade that 
you would use freebsd-update, which as far as I know doesn't work with custom 
kernels.

You discovered this and tried to move your custom kernel aside and put a 
GENERIC kernel in place for the upgrade, rebooted in the middle of the 
process, and now when you try and boot up, your system can't find a kernel - 
which is why the bootloader is asking you to tell it where to look.

If that's the case, your data should all still be there in the original 
slices/partitions (others have told you how to check that). You are likely to 
struggle to get the system booted unless you can work out where to direct the 
bootloader to find a kernel, but you may well be able to inspect the data on 
the disk if you boot a LiveCD (which is a version of FreeBSD that runs from 
the CD - there's one in the release set).

Given the problems you've encountered so far, and the level of effort and 
learning that's acceptable to you in your situation to try and resolve it, I 
would suggest you go and buy a new hard drive (they're not expensive these 
days compared with the cost of your time), and fit it alongside your 
messed-up drive in your computer. You can then do a fresh install on the new 
drive, get everything set up the way you want, and then retrieve the data 
from the old hard drive (various ways to do this: mounting the drive and 
simply copying files, dump and restore of complete filesystems, etc).

You've also thrown in a new problem, which is that X doesn't recognise your 
mouse. Unfortunately, that doesn't have much to do with FreeBSD. It's a 
result of a decision by the X developers to require a hardware abstraction 
layer - you probably need to enable hal and dbus. Googling will put you on 
the right track.

Jonathan
___
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: gmirror / crash dumps

2009-07-31 Thread Anton Shterenlikht
On Fri, Jul 31, 2009 at 12:46:32AM -0500, Adam Vande More wrote:
 On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci
 pgollu...@p6m7g8.comwrote:
 
  Hi,
 
  Say I've got the following:
  /dev/mirror/gm0s1bnoneswapsw
 
  /dev/mirror/gm0s1a989M390M520M43%/
  /dev/mirror/gm0s1g 15G1.7G 12G13%/usr
  /dev/mirror/gm0s1h544G1.8M501G 0%/usr/home
  /dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src
  /dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj
  /dev/mirror/gm0s1f 97G2.0K 89G 0%/var
 
  Well I'm trying to get my kernel panics to cause dumps
  1) /etc/rc.conf
  dumpdev=AUTO
  crashinfo_enable=YES
 
  2) sudo chmod 700 /var/crash
 
  3) 8GB RAM, 16GB of swap, /var/crash is 16GB  97GB
 
  4) I have the following in my 7-stable kernel
  makeoptions DEBUG=-g
  options AUDIT
  options KTRACE
  options KDB
  options KDB_TRACE
  options DDB
  options GDB
  options BREAK_TO_DEBUGGER
  options INVARIANTS
  options INVARIANT_SUPPORT
  options WITNESS
  options DEBUG_LOCKS
  options DEBUG_VFS_LOCKS
  options LOCK_PROFILING
  options DIAGNOSTIC
 
  The long and the short of it is I don't get any dumps.
 
  I read somewhere that you can't dump onto a gmirror device.
 
 
 That is incorrect, but I don't know the cause of your problem.  I run
 nothing but gmirror and dumps happen here.

I was also told that 

you won't get a valid dump if your dumpdev
 is on a GEOM_MIRROR device

http://lists.freebsd.org/pipermail/freebsd-ia64/2009-July/002205.html

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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


Where have all the vnodes gone?

2009-07-31 Thread Linda Messerschmidt
With the last few releases, I've noticed a distinct trend toward
disappearing vnodes on one of the machines I look after.

This machine isn't doing a whole lot.  It runs a couple of small web
sites, and once an hour it rsync's some files from one NFS mount to
another, but the rsync doesn't stay running; it restarts every hour
and runs for 10-15 minutes.

I set it to log the number of vnodes every ten minutes and this is what I got:

00:47:59 vfs.numvnodes: 39337
00:57:59 vfs.numvnodes: 40568
01:07:59 vfs.numvnodes: 44554
01:17:59 vfs.numvnodes: 52141
01:27:59 vfs.numvnodes: 55713
01:37:59 vfs.numvnodes: 58643
01:47:59 vfs.numvnodes: 60792
01:57:59 vfs.numvnodes: 67130
02:07:59 vfs.numvnodes: 76035
02:17:59 vfs.numvnodes: 84349
02:27:59 vfs.numvnodes: 92187
02:37:59 vfs.numvnodes: 98114
02:47:59 vfs.numvnodes: 116854
02:57:59 vfs.numvnodes: 124842
03:07:59 vfs.numvnodes: 164173
03:17:59 vfs.numvnodes: 172257
03:27:59 vfs.numvnodes: 178388
03:37:59 vfs.numvnodes: 183066
03:47:59 vfs.numvnodes: 190092
03:57:59 vfs.numvnodes: 198322
04:07:59 vfs.numvnodes: 204598
04:17:59 vfs.numvnodes: 208311
04:27:59 vfs.numvnodes: 214207
04:37:59 vfs.numvnodes: 221028
04:47:59 vfs.numvnodes: 227792
04:57:59 vfs.numvnodes: 233214
05:07:59 vfs.numvnodes: 240112
05:17:59 vfs.numvnodes: 247572
05:27:59 vfs.numvnodes: 256090
05:37:59 vfs.numvnodes: 262720
05:47:59 vfs.numvnodes: 269755
05:57:59 vfs.numvnodes: 274986
06:07:59 vfs.numvnodes: 279879
06:17:59 vfs.numvnodes: 287039
06:27:59 vfs.numvnodes: 291984
06:37:59 vfs.numvnodes: 294267
06:47:59 vfs.numvnodes: 296658
06:57:59 vfs.numvnodes: 299086
07:07:59 vfs.numvnodes: 301825
07:17:59 vfs.numvnodes: 309060
07:27:59 vfs.numvnodes: 312955
07:37:59 vfs.numvnodes: 317400
07:47:59 vfs.numvnodes: 320047

At that point the machine crashed with:

panic: kmem_malloc(16384): kmem_map too small: 334745600 total allocated

If I don't tune kern.maxvnodes up to the point where it panics, then
eventually it runs out of vnodes and all sorts of stuff gets stuck in
vlruwk.

The machine in question is running 7.2-RELEASE-p3, but I already
upgraded it from 7.1 trying to get this to go away, so it's a problem
that's been around for awhile.

My guess is that they're leaking in the kernel somewhere because of
the rsync, because there's just not much else going on, but unless I
can figure out how many vnodes are being used on a per-process basis,
I can't make any headway on proving or disproving that.  I do know
that according to fstat, there are only 1000-1500 descriptors open at
any given time, and kern.openfiles ranges 250-500.  So I'm just
mystified what the other 30+ could be.

Is there any way to figure out where all these vnodes are going?

TIA for any advice!
___
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: Looking for fast graphical web browser

2009-07-31 Thread Polytropon
On Fri, 31 Jul 2009 08:55:53 +0200, Andreas Rudisch cyb.@gmx.net wrote:
 On Fri, 31 Jul 2009 02:32:49 -0400
 Daniel Underwood djuatde...@gmail.com wrote:
 
  Can anyone suggest a fast graphical web browser?
 Opera.

Traditionally, I would have suggested Opera too, because it has
been my favourite browser for many years now. But with recent 
versions, I saw it getting... hmmm... how do I tell best? It's
getting more slower in overall handling, and it often stops
working completely (several seconds); printing isn't as good
as in Firefox, and it won't work on some sites that are no
problem with Firefox. Furthermore, there's lots of stuff now
bundled with the Opera web browser that I (personally) found
no use for, such as a mail client, IRC client, torrent client,
and some other stuff that could easily be called bloatware.
(Don't get me wrong: The M2 mail client isn't that bad, but
far from lightweight, as the whole Opera is today.)

But maybe that's only my problem (due to my ancient computer
and OS). Try Opera. Maybe it works for you.

And: No, I'm no Firefox advocate. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Recovering Trashed Filesystems

2009-07-31 Thread Polytropon
On Thu, 30 Jul 2009 23:46:50 -0700, Crist J. Clark cristcl...@comcast.net 
wrote:
 But if I try look at the files (directories),
 
   # ls -l
   ls: lib: Bad file descriptor
   ls: usr: Bad file descriptor
   ls: var: Bad file descriptor

Same here - allthough on a much more important place - my former
home directory.



 We see usr is messed up. And what I'd like to recover are
 files up in usr/local/etc.
 
 Now I can mount -r /dev/ad0s1a /mnt to get the above results,
 but fsck /dev/ad0s1a returns,
 
   # fsck /dev/ad0s1a
   ** /dev/ad0s1a
   BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST 
 ALTERNATE
 
   LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y
 
   32 is not a file system superblock
   SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
   -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
   SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).

You could try do locate superblocks using this command:



 Some help on recovering the files?

Yes, use your backup. :-)

Don't mind, I (still) am in a similar situation, so I won't poke
any more fun at you.

Before you do anything else: Make a 1:1 copy using dd of your
file systems. Boot from a live CD and have access to another
hard disk. Then do:

# dd if=/dev/ad0s1a of=/rescuedisk/ad0s1a.dd bs=1m
# dd if=/dev/ad0s1d of=/rescuedisk/ad0s1d.dd bs=1m
# dd if=/dev/ad0s1e of=/rescuedisk/ad0s1e.dd bs=1m
# dd if=/dev/ad0s1f of=/rescuedisk/ad0s1f.dd bs=1m
# dd if=/dev/ad0s1g of=/rescuedisk/ad0s1g.dd bs=1m

This is to make sure that any further fsck run won't mess up
the file system. Use the dd images for retrieval. Change the
device names to the correct names. Maybe when you're running
fsck -yf on a device, it can do more damage...

Install the port ffs2recov and use its -s and -p options. Refer
to the excellent manpage.



 I don't need the whole
 disk intact. As I said, I just want to track down some local
 stuff in usr/local/etc.

There is always the option of doing a low-level recovery. Install
The Sleuth Kit from ports and try. In most cases, you will lose
the file names, but with a quick search, you could easily identify
the files from /usr/local/etc that you want to have back. But that
would be my last choice.



 As for the second file system, the var file system, it is
 more messed up. Looks like big chucks are zeroed out. But
 again, there are a few files I would like to recover. I
 have managed to recover one important one by running,
 
   # dd if=/dev/ad0s1f | hexdump -C | more
 
 And manually finding the file and then using,
 
   # dd if=/dev/ad0s1f skip=m count=n  /tmp/recovered.txt
 
 Then manually editing. But that is too labor intensive to try
 to grab everything.

You should really try ffs2recov, allthough your manual approach is
already a good means.



 Again, when I fsck(1) I get the same message as above. Anyone
 have tools for recovering files from these broken file systems?

Here's a short list I made up, maybe something gives you another
point where to start:

System:
dd
fsck_ffs
clri
fsdb (!!!)
fetch -rR device
recoverdisk (!)

Ports:
ddrescue
dd_rescue
ffs2recov
magicrescue
testdisk
The Sleuth Kit:
fls
dls
ils
autopsy
scan_ffs
recoverjpeg
foremost
photorec

Finally, may I ask if you have any ideas about what caused this problem?


Good luck!



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-31 Thread Polytropon
On Thu, 30 Jul 2009 21:19:14 -0800, Mel Flynn 
mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 That is very weird, since most of the community regards the 5.x series as the 
 worst in FreeBSD's history.

Until it completely destroyed itself, I had a 5.4-p? running
at my home machine without any problems. Please let me emphasize
this statement: WITHOUT. ANY. PROBLEMS. I have more trouble with
7-STABLE...

I still have a 300 MHz P2 with FreeBSD 5.4-p12 that runs faster
than my 2 GHz P4 with 7-STABLE which wonÄ't run mplayer correctly,
games don't work, and much more. I feel that I have spent more time
getting 7 to run halfway as good as 5 was.



 I've personally seen significant improvements in both reliability and 
 performance since 5.x, with respect to kernel and base.

System performance has gotten much better. I've experienced FreeBSD 6
only for server use, and tested it with PC-BSD on the desktop, so I
don't have a usable opinion there.



 As far as I'm concerned, 7.2 is the best release so far.

I'll make a copy of this statement and check if it's still true after
I performed the update. :-)



 I do share the Xorg frustration, 
 primarily because there is no alternative and has degraded into a linux X11 
 server, with some considerations for other operating systems, without any 
 form 
 of release engineering or regression testing.

Allthough you can still get rid of some builtin problems, either by
changing your configuration files or recompiling X with some compile
time options, there's still the (important) first impression that some
developers artificially made things harder to get X running, with no
understandable reason. After some reading, I found out that HAL and
DBUS, for example, are important and useful for getting Gnome's auto
mounting facilities working, and that's good. But if you don't run
Gnome and don't want any automounting stuff (maybe intendedly due to
security reasons), you still sit there with this stuff required.



 While XFree86 was harder to 
 configure, it's stability was far less of an issue.

Depends on your hardware. XFree86 always configured fast, fine and
correct on my systems. And it could run with 1400x1050 which X.org
can't do anymore, surprisingly.





-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Recovering Trashed Filesystems

2009-07-31 Thread Roland Smith
On Thu, Jul 30, 2009 at 11:46:50PM -0700, Crist J. Clark wrote:
 I have two file systems in very sad shape that I would like
 to retrieve some files from. I've net booted the sick box
 and can access the two bad UFSs. One file system, the root
 file system, isn't too bad off. However, the usr directory
 is messed up.
snip
 Now I can mount -r /dev/ad0s1a /mnt to get the above results,
 but fsck /dev/ad0s1a returns,
 
   # fsck /dev/ad0s1a
   ** /dev/ad0s1a
   BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST 
 ALTERNATE
 
   LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y
 
   32 is not a file system superblock
   SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
   -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
   SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).

Try 'fsck_ffs -b 160 /dev/ad0s1a' assuming you're using a UFS2 filesystem.
If that doesn't work, try adding the '-D' flag, but heed the warning in
fsck_ffs(8). Only run fsck_ffs when the filesystem is not mounted!

If you can, make a copy of the damaged fs and save it to another disk or
another machine. Then try to repair the copy. If it fails, you haven't
lost your original data.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpodPbEc2Xdo.pgp
Description: PGP signature


gmirror on different disks

2009-07-31 Thread Grzegorz Danecki
Hello everybody!

I'm just wondering, I had gmirror with two disks:

Master:  ad0 ST3160815AS/4.AAB Serial ATA II
Master:  ad2 ST3160815AS/4.AAB Serial ATA II

unfortunately ad0 failed today, leaving me with degraded array and ad0
offline.

I did

# gmirror forget gm0, then shutdown, ad0 was replaced with:

ad0: 152626MB Seagate ST3160815AS 3.AAD at ata0-master SATA300

with different firmware I think.

Then gmirror insert gm0 /dev/ad0

(...)
Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: rebuilding provider
ad0 finished.
Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: provider ad0
activated.

But the disk is a little bit smaller:

1. Name: mirror/gm0
   Mediasize: 160040803328 (149G)
   Sectorsize: 512
   Mode: r5w5e6
Consumers:
1. Name: ad2
   Mediasize: 160041885696 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 1
   SyncID: 1
   ID: 3791030614
2. Name: ad0
   Mediasize: 160040803840 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 1
   SyncID: 1
   ID: 2477089776

# gmirror status
  NameStatus  Components
mirror/gm0  COMPLETE  ad2
  ad0

so, it looks fine.

Can I expect any problems now because of different sizes? Any problems when
RAID will be almost full?
I mean - should I make the RAID once again with exactly the same drives, or
can I leave it as it is right now?

Thanks in advance!

-- 
Grzegorz Danecki
___
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: Looking for fast graphical web browser

2009-07-31 Thread Wolfgang Riegler
Give Midori a try. Of course it's a young project and maybe there are not all 
of the features of Firefox or Opera, but Midori is lightweight and really 
fast. It's based on WebKit, so there should be no problem with standard 
conform websites.

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


Difficulty in installing ncurses.

2009-07-31 Thread michael green
7.2-RELEASE #0. Generic kernel. Full installation from DVD.


I'm trying to install ncurses because I want to run FoxPro Unix, which expects 
a terminfo database.

I did this:

# cd /usr/src/contrib/ncurses [Enter]
# ./configure [Enter]

The last line of output is

config.status: error: cannot find input file: test/Makefile.in

I contacted the authors and I got a reply stating: It looks as if the 
source-tree is incomplete  and an alternative approach to installation.

How should I proceed? Thanks in advance.



___
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: Difficulty in installing ncurses.

2009-07-31 Thread Roland Smith
On Fri, Jul 31, 2009 at 11:20:27AM +, michael green wrote:
 7.2-RELEASE #0. Generic kernel. Full installation from DVD.
 
 I'm trying to install ncurses because I want to run FoxPro Unix, which
 expects a terminfo database.
 
You don't have to install it. It is already installed because it is part
of the base system.
 
Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpm8LESQNCp8.pgp
Description: PGP signature


Re: gmirror on different disks

2009-07-31 Thread Adam Vande More
On Fri, Jul 31, 2009 at 5:24 AM, Grzegorz Danecki g.dane...@gmail.comwrote:

 Hello everybody!

 I'm just wondering, I had gmirror with two disks:

 Master:  ad0 ST3160815AS/4.AAB Serial ATA II
 Master:  ad2 ST3160815AS/4.AAB Serial ATA II

 unfortunately ad0 failed today, leaving me with degraded array and ad0
 offline.

 I did

 # gmirror forget gm0, then shutdown, ad0 was replaced with:

 ad0: 152626MB Seagate ST3160815AS 3.AAD at ata0-master SATA300

 with different firmware I think.

 Then gmirror insert gm0 /dev/ad0

 (...)
 Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: rebuilding provider
 ad0 finished.
 Jul 31 09:55:46 julia kernel: GEOM_MIRROR: Device gm0: provider ad0
 activated.

 But the disk is a little bit smaller:

 1. Name: mirror/gm0
   Mediasize: 160040803328 (149G)
   Sectorsize: 512
   Mode: r5w5e6
 Consumers:
 1. Name: ad2
   Mediasize: 160041885696 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 1
   SyncID: 1
   ID: 3791030614
 2. Name: ad0
   Mediasize: 160040803840 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 1
   SyncID: 1
   ID: 2477089776

 # gmirror status
  NameStatus  Components
 mirror/gm0  COMPLETE  ad2
  ad0

 so, it looks fine.

 Can I expect any problems now because of different sizes? Any problems when
 RAID will be almost full?
 I mean - should I make the RAID once again with exactly the same drives, or
 can I leave it as it is right now?

 Thanks in advance!
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions


Drives don't matter to gmirror as long as they are at least big enough.  You
may get better performance with identical drives however.


-- 
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: UFS2 tuning for heterogeneous 4TB file system

2009-07-31 Thread b. f.
On 7/26/09, Maxim Khitrov mkhit...@gmail.com wrote:
 On Sun, Jul 26, 2009 at 3:56 AM, b. f.bf1...@googlemail.com wrote:
The file system in question will not have a common file size (which is
what, as I understand, bytes per inode should be tuned for). There
will be many small files ( 10 KB) and many large ones ( 500 MB). A
similar, in terms of content, 2TB ntfs file system on another server
has an average file size of about 26 MB with 59,246 files.

 Ordinarily, it may have a large variation in file sizes,  but can you
 intervene, and segregate large and small files in separate
 filesystems, so that you can optimize the settings for each
 independently?

 That's a good idea, but the problem is that this raid array will grow
 in the future as I add additional drives. As far as I know, a
 partition can be expanded using growfs, but it cannot be moved to a
 higher address (with any standard tools). So if I create two
 separate partitions for different file types, the first partition will
 have to remain a fixed size. That would be problematic, since I cannot
 easily predict how much space it would need initially and for all
 future purposes (enough to store all the files, yet not waste space
 that could otherwise be used for the second partition).


Perhaps gconcat(8), gmirror(8),  or vinum(4) will solve your problem
here.  I think there are other tools as well.

Ideally, I would prefer that small files do not waste more than 4 KB
of space, which is what you have with ntfs. At the same time, having
fsck running for days after an unclean shutdown is also not a good
option (I always disable background checking). From what I've gathered
so far, the two requirements are at the opposite ends in terms of file
system optimization.

 I gather you are trying to be conservative, but have you considered
 using gjournal(8)?  At least for the filesystems with many small
 files?  In that way, you could safely avoid the need for most if not
 all use of fsck(8), and, as an adjunct benefit, you would be able to
 operate on the small files more quickly:

 http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/gjournal-desktop/article.html

 gjournal has a lower overhead than ZFS, and has proven to be fairly
 reliable.  Also, you can always unhook it and revert to plain UFS
 mounts easily.

 b.


 Just fairly reliable? :)


Well, I'm not going to promise the sun, the moon, and the stars.  It
has worked for me (better than softupdates, I might add) under my more
modest workloads.

 I've done a bit of reading on gjournal and the main thing that's
 preventing me from using it is the recency of implementation. I've had
 a number of FreeBSD servers go down in the past due to power outages
 and SoftUpdates with foreground fsck have never failed me. I have
 never had a corrupt ufs2 partition, which is not something I can say
 about a few linux servers with ext3.

 Have there been any serious studies into how gjournal and SU deal with
 power outages? By that I mean taking two identical machines, issuing
 write operations, yanking the power cords, and then watching both
 systems recover? I'm sure that gjournal will take less time to reboot,
 but if this experiment is repeated a few hundred times I wonder what
 the corruption statistics would be. Is there ever a case, for
 instance, when the journal itself becomes corrupt because the power
 was pulled in the middle of a metadata flush?


I'm not aware of any such tests, but I wouldn't be surprised if  pjd@
or someone else who was interested in using gjournal(8) in a demanding
environment had made some.  I'll cc freebsd-fs@, because some of them
may not monitor freebsd-questions.  Perhaps someone there has some
advice.  You might also try asking on freebsd-g...@.

Regards,
 b.

 Basically, I have no experience with gjournal, poor experience with
 other journaled file systems, and no real comparison between
 reliability characteristics of gjournal and SoftUpdates, which have
 served me very well in the past.

 - Max

___
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


NFS-client - RPCPROG_NFS: RPC: Port mapper failure (7.2)

2009-07-31 Thread Ewald Jenisch
Hi,

I'm trying to get a FreeBSD 7.2-machine (amd64) to talk to a NetApp
filer using NFS.

Basic network connetivity, i.e. ping, ssh etc. between the two is
there, but I can't mount the respective directory from the Netapp.

Here's what I get when I try to mount:

# mount_nfs -i -T 192.168.1.9:/vol/vol2 /mnt
[tcp] 192.168.1.9:/vol/vol2: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed 
out
[tcp] 192.168.1.9:/vol/vol2: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed 
out
[tcp] 192.168.1.9:/vol/vol2: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed 
out
...

When I try the mount via UDP same story (only that at the beginning of
the error message it reads [udp]

This is what I've got in my /etc/rc.conf:

nfs_client_enable=YES
nfs_client_flags=-n 4

Any ideas what could be wrong here?

Thanks in advance for your help,
-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


Re: Looking for fast graphical web browser

2009-07-31 Thread Daniel Underwood
 Furthermore, there's lots of stuff now
 bundled with the Opera web browser that I (personally) found
 no use for, such as a mail client, IRC client, torrent client,
 and some other stuff that could easily be called bloatware.

Yeah, I share your take on Opera.

 Give Midori a try. Of course it's a young project and maybe there are not all
 of the features of Firefox or Opera, but Midori is lightweight and really
 fast. It's based on WebKit, so there should be no problem with standard
 conform websites.

Perfect, yes! Midori is precisely what I need!  Many thanks.
___
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: Looking for fast graphical web browser

2009-07-31 Thread Andreas Rudisch
On Fri, 31 Jul 2009 11:47:11 +0200
Polytropon free...@edvax.de wrote:

 versions, I saw it getting... hmmm... how do I tell best? It's
 getting more slower in overall handling, and it often stops
 working completely (several seconds)

I have not noticed such behaviour yet.

 problem with Firefox. Furthermore, there's lots of stuff now
 bundled with the Opera web browser that I (personally) found
 no use for, such as a mail client, IRC client, torrent client,
 and some other stuff that could easily be called bloatware.

I never get the argument about 'bloatware' when it comes to Opera.
Yes, there are options not that not everyone needs, but then again,
most of the time they do not get loaded / appear in the menu when not
used.

Also take a look at the size of the installers:

Opera 9.64/Windows:
Classic Installer, English (US) 4.8 MB
English (US) 5.4 MB
International 7.2 MB

Opera 9.64/FreeBSD 7.x (Static) 7.0 MB

Win32 Binaries: midori Win32 v0.1.8 12.9 MB

Firefox English (British) 3.5.1 win32 7.6MB
Firefox English (British) 3.5.1 linux 9.3MB

And there are a lot of features in Opera, for which you will need to
download extra extensions in Firefox.

 But maybe that's only my problem (due to my ancient computer
 and OS).

For me, Opera works much better on older hardware than Firefox.

Try Opera. Maybe it works for you.

Anyway, in the end everyone should use what he likes best. :)

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpUOJVzFTZ7Q.pgp
Description: PGP signature


Re: Looking for fast graphical web browser

2009-07-31 Thread Daniel Underwood
I would use Opera as an alternative to Firefox.  If I can find a way
to sync bookmarks across Opera browsers, I'll give it a try.
___
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: Looking for fast graphical web browser

2009-07-31 Thread Daniel Underwood
 I would use Opera as an alternative to Firefox.  If I can find a way
 to sync bookmarks across Opera browsers, I'll give it a try.

I didn't realize Opera has built-in synchronization. That's pretty nice.
___
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


Not recognizing raid controller Adaptec AIC7901

2009-07-31 Thread enid vx
Hi all,

I'm having some problems installing FreeBSD 6.3 on my machine equipped with
:

Single channel Adaptec® AIC-7901 controller for Ultra320 SCSI
Host RAID 0, 1, 10 support

I have 4 disks which are configured in 2 Raid1,

the problem is when I try to install FreeBSd from the installer cd, it shows
only the separated disks.

I've added also ahd_load=YES into /boot/loader.conf on the installation
cd,
also on the boot prompt
load ahd
load ahd.ko
and then boot

but again with no success .
It were recognized only the 4 disks as separated.

How can I make it recognize the raid ?

Thanks in advance.
___
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: Not recognizing raid controller Adaptec AIC7901

2009-07-31 Thread Jason

You may want to try using the Adaptec drivers from Adaptec, and not the
native freebsd drivers.

Edit /boot/loader.conf, and that may be it.

I've found great success with them.

-jgh

On Fri, Jul 31, 2009 at 06:39:56PM +0200, enid vx thus spake:

Hi all,

I'm having some problems installing FreeBSD 6.3 on my machine equipped with
:

Single channel Adaptec? AIC-7901 controller for Ultra320 SCSI
Host RAID 0, 1, 10 support

I have 4 disks which are configured in 2 Raid1,

the problem is when I try to install FreeBSd from the installer cd, it shows
only the separated disks.

I've added also ahd_load=YES into /boot/loader.conf on the installation
cd,
also on the boot prompt
load ahd
load ahd.ko
and then boot

but again with no success .
It were recognized only the 4 disks as separated.

How can I make it recognize the raid ?

Thanks in advance.
___
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


amd64 and sysinstall weirdness

2009-07-31 Thread Len Conrad
Dell PE 1950

FreeBSD 7.2 amd64


boot from disc01 into sysinstall, do our regular setup, reboot, and df shows 
only / and /devfs.  f

stab has /usr and /var missing.

so we go into sysinstall, slices are correct:

Disk name:  mfid0  FDISK Partition Editor
DISK Geometry:  17688 cyls/255 heads/63 sectors = 284157720 sectors (138748MB)

Offset   Size(ST)End Name  PType   Desc  SubtypeFlags

 0 63 62- 12 unused0  
63   10474317   10474379  mfid0s1  8freebsd  165
  104743804192965   14667344  mfid0s2  8freebsd  165
  14667345   10474380   25141724  mfid0s3  8freebsd  165
  25141725  259015995  284157719  mfid0s4  8freebsd  165
 284157720   6376  284164095- 12 unused0


but labels:

 FreeBSD Disklabel Editor

Disk: mfid0 Partition name: mfid0s1 Free: 0 blocks (0MB)
Disk: mfid0 Partition name: mfid0s2 Free: 0 blocks (0MB)
Disk: mfid0 Partition name: mfid0s3 Free: 10474380 blocks (5114MB)
Disk: mfid0 Partition name: mfid0s4 Free: 259015995 blocks (123GB)

Part  Mount  Size Newfs   Part  Mount  Size Newfs
  -   -     -   -
ufsid/4a72noneb432c4 5114MB *
mfid0s2b  swap 2047MB SWAP

.. the /usr and /var mount points were lost.  

fstab:

cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/mfid0s2b   noneswapsw  0   0
/dev/ufsid/4a72bbc67db432c4a/   ufs rw  
1   1
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

we saw the /var and /usr filesystems were really there, so we added to fstab:

/dev/mfid0s3/usrufs rw  2   2
/dev/mfid0s4/varufs rw  2   2

and rebooted, all seems ok.

We went through this drill twice, and got the same results.

/var/run/dmesg:

mfid0: MFI Logical Disk on mfi0
mfid0: 138752MB (284164096 sectors) RAID volume '' is optimal

SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!

GEOM_LABEL: Label for provider mfid0s1 is ufsid/4a72bbc67db432c4.
GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.

Trying to mount root from ufs:/dev/ufsid/4a72bbc67db432c4a
GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.
GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.
GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.

Anybody know why the sysintall labels and fstab aren't showing up the way we 
set them up in sysinstall?

thanks
Len


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


Re: how to boot or access problem file system

2009-07-31 Thread PJ
Roland Smith wrote:
 On Thu, Jul 30, 2009 at 03:20:55PM -0400, PJ wrote:
   
 Roland Smith wrote:
 
 On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:
   
   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 

 I forgot to mention that your boot sector is fine. If it were screwed
 up, you wouldn't get to the boot prompt.

 Since the boot code cannot locate your kernel, there are several things
 that could have gone wrong. See below.

 snip
   
 The /usr files should be ok but how to access?   
 
 Use fsck_ffs to try and repair the filesystem.
   
   
 how can I use it if I can't boot or access the file system?
 

 Use a livefs cd or use the Fixit option in the main menu of sysinstall
 on an install disk. That should get you a shell where you can run
 fsck_ffs on your disk partitions.

 If you have booted from CD, list the disk devices with e.g. 'ls
 /dev/ad*'. If you have SCSI drives, use 'da' instead of 'ad'.
 What does that command list? On my machine, I'll get
 something like this:

 /dev/ad4 /dev/ad4s1d  /dev/ad6 /dev/ad6s1d
 /dev/ad4s1   /dev/ad4s1e  /dev/ad6s1   /dev/ad6s1e
 /dev/ad4s1a  /dev/ad4s1f  /dev/ad6s1a  /dev/ad6s1f
 /dev/ad4s1b  /dev/ad4s1g  /dev/ad6s1b  /dev/ad6s1g
 /dev/ad4s1c  /dev/ad4s1g.eli  /dev/ad6s1c  /dev/ad6s1g.eli

 If you only see e.g. /dev/ad4 and /dev/ad6, your slice table has been
 overwritten (with fdisk) and your data is lost. If you see /dev/ad4s1
 but not /dev/ad4s1a-g, the BSD partitions have been removed and your
 data is lost as well.

 Since there is only one slice on both ad4 and ad6 (otherwise you'd see
 /dev/ad4s2x) The next step is to examine the disk labels:

 bsdlabel /dev/ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  1024000   164.2BSD 2048 16384 64008 
   b: 16777216  1024016  swap
   c: 9767680020unused0 0 # raw part, don't 
 edit
   d:  4194304 178012324.2BSD 2048 16384 28528 
   e: 104857600 219955364.2BSD 2048 16384 28528 
   f: 41943040 1268531364.2BSD 2048 16384 28528 
   g: 807971826 1687961764.2BSD 2048 16384 0

 This tells us that the a, d, e, f and g partition are carrying a BSD
 filesystem, and should be checked with fsck_ffs.

 Try these steps and report back what you find.

   
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 
 Make regular backups. Especially before big upgrades.
   
   
 Maybe the real problem is that the manual is too screwed up (why are
 there so many problems being brought up on the mailing lists? we can't
 all be that stupid.)
 

 It is a mailing list for questions. Ipso facto you'll see questions and
 problems on this list. People who are not having problems will not be
 posting very much. :-) 

 As to the handbook, this is by necessity written by people who are
 knowledgeable on the subject they write on. Unfortunately this sometimes
 lead to really basic steps/assumptions being skipped because they are
 self-evident for the writer. If you gain enough knowledge about a
 subject it becomes really hard to write for people new to the system
 because you've internalized a lot of stuff by then.

 If you have specific questions about parts of the handbook, ask.


 Roland
   
Thanks for replying Roland,
I've been struggling with upgrading 7.0 to 7.2... it has taken a lot of
my time and I am still not happy.
I have it running now; Xorg finally came through but I have absolutely
no idea how or why it finally started working. Actually, it was my last
attempt to start it and I was totally surprised that it came up. I
decided to try my former xorg.conf file which had the correct mouse
driver etc. that hal did not find. X -configure was useless and totally
off the track and tweaking the xorg.conf.new file did not work. In total
desperation I had installed all the xorg files needed or not and hoped
that might help... at first, it did not, at least I couldn't tell as
there was no change. But getting flashplayer to work... that's an
impossibility as I can see on this machine. Nor does gnash work... it
installs and shows up under about:plugins on Firefox... but that's as
far as it goest... same for flashplayer9 and linux-f8-flashplayer10
can't find the files to download ( but a few days ago they were
available and worked on the amd64 system).
Anyway... back to the messed up 7.1 installation.
I ran livefs 7.1 and chose option 6 (I think; it was the last on the
list) and I got the boot cursor (I think) ... so I entered? and got the
list of commands. BTW, I don't know where to find some instructions on
how to use the livefs and the command line procedures to work with to do
a reccovery. For one, I find that the screen scrolls by so fast, I miss
half of 

Windows 2008 + AD + PF + bridge = problems?

2009-07-31 Thread markham roan
Has anyone used Windows 2008 and active directory with a bridging, NATing
firewall between the domain controller and the 2008 machine?
We're in a situation where we're trying to join a domain with a 2008
machine, and no matter what we do to the firewall, joining stalls and fails.

DC: Windows Server 2003
Server: Windows Server 2008
Firewall: FreeBSD 6.1 plus PF

We're doing bidirectional NAT on the clients, so the DC has a real address
while the Server has an RFC1918 address.  We are explicitly allowing all
traffic between the server and the DC, with and later without keeping state.
 Windows Server 2003 machines behind the firewall join just fine, and
Windows 2008 Server machines outside of the firewall join just fine.

A packet capture revealed a number of anomalies.  Once the server starts
trying to join the domain, we get all sorts of TCP transmission errors,
retries, duplicate ACKs etc.  In some cases, the public side of the firewall
will send an ICMP host-unreachable message for a host which is clearly being
BINAT.

I've tinkered with net.inet.ip.intr_queue_maxlen, but it doesn't seem to
help.  net.inet.ip.intr_queue_drops isn't increasing at a noticeable rate,
anyway.

Does anyone have any thoughts and/or advice on where I can go from here?
___
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: amd64 and sysinstall weirdness

2009-07-31 Thread Adam Vande More
On Fri, Jul 31, 2009 at 1:20 PM, Len Conrad lcon...@go2france.com wrote:

 Dell PE 1950

 FreeBSD 7.2 amd64


 boot from disc01 into sysinstall, do our regular setup, reboot, and df
 shows only / and /devfs.  f

 stab has /usr and /var missing.

 so we go into sysinstall, slices are correct:

 Disk name:  mfid0  FDISK Partition
 Editor
 DISK Geometry:  17688 cyls/255 heads/63 sectors = 284157720 sectors
 (138748MB)

 Offset   Size(ST)End Name  PType   Desc  Subtype
  Flags

 0 63 62- 12 unused0
63   10474317   10474379  mfid0s1  8freebsd  165
  104743804192965   14667344  mfid0s2  8freebsd  165
  14667345   10474380   25141724  mfid0s3  8freebsd  165
  25141725  259015995  284157719  mfid0s4  8freebsd  165
  284157720   6376  284164095- 12 unused0


 but labels:

 FreeBSD Disklabel Editor

 Disk: mfid0 Partition name: mfid0s1 Free: 0 blocks (0MB)
 Disk: mfid0 Partition name: mfid0s2 Free: 0 blocks (0MB)
 Disk: mfid0 Partition name: mfid0s3 Free: 10474380 blocks (5114MB)
 Disk: mfid0 Partition name: mfid0s4 Free: 259015995 blocks (123GB)

 Part  Mount  Size Newfs   Part  Mount  Size Newfs
   -   -     -   -
 ufsid/4a72noneb432c4 5114MB *
 mfid0s2b  swap 2047MB SWAP

 .. the /usr and /var mount points were lost.

 fstab:

 cat /etc/fstab
 # DeviceMountpoint  FStype  Options Dump
  Pass#
 /dev/mfid0s2b   noneswapsw  0   0
 /dev/ufsid/4a72bbc67db432c4a/   ufs rw
  1   1
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0

 we saw the /var and /usr filesystems were really there, so we added to
 fstab:

 /dev/mfid0s3/usrufs rw  2   2
 /dev/mfid0s4/varufs rw  2   2

 and rebooted, all seems ok.

 We went through this drill twice, and got the same results.

 /var/run/dmesg:

 mfid0: MFI Logical Disk on mfi0
 mfid0: 138752MB (284164096 sectors) RAID volume '' is optimal

 SMP: AP CPU #1 Launched!
 SMP: AP CPU #2 Launched!
 SMP: AP CPU #3 Launched!

 GEOM_LABEL: Label for provider mfid0s1 is ufsid/4a72bbc67db432c4.
 GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
 GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.

 Trying to mount root from ufs:/dev/ufsid/4a72bbc67db432c4a
 GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
 GEOM_LABEL: Label for provider mfid0s3 is ufsid/4a72bbc60412e6dd.
 GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.
 GEOM_LABEL: Label for provider mfid0s4 is ufsid/4a72bbc6e3898627.
 GEOM_LABEL: Label ufsid/4a72bbc60412e6dd removed.
 GEOM_LABEL: Label ufsid/4a72bbc6e3898627 removed.

 Anybody know why the sysintall labels and fstab aren't showing up the way
 we set them up in sysinstall?

 thanks
 Len

Looks like you may getting slices and partitions confused.  Generally your
partitions are subsets of slices eg:

ad0s1a
ad0s1b
ad0s1c
ad0s1d
ad0s1f

Where as your output is something like this:

ad0s1
ad0s2
ad0s3
ad0s4

Unless you have some pressing reason to do otherwise, choose the Auto
settings they are sufficient for most purposes.

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


Re: how to boot or access problem file system

2009-07-31 Thread Roland Smith
On Fri, Jul 31, 2009 at 02:36:23PM -0400, PJ wrote:
 Thanks for replying Roland,
 I've been struggling with upgrading 7.0 to 7.2... it has taken a lot of
 my time and I am still not happy.
snip
 Anyway... back to the messed up 7.1 installation.
 I ran livefs 7.1 and chose option 6 (I think; it was the last on the
 list) and I got the boot cursor (I think) ... 

Don't do that. Just wait and let the system boot, or choose 1, which
amounts to the same. Then choose your country and keyboard settings from
the menus you are presented with.

Next, you come into the sysinstall main menu. Choose Fixit, and in the
next menu choose 2 CDROM/DVD. Now you enter the standard 'sh'. If you
want, type 'tcsh' to start the C shell. I find that more convenient
because it uses tab completion for commands and files. You can now use
all the commands that are available in the base system.

No go back to my previous message and see what if anything is wrong with
your disk partitions.

 cd devices:
   cd0: Device 0x1
 disk devices:
   disk0: BIOS drive a:
   disk1: BIOS drive C:
 disk1s1: Unknown fs: 0x7 (I think this must be ntfs ? but ? )
   disk2: BIOS drive D:
   disk3: BIOS drive E:
 disk3s1a: FFS
 disk3s1b: swap
 disk3s1d: FFS
 disk3s1e: FFS
 disk3s1f: FFS

Do you have a dual boot installation with FreeBSD on a second drive?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgptfYctqbFvD.pgp
Description: PGP signature


Re: how to boot or access problem file system

2009-07-31 Thread PJ
Roland Smith wrote:
 On Thu, Jul 30, 2009 at 03:20:55PM -0400, PJ wrote:
   
 Roland Smith wrote:
 
 On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:
   
   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 

 I forgot to mention that your boot sector is fine. If it were screwed
 up, you wouldn't get to the boot prompt.

 Since the boot code cannot locate your kernel, there are several things
 that could have gone wrong. See below.

 snip
   
 The /usr files should be ok but how to access?   
 
 Use fsck_ffs to try and repair the filesystem.
   
   
 how can I use it if I can't boot or access the file system?
 

 Use a livefs cd or use the Fixit option in the main menu of sysinstall
 on an install disk. That should get you a shell where you can run
 fsck_ffs on your disk partitions.

 If you have booted from CD, list the disk devices with e.g. 'ls
 /dev/ad*'. If you have SCSI drives, use 'da' instead of 'ad'.
 What does that command list? On my machine, I'll get
 something like this:

 /dev/ad4 /dev/ad4s1d  /dev/ad6 /dev/ad6s1d
 /dev/ad4s1   /dev/ad4s1e  /dev/ad6s1   /dev/ad6s1e
 /dev/ad4s1a  /dev/ad4s1f  /dev/ad6s1a  /dev/ad6s1f
 /dev/ad4s1b  /dev/ad4s1g  /dev/ad6s1b  /dev/ad6s1g
 /dev/ad4s1c  /dev/ad4s1g.eli  /dev/ad6s1c  /dev/ad6s1g.eli

 If you only see e.g. /dev/ad4 and /dev/ad6, your slice table has been
 overwritten (with fdisk) and your data is lost. If you see /dev/ad4s1
 but not /dev/ad4s1a-g, the BSD partitions have been removed and your
 data is lost as well.

 Since there is only one slice on both ad4 and ad6 (otherwise you'd see
 /dev/ad4s2x) The next step is to examine the disk labels:

 bsdlabel /dev/ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  1024000   164.2BSD 2048 16384 64008 
   b: 16777216  1024016  swap
   c: 9767680020unused0 0 # raw part, don't 
 edit
   d:  4194304 178012324.2BSD 2048 16384 28528 
   e: 104857600 219955364.2BSD 2048 16384 28528 
   f: 41943040 1268531364.2BSD 2048 16384 28528 
   g: 807971826 1687961764.2BSD 2048 16384 0

 This tells us that the a, d, e, f and g partition are carrying a BSD
 filesystem, and should be checked with fsck_ffs.

 Try these steps and report back what you find.

   
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 
 Make regular backups. Especially before big upgrades.
   
   
 Maybe the real problem is that the manual is too screwed up (why are
 there so many problems being brought up on the mailing lists? we can't
 all be that stupid.)
 

 It is a mailing list for questions. Ipso facto you'll see questions and
 problems on this list. People who are not having problems will not be
 posting very much. :-) 

 As to the handbook, this is by necessity written by people who are
 knowledgeable on the subject they write on. Unfortunately this sometimes
 lead to really basic steps/assumptions being skipped because they are
 self-evident for the writer. If you gain enough knowledge about a
 subject it becomes really hard to write for people new to the system
 because you've internalized a lot of stuff by then.

 If you have specific questions about parts of the handbook, ask.


 Roland
   
I get the impression that my disks have all been overwritten; it's
rather strange that in the instructions to upgrade it says to not change
anything on the Newfs... and that files would not be overwritten... is
that at fact?
If that is true, then surely it should be possible to recover files in
the /usr /var and /tmp directories. If the disks have not been
overwritten... I think there was a huge misinformation gap here if this
is not so...
If we're upgrading a file system, there is no reason to either format or
overwrite those directories and/or slices that are not involved. Anyway,
I'm waiting to hear if there is any hoope here or do I just go ahead an
reinstall everything?

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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: Windows 2008 + AD + PF + bridge = problems?

2009-07-31 Thread Reko Turja
Has anyone used Windows 2008 and active directory with a bridging, 
NATing

firewall between the domain controller and the 2008 machine?
We're in a situation where we're trying to join a domain with a 2008
machine, and no matter what we do to the firewall, joining stalls 
and fails.


Haven't used the combination myself, but in couple of cases MS 
developer/beta evaluation staff has been quite helpful when Vista beta 
got all kind of funnies when trying to connect to internet via PF. So 
giving MS the information of the problems in traffic might (in case 
you want to help MS to troubleshoot Win2008...) help some.


Another idea could be giving 7.x a shot as it has newer version of PF 
IIRC.


-Reko 


___
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: Windows 2008 + AD + PF + bridge = problems?

2009-07-31 Thread markham roan
On Fri, Jul 31, 2009 at 2:11 PM, Reko Turja reko.tu...@liukuma.net wrote:

 Has anyone used Windows 2008 and active directory with a bridging, NATing
 firewall between the domain controller and the 2008 machine?
 We're in a situation where we're trying to join a domain with a 2008
 machine, and no matter what we do to the firewall, joining stalls and
 fails.


 Haven't used the combination myself, but in couple of cases MS
 developer/beta evaluation staff has been quite helpful when Vista beta got
 all kind of funnies when trying to connect to internet via PF. So giving MS
 the information of the problems in traffic might (in case you want to help
 MS to troubleshoot Win2008...) help some.


Do you happen to have contact information for this team?

Another idea could be giving 7.x a shot as it has newer version of PF IIRC.


That's on the list of things to try, but upgrading will probably be painful,
so I'm hoping to find something else first.

Thanks!
___
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


Document iso compression suggestion

2009-07-31 Thread Nathen
Hi, I'm not sure if this is the correct email address to use for this
suggestion but anyway, I thought you would like to know I managed to
compress the iso '7.2-RELEASE-amd64-docs.iso' at 294MB down to just
21.2MB by using 7-zip's ultra compression method - this could help you
to conserve bandwidth if you offered a compressed archive for document
CD isos.
Hope this helps :)
Thanks for your time.

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


Re: how to boot or access problem file system

2009-07-31 Thread PJ
Roland Smith wrote:
 On Fri, Jul 31, 2009 at 02:36:23PM -0400, PJ wrote:
   
 Thanks for replying Roland,
 I've been struggling with upgrading 7.0 to 7.2... it has taken a lot of
 my time and I am still not happy.
 
 snip
   
 Anyway... back to the messed up 7.1 installation.
 I ran livefs 7.1 and chose option 6 (I think; it was the last on the
 list) and I got the boot cursor (I think) ... 
 

 Don't do that. Just wait and let the system boot, or choose 1, which
 amounts to the same. Then choose your country and keyboard settings from
 the menus you are presented with.

 Next, you come into the sysinstall main menu. Choose Fixit, and in the
 next menu choose 2 CDROM/DVD. Now you enter the standard 'sh'. If you
 want, type 'tcsh' to start the C shell. I find that more convenient
 because it uses tab completion for commands and files. You can now use
 all the commands that are available in the base system.

 No go back to my previous message and see what if anything is wrong with
 your disk partitions.

   
 cd devices:
   cd0: Device 0x1
 disk devices:
   disk0: BIOS drive a:
   disk1: BIOS drive C:
 disk1s1: Unknown fs: 0x7 (I think this must be ntfs ? but ? )
   disk2: BIOS drive D:
   disk3: BIOS drive E:
 disk3s1a: FFS
 disk3s1b: swap
 disk3s1d: FFS
 disk3s1e: FFS
 disk3s1f: FFS
 

 Do you have a dual boot installation with FreeBSD on a second drive?

 Roland
   
Basically, the news is not good.
The directories  files are not what I had to begin with.
ls /dev/ad0s1 or any disk/slice merely gets: Permission denied.

Not a dual boot installation - pure FreeBSD. I was using this as a
server with apache/mysql/samba/cups + a number of programs like
Netbeans, Openoffice, Gimp, Inkscape. etc. etc.

But I suppose I could move the disks to another machine, or maybe
better, add a Windows disk to this box...


-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

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


Re: how to boot or access problem file system

2009-07-31 Thread Roland Smith
On Fri, Jul 31, 2009 at 03:12:21PM -0400, PJ wrote:
 Roland Smith wrote:
  On Thu, Jul 30, 2009 at 03:20:55PM -0400, PJ wrote:

  Roland Smith wrote:
  
  On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:


  What can be done to access a file system that seems to have the boot
  sector screwed up?
  
 
  I forgot to mention that your boot sector is fine. If it were screwed
  up, you wouldn't get to the boot prompt.
 
  Since the boot code cannot locate your kernel, there are several things
  that could have gone wrong. See below.
 
  snip

  The /usr files should be ok but how to access?   
  
  Use fsck_ffs to try and repair the filesystem.


  how can I use it if I can't boot or access the file system?
  
 
  Use a livefs cd or use the Fixit option in the main menu of sysinstall
  on an install disk. That should get you a shell where you can run
  fsck_ffs on your disk partitions.
 
  If you have booted from CD, list the disk devices with e.g. 'ls
  /dev/ad*'. If you have SCSI drives, use 'da' instead of 'ad'.
  What does that command list? On my machine, I'll get
  something like this:
 
  /dev/ad4 /dev/ad4s1d  /dev/ad6 /dev/ad6s1d
  /dev/ad4s1   /dev/ad4s1e  /dev/ad6s1   /dev/ad6s1e
  /dev/ad4s1a  /dev/ad4s1f  /dev/ad6s1a  /dev/ad6s1f
  /dev/ad4s1b  /dev/ad4s1g  /dev/ad6s1b  /dev/ad6s1g
  /dev/ad4s1c  /dev/ad4s1g.eli  /dev/ad6s1c  /dev/ad6s1g.eli
 
  If you only see e.g. /dev/ad4 and /dev/ad6, your slice table has been
  overwritten (with fdisk) and your data is lost. If you see /dev/ad4s1
  but not /dev/ad4s1a-g, the BSD partitions have been removed and your
  data is lost as well.
 
  Since there is only one slice on both ad4 and ad6 (otherwise you'd see
  /dev/ad4s2x) The next step is to examine the disk labels:
 
  bsdlabel /dev/ad4s1
  # /dev/ad4s1:
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a:  1024000   164.2BSD 2048 16384 64008 
b: 16777216  1024016  swap
c: 9767680020unused0 0 # raw part, 
  don't edit
d:  4194304 178012324.2BSD 2048 16384 28528 
e: 104857600 219955364.2BSD 2048 16384 28528 
f: 41943040 1268531364.2BSD 2048 16384 28528 
g: 807971826 1687961764.2BSD 2048 16384 0
 
  This tells us that the a, d, e, f and g partition are carrying a BSD
  filesystem, and should be checked with fsck_ffs.
 
  Try these steps and report back what you find.
 

  I don't have a problem with irrecoverable files, I would just finally
  understand how things work and what can be done on FBSD.
  
  Make regular backups. Especially before big upgrades.


  Maybe the real problem is that the manual is too screwed up (why are
  there so many problems being brought up on the mailing lists? we can't
  all be that stupid.)
  
 
  It is a mailing list for questions. Ipso facto you'll see questions and
  problems on this list. People who are not having problems will not be
  posting very much. :-) 
 
  As to the handbook, this is by necessity written by people who are
  knowledgeable on the subject they write on. Unfortunately this sometimes
  lead to really basic steps/assumptions being skipped because they are
  self-evident for the writer. If you gain enough knowledge about a
  subject it becomes really hard to write for people new to the system
  because you've internalized a lot of stuff by then.
 
  If you have specific questions about parts of the handbook, ask.
 
 I get the impression that my disks have all been overwritten; it's

Don't have impressions. Get the data. Boot from a livefs CD and start a
shell as explained in in some of my previous messages. Then use the commands
listed above to check your filesystems. *And report back wat you found*.

 rather strange that in the instructions to upgrade it says to not change
 anything on the Newfs... and that files would not be overwritten... is
 that at fact?

What instructions are you referring to? Neither the handbook section
[http://www.freebsd.org/doc/en/books/handbook/updating-freebsdupdate.html]
nor the manual page for freebsd-update mention newfs at all! Nor should they.

 If that is true, then surely it should be possible to recover files in
 the /usr /var and /tmp directories. If the disks have not been
 overwritten... I think there was a huge misinformation gap here if this
 is not so...

For an upgrade, the filesystems are not overwritten. Only a new install
creates new filesystems.

Please boot from a livefs CD and check the filesystems on the harddisk
as explained before and report the results.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



Wan

2009-07-31 Thread Dr Wan

Hello,

I am constrained by insufficient information about you to express in
full the main objectives of this proposal. However, kindly reach me
immediately for details should you agree to its content.
I will like to solicit your kindness in assisting me
to champion the transfer of some funds from my country to yours for
disbursment. The source of this fund will be disclosed to you as soon as your
positive response is received to this effect.

I am a principal accountant to the office of the accountant general of the 
federation and
the Chairman of Tenders Board in charge of contract award
and monitoring.

Basically, you would be required to nominate a suitable bank account
that will conveniently accommodate the total funds. Account could be a
fresh or an already existing one, and could be individual or corporate
account. On completion of the transaction, you shall have a benefit of
30% of the funds for your assistance rendered,while 10% is set aside to
defray all expenses both you and I shall make at the
course of this transaction. Details of this proposal will be sent to you
as soon as your response is received.

This proposal is strictly confidential, free from any form of risk and
does not depend on any particular field of trade to prosecute. It
however requires your adequate participation and support to enable its
accomplishment on schedule.
Thanks in anticipation and God bless.

Best regards.

Dr.Wan Bufa Chuba.



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


Re: how to boot or access problem file system

2009-07-31 Thread Roland Smith
On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ wrote:
 Basically, the news is not good.
 The directories  files are not what I had to begin with.
 ls /dev/ad0s1 or any disk/slice merely gets: Permission denied.

Now that is certainly weird. :-) I've never come across something like that.
What do 'mount' and 'ls -ld /dev' return? Maybe /dev is mounted with
incorrect permissions. You are logged in as root, I presume?

What strikes me as strange is that your data from the boot prompt
suggest that your FreeBSD install is on ad3 instead of on ad0. You
haven't messed with the cabling from the disks, or changed BIOS settings
regarding the boot sequence, have you?

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgperqaqVrGah.pgp
Description: PGP signature


Re: how to boot or access problem file system

2009-07-31 Thread PJ
Roland Smith wrote:
 On Fri, Jul 31, 2009 at 03:12:21PM -0400, PJ wrote:
   
 Roland Smith wrote:
 
 On Thu, Jul 30, 2009 at 03:20:55PM -0400, PJ wrote:
   
   
 Roland Smith wrote:
 
 
 On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:
   
   
   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 
 
 I forgot to mention that your boot sector is fine. If it were screwed
 up, you wouldn't get to the boot prompt.

 Since the boot code cannot locate your kernel, there are several things
 that could have gone wrong. See below.

 snip
   
   
 The /usr files should be ok but how to access?   
 
 
 Use fsck_ffs to try and repair the filesystem.
   
   
   
 how can I use it if I can't boot or access the file system?
 
 
 Use a livefs cd or use the Fixit option in the main menu of sysinstall
 on an install disk. That should get you a shell where you can run
 fsck_ffs on your disk partitions.

 If you have booted from CD, list the disk devices with e.g. 'ls
 /dev/ad*'. If you have SCSI drives, use 'da' instead of 'ad'.
 What does that command list? On my machine, I'll get
 something like this:

 /dev/ad4 /dev/ad4s1d  /dev/ad6 /dev/ad6s1d
 /dev/ad4s1   /dev/ad4s1e  /dev/ad6s1   /dev/ad6s1e
 /dev/ad4s1a  /dev/ad4s1f  /dev/ad6s1a  /dev/ad6s1f
 /dev/ad4s1b  /dev/ad4s1g  /dev/ad6s1b  /dev/ad6s1g
 /dev/ad4s1c  /dev/ad4s1g.eli  /dev/ad6s1c  /dev/ad6s1g.eli

 If you only see e.g. /dev/ad4 and /dev/ad6, your slice table has been
 overwritten (with fdisk) and your data is lost. If you see /dev/ad4s1
 but not /dev/ad4s1a-g, the BSD partitions have been removed and your
 data is lost as well.

 Since there is only one slice on both ad4 and ad6 (otherwise you'd see
 /dev/ad4s2x) The next step is to examine the disk labels:

 bsdlabel /dev/ad4s1
 # /dev/ad4s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  1024000   164.2BSD 2048 16384 64008 
   b: 16777216  1024016  swap
   c: 9767680020unused0 0 # raw part, 
 don't edit
   d:  4194304 178012324.2BSD 2048 16384 28528 
   e: 104857600 219955364.2BSD 2048 16384 28528 
   f: 41943040 1268531364.2BSD 2048 16384 28528 
   g: 807971826 1687961764.2BSD 2048 16384 0

 This tells us that the a, d, e, f and g partition are carrying a BSD
 filesystem, and should be checked with fsck_ffs.

 Try these steps and report back what you find.

   
   
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 
 
 Make regular backups. Especially before big upgrades.
   
   
   
 Maybe the real problem is that the manual is too screwed up (why are
 there so many problems being brought up on the mailing lists? we can't
 all be that stupid.)
 
 
 It is a mailing list for questions. Ipso facto you'll see questions and
 problems on this list. People who are not having problems will not be
 posting very much. :-) 

 As to the handbook, this is by necessity written by people who are
 knowledgeable on the subject they write on. Unfortunately this sometimes
 lead to really basic steps/assumptions being skipped because they are
 self-evident for the writer. If you gain enough knowledge about a
 subject it becomes really hard to write for people new to the system
 because you've internalized a lot of stuff by then.

 If you have specific questions about parts of the handbook, ask.

   
 I get the impression that my disks have all been overwritten; it's
 

 Don't have impressions. Get the data. Boot from a livefs CD and start a
 shell as explained in in some of my previous messages. Then use the commands
 listed above to check your filesystems. *And report back wat you found*.

   
 rather strange that in the instructions to upgrade it says to not change
 anything on the Newfs... and that files would not be overwritten... is
 that at fact?
 

 What instructions are you referring to? Neither the handbook section
 [http://www.freebsd.org/doc/en/books/handbook/updating-freebsdupdate.html]
 nor the manual page for freebsd-update mention newfs at all! Nor should they.

   

Well, it sounds like we should be ok, but the instructions I am speaking
of are those on the installation disks ... when one selects the update
to a newer version  and then as asked to set the slice names /; swap;
/tmp; and /var. 
If I have made an error in this, then I can only put the full blame on
whoever created the installation system... there should be the most
obvious checks  balances about such an installation/upgrade as -
warnings about what the installation is going to do, and are you sure
this is what you want to do; and warnings that any existing files will
be 

Re: Looking for fast graphical web browser

2009-07-31 Thread Polytropon
On Fri, 31 Jul 2009 17:04:22 +0200, Andreas Rudisch cyb.@gmx.net wrote:
 On Fri, 31 Jul 2009 11:47:11 +0200
 Polytropon free...@edvax.de wrote:
 
  versions, I saw it getting... hmmm... how do I tell best? It's
  getting more slower in overall handling, and it often stops
  working completely (several seconds)
 
 I have not noticed such behaviour yet.

Nobody else seems to have. This is what I wrote regarding this
very strange topic:

http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/194123.html

I just hope that it goes away with an update of the system I'm
planning to do soon. :-)



  problem with Firefox. Furthermore, there's lots of stuff now
  bundled with the Opera web browser that I (personally) found
  no use for, such as a mail client, IRC client, torrent client,
  and some other stuff that could easily be called bloatware.
 
 I never get the argument about 'bloatware' when it comes to Opera.

Only for newer versions. I found the older versions a bit easier
to configure, especially the Options dialog was better organized.
But as I mentioned bloat (NB the quotes), it's just that there's
much more functionality in Opera, making it run slower (on the same
system), but finally, it runs *much* faster than Firefox, I think.



 And there are a lot of features in Opera, for which you will need to
 download extra extensions in Firefox.

Exactly. I know, for example, that there are mouse gestures in Firefox,
too. But they are not built-in. My main argument for Opera is the
excellent combination of mouse and KEYBOARD support. I'm using the
english version because the shortcuts and keystrokes are more
intuitive than in the german version.

Firefox even seems to lack a key to quit the program. :-)



 For me, Opera works much better on older hardware than Firefox.

That's true. Opera on 300 MHz P2 is faster than Firefox 3 on 2 GHz P4
here.



 Anyway, in the end everyone should use what he likes best. :)

Of course. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Windows 2008 + AD + PF + bridge = problems?

2009-07-31 Thread Reko Turja

Do you happen to have contact information for this team?


Sadly no, I just reported the perceived bug via Vista beta bug 
reporting - can't remember if that was from the OS itself or from the 
web, and got pretty fast reply and tech savvy responder from there.


-Reko 


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


Re: how to boot or access problem file system

2009-07-31 Thread PJ
Roland Smith wrote:
 On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ wrote:
   
 Basically, the news is not good.
 The directories  files are not what I had to begin with.
 ls /dev/ad0s1 or any disk/slice merely gets: Permission denied.
 

 Now that is certainly weird. :-) I've never come across something like that.
 What do 'mount' and 'ls -ld /dev' return? Maybe /dev is mounted with
 incorrect permissions. You are logged in as root, I presume?

 What strikes me as strange is that your data from the boot prompt
 suggest that your FreeBSD install is on ad3 instead of on ad0. You
 haven't messed with the cabling from the disks, or changed BIOS settings
 regarding the boot sequence, have you?

 Roland
   
No cabling changes... but I did try different boot options...
My setup is a raid1 mirror setup on two 75gb sata disks and another 80gb
sata disk as well as another 40gb disk(who know what's on it) could be
WindowsXP, but I haven't used it. I could try running PartitionMagic to
see what's on there; but there's no guarantee it'll show anything...
will try now.

Ok, PM shows disk1 as ntfs; Disk2 is FreeBSD/386 76,316.6mb 0.0 unused
active Primary

Strange that it shows as full... wasnt when it was working.
Weird if not strange... whereis disk 3 ?
I may have to open the box...


-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

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


Re: how to boot or access problem file system

2009-07-31 Thread PJ
PJ wrote:
 Roland Smith wrote:
 On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ wrote:

 Basically, the news is not good.
 The directories  files are not what I had to begin with.
 ls /dev/ad0s1 or any disk/slice merely gets: Permission denied.

 Now that is certainly weird. :-) I've never come across something
 like that.
 What do 'mount' and 'ls -ld /dev' return? Maybe /dev is mounted with
 incorrect permissions. You are logged in as root, I presume?
Now, how could I be logged in? from livefs?
On bootup, I see ar0 boot error or something like that...
ls /dev ... shows ad0, ad10, ad12, ad4 and ar0
ad0 only has ad0s1 (I assume this to be ntfs
ad10 also has s1, s1a, s1b, c, d, e, e, suffixes
ad4 has s1, s1a, s1b, no c, but d, e, f suffixes
The stench from Denmark is getting to me... ;-)
___
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: Looking for fast graphical web browser

2009-07-31 Thread Chad Perrin
On Fri, Jul 31, 2009 at 10:15:32PM +0200, Polytropon wrote:
 On Fri, 31 Jul 2009 17:04:22 +0200, Andreas Rudisch cyb.@gmx.net wrote:
  
  I never get the argument about 'bloatware' when it comes to Opera.
 
 Only for newer versions. I found the older versions a bit easier
 to configure, especially the Options dialog was better organized.
 But as I mentioned bloat (NB the quotes), it's just that there's
 much more functionality in Opera, making it run slower (on the same
 system), but finally, it runs *much* faster than Firefox, I think.

I don't find that it runs much faster than Firefox.  In fact, in recent
versions, it runs slower sometimes -- though still marginally faster more
often than not.


 
  And there are a lot of features in Opera, for which you will need to
  download extra extensions in Firefox.
 
 Exactly. I know, for example, that there are mouse gestures in Firefox,
 too. But they are not built-in. My main argument for Opera is the
 excellent combination of mouse and KEYBOARD support. I'm using the
 english version because the shortcuts and keystrokes are more
 intuitive than in the german version.

I have the opposite experience: Opera lacks keyboard shortcuts for a lot
of what I do in Firefox.  A nice touch shared by Firefox and Chrome, but
not by anything else I've used (including Opera, IE, Midori, et cetera)
is the set of keyboard shortcuts for URL construction.  For instance, if
you enter:

freebsd

. . . then press Ctrl+Enter, it automatically navigates to:

www.freebsd.com

. . . or press Shitf+Enter, it automatically navigates to:

www.freebsd.net

. . . or press Ctrl+Shift+Enter, it automatically navigates to:

www.freebsd.org


 
 Firefox even seems to lack a key to quit the program. :-)

That's easy.  Just press Ctrl+Q and it'll close Firefox immediately.


 
  Anyway, in the end everyone should use what he likes best. :)
 
 Of course. :-)

. . . just as soon as it gets ported to FreeBSD.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth markinct @techrepublic.com: Don't take anything you do on-line
lightly.  Caveat Clicker...


pgphjZ7rF0RRv.pgp
Description: PGP signature


Re: Looking for fast graphical web browser

2009-07-31 Thread Chad Perrin
On Fri, Jul 31, 2009 at 10:10:49AM -0400, Daniel Underwood wrote:
 
 Perfect, yes! Midori is precisely what I need!  Many thanks.

I use Midori as a backup browser sometimes, but be aware that it's pretty
buggy, and interface design could use a little help.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth H. L. Mencken: Democracy is the theory that the common people
know what they want and deserve to get it good and hard.


pgpjHLIi9WF0w.pgp
Description: PGP signature


Re: Looking for fast graphical web browser

2009-07-31 Thread Polytropon
On Fri, 31 Jul 2009 14:56:36 -0600, Chad Perrin per...@apotheon.com wrote:
 On Fri, Jul 31, 2009 at 10:15:32PM +0200, Polytropon wrote:
  Firefox even seems to lack a key to quit the program. :-)
 
 That's easy.  Just press Ctrl+Q and it'll close Firefox immediately.

Negative for firefox-2.0.0.12,1 (on my desktop system) - no Ctrl+Q. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


AP#1 on Phy#1 : The reason on my system

2009-07-31 Thread Manish Jain


Hi,

A long time back, I had reported getting AP#1 on Phy#1 error 
messages and boot failure on my amd64 system. After many tests, I am 
convinced the problem occurs only if a USB mouse is plugged in at 
boot-time.


A few days back, I finally got a USB-to-PS2 converter and hooked my 
mouse into a PS2 port, with USB mouse support disabled in the BIOS. 
I've never had this problem since then. So it's pretty certain that 
the USB mouse was the source of the boot-failures.


Since Windows never had any boot problems with the USB mouse, I 
think this might be an issue for the FreeBSD kernel developers.


If this helps anyone or clears any doubts, I can only be glad.

(NB : I also have a report from a friend of mine using amd64 with 
debian-5.02 that debian has pretty much the same problem. He has 
taken my advice and is now hooking the mouse into the PS/2 port with 
good results).



Thank you
--
Regards
Manish Jain
invalid.poin...@gmail.com
+91-96500-10329

Laast year I kudn't spell Software Engineer. Now I are won.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to boot or access problem file system

2009-07-31 Thread Gardner Bell


Gardner Bell


--- On Fri, 7/31/09, PJ af.gour...@videotron.ca wrote:

 From: PJ af.gour...@videotron.ca
 Subject: Re: how to boot or access problem file system
 To: Roland Smith rsm...@xs4all.nl
 Cc: freebsd-questions@freebsd.org
 Received: Friday, July 31, 2009, 8:44 PM
 PJ wrote:
  Roland Smith wrote:
  On Fri, Jul 31, 2009 at 03:42:43PM -0400, PJ
 wrote:
 
  Basically, the news is not good.
  The directories  files are not what I had
 to begin with.
  ls /dev/ad0s1 or any disk/slice merely gets:
 Permission denied.
 
  Now that is certainly weird. :-) I've never come
 across something
  like that.
  What do 'mount' and 'ls -ld /dev' return? Maybe
 /dev is mounted with
  incorrect permissions. You are logged in as root,
 I presume?
 Now, how could I be logged in? from livefs?
 On bootup, I see ar0 boot error or something like that...
 ls /dev ... shows ad0, ad10, ad12, ad4 and ar0
 ad0 only has ad0s1 (I assume this to be ntfs
 ad10 also has s1, s1a, s1b, c, d, e, e, suffixes
 ad4 has s1, s1a, s1b, no c, but d, e, f suffixes
 The stench from Denmark is getting to me... ;-)

Insulting much with your remark about Denmark?

 ___
 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: Looking for fast graphical web browser

2009-07-31 Thread Chad Perrin
On Fri, Jul 31, 2009 at 11:10:07PM +0200, Polytropon wrote:
 On Fri, 31 Jul 2009 14:56:36 -0600, Chad Perrin per...@apotheon.com wrote:
  
  That's easy.  Just press Ctrl+Q and it'll close Firefox immediately.
 
 Negative for firefox-2.0.0.12,1 (on my desktop system) - no Ctrl+Q. :-)

I don't remember that capability lacking in Firefox 2, but it has been a
little while since I've used it, so I don't really know for sure.

You should be able to close it at least by pressing Ctrl+W once per
open tab.  That's a keyboard shortcut that closes the current tab, and if
you do that when there's only one tab open, that should close the browser
(but only if you have it configured to close the browser when closing the
last tab).  I think the relevant configuration option in the about:config
window is:

browser.tabs.closeWindowWithLastTab

I'm pretty sure I was able to close Firefox with a keyboard shortcut back
when I used Firefox 2, but I don't remember how.  I guess you're on your
own, unless someone else here uses Firefox 2 and can help you out.

Does Alt+F4 work for you?  That's probably dependent on your choice
of window manager.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Paul Graham: Real ugliness is not harsh-looking syntax, but
having to build programs out of the wrong concepts.


pgpjWbnSvuY5P.pgp
Description: PGP signature