Re: Large Volumes - 2.2TB missing... expecting 3.4TB!

2007-08-06 Thread [EMAIL PROTECTED]
On 06/08/07, Hartleigh Burton [EMAIL PROTECTED] wrote:
 OK, in the FDISK Partition Editor da1 reads as 3576219MB. So that
 looks to be ok and around what I am expecting.

 In the Disklabel Editor da1s1 has 0MB free, and da1s1d is the only
 da1s1 label with a size of 1444GB.


The output of
% bsdlabel da1s1
might be very enlightening here.

As an aside, you might spend some time learning the
command line utilities.
% man 8 fdisk
% man 8 bsdlabel

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


Re: USB mouse issues.

2007-08-06 Thread [EMAIL PROTECTED]
On 05/08/07, Rolf G Nielsen [EMAIL PROTECTED] wrote:
 Hi,

 My new USB mouse (a Logitech G5) works fine both in the console (with
 moused) and under X (both with moused and directly)... For the most part...
 However, once in a while it just dies (the lights indicating the DPI
 setting on top and the lights underneath it goes off and it stops
 responding).
 Since, according to the ehci man page, the USB 2.0 driver is quite
 buggy, I tried disabling it, but the problem didn't go away.
 I've also tried connecting the mouse to different USB connectors without
 luck.

 Every time it happens I get two lines in the /var/log/messages file:


In my case an old microsoft balless usb mouse did
just the same thing.  Would work for 15 seconds to
4 or 5 days and then not work*.  Replugging would
usually make it come back.  Throwing it away worked
best.  Never had any other usb problems on that
machine.


*Never gave any error messages either, just went dark.

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


Re: dump -L

2007-08-06 Thread [EMAIL PROTECTED]
On 05/08/07, Victor Sudakov [EMAIL PROTECTED] wrote:
 Victor Sudakov wrote:
 
  I always use dump -L to dump a live filesystem.
  However, when I restore the dump, I sometimes get messages like
  foo.txt (inode 12345) not found on tape or
  expected next file 12345, got 23456
 
  I thought this should _never_ happen when dumping a snapshot.
 
  What is it?

 Does nobody know the answer, or am I the only one experiencing the
 problem?

I don't know the answer, but I get essentially the
same behaviour.  I have never seen any data loss,
though.  I just tended to assume it was either harmless
or the world was going to end, neither of which cases
I could seem to rule out definitively.

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


Re: Large Volumes - 2.2TB missing... expecting 3.4TB!

2007-08-06 Thread Hartleigh Burton

Thanks for the tip.

# /dev/da1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 30291304010unused0 0 # raw  
part, don't edit

  d: 302913040104.2BSD 2048 16384 28528

Unfortunately for me, I do not really know what I am looking at here.




Regards,
Hartleigh Burton


On 06/08/2007, at 4:07 PM, [EMAIL PROTECTED] wrote:


On 06/08/07, Hartleigh Burton [EMAIL PROTECTED] wrote:

OK, in the FDISK Partition Editor da1 reads as 3576219MB. So that
looks to be ok and around what I am expecting.

In the Disklabel Editor da1s1 has 0MB free, and da1s1d is the only
da1s1 label with a size of 1444GB.



The output of
% bsdlabel da1s1
might be very enlightening here.

As an aside, you might spend some time learning the
command line utilities.
% man 8 fdisk
% man 8 bsdlabel

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


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


Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Kris Kennaway
On Mon, Aug 06, 2007 at 02:01:51AM -0400, Tuc at T-B-O-H.NET wrote:
  
  On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote:

On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote:
 Hi,
 
   I've noticed that recent version(s?) of portupgrade seem to 
 update
 the +CONTENTS of *EVERY* package on my system, not just the ones it 
 used to
 actually make a difference to. Is there a way to revert to the old 
 behaviour?
 With 915 ports (WAS only around 600 before the recent Xorg upgrade) 
 its a
 killer. On my Soekris with a CF drive, and only 57 ports, its still 
 killing
 that CF chip.

Please show us how you came to this conclusion.

Kris
   
 script output from a recent update :
   
   ---  Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:00 
   -0400
   ---  Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats)
   OK? [yes] 
   ---  Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 
   -0400
   ---  Building '/usr/ports/sysutils/bsdstats'
   ===  Cleaning for bsdstats-5.3_4
   ===  Vulnerability check disabled, database not found
   ===  Extracting for bsdstats-5.3_4
   ===  Patching for bsdstats-5.3_4
   ===  Configuring for bsdstats-5.3_4
   ---  Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 
   -0400 (cons
   umed 00:00:00)
   ---  Updating dependency info
   ---  Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS
  
  Is it actually writing to these files, or just examining them to see
  whether they need to be updated?
  
  Kris
  
   I was truthfully only going by what I believed it was saying, that
 it was really modifying them.
 
   I upgraded fetchyahoo tonite after I emailed this, and if I do an
 ls -lt in /var/db/pkg I see :
 
 -rw-r--r--  1 root  wheel  15891456 Aug  6 00:59 pkgdb.db
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 fetchyahoo-2.10.9
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Compress-Zlib-2.005
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Crypt-SSLeay-0.56
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-Compress-Zlib-2.005
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-libwww-5.805
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 openssl-0.9.8e_1
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Authen-SASL-2.10_1
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-MD5-2.36
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-MIME-Tools-5.420_1,2
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Net-1.21,1
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Compress-Raw-Zlib-2.005
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-HMAC-1.01
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-GSSAPI-0.24
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-HTML-Parser-3.56
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-HTML-Tagset-3.10
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-Compress-Base-2.005
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Convert-BinHex-1.119
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-1.15
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-stringy-2.110
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-MIME-Base64-3.07
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Mail-Tools-1.74
 
   (etc)
 
 
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 bsdstats-5.3_4
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 Hermes-1.3.3_2
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ImageMagick-6.3.3.5_1
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ORBit-0.5.17_3
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ORBit2-2.14.8
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 OpenEXR-1.4.0
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 OpenSP-1.5.2
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 Xaw3d-1.5E_2
 drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 aalib-1.4.r5_3
 
   I thought the timestamp of a directory only changes if a
 file was added or modified in the directory. 
 
   If I do the ls -lt */\+CONTENTS, I see :
 
 -rw-r--r--  1 root  wheel2386 Aug  6 00:59 fetchyahoo-2.10.9/+CONTENTS
 -rw-r--r--  1 root  wheel1113 Aug  6 00:59 xset-1.0.2/+CONTENTS
 -rw-r--r--  1 root  wheel 976 Aug  6 00:59 xsetmode-1.0.0/+CONTENTS
 -rw-r--r--  1 root  wheel1003 Aug  6 00:59 xsetpointer-1.0.0/+CONTENTS
 -rw-r--r--  1 root  wheel1204 Aug  6 00:59 xsetroot-1.0.1/+CONTENTS
 -rw-r--r--  1 root  wheel1597 Aug  6 00:59 xsm-1.0.1/+CONTENTS
 -rw-r--r--  1 root  wheel1149 Aug  6 00:59 xstdcmap-1.0.1/+CONTENTS
 -rw-r--r--  1 root  wheel5124 Aug  6 00:59 xterm-228/+CONTENTS
 -rw-r--r--  1 root  wheel1157 Aug  6 00:59 xtrans-1.0.3/+CONTENTS
 -rw-r--r--  1 root  wheel3097 Aug  6 00:59 xtrap-1.0.2/+CONTENTS
 -rw-r--r--  1 root  wheel6643 Aug  6 00:59 xv-3.10a_7/+CONTENTS
 -rw-r--r--  1 root  wheel4629 Aug  6 00:59 

Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Tuc at T-B-O-H.NET
 
 On Mon, Aug 06, 2007 at 02:01:51AM -0400, Tuc at T-B-O-H.NET wrote:
   
   On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote:
 
 On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote:
  Hi,
  
  I've noticed that recent version(s?) of portupgrade seem to 
  update
  the +CONTENTS of *EVERY* package on my system, not just the ones it 
  used to
  actually make a difference to. Is there a way to revert to the old 
  behaviour?
  With 915 ports (WAS only around 600 before the recent Xorg upgrade) 
  its a
  killer. On my Soekris with a CF drive, and only 57 ports, its still 
  killing
  that CF chip.
 
 Please show us how you came to this conclusion.
 
 Kris

