[freebsd-network]why when OS reboot, my NIC status show no carrier

2009-02-18 Thread wang_jiabo

Hello, all:
   before freebsd show hostname#, we can see NIC card status,
but my NIC card status always show status: no carrier
   after I login my freebsd , I used ifconfig command show my NIC 
card status is active
could have any skill  I can let my NIC card status show status: active 
before login freebsd.
my all the device connected with a switch, I setup my switch and freebsd 
is speed 1000, and duplex full.


jiabo

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


Re: w(5) shows non-existent or lost process?

2009-02-18 Thread Ian Smith
On Tue, 17 Feb 2009 13:43:30 + Anton Shterenlikht me...@bristol.ac.uk 
wrote:

  The who (or w, or finger) command shows that I'm still logged into ttyp5,
  even though I have rebooted the xxx box many times since. Does this mean
  the corresponding entry in /var/run/utmp is wrong and shouldn't be there, or 
  is there
  still some process attached to ttyp5?

Certainly the former, given you've rebooted.  I've had occasions when 
utmp gets silly, though not for ages.  Abrupt shutdown / power loss?

  ouput of w:
  
  USER TTY  FROM  LOGIN@  IDLE WHAT
  mexasp4   xxx 1:32pm - w
  mexasp5   xxx:0. 26Jan09 21days -
  
  ps ax | grep ttyp5
   shows no process

ps would only list it as 'p5' anyway.

'w -d' may be a bit more informative:

% w -d
 6:00PM  up 68 days, 15:22, 1 user, load averages: 0.58, 0.23, 0.13
USER TTY  FROM  LOGIN@  IDLE WHAT
3733  login [pam] (login)
3734  -csh (csh)
7333  /bin/sh /usr/X11R6/bin/startx
7351  /usr/X11R6/bin/xinit /home/smithi/.xinitrc -- -auth 
/home/smithi/.serverauth.7333 -nolisten tcp
7352  X :0 -auth /home/smithi/.serverauth.7333 -nolisten 
tcp (Xorg)
7356  /bin/sh /usr/local/bin/startkde
7421  kwrapper ksmserver
smithi   v7   -12Dec08 68days /usr/X11R6/bin/xinit 
/home/smithi/.xinitrc -- -auth /

  Looking at w(1) man page it seems that - in WHAT can be an indication
  that the process failed but not cleanly and that there could be some forked
  sub-process still alive. Does this make sense? Which other commands I can use
  to see what's going on?

utmp(5) makes good bedtime reading :)

/var/log/wtmp can get messed up sometimes too, especially if you're 
logged in when periodic(8) monthly rotates it, but tools include:

% last
smithi   ttyp5dolores  Mon Feb  2 15:52 - 15:57  (00:05)
wtmp begins Mon Feb  2 15:52:27 EST 2009

!last -f /var/log/wtmp.0
smithi   ttyp5rock.-.org   Mon Jan 26 19:37 - 23:17  (03:40)
smithi   ttyp5rock.-.org   Thu Jan 15 21:30 - 21:45  (00:14)
smithi   ttyp5rock.-.org   Thu Jan 15 18:04 - 18:05  (00:00)
smithi   ttyp5rock.-.org   Thu Jan 15 18:01 - 18:03  (00:01)
somebody ftp  ww.xxx.yyy.zzThu Jan  1 10:47 - 10:50  (00:03)
[..]

% who
smithi   ttyv7Dec 12 02:39
% who /var/log/wtmp.0
[..]
somebody ftp61687 Jan  1 10:47 (ww.xxx.yyy.zz)
smithi   ttyp5Jan 15 18:01 (rock.-.org)
smithi   ttyp5Jan 15 18:04 (rock.-.org)
smithi   ttyp5Jan 15 21:30 (rock.-.org)
smithi   ttyp5Jan 26 19:37 (rock.-.org)

% who am i
smithi   ttyp4Feb 18 18:16
% tty
/dev/ttyp4

you could try opening enough xterms (ono) so your ttyp5 is used, then 
exit them cleanly?  Failing that, you can boot single user, mount /var, 
rm /var/run/utmp, hit ^D (or reboot) .. IIRC I had to do that once; not 
sure what happens if you rm /var/run/utmp while running multi-user! :)

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


Problem with dbus and hald on FreeBSD-7.1

2009-02-18 Thread manish jain


Hi,

I installed FreeBSD 7.1 on my system a couple of days back. While the 
rest of the system works very well, I keep getting the following errors 
when I start gnome :


gnome-keyring-daemon : couldn't allocate secure memory to keep passwords 
and or keys from being written to the disk


gnome-keyring-daemon : error connecting to the D-Bus system bus. Failed 
to connect to socket /var/run/dbus/system-bus-socket : No such file or 
directory


gnome-keyring-daemon : Scheduling hal init retry

The 2nd and 3rd error messages (above) keep getting repeated as long as 
the X session is active. Incidentally, there are no pid files in 
/var/run/dbus/ and /var/run/hald/


My system is a Celeron 800 MHz on a Tomato motherboard with an Intel 810 
chipset. Its ACPI is on the FreeBSD blacklist, and I had to enable it 
through /boot/loader.conf. Disabling or enabling ACPI does not seem to 
have any effect on the problem I am facing.


Performance of the X-server is greatly and adversely affected by the 
above problem. I would request anyone to advise me how to get dbus and 
hald up and running correctly.


Also, when I start an X session as root, I cannot access most of the 
graphical adminstrative utilities (User and group management, for 
example). I get an error to the effect You are not authorised for this 
action : Permission denied. I wonder if this is related to the 
dbus/hald problem in any way.


Warm regards
Manish Jain
invalid.poin...@gmail.com

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


Re: w(5) shows non-existent or lost process?

2009-02-18 Thread Anton Shterenlikht
On Wed, Feb 18, 2009 at 07:08:41PM +1100, Ian Smith wrote:
 On Tue, 17 Feb 2009 13:43:30 + Anton Shterenlikht me...@bristol.ac.uk 
 wrote:
 
   The who (or w, or finger) command shows that I'm still logged into ttyp5,
   even though I have rebooted the xxx box many times since. Does this mean
   the corresponding entry in /var/run/utmp is wrong and shouldn't be there, 
 or is there
   still some process attached to ttyp5?
 
 Certainly the former, given you've rebooted.  I've had occasions when 
 utmp gets silly, though not for ages.  Abrupt shutdown / power loss?
 
   ouput of w:
   
   USER TTY  FROM  LOGIN@  IDLE WHAT
   mexasp4   xxx 1:32pm - w
   mexasp5   xxx:0. 26Jan09 21days -
   
   ps ax | grep ttyp5
shows no process
 
 ps would only list it as 'p5' anyway.
 
 'w -d' may be a bit more informative:
 
 % w -d
  6:00PM  up 68 days, 15:22, 1 user, load averages: 0.58, 0.23, 0.13
 USER TTY  FROM  LOGIN@  IDLE WHAT
 3733  login [pam] (login)
 3734  -csh (csh)
 7333  /bin/sh /usr/X11R6/bin/startx
 7351  /usr/X11R6/bin/xinit /home/smithi/.xinitrc -- -auth 
 /home/smithi/.serverauth.7333 -nolisten tcp
 7352  X :0 -auth /home/smithi/.serverauth.7333 -nolisten 
 tcp (Xorg)
 7356  /bin/sh /usr/local/bin/startkde
 7421  kwrapper ksmserver
 smithi   v7   -12Dec08 68days 
 /usr/X11R6/bin/xinit /home/smithi/.xinitrc -- -auth /
 
   Looking at w(1) man page it seems that - in WHAT can be an indication
   that the process failed but not cleanly and that there could be some forked
   sub-process still alive. Does this make sense? Which other commands I can 
 use
   to see what's going on?
 
 utmp(5) makes good bedtime reading :)
 
 /var/log/wtmp can get messed up sometimes too, especially if you're 
 logged in when periodic(8) monthly rotates it, but tools include:
 
 % last
 smithi   ttyp5dolores  Mon Feb  2 15:52 - 15:57  (00:05)
 wtmp begins Mon Feb  2 15:52:27 EST 2009
 
 !last -f /var/log/wtmp.0
 smithi   ttyp5rock.-.org   Mon Jan 26 19:37 - 23:17  (03:40)
 smithi   ttyp5rock.-.org   Thu Jan 15 21:30 - 21:45  (00:14)
 smithi   ttyp5rock.-.org   Thu Jan 15 18:04 - 18:05  (00:00)
 smithi   ttyp5rock.-.org   Thu Jan 15 18:01 - 18:03  (00:01)
 somebody ftp  ww.xxx.yyy.zzThu Jan  1 10:47 - 10:50  (00:03)
 [..]
 
 % who
 smithi   ttyv7Dec 12 02:39
 % who /var/log/wtmp.0
 [..]
 somebody ftp61687 Jan  1 10:47 (ww.xxx.yyy.zz)
 smithi   ttyp5Jan 15 18:01 (rock.-.org)
 smithi   ttyp5Jan 15 18:04 (rock.-.org)
 smithi   ttyp5Jan 15 21:30 (rock.-.org)
 smithi   ttyp5Jan 26 19:37 (rock.-.org)
 
 % who am i
 smithi   ttyp4Feb 18 18:16
 % tty
 /dev/ttyp4
 
 you could try opening enough xterms (ono) so your ttyp5 is used, then 
 exit them cleanly?  Failing that, you can boot single user, mount /var, 
 rm /var/run/utmp, hit ^D (or reboot) .. IIRC I had to do that once; not 
 sure what happens if you rm /var/run/utmp while running multi-user! :)

