Default file permissions

2008-11-04 Thread Roey D
I have a server running Azureus to download torrent files. The Azureus
directory is accessible to other computers using samba.
Azureus dumps it's completed files with the 644 permissions, making
them writable only for the owner.
As far as I looked, Azureus cannot be configured to dump it's files
with different permissions.
Is there any way to apply a Inherited file permissions on a specific
directory? (i.e all files created on this folder will have a specific
permission set, unless specifically changed by some application)
 I prefer doing this with the classic permission system, rather then using ACLs.

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


help with MY Book external drive

2008-11-04 Thread AN
I just purchased a WD MY Book external USB disk, I reformatted in UFS and 
created a filesystem with sysinstall.  I was able to put data on it successfully, 
however overnite I had a power failure.  Now I am unable to mount the 
drive.  The blue light is on, so it seems to be getting power but the 
computer does not see it when I plug in the USB cable.  I can not run fsck 
because the system says /dev/da0s1d no such file or directory.  I tried 
da0s1, da0s1c, and da0s1d no luck.  I also tried to plug the disk into 
another machine, same thing the disk is not recognized.  Is it totally 
gone?Any help to recover this disk would be really appreciated.


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


Re: help with MY Book external drive

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 12:06:03PM +, AN wrote:


 On Tue, 4 Nov 2008, Jeremy Chadwick wrote:

 On Tue, Nov 04, 2008 at 11:13:21AM +, AN wrote:
 I just purchased a WD MY Book external USB disk, I reformatted in UFS and
 created a filesystem with sysinstall.  I was able to put data on it
 successfully, however overnite I had a power failure.  Now I am unable to
 mount the drive.  The blue light is on, so it seems to be getting power
 but the computer does not see it when I plug in the USB cable.  I can not
 run fsck because the system says /dev/da0s1d no such file or directory.
 I tried da0s1, da0s1c, and da0s1d no luck.  I also tried to plug the disk
 into another machine, same thing the disk is not recognized.  Is it
 totally gone?Any help to recover this disk would be really
 appreciated.

 Possibly, especially if you plug it into another machine and experienced
 the same problem.  When you plug the drive in, does the FreeBSD kernel
 output anything?  If so, what all does it output?

 -- 
 | Jeremy Chadwickjdc at parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB |


 Hi Jeremy:

 No messages from the kernel, nothing when I plug it in.

Then chances are the ATA-to-USB or SATA-to-USB controller that is
internal to the hard disk enclosure is dead.

 It is not making any 'clicking' sounds that you usually get when a
 drive dies.

Clicking is in no way shape or form usual for a drive failure; it's
just one of the hundred ways a drive can fail.  Most drives I've seen in
the past 5 years fail silently.

 I just  don't get it.  Maybe a power spike crushed it, but if so why
 is the light on?

This is really something you should be asking Western Digital.  :-) What
makes you think the power LED is at all related to the hard disk being
functional?  The power LED could be directly wired to the AC power
supply, in which case it just indicates the PSU works, and tells you
nothing about the status of the drive, or the controller that interfaces
with the drive.

Your options as I see them:

1) Call Western Digital and get a replacement MyBook; you will very
likely get a new MyBook, and your old hard disk/data will be gone
permanently,

2) Purchase a replacement MyBook.  Open it up, open yours up, and
swap the hard disks (e.g. your hard disk inside of the new MyBook
enclosure).  This will void your warranty on *both* MyBook products,
but will help determine if just the ATA/SATA-to-USB controller is
shot, or if the hard disk is shot,

3) Open your MyBook up, and remove the hard disk.  Attempt to hook the
disk directly to your PC via ATA or SATA; if it's an ATA 2.5 disk, you
may need to buy an adapter to make it work with standard 40 or 80-pin
IDE ribbon cables (make sure you note which is pin 1!  Some of those
adapters are non-keyed, so you could end up sticking pin 40 where pin 1
is, and destroy the PCB entirely)

I hope this situation has introduced you to the world of backups, and
why they need to be performed regularly.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Backup Winserver

2008-11-04 Thread John Nielsen
On Tuesday 04 November 2008 06:43:23 am Roey D wrote:
 2008/11/4 Graham Bentley [EMAIL PROTECTED]:
  Is there anyone using Rsync on windows to backup to a Linux or
  FreeBSD server?
 
  Are the Windows Rsync implementations reliable?

 I used to do that, the windows rsync client (runs on the top of
 cygwin) worked well for me.
 You can use this package:
 http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
 which provides cygwin rsync plus GUI.
 The only issue I had is with files with non-latin characters in their
 names, in my case, Hebrew.
 Once I downloaded the Cygwin UTF-8 dll, which can be found here:
 http://www.okisoft.co.jp/esc/utf8-cygwin/
 everything seemed to work.

I've done this as well without problem. Look for cwrsync if you don't want 
to bother installing Cygwin yourself. It comes with the rsync tools and 
ssh all ready to go.

JN

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


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
 joeb wrote:
  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the  
 selected
 virtual console.
 But I can not find any way to return to the xorg/xfce desktop running 
 in the
 virtual console I left from.
  Alt+Fx does take me to the virtual console where x11/xfce is suppose 
 to be,
 but puts me in command line mode.
 The command ps ax shows xorg/xfce is still running.

 How do I get back to the xorg/xfce desktop running in the virtual console I
 left from?

 You should be able to get back into Xorg with Alt F7 or F8. Does this
 not work?

  Steve

X usually runs on ttyv8, so it should be Alt+F9.


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


Re: GDM login without using a password

2008-11-04 Thread Craig Butler
On Tue, 2008-11-04 at 16:32 +0200, Roey Dror wrote:
  AFAIK the automatic login feature allows you to nominate a user to
  automatically log in as... it doesn't ask for the password but I think
  one can be set (so it doesn't need to be empty).
 
 As I said, the automatic login feature is not what I'm looking for.
 I need to set up more than one user that is able to login without a password.
 The computer is a home computer, so local security is not an issue.
 

OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
I have seen a few suggestions to change the auth to optional instead of
required.  However there would be nothing to stop some one logging in as
root through gdm.

Maybe there is some way of fudging gnome to accept more than one
passwordless user account good luck finding it

Regards

Craig B

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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread andrew clarke
On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]) wrote:

 For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats 
 to set things up.

I stopped using bsdstats after it caused my FreeBSD router to take too
long to boot up after a reboot.  If I recall correctly, I had
bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
was called before ppp was able to start, so it couldn't connect to the
bsdstats server.  On the other hand this was a while ago and I am
going by memory, so I may be wrong about what happened or it was just
a coincidence.  At the time I was more interested in getting the
router running so I didn't really care for debugging what was going
on.  I realise this is a bit of a vague bug report, so feel free to
ignore it.

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


Re: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran [EMAIL PROTECTED] wrote:
 In response to Eduardo Meyer [EMAIL PROTECTED]:

 I have some serious issue. Sometimes something happens and my disk
 usage performance find its limit quickly. I follow with gstat and
 iostat -xw1, and everything usually happens just fine, with %b around
 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
 requests and %b is always on 100% (or more than this).

 fstat and lsof gives me no hint, because the type of programs as well
 as the amount of 'em is just the same.

 How can I find the PID which is hammering my disk? Is there an iotop
 or disktop tool or something alike?

 top -m io -o total

Great, thats exactly what I was looking for, thank you a lot Mr Moran.


 --
 Bill Moran
 http://www.potentialtech.com




-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: how much memory can be support in FreeBSD system?

2008-11-04 Thread Andrew Falanga
On Tue, Nov 4, 2008 at 6:52 AM, Alex Zhang [EMAIL PROTECTED] wrote:
 Hi buddy.



 I'm a new comer and want to configure a Virtual server base on UNIX. The
 safe, steady and easy for maintenance is needed.

 Approximately 8GB memory will be mounted. Can anyone tell me how much memory
 can be supported in FreeBSD?

 Thanks.



 BR

 Alex



See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: garmin forerunner 305

2008-11-04 Thread Bruce Cran
On Tue, Nov 04, 2008 at 08:28:05AM -0500, Bob McConnell wrote:
 On Behalf Of Bruce Cran
  On Thu, 4 Sep 2008 20:24:02 +0100
  Bruce Cran [EMAIL PROTECTED] wrote:
  
  On Thu, 4 Sep 2008 11:51:33 -0300
  Joey Mingrone [EMAIL PROTECTED] wrote:
  
   Has anyone had any success collecting data from a Garmin Forerunner
   305?
   
   When I connect the device I see the kernel messages:
   Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
   0x0003 bus uhub1
   Sep  4 11:39:22 jrm kernel: ugen0: vendor 0x091e product 0x0003,
   class 255/255, rev 1.10/0.01, addr 2 on uhub1
   
   The documentation for the port astro/GPSMan seems to indicate it
   supports this model, but I haven't had any luck.
   
   % uname -a
   FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun
 12
   18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386
  
  Unfortunately Garmin use their own protocol for communicating between
  the GPS and the PC.  Under Linux it's supported by the garmin_gps
  driver but there's no equivalent for FreeBSD yet.
  
  
  Sorry, it turns out that's wrong: the gpsbabel developers recommend
 not
  using garmin_gps because apparently it often doesn't work.  Instead
  they recommend using gpsbabel's 'garmin' input/output format.  It
  interfaces to the device using libusb - which, fortunately for us runs
  on FreeBSD! I've just successfully read back GPS data into a GPX file
  using gpsbabel on FreeBSD 8-CURRENT and the 'usb2' usb stack. 
  
  I don't know if it'll work with the usb stack that's in shipping
  version of FreeBSD though, and even with the new stack I had to make a
  change to libgpsusb.c in gpsbabel to get it working.
 
 The best way to help fix these problems are:
 
 A) Submit a patch for the changes you made.
 
 B) Contact the maintainers and provide them with all of the details,
 what you found, what didn't work, what you modified and the final
 results. If you have traces or data captures, they may want to see them.
 They can't fix problems they don't understand. If they don't have access
 to that hardware, or something similar, they might even ask you to do
 some experiments for them to extend their knowledge. All of that will
 help them improve the quality of future releases.


It looks like it may be a bug in libusb20 or the usb2 stack. I've sent
an email to Hans and freebsd-usb@ and will see what they think.  I very
much suspect it's not a bug in gpsbabel itself because
USB_ENDPOINT_ADDRESS_MASK must exist for a reason, and removing the
masking was just a hack to get things working just now.

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


Re: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to Eduardo Meyer [EMAIL PROTECTED]:
 
 I have some serious issue. Sometimes something happens and my disk
 usage performance find its limit quickly. I follow with gstat and
 iostat -xw1, and everything usually happens just fine, with %b around
 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
 requests and %b is always on 100% (or more than this).
 
 fstat and lsof gives me no hint, because the type of programs as well
 as the amount of 'em is just the same.
 
 How can I find the PID which is hammering my disk? Is there an iotop
 or disktop tool or something alike?

top -m io -o total

-- 
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: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer [EMAIL PROTECTED] wrote:
 On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran [EMAIL PROTECTED] wrote:
 In response to Eduardo Meyer [EMAIL PROTECTED]:

 I have some serious issue. Sometimes something happens and my disk
 usage performance find its limit quickly. I follow with gstat and
 iostat -xw1, and everything usually happens just fine, with %b around
 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
 requests and %b is always on 100% (or more than this).

 fstat and lsof gives me no hint, because the type of programs as well
 as the amount of 'em is just the same.

 How can I find the PID which is hammering my disk? Is there an iotop
 or disktop tool or something alike?

 top -m io -o total

 Great, thats exactly what I was looking for, thank you a lot Mr Moran.

I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
ones are kernel PIDs (36 and 37).

PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
 36 root  2  2  0 31  0 31  40.79% bufdaemon
 37 root  2  2  0 16  0 16  21.05% syncer
71501 vmail 4  0  0  0  0  0   12.00% imapd

I guess it a symptom of some hardware problems, kernel itself is not
supposed to do this many I/O, right?

Sometimes PID 39, softdepflush, is always on top 3.


-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 03:48:57PM +0100, Johan Hendriks wrote:
 
 
 Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160
 
 On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
  Hello all
  I have a small issue when i switch between my console?s on a proliant 
  DL160 G5 machine.
  It has a time gap from around 1 to 2 seconds and then it will switch to 
  the next console after pressing ALT - F2
  
  Do I need to set something in my loader.conf or sysctl.conf?
 
 Chances are you're using a USB keyboard.  Place the following in
 /boot/loader.conf and reboot the machine:
 
 hint.kbdmux.0.disabled=1
 
 
 No i have a normal ps/2 keyboard connected to it.

Try the above anyway.  There are known problems (and LORs) in kbdmux.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: GDM login without using a password