script output from a recent update :

---  Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 
10:52:00 -0400
---  Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats)
OK? [yes] 
---  Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 
-0400
---  Building '/usr/ports/sysutils/bsdstats'
===  Cleaning for bsdstats-5.3_4
===  Vulnerability check disabled, database not found
===  Extracting for bsdstats-5.3_4
===  Patching for bsdstats-5.3_4
===  Configuring for bsdstats-5.3_4
---  Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 
-0400 (cons
umed 00:00:00)
---  Updating dependency info
---  Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS
   
   Is it actually writing to these files, or just examining them to see
   whether they need to be updated?
   
   Kris
   
  I was truthfully only going by what I believed it was saying, that
  it was really modifying them.
  
  I upgraded fetchyahoo tonite after I emailed this, and if I do an
  ls -lt in /var/db/pkg I see :
  
  -rw-r--r--  1 root  wheel  15891456 Aug  6 00:59 pkgdb.db
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 fetchyahoo-2.10.9
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Compress-Zlib-2.005
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Crypt-SSLeay-0.56
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-Compress-Zlib-2.005
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-libwww-5.805
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 openssl-0.9.8e_1
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Authen-SASL-2.10_1
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-MD5-2.36
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-MIME-Tools-5.420_1,2
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Net-1.21,1
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Compress-Raw-Zlib-2.005
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-HMAC-1.01
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-GSSAPI-0.24
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-HTML-Parser-3.56
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-HTML-Tagset-3.10
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-Compress-Base-2.005
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Convert-BinHex-1.119
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Digest-1.15
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-IO-stringy-2.110
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-MIME-Base64-3.07
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:59 p5-Mail-Tools-1.74
  
  (etc)
  
  
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 bsdstats-5.3_4
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 Hermes-1.3.3_2
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ImageMagick-6.3.3.5_1
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ORBit-0.5.17_3
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 ORBit2-2.14.8
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 OpenEXR-1.4.0
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 OpenSP-1.5.2
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 Xaw3d-1.5E_2
  drwxr-xr-x  2 root  wheel   512 Aug  6 00:58 aalib-1.4.r5_3
  
  I thought the timestamp of a directory only changes if a
  file was added or modified in the directory. 
  
  If I do the ls -lt */\+CONTENTS, I see :
  
  -rw-r--r--  1 root  wheel2386 Aug  6 00:59 fetchyahoo-2.10.9/+CONTENTS
  -rw-r--r--  1 root  wheel1113 Aug  6 00:59 xset-1.0.2/+CONTENTS
  -rw-r--r--  1 root  wheel 976 Aug  6 00:59 xsetmode-1.0.0/+CONTENTS
  -rw-r--r--  1 root  wheel1003 Aug  6 00:59 xsetpointer-1.0.0/+CONTENTS
  -rw-r--r--  1 root  wheel1204 Aug  6 00:59 xsetroot-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel1597 Aug  6 00:59 xsm-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel1149 Aug  6 00:59 xstdcmap-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel5124 Aug  6 00:59 xterm-228/+CONTENTS
  -rw-r--r--  1 root  wheel1157 Aug  6 00:59 xtrans-1.0.3/+CONTENTS
  -rw-r--r--  1 root  wheel3097 Aug  6 00:59 xtrap-1.0.2/+CONTENTS
  -rw-r--r--  1 

Re: Large Volumes - 2.2TB missing... expecting 3.4TB!

2007-08-06 Thread [EMAIL PROTECTED]
On 06/08/07, Hartleigh Burton [EMAIL PROTECTED] wrote:

 Thanks for the tip.

 # /dev/da1s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 30291304010unused0 0 # raw part,
 don't edit
   d: 302913040104.2BSD 2048 16384 28528

 Unfortunately for me, I do not really know what I am looking at here.


I just noticed from man 8 bsdlabel:

COMPATIBILITY
 Due to the use of an u_int32_t to store the number of sectors, BSD labels
 are restricted to a maximum of 2^32-1 sectors.  This usually means 2TB of
 disk space.  Larger disks should be partitioned using another method such
 as gpt(8).

I suspect this applies to amd64.  man 8 fdisk makes no
mention of data size problems, but I would suspect it as
well.

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


Re: boot problem after custom kernel

2007-08-06 Thread Alain G. Fabry
On Mon, Aug 06, 2007 at 03:29:14PM +1000, Paul Fraser wrote:
 Alain G. Fabry wrote:
 First 'unload kernel' followed by 'boot /boot/kernel.GENERIC/kernel', but 
 it mentions
 that it cannot find the kernel.
 
 
 snip
 
 What can I do to boot my GENERIC kernel so I can rebuild from it and my 
 system will boot
 normal again.
 
 Hi Alain,
 
 Try replacing 'kernel.GENERIC' with 'kernel.old' in your example. If you 
 don't remember actually making a copy of your kernel and naming it 
 kernel.GENERIC, you'll be more likely to succeed with kernel.old.
 
 -- 
 Regards,
 
 Paul Fraser // Independent Technical Consultant // Ph: +61 405 341 905 
 // furyc0de.net
 
 This correspondence and any related attachments are confidential. 
 Distribution, reproduction, or release (public domain or otherwise) 
 without the author's prior written consent is STRICTLY FORBIDDEN. 
 Failure to distribute any of the aforementioned without this footer 
 (intact and unmodified) is also STRICTLY FORBIDDEN. Failure to abide by 
 these terms and conditions can result in legal action.
 
 If you have received this correspondence in error, or believe any of 
 these terms have been breached, you are requested to contact the author 
 immediately and take steps to destroy all copies in your possession.
 


Thanks, it works.
Somehow I though since the old seems to be in italics that you needed to change 
it
with the old kernel name (which in my case was GENERIC)
Back up and running.

Alain





 PGP KeyID: 0x64E635B1
 Keyserver: pgp.mit.edu:11371
 Key fingerprint: CDA3 0797 68B9 0EC1 D4D3 A7B9 D7D7 4924 64E6 35B1
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dump -L

2007-08-06 Thread Victor Sudakov
[EMAIL PROTECTED] wrote:
  
   I always use dump -L to dump a live filesystem.
   However, when I restore the dump, I sometimes get messages like
   foo.txt (inode 12345) not found on tape or
   expected next file 12345, got 23456
  
   I thought this should _never_ happen when dumping a snapshot.
  
   What is it?
 
  Does nobody know the answer, or am I the only one experiencing the
  problem?
 
 I don't know the answer, but I get essentially the
 same behaviour.  I have never seen any data loss,

I gave an example below. The file wins.dat was not dumped. It is
indeed missing from the tape.

If this is not a data loss, what is it then?

[EMAIL PROTECTED] ~] restore -b64 -rN
./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
expected next file 267, got 4
expected next file 2828988, got 2828987


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setfacl(1) - Can FreeBSD's ACLs contain groups from NT/AD domains ?

2007-08-06 Thread Wilkinson, Alex
Hi all,