Ian, thank you. It's gone. Perhaps in the meantime I did log on to ttyp5 and 
exited
cleanly. Thanks for the tips anyway.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


console-kit-daemon errors

2009-02-18 Thread manish jain


Hi,

Please ignore my previous message Problem with dbus and hald on 
FreeBSD-7.1. I added dbus_enable=YES and hald_enable=YES in 
/etc/rc.conf. This solved the earlier problems, giving way to a new one.


Now I am getting the following problem when I try to start gnome :

console-kit-daemon[1085]: GLib-CRITICAL: g_hash_table_lookup: assertion 
`hash_table != NULL' failed
console-kit-daemon[1085]: GLib-CRITICAL: g_hash_table_destroy: assertion 
`hash_table != NULL' failed


The message keeps getting repeatedly. Gnome gets stuck during startup 
while displaying item 2 (The Panel) on the startup-logo splash screen 
for nearly 5 minutes.


Does anyone know how to get around this ?

Thanks in advance for any help.

Manish Jain
invalid.poin...@gmail.com

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


Re: Performance problem with samba/zfs

2009-02-18 Thread Timur I. Bakeyev
Hi!

On Mon, Feb 16, 2009 at 5:56 PM, Jonathan Belson j...@witchspace.com wrote:

 Hiya

 I export a few samba shares from a FreeBSD amd64 server and I've been
 editing text files on one of the shares via a Windows box.

 This /usually/ works fine, but occasionally I'll get a pause of several
 seconds when I save back a modified file.  No errors are generated on the
 server, but it causes the smbd process takes a few % of available cpu time,
 according to top.

 The server is running -STABLE ('FREEBSD 7.1-PRERELEASE'), as built on
 2008/09/08.  The file system is zfs.  I'm using samba 3.0.34,1, built from
 ports.


Try net/samba32 instead. there were reports, that it works much better with
ZFS storage.

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


Re: [freebsd-network]why when OS reboot, my NIC status show no carrier

2009-02-18 Thread Wojciech Puchar

  before freebsd show hostname#, we can see NIC card status,
but my NIC card status always show status: no carrier


because it needs a while to get up. all is fine.

  after I login my freebsd , I used ifconfig command show my NIC card 
status is active
could have any skill  I can let my NIC card status show status: active 
before login freebsd.
my all the device connected with a switch, I setup my switch and freebsd is 
speed 1000, and duplex full.


jiabo

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



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


Re: Determining process preventing umount of busy partition

2009-02-18 Thread Polytropon
On Tue, 17 Feb 2009 13:30:55 -0900, Mel fbsd.questi...@rachie.is-a-geek.net 
wrote:
 This is weird, though. New theories (where are Chase, Cameron and Foreman 
 when 
 you need them!):

Spying around in someone else's house. :-)



 fstat is lying, instead use:
 fstat -f /usr -m -v

Well, I've taken that pill. This is the result:

# /root/bin/fstat -m -v -f /usr
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
# _

It shows NOTHING. I have made a copy of fstat binary in /root/bin,
which is possible because all needed libs are in /.

Furthermore, I've carefully studied the output of ps ax and even
of top -t, but as well, nothing that indicates some activity on
/usr...



 You have a mount on top of /usr, ie.: /usr/local or /usr/ports.

No. From /etc/fstab:

# DeviceMountpoint  FStype  Options Dump
Pass#
# ---   -   --  -   -   
-
/dev/ad0s1b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   
1
/dev/ad0s1d /tmpufs rw  2   
2
/dev/ad0s1e /varufs rw  2   
2
/dev/ad0s1f /usrufs rw  2   
2
/dev/ad0s1g /export/homeufs rw  2   
2