2008-11-04 Thread Roey Dror
 AFAIK the automatic login feature allows you to nominate a user to
 automatically log in as... it doesn't ask for the password but I think
 one can be set (so it doesn't need to be empty).

As I said, the automatic login feature is not what I'm looking for.
I need to set up more than one user that is able to login without a password.
The computer is a home computer, so local security is not an issue.

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


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks

 Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160
 
 On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
  Hello all
  I have a small issue when i switch between my console?s on a proliant 
  DL160 G5 machine.
  It has a time gap from around 1 to 2 seconds and then it will switch to 
  the next console after pressing ALT - F2
  
  Do I need to set something in my loader.conf or sysctl.conf?
 
 Chances are you're using a USB keyboard.  Place the following in
 /boot/loader.conf and reboot the machine:
 
 hint.kbdmux.0.disabled=1
 
 
 No i have a normal ps/2 keyboard connected to it.

Try the above anyway.  There are known problems (and LORs) in kbdmux.

Well i did try the setting and it works!
Thank you very much.

Regards
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with FreeBSD

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:10:25 -0200, J MPZ [EMAIL PROTECTED] wrote:
 Hi Paul,

 When my connections freeze, I open the tcpdump in other terminal. If I type
 something, type Enter, on the terminal frozen, the tcpdump show packets,
 like that:

 11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
 TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 193:241(48)
 ack 0 win 15136 nop,nop,timestamp 1556398494 745829191,nop,nop,sack 1
 {1428:1664}
[...]

 I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP

Can you try capturing the connection setup packets, so we can look at
the TCP MSS negotiation values?  Starting TCPDUMP *before* one of the
connections that stall is made should capture that.

There may be an intermediate router or firewall that blocks ICMP and
ends up breaking path MTU discovery.  I've seen TCP connections
'stall' when path-mtu was broken by a setup like this and one of the
intermediate routers started dropping TCP packets that were too large
for one of its interfaces.

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


/etc/src.conf WITHOUT_PROFILE=yes

2008-11-04 Thread Johan Hendriks
Is it wise to set the WITHOUT_PROFILE to yes
Some say it is, some not, and what does it do exactly?

regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk top usage PIDs

2008-11-04 Thread Bill Moran
In response to Eduardo Meyer [EMAIL PROTECTED]:

 On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer [EMAIL PROTECTED] wrote:
  On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran [EMAIL PROTECTED] wrote:
  In response to Eduardo Meyer [EMAIL PROTECTED]:
 
  I have some serious issue. Sometimes something happens and my disk
  usage performance find its limit quickly. I follow with gstat and
  iostat -xw1, and everything usually happens just fine, with %b around
  20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
  requests and %b is always on 100% (or more than this).
 
  fstat and lsof gives me no hint, because the type of programs as well
  as the amount of 'em is just the same.
 
  How can I find the PID which is hammering my disk? Is there an iotop
  or disktop tool or something alike?
 
  top -m io -o total
 
  Great, thats exactly what I was looking for, thank you a lot Mr Moran.
 
 I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
 ones are kernel PIDs (36 and 37).
 
 PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
  36 root  2  2  0 31  0 31  40.79% bufdaemon
  37 root  2  2  0 16  0 16  21.05% syncer
 71501 vmail 4  0  0  0  0  0   12.00% imapd
 
 I guess it a symptom of some hardware problems, kernel itself is not
 supposed to do this many I/O, right?
 
 Sometimes PID 39, softdepflush, is always on top 3.

Off the top of my head, it looks like you're exceeding what the hardware
can do.  What kind of disks do you have in that system?  It may be time
to get faster disks or expand to a high-performance RAID setup.

-- 
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: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko

Carl wrote:

Volodymyr Kostyrko wrote:

I have some setups were gjournal was put on device rather the on 
partition, i.e.:


[umgah] ~ gmirror status
  NameStatus  Components
mirror/umgah0  COMPLETE  ad0
  ad1
[umgah] ~ gjournal status
  Name  Status  Components
mirror/umgah0.journal N/A  mirror/umgah0
[umgah] ~ glabel status
 Name  Status  Components
   ufs/umgah0root N/A  mirror/umgah0.journala
label/umgah0swap N/A  mirror/umgah0.journalb
ufs/umgah0usr N/A  mirror/umgah0.journald
ufs/umgah0var N/A  mirror/umgah0.journale


Does the above suggest that you've ended up with individual journal 
providers for each partition anyway? If so, where are they and have you 
really achieved anything functionally different? Are they at the end of 
their individually associated partitions or all together somewhere else? 
Has the ill-advised journaled small partition issue been successfully 
overcome through what you've done?


First, there is only one journal - for /dev/mirror/umgah0 and it is 
named /dev/mirror/umgah0.journal. Anything else is just a bsdlabel 
partitions, there are four of 'em.





[umgah] ~ mount
/dev/ufs/umgah0root on / (ufs, asynchronous, local, noatime, gjournal)
devfs on /dev (devfs, local)
/dev/md0 on /tmp (ufs, asynchronous, local)
/dev/ufs/umgah0var on /var (ufs, asynchronous, local, noatime, gjournal)
/dev/ufs/umgah0usr on /usr (ufs, asynchronous, local, noatime, gjournal)
devfs on /var/named/dev (devfs, local)

And yes, mirror autosynchronization is turned off, gjournal takes care 
of that too.


It's not stated in manual, but gjournal is typically transparent for 
any type of access, just in case of UFS file system is marked as 
journaled so any metadata writes can be distinguished from data 
writes. Without that gjournal does literally nothing.


And what does this mean for your swap partition?


Just nothing, it's just swap. It can't be journaled.


Laszlo Nagy wrote earlier:

Another tricky question: why would you journal a SWAP partition?


Volodymyr, does your assertion that gjournal does nothing when a file 
system is not UFS mean that there is no penalty with regard to your swap 
partition despite the existence of mirror/umgah0.journalb?


I haven't seen any perfomance decrease in this configuration. And 
according to manual and articles about gjournal it should work this way.


Any chance you'd like to share your command sequence for constructing 
your gmirror'd and gjournal'd filesystem, Volodymyr? :-)


If we have two disks (ad0, ad1) it should look like this:

 gmirror label -b load -n umgah0 ad1

We are getting all drive gmirrored without synchronization (we don't 
need it - journal would take care of any discrepancies) and with load 
balance (load was fixed not so long ago in stable and should be fine to 
go with).


 gjournal label mirror/umgah0

We are creating a journal on top of our gmirror. It eats 1G from the end 
of the disks and gives us the rest to use.


 bsdlabel -wB mirror/umgah0.journal

We are writing the standard bsdlabel to the disk and making it bootable. 
After that we will get one partition 'a'.


spam
Yes, no fdisk. I don't think this old piece of rough junk is ever needed 
on machine running FreeBSD solely. It just takes space, it requires 
compatibility to forgotten-and-abandoned standards and gives nothing 
more. You have your server dual-booting Windows or Linux? This is the 
only case you need fdisk for.

/spam

 bsdlabel -e mirror/umgah0.journal

Now we are splitting our journal to some partitions. I did it this way:

# /dev/mirror/umgah0.journal:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   524288   164.2BSD
  b: 16777216   *  swap
  c: 7793256140unused0 0 # raw part, 
don't edit

  d: 33554432 *4.2BSD
  e: * *4.2BSD

After that we can format this filesystems:

 newfs -J -L umgah0root /dev/mirror/umgah0.journala
 newfs -J -L umgah0var /dev/mirror/umgah0.journald
 newfs -J -L umgah0usr /dev/mirror/umgah0.journale

And label the swap:

 glabel label umgah0swap /dev/mirror/umgah0.journalb

You can skip all this glabel thing, I just prefer to have slim fstab, as 
slim as possible.


fstab
/dev/label/umgah0swap none swap sw 0 0

md /tmp mfs rw,-s1024m,-S,-oasync 0 0

/dev/ufs/umgah0root / ufs rw,async,noatime 0 1
/dev/ufs/umgah0var /var ufs rw,async,noatime 0 2
/dev/ufs/umgah0usr /usr ufs rw,async,noatime 0 2
/fstab

There's a lot more here to describe from moving system to newly created 
partitions to inserting and rebuilding our first disk to gmirror. All 
this issues are described in handbook or other articles found on the net.


--
Sphinx of black quartz judge my vow.

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


RE: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks


Onderwerp: Re: Slow swith between console (ALT - Fx) proliant DL160

On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
 Hello all
 I have a small issue when i switch between my console?s on a proliant DL160 
 G5 machine.
 It has a time gap from around 1 to 2 seconds and then it will switch to the 
 next console after pressing ALT - F2
 
 Do I need to set something in my loader.conf or sysctl.conf?

Chances are you're using a USB keyboard.  Place the following in
/boot/loader.conf and reboot the machine:

hint.kbdmux.0.disabled=1


No i have a normal ps/2 keyboard connected to it.

Regards,
Johan Hendriks

No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.8.6/1765 - Release Date: 3-11-2008 16:59
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xfce decktop time display

2008-11-04 Thread Christian Hiris
On Tuesday 04 November 2008, FBSD1 wrote:
 Using Xfce4 and the time is displayed in military time 2200.
 Want to change this to regular AM/PM displayed time. 10pm
 Been through the manual and all the menus and can not find knob to change
 the time setting.

 Thanks for any help you can give.

Maybe the clock.rc file is from an old installation/version.
You can remove ande re-add the clock via gui or edit the clock.rc file by 
hand. Simply set the military option to value false. HTH!

$ cat ~/.config/xfce4/panel/clock*.rc
mode=1
military=false 
ampm=true
secs=true
show_frame=false

Cheers,
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x1A9BE943
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
On Tue, Nov 4, 2008 at 12:55 PM, Bill Moran [EMAIL PROTECTED] wrote:
 In response to Eduardo Meyer [EMAIL PROTECTED]:

 On Tue, Nov 4, 2008 at 12:27 PM, Eduardo Meyer [EMAIL PROTECTED] wrote:
  On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran [EMAIL PROTECTED] wrote:
  In response to Eduardo Meyer [EMAIL PROTECTED]:
 
  I have some serious issue. Sometimes something happens and my disk
  usage performance find its limit quickly. I follow with gstat and
  iostat -xw1, and everything usually happens just fine, with %b around
  20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
  requests and %b is always on 100% (or more than this).
 
  fstat and lsof gives me no hint, because the type of programs as well
  as the amount of 'em is just the same.
 
  How can I find the PID which is hammering my disk? Is there an iotop
  or disktop tool or something alike?
 
  top -m io -o total
 
  Great, thats exactly what I was looking for, thank you a lot Mr Moran.

 I see syncer (40%) and bufaemon (10%) and after that, imapd. The first
 ones are kernel PIDs (36 and 37).

 PID USERNAME   VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
  36 root  2  2  0 31  0 31  40.79% bufdaemon
  37 root  2  2  0 16  0 16  21.05% syncer
 71501 vmail 4  0  0  0  0  0   12.00% imapd

 I guess it a symptom of some hardware problems, kernel itself is not
 supposed to do this many I/O, right?

 Sometimes PID 39, softdepflush, is always on top 3.

 Off the top of my head, it looks like you're exceeding what the hardware
 can do.  What kind of disks do you have in that system?  It may be time
 to get faster disks or expand to a high-performance RAID setup.

Its a:

Master:  ad4 Hitachi HDP725050GLA360/GM4OA52A Serial ATA II

I still think its a hw (disk or controller) problem.

I have raised the following:

kern.filedelay=90
kern.dirdelay=90
kern.metadelay=90

Now, my disk usage is back to 30%





 --
 Bill Moran
 http://www.potentialtech.com




-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: GDM login without using a password

2008-11-04 Thread Craig Butler


On Tue, 2008-11-04 at 16:02 +0200, Roey Dror wrote:
 I've searched around the internet for a way to allow a user to login
 into GDM without using a password.
 I know that GDM has an automatic login feature, but that's not what I'm 
 looking.
 I really do not wish to create a user with an empty password, in order
 not to compromise the entire system security.
 I found a mini-HOWTO which suggests using the pam_filelist module.
 Unfortunately, I couldn't find this module in the ports system.
 
 Is there any other way to allow this user to login without using a
 password only using GDM?
 