I have FreeBSD 7.0-CURRENT #1: Wed Jul 25 authenticating successfully against
active directory via samba's winbindd(8). I need to manage samba shares via
FreeBSD ACLs and CIFS ACLs. From my reading of setfacl(1) I should be able to
set group permissions using the syntax of DOMAIN\group-name. For example:

   #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test

However, when I do this on FreeBSD -CURRENT I get the following error:

   #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test
setfacl: g:MYDOMAIN\mygroupname: Invalid argument

From a quick Google it looks like Linux ACLs can do the aforementioned
[http://www.techtutorials.net/blogs/index.php?mode=viewuseruser_id=7].

Does anyone know ?

 -aW

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.


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


USB Phone Charging

2007-08-06 Thread Graham Bentley

Hi All,

Still not got to the bottom of this one ;

My Blackberry mobile phone refuses to charge from USB
when logged into FreeBSD.

dmesg -a shows;

ugen1: Research In Motion Blackberry Device etc

usbdevs -v shows ;

Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x)
rev 1.00
port1 powered
port2 addr 2: full speed, power 100ma, config 1, blackberry Device(0x)
Research In Motion(0x0fca), rev 1.04

Perhaps 100ma isnt enough for charging ?

Any ideas ?

Thanks !

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


RE: setfacl(1) - Can FreeBSD's ACLs contain groups from NT/AD domains ?

2007-08-06 Thread Johan Hendriks


Hi all,

I have FreeBSD 7.0-CURRENT #1: Wed Jul 25 authenticating successfully against
active directory via samba's winbindd(8). I need to manage samba shares via
FreeBSD ACLs and CIFS ACLs. From my reading of setfacl(1) I should be able to
set group permissions using the syntax of DOMAIN\group-name. For example:

   #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test

However, when I do this on FreeBSD -CURRENT I get the following error:

  #setfacl -d -m g:MYDOMAIN\mygroupname:rwx test
setfacl: g:MYDOMAIN\mygroupname: Invalid argument

From a quick Google it looks like Linux ACLs can do the aforementioned
[http://www.techtutorials.net/blogs/index.php?mode=viewuseruser_id=7].

Does anyone know ?


As far as i know and the way i do it is leaving the Domain part out just the 
group name.
Wbinfo -g shows the groups if all is ok.

Regards,
Johan


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.6/938 - Release Date: 5-8-2007 16:16
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Karol Kwiatkowski
Tuc at T-B-O-H.NET wrote:
   Ok. But I part of my question to people , and reason for posting it
 here, is the old Is anyone else seeing this. When/if you use portupgrade, 
 does
 it do the same for you? Or is it just something that I happened some how to 
 inherit
 on atleast 2 of my machines?

2 machines (7.0-CURRENT and 6.2-RELEASE, i386), same behaviour:

$ cd /var/db/pkg
$ ls -l */\+CONTENTS | wc -l
 556
$ ls -lt */\+CONTENTS
-rw-r--r--  1 root  wheel   15736 Aug  6 10:38 mplayer-0.99.10_13/+CONTENTS
-rw-r--r--  1 root  wheel 571 Aug  6 10:38 xf86dgaproto-2.0.2/+CONTENTS
-rw-r--r--  1 root  wheel 544 Aug  6 10:38 xf86driproto-2.0.3/+CONTENTS
[...]
-rw-r--r--  1 root  wheel1232 Aug  6 10:37 adns-1.4/+CONTENTS
-rw-r--r--  1 root  wheel   61306 Aug  6 10:37 
apache+mod_ssl-1.3.37+2.8.28/+CONTENTS
-rw-r--r--  1 root  wheel1154 Aug  6 10:37 apg-2.3.0b_1/+CONTENTS

$ pkg_info -Ix portupgrade
portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s
$ portupgrade
portupgrade 2.3.0 (2007/07/03)

HTH,

Karol

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: dump -L

2007-08-06 Thread cpghost
On Mon, Aug 06, 2007 at 02:18:57PM +0700, Victor Sudakov wrote:
I always use dump -L to dump a live filesystem.
However, when I restore the dump, I sometimes get messages like
foo.txt (inode 12345) not found on tape or
expected next file 12345, got 23456
   
I thought this should _never_ happen when dumping a snapshot.
   
What is it?
  
   Does nobody know the answer, or am I the only one experiencing the
   problem?
  
  I don't know the answer, but I get essentially the
  same behaviour.  I have never seen any data loss,
 
 I gave an example below. The file wins.dat was not dumped. It is
 indeed missing from the tape.
 
 If this is not a data loss, what is it then?
 
 [EMAIL PROTECTED] ~] restore -b64 -rN
 ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
 expected next file 267, got 4
 expected next file 2828988, got 2828987

Uh-oh :-(. I have no idea how the code works, but just a wild guess:
what happens when a file is being created and a snapshot taken at the
same time? Isn't there a tiny window between inode creation and
directory update? Or is file creation an atomic operation w.r.t.
snapshots and dump?

 Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
 sip:[EMAIL PROTECTED]

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Gerard
On August 06, 2007 at 02:55AM Tuc at T-B-O-H.NET wrote:


[snip}

   Ok. But I part of my question to people , and reason for posting it
 here, is the old Is anyone else seeing this. When/if you use portupgrade, 
 does
 it do the same for you? Or is it just something that I happened some how to 
 inherit
 on atleast 2 of my machines?

I have noticed the same behavior. I have some 815 ports installed;
however, I had not noticed any significant deterioration in
performance.


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


Re: portsdb and cvsup

2007-08-06 Thread Arend P. van der Veen
Thanks for your story. The only reason we used -U was that we were not 
sure what they meant got special macros.  The man page for portsdb 
status that you only use -U if you have special macros in 
/etc/make.conf.  All we have in there is version information so I think 
that does not apply to use.


Thanks again,
Arend



Rakhesh Sasidharan wrote:


On Sun, 5 Aug 2007, Arend P. van der Veen wrote:


The approach that I had been using was:

/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Uu

This had worked great until the emacs22 update.  Now portsdb crashes 
due to the emacs entry in /etc/make.conf.  However, I see very little 
chatter on the lists about this.  I have started to wonder if the bulk 
of the community may be updating their ports differently.  Upon some 
limited research I found that I could use:


/usr/local/bin/cvsup  -L 0 /usr/sup/supfile
/usr/local/sbin/portsdb -Fu

This work fine for me.  I can then use tools such as pkg_version, 
pkg_delete, portinstall and portupgrade without any problems.


My open ended question is what does the rest of the community do to 
update their ports collection?




I don't run portsdb at all. :)

What I figured from the portsdb manpages is that if you don't run it 
manually then it gets run upon using one of the portupgrade tools. I 
don't mind the 30s or so delay that causes and so I don't run portsdb 
manually.


During my first few days with FreeBSD, however, I used to run ''portsdb 
-Fu''. My understanding is that that would fetch the INDEX-6 and update 
INDEX-6.db (since I am on FreeBSD 6.x) but I don't see why I should do 
this coz the INDEX files are updated when I update the ports tree 
anyways! (If I have understood this incorrectly, someone please correct 
me).


I tried ''portsdb -Uu'' just once. To see what it does. Took a long time 
and so I never tried it again. From the manpage I understand that it 
creates/ updates the INDEX files by running the ''make index'' command, 
but the reasoning behind that didn't make sense to me ...


So that's my story.

Regards,
Rakhesh


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


Re: Waiting for BIND security announcement

2007-08-06 Thread Rakhesh Sasidharan


On Wed, 1 Aug 2007, Josh Carroll wrote:


You need wait no longer...the security advisory just went out with a patch:

http://security.freebsd.org/advisories/FreeBSD-SA-07:07.bind.asc


I'm on FreeBSD 6.2-RELEASE-p4. If I do a freebsd-update shouldn't I get 
this? Or will there be a delay coz binary patches have to be prepared for 
freebsd-update?


# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 6.2-RELEASE-p7.

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


FreeBSD Qemu host with 5-8 virtual machines for Linux

2007-08-06 Thread Matthias Apitz

Hello, 
 
I'm using Qemu (0.8.2) and kqemu (1.3.0.p11) in my FreeBSD 6.2-REL
laptop, but only from time to time, mostly to edit some Winword
docs when the addressed people don't like OpenOffice stuff. 

We are a software company and need to test our applications in
Linux environment. Actually this is done on some Linux host with
6 GByte RAM and VMWare Workstation 4.5.2. It seems that there is
some limitation not allowing more RAM for the guest systems as
real RAM in the host, i.e. 6 GByte as max. I'm thinking in reinstalling
this server with FreeBSD and using Qemu for the VM's. The idea is to
have at least 5-8 VM's running at the same time, each with
1-2 GByte (virt.) RAM. Any comments on this? 
 
  Thx 
   
Matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Installation Suggestion

2007-08-06 Thread Christopher Key

Hello,

I'm about to install FreeBSD for the first time on a new machine and 
have a few questions:


1) The motherboard is an Intel DQ964GF, which uses the ICH8 chipset.  Is 
it better to use this in IDE or AHCI mode?  (The system will be booting 
from a S-ATA disk)