These are the only partitions on ad0. /usr has its own partition,
nothing mounted on top of it. (You mentioned a valid point: I
sometimes have another disk mounted inside /export/home, and I
cannot umount /export/home while this partition is mounted. But
that's not the case here.)



This is REALLY strange, I should get a whiteboard, some pens and
start making a drawing of the symptoms, until Dr. Cuddy tells me
not to do so. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Preferred RAID controllers

2009-02-18 Thread Gabe
 --- On Sat, 2/14/09, Gabe n...@att.net wrote:
 
  From: Gabe n...@att.net
  Subject: Re: FreeBSD Preferred RAID controllers
  To: Matthew Seaman
 m.sea...@infracaninophile.co.uk
  Cc: freebsd-questions@freebsd.org
  Date: Saturday, February 14, 2009, 8:41 PM
  --- On Sat, 2/14/09, Matthew Seaman
  m.sea...@infracaninophile.co.uk wrote:
  
   From: Matthew Seaman
  m.sea...@infracaninophile.co.uk
   Subject: Re: FreeBSD Preferred RAID controllers
   To: n...@att.net
   Cc: freebsd-questions@freebsd.org
   Date: Saturday, February 14, 2009, 8:30 AM
   Gabe wrote:
--- On Mon, 2/9/09, Matthew Seaman
   m.sea...@infracaninophile.co.uk wrote:

From: Matthew Seaman
   m.sea...@infracaninophile.co.uk
Subject: Re: FreeBSD Preferred RAID
  controllers
To: n...@att.net
Cc: freebsd-questions@freebsd.org
Date: Monday, February 9, 2009, 3:08 PM
Gabe wrote:
   
Now with a gstripe+gmirror setup,
 would
  it be
   possible
to fail a
specific drive on purpose? I mean
 fail a
   (good) drive,
pull it out,
replace it and rebuild(?) it. I know
 I
  know,
   but humor
me.
   
Yes.
   
   Cheers,
   
   Matthew
   
Well, to 'fail' the drive,
 you'ld
  have
   to
physically pull the drive
from the chassis which will involve a
 power
  cycle
   unless
you've got
hot-swap drives.  Of course, you should
  confirm
   that your
system will
boot with the RAID in a degraded state
 and
  that
   rebuilding
the RAID will
continue even if interrupted by a
 reboot. 
   gmirror(8)
passes those
tests.  You do have to type some
 commands to
  get a
   mirror
to rebuild
(examples are shown in the man page)
 unlike
  some
   hardware
RAIDs where
simply inserting an unused disk is
  sufficient.
   
-- Dr Matthew J Seaman MA, D.Phil.  
 
  
 7
Priory Courtyard

 

   Flat 3
PGP:
 http://www.infracaninophile.co.uk/pgpkey
 
   Ramsgate

 

   Kent, CT11
9PW

Hello again all,

So I wanted to test out gmirror on software
 RAID
  so I
   installed a completely vanilla FBSD 7, as base an
  install as
   you can get, it hasn't even been on the
 network.
  Anyway,
   I did the following upon first boot to get
 gmirror
  going:

# sysctl kern.geom.debugflags=17

Then:
# gmirror label -vb round-robin gm0 /dev/ad0

Then:
# gmirror load

Then:
# echo
 'geom_mirror_load=YES'
/boot/loader.conf

Then I edited /etc/fstab to show:
/dev/mirror/gm0s1bnoneswapsw
 
  
  0   0
/dev/mirror/gm0s1a/   ufs rw
 
  
  1   1
/dev/mirror/gm0s1e/tmpufs rw
  0  
  0
/dev/mirror/gm0s1f/usrufs rw
  2  
  2
/dev/mirror/gm0s1d/varufs rw
 
  
  2   2

I then rebooted the system, once I setup the
  mirror:

# gmirror insert gm0 /dev/ad1
# gmirror status

and it shows as COMPLETE. Okay, here comes
 the
   annoying part, I've got hot-swappable bays
 and I
  went
   ahead and pulled the drive. I then tried to write
 to
  the
   disk so that it realizes the disk is no longer
 there:

# touch file

once I do that and execute: gmirror status
 it
  shows as
   degraded. All fine and dandy. However when it
 comes
  time to
   pop the drive back in the drive is not recognized
 at
  all. I
   mean, the green light on the bay comes on so it
  definitely
   makes a connection but then thats it, atacontrol
 list
   doesn't list it and gmirror status still
 shows the
  same,
   degraded.

What gives? I wonder if this is hardware
 related?
  Bios
   related even? Any clues?
   
   See atacontrol(8)
   
  # atacontrol list
   
   shows what your system knows is there
   
  # atacontrol attach X
   
   where X is the channel number, probes and
 attaches any
   devices on that
   channel in exactly the same way it is done at
 system
  boot.
   
   See camcontrol(8) if you've got SCSI drives.
   
 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
  
  They're SATA drives. The two drives are on the
 same
  channel when using atacontrol list. I'm unsure
 that
  atacontrol attach ata0 would work but I'll give it
 a
  shot, hopefully that works. I'll report back.
  
  Thanks again
 
 No go. atacontrol attach ata0 fails with Device
 exists probably because both sata drives are on the
 same channel. Still though, once inserted the kernel should
 show that it was inserted in /var/log/messages but it
 

Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread GESBBB
I am using this snippet of code in a bash script that is run via CRON.
 
 
snippet
# See if we are running via CRON
    if [ ! -t 0 ]
  then
# Use the BASH RANDOM function to generate a random number between 0  32767
    RESTING=$((RANDOM/60))
    sleep ${RESTING}
    fi
/snippet
 
 
It runs fine from the console; however, when run via CRON, it outputs this 
error message.
 
Tput: No terminal type specified and no TERM environmental variable.
 
I have Googled about, yet I cannot find an answer. Perhaps some Bash guru can 
assist me.
 
-- 
Gerard
ges...@yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


wrong time stamp 1 JAN 1970 on /var/tmp/orbit-user

2009-02-18 Thread Anton Shterenlikht
I use FBSD 6.4-stable alpha. When starting a browser (firefox2 or kazehakase) 
no window
is open, instead:

GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://www.gnome.org/projects/gconf/ for 
information. (Details -  1: Failed to get connection to session: Failed to 
execute dbus-launch to autolaunch D-Bus session)

and wrong date on /var/tmp/orbit-mexas (my username)

% ls -al /var/tmp/
total 28
drwxrwxrwt   7 root   wheel  512 18 Feb 15:48 .
drwxr-xr-x  25 root   wheel  512 18 Feb 14:43 ..
srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-KXVAJaE3A4
srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-l8TP5ypEB0
srwxrwxrwx   1 mexas  wheel0 18 Feb 15:47 dbus-nUZBGPeroY
drwx--   2 root   wheel  512 18 Sep 12:50 gconfd-root
drwx--   2 mexas  wheel  512  1 Jan  1970 orbit-mexas
  ^^^

drwx--   2 root   wheel  512 18 Sep 12:50 orbit-root
drwxrwxrwt   5 mexas  wheel  512  5 Feb 21:23 texfonts
drwxrwxrwt   2 root   wheel  512 18 Feb 15:48 vi.recover
% 

I've in /etc/rc.conf

dbus_enable=YES
hald_enable=YES

and I've many dbus-launch and dbus-daemon processes:

# ps ax|grep dbus
  594  ??  Is 0:00.05 /usr/local/bin/dbus-daemon --system
50289  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
--print-address 9 --sessi
52477  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
--print-address 9 --sessi
52947  ??  Is 0:00.00 /usr/local/bin/dbus-daemon --fork --print-pid 7 
--print-address 9 --sessi
50273  p1  I  0:00.05 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
50285  p1  I  0:00.00 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
52943  p1  I  0:00.06 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
52946  p1  I  0:00.00 dbus-launch --autolaunch 
c147699dcd782c00b8cb56ec49707d8a --binary-syntax
53487  p2  R+ 0:00.00 grep dbus
# 

each time I try to launch a browser another couple of dbus processes
are started, but never exit.

Any advice?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Matthew Seaman

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

GESBBB wrote:
| I am using this snippet of code in a bash script that is run via CRON.
|
|
| snippet
| # See if we are running via CRON
| if [ ! -t 0 ]
|   then
| # Use the BASH RANDOM function to generate a random number between 0  32767
| RESTING=$((RANDOM/60))
| sleep ${RESTING}
| fi
| /snippet
|
|
| It runs fine from the console; however, when run via CRON, it outputs
this error message.
|
| Tput: No terminal type specified and no TERM environmental variable.
|
| I have Googled about, yet I cannot find an answer. Perhaps some Bash
guru can assist me.
|

jot -r 1 0 546

Cheers,

Matthew

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

iEYEAREDAAYFAkmcL3YACgkQ8Mjk52CukIxn9ACePfwIwfNo1q1Sp6zPm9zDB4fh
uhcAnjskxg142o6FeMRNLJwrIMZwJFGi
=VPTj
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Performance problem with samba/zfs

2009-02-18 Thread Jonathan Belson

Mel wrote:

On Monday 16 February 2009 07:56:02 Jonathan Belson wrote:

I export a few samba shares from a FreeBSD amd64 server and I've been
editing text files on one of the shares via a Windows box.

This /usually/ works fine, but occasionally I'll get a pause of several
seconds when I save back a modified file.  No errors are generated on the
server, but it causes the smbd process takes a few % of available cpu time,
according to top.

Could this be due to the infamous seekdir/seekdir issue between samba and
FreeBSD?  Some of the directories do contain hundreds of files.  This post
suggests it has been fixed though: http://www.vnode.ch/fixing_seekdir

The server is running -STABLE ('FREEBSD 7.1-PRERELEASE'), as built on
2008/09/08.  The file system is zfs.  I'm using samba 3.0.34,1, built from
ports.
If you can reproduce this behavior using local access or ssh access (taking 
samba out of the equivalent) I would take it over to freebsd-fs.

The seekdir is indeed fixed.
If not, increase verbosity for smbd, maybe it spits out a hint why it is 
taking so long (smells like locking).


I just moved my work to an exported UFS partition and I've seen the same problem 
appear a couple of times.  It's possibly a little less frequent though.


So with zfs off the hook, it's possible that the problem lies with samba (or 
maybe the editor itself, although I don't remember ever coming across the issue 
before).


Cheers,

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


memory limitations per process

2009-02-18 Thread af300wsm

Hi,

I'm running into a per process memory limit at work (on Windoze though),  
but I'm wondering what's the limit per process in FreeBSD for 32 bit  
systems, ie i386? Is it 4gb or 2? From stuff I found on the Net, I'm  
guessing 4gb, but wanted to ask anyway. It seems to be an implementation  
deal limiting the windows world to 2gb per process rather than hardware  
limitations.


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


No periodic daily?

2009-02-18 Thread Kurt Buff
All,

I'm having a strange issue with one of my boxes. It's the router for our DS3:

router#uname -a
FreeBSD router.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May
19 01:16:12 PDT 2008
r...@router.mycompany.com:/usr/obj/usr/src/sys/GENERIC  i386

The machine has stopped sending periodic daily and security reports,
though I'm getting weekly and monthly reports. I see nothing in the
syslogs to indicate any problems.

If I issue, as root, the command 'periodic daily', it just hangs until
I press ^C to break out of it, then it comes back with

 router# periodic daily
 ^C
 (Interrupt -- one more to kill letter)

and sends an email, with the following contents:

 Removing stale files from /var/preserve:

 Cleaning out old system announcements:

 Removing stale files from /var/rwho:

But nothing else - certainly much less than I get from my other boxes.

Running 'periodic security' also hangs, but when I interrupt with ^C,
I get no output at all, either at the prompt or in email.


I plan on rebooting it this evening - is there anything I can do in
the meantime to diagnose the issue?

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


Re: No periodic daily?