AFAIK the automatic login feature allows you to nominate a user to
automatically log in as... it doesn't ask for the password but I think
one can be set (so it doesn't need to be empty).  Automatic login is a
security risk in its self, the cracker is already one step closer.

It is all controlled through gdmsetup.

Regards

Craig B



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


Disk top usage PIDs

2008-11-04 Thread Eduardo Meyer
Hello,

I have some serious issue. Sometimes something happens and my disk
usage performance find its limit quickly. I follow with gstat and
iostat -xw1, and everything usually happens just fine, with %b around
20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
requests and %b is always on 100% (or more than this).

fstat and lsof gives me no hint, because the type of programs as well
as the amount of 'em is just the same.

How can I find the PID which is hammering my disk? Is there an iotop
or disktop tool or something alike?

Its a mail server. I have pop3, imap, I also have maildrop and
sometimes, httpd, working around the busiest mount point.

I have also started AUDIT, however all I can get are the top PIDs
which issue read/write requests. Not the requests which take longer to
perform (the busiest ones), or should I look for some special audit
class or event other than open, read and write?

Thank you in advance.

-- 
===
Eduardo Meyer
pessoal: [EMAIL PROTECTED]
profissional: [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: garmin forerunner 305

2008-11-04 Thread Bruce Cran
On Tue, 04 Nov 2008 14:57:14 +0300
Boris Samorodov [EMAIL PROTECTED] wrote:

 Bruce Cran [EMAIL PROTECTED] writes:
 
  I don't know if it'll work with the usb stack that's in shipping
  version of FreeBSD though, and even with the new stack I had to
  make a change to libgpsusb.c in gpsbabel to get it working.
 
 Can you submit a patch? Thanks!

Having just read about endpoint addresses I'm not sure who's wrong.
gpsbabel truncates the address to the first 4 bytes using
USB_ENDPOINT_ADDRESS_MASK from libusb20 while
the stack clearly wants the rest, including the top 'direction' bit.  In
fact in /sys/dev/usb2/core/usb2_device.c line 114 it masks out the
reserved bits but still keeps the direction bit. usb2_get_pipe_by_addr
was failing when passed address 1 because the full endpoint address is
0x81 (endpoint 1, direction IN).  It looks as though by changing EA_MASK
to be just the endpoint number would fix the problem, but I'm not
sure if that's correct.

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Julien Cigar
I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
 Hi,
 
 don't know whether it's the CDROM drive (a Creative 52x mx) or the 
 motherboard (ASUS P4S8X) or what.
 Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
 the installation
 hangs right in the boot process of the installation CD disc1.
 
 I see
 
 acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config
 
 and so on.
 
 Any clues?
 
 --
 Christoph Kukulies
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


GDM login without using a password

2008-11-04 Thread Roey Dror
I've searched around the internet for a way to allow a user to login
into GDM without using a password.
I know that GDM has an automatic login feature, but that's not what I'm looking.
I really do not wish to create a user with an empty password, in order
not to compromise the entire system security.
I found a mini-HOWTO which suggests using the pam_filelist module.
Unfortunately, I couldn't find this module in the ports system.

Is there any other way to allow this user to login without using a
password only using GDM?

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


Re: /etc/src.conf WITHOUT_PROFILE=yes

2008-11-04 Thread Bruce Cran
On Tue, 4 Nov 2008 16:33:08 +0100
Johan Hendriks [EMAIL PROTECTED] wrote:

 Is it wise to set the WITHOUT_PROFILE to yes
 Some say it is, some not, and what does it do exactly?

All it does is prevent building the profiled versions of the libraries:
look in /usr/lib and you'll see for example libc.so and libc_p.so - the
_p version is the profiled version.  The only problem I can see with
disabling it using WITHOUT_PROFILE is that unless you remove the _p
libraries they'll become stale over time.

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


Re: GDM login without using a password

2008-11-04 Thread Roey Dror

 OK the pam stuff that is talked about online is found in /etc/pam.d/gdm.
 I have seen a few suggestions to change the auth to optional instead of
 required.  However there would be nothing to stop some one logging in as
 root through gdm.


Is there any other pam module which can supply a passwordless login?
maybe pam_guest?

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


Question: Howto Cvsup mirror?

2008-11-04 Thread Oliver v.B.K.
Hi,
I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
ftp mirror is working great(used a repository with cobbler) 
but with the cvsup mirror I'm quite lost.

I read in the freebsd handbook what cvsup does and how it works but I didn't 
find anywhere
explaining how to create a mirror.

Since the mirror server on the network runs centos5.2 I tried running csup 
instead of compiling cvsup with modula3.
I tried it out with the supfiles I use on the freebsd7.0 machines and it worked 
pretty well I guess...

Now... what kind of server should I use ? is there a cvsupd I can use? or a 
normal CVS server should be enough ?

Thanks

 
Oliver vBK



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question: Howto Cvsup mirror?

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 08:01:17AM -0800, Oliver v.B.K. wrote:
 Hi,
 I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
 ftp mirror is working great(used a repository with cobbler) 
 but with the cvsup mirror I'm quite lost.
 
 I read in the freebsd handbook what cvsup does and how it works but I didn't 
 find anywhere
 explaining how to create a mirror.
 
 Since the mirror server on the network runs centos5.2 I tried running csup 
 instead of compiling cvsup with modula3.
 I tried it out with the supfiles I use on the freebsd7.0 machines and it 
 worked pretty well I guess...
 
 Now... what kind of server should I use ? is there a cvsupd I can use? or a 
 normal CVS server should be enough ?
 
 Thanks
 
  
 Oliver vBK

Check /usr/ports/net/cvsup-mirror


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


Re: tangoGPS FreeBSD 7.0

2008-11-04 Thread Fabian Keil
Matthias Apitz [EMAIL PROTECTED] wrote:

 El día Thursday, October 30, 2008 a las 07:51:05PM +0100, Fabian Keil 
 escribió:
 
  Matthias Apitz [EMAIL PROTECTED] wrote:
  
   Is anybody aware of a port of tangoGPS
   http://www.tangogps.org/gps/cat/About to FreeBSD 7.0? It runs it in my
   Linux based cellphone Openmoko FreeRunner and it would be nice to have
   it as well in my eeePC (just for having better capacity for cached maps
   of OpenStreetMap and a bigger display). What kind of USB based GPS
   devices could be used in this eeePC with FreeBSD 7.0?
  
  Using your FreeRunner seems like an obvious choice to me.
  
  I got one as well, but I'm not aware of a tangoGPS port
  for FreeBSD and haven't looked into how much effort
  porting it would take either.
 
 tangoGPS compiled and works just fine in FreeBSD, just the usual way:
 
 ./configure
 make
 make install

Good to know. Are you already working on a port?

 it needs a gps daemon which is in the ports, and you need some GPS
 device RS232 or USB based and the web pages of gpsd have a long list
 of compatibel devices, for sure not all tested with FreeBSD; will see if
 I could check some out in the near future;

I was thinking about running tangoGPS on FreeBSD and
connecting it to the gpsd already running on the Freerunner.

Fabian


signature.asc
Description: PGP signature


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Julien Cigar schrieb:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
  


What I've found is enable/disable IDE Master in the BIOS settings. I 
disabled it to no avail.

Just bought a SATA CD/DVD burner hoping to get along with this.

--
Christoph  Kukulies

(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
  

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

--
Christoph Kukulies



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


Res: Question: Howto Cvsup mirror?

2008-11-04 Thread Oliver v.B.K.
Yes, I know that this package exists... but I'm trying to setup a cvsup server 
on a CENTOS 5.2 machine. 
Does the cvsup client understands only this cvsup-mirror server or is there any 
other cross-platform(centos) server I can use ? for example a CVS server ?

thanks

 
Oliver vBK





De: Yuri Pankov [EMAIL PROTECTED]
Para: Oliver v.B.K. [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Enviadas: Terça-feira, 4 de Novembro de 2008 14:30:47
Assunto: Re: Question: Howto Cvsup mirror?

On Tue, Nov 04, 2008 at 08:01:17AM -0800, Oliver v.B.K. wrote:
 Hi,
 I've been trying to setup a freebsd7.0 mirror on my network for my needs. The 
 ftp mirror is working great(used a repository with cobbler) 
 but with the cvsup mirror I'm quite lost.
 
 I read in the freebsd handbook what cvsup does and how it works but I didn't 
 find anywhere
 explaining how to create a mirror.
 
 Since the mirror server on the network runs centos5.2 I tried running csup 
 instead of compiling cvsup with modula3.
 I tried it out with the supfiles I use on the freebsd7.0 machines and it 
 worked pretty well I guess...
 
 Now... what kind of server should I use ? is there a cvsupd I can use? or a 
 normal CVS server should be enough ?
 
 Thanks
 
  
 Oliver vBK

Check /usr/ports/net/cvsup-mirror


HTH,
Yuri



  Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua 
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using csup

2008-11-04 Thread Jerry McAllister
On Mon, Nov 03, 2008 at 05:38:28PM -0800, David Allen wrote:

 I'd like to move to using csup(1) and there's an error in the manpage
 that's raising some questions for me:
 
 OPTIONS
 base=base   The default base directory is /usr/local/etc/csup.
 
 FILES
 /usr/local/etc/cvsupDefault base directory.
 sup Default collDir subdirectory.
 base/collDir/collection/checkouts*  List files.
 
 Assuming that the default 'base' directory is /usr/local/etc/cvsup, would
 the following three files be sufficient for csup to work?

I have mine all in one file and pull all the updates at once.
You can name the supfile on your csup command line.  Then put
it anywhere you want.   Mine is in /etc.

jerry


 
 # /usr/local/etc/cvsup/standard-supfile
 *default tag=RELENG_7_0
 *default host=cvsup10.us.FreeBSD.org
 *default release=cvs delete use-rel-suffix compress
 src-all
 
 # /usr/local/etc/cvsup/doc-supfile
 doc-all
 
 # /usr/local/etc/cvsup/ports-supfile
 ports-all tag=.
 
 # usr/local/etc/cvsup/sup/refuse
 [contents of global refusefile]
 ___
 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: help with MY Book external drive

2008-11-04 Thread Robert
On Tue, 4 Nov 2008 11:13:21 + (GMT)
AN [EMAIL PROTECTED] wrote:

 I just purchased a WD MY Book external USB disk, I reformatted in UFS
 and created a filesystem with sysinstall.  I was able to put data on
 it successfully, however overnite I had a power failure.  Now I am
 unable to mount the drive.  The blue light is on, so it seems to be
 getting power but the computer does not see it when I plug in the USB
 cable.  I can not run fsck because the system says /dev/da0s1d no
 such file or directory.  I tried da0s1, da0s1c, and da0s1d no luck.
 I also tried to plug the disk into another machine, same thing the
 disk is not recognized.  Is it totally gone?Any help to recover
 this disk would be really appreciated.
 
 TIA

I have a bit of experience with MyBook. I had a friend ask me to look
at two of hers that did the same thing yours is doing. It was a 500G
that was out of warranty. I was able to open it up and found a standard
3.5 inch SATA hard drive. 

I directly connected it to a computer and the drive was totally dead.
If the drive was connect to one of the first four physical drives that
bios checked, then bios would halt and freeze. If it was connected
through an add-on SATA card, then it bios would not recognize it.

I purchased a replacement 500G SATA drive from NewEgg that was on sale
and was able to install it in the original MyBook box. It is working
perfectly. The drive I purchased carries a 3 year warranty as an added
benefit whereas the MyBook is only a year.

The controller is what make the front light operate and has nothing to
do with the drive. The other thing you might want to check it the power
adapter. The other MyBook failed in the exact same way but when I
changed the adapter it was just fine. 

I hope this helps but YMMV

Good luck

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Christoph Kukulies schrieb:

Julien Cigar schrieb:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
  


What I've found is enable/disable IDE Master in the BIOS settings. I 
disabled it to no avail.

Just bought a SATA CD/DVD burner hoping to get along with this.



Pitfall - SATA CDROM drive is not seen by the BIOS so I cannot boot from 
it or
is there a way to get around this? Any other method to boot from? This 
motherboard isn't one of the
newest, in contrary, quite old. Doesn't seem to support boot from USB 
device, so I depend on

getting the system booted from CDROM.

--
Christoph Kukulies

--
Christoph  Kukulies

(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
 

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config


and so on.

Any clues?

--
Christoph Kukulies


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


Re: garmin forerunner 305

2008-11-04 Thread Hans Petter Selasky
On Tuesday 04 November 2008, Bruce Cran wrote:
 On Tue, 04 Nov 2008 14:57:14 +0300

 Boris Samorodov [EMAIL PROTECTED] wrote:
  Bruce Cran [EMAIL PROTECTED] writes:
   I don't know if it'll work with the usb stack that's in shipping
   version of FreeBSD though, and even with the new stack I had to
   make a change to libgpsusb.c in gpsbabel to get it working.
 
  Can you submit a patch? Thanks!

 Having just read about endpoint addresses I'm not sure who's wrong.
 gpsbabel truncates the address to the first 4 bytes using
 USB_ENDPOINT_ADDRESS_MASK from libusb20 while
 the stack clearly wants the rest, including the top 'direction' bit.  In
 fact in /sys/dev/usb2/core/usb2_device.c line 114 it masks out the
 reserved bits but still keeps the direction bit. usb2_get_pipe_by_addr
 was failing when passed address 1 because the full endpoint address is
 0x81 (endpoint 1, direction IN).  It looks as though by changing EA_MASK
 to be just the endpoint number would fix the problem, but I'm not
 sure if that's correct.

Hi,

I'm going to fix this in libusb20. In the callbacks in libusb20 we know the 
direction and I will simply just fix it there. The applications I tested so 
far passed the correct endpoint value.

--HPS

int
usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 0));
}

int
usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 0));
}

int
usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 1));
}