2) Are there any good documents discussing the relative merits of using 
i386 / amd64?


3) Does anyone have any good suggestions on how to perform the 
installation.  The machine has no floppy or CD-ROM drive, and it's not 
really convenient to temporarily add them as I may well end up going 
through the install procedure several times.  The options seem to be 
either a USB flash drive (any thoughts on how to get a UFS file system 
and FreeBSD MBR on there using only WinXP), or via the network.


Any advice much appreciated,

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


Re: Installing from USB Flash Drive

2007-08-06 Thread Reid Linnemann

Written by fbsd2 on 08/04/07 07:42
I was really taken with the idea for using a USB flash stick disk drive to install FreeBSD from. I used the script from the mentioned URL below as the starting point. After some changes to the script I got it to work. I was able to boot off the USB flash stick disk drive, But then was faced with a show stopper. During the sysinstall process after it asks for hard drive fdisk and bsdlable info it asks you for where to get the install files from (IE: cdrom, remote ftp, floppy, dos partition, ECT) there is no option to tell the sysinstall program to use USB-dd as source location. 


So in summary, this idea is un-usable until the sysinstall program gets updated 
to include an option to use USB-dd as an install source.  This brings to light 
another problem. That is using floppies to install FreeBSD from. PC 
manufactures are no longer building systems with floppies drives included. 
Combining the FreeBSD floppy images to a single USB-dd image would be away to 
continue to offer this method of installing FreeBSD.

Included below is my working script to populate a 1GB USB flash stick disk with 
the FreeBSD cd1 iso file.


#!/bin/sh
#Purpose = Use to transfer the FreeBSD install cd1 to 
#  a bootable 1GB USB flash drive so it can be used to install from. 
#  First fetch the FreeBSD 6.2-RELEASE-i386-disc1.iso to your

#  hard drive /usr. Then execute this script from the command line
# fbsd2usb /usr/6.2-RELEASE-i386-disc1.iso /usr/6.2-RELEASE-i386-disc1.img
# Change system bios to boot from USB-dd and away you go. 


# NOTE: This script has to be run from root and your 1GB USB flash drive
#   has to be plugged in before running this script. 


# On the command line enter fbsd2usb iso-path img-path

# You can set some variables here. Edit them to fit your needs.

# Set serial variable to 0 if you don't want serial console at all,
# 1 if you want comconsole and 2 if you want comconsole and vidconsole
serial=0

set -u

if [ $# -lt 2 ]; then
echo Usage: $0 source-iso-path output-img-path
exit 1
fi

isoimage=$1; shift
imgoutfile=$1; shift

# Temp  directory to be used later
#export tmpdir=$(mktemp -d -t fbsdmount)
export tmpdir=$(mktemp -d /usr/fbsdmount)

export isodev=$(mdconfig -a -t vnode -f ${isoimage})

ISOSIZE=$(du -k ${isoimage} | awk '{print $1}')
SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4))
#SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2))


echo  
echo ### Initializing image File started ###
echo ### This will take about 4 minutes ###
date
dd if=/dev/zero of=${imgoutfile} count=${SECTS}
echo ### Initializing image File completed ###
date

echo  
ls -l ${imgoutfile}
export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile})

bsdlabel -w -B ${imgdev}
newfs -O1 /dev/${imgdev}a

mkdir -p ${tmpdir}/iso ${tmpdir}/img

mount -t cd9660 /dev/${isodev} ${tmpdir}/iso
mount /dev/${imgdev}a ${tmpdir}/img

echo  
echo ### Started Copying files to the image now ###
echo ### This will take about 15 minutes ###
date

( cd ${tmpdir}/iso  find . -print -depth | cpio -dump ${tmpdir}/img )

echo ### Completed Copying files to the image ###
date


if [ ${serial} -eq 2 ]; then
echo -D  ${tmpdir}/img/boot.config
echo 'console=comconsole, vidconsole'  
${tmpdir}/img/boot/loader.conf
elif [ ${serial} -eq 1 ]; then
echo -h  ${tmpdir}/img/boot.config
echo 'console=comconsole'  ${tmpdir}/img/boot/loader.conf
fi

echo  
echo ### Started writing image to flash drive now ###
echo ### This will take about 30 minutes ###
date
dd if=${imgoutfile} of=/dev/da0 bs=1m
echo ### Completed writing image to flash drive at ###
date

cleanup() {
umount ${tmpdir}/iso
mdconfig -d -u ${isodev}
umount ${tmpdir}/img
mdconfig -d -u ${imgdev}
rm -rf ${tmpdir} 
}


cleanup

ls -lh ${imgoutfile}

echo ### Script finished ###



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ross Penner
Sent: Wednesday, August 01, 2007 2:34 PM
To: User questions
Subject: Installing from USB Flash Drive

Hi everybody,

I'm trying to install a system on a machine that doesn't have an optical 
drive. I plan on using a USB flash drive to do the job and found a 
messages from [EMAIL PROTECTED] 
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg55434.html) 
about just such a thing. The script provided converts the CD image into 
one suitable for a flashmemory stick. I used  and coverted it without 
issue. The instructions say to use dd to prepare the flash drive so 
executed

#dd if=flashbsd.iso of=/dev/da0
I'm not entirely confident that that was the correct procedure, as I'm 
quite unfamilar with dd. Unfortunetly, I can't seem to get the drive to 
boot. I can mount the filesystem so it seems that prepareing the drive was 
succesful. I'm using a via chipset and yes, the bios is set to boot from 
USB-FDD. I used the 6.2 boot only image.


Thanks for any insight you can provide me.

Ross

--
sig ho!


Please don't top-post.

You are correct, 

Re: can not start phpmyadmin after upgrade to 2.10.3

2007-08-06 Thread Rakhesh Sasidharan



Today when after upgrade phpmyadmin through portupgrade from 2.10.2 to
2.10.3
when I browse to phpmyadmin page, it said:


 phpMyAdmin - Error

Cannot start session without errors, please check errors given in your
PHP and/or webserver log file and configure your PHP installation 
properly.


snip

[Sat Aug 04 17:13:50 2007] [notice] caught SIGTERM, shutting down
[Sat Aug 04 17:15:37 2007] [warn] Init: Session Cache is not configured 
[hint: SSLSessionCache]