2009-02-18 Thread Kurt Buff
On Wed, Feb 18, 2009 at 9:34 AM, Kurt Buff kurt.b...@gmail.com wrote:
 All,

 I'm having a strange issue with one of my boxes. It's the router for our DS3:

 router#uname -a
 FreeBSD router.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May
 19 01:16:12 PDT 2008
 r...@router.mycompany.com:/usr/obj/usr/src/sys/GENERIC  i386

 The machine has stopped sending periodic daily and security reports,
 though I'm getting weekly and monthly reports. I see nothing in the
 syslogs to indicate any problems.

 If I issue, as root, the command 'periodic daily', it just hangs until
 I press ^C to break out of it, then it comes back with

 router# periodic daily
 ^C
 (Interrupt -- one more to kill letter)

 and sends an email, with the following contents:

 Removing stale files from /var/preserve:

 Cleaning out old system announcements:

 Removing stale files from /var/rwho:

 But nothing else - certainly much less than I get from my other boxes.

 Running 'periodic security' also hangs, but when I interrupt with ^C,
 I get no output at all, either at the prompt or in email.


 I plan on rebooting it this evening - is there anything I can do in
 the meantime to diagnose the issue?

 Kurt

Never mind...

It looks to be a self-inflicted wound. Looks like my postfix
configuration is screwed up.

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


Re: No periodic daily?

2009-02-18 Thread Kurt Buff
On Wed, Feb 18, 2009 at 9:49 AM, Fred Condo hostmas...@quinn.com wrote:
 At a minimum, we'd want to see the contents of /etc/periodic.conf

As I just posted, this looks like an error in my postfix configuration.

 (as an aside) Any reason you're running an unpatched 7.0 on your
 router? 7.0 is up to around patch 10.


I'm going to be upgrading soon - time and workload are the problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: memory limitations per process

2009-02-18 Thread Chris Rees
2009/2/18  af300...@gmail.com:
 Hi,

 I'm running into a per process memory limit at work (on Windoze though), but
 I'm wondering what's the limit per process in FreeBSD for 32 bit systems, ie
 i386? Is it 4gb or 2? From stuff I found on the Net, I'm guessing 4gb, but
 wanted to ask anyway. It seems to be an implementation deal limiting the
 windows world to 2gb per process rather than hardware limitations.

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


From /boot/defaults/loader.conf:

#kern.maxdsiz=# Set the max data size
#kern.maxfiles=   # Set the sys. wide open files limit
#kern.maxproc=# Set the maximum # of processes
#kern.maxssiz=# Set the max stack size

I suggest you play with these tunables a bit, IIRC the default maximum
process limit is 512 MB.

Someone'll doubtless come along soon with the real default.

Chris

R $h !  $- ! $+  $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: No periodic daily?

2009-02-18 Thread Fred Condo
On Wed, Feb 18, 2009 at 9:34 AM, Kurt Buff kurt.b...@gmail.com wrote:
 All,

 I'm having a strange issue with one of my boxes. It's the router for our DS3:

 router#uname -a
 FreeBSD router.mycompany.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May
 19 01:16:12 PDT 2008
 r...@router.mycompany.com:/usr/obj/usr/src/sys/GENERIC  i386

 The machine has stopped sending periodic daily and security reports,
 though I'm getting weekly and monthly reports. I see nothing in the
 syslogs to indicate any problems.

 If I issue, as root, the command 'periodic daily', it just hangs until
 I press ^C to break out of it, then it comes back with

 router# periodic daily
 ^C
 (Interrupt -- one more to kill letter)

 and sends an email, with the following contents:

 Removing stale files from /var/preserve:

 Cleaning out old system announcements:

 Removing stale files from /var/rwho:

 But nothing else - certainly much less than I get from my other boxes.

 Running 'periodic security' also hangs, but when I interrupt with ^C,
 I get no output at all, either at the prompt or in email.


 I plan on rebooting it this evening - is there anything I can do in
 the meantime to diagnose the issue?

 Kurt

At a minimum, we'd want to see the contents of /etc/periodic.conf

(as an aside) Any reason you're running an unpatched 7.0 on your
router? 7.0 is up to around patch 10.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Warren Block

On Wed, 18 Feb 2009, GESBBB wrote:


I am using this snippet of code in a bash script that is run via CRON.
 
snippet
# See if we are running via CRON
    if [ ! -t 0 ]
  then
# Use the BASH RANDOM function to generate a random number between 0  32767
    RESTING=$((RANDOM/60))
    sleep ${RESTING}
    fi
/snippet
 
 
It runs fine from the console; however, when run via CRON, it outputs this 
error message.
 
Tput: No terminal type specified and no TERM environmental variable.
 
I have Googled about, yet I cannot find an answer. Perhaps some Bash guru can 
assist me.


cron uses /bin/sh, not bash.

-Warren Block * Rapid City, South Dakota USA___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Determining process preventing umount of busy partition

2009-02-18 Thread Mel
On Wednesday 18 February 2009 06:07:52 Polytropon wrote:
 On Tue, 17 Feb 2009 13:30:55 -0900, Mel 
fbsd.questi...@rachie.is-a-geek.net wrote:
  This is weird, though. New theories (where are Chase, Cameron and Foreman
  when you need them!):

 Spying around in someone else's house. :-)

  fstat is lying, instead use:
  fstat -f /usr -m -v

 Well, I've taken that pill. This is the result:

   # /root/bin/fstat -m -v -f /usr
   USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
   # _

 It shows NOTHING. I have made a copy of fstat binary in /root/bin,
 which is possible because all needed libs are in /.

Well, that rules that out.

 Furthermore, I've carefully studied the output of ps ax and even
 of top -t, but as well, nothing that indicates some activity on
 /usr...

  You have a mount on top of /usr, ie.: /usr/local or /usr/ports.

 No. From /etc/fstab:

   # DeviceMountpoint  FStype  Options Dump   
 Pass# # ---   -   --  -   -
   - /dev/ad0s1b noneswapsw  0  
 0 /dev/ad0s1a /   ufs rw  1
   1 /dev/ad0s1d /tmpufs rw  2  
 2 /dev/ad0s1e /varufs rw  2   2
 /dev/ad0s1f /usrufs rw  2   2
 /dev/ad0s1g /export/homeufs rw  2   2

 These are the only partitions on ad0. /usr has its own partition,
 nothing mounted on top of it. (You mentioned a valid point: I
 sometimes have another disk mounted inside /export/home, and I
 cannot umount /export/home while this partition is mounted. But
 that's not the case here.)

Can you show mount -p before trying to unmount /usr? On the off-chance /export 
or /export/home is really a symlink to /usr/home (mount -p shows realpath(3) 
for mounts).

 This is REALLY strange, I should get a whiteboard, some pens and
 start making a drawing of the symptoms, until Dr. Cuddy tells me
 not to do so. :-)

Lol, I'm actually enclined to talk to Wilson, since this smells like something 
up his alley (and free lunch).
-- 
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 freebsd-questions-unsubscr...@freebsd.org


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Mel
On Wednesday 18 February 2009 10:40:47 Warren Block wrote:
 On Wed, 18 Feb 2009, GESBBB wrote:
  I am using this snippet of code in a bash script that is run via CRON.
   
  snippet
  # See if we are running via CRON
      if [ ! -t 0 ]
    then
  # Use the BASH RANDOM function to generate a random number between 0 
  32767 RESTING=$((RANDOM/60))
      sleep ${RESTING}
      fi
  /snippet
   
   
  It runs fine from the console; however, when run via CRON, it outputs
  this error message. 
  Tput: No terminal type specified and no TERM environmental variable.
   
  I have Googled about, yet I cannot find an answer. Perhaps some Bash guru
  can assist me.

 cron uses /bin/sh, not bash.

No. cron uses execvp, which will:
1) execute as binary if header is recognized
2) execute with whatever the she-bang says (#!)
3) run as /bin/sh /path/to/file if 1) and 2) fail.

Can't reproduce the error though, using:
#!/usr/local/bin/bash

unset TERM
sleep 1;

if [ ! -t 0 ]; then
echo No term  out
else
echo term  out
fi

I run as:
daemon ./test.sh 2err

then logout the ssh session, so terminal becomes invalid. It correctly says 
term and no term, no tput errors. Same for /bin/sh, by the way.

-- 
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 freebsd-questions-unsubscr...@freebsd.org


How to create statically linked bacula-fd?

2009-02-18 Thread Doug Sampson
We blew up one of our servers recently and we wanted to restore backed-up
data from a Bacula storage server. The Bacula recovery process states that
one needs to create a statically linked bacula-fd daemon in order to start
the recovery process but it does not offer a how-to for FreeBSD systems--
only for Linux systems. See:

http://www.bacula.org/fr/dev-manual/Disast_Recove_Using_Bacula.html#SECTION0
08233000

Below is a list of libraries that bacula-fd needs in order to run:

r...@pisces:/root# ldd /usr/local/sbin/bacula-fd
 /usr/local/sbin/bacula-fd:
 libz.so.4 = /lib/libz.so.4 (0x280c6000)
 libthr.so.3 = /lib/libthr.so.3 (0x280d8000)
 libintl.so.8 = /usr/local/lib/libintl.so.8 (0x280ea000)
 libwrap.so.5 = /usr/lib/libwrap.so.5 (0x280f3000)
 libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x280fa000)
 libssl.so.5 = /usr/lib/libssl.so.5 (0x281ef000)
 libcrypto.so.5 = /lib/libcrypto.so.5 (0x2822f000)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x2837e000)
 libm.so.5 = /lib/libm.so.5 (0x2846d000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x28482000)
 libc.so.7 = /lib/libc.so.7 (0x2848c000)

How does one go about creating a statically linked bacula-fd? I've googled
around and am not getting relevant hits. I checked 'make config' and there
isn't any option for creating statically linked file. Could I add one on the
fly at the command prompt? If so, what would be the correct syntax?

Another way to recover would be to archive the libraries off-site and
restore these libraries as part of the recovery process-- putting these
libraries in the same directory as the bacula-fd daemon and running it off
that folder. However, when I attempt that, it complains of missing
libraries. I was told to use ldconfig to add the temporary folder to the
system libraries path but I am not having success there either. This is what
I used:

  ldconfig -elf -mv /tmp

which according to man ldconfig (if I interpret that correctly) appends the
/tmp directory to the existing system libraries path.

Does anyone know how to accomplish either of these two methods?

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


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread GESBBB
 From: Matthew Seaman m.sea...@infracaninophile.co.uk
 GESBBB wrote:
 | I am using this snippet of code in a bash script that is run via CRON.
 |
 |
 | 
 | # See if we are running via CRON
 |    if [ ! -t 0 ]
 |      then
 | # Use the BASH RANDOM function to generate a random number between 0  32767
 |        RESTING=$((RANDOM/60))
 |        sleep ${RESTING}
 |    fi
 | 
 |
 |
 | It runs fine from the console; however, when run via CRON, it outputs
 this error message.
 |
 | Tput: No terminal type specified and no TERM environmental variable.
 |
 | I have Googled about, yet I cannot find an answer. Perhaps some Bash
 guru can assist me.
 |
 
 jot -r 1 0 546
 
     Cheers,
 
     Matthew

I am a little confused. I believe the problem is with the if [ ! -t 0 ] 
statement. I tried to redirect the error message; however, it still appears in 
the email sent by CRON. I tried using this statement instead: if ( ! tty -s  
/dev/null ) and if ( ! tty -s )  /dev/null; however, they also produce an 
error message although the function does work correctly. Is this just something 
I should just ignore, or is there a way to stop the message from being sent in 
the CRON report?

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


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Chuck Swiger

On Feb 18, 2009, at 12:29 PM, GESBBB wrote:
I am a little confused. I believe the problem is with the if [ ! -t  
0 ] statement. I tried to redirect the error message; however, it  
still appears in the email sent by CRON. I tried using this  
statement instead: if ( ! tty -s  /dev/null ) and if ( ! tty -s )  
 /dev/null; however, they also produce an error message although  
the function does work correctly. Is this just something I should  
just ignore, or is there a way to stop the message from being sent  
in the CRON report?


For Bourne shell, classic /bin/sh, and related shells (zsh, ksh), you  
can use something like:


case $- in
*i*)
# do stuff for an interactive shell
echo interactive
;;
*)
# not interactive
echo not interactive
;;
esac

Regards,
--
-Chuck

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


Re: World doesn't build correctly

2009-02-18 Thread Frank Wißmann
Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon:
 On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann 
frank.wissman...@web.de wrote:
  What is going wrong here? Why isn't ther build a 7_STABLE as I
  desire? What do I need to change to get my wanted results?

 Are you sure you have the correct sources? How did you update them?

 I'm using the following settings (as an example):

 In /etc/make.conf:

   SUP_UPDATE= yes
   SUP=/usr/bin/csup
   SUPFLAGS=   -g -L 2
   SUPHOST=cvsup.freebsd.org
   SUPFILE=/etc/sup/stable.sup

 And in /etc/sup/stable.sup:

   *default host=cvsup.freebsd.org
   *default base=/var/db
   *default prefix=/usr
   *default release=cvs tag=RELENG_7
   *default delete use-rel-suffix
   *default compress
   src-all

 For csup, the tag is RELENG_7. You used 7_STABLE, maybe this is
 the reason why you checked out the sources of 7.0-RELEASE?

Well, I used your settings of default release=cvs tag=RELENG_7, but 
the answer is still this:
FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
Wed Feb 18 21:36:57 CET 2009 
r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64

Any ideas, folks? Or should I post something more?

TIA Frank

-- 
GU d- s:+ a+ C+$ UBS$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? 

When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

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


FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Kailash Kailash
I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
Here is one real code with binary output. On 3.0 GHz Woodcrest processor, I
am able to copy from one cache to another cache at the speed of
24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

Thanks,

Kailash

 

Source-code:

#define BACKWARD_MEMCOPY_WITH_TYPE(dp, sp, len, type)
BACKWARD_MEMCOPY((type*)(dp), (const type*)(sp),
((len)+(sizeof(type)-1))/sizeof(type))

 

#define BACKWARD_MEMCOPY(dp, sp, len) \

do { \

smwbits __len = len;/* must be signed value */ \

while (--__len = 0) \

(dp)[__len] = (sp)[__len]; \

} while (0)

 

BSD 6.2 code 

0x004353b2 smcli_memory_copy_performance+434: mov
0x8(%rbp,%rdx,8),%rax

0x004353b7 smcli_memory_copy_performance+439: mov
%rax,0x48(%r12,%rdx,8)

0x004353bc smcli_memory_copy_performance+444: dec%rdx

0x004353bf smcli_memory_copy_performance+447: jns0x4353b2
smcli_memory_copy_performance+434

 

BSD 7.0 code

0x0040cb80 smcli_memory_copy_performance+272:mov
0xfff8(%rsi),%rax

0x0040cb84 smcli_memory_copy_performance+276:mov
%rax,0xfff8(%rcx)

0x0040cb88 smcli_memory_copy_performance+280:sub
$0x8,%rsi

0x0040cb8c smcli_memory_copy_performance+284:sub
$0x8,%rcx

0x0040cb90 smcli_memory_copy_performance+288:sub
$0x1,%rdx

0x0040cb94 smcli_memory_copy_performance+292:jns
0x40cb80 smcli_memory_copy_performance2+272

 

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


Re: FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Wojciech Puchar

looks like they improved gcc. you can install older from ports.

On Wed, 18 Feb 2009, Kailash Kailash wrote:


I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
Here is one real code with binary output. On 3.0 GHz Woodcrest processor, I
am able to copy from one cache to another cache at the speed of
24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

Thanks,

Kailash



Source-code:

#define BACKWARD_MEMCOPY_WITH_TYPE(dp, sp, len, type)
BACKWARD_MEMCOPY((type*)(dp), (const type*)(sp),
((len)+(sizeof(type)-1))/sizeof(type))



#define BACKWARD_MEMCOPY(dp, sp, len) \

do { \

   smwbits __len = len;/* must be signed value */ \

   while (--__len = 0) \

   (dp)[__len] = (sp)[__len]; \

} while (0)



BSD 6.2 code

0x004353b2 smcli_memory_copy_performance+434: mov
0x8(%rbp,%rdx,8),%rax

0x004353b7 smcli_memory_copy_performance+439: mov
%rax,0x48(%r12,%rdx,8)

0x004353bc smcli_memory_copy_performance+444: dec%rdx

0x004353bf smcli_memory_copy_performance+447: jns0x4353b2
smcli_memory_copy_performance+434



BSD 7.0 code

0x0040cb80 smcli_memory_copy_performance+272:mov
0xfff8(%rsi),%rax

0x0040cb84 smcli_memory_copy_performance+276:mov
%rax,0xfff8(%rcx)

0x0040cb88 smcli_memory_copy_performance+280:sub
$0x8,%rsi

0x0040cb8c smcli_memory_copy_performance+284:sub
$0x8,%rcx