int
usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes,
int size, int timeout)
{
return (usb_std_io(dev, ep, bytes, size, timeout, 1));
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk top usage PIDs

2008-11-04 Thread Adam McDougall

Eduardo Meyer wrote:

Hello,

I have some serious issue. Sometimes something happens and my disk
usage performance find its limit quickly. I follow with gstat and
iostat -xw1, and everything usually happens just fine, with %b around
20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending
requests and %b is always on 100% (or more than this).

fstat and lsof gives me no hint, because the type of programs as well
as the amount of 'em is just the same.

How can I find the PID which is hammering my disk? Is there an iotop
or disktop tool or something alike?

Its a mail server. I have pop3, imap, I also have maildrop and
sometimes, httpd, working around the busiest mount point.

I have also started AUDIT, however all I can get are the top PIDs
which issue read/write requests. Not the requests which take longer to
perform (the busiest ones), or should I look for some special audit
class or event other than open, read and write?

Thank you in advance.

  

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


RE: garmin forerunner 305

2008-11-04 Thread Bob McConnell
On Behalf Of Bruce Cran
 On Thu, 4 Sep 2008 20:24:02 +0100
 Bruce Cran [EMAIL PROTECTED] wrote:
 
 On Thu, 4 Sep 2008 11:51:33 -0300
 Joey Mingrone [EMAIL PROTECTED] wrote:
 
  Has anyone had any success collecting data from a Garmin Forerunner
  305?
  
  When I connect the device I see the kernel messages:
  Sep  4 11:39:22 jrm root: Unknown USB device: vendor 0x091e product
  0x0003 bus uhub1
  Sep  4 11:39:22 jrm kernel: ugen0: vendor 0x091e product 0x0003,
  class 255/255, rev 1.10/0.01, addr 2 on uhub1
  
  The documentation for the port astro/GPSMan seems to indicate it
  supports this model, but I haven't had any luck.
  
  % uname -a
  FreeBSD xxx.xxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Thu Jun
12
  18:47:50 ADT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/xxx  i386
 
 Unfortunately Garmin use their own protocol for communicating between
 the GPS and the PC.  Under Linux it's supported by the garmin_gps
 driver but there's no equivalent for FreeBSD yet.
 
 
 Sorry, it turns out that's wrong: the gpsbabel developers recommend
not
 using garmin_gps because apparently it often doesn't work.  Instead
 they recommend using gpsbabel's 'garmin' input/output format.  It
 interfaces to the device using libusb - which, fortunately for us runs
 on FreeBSD! I've just successfully read back GPS data into a GPX file
 using gpsbabel on FreeBSD 8-CURRENT and the 'usb2' usb stack. 
 
 I don't know if it'll work with the usb stack that's in shipping
 version of FreeBSD though, and even with the new stack I had to make a
 change to libgpsusb.c in gpsbabel to get it working.

The best way to help fix these problems are:

A) Submit a patch for the changes you made.

B) Contact the maintainers and provide them with all of the details,
what you found, what didn't work, what you modified and the final
results. If you have traces or data captures, they may want to see them.
They can't fix problems they don't understand. If they don't have access
to that hardware, or something similar, they might even ask you to do
some experiments for them to extend their knowledge. All of that will
help them improve the quality of future releases.

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


Question about /dev/sequencer

2008-11-04 Thread Gonzalo Nemmi
[EMAIL PROTECTED] ~]% uname -a
FreeBSD inferna.inferna.com.ar 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Jul 20 
03:44:42 ART 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INFERNA  i386

My soundcar is already configured and running properly, kmid complains 
about /dev/sequencer being used by another app ...
I checked on dev but there's no /dev/sequencer at all..
Any hints on how to configure my sound card to create it?

[EMAIL PROTECTED] ~]% grep pcm0 /var/log/messages
Nov  4 13:40:31 inferna kernel: pcm0: Creative EMU10K1 port 0xd880-0xd89f 
irq 16 at device 0.0 on pci4
Nov  4 13:40:31 inferna kernel: pcm0: SigmaTel STAC9721/23 AC97 Codec
Nov  4 13:40:31 inferna kernel: pcm0: [ITHREAD]
[EMAIL PROTECTED] ~]% cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: Creative EMU10K1 at io 0xd880 irq 16  [MPSAFE] (4p:1v/2r:1v channels 
duplex default)
[EMAIL PROTECTED] ~]%

As a side effect of that, Fretsonfire can't play the mid songs .. so it plays 
the ogg but the mids are missing == unplayable :(

I found this:

# cd /dev
# sh MAKEDEV snd0

on http://wiki.dragonflybsd.org/index.cgi/sound-setup.html and gave it a shot 
just in case but it didn't work ...

Any hint will be greatly aprecciated

Thanks in advanced
Regards
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Marc G. Fournier

On Wed, 5 Nov 2008, andrew clarke wrote:


On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]) wrote:


For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
to set things up.


I stopped using bsdstats after it caused my FreeBSD router to take too
long to boot up after a reboot.  If I recall correctly, I had
bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
was called before ppp was able to start, so it couldn't connect to the
bsdstats server.  On the other hand this was a while ago and I am
going by memory, so I may be wrong about what happened or it was just
a coincidence.  At the time I was more interested in getting the
router running so I didn't really care for debugging what was going
on.  I realise this is a bit of a vague bug report, so feel free to
ignore it.


There is an optional flag for 'reporting on reboot' ... the original 
script only did reporting monthly, out of periodic, but some ppl (ie. 
using laptops) suggesting an optional flag so that when they rebooted, 
they would be counted also ...


And you are correct, just change:

bsdstats_enable=YES

to

bsdstats_enable=NO

And 'on reboot' will eb disabled, and only periodic will be used ... at a 
minimum, you just need:


monthly_statistics_enable=YES

in /etc/periodic.conf, wich will only report OS/version and skip the 
devices/ports reports ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xfce decktop time display

2008-11-04 Thread Robert
On Tue, 4 Nov 2008 21:53:47 +0800
FBSD1 [EMAIL PROTECTED] wrote:

 Using Xfce4 and the time is displayed in military time 2200.
 Want to change this to regular AM/PM displayed time. 10pm
 Been through the manual and all the menus and can not find knob to
 change the time setting.
 
 Thanks for any help you can give.
 
Right click the time display and uncheck 24 hours
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Gabriel Lavoie
When are the stats updated on bsdstats.org?

Thanks

Gabriel

2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 On Wed, 5 Nov 2008, andrew clarke wrote:

  On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED])
 wrote:

  For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
 to set things up.


 I stopped using bsdstats after it caused my FreeBSD router to take too
 long to boot up after a reboot.  If I recall correctly, I had
 bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
 was called before ppp was able to start, so it couldn't connect to the
 bsdstats server.  On the other hand this was a while ago and I am
 going by memory, so I may be wrong about what happened or it was just
 a coincidence.  At the time I was more interested in getting the
 router running so I didn't really care for debugging what was going
 on.  I realise this is a bit of a vague bug report, so feel free to
 ignore it.


 There is an optional flag for 'reporting on reboot' ... the original script
 only did reporting monthly, out of periodic, but some ppl (ie. using
 laptops) suggesting an optional flag so that when they rebooted, they would
 be counted also ...

 And you are correct, just change:

 bsdstats_enable=YES

 to

 bsdstats_enable=NO

 And 'on reboot' will eb disabled, and only periodic will be used ... at a
 minimum, you just need:

 monthly_statistics_enable=YES

 in /etc/periodic.conf, wich will only report OS/version and skip the
 devices/ports reports ...

 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
 )
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

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




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


Backup Winserver

2008-11-04 Thread Graham Bentley

Hi All,

Is there anyone using Rsync on windows to backup to 
a Linux or FreeBSD server?


Are the Windows Rsync implementations reliable?

Or, how are people doing this? [ftp etc?]

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


Re: Error trying to fetch kdebase-workspace-4.1.3.tar.bz2

2008-11-04 Thread Lowell Gilbert
Warren Liddell [EMAIL PROTECTED] writes:

 Does anyone have s ite where i can manually d/l
 kdebase-workspace-4.1.3.tar.bz2 as all the addies in the freebsd ports
 list for the file arent working for myself.

I don't see any signs of it being built according to the build cluster:
http://portsmon.freebsd.org/portoverview.py?category=portname=kdebase4-workspacewildcard=

but that's obviously missing real data, because I found the package in
my local package mirror:
ftp://ftp5.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/kdebase-workspace-4.1.1.tbz

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
Hello,
 I built a similar setup last weekend on a new home server with two
500GB drives. I didn't want to only put gmirror and have full drives rebuild
on power failure/reset on the system. I was told that putting bsdlabels on a
gjournal provider wasn't a good idea but I have yet to have an answer about
why... I went with this setup anyway and I made some reset tests to see what
happens on reboot and everything always went fine.

When building this setup I got one big problem. If the root filesystem (/)
was on a gjournal provider, an unclean shutdown when data was being written
on the disk rendered the system completely unbootable. I got this message:

GEOM_MIRROR: Device mirror/gm launched (2/2)
GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
GEOM_JOURNAL: Journal mirror/gmd consistent.
Trying to mount root from ufs:/dev/mirror/gm.journal

Manual root filesystem specification:
fstype:device  Mount device using filesystem fstype
   eg. ufs:da0s1a
? List valid disk boot devices
empty line  Abort manual input


mountroot ?

List of GEOM managed disk devices:
 mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm ad10s1c
ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0


As you can see, in the proposed list of disk devices devices to boot on,
mirror/gm.journala is absent. As I and Ivan Voras, that I contacted about
this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
journal consistent takes too much time to do it with the root filesystem's
provider and the kernel try to mount a device that doesn't yet exist. A bug
report has been opened about this problem. For my final setup I decided to
put the root filesystem on a separate mirrorred slice of 1GB. Since this
slice isn't often written on, not many rebuilds should occur in case of
power failure. And I made my power failure test by hitting the reset
button while writing data on this filesystem and the rebuild on 1GB doesn't
takes too much time (at most 20-30 seconds).

Now I have the question. Why the load algorith wasn't recommended? Is it
fixed in 7.0-RELEASE-p5?

Here is my complete setup that seems to boot correctly every times I made my
reset tests while writing data on each filesystems. The 2GB gjournal
provider is directly on the mirror provider for all mirrored filesystems
exept the root one and I made my bsd labels on the gjournal provider,
instead of creating a journal for every filesystem.


[EMAIL PROTECTED] ~]# cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad10s1bnoneswapsw  0   0
/dev/ad8s1b noneswapsw  0   0
/dev/mirror/root/   ufs rw  1   1
/dev/ufs/usr/usrufs rw,async2   2
/dev/ufs/var/varufs rw,async2   2
/dev/ufs/tmp/tmpufs rw,async2   2
/dev/ufs/home   /home   ufs rw,async2   2
/dev/ufs/data   /mnt/data   ufs rw,async2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0


[EMAIL PROTECTED] ~]# mount
/dev/mirror/root on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ufs/usr on /usr (ufs, asynchronous, local, gjournal)
/dev/ufs/var on /var (ufs, asynchronous, local, gjournal)
/dev/ufs/tmp on /tmp (ufs, asynchronous, local, gjournal)
/dev/ufs/home on /home (ufs, asynchronous, local, acls, gjournal)
/dev/ufs/data on /mnt/data (ufs, asynchronous, local, acls, gjournal)


[EMAIL PROTECTED] ~]# glabel status
Name  Status  Components
 ufs/usr N/A  mirror/data.journald
 ufs/var N/A  mirror/data.journale
 ufs/tmp N/A  mirror/data.journalf
ufs/home N/A  mirror/data.journalg
ufs/data N/A  mirror/data.journalh


[EMAIL PROTECTED] ~]# gjournal list
Geom name: gjournal 372943514
ID: 372943514
Providers:
1. Name: mirror/data.journal
   Mediasize: 495810966528 (462G)
   Sectorsize: 512
   Mode: r5w5e11
Consumers:
1. Name: mirror/data
   Mediasize: 497958450688 (464G)
   Sectorsize: 512
   Mode: r1w1e1
   Jend: 497958450176
   Jstart: 495810966528
   Role: Data,Journal