Are you accessing using phpMyAdmin over an HTTPS link? The above line in 
the log file seems to indicate some problem with the HTTPS configuration. 
(Possibly not, I'm just asking to eliminate that).


I would also suggest turning ON some logging in your php.ini file. That 
way we could get more info on what's causing the error. (That's what I'd 
do if I had an error message like this).


Hope that helps.

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


Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Nikola Lecic
On Mon, 6 Aug 2007 02:55:34 -0400 (EDT)
Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote:

[...]
   Ok. But I part of my question to people , and reason for
 posting it here, is the old Is anyone else seeing this. When/if you
 use portupgrade, does it do the same for you? Or is it just something
 that I happened some how to inherit on atleast 2 of my machines?

Interestingly, I see this behaviour only _partially_ with

  %ls -d /var/db/pkg/portupgrade*
  /var/db/pkg/portupgrade-devel-2.3.1

I've just upgraded the following ports (extract from build script):

  ===   Registering installation for sudo-1.6.9.3_1
  ===   Registering installation for jasper-1.900.1_6
  ===   Registering installation for intltool-0.36.0
  ===   Registering installation for cups-base-1.2.11_3
  ===   Registering installation for libglade2-2.6.2
  ===   Registering installation for ffmpeg-2007.07.12_1
  ===   Registering installation for libgnomeprint-2.18.0_3
  ===   Registering installation for py25-tkinter-2.5.1_2
  ===   Registering installation for xpdf-3.02_2
  ===   Registering installation for gstreamer-0.10.14
  ===   Registering installation for gstreamer-plugins-0.10.14,3