0x0040cb90 smcli_memory_copy_performance+288:sub
$0x1,%rdx

0x0040cb94 smcli_memory_copy_performance+292:jns
0x40cb80 smcli_memory_copy_performance2+272



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



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


Re: World doesn't build correctly

2009-02-18 Thread Fred Condo
On Wed, Feb 18, 2009 at 12:50 PM, Frank Wißmann frank.wissman...@web.de wrote:
 Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon:
 On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann
 frank.wissman...@web.de wrote:
  What is going wrong here? Why isn't ther build a 7_STABLE as I
  desire? What do I need to change to get my wanted results?

 Are you sure you have the correct sources? How did you update them?

 I'm using the following settings (as an example):

 In /etc/make.conf:

   SUP_UPDATE= yes
   SUP=/usr/bin/csup
   SUPFLAGS=   -g -L 2
   SUPHOST=cvsup.freebsd.org
   SUPFILE=/etc/sup/stable.sup

 And in /etc/sup/stable.sup:

   *default host=cvsup.freebsd.org
   *default base=/var/db
   *default prefix=/usr
   *default release=cvs tag=RELENG_7
   *default delete use-rel-suffix
   *default compress
   src-all

 For csup, the tag is RELENG_7. You used 7_STABLE, maybe this is
 the reason why you checked out the sources of 7.0-RELEASE?

 Well, I used your settings of default release=cvs tag=RELENG_7, but
 the answer is still this:
 FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0:
 Wed Feb 18 21:36:57 CET 2009
 r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64

 Any ideas, folks? Or should I post something more?