[EMAIL PROTECTED] ~]# gmirror list
Geom name: data
State: COMPLETE
Components: 2
Balance: split
Slice: 4096
Flags: NOFAILSYNC
GenID: 0
SyncID: 1
ID: 990032118
Providers:
1. Name: mirror/data
   Mediasize: 497958450688 (464G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad8s2
   Mediasize: 497958451200 (464G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: HARDCODED
   GenID: 0
   SyncID: 1
   ID: 235591066
2. 

Re: GDM login without using a password

2008-11-04 Thread Roey Dror

 Is there any other pam module which can supply a passwordless login?
 maybe pam_guest?


I figured it out.  Adding this line:
authsufficient  pam_guest.soguests=username nopass
to /etc/pam.d/gdm
did the trick.

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Al Plant

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

This makes the HD and CD to  work for me after the install.

The error that comes up when you burn a CD seems to be bogus as I have 
used the CD's with out error for installing on other boxes.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: [EMAIL PROTECTED] 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Hi Al,

thanks for pointing me to safe mode install. That I will probably try 
tomorrow.
The day ended up in havoc: I tried to boot a floppy to do an ASUS BIOS 
upgrade and somehow messed with the power cable.
A big flash occurred originating from the power supply. I opened the 
power supply, found a blown fuse, ran to the electronics store, bought a 
new fuse (+ one in reserve), inserted the fuse, tried the power supply, 
with connections off and a firework, prematurely - your presidential 
elections aren't finished yet - , developed in front of my face. Will 
continue tomorrow, when America has a new president.



--
Christoph

Al Plant schrieb:

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very poor
(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config


and so on.

Any clues?

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



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

This makes the HD and CD to  work for me after the install.

The error that comes up when you burn a CD seems to be bogus as I have 
used the CD's with out error for installing on other boxes.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: [EMAIL PROTECTED] 
All that's really worth doing is what we do for others.- Lewis Carrol



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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 08:13:34AM -1000, Al Plant wrote:
 Julien Cigar wrote:
 I've this problem too on almost all my machines. The only solution I've
 found is to disable DMA (atapi_dma), but then performances are very poor
 (and I'm still unable to burn a CD/DVD)

 On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:
 Hi,

 don't know whether it's the CDROM drive (a Creative 52x mx) or the  
 motherboard (ASUS P4S8X) or what.
 Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
 and the installation
 hangs right in the boot process of the installation CD disc1.

 I see

 acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
 run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

 and so on.

 Any clues?

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

 Aloha,

 I have had similiar happen on 7 and 8 Freebsd installs recently.

 If you install using safe mode it will work. Then in /boot/loader.conf

 #boot/loader.conf
 hw.ata.ata-dma=0
 hw.ata.atapi_dma=0

There is no hw.ata.ata-dma tunable.  I think you mean hw.ata.ata_dma
(note: underscore, not hyphen).  If you really are using hw.ata.ata-dma,
it does nothing.  :-)

Also folks, please remember that ATA DMA is for hard disks, and
ATAPI DMA is for ATAPI devices (CD/DVD drives).  

Error messages from xpt_* functions are from by the ATAPI-to-CAM
emulation layer (think: SCSI emulation for ATAPI devices), but are
likely signs of underlying compatibility problems between the CD/DVD
drive and FreeBSD, and not the fault of atapicam(4).

I'm not sure if there's a loader hint to disable xpt.

 The error that comes up when you burn a CD seems to be bogus as I have  
 used the CD's with out error for installing on other boxes.

The READ BIG MEDIUM ERROR often indicates that the CD/DVD drive does
not support a specific read operation mode; some CD/DVD manufacturers
don't implement this command for various reasons.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Default file permissions

2008-11-04 Thread Roey D
2008/11/4 Dánielisz László [EMAIL PROTECTED]:
 Roey, you can do a chron to chmod the downloaded directory.


Did you mean using cron?
I'm not very familiar with that, but as far as I know cron jobs can
run at specifc times, not on specifc events.
Creating a cron job that runs every 5 minutes for chmod sounds a bit
like a waste of CPU, and the effect will occur every 5 minutes, not
immidietly when a file is downloaded.
umask command seems to do the trick. Thanks.

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


xfce decktop time display

2008-11-04 Thread FBSD1
Using Xfce4 and the time is displayed in military time 2200.
Want to change this to regular AM/PM displayed time. 10pm
Been through the manual and all the menus and can not find knob to change
the time setting.

Thanks for any help you can give.

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


Re: help with MY Book external drive

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 11:13:21AM +, AN wrote:
 I just purchased a WD MY Book external USB disk, I reformatted in UFS and 
 created a filesystem with sysinstall.  I was able to put data on it 
 successfully, however overnite I had a power failure.  Now I am unable to 
 mount the drive.  The blue light is on, so it seems to be getting power 
 but the computer does not see it when I plug in the USB cable.  I can not 
 run fsck because the system says /dev/da0s1d no such file or directory.  
 I tried da0s1, da0s1c, and da0s1d no luck.  I also tried to plug the disk 
 into another machine, same thing the disk is not recognized.  Is it 
 totally gone?Any help to recover this disk would be really 
 appreciated.

Possibly, especially if you plug it into another machine and experienced
the same problem.  When you plug the drive in, does the FreeBSD kernel
output anything?  If so, what all does it output?

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Default file permissions

2008-11-04 Thread Dánielisz László
Roey, you can do a chron to chmod the downloaded directory.





From: Roey D [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, November 4, 2008 9:00:24 AM
Subject: Default file permissions

I have a server running Azureus to download torrent files. The Azureus
directory is accessible to other computers using samba.
Azureus dumps it's completed files with the 644 permissions, making
them writable only for the owner.
As far as I looked, Azureus cannot be configured to dump it's files
with different permissions.
Is there any way to apply a Inherited file permissions on a specific
directory? (i.e all files created on this folder will have a specific
permission set, unless specifically changed by some application)
I prefer doing this with the classic permission system, rather then using ACLs.

Thanks,
Roey
___
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: Problems with FreeBSD

2008-11-04 Thread J MPZ
Jeremy,

2008/11/4, Jeremy Chadwick [EMAIL PROTECTED]:

 On Tue, Nov 04, 2008 at 11:11:15AM -0200, J MPZ wrote:
  Hi Jeremy,
 
  I tried without none rules on ipfw FreeBSD (just allow ip from any to
 any)
  and error continues occurring.

 Then I have no idea.

  How I can disable the TCP extensions?
 
  I tried to set this value on this sysctl (sysctl net.inet.tcp.rfc1323=0)
 but
  not work.

 Setting the sysctl to 0 disables TCP extesnsions.

 But by not work do you mean it didn't solve the problem, or setting
 the
 sysctl failed?  I think you mean it didn't solve the problem, in
 which case, it's not the source of the problem.


It didn't solve the problem. :-/

--
 | Jeremy Chadwickjdc at parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB |


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


Webcam

2008-11-04 Thread Alexander Renn
Hi guys,

Anyone tried to get the Acer Crystal webcam (SuYin) [0xa103:0x064e] working?
I build the gspca port but it does not support this webcam.
I found that linux UVC driver supports this webcam so I tried to build the
UVC driver using the linux-kmod-compat-20080408 and here is what I got:

[EMAIL PROTECTED] /home/hyperwizard/uvc/trunk]# svn checkout
svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

[EMAIL PROTECTED] /home/hyperwizard/uvc/trunk]# make -f Makefile.kld
Warning: Object directory not changed from original
/usr/home/hyperwizard/uvc/trunk
cc -O2 -fno-strict-aliasing -pipe -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG
-DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1
-DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\01.00.20\ -D__KERNEL__
-DDRIVER_NAME=uvc -DDEV_NAME=\video\ -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc -ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder
-I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c uvc_ctrl.c
uvc_ctrl.c:19:27: error: linux/uaccess.h: No such file or directory
In file included from uvc_ctrl.c:27:
uvcvideo.h:473: warning: declaration does not declare anything
uvc_ctrl.c: In function 'uvc_entity_match_guid':
uvc_ctrl.c:629: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c: In function 'uvc_ctrl_get':
uvc_ctrl.c:928: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c:934: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c:935: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c: In function 'uvc_ctrl_set':
uvc_ctrl.c:949: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c: In function 'uvc_xu_ctrl_query':
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c: In function 'uvc_ctrl_init_device':
uvc_ctrl.c:1326: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1327: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1329: error: 'struct uvc_entity' has no member named 'processing'
uvc_ctrl.c:1330: error: 'struct uvc_entity' has no member named 'processing'
uvc_ctrl.c:1332: error: 'struct uvc_entity' has no member named 'camera'
uvc_ctrl.c:1333: error: 'struct uvc_entity' has no member named 'camera'
*** Error code 1

Stop in /usr/home/hyperwizard/uvc/trunk.

I'd be very grateful for any help.

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


Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Johan Hendriks
Hello all
I have a small issue when i switch between my console’s on a proliant DL160 G5 
machine.
It has a time gap from around 1 to 2 seconds and then it will switch to the 
next console after pressing ALT - F2

 

Do I need to set something in my loader.conf or sysctl.conf?

 

I use 7.1-PRERELEASE as of today.

I installed 7.1 Beta2 and it has this from the start.

 

 

Regards,

Johan Hendriks




 

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


Re: Watching /var/log/pflog grow

2008-11-04 Thread Matthew Seaman

cpghost wrote:

How can I watch /var/log/pflog grow with tcpdump, tail -f style?

This won't work:
  $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
because tail doesn't start at the right location.

Using a blocksize (-b) with tail may also not be right,
because the captured packets are not the same size.

This seems to work:
  $ tcpdump -n -s 116 -i pflog0
but now, both tcpdump and pflogd are competing for the same
interface pflog0.

I'm afraid that in the latter case, every packet will be
  EITHER logged by pflogd
  XORdisplayed by tcpdump.
Is that so?

If yes, /var/log/pflog would be incomplete, because some packets
would have been snatched away from pflog0 by tcpdump, before
pflogd ever got a chance to read them out.

Is there a way to watch /var/log/pflog grow, while
still making sure that pflogd logs EVERY packet that appears
on the pflog0 interface? How?



Running tcpdump against the pflog0 pseudo-interface no more stops
pflogd recording the traffic than running tcpdump on your network
interface blocks traffic from the net.

  tcpdump -vv -i pflog0

really is the way to go if you want to see what your firewall is
logging in real time.

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



signature.asc
Description: OpenPGP digital signature


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
2008/11/4 Volodymyr Kostyrko [EMAIL PROTECTED]

 2008/11/4 Gabriel Lavoie [EMAIL PROTECTED]:
  When building this setup I got one big problem. If the root filesystem
 (/)
  was on a gjournal provider, an unclean shutdown when data was being
 written
  on the disk rendered the system completely unbootable. I got this
 message:
 
  GEOM_MIRROR: Device mirror/gm launched (2/2)
  GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
  GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
  GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
 
  GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
  GEOM_JOURNAL: Journal mirror/gmd consistent.

 Just one thing - you have two separate journaled partitions, one
 journal per one partition.


Yes, this is the test setup I made with one journal for / and one journal
for /usr. Only an unclean journal on / rendered the journal unbootable. An
unclean journal on /usr gave me no problem.

If I put the journal on the slice level, with the root filesystem over the
journal. Resetting the system while writing data on any filesystem causes
the problem as the journal is shared to the root filesystem too.




  Trying to mount root from ufs:/dev/mirror/gm.journal
 
  Manual root filesystem specification:
  fstype:device  Mount device using filesystem fstype
 
 eg. ufs:da0s1a
  ? List valid disk boot devices
  empty line  Abort manual input
 
 
  mountroot ?
 
  List of GEOM managed disk devices:
 
   mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm
 ad10s1c
  ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0
 
  As you can see, in the proposed list of disk devices devices to boot on,
  mirror/gm.journala is absent. As I and Ivan Voras, that I contacted
 about
  this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
  journal consistent takes too much time to do it with the root
 filesystem's
  provider and the kernel try to mount a device that doesn't yet exist. A
 bug
  report has been opened about this problem. For my final setup I decided
 to
  put the root filesystem on a separate mirrorred slice of 1GB. Since this
  slice isn't often written on, not many rebuilds should occur in case of
  power failure. And I made my power failure test by hitting the reset
  button while writing data on this filesystem and the rebuild on 1GB
 doesn't
  takes too much time (at most 20-30 seconds).

 Good to hear it, i've fallen for that too, but the machine isn't
 powercycled at all and runs on guaranteed power. I had the similar
 problems with described setup on virtual test machine too, yet
 entering anything at mountroot prompt gave gjournal a chance to keep
 up and needed partition comes up eventually... I didn't reported that,
 thought it was a virtual machine issue.


Same thing here, I had a backup installation on another slice and when I
gave this one on the prompt, as soon as I hit Enter, GEOM_JOURNAL was
marking the journal consistent. I'm happy to hear that I'm not the only one
that had this problem. As for my setup. I put / on its own 1GB mirrored
slice with auto-synchronization and soft-updates and I put the other
filesystems (/home /usr /var /tmp) on a second fully mirrored/journalised
slice (with the journal at the slice level), with auto-synchronization on
power failure turned off and async mount option.

As for the bug report, I consider this is an easily reproductible bug and I
hope it will be solved soon! :)



  Now I have the question. Why the load algorith wasn't recommended? Is
 it
  fixed in 7.0-RELEASE-p5?

 Nope...

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

 --
 Sphinx of black quartz judge my vow.



Gabriel

-- 
Gabriel Lavoie
[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: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 21:45:12 +0800, joeb [EMAIL PROTECTED] wrote:
   I logon from F2 as root and then startx.

As root? No good idea. You should run from a !root user account.

 I believe F9 only works if you use the xorg logon session control.

No, it works when you startx from after a normal login, too.
I do know that, it's my setting at the moment. :-)

So if you would create a normal user account and add these files:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

2. ~/.xinitc

#!/bin/sh
exec xfwm

Give them +x permissions. The first file allows you to inherit your
settings from the C shell (~/.cshrc) into your X session when started
from XDM or another display manager.

After login, you can use the

% startx

command to run your XFCE session.

But in fact, running as root can't be the reason why console
switching doesn't seem to work correctly, I believe...





-- 
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 [EMAIL PROTECTED]


Watching /var/log/pflog grow

2008-11-04 Thread cpghost
How can I watch /var/log/pflog grow with tcpdump, tail -f style?

This won't work:
  $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
because tail doesn't start at the right location.

Using a blocksize (-b) with tail may also not be right,
because the captured packets are not the same size.

This seems to work:
  $ tcpdump -n -s 116 -i pflog0
but now, both tcpdump and pflogd are competing for the same
interface pflog0.

I'm afraid that in the latter case, every packet will be
  EITHER logged by pflogd
  XORdisplayed by tcpdump.
Is that so?

If yes, /var/log/pflog would be incomplete, because some packets
would have been snatched away from pflog0 by tcpdump, before
pflogd ever got a chance to read them out.

Is there a way to watch /var/log/pflog grow, while
still making sure that pflogd logs EVERY packet that appears
on the pflog0 interface? How?

Thanks
-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: Problems with FreeBSD

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 11:11:15AM -0200, J MPZ wrote:
 Hi Jeremy,
 
 I tried without none rules on ipfw FreeBSD (just allow ip from any to any)
 and error continues occurring.

Then I have no idea.

 How I can disable the TCP extensions?
 
 I tried to set this value on this sysctl (sysctl net.inet.tcp.rfc1323=0) but
 not work.

Setting the sysctl to 0 disables TCP extesnsions.

But by not work do you mean it didn't solve the problem, or setting the
sysctl failed?  I think you mean it didn't solve the problem, in
which case, it's not the source of the problem.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: help with MY Book external drive

2008-11-04 Thread AN



On Tue, 4 Nov 2008, Jeremy Chadwick wrote:


On Tue, Nov 04, 2008 at 11:13:21AM +, AN wrote:

I just purchased a WD MY Book external USB disk, I reformatted in UFS and
created a filesystem with sysinstall.  I was able to put data on it
successfully, however overnite I had a power failure.  Now I am unable to
mount the drive.  The blue light is on, so it seems to be getting power
but the computer does not see it when I plug in the USB cable.  I can not
run fsck because the system says /dev/da0s1d no such file or directory.
I tried da0s1, da0s1c, and da0s1d no luck.  I also tried to plug the disk
into another machine, same thing the disk is not recognized.  Is it
totally gone?Any help to recover this disk would be really
appreciated.


Possibly, especially if you plug it into another machine and experienced
the same problem.  When you plug the drive in, does the FreeBSD kernel
output anything?  If so, what all does it output?

--
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |



Hi Jeremy:

No messages from the kernel, nothing when I plug it in.  It is not making 
any 'clicking' sounds that you usually get when a drive dies.  I just 
don't get it.  Maybe a power spike crushed it, but if so why is the light 
on?


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


Re: yelp install error on amd64 running freebsd 6.3

2008-11-04 Thread Dino Vliet

Forwarded Message: Re: yelp install error on amd64 running 
freebsd 6.3




Tuesday, November 4, 2008 7:32 PM





From: 

Mel [EMAIL PROTECTED]
 





To: 

freebsd-questions@freebsd.org, [EMAIL PROTECTED]


On Tuesday 04 November 2008 19:19:44 Dino Vliet wrote:
 Dear freebsd people,
 who is able to help me with this problem I have on my machine (a amd64
 system running freebsd 6.3).

What did you do back in April, when you had the exact same problem?

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.

**

I moved:-)
No seriously, I never solved it,  because I relocated and didn't have internet 
access for a long time, I didn't look into it anymore. I tried to resolve it 
though in april, but the resolutions given to me didn't bring me closer to a 
solution.  

Have any thoughts?





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


Re: Unable to mount / in read - write mode

2008-11-04 Thread Roey Dror
On Tue, Nov 4, 2008 at 8:57 PM, Popof Popof [EMAIL PROTECTED] wrote:
 I don't know where but I made a mistake and I am always booting on the 6.0
 kernel.

Are you using the GENERIC kernel or a custom one?

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


Re: yelp install error on amd64 running freebsd 6.3

2008-11-04 Thread Mel
On Tuesday 04 November 2008 19:19:44 Dino Vliet wrote:
 Dear freebsd people,
 who is able to help me with this problem I have on my machine (a amd64
 system running freebsd 6.3).

What did you do back in April, when you had the exact same problem?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how much memory can be support in FreeBSD system?

2008-11-04 Thread Alex Zhang
Hi buddy.

 

I'm a new comer and want to configure a Virtual server base on UNIX. The
safe, steady and easy for maintenance is needed. 

Approximately 8GB memory will be mounted. Can anyone tell me how much memory
can be supported in FreeBSD?

Thanks.

 

BR

Alex 

 

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


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 04 Nov 2008 04:17:35 +0300, The Ghost [EMAIL PROTECTED] wrote:
 Hello,
 
 
 I migrated to freensd-7.0-release and noticed that I can't switch
 to the virtual consoles by pressing Alt+Fx once I've started X !
 I guess the key combination has changed in the nre version of
 Xorg implemented in FreeBSD 7.0, so I took a look at the online
 handbook, but I haven't found anything about the new way to switch
 to the virtual consoles... Could anyone please point me at what do I miss?..

Well, this hasn't something to do with FreeBSD 7. From my own
experience, virtual console switching has always been the same
since 4.0 with XFree86.

When you're inside X, you need to add the Control key to the
key combination, e. g. Ctrl-Alt-PF1. So you leave X (on its
VT, usually PF9, see /etc/ttys) and get to the 1st virtual
console. As long as you're in text mode, you can switch
around with Alt+PF1 ... Alt+PF9 as you mentioned correctly.

The functions of Alt+PF1 ... Alt+PF12 inside X depends on the
window manager / desktop environment you're running, it can,
for example, be used to switch virtual desktops.


-- 
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 [EMAIL PROTECTED]


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko
2008/11/4 Gabriel Lavoie [EMAIL PROTECTED]:
 When building this setup I got one big problem. If the root filesystem (/)
 was on a gjournal provider, an unclean shutdown when data was being written
 on the disk rendered the system completely unbootable. I got this message:

 GEOM_MIRROR: Device mirror/gm launched (2/2)
 GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
 GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
 GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.

 GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
 GEOM_JOURNAL: Journal mirror/gmd consistent.

Just one thing - you have two separate journaled partitions, one
journal per one partition.

 Trying to mount root from ufs:/dev/mirror/gm.journal

 Manual root filesystem specification:
 fstype:device  Mount device using filesystem fstype

eg. ufs:da0s1a
 ? List valid disk boot devices
 empty line  Abort manual input


 mountroot ?

 List of GEOM managed disk devices:

  mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm ad10s1c
 ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0

 As you can see, in the proposed list of disk devices devices to boot on,
 mirror/gm.journala is absent. As I and Ivan Voras, that I contacted about
 this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
 journal consistent takes too much time to do it with the root filesystem's
 provider and the kernel try to mount a device that doesn't yet exist. A bug
 report has been opened about this problem. For my final setup I decided to
 put the root filesystem on a separate mirrorred slice of 1GB. Since this
 slice isn't often written on, not many rebuilds should occur in case of
 power failure. And I made my power failure test by hitting the reset
 button while writing data on this filesystem and the rebuild on 1GB doesn't
 takes too much time (at most 20-30 seconds).

Good to hear it, i've fallen for that too, but the machine isn't
powercycled at all and runs on guaranteed power. I had the similar
problems with described setup on virtual test machine too, yet
entering anything at mountroot prompt gave gjournal a chance to keep
up and needed partition comes up eventually... I didn't reported that,
thought it was a virtual machine issue.

 Now I have the question. Why the load algorith wasn't recommended? Is it
 fixed in 7.0-RELEASE-p5?

Nope...

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

-- 
Sphinx of black quartz judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: virtual consoles on freebsd-7.0-release

2008-11-04 Thread joeb
I logon from F2 as root and then startx.
I believe F9 only works if you use the xorg logon session control.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Yuri Pankov
Sent: Tuesday, November 04, 2008 7:49 PM
To: Steven Susbauer
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: virtual consoles on freebsd-7.0-release

On Tue, Nov 04, 2008 at 05:45:12AM -0600, Steven Susbauer wrote:
 joeb wrote:
  When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the
 selected
 virtual console.
 But I can not find any way to return to the xorg/xfce desktop running
 in the
 virtual console I left from.
  Alt+Fx does take me to the virtual console where x11/xfce is suppose
 to be,
 but puts me in command line mode.
 The command ps ax shows xorg/xfce is still running.

 How do I get back to the xorg/xfce desktop running in the virtual console
I
 left from?

 You should be able to get back into Xorg with Alt F7 or F8. Does this
 not work?

  Steve

X usually runs on ttyv8, so it should be Alt+F9.


HTH,
Yuri
___
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: how much memory can be support in FreeBSD system?

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 09:52:20PM +0800, Alex Zhang wrote:
 I'm a new comer and want to configure a Virtual server base on UNIX. The
 safe, steady and easy for maintenance is needed. 
 
 Approximately 8GB memory will be mounted. Can anyone tell me how much memory
 can be supported in FreeBSD?

On 64-bit FreeBSD (what's called amd64, but is not specific to AMD
CPUs; don't let the name mislead you), you should be able to use up
to 1TB of memory.

On 32-bit FreeBSD (what's called i386), you can use up to 4GB (but
once you surpass ~3GB, you'll only see ~3.25GB usable; this is not
a FreeBSD problem, it's an x86 design thing).

On 32-bit FreeBSD, you can use what's called PAE mode to increase
that 4GB limit to 64GB, but there are repercussions to using PAE
(read the Wikipedia article).  There are also numerous drivers on
FreeBSD which do not work in PAE mode.

If at all possible, make sure your processor works in 64-bit mode
and go with amd64.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: garmin forerunner 305

2008-11-04 Thread Boris Samorodov
Bruce Cran [EMAIL PROTECTED] writes:

 I don't know if it'll work with the usb stack that's in shipping
 version of FreeBSD though, and even with the new stack I had to make a
 change to libgpsusb.c in gpsbabel to get it working.

Can you submit a patch? Thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Polytropon
On Tue, 4 Nov 2008 15:45:28 +0800, joeb [EMAIL PROTECTED] wrote:
 How do I get back to the xorg/xfce desktop running in the virtual console I
 left from?

You could try to press the Pause / SysRq key as many times as needed
until you're on your X screen again.

Have a look into /etc/ttys where the correct terminal should be
specified, e. g. 

ttyv8   /usr/local/bin/xdm -nodaemon  xterm   off secure
   ^^
So X will be on ttyv8 which is number 9 (Alt+PF9).

May I ask how you initiate your X (XFCE) session? This could give
a hint why console switching doesn't work as intended.


-- 
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 [EMAIL PROTECTED]


Re: Unable to mount / in read - write mode

2008-11-04 Thread mdh
--- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote:
 From: Popof Popof [EMAIL PROTECTED]
 Subject: Unable to mount / in read - write mode
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Date: Tuesday, November 4, 2008, 1:57 PM
 Hi,
 I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
 I don't know where but I made a mistake and I am always
 booting on the 6.0
 kernel.
 The problem is that I have an error during boot process:
 
 mount option rw is unknown
  mount: /dev/ad0s2a : Invalid argument
  Mounting root filesystem rw failed, startup aborted
  Boot interrupted
 
 
 Its seems that tools have correctly upgraded (man mount let
 me see that I
 use the FreeBSD 7 version of mount) but not the kernel.
 
 Does someone has an idea to allow me to use my filesystem
 in read write mode
 ?

This seems to be a problem with the mount command.  Why do you feel the kernel 
may be at fault?  If the kernel can get to mount, then it has obviously already 
mounted / (though possibly in read-only mode, which is something you should let 
us know...)
There is also not necessarily a corrolation between a man page and the actual 
binary.  Check the binary's modification time and such for better detail here.  
Beyond that, try running the mount command manually from the command line after 
booting from a CD or in single-user mode, if single-user mode works.  

- mdh



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


Unable to mount / in read - write mode

2008-11-04 Thread Popof Popof
Hi,
I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
I don't know where but I made a mistake and I am always booting on the 6.0
kernel.
The problem is that I have an error during boot process:

mount option rw is unknown
 mount: /dev/ad0s2a : Invalid argument
 Mounting root filesystem rw failed, startup aborted
 Boot interrupted


Its seems that tools have correctly upgraded (man mount let me see that I
use the FreeBSD 7 version of mount) but not the kernel.

Does someone has an idea to allow me to use my filesystem in read write mode
?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread af300wsm



 Following onto the e-mail I made before, apparently that little  

permissions


 difference for the directory, .ssh, was the problem. Changing it to 644  

has,


 apparently, fixed the problem.



Cool :) . I learnt this from my first SSH public-key authentication

configuration ;)



Ashish

--



Of course I meant to say that changing the perms to 755 fixed it, not 644.  
I'm still reviewing the docs but I think that this directory could be made  
700, is that correct? Or, at the least, 750?

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


Re: Re: Authentication with SSH using public keys

2008-11-04 Thread Yuri Pankov
On Tue, Nov 04, 2008 at 12:39:36PM -0800, [EMAIL PROTECTED] wrote:


  Following onto the e-mail I made before, apparently that little 
 permissions

  difference for the directory, .ssh, was the problem. Changing it to 
 644 
 has,

  apparently, fixed the problem.



 Cool :) . I learnt this from my first SSH public-key authentication

 configuration ;)



 Ashish

 --


 Of course I meant to say that changing the perms to 755 fixed it, not 
 644. I'm still reviewing the docs but I think that this directory could 
 be made 700, is that correct? Or, at the least, 750?