However:

  %ls -lt /var/db/pkg/*/*CONTENTS
  -rw-r--r--  1 root  wheel   50114 Aug  6 11:28 
/var/db/pkg/wxgtk2-common-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel9772 Aug  6 11:28 
/var/db/pkg/wxgtk2-unicode-2.8.4/+CONTENTS
  -rw-r--r--  1 root  wheel   35998 Aug  6 11:27 
/var/db/pkg/aMule-2.1.3_4/+CONTENTS
  -rw-r--r--  1 root  wheel   20786 Aug  6 11:26 
/var/db/pkg/gstreamer-plugins-0.10.14,3/+CONTENTS
  -rw-r--r--  1 root  wheel 992 Aug  6 11:13 
/var/db/pkg/xwud-1.0.1/+CONTENTS
  -rw-r--r--  1 root  wheel   21020 Aug  6 11:13 
/var/db/pkg/yelp-2.18.1_1/+CONTENTS
  -rw-r--r--  1 root  wheel   28133 Aug  6 11:13 
/var/db/pkg/zenity-2.18.2/+CONTENTS
  -rw-r--r--  1 root  wheel 441 Aug  6 11:13 /var/db/pkg/zip-2.32/+CONTENTS
  -rw-r--r--  1 root  wheel 440 Aug  6 11:13 
/var/db/pkg/zoo-2.10.1_2/+CONTENTS
  -rw-r--r--  1 root  wheel1765 Aug  6 11:13 /var/db/pkg/xsm-1.0.1/+CONTENTS
  [...]
  [all other +CONTENTS files are in 11:13 and 11:12]

This means that upgrading of gstreamer-plugins affected only ports
depending on it (aMule and wxgtk2*). But this is obviously not the case
with some other ports.

However[2]:

  %ls -lt /var/db/pkg | head
  total 23198
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 gstreamer-plugins-0.10.14,3
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 wxgtk2-common-2.8.4
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:28 wxgtk2-unicode-2.8.4
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:27 aMule-2.1.3_4
  -rw-r--r--  1 root  wheel  21974016 Aug  6 11:26 pkgdb.db
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 gstreamer-0.10.14
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 libXft-2.1.12
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 xorg-libraries-7.2_2
  drwxr-xr-x  2 root  wheel   512 Aug  6 11:16 libXcomposite-0.3.2,1

I haven't recently noticed any significant change in performance. (The
times in the above lists are not relevant since couple of demanding
things were running at the same time.)

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


RE: Installing from USB Flash Drive

2007-08-06 Thread fbsd2



You are correct, there is no option for a USB flash drive for your
installation media. However, it is not a show stopper - you have the
file system media option. You should mount the flash disk and use this
option.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Reid Linnemann
Sent: Monday, August 06, 2007 8:54 AM
To: [EMAIL PROTECTED]
Cc: Ross Penner; User questions
Subject: Re: Installing from USB Flash Drive

When booting the USB flash drive which contains the install cd1 iso you go
into sysinstall by default.
There is no way to stay in the sysinstall pgm and issue a mount command for
da0 that I can find.
Exiting sysinstall just causes a reboot and you are right back at point you
just left.

Please explain how to mount USB flash drive when it's all ready used to boot
from.





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


Re: keyboard layout change in Xorg 7.2

2007-08-06 Thread Michael Nottebrock
Novembre schrieb:
 I have Xfce 4.4.1_1 on top of X.org 7.2 running on FreeBSD
 6.2-RELEASEinstalled on a Pentium III-S
 1.4GHz machine.
 The problem is that the ALT keys are not working when using XkbLayout option
 in xorg.conf when I put the following lines in /etc/X11/xorg.conf:

 Option XkbLayout us,ir
 Option XkbOptionsgrp:alt_shift_toggle

 With these options, single ALT keys do not work, and I mean not just in
 changing the keyboard layout, but anywhere! For example, ALT-TAB which
 should change the current window does not work anymore. I have found out
 that in this case, i.e. using XkbLayout option, if I press both ALT keys at
 the same time, it'll do work! So, LEFTALT-RIGHTALT-TAB changes the current
 window, and LEFTALT-RIGHTALT-SHIFT changes the layout. I have no idea why,
 and I see no reason why, since I told X that the layout needs to be changed
 when I press only ONE of the ALT keys (and I have not mentioned which one,
 so both should be okay) and the SHIFT key. It's very troublesome, and I
 don't want to hold down both ALTs instead of just one of them. The same
 setting used to work when I was using Xfce 4.2 on top of X.org 6.9.
 Any ideas?
   
Are you running the latest version of the x11/xkeyboard-config port
(1.0_1)? The most recent update fixed a number of isses related to
keyboard layouts. (See
http://www.freebsd.org/cgi/getmsg.cgi?fetch=947832+0+/usr/local/www/db/text/2007/cvs-ports/20070729.cvs-ports
).

Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org




signature.asc
Description: OpenPGP digital signature


The best photo gallerie software?

2007-08-06 Thread Chris Maness
What is the best ap for producing photo galleries in the ports.  I would 
like to have one that can accept users and create separate albums that 
can either be public or private.


Thanks

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

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


Re: The best photo gallerie software?

2007-08-06 Thread Gabor Kovesdan

Chris Maness escribió:
What is the best ap for producing photo galleries in the ports.  I 
would like to have one that can accept users and create separate 
albums that can either be public or private.


I love www/gallery2. Unfortunately I cannot show you my album, as I'm 
facing DNS issues, so my page is unreachable, but if you google for it, 
I suppose you will find something.


Regards,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

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


Re: dump -L

2007-08-06 Thread Jerry McAllister
On Mon, Aug 06, 2007 at 09:56:15AM +0700, Victor Sudakov wrote:

 Victor Sudakov wrote:
  
  I always use dump -L to dump a live filesystem.
  However, when I restore the dump, I sometimes get messages like 
  foo.txt (inode 12345) not found on tape or
  expected next file 12345, got 23456 
  
  I thought this should _never_ happen when dumping a snapshot.
  
  What is it?
 
 Does nobody know the answer, or am I the only one experiencing the
 problem?
 
 Here is another example:
 
 [EMAIL PROTECTED] ~] restore -b64 -rN 
 ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
 expected next file 267, got 4
 expected next file 2828988, got 2828987

Using 'dump -L' doesn't prevent you or something running on the system
from deleting a file after the directory has been created and written.

The first thing dump does is create a list of files (including directories)
to dump.   It creates a list of inodes for the files and then does all
the dumping from that list of inodes.   If a file is then deleted after
that inode list is made, then it will not get written to the dump media.
But, the list will still have the inode for the file.   When restore
looks for files, it searches in inode order and makes a note if an
inode is missing from the media that it expected (because of the list) to 
be there.It is only a true error if that file really should have been
there and wasn't.   The only time I have had that happen was when the
media (tape) couldn't be read properly.   Usually then you also get
other errors.

jerry

 -- 
 Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
 sip:[EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Tuc at T-B-O-H.NET
 
 On August 06, 2007 at 02:55AM Tuc at T-B-O-H.NET wrote:
 
 
 [snip}
 
  Ok. But I part of my question to people , and reason for posting it
  here, is the old Is anyone else seeing this. When/if you use portupgrade, 
  does
  it do the same for you? Or is it just something that I happened some how to 
  inherit
  on atleast 2 of my machines?
 
 I have noticed the same behavior. I have some 815 ports installed;
 however, I had not noticed any significant deterioration in
 performance.
 
Ok, so someone else is seeing it... 

Its not performance I'm worried about though. For the laptop, its
just sitting and watching it go through 915 files for an update to a small
program that doesn't rely on anything but perl.

For my Soekris, it IS bothersome. CF cards have a limited life, and
all those rewrites decrease it.

So I guess its the new way it does it then.

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


Re: The best photo gallerie software?

2007-08-06 Thread Reinhold
I will also recomment www/gallery2

I'm using it on my site with a custom theme.
I also have a few users that makes use of it to host there images and then
linking them to forums.

You can find more info on there website at http://gallery.menalto.com/
and if you want to have a look at what I've done you can go to
http://gallery.violetlan.net/main.php

On Mon, August 6, 2007 16:39, Gabor Kovesdan wrote:
 Chris Maness escribió:

 What is the best ap for producing photo galleries in the ports.  I
 would like to have one that can accept users and create separate albums
 that can either be public or private.

 I love www/gallery2. Unfortunately I cannot show you my album, as I'm
 facing DNS issues, so my page is unreachable, but if you google for it, I
 suppose you will find something.

 Regards,


 --
 Gabor Kovesdan
 FreeBSD Volunteer


 EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
 WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org


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




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


Re: dump -L

2007-08-06 Thread Bill Moran
In response to Jerry McAllister [EMAIL PROTECTED]:

 On Mon, Aug 06, 2007 at 09:56:15AM +0700, Victor Sudakov wrote:
 
  Victor Sudakov wrote:
   
   I always use dump -L to dump a live filesystem.
   However, when I restore the dump, I sometimes get messages like 
   foo.txt (inode 12345) not found on tape or
   expected next file 12345, got 23456 
   
   I thought this should _never_ happen when dumping a snapshot.
   
   What is it?
  
  Does nobody know the answer, or am I the only one experiencing the
  problem?
  
  Here is another example:
  
  [EMAIL PROTECTED] ~] restore -b64 -rN 
  ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
  expected next file 267, got 4
  expected next file 2828988, got 2828987
 
 Using 'dump -L' doesn't prevent you or something running on the system
 from deleting a file after the directory has been created and written.
 
 The first thing dump does is create a list of files (including directories)
 to dump.   It creates a list of inodes for the files and then does all
 the dumping from that list of inodes.   If a file is then deleted after
 that inode list is made, then it will not get written to the dump media.
 But, the list will still have the inode for the file.   When restore
 looks for files, it searches in inode order and makes a note if an
 inode is missing from the media that it expected (because of the list) to 
 be there.It is only a true error if that file really should have been
 there and wasn't.   The only time I have had that happen was when the
 media (tape) couldn't be read properly.   Usually then you also get
 other errors.

Ok, but using -L causes dump to create a filesystem snapshot, which is read-
only, meaning that nobody can delete a file from it during the dump process.

My guess would be that something is causing the snapshot to fail, which
will cause dump to issue a warning and then continue without making a
snapshot.  Can you provide the output of dump while doing the dump?

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


Re: dump -L

2007-08-06 Thread Victor Sudakov
Bill Moran wrote:
   Here is another example:
   
   [EMAIL PROTECTED] ~] restore -b64 -rN 
   ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
   expected next file 267, got 4
   expected next file 2828988, got 2828987

[dd]

 
 My guess would be that something is causing the snapshot to fail, which
 will cause dump to issue a warning and then continue without making a
 snapshot.  

It is not likely.

 Can you provide the output of dump while doing the dump?

[EMAIL PROTECTED] ~] dump -b64 -0La  /var
  DUMP: Date of this level 0 dump: Mon Aug  6 22:43:07 2007
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/mirror/gm1s1f (/var) to /dev/nsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 21553084 tape blocks.
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dump -L

2007-08-06 Thread Victor Sudakov
Jerry McAllister wrote:
 
  Victor Sudakov wrote:
   
   I always use dump -L to dump a live filesystem.
   However, when I restore the dump, I sometimes get messages like 
   foo.txt (inode 12345) not found on tape or
   expected next file 12345, got 23456 
   
   I thought this should _never_ happen when dumping a snapshot.
   
   What is it?
  
  Does nobody know the answer, or am I the only one experiencing the
  problem?
  
  Here is another example:
  
  [EMAIL PROTECTED] ~] restore -b64 -rN 
  ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
  expected next file 267, got 4
  expected next file 2828988, got 2828987
 
 Using 'dump -L' doesn't prevent you or something running on the system
 from deleting a file after the directory has been created and written.

Excuse me? 'dump -L' creates a snapshot which is (or should be) a
frozen copy of the filesystem, and then dumps the snapshot.

 
 The first thing dump does is create a list of files (including directories)
 to dump.   It creates a list of inodes for the files and then does all
 the dumping from that list of inodes.   If a file is then deleted after
 that inode list is made, then it will not get written to the dump media.

How can a file be deleted from a snapshot?


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing from USB Flash Drive

2007-08-06 Thread Reid Linnemann

Written by fbsd2 on 08/06/07 09:08




You are correct, there is no option for a USB flash drive for your
installation media. However, it is not a show stopper - you have the
file system media option. You should mount the flash disk and use this
option.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Reid Linnemann
Sent: Monday, August 06, 2007 8:54 AM
To: [EMAIL PROTECTED]
Cc: Ross Penner; User questions
Subject: Re: Installing from USB Flash Drive

When booting the USB flash drive which contains the install cd1 iso you go
into sysinstall by default.
There is no way to stay in the sysinstall pgm and issue a mount command for
da0 that I can find.
Exiting sysinstall just causes a reboot and you are right back at point you
just left.

Please explain how to mount USB flash drive when it's all ready used to boot
from.




As I recall, the system starts up a shell on ttyv3 and you also have the 
root menu option Fixit to enter a shell.

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


RE: Installing from USB Flash Drive

2007-08-06 Thread fbsd2
Written by fbsd2 on 08/06/07 09:08


 You are correct, there is no option for a USB flash drive for your
 installation media. However, it is not a show stopper - you have the
 file system media option. You should mount the flash disk and use this
 option.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Reid Linnemann
 Sent: Monday, August 06, 2007 8:54 AM
 To: [EMAIL PROTECTED]
 Cc: Ross Penner; User questions
 Subject: Re: Installing from USB Flash Drive

 When booting the USB flash drive which contains the install cd1 iso you go
 into sysinstall by default.
 There is no way to stay in the sysinstall pgm and issue a mount command
for
 da0 that I can find.
 Exiting sysinstall just causes a reboot and you are right back at point
you
 just left.

 Please explain how to mount USB flash drive when it's all ready used to
boot
 from.



As I recall, the system starts up a shell on ttyv3 and you also have the
root menu option Fixit to enter a shell.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Reid Linnemann
Sent: Monday, August 06, 2007 11:53 AM
To: [EMAIL PROTECTED]
Cc: User questions
Subject: Re: Installing from USB Flash Drive

I already tried that.  Fixit starts tty4 and I issued   mount /dev/da0 
/mnt
and got  mount not found
Alt f2  is the default debug session and mount /dev/da0 /mnt worked from
there, but still no joy.
When sysinstall try's to get the source to install it says unable to
transfer distribution source from ufs.
Still looks like a showstopper to me.
I am ready submitted a bug report to add USB-dd as supported install 
media
in sysinstall.


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

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


Re: keyboard layout change in Xorg 7.2

2007-08-06 Thread Novembre
On 8/6/07, Michael Nottebrock [EMAIL PROTECTED] wrote:

 Novembre schrieb:
  I have Xfce 4.4.1_1 on top of X.org 7.2 running on FreeBSD
  6.2-RELEASEinstalled on a Pentium III-S
  1.4GHz machine.
  The problem is that the ALT keys are not working when using XkbLayout
 option
  in xorg.conf when I put the following lines in /etc/X11/xorg.conf:
 
  Option XkbLayout us,ir
  Option XkbOptionsgrp:alt_shift_toggle
 
  With these options, single ALT keys do not work, and I mean not just in
  changing the keyboard layout, but anywhere! For example, ALT-TAB which
  should change the current window does not work anymore. I have found out
  that in this case, i.e. using XkbLayout option, if I press both ALT keys
 at
  the same time, it'll do work! So, LEFTALT-RIGHTALT-TAB changes the
 current
  window, and LEFTALT-RIGHTALT-SHIFT changes the layout. I have no idea
 why,
  and I see no reason why, since I told X that the layout needs to be
 changed
  when I press only ONE of the ALT keys (and I have not mentioned which
 one,
  so both should be okay) and the SHIFT key. It's very troublesome, and I
  don't want to hold down both ALTs instead of just one of them. The same
  setting used to work when I was using Xfce 4.2 on top of X.org 6.9.
  Any ideas?
 
 Are you running the latest version of the x11/xkeyboard-config port
 (1.0_1)? The most recent update fixed a number of isses related to
 keyboard layouts. (See

 http://www.freebsd.org/cgi/getmsg.cgi?fetch=947832+0+/usr/local/www/db/text/2007/cvs-ports/20070729.cvs-ports
 ).

 Cheers,
 --
,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org





Thanks so much. I did a 'portupgrade xkeyboard-config' to the latest
version, and that fixed the problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The best photo gallerie software?

2007-08-06 Thread Hakan K
Top ranking galleries on SF...

http://gallery.menalto.com/
http://coppermine-gallery.net/
http://linpha.sourceforge.net/wiki/index.php/Main_Page




Thanks
Hakan
http://dominor.com


On 8/6/07, Chris Maness [EMAIL PROTECTED] wrote:

 What is the best ap for producing photo galleries in the ports.  I would
 like to have one that can accept users and create separate albums that
 can either be public or private.

 Thanks

 --
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

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

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


reconfigure php with a port

2007-08-06 Thread sgmayo
I installed php with the ports option.  I see in the php.ini file where I
can turn Zlib on, but this has no effect.  From what I have read I assume
that I need to reconfigure php --with-zlib.

I tried a 'make config' from the ports directory, but it tells me that
there are no options to configure.

I guess that I need to know exactly how to pass the '--with-zlib' to the
port configure or how to get an option so that I can choose zlib.

Thanks.
Scott

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


Re: reconfigure php with a port

2007-08-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

[EMAIL PROTECTED] wrote:
 I installed php with the ports option.  I see in the php.ini file where I
 can turn Zlib on, but this has no effect.  From what I have read I assume
 that I need to reconfigure php --with-zlib.
 
 I tried a 'make config' from the ports directory, but it tells me that
 there are no options to configure.
 
 I guess that I need to know exactly how to pass the '--with-zlib' to the
 port configure or how to get an option so that I can choose zlib.

php in FreeBSD is modularized.  Simply install the
archivers/php5-zlib port and restart Apache.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGt2TO8Mjk52CukIwRCN6iAJ0dDuVjHyGr8Zz7Qcfwne/TAQljLQCeIGiQ
wBaLQ8dMZ6IoN8300muIyYw=
=8ZLI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade modifys EVERY +CONTENTS now?

2007-08-06 Thread Garance A Drosehn

At 2:55 AM -0400 8/6/07, Tuc at T-B-O-H.NET wrote:


Ok. But I part of my question to people , and reason for
posting it here, is the old Is anyone else seeing this. When/if
you use portupgrade, does it do the same for you? Or is it just
something that I happened some how to inherit on at least 2 of
my machines?


I've noticed it, but I've also noticed that it does not happen
every time.  I had one case were I did a portupgrade of a specific
set of components, and later I noticed that all the directories
under /var/db/pkg had been modified.  I did a 'portupgrade -f' of
the exact same components, and this time the only directories
which changed were the ones which were upgraded.

While the behavior seems odd, it has not caused any problems for me,
so I haven't done much investigation of it.  (the above paragraph
describes almost all of the investigation that I have done...)

Warner Losh also stumbled into this, in a recent case where he
ended up losing all subdirectories of /var/db/pkg due to a system
crash during a portupgrade.

--
Garance Alistair Drosehn =   [EMAIL PROTECTED]
Senior Systems Programmer   or   [EMAIL PROTECTED]
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reconfigure php with a port

2007-08-06 Thread Michael S. Eubanks
On Mon, 2007-08-06 at 19:13 +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 [EMAIL PROTECTED] wrote:
  I installed php with the ports option.  I see in the php.ini file where I
  can turn Zlib on, but this has no effect.  From what I have read I assume
  that I need to reconfigure php --with-zlib.
  
  I tried a 'make config' from the ports directory, but it tells me that
  there are no options to configure.
  
  I guess that I need to know exactly how to pass the '--with-zlib' to the
  port configure or how to get an option so that I can choose zlib.
 
 php in FreeBSD is modularized.  Simply install the
 archivers/php5-zlib port and restart Apache.
 
   Cheers,
 
   Matthew
 
 - --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
   Kent, CT11 9PW

You may want to take a look at the php5-extensions port as well under
lang/php5-extensions.  You may select Zlib in addition to other php5
extensions with a simple make install.

-Michael S. Eubanks
 [EMAIL PROTECTED]


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


Re: USB Phone Charging

2007-08-06 Thread Craig Boston
On Mon, Aug 06, 2007 at 11:08:25AM +0100, Graham Bentley wrote:
 My Blackberry mobile phone refuses to charge from USB
 when logged into FreeBSD.

For some reason that I'm not 100% clear on, the USB configuration has to
be activated before the blackberry will charge.

My first thought was that the port would go into a power-save mode if
there was no driver attached.  However those little USB lamps and such
manage to bleed quite a bit of power off the port and don't require a
driver, so I'm not so sure...

In any case, OpenBSD has a dummy driver that I ported over a while back.
It's in my local tree; here is a copy that's been extracted so that it
can be compiled standalone:

http://www.severious.net/uberry.tar.gz

Just extract the tarball, cd into the uberry dir, and run 'make'.  It
will create a .ko file that you can put in your /boot/modules/.  Load it
like any other kernel module and you should be good the next time you
plug it in.

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


Re: Large Volumes - 2.2TB missing... expecting 3.4TB!

2007-08-06 Thread hburton
Thanks for the help. I will look into that further ;)


 On 06/08/07, Hartleigh Burton [EMAIL PROTECTED] wrote:

 Thanks for the tip.

 # /dev/da1s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 30291304010unused0 0 # raw part,
 don't edit
   d: 302913040104.2BSD 2048 16384 28528

 Unfortunately for me, I do not really know what I am looking at here.


 I just noticed from man 8 bsdlabel:

 COMPATIBILITY
  Due to the use of an u_int32_t to store the number of sectors, BSD
 labels
  are restricted to a maximum of 2^32-1 sectors.  This usually means
 2TB of
  disk space.  Larger disks should be partitioned using another method
 such
  as gpt(8).

 I suspect this applies to amd64.  man 8 fdisk makes no
 mention of data size problems, but I would suspect it as
 well.

 --
 --


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


Re: apsfilter setup problem

2007-08-06 Thread David Banning
 You should let apsfilter SETUP program to add the entry in printcap (you
 wrote that you added it yourself). It should be marked with something
 like:
 
   # APS1_BEGIN:printer1
   # - don't delete start label for apsfilter printer1
   # - no other printer defines between BEGIN and END LABEL
   [...]
   # APS1_END - don't delete this

I didn't post the whole thing - but it actually does have the apsfilter
start and end entries.

 Apart from this, your printcap details seem good. However, the problem
 you described could be related to permissions. You run SETUP program as
 root, but you try to print as an ordinary user, I guess. Please check
 permissions/ownership of samba-client configuration file
 under /usr/local/etc/apsfilter/.

# cd /usr/local/etc/apsfilter
# ls -tl 
total 46
-rw-r-  1 root  daemon416 Aug  6 19:47 SETUP.cfg
-rw-r--r--  1 root  wheel   18750 Aug  6 19:45 perf.log
lrwxr-xr-x  1 root  wheel  26 Aug  6 19:42 basedir - /usr/local/share/apsfi
lter
drwxr-xr-x  2 root  wheel 512 Aug  3 17:22 aps1
drwxr-xr-x  2 root  wheel 512 Mar  7  2006 lp
drwxr-xr-x  2 root  wheel 512 Mar  7  2006 brother
drwxr-xr-x  2 root  wheel 512 Jan 24  2006 lp2
drwxr-xr-x  2 root  wheel 512 Jan 24  2006 aps2
drwxr-xr-x  2 root  wheel 512 Aug 22  2003 raw2
drwxr-xr-x  2 root  wheel 512 Aug 22  2003 raw
-r--r--r--  1 root  wheel8794 Aug 22  2003 apsfilterrc


I tried to print as root also, but so luck.


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


Re: dump -L

2007-08-06 Thread Victor Sudakov
cpghost wrote:
 I always use dump -L to dump a live filesystem.
 However, when I restore the dump, I sometimes get messages like
 foo.txt (inode 12345) not found on tape or
 expected next file 12345, got 23456

 I thought this should _never_ happen when dumping a snapshot.

 What is it?
   
Does nobody know the answer, or am I the only one experiencing the
problem?
   
   I don't know the answer, but I get essentially the
   same behaviour.  I have never seen any data loss,
  
  I gave an example below. The file wins.dat was not dumped. It is
  indeed missing from the tape.
  
  If this is not a data loss, what is it then?
  
  [EMAIL PROTECTED] ~] restore -b64 -rN
  ./spool/samba.lock/wins.dat: (inode 2829098) not found on tape
  expected next file 267, got 4
  expected next file 2828988, got 2828987
 
 Uh-oh :-(. I have no idea how the code works, but just a wild guess:
 what happens when a file is being created and a snapshot taken at the
 same time? 

I would very much like to know that. Creating a snapshot can take
several minutes on a large modern HDD. Many files can be changed
during those minutes.

 Isn't there a tiny window between inode creation and
 directory update? Or is file creation an atomic operation w.r.t.
 snapshots and dump?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Installation Suggestion

2007-08-06 Thread Jonathan Horne
On Monday 06 August 2007 07:46:01 Christopher Key wrote:
 Hello,

 I'm about to install FreeBSD for the first time on a new machine and
 have a few questions:

 1) The motherboard is an Intel DQ964GF, which uses the ICH8 chipset.  Is
 it better to use this in IDE or AHCI mode?  (The system will be booting
 from a S-ATA disk)

 2) Are there any good documents discussing the relative merits of using
 i386 / amd64?

 3) Does anyone have any good suggestions on how to perform the
 installation.  The machine has no floppy or CD-ROM drive, and it's not
 really convenient to temporarily add them as I may well end up going
 through the install procedure several times.  The options seem to be
 either a USB flash drive (any thoughts on how to get a UFS file system
 and FreeBSD MBR on there using only WinXP), or via the network.

 Any advice much appreciated,

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

i was in process of building a system on that same board (but mine was 965?) 
last week, and tho i didnt take the time to troubleshoot the issue, i never 
could get the actual install to copy the data to the drive. the cdrom drive 
kept saying acd15 (or something like that, instead of the norm acd0).

long story short, i picked my board from from ebay, and the thermal sensors 
were trashed.  the board always read 85-87C, and had a chronic thermal'ing 
problem.  (thankfully, the seller took it back with a refund).

but, the problem i was having wit the cdrom drive was not looking like it was 
going to be a pleasant one.
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NTFS-3G not mounting the partition during boot

2007-08-06 Thread Novembre
Hi,

I have a problem mounting my NTFS partition at boot using ntfs-3g. A little
search got me to add the following ntfsmount startup script to
/usr/local/etc/rc.d/
--
#!/bin/sh
#
# PROVIDE: ntfsmount
# REQUIRE: fusefs

. /etc/rc.subr

name=ntfsmount
rcvar=`set_rcvar`
command=ntfs-3g /dev/ad0s1 /mnt/windows  ntfs-3g /dev/ad0s1 /mnt/windows
-o locale=en_US.UTF-8

load_rc_config $name
run_rc_command $1
--
and then to run  chmod +x /usr/local/etc/rc.d/ntfsmount  in order to make
it executable. After that, I added the line ntfsmount_enable=YES to my
/etc/rc.conf, and then rebooted. I did not see any error messages during
boot, but the partition was not mounted. However, if I run ntfs-3g from the
command prompt to mount the windows partition, it works. I am using

fusefs-kmod-0.3.0_5
fusefs-libs-2.7.0_1
fusefs-ntfs-1.710

Any ideas what's going on here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NTFS-3G not mounting the partition during boot

2007-08-06 Thread Philip M. Gollucci

Novembre wrote:

rcvar=`set_rcvar`

That should be
rcvar=${name}_enable

Because of this, your script did not run because the rc system didn't 
detect it correctly.


Try setting
rc_debug=YES
and/or
rc_info=YES
in /etc/rc.conf

to see more of whats happening.

 command=ntfs-3g /dev/ad0s1 /mnt/windows  ntfs-3g /dev/ad0s1
 /mnt/windows -o locale=en_US.UTF-8
Also $command is special, you should use another variable
$command_args (which is also special) for the arguments/options.

Of course, you can circument these if you know what you are doing.

When in doubt, look at other rc scripts like apache22's or others that 
might seem like they would do a lot.


Finally, in /etc/rc.subr is _very_


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]