You know you have to build and install the world and kernel after
performing a csup, right? See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html
(Auf Deutsch: 
http://www.freebsd.org/doc/de_DE.ISO8859-1/books/handbook/updating-upgrading.html)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Kailash Kailash
Can old version of GCC used with BSD 7.0 without facing any compatibility
problem?
Thanks,
Kailash

-Original Message-
From: Wojciech Puchar [mailto:woj...@wojtek.tensor.gdynia.pl] 
Sent: Wednesday, February 18, 2009 1:46 PM
To: Kailash Kailash
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 7.O compiled code is very slow

looks like they improved gcc. you can install older from ports.

On Wed, 18 Feb 2009, Kailash Kailash wrote:

 I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
 50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
 Here is one real code with binary output. On 3.0 GHz Woodcrest processor,
I
 am able to copy from one cache to another cache at the speed of
 24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

 Thanks,

 Kailash



 Source-code:

 #define BACKWARD_MEMCOPY_WITH_TYPE(dp, sp, len, type)
 BACKWARD_MEMCOPY((type*)(dp), (const type*)(sp),
 ((len)+(sizeof(type)-1))/sizeof(type))



 #define BACKWARD_MEMCOPY(dp, sp, len) \

 do { \

smwbits __len = len;/* must be signed value */ \

while (--__len = 0) \

(dp)[__len] = (sp)[__len]; \

 } while (0)



 BSD 6.2 code

 0x004353b2 smcli_memory_copy_performance+434: mov
 0x8(%rbp,%rdx,8),%rax

 0x004353b7 smcli_memory_copy_performance+439: mov
 %rax,0x48(%r12,%rdx,8)

 0x004353bc smcli_memory_copy_performance+444: dec%rdx

 0x004353bf smcli_memory_copy_performance+447: jns0x4353b2
 smcli_memory_copy_performance+434



 BSD 7.0 code

 0x0040cb80 smcli_memory_copy_performance+272:mov
 0xfff8(%rsi),%rax

 0x0040cb84 smcli_memory_copy_performance+276:mov
 %rax,0xfff8(%rcx)

 0x0040cb88 smcli_memory_copy_performance+280:sub
 $0x8,%rsi

 0x0040cb8c smcli_memory_copy_performance+284:sub
 $0x8,%rcx

 0x0040cb90 smcli_memory_copy_performance+288:sub
 $0x1,%rdx

 0x0040cb94 smcli_memory_copy_performance+292:jns
 0x40cb80 smcli_memory_copy_performance2+272



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



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


MEETING

2009-02-18 Thread admin
Estas buscando pareja.

 http://www.ekipate.es/lists/lt.php?id=YR5QBw0OUwMYCFpMAQ4FVAM%3D



--
To unsubscribe from this list visit
http://www.ekipate.es/lists/lt.php?id=YR5QBw0OUwwYCFpMAQ4FVAM%3D

To update your preferences visit
http://www.ekipate.es/lists/lt.php?id=YR5QBw0OUw0YCFpMAQ4FVAM%3D



--
Powered by PHPlist, www.phplist.com --



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


Re: FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Jung-uk Kim
On Wednesday 18 February 2009 03:44 pm, Kailash Kailash wrote:
 I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD
 7.0 runs 50% speed (as expected by CPU and code architecture)
 compared to BSD 6.2. Here is one real code with binary output. On
 3.0 GHz Woodcrest processor, I am able to copy from one cache to
 another cache at the speed of 24Gbytes/second verses 12
 Gbytes/second. Any help is appreciated.

You may try -fno-ivopts.  I think the bug is:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27440

Jung-uk Kim

 Thanks,

 Kailash



 Source-code:

 #define BACKWARD_MEMCOPY_WITH_TYPE(dp, sp, len, type)
 BACKWARD_MEMCOPY((type*)(dp), (const type*)(sp),
 ((len)+(sizeof(type)-1))/sizeof(type))



 #define BACKWARD_MEMCOPY(dp, sp, len) \

 do { \

 smwbits __len = len;/* must be signed value */
 \

 while (--__len = 0) \

 (dp)[__len] = (sp)[__len]; \

 } while (0)



 BSD 6.2 code

 0x004353b2 smcli_memory_copy_performance+434: mov
 0x8(%rbp,%rdx,8),%rax

 0x004353b7 smcli_memory_copy_performance+439: mov
 %rax,0x48(%r12,%rdx,8)

 0x004353bc smcli_memory_copy_performance+444: dec%rdx

 0x004353bf smcli_memory_copy_performance+447: jns   
 0x4353b2 smcli_memory_copy_performance+434



 BSD 7.0 code

 0x0040cb80 smcli_memory_copy_performance+272:mov
 0xfff8(%rsi),%rax

 0x0040cb84 smcli_memory_copy_performance+276:mov
 %rax,0xfff8(%rcx)

 0x0040cb88 smcli_memory_copy_performance+280:sub
 $0x8,%rsi

 0x0040cb8c smcli_memory_copy_performance+284:sub
 $0x8,%rcx

 0x0040cb90 smcli_memory_copy_performance+288:sub
 $0x1,%rdx

 0x0040cb94 smcli_memory_copy_performance+292:jns
 0x40cb80 smcli_memory_copy_performance2+272
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with dbus and hald on FreeBSD-7.1

2009-02-18 Thread Albert Shih
 Le 18/02/2009 à 13:36:59+0530, manish jain a écrit
 
 Hi,
 
 I installed FreeBSD 7.1 on my system a couple of days back. While the 
 rest of the system works very well, I keep getting the following errors 
 when I start gnome :
 
 gnome-keyring-daemon : couldn't allocate secure memory to keep passwords 
 and or keys from being written to the disk
 
 gnome-keyring-daemon : error connecting to the D-Bus system bus. Failed 
 to connect to socket /var/run/dbus/system-bus-socket : No such file or 
 directory
 
 gnome-keyring-daemon : Scheduling hal init retry
 
 The 2nd and 3rd error messages (above) keep getting repeated as long as 
 the X session is active. Incidentally, there are no pid files in 
 /var/run/dbus/ and /var/run/hald/
 
 My system is a Celeron 800 MHz on a Tomato motherboard with an Intel 810 
 chipset. Its ACPI is on the FreeBSD blacklist, and I had to enable it 
 through /boot/loader.conf. Disabling or enabling ACPI does not seem to 
 have any effect on the problem I am facing.
 
 Performance of the X-server is greatly and adversely affected by the 
 above problem. I would request anyone to advise me how to get dbus and 
 hald up and running correctly.
 
 Also, when I start an X session as root, I cannot access most of the 
 graphical adminstrative utilities (User and group management, for 
 example). I get an error to the effect You are not authorised for this 
 action : Permission denied. I wonder if this is related to the 
 dbus/hald problem in any way.
 
Do you have :

dbus_enable=YES
hald_enable=YES

in your /etc/rc.conf ? You need it. 

Regards.


-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Heure local/Local time:
Jeu 19 fév 2009 00:03:37 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Wojciech Puchar
you install it from ports and use explicitly, everything else still uses 
default


On Wed, 18 Feb 2009, Kailash Kailash wrote:


Can old version of GCC used with BSD 7.0 without facing any compatibility
problem?
Thanks,
Kailash

-Original Message-
From: Wojciech Puchar [mailto:woj...@wojtek.tensor.gdynia.pl]
Sent: Wednesday, February 18, 2009 1:46 PM
To: Kailash Kailash
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 7.O compiled code is very slow

looks like they improved gcc. you can install older from ports.

On Wed, 18 Feb 2009, Kailash Kailash wrote:


I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
Here is one real code with binary output. On 3.0 GHz Woodcrest processor,

I

am able to copy from one cache to another cache at the speed of
24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

Thanks,

Kailash



Source-code:

#define BACKWARD_MEMCOPY_WITH_TYPE(dp, sp, len, type)
BACKWARD_MEMCOPY((type*)(dp), (const type*)(sp),
((len)+(sizeof(type)-1))/sizeof(type))



#define BACKWARD_MEMCOPY(dp, sp, len) \

do { \

   smwbits __len = len;/* must be signed value */ \

   while (--__len = 0) \

   (dp)[__len] = (sp)[__len]; \

} while (0)



BSD 6.2 code

0x004353b2 smcli_memory_copy_performance+434: mov
0x8(%rbp,%rdx,8),%rax

0x004353b7 smcli_memory_copy_performance+439: mov
%rax,0x48(%r12,%rdx,8)

0x004353bc smcli_memory_copy_performance+444: dec%rdx

0x004353bf smcli_memory_copy_performance+447: jns0x4353b2
smcli_memory_copy_performance+434



BSD 7.0 code

0x0040cb80 smcli_memory_copy_performance+272:mov
0xfff8(%rsi),%rax

0x0040cb84 smcli_memory_copy_performance+276:mov
%rax,0xfff8(%rcx)

0x0040cb88 smcli_memory_copy_performance+280:sub
$0x8,%rsi

0x0040cb8c smcli_memory_copy_performance+284:sub
$0x8,%rcx

0x0040cb90 smcli_memory_copy_performance+288:sub
$0x1,%rdx

0x0040cb94 smcli_memory_copy_performance+292:jns
0x40cb80 smcli_memory_copy_performance2+272



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

freebsd-questions-unsubscr...@freebsd.org







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


Problems with gnome-keyring-daemon and console-kit-daemon on FreeBSD 7.1

2009-02-18 Thread manish jain


Hi all,

I installed FreeBSD 7.1 a few days back along with Gnome. I added 
dbus_enable=YES and hald_enable=YES in /etc/rc.conf to get dbus and hald 
up and running. Since then, I am getting the following error messages 
when I start gnome :


gnome-keyring-daemon : couldn't allocate secure memory to keep passwords 
and or keys from being written to the disk
console-kit-daemon : GLib-CRITICAL: g_hash_table_lookup: assertion 
`hash_table != NULL' failed
console-kit-daemon : GLib-CRITICAL: g_hash_table_destroy: assertion 
`hash_table != NULL' failed


The last 2 messages (from console-kit-daemon) get repeated multiple 
times. Gnome gets stuck during startup while displaying item 2 (The 
Panel) on the startup-logo splash screen for nearly 5 minutes.


My system is a Celeron 800 MHz on a Tomato motherboard with an Intel 810 
chipset.


Can anyone please tell me what is wrong in my FreeBSD configuration ?

Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Jonathan Chen
On Wed, Feb 18, 2009 at 07:18:03AM -0800, GESBBB wrote:
 I am using this snippet of code in a bash script that is run via CRON.
 ?
 ?
 snippet
 # See if we are running via CRON
 ??? if [ ! -t 0 ]
 ? then
 # Use the BASH RANDOM function to generate a random number between 0  32767
 ??? RESTING=$((RANDOM/60))
 ??? sleep ${RESTING}
 ??? fi
 /snippet
 ?
 ?
 It runs fine from the console; however, when run via CRON, it outputs this 
 error message.
 ?
 Tput: No terminal type specified and no TERM environmental variable.

Bash is looking up the user's bash startup-scripts, and one of the
script commands assumes that it's running on a terminal.
-- 
Jonathan Chen j...@chen.org.nz
--
 In mathematics you don't understand things.
   You just get used to them.
 - Johann von Neumann
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Property Update February 2009 - International Property Directory

2009-02-18 Thread International Property Directory
 

February 2009 - Interest is picking up in select markets
 

   
  

Choose Your Language:
 
 
Ajman - UAE

International Property Directory are pleased to announce a FIRST for a FINANCE 
FACILITY IN AJMAN

Goldcrest Properties, one of our recommended developers of note are now pleased 
to announce long term extended finance to all valued customers, projects 
viewable here, Standing amongst Ajman's top developers, Goldcrest Properties is 
the first to offier finance facilities to its clientele through International 
Property Directory. The aim is to bolster our current customers who have 
aspired to own a home in Goldcrest Smart Towers and to provide new customers 
with simple access to our projects.

Grab this golden opportunity and be the proud owners of homes from the future, 
today!

EASY PROCESS, MINIMAL DOCUMENTATION AND INSTANT APPROVAL!

Up to 25 Years of Financing

Up to 65% Non-Residents Financing

Up to 85% Residents Financing

Pay as low as AED 2,300/- Per month

Contact IPD for more details on how to get into this magnificent development at 
great rates!

 
International Resorts and Gated Communities

Hyde Park, Cairo, Egypt

Le Paradis, St Lucia

Punta Cana, Dominican Republic

Big White Ski Resort, Canada

Limon Province, Costa Rica

Campeche Playa Golf Marina and Spa Resort, Mexico
 
Please forward this newsletter 

If you know someone who might be interested in our latest newsletter please 
click here to forward this email to up to 5 friends at once.

  

Buying property in 2009

Property in many locations brings greater guaranteed returns than putting your 
money with a Bank. Risks persist but markets that attract vacationers will 
bring solid returns over time.

 
  

MEXICO - New Resort Development

The investment potential of this development is first rate and rental returns 
are expected to be strong given the uniqueness of the project. The project 
includes something for everyone from Apartments in Golf Marina resort, 
Five-Star Hotel, Golf Residences with spectacular views to the Golf Course, 
Marina Residences with views to the Sports Marina, Beach Residences with 
spectacular views to the sea, Leisure areas, private swimming pool, jacuzzi, 
Clubhouse with bar/restaurant, changing rooms, gym, tennis courts, etc and easy 
International Airports access.
 MORE

 
  PANAMA CITY - New - Los Faros de Panamá
This project includes: 1,716 residential units, a luxury hotel with 301 rooms, 
a shopping mall, restaurants, a spa, a casino and a total of 3,895 car park 
units.
 MORE
 
  

MIDDLE EAST - SAUDI

The Middle East and the Gulf are still strong - but in a different way and for 
different reasons.

Damac Properties appoints Kasktas Arabia for enabling works at Al-Jawharah 
project Luxury lifestyle provider, Damac Properties has announced the 
appointment of Kasktas Arabia LTD Construction to carry out enabling works at 
its 'Al-Jawharah' residential project on the Jeddah Corniche. This spectacular 
40-storey tower, which will be located alongside the Red Sea, will be set in 
beautiful landscaped surroundings, with grand reception area, double height 
lobby, guest lounge designed by a top interior designer and will feature 
luxurious 3 bedrooms as well 2 and 1 bedroom apartments, Health club and 
multi-level car park.
 MORE

Think Commercial or Retail property in Dubai and only think global brands in 
case of being caught with a developer that finds it hard to deliver.

 
  

MIDDLE EAST - EGYPT

Egypt – 12% yields, but politically could be awkward but unlikely as Egypt is a 
very centralised state as regards politics.
Cairo enjoys better yields in key locations. A prime location is Hyde Park 
which is an upscale gated area catering to the expatriate buyers. Red Sea 
property in Egypt enjoys much lower price tags but look out for again brand 
names building superior products as this is an EARTH QUAKE zone!

Jordan, Saudi Arabia and Qatar can all take some of the spill over from the 
Emirates in terms of growth.

 
  

CARIBBEAN - ST LUCIA

The Caribbean has many resort type developments coming into the market which 
remains the playground of the mobile wealthy set although prices are more 
reachable - think St Lucia. Mexico, Costa Rica, Belize, and Panama which 
benefit enormously from the US retiree club - we see no slowdown on this 
movement to warmer climbs with lower food and lower general living costs. 
Dominican Republic also has some famous names popping up with Golf and Marina 
style resorts at very affordable entry levels.

 
 
   
 
 
   

Newsletter Sign up - Please sign-up an associate for the IPD Newsletter list

Newsletter Removal - Please remove email from the IPD Newsletter list

DISCLAIMER
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have 

AUDITORIAS DEL ISR, IETU, IVA e IDE

2009-02-18 Thread Leticia Alvarez

   AUDITORIAS del  ISR, IETU, IVA e IDE







   Con la = reforma fiscal de  2008 entro en  vigor la Ley del IETU (
   (Impuesto  Empresarial a = Tasa  Única). El tiempo transcurre y la
   autoridad correspondiente se dispone  instrumentar actos de
   fiscalización en materia de IETU , para verificar = si los 
   contribuyentes están cumpliendo con sus obligaciones sobre una base
   = apegada a  los actos gravados reales, así como revisar la
   simetría fiscal de los = ingresos y  deducciones que son base de
   cada gravamen vigente, específicamente de = ISR ,  IETU, IVA e
   IDE, detectando actos de lavado de dinero provenientes de laevasión  del 
entero o de alguno de estos impuestos y considerando
   sus aplicaciones = para  2009.



   Asista a = este Seminario  y conozca los principales cambios que
   aplican para el 2009, en ella = aprendera a  alinear correctamente
   sus procesos contables y calculos de los gravamenes  mencionados en
   el entorno de la simetria fiscal objeto de la solucion = integral y 
   a prevenir de este modo, el calculo de diferencias en pagos
   provisionales = y  definitivo en materia de IETU, asi como por
   acreditamientos y = compensaciones  erroneas.



   Aborde a = detalle el  entorno tributario en Mexico a partir de 2008
   con la entrada en vigor del = IETU e  IDE, la Solucion Integral de
   la Administracion Publica, sus objetivos, su  proceso de
   implementacion y sus acciones de verificacion, asi como los 
   mecanismos y modelos de prevencion para enfrentar un acto de
   fiscalizacion = al  IETU, incluyendo:



   - La tasa para calcular los = pagos  provisionales e impuesto anual
   del IETU para las personas fisicas y = morales a  partir de 2009.



   -El factor en 2009 para = determinar el  acreditamiento contra el
   IETU por salarios y aportaciones de seguridad  social.



   -Deducciones de personas = morales y  personas físicas, datos
   informativos obligatorios en la declaracion = anual en  materia de
   ISR para 2009 que puedan afectar.



   Y mucho mas



   DIRIGIDO A: Empresarios, = Contadores y  Funcionarios responsables
   de la contabilidad, administración y = cumplimiento  fiscal de
   contribuyentes sujetos al IETU y que por consecuencia son = sujetos
   del  ISR, IVA e IDE, así como a todas las personas interesadas en
   el  tema.









   Guadalajara,  Jal.25  de Febrero  2009

   Monterrey,  N.L   10  de   Marzo 2009


   Horario: 9:00 = a 14:00  hrs y de 15:00 a 18:00 hrs.




   No se puede perder este gran  Seminario!!!





   Solicite un  folleto via telefonica Tel. 01(33) 31 22 45 00 con 10lineas 
y  uno de nuestros Ejecutivos le atendera.

   Solicite un folleto via correo electronico. Responda este correo = con
   los  siguientes datos:

   Seminario: = AUDITORIAS del ISR, IETU, IVA = e  IDE

   Ciudad de = Interes:

   Nombre :Puesto : 
   Empresa :
   Ciudad :
   Telefonos :
   Extension = : 
   Fax :



   Se han = omitido  intencionalmente los acentos para evitar la
   deformacion del texto en = algunos  equipos.
   Si no desea recibir invitaciones en el futuro sobre = ningun  tema
   de CLF envie un correo con asunto A2.  Gracias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Top Posting Mania [was Re: FreeBSD 7.O compiled code is very slow]

2009-02-18 Thread Ian Smith
On Thu, 19 Feb 2009 00:13:08 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

  you install it from ports and use explicitly, everything else still uses 
  default
  
  On Wed, 18 Feb 2009, Kailash Kailash wrote:
  
   Can old version of GCC used with BSD 7.0 without facing any compatibility
   problem?
   Thanks,
   Kailash
  
   -Original Message-
   From: Wojciech Puchar [mailto:woj...@wojtek.tensor.gdynia.pl]
   Sent: Wednesday, February 18, 2009 1:46 PM
   To: Kailash Kailash
   Cc: freebsd-questions@freebsd.org
   Subject: Re: FreeBSD 7.O compiled code is very slow
  
   looks like they improved gcc. you can install older from ports.
  
   On Wed, 18 Feb 2009, Kailash Kailash wrote:

Woj, I'm really surprised that you, of all people, seem lately to have 
been converted to the Micro$oft Outlock-trained style of top-posting, 
including tail-quoting all sorts irrelevant and repeated trailers etc, 
after years of your (almost too- :) concise postings.

This list is getting very hard to follow as a digest anymore, when half 
of it or more is re-re-repeated overtailquoting of irrelevant trivia.  
Please come back from the dark side ..

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


Re: FreeBSD 7.1: iwi problem with intel 2200 pro wireless card

2009-02-18 Thread Erik Johnson

Hello John,
I also have a T42p that I just installed FreeBSD 7.1 onto. I use the 
Intel 2200BG as well, so hopefully this helps.


I noticed on your loader.conf that you have the license at the end of 
WiFi Config. I placed mine at the beginning. as in the example below. 
Have you tried loading that first? I'm not sure if it makes a difference 
but might be worth a try. I'm interested in hearing back and keeping in 
contact since we share similar config for older hardware.



---
legal.intel_iwi.license_ack=1
if_iwi_load=YES
wlan_load=YES
firmware_load=YES
iwi_bss_load=YES
iwi_ibss_load=YES
iwi_monitor_load=YES



-

Erik

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


Re: FreeBSD 7.O compiled code is very slow

2009-02-18 Thread Bsd Lord
On Wed, Feb 18, 2009 at 8:44 PM, Kailash Kailash
kailash.kail...@zscaler.com wrote:
 I am using FreeBSD 7.0 in 64 BIT mode. Same code compiled on BSD 7.0 runs
 50% speed (as expected by CPU and code architecture) compared to BSD 6.2.
 Here is one real code with binary output. On 3.0 GHz Woodcrest processor, I
 am able to copy from one cache to another cache at the speed of
 24Gbytes/second verses 12 Gbytes/second. Any help is appreciated.

 Thanks,
 Kailash


Whatever happened to your brilliant team that you assembled in India ?
Heard you started SafeMarch and BlueJune. what happened ?
Looks like still you are fixated with NetScaler and got as far as zScaler. Huh ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Publicidad

2009-02-18 Thread admin
Clic aqui si no ves la imagen
http://www.ekipate.es/lists/lt.php?id=YR4dAQdFUQNRC1U%3D



--
To unsubscribe from this list visit
http://www.ekipate.es/lists/lt.php?id=YR5SBAwKVQQYC1BMAQ4FVAM%3D

To update your preferences visit
http://www.ekipate.es/lists/lt.php?id=YR5SBAwKVQUYC1BMAQ4FVAM%3D



--
Powered by PHPlist, www.phplist.com --


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


Re: Top Posting Mania [was Re: FreeBSD 7.O compiled code is very slow]

2009-02-18 Thread Wojciech Puchar

  On Wed, 18 Feb 2009, Kailash Kailash wrote:

Woj, I'm really surprised that you, of all people, seem lately to have
been converted to the Micro$oft Outlock-trained style of top-posting,
including tail-quoting all sorts irrelevant and repeated trailers etc,
after years of your (almost too- :) concise postings.


well, sorry, but i don't use M$ Outlock
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Top Posting Mania [was Re: FreeBSD 7.O compiled code is very slow]

2009-02-18 Thread Ian Smith
On Thu, 19 Feb 2009, Wojciech Puchar wrote:
 On Wed, 18 Feb 2009, Kailash Kailash wrote:
   
   Woj, I'm really surprised that you, of all people, seem lately to have
   been converted to the Micro$oft Outlock-trained style of top-posting,
   including tail-quoting all sorts irrelevant and repeated trailers etc,
   after years of your (almost too- :) concise postings.
  
  well, sorry, but i don't use M$ Outlock

That's more like it! :)

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