From ssh(1):
 ~/.ssh/
 This directory is the default location for all user‐specific con‐
 figuration and authentication information.  There is no general
 requirement to keep the entire contents of this directory secret,
 but the recommended permissions are read/write/execute for the
 user, and not accessible by others.

So 700 is not only possible, but also recommended. :-)


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


Re: Problems with FreeBSD

2008-11-04 Thread J MPZ
Hi Paul,

When my connections freeze, I open the tcpdump in other terminal. If I type
something, type Enter, on the terminal frozen, the tcpdump show packets,
like that:

11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 193:241(48)
ack 0 win 15136 nop,nop,timestamp 1556398494 745829191,nop,nop,sack 1
{1428:1664}
11:18:45.625839 IP (tos 0x10, ttl  64, id 23438, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264  189.21.230.195.20787: ., cksum
0x4d03 (correct), 1664:1664(0) ack 241 win 65535 nop,nop,timestamp
745898173 1556398494
11:18:45.707825 IP (tos 0x0, ttl  51, id 652, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 241:289(48)
ack 0 win 15136 nop,nop,timestamp 1556398704 745829191,nop,nop,sack 1
{1428:1664}
11:18:45.807839 IP (tos 0x10, ttl  64, id 23493, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264  189.21.230.195.20787: ., cksum
0x4b4b (correct), 1664:1664(0) ack 289 win 65535 nop,nop,timestamp
745898355 1556398704
11:18:45.867181 IP (tos 0x0, ttl  51, id 653, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 289:337(48)
ack 0 win 15136 nop,nop,timestamp 1556398903 745829191,nop,nop,sack 1
{1428:1664}
11:18:45.966840 IP (tos 0x10, ttl  64, id 23529, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264  189.21.230.195.20787: ., cksum
0x49b5 (correct), 1664:1664(0) ack 337 win 65535 nop,nop,timestamp
745898514 1556398903

When I executed 'ls' on the terminal frozen, returns this on tcpdump:

11:19:35.738788 IP (tos 0x0, ttl  51, id 654, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 337:385(48)
ack 0 win 15136 nop,nop,timestamp 1556448796 745829191,nop,nop,sack 1
{1428:1664}
11:19:35.788428 IP (tos 0x0, ttl  51, id 655, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 385:433(48)
ack 0 win 15136 nop,nop,timestamp 1556448891 745829191,nop,nop,sack 1
{1428:1664}
11:19:35.788483 IP (tos 0x10, ttl  64, id 34519, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264  189.21.230.195.20787: ., cksum
0xc3d4 (correct), 1664:1664(0) ack 433 win 65535 nop,nop,timestamp
745948332 1556448796
11:19:36.229773 IP (tos 0x0, ttl  51, id 656, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 433:481(48)
ack 0 win 15136 nop,nop,timestamp 1556449351 745829191,nop,nop,sack 1
{1428:1664}
11:19:36.328854 IP (tos 0x10, ttl  64, id 34621, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264  189.21.230.195.20787: ., cksum
0xbf5c (correct), 1664:1664(0) ack 481 win 65535 nop,nop,timestamp
745948873 1556449351

I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP


2008/11/3, Paul A. Procacci [EMAIL PROTECTED]:

 J MPZ wrote:

 Hi guys,

 I have some problem with my FreeBSD server. I have this:

 ####  #
 # Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
 ####  #

 If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
 of some command is a big text. Example:

 I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
 execute some commands, like: 'pwd', 'whoami', 'ls /'... this work
 perfectly.
 But, if I run some command that return a big text, like as: 'ls /dev/', or
 top, my connection freeze.

 In other terminal, the tcpdump continues showing packets in this
 connection
 that was freeze.

 If I try to access the Linux2, throught FreeBSD (redirect port on natd or
 redirect port with rinetd), the same thing happens.

 Is this a problem with FreeBSD? Someone know how I can fix it? Some
 sysctl?

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


 The tcpdump that you say continues showing packets..are the packets
 leaving the freeBSD machine or arriving at the FreeBSD machine.
 My guess is you meant leaving the FreeBSD destined for your linux machine.
  If this is the case, then the problem most likely lies with the ASA.
 If you monitor the ASA's external interface during your testing, do you see
 packets arriving?  If so, do you see packets leaving the internal interface
 going back to your Linux1 machine?

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


7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-04 Thread Christoph Kukulies

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and 
the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config

and so on.

Any clues?

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


Re: virtual consoles on freebsd-7.0-release

2008-11-04 Thread Steven Susbauer

joeb wrote:
	When I am in xorg/xfce and do Ctrl+Alt+Fx it does in fact open the 
selected

virtual console.
But I can not find any way to return to the xorg/xfce desktop running in 
the

virtual console I left from.
 Alt+Fx does take me to the virtual console where x11/xfce is suppose to 
be,

but puts me in command line mode.
The command ps ax shows xorg/xfce is still running.

How do I get back to the xorg/xfce desktop running in the virtual console I
left from?


You should be able to get back into Xorg with Alt F7 or F8. Does this
not work?

 Steve


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


Re: Default file permissions

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 10:00:24AM +0200, Roey D wrote:
 I have a server running Azureus to download torrent files. The Azureus
 directory is accessible to other computers using samba.
 Azureus dumps it's completed files with the 644 permissions, making
 them writable only for the owner.
 As far as I looked, Azureus cannot be configured to dump it's files
 with different permissions.
 Is there any way to apply a Inherited file permissions on a specific
 directory? (i.e all files created on this folder will have a specific
 permission set, unless specifically changed by some application)
  I prefer doing this with the classic permission system, rather then using 
 ACLs.

See umask(2), which is also a command-line utility.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: Problems with FreeBSD

2008-11-04 Thread J MPZ
Hi Jeremy,

I tried without none rules on ipfw FreeBSD (just allow ip from any to any)
and error continues occurring.

How I can disable the TCP extensions?

I tried to set this value on this sysctl (sysctl net.inet.tcp.rfc1323=0) but
not work.



2008/11/3, Jeremy Chadwick [EMAIL PROTECTED]:

 On Mon, Nov 03, 2008 at 10:43:52PM -0200, J MPZ wrote:
  Hi guys,
 
  I have some problem with my FreeBSD server. I have this:
 
  ####  #
  # Linux1  #  - ASA  - Internet  - # FreeBSD  #  - # Linux2 #
  ####  #
 
  If I run a ssh for Linux1 to FreeBSD, my connection freeze when the
 return
  of some command is a big text. Example:
 
  I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
  execute some commands, like: 'pwd', 'whoami', 'ls /'... this work
 perfectly.
  But, if I run some command that return a big text, like as: 'ls /dev/',
 or
  top, my connection freeze.
 
  In other terminal, the tcpdump continues showing packets in this
 connection
  that was freeze.

 Does the FreeBSD machine run a firewall at all, e.g. pf(4)?

 If so, you probably have some rules which are broken.  (I've seen this
 problem on FreeBSD 6.x when using rules which are not correctly
 configured to match initiate state).  Also, if a firewall is in use and
 you're blocking all forms of ICMP, that would impact path MTU discovery.
 Naughty.

 You might also try disabling TCP extensions on the FreeBSD box to see if
 it makes any difference.  Note that this can impact performance (large
 TCP window sizes won't be negotiated), but it's worth disabling for a
 test case.

 sysctl net.inet.tcp.rfc1323=0

  If I try to access the Linux2, throught FreeBSD (redirect port on natd or
  redirect port with rinetd), the same thing happens.
 
  Is this a problem with FreeBSD? Someone know how I can fix it? Some
 sysctl?

 --
 | Jeremy Chadwickjdc at parodius.com |
 | Parodius Networking   http://www.parodius.com/ |
 | UNIX Systems Administrator  Mountain View, CA, USA |
 | Making life hard for others since 1977.  PGP: 4BD6C0CB |


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


Re: help with MY Book external drive

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 11:13:21 + (GMT), AN [EMAIL PROTECTED] wrote:
 I just purchased a WD MY Book external USB disk, I reformatted in UFS
 and created a filesystem with sysinstall.  I was able to put data on
 it successfully, however overnite I had a power failure.  Now I am
 unable to mount the drive.  The blue light is on, so it seems to be
 getting power but the computer does not see it when I plug in the USB
 cable.  I can not run fsck because the system says /dev/da0s1d no such
 file or directory.  I tried da0s1, da0s1c, and da0s1d no luck.  I also
 tried to plug the disk into another machine, same thing the disk is
 not recognized.  Is it totally gone?  Any help to recover this disk
 would be really appreciated.

Do you see _anything_ in `/var/log/messages' when you attach the disk to
your FreeBSD system?

When I attach a local MyBook I have with a USB cable, `/var/log/messages'
shows:

kernel: umass0: Western Digital My Book, class 0/0, rev 2.00/10.28, addr 2 on 
uhub6
root: Unknown USB device: vendor 0x1058 product 0x1102 bus uhub6
kernel: umass0: Get Max Lun not supported (STALLED)
kernel: uhid0: Western Digital My Book, class 0/0, rev 2.00/10.28, addr 2 on 
uhub6
kernel: da0 at umass-sim0 bus 0 target 0 lun 0
kernel: da0: WD My Book 1028 Fixed Direct Access SCSI-4 device 
kernel: da0: 40.000MB/s transfers
kernel: da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)

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


Re: Slow swith between console (ALT - Fx) proliant DL160

2008-11-04 Thread Jeremy Chadwick
On Tue, Nov 04, 2008 at 03:36:51PM +0100, Johan Hendriks wrote:
 Hello all
 I have a small issue when i switch between my console?s on a proliant DL160 
 G5 machine.
 It has a time gap from around 1 to 2 seconds and then it will switch to the 
 next console after pressing ALT - F2
 
 Do I need to set something in my loader.conf or sysctl.conf?

Chances are you're using a USB keyboard.  Place the following in
/boot/loader.conf and reboot the machine:

hint.kbdmux.0.disabled=1

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Increasing the datasize limit

2008-11-04 Thread Christopher Cowart
Hello,

I have a large data-crunching job once a week that needs some more heap
space. How do I go about increasing the datasize limit for a process?

Here's what I've tried:

| $ sudo su -
| crunch# limits
| Resource limits (current):
|   cputime  infinity secs
|   filesize infinity kB
|   datasize   524288 kB
|   stacksize   65536 kB
|   coredumpsize infinity kB
|   memoryuseinfinity kB
|   memorylocked infinity kB
|   maxprocesses 5547
|   openfiles   11095
|   sbsize   infinity bytes
|   vmemoryuse   infinity kB
| crunch# limit datasize 1048576
| crunch# limits
| Resource limits (current):
|   cputime  infinity secs
|   filesize infinity kB
|   datasize   524288 kB
|   stacksize   65536 kB
|   coredumpsize infinity kB
|   memoryuseinfinity kB
|   memorylocked infinity kB
|   maxprocesses 5547
|   openfiles   11095
|   sbsize   infinity bytes
|   vmemoryuse   infinity kB
| crunch# grep -C 8 '^[^#].*datasize' /etc/login.conf
| default:\
| :passwd_format=md5:\
| :copyright=/etc/COPYRIGHT:\
| :welcome=/etc/motd:\
| :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
| :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/X11R6/bin ~/bin:\
| :nologin=/var/run/nologin:\
| :cputime=unlimited:\
| :datasize=unlimited:\
| :stacksize=unlimited:\
| :memorylocked=unlimited:\
| :memoryuse=unlimited:\
| :filesize=unlimited:\
| :coredumpsize=unlimited:\
| :openfiles=unlimited:\
| :maxproc=unlimited:\
| :sbsize=unlimited:\

According to setrlimit(2), Only the super-user may raise the maximum
limits, but apparently, I can't even increase the limit as the
superuser.

What am I missing?

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgpes2gVAcCY1.pgp
Description: PGP signature


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Mon, Nov 3, 2008 at 5:23 PM, Mario Lobo [EMAIL PROTECTED] wrote:

 On Thursday 30 October 2008 19:53:33 Juergen Lock wrote:
  In article [EMAIL PROTECTED] you write:
  Juergen Lock wrote:
   Preliminary checklist for getting flash9 to work in native firefox:
   (flash10 needs more ports work, I shall post about that seperately on
   -emulation...)  If you have additions to this please post a followup
 to
   this thread, keeping the Cc: (I'm not on -questions...)
  
   1. You need RELENG_7 from at least Mon Oct 20 11:15:57 2008 UTC
   (the relevant MFC commits are:
  http://svn.freebsd.org/viewvc/base?view=revisionrevision=183819
  http://svn.freebsd.org/viewvc/base?view=revisionrevision=184075
   - a recent HEAD should also work of course.)  There are linprocfs
   patches for RELENG_6 too (merging the former commit), but the latter
   commit can't be merged to 6 (and 7.0) since they lack the cpuset bits,
   so flash9 probably won't work on SMP there.  (Although if you have SMP
   you probably should be running 7 anyway. :)  Oh and if you do have SMP
   you also need to use the ULE scheduler, the cpuset syscalls are not
   supported with 4BSD. linprocfs patches for 6:
  
   http://people.freebsd.org/~nox/linprocfs-6.3.patchhttp://people.freebsd.org/%7Enox/linprocfs-6.3.patch
  
   http://people.freebsd.org/~nox/linprocfs-6.4.patchhttp://people.freebsd.org/%7Enox/linprocfs-6.4.patch
  
   2. Your portstree needs to be from at least Sun Oct 19 17:37:28 2008
 UTC
   (the last www/linux-flashplugin9 commit is:
  
 http://lists.freebsd.org/pipermail/cvs-ports/2008-October/158404.html
   )
  
   3. Make sure linprocfs is mounted to /compat/linux/proc .
  
   4. Make sure www/nspluginwrapper, www/linux-flashplugin9 and
   dependencies are installed and up to date(!).  (the default
   emulators/linux_base-fc4 should work, if you want to use a later one
   don't forget to set compat.linux.osrelease=2.6.16 in sysctl.conf and
   OVERRIDE_LINUX_BASE_PORT to whichever version you use in make.conf.
   Note however that on 6, only the default compat.linux.osrelease=2.4.2
   really works.)
  
   5. If the plugin doesnt show up in firefox' about:plugins, run
  nspluginwrapper -i
   /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and restart
   firefox.
  
   6. And remember there's a security advisory for the current version of
   flash9,
  
 http://www.FreeBSD.org/ports/portaudit/78f456fd-9c87-11dd-a55e-00163e00
  0016.html (if you use portaudit you need to `make
   -DDISABLE_VULNERABILITIES ...' to be able to install the port), and
 fc4
   seems to be eol'd too, so you probably want to install something like
   the noscript firefox extension,
   https://addons.mozilla.org/en-US/firefox/addon/722
   and only allow plugins (and scripts, tho thats a different problem) on
   sites you trust...
  
And finally, if you still get crashes after following the above even
   on pages that are reported to work now (like youtube) you probably
 want
   to run `ktrace -di firefox...' and look at the output using
 linux_kdump
   (thats the devel/linux_kdump port, you want to use a package), paying
   specific attention to the lines above `PSIG SIGSEGV' (or whichever
   signal you got), maybe there are still shlibs missing that the plugin
   needs (NAMI ...something.so...), and if this is the case tell us about
   it so the appropriate dependencies can be added to the relevant ports.
   If you can't figure it out I guess it doesn't hurt to post the last
   few 100 lines of the dump up to the relevant PSIG on -emulation...
  
You may also want to check linked shlibs like this:
  /compat/linux/bin/sh /compat/linux/usr/bin/ldd
   /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so and
  /compat/linux/bin/sh /compat/linux/usr/bin/ldd
   /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin (if you see
 `not
   found' in there you know something is wrong) - although that doesn't
   show libs that may be dlopen()d at runtime.
  
  Thanks for this.  I was able to get linux-flashplugin9 working in native
  Firefox 3.0.3 on FreeBSD 7-STABLE i386.  The only additional thing I had
  to do was copy
  /usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so into
  ~/.mozilla/plugins/ for Firefox to recognize the plugin.
 
  Yeah I forgot to note that you want to run nspluginwrapper -i
  as the user that will run the native browser, not as root, then the
  wrapper will go into ~/.mozilla/plugins/...
 
After that
  Youtube, google video, and google maps (incl. street view) work fine,
  but slow.  A friend of mine with a very similar setup was not so lucky
  and still has problems with flash9 locking up FF.
 
   Hmm, lockups I haven't seen yet here.
 
   HTH,
Juergen
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 It works 

Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Volodymyr Kostyrko

Carl wrote:

So how do I achieve per-slice journaling instead of per-partition?
The docs only says this: gjournal only supports UFS2. It does not 
specifically say that you cannot have per-slice journaling. However, 
since you could have other filesystems on your slice, I bet that slice 
based journaling is not supported.


I thought I read somewhere that because gjournal is block based and not 
really part of the filesystem, that it could easily be extended for any 
other filesystem. My imagination said that gjournal was probably 
therefore only temporarily limited to a slice full of UFS partitions. 
Anyone know for sure?


gjournal needs to know what what data is actually metadata. In case of 
UFS the -J flag given to newfs tells system that using this fs we should 
mark metadata for gjournal use.



Another tricky question: why would you journal a SWAP partition?


Well, I don't really want to, but how big does a partition like /var 
have to be before it's no longer ill-advised to journal it individually? 
A fair bit of writing can occur in /var and the scenario my server will 
occupy has me concerned about inglorious shutdowns.


What are the actual reasons for why journaling a small partition is 
considered a bad idea?


Journal needs to bee big enough to amass all modifications. By default 
it's 1G. Just compare this to the size of your /var.


--
Sphinx of black quartz judge my vow.

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


Wireless Nic rtl8187se

2008-11-04 Thread Wilson Ribeiro
Hi people,

i recently bought a MSI Wind U100x and couldnt configure my wireless nic
because it was not identified, how can i identify my wireless nic?

thanks,


Wilson Ribeiro
Consultor de Tecnologia da Informação
e-mail: [EMAIL PROTECTED]
phone: 55 21 34117748
mobile: 55 21 82424280
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-04 Thread Mario Lobo

 Mario try linux_base_fc7 it should stop the freezing. but myself I m having
 issues with audio and can't figure out why.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Matt :

I have no audio issues.

I have linux_base_fc4 and I just installed linux_base_fc7. How do I disable 
fc4 and enable fc7??

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Default file permissions

2008-11-04 Thread Dánielisz László
Yeah, I meant, cron.
May umask sound better, if you find out the best solution for your issue please 
let us know :)

Thank you!





From: Roey D [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, November 4, 2008 9:49:10 AM
Subject: Re: Default file permissions

2008/11/4 Dánielisz László [EMAIL PROTECTED]:
 Roey, you can do a chron to chmod the downloaded directory.


Did you mean using cron?
I'm not very familiar with that, but as far as I know cron jobs can
run at specifc times, not on specifc events.
Creating a cron job that runs every 5 minutes for chmod sounds a bit
like a waste of CPU, and the effect will occur every 5 minutes, not
immidietly when a file is downloaded.
umask command seems to do the trick. Thanks.

Roey
___
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: flash9 checklist

2008-11-04 Thread matt donovan
On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo [EMAIL PROTECTED] wrote:


  Mario try linux_base_fc7 it should stop the freezing. but myself I m
 having
  issues with audio and can't figure out why.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Matt :

 I have no audio issues.

 I have linux_base_fc4 and I just installed linux_base_fc7. How do I disable
 fc4 and enable fc7??

 --
 Mario Lobo
 http://www.mallavoodoo.com.br
 FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


they get installed in the same place, but you need fc4 for ports still so I
would keep it installed just so that the ports will think you have it in
use. They will still work though
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Increasing the datasize limit

2008-11-04 Thread Mel
On Tuesday 04 November 2008 22:52:00 Christopher Cowart wrote:

 According to setrlimit(2), Only the super-user may raise the maximum
 limits, but apparently, I can't even increase the limit as the
 superuser.

 What am I missing?

The hardcoded default of 512Meg. Adjust in /boot/loader.conf like:
kern.defdsiz=768M
kern.maxdsiz=768M

See tuning(7) for more info.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-04 Thread Mario Lobo
On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
 On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo [EMAIL PROTECTED] wrote:
   Mario try linux_base_fc7 it should stop the freezing. but myself I m
 
  having
 
   issues with audio and can't figure out why.
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  Matt :
 
  I have no audio issues.
 
  I have linux_base_fc4 and I just installed linux_base_fc7. How do I
  disable fc4 and enable fc7??
 
  --
  Mario Lobo
  http://www.mallavoodoo.com.br
  FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
  FREE) ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]

 they get installed in the same place, but you need fc4 for ports still so I
 would keep it installed just so that the ports will think you have it in
 use. They will still work though

Do I have to recompile the flash plugin with OVERRIDE_LINUX_BASE_PORT=fc7? How 
do I know which fc the pligin is using?

Thanks for helping, Matt  !

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using csup

2008-11-04 Thread Brian Whalen

David Allen wrote:

I'd like to move to using csup(1) and there's an error in the manpage
that's raising some questions for me:

OPTIONS
base=base   The default base directory is /usr/local/etc/csup.

FILES
/usr/local/etc/cvsupDefault base directory.
sup Default collDir subdirectory.
base/collDir/collection/checkouts*  List files.

Assuming that the default 'base' directory is /usr/local/etc/cvsup, would
the following three files be sufficient for csup to work?

# /usr/local/etc/cvsup/standard-supfile
*default tag=RELENG_7_0
*default host=cvsup10.us.FreeBSD.org
*default release=cvs delete use-rel-suffix compress
src-all

# /usr/local/etc/cvsup/doc-supfile
doc-all

# /usr/local/etc/cvsup/ports-supfile
ports-all tag=.

# usr/local/etc/cvsup/sup/refuse
[contents of global refusefile]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

I like running this script.

It requires the port/package fastest-cvsup, it will test for the fastest 
one then use that.  Any server statement in your file is disregarded.  
You'll the the script still calls csup as you desire.


#!/bin/sh
   if SERVER=`/usr/local/bin/fastest_cvsup -q -c us`; then
   /usr/bin/csup -g -L 1 -h $SERVER 
/usr/share/examples/cvsup/stable-supfile

 fi

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


Re: Backup Winserver

2008-11-04 Thread Roey D
2008/11/4 Graham Bentley [EMAIL PROTECTED]:
 Hi All,

 Is there anyone using Rsync on windows to backup to a Linux or FreeBSD
 server?

 Are the Windows Rsync implementations reliable?


I used to do that, the windows rsync client (runs on the top of
cygwin) worked well for me.
You can use this package:
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
which provides cygwin rsync plus GUI.
The only issue I had is with files with non-latin characters in their
names, in my case, Hebrew.
Once I downloaded the Cygwin UTF-8 dll, which can be found here:
http://www.okisoft.co.jp/esc/utf8-cygwin/
everything seemed to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-04 Thread matt donovan
On Tue, Nov 4, 2008 at 5:17 PM, Mario Lobo [EMAIL PROTECTED] wrote:

 On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
  On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo [EMAIL PROTECTED] wrote:
Mario try linux_base_fc7 it should stop the freezing. but myself I m
  
   having
  
issues with audio and can't figure out why.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  
   Matt :
  
   I have no audio issues.
  
   I have linux_base_fc4 and I just installed linux_base_fc7. How do I
   disable fc4 and enable fc7??
  
   --
   Mario Lobo
   http://www.mallavoodoo.com.br
   FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
   FREE) ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
   [EMAIL PROTECTED]
 
  they get installed in the same place, but you need fc4 for ports still so
 I
  would keep it installed just so that the ports will think you have it in
  use. They will still work though

 Do I have to recompile the flash plugin with OVERRIDE_LINUX_BASE_PORT=fc7?
 How
 do I know which fc the pligin is using?

 Thanks for helping, Matt  !

 --
 Mario Lobo
 http://www.mallavoodoo.com.br
 FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)


you shouldn't have to but it wouldn't hurt. since if you mess that up you
can just uninstall and reinstall flash9 as usual
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with FreeBSD

2008-11-04 Thread Brian Whalen

Giorgos Keramidas wrote:

On Tue, 4 Nov 2008 11:10:25 -0200, J MPZ [EMAIL PROTECTED] wrote:
  

Hi Paul,

When my connections freeze, I open the tcpdump in other terminal. If I type
something, type Enter, on the terminal frozen, the tcpdump show packets,
like that:

11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787  201.57.5.2.2264: P 193:241(48)
ack 0 win 15136 nop,nop,timestamp 1556398494 745829191,nop,nop,sack 1
{1428:1664}


[...]

  

I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP



Can you try capturing the connection setup packets, so we can look at
the TCP MSS negotiation values?  Starting TCPDUMP *before* one of the
connections that stall is made should capture that.

There may be an intermediate router or firewall that blocks ICMP and
ends up breaking path MTU discovery.  I've seen TCP connections
'stall' when path-mtu was broken by a setup like this and one of the
intermediate routers started dropping TCP packets that were too large
for one of its interfaces.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Since the result set is so big, something else to try may be invoking 
the ssh connection with compression on, -C is the flag.  THis will allow 
us to see if it really isnt working or is just slower than you'd like.


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


Re: flash9 checklist

2008-11-04 Thread Mario Lobo
On Tuesday 04 November 2008 19:26:56 matt donovan wrote:
 On Tue, Nov 4, 2008 at 5:17 PM, Mario Lobo [EMAIL PROTECTED] wrote:
  On Tuesday 04 November 2008 19:10:55 matt donovan wrote:
   On Tue, Nov 4, 2008 at 5:05 PM, Mario Lobo [EMAIL PROTECTED] wrote:
 Mario try linux_base_fc7 it should stop the freezing. but myself I
 m
   
having
   
 issues with audio and can't figure out why.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
   
Matt :
   
I have no audio issues.
   
I have linux_base_fc4 and I just installed linux_base_fc7. How do I
disable fc4 and enable fc7??
   
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
FREE) ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
  
   they get installed in the same place, but you need fc4 for ports still
   so
 
  I
 
   would keep it installed just so that the ports will think you have it
   in use. They will still work though
 
  Do I have to recompile the flash plugin with
  OVERRIDE_LINUX_BASE_PORT=fc7? How
  do I know which fc the pligin is using?
 
  Thanks for helping, Matt  !
 
  --
  Mario Lobo
  http://www.mallavoodoo.com.br
  FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows
  FREE)

 you shouldn't have to but it wouldn't hurt. since if you mess that up you
 can just uninstall and reinstall flash9 as usual

Now i'm having audio issues ! no sound at all :-(. 

I'll revert to fc4 for now. At least the slow downs/freezes were random.

Thanks Matt !
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-04 Thread matt donovan
well you just answered my question as well :) figured it was fc7 that made
me not have sound but I knew no one that used 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]


  1   2   >