Re: Weird NFS Performance Problem

2013-03-15 Thread Mehmet Erol Sanliturk
On Fri, Mar 15, 2013 at 5:09 PM, Tim Daneliuk tun...@tundraware.com wrote:

 I have a FreeBSD 9.1-STABLE exhibiting weird NFS performance issues
 and I'd appreciate any suggestions.

 I have several different directories exported from the same filesystem.
 The machine that mounts them (a Linux Mint 12 desktop) writes
 nice and fast to one of them, but writes to the other one
 are dreadfully slow.  Both are mounted on the LM machine using
 'rw,soft,intr' in that machine's fstab file.

 Any ideas on what might be the culprit here?


 --
 --**--**
 
 Tim Daneliuk tun...@tundraware.com
 PGP Key: http://www.tundraware.com/PGP/



Is the slow directory a LINK ?
If it is a LINK , then , try with the real directory name .


Thank you very much .

Mehmet Erol Sanliturk
___
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: weird problem with 9.0 Release and ed0

2012-08-12 Thread Christoph P.U. Kukulies

Am 11.08.2012 09:58, schrieb Ian Smith:

In freebsd-questions Digest, Vol 427, Issue 6, Message: 16
On Fri, 10 Aug 2012 12:39:36 +0200 Christoph P.U. Kukulies 
k...@kukulies.org wrote:
   Am 10.08.2012 11:40, schrieb Christoph P.U. Kukulies:
Am 10.08.2012 11:28, schrieb Christoph P.U. Kukulies:
The problem need not to be confined to 9.0. It stated to develop
under 5.1 already.
read: started to develop...
   
I'm running a natd gateway machine that was developing strange
behaviour such that the
outside interface (ed0, BNC connector) that was connected via a small
media converter switch to
the providers sync line had dropouts. The machine couldn't ping into
the Internet and also couldn't be pinged.
   
I first thought it was the switch/media converter, but another
(Windows XP) machine that was on the
same BNC cable worked flawlessly.

That XP box was directly on the outside, not inside nat'd via this one?


Yes, on the same BNC cable/interface.

--++--80.72.44.x+---[SWITCH/BNCtoTP]-INTERNET--
  ||  |
80.72.44.228 80.72.44.226 |
 ed0   | ed0
FreeBSD 5.1   XP Box  FreeBSD 9.0
 xl0 em0
  |   |
--+-172.27.x.x+Intranet






So I decided to migrate that 5.1 machine to a 9.0 machine. The
situation now is that I have the9.0 machine
at the BNC cable and simultanously the old FreeBSD 5.1 gateway on the
same BNC cable but through a
TP adapter. This was the old machine works fine and I can care about
the new machine.

Not quite clear .. can you sketch your network configuration?


Hope the ascii art doesn't get garbled.


Is there a known problem with ed0 cards that have the Realtek 8029
chipset. Do they need some
special flags like memory mapping or irq?

Long time since I've run anything with 10base2/BNC, but it used to work
ok, on an ed0.

When I for example boot the 9.0 machine the comping up of the em0 (on
mainboard interface results in a highlighted
kernel message on the console. The coming up of the ed0 is not
flagged this way. And as a result the
ed0 interface seems to be dead.

Does the outside interface have a static address, or do you use DHCP
via the provider's switch/hub/whatever?  Show /etc/rc.conf setup.  It
smells a bit like the interface may not be up soon enough at that time;
the ntpd message below could also indicate something like that re ipv6.


No DHCP in the game. Everything static.


Here some excerpts of dmesg:
em0: Intel(R) PRO/1000 Network Connection 7.2.3 port 0x4400-0x441f
mem 0x9310-0x9311,0x93124000-0x93124fff irq 20 at device 25.0
on pci0
em0: Using an MSI interrupt
em0: Ethernet address: 00:1c:c0:37:b2:9f
   
ed0: RealTek 8029 port 0x1000-0x101f irq 22 at device 1.0 on pci7
ed0: Ethernet address: 00:e0:7d:7c:2b:4a
   
I also see this:
Jul 30 23:03:54 forum ntpd[1711]: unable to create socket on ed0 (20)
for fe80::
2e0:7dff:fe7c:2b4a#123

You should get more / better clues if you boot with verbose messages.

Forgot to add this info:
   
ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:e0:7d:7c:2b:4a
inet 80.72.44.230 netmask 0xfff0 broadcast 80.72.44.239
inet6 fe80::2e0:7dff:fe7c:2b4a%ed0 prefixlen 64 scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (10base2/BNC)
   
  
   Must add some more info:
  
   My kernel config:
  
   cpu I486_CPU
   cpu I586_CPU
   cpu I686_CPU
   ident   DIVERT
  
   makeoptions DEBUG=-g# Build kernel with gdb(1) debug
   symbols
   options IPFIREWALL
   options IPFIREWALL_VERBOSE
   options IPFIREWALL_VERBOSE_LIMIT=10
   options IPDIVERT
   options IPFIREWALL_DEFAULT_TO_ACCEPT
  
   (the rest like in GENERIC).

Just to mention: you don't actually need to include FIREWALL* or DIVERT
in kernels these days; a GENERIC kernel will work fine, loading modules
as needed.  Only exception is if you needed FIREWALL_FORWARD, which it
appears you don't.


Ah, that's good to know.




   Strange thing:
  
   I cannot ping neither the outside interface address nor the inside
   (172.27.2.115)




forum2# egrep 'ifconfig|firewall|natd|gateway|ntpd' /etc/rc.conf
### Basic network and firewall/security options: ###
ifconfig_em0= inet 172.27.2.115 netmask 255.255.0.0
ifconfig_lo0=inet 127.0.0.1   # default loopback device configuration.
ifconfig_ed0=inet 87.79.34.230 netmask 0xfff0 
ntpd_enable=NO
natd_enable=YES   # Enable natd (if firewall_enable == YES).
natd_program=/sbin/natd   # path to natd, if you want a different one.
natd_interface=ed0# Public interface or IPaddress to use.
natd_flags=   # Additional 

Re: weird problem with 9.0 Release and ed0

2012-08-11 Thread Ian Smith
In freebsd-questions Digest, Vol 427, Issue 6, Message: 16
On Fri, 10 Aug 2012 12:39:36 +0200 Christoph P.U. Kukulies 
k...@kukulies.org wrote:
  Am 10.08.2012 11:40, schrieb Christoph P.U. Kukulies:
   Am 10.08.2012 11:28, schrieb Christoph P.U. Kukulies:
   The problem need not to be confined to 9.0. It stated to develop 
   under 5.1 already.
   read: started to develop...
  
   I'm running a natd gateway machine that was developing strange 
   behaviour such that the
   outside interface (ed0, BNC connector) that was connected via a small 
   media converter switch to
   the providers sync line had dropouts. The machine couldn't ping into 
   the Internet and also couldn't be pinged.
  
   I first thought it was the switch/media converter, but another 
   (Windows XP) machine that was on the
   same BNC cable worked flawlessly.

That XP box was directly on the outside, not inside nat'd via this one?

   So I decided to migrate that 5.1 machine to a 9.0 machine. The 
   situation now is that I have the9.0 machine
   at the BNC cable and simultanously the old FreeBSD 5.1 gateway on the 
   same BNC cable but through a
   TP adapter. This was the old machine works fine and I can care about 
   the new machine.

Not quite clear .. can you sketch your network configuration?

   Is there a known problem with ed0 cards that have the Realtek 8029 
   chipset. Do they need some
   special flags like memory mapping or irq?

Long time since I've run anything with 10base2/BNC, but it used to work 
ok, on an ed0.

   When I for example boot the 9.0 machine the comping up of the em0 (on 
   mainboard interface results in a highlighted
   kernel message on the console. The coming up of the ed0 is not 
   flagged this way. And as a result the
   ed0 interface seems to be dead.

Does the outside interface have a static address, or do you use DHCP 
via the provider's switch/hub/whatever?  Show /etc/rc.conf setup.  It 
smells a bit like the interface may not be up soon enough at that time; 
the ntpd message below could also indicate something like that re ipv6.

   Here some excerpts of dmesg:
   em0: Intel(R) PRO/1000 Network Connection 7.2.3 port 0x4400-0x441f 
   mem 0x9310-0x9311,0x93124000-0x93124fff irq 20 at device 25.0 
   on pci0
   em0: Using an MSI interrupt
   em0: Ethernet address: 00:1c:c0:37:b2:9f
  
   ed0: RealTek 8029 port 0x1000-0x101f irq 22 at device 1.0 on pci7
   ed0: Ethernet address: 00:e0:7d:7c:2b:4a
  
   I also see this:
   Jul 30 23:03:54 forum ntpd[1711]: unable to create socket on ed0 (20) 
   for fe80::
   2e0:7dff:fe7c:2b4a#123

You should get more / better clues if you boot with verbose messages.

   Forgot to add this info:
  
   ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:e0:7d:7c:2b:4a
   inet 80.72.44.230 netmask 0xfff0 broadcast 80.72.44.239
   inet6 fe80::2e0:7dff:fe7c:2b4a%ed0 prefixlen 64 scopeid 0xa
   nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
   media: Ethernet autoselect (10base2/BNC)
  
  
  Must add some more info:
  
  My kernel config:
  
  cpu I486_CPU
  cpu I586_CPU
  cpu I686_CPU
  ident   DIVERT
  
  makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
  symbols
  options IPFIREWALL
  options IPFIREWALL_VERBOSE
  options IPFIREWALL_VERBOSE_LIMIT=10
  options IPDIVERT
  options IPFIREWALL_DEFAULT_TO_ACCEPT
  
  (the rest like in GENERIC).

Just to mention: you don't actually need to include FIREWALL* or DIVERT 
in kernels these days; a GENERIC kernel will work fine, loading modules 
as needed.  Only exception is if you needed FIREWALL_FORWARD, which it 
appears you don't.

  Strange thing:
  
  I cannot ping neither the outside interface address nor the inside 
  (172.27.2.115)
  
  --
  Christoph Kukulies

Please show output from:

# egrep 'ifconfig|firewall|natd|gateway|ntpd' /etc/rc.conf
# cat /etc/natd.conf
# ipfw show
# netstat -finet -rn

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


Re: weird problem with 9.0 Release and ed0

2012-08-10 Thread Christoph P.U. Kukulies

Am 10.08.2012 11:28, schrieb Christoph P.U. Kukulies:
The problem need not to be confined to 9.0. It stated to develop under 
5.1 already.

read: started to develop...


I'm running a natd gateway machine that was developing strange 
behaviour such that the
outside interface (ed0, BNC connector) that was connected via a small 
media converter switch to
the providers sync line had dropouts. The machine couldn't ping into 
the Internet and also couldn't be pinged.


I first thought it was the switch/media converter, but another 
(Windows XP) machine that was on the

same BNC cable worked flawlessly.

So I decided to migrate that 5.1 machine to a 9.0 machine. The 
situation now is that I have the9.0 machine
at the BNC cable and simultanously the old FreeBSD 5.1 gateway on the 
same BNC cable but through a
TP adapter. This was the old machine works fine and I can care about 
the new machine.


Is there a known problem with ed0 cards that have the Realtek 8029 
chipset. Do they need some

special flags like memory mapping or irq?

When I for example boot the 9.0 machine the comping up of the em0 (on 
mainboard interface results in a highlighted
kernel message on the console. The coming up of the ed0 is not flagged 
this way. And as a result the

ed0 interface seems to be dead.


Here some excerpts of dmesg:
em0: Intel(R) PRO/1000 Network Connection 7.2.3 port 0x4400-0x441f 
mem 0x9310-0x9311,0x93124000-0x93124fff irq 20 at device 25.0 
on pci0

em0: Using an MSI interrupt
em0: Ethernet address: 00:1c:c0:37:b2:9f

ed0: RealTek 8029 port 0x1000-0x101f irq 22 at device 1.0 on pci7
ed0: Ethernet address: 00:e0:7d:7c:2b:4a

I also see this:
Jul 30 23:03:54 forum ntpd[1711]: unable to create socket on ed0 (20) 
for fe80::

2e0:7dff:fe7c:2b4a#123


Forgot to add this info:

ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:e0:7d:7c:2b:4a
inet 80.72.44.230 netmask 0xfff0 broadcast 80.72.44.239
inet6 fe80::2e0:7dff:fe7c:2b4a%ed0 prefixlen 64 scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (10base2/BNC)


--
Christoph Kukulies

___
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: weird problem with 9.0 Release and ed0

2012-08-10 Thread Christoph P.U. Kukulies

Am 10.08.2012 11:40, schrieb Christoph P.U. Kukulies:

Am 10.08.2012 11:28, schrieb Christoph P.U. Kukulies:
The problem need not to be confined to 9.0. It stated to develop 
under 5.1 already.

read: started to develop...


I'm running a natd gateway machine that was developing strange 
behaviour such that the
outside interface (ed0, BNC connector) that was connected via a small 
media converter switch to
the providers sync line had dropouts. The machine couldn't ping into 
the Internet and also couldn't be pinged.


I first thought it was the switch/media converter, but another 
(Windows XP) machine that was on the

same BNC cable worked flawlessly.

So I decided to migrate that 5.1 machine to a 9.0 machine. The 
situation now is that I have the9.0 machine
at the BNC cable and simultanously the old FreeBSD 5.1 gateway on the 
same BNC cable but through a
TP adapter. This was the old machine works fine and I can care about 
the new machine.


Is there a known problem with ed0 cards that have the Realtek 8029 
chipset. Do they need some

special flags like memory mapping or irq?

When I for example boot the 9.0 machine the comping up of the em0 (on 
mainboard interface results in a highlighted
kernel message on the console. The coming up of the ed0 is not 
flagged this way. And as a result the

ed0 interface seems to be dead.


Here some excerpts of dmesg:
em0: Intel(R) PRO/1000 Network Connection 7.2.3 port 0x4400-0x441f 
mem 0x9310-0x9311,0x93124000-0x93124fff irq 20 at device 25.0 
on pci0

em0: Using an MSI interrupt
em0: Ethernet address: 00:1c:c0:37:b2:9f

ed0: RealTek 8029 port 0x1000-0x101f irq 22 at device 1.0 on pci7
ed0: Ethernet address: 00:e0:7d:7c:2b:4a

I also see this:
Jul 30 23:03:54 forum ntpd[1711]: unable to create socket on ed0 (20) 
for fe80::

2e0:7dff:fe7c:2b4a#123


Forgot to add this info:

ed0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:e0:7d:7c:2b:4a
inet 80.72.44.230 netmask 0xfff0 broadcast 80.72.44.239
inet6 fe80::2e0:7dff:fe7c:2b4a%ed0 prefixlen 64 scopeid 0xa
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (10base2/BNC)



Must add some more info:

My kernel config:

cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   DIVERT

makeoptions DEBUG=-g# Build kernel with gdb(1) debug 
symbols

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT

(the rest like in GENERIC).

Strange thing:

I cannot ping neither the outside interface address nor the inside 
(172.27.2.115)


--
Christoph Kukulies


___
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: Weird configuration with Apache 22 and Freebsd 9.0

2012-01-30 Thread Damien Fleuriot
On 1/30/12 11:40 AM, Darrell Betts wrote:
 Installed Freebsd9.0 along with Apache2.2 ,php5, php5-extensions, perl, and 
 phpmyadmin
 
 phpmyadmin works fine when i put in the url but if I add a virtual host file 
 then I get the error can't find phpmyadmin on the server.
 
 What am I missing here?
 

You're missing, most likely, an alias to /phpmyadmin/ or similar.

You may want to copy/paste your vhost configuration.


Also, no offense meant, but I think you're being lazy.
From your question, I can only guess that you haven't looked at your
apache error log files.
___
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: Weird stuff SOLVED

2011-12-03 Thread Greg Larkin
Hi Bernt,

Glad to hear you figured it out!

Cheers,
Greg



On Dec 1, 2011, at 8:10 PM, Bernt Hansson b...@bananmonarki.se wrote:

 2011-12-02 01:53, Bernt Hansson skrev:
 
 At some points one is an idiot!
 
 /var/db/ports was pointing at the wrong directory and not the ports 
 directory. Well, well you live to learn.
 
 2011-12-01 17:13, Chris Brennan skrev:
 On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hanssonb...@bananmonarki.se
 wrote:
 
 2011-12-01 15:11, Greg Larkin skrev:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 12/1/11 8:37 AM, Bernt Hansson wrote:
 
 Hello list!
 
 Trying to upgrade 3:d party stuff.
 
 Only get errors. What gives?
 
 --- Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
 (graphics/jasper)
 --- Building '/usr/ports/graphics/jasper'
 === Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/**graphics/jasper make config;
 
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-**48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.
 
 Permission is 777
 
 
 Hi Bernt,
 
 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.
 
 Are you running the upgrade as the root user? I would be interested in
 seeing the output of the following command sequence:
 
 cd /usr/ports/graphics/jasper
 make -V SU_CMD
 make -V UID
 make -V OPTIONSFILE
 
 
 %su -
 Password:
 testbox# cd /usr/ports/graphics/jasper
 testbox# make -V SU_CMD
 /usr/bin/su root -c
 testbox# make -V UID
 0
 testbox# make -V OPTIONSFILE
 /var/db/ports/jasper/options
 
 
 
 Also, what happens if you simply do this:
 
 cd /usr/ports/graphics/jasper make config
 
 
 testbox# cd /usr/ports/graphics/jasper make config
 
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 
 I did this also, as root
 
 cd /usr/ports (it's a link)
 mkdir 1
 
 cd /usr/home/bernt/disk8/ports/graphics/jasper
 
 mkdir 1
 mkdir: 1: File exists
 
 Creating files/dirs don't seem to be a problem.
 
 /dev/ad0s2g 8.7G 8.3G -322M 104% /usr
 /dev/ad14.eli 902G 126G 775G 14% /usr/home/bernt/disk8
 
 
 I'm gonna take a stab in the dark here, paste the result of the following
 cmd:
 
 mount | grep ad14
 
 Just to make sure.
 testbox# fsck -y -t ufs /dev/ad14.eli
 ** /dev/ad14.eli
 ** Last Mounted on /usr/home/bernt/disk8
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 440342 files, 66312180 used, 406697750 free (144630 frags, 50819140
 blocks, 0.0% fragmentation)
 
 * FILE SYSTEM IS CLEAN *
 
 testbox# mount /dev/ad14.eli /usr/home/bernt/disk8
 
 testbox# mount | grep ad14
 /dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates)
 testbox
 
 Possibly, you have a weird mount option being passed to the mountpoint,
 that is preventing you from building ports at this location.
 
 On a side note, why exactly do you need ports on an encrypted gli
 conainer?
 
 It's not a need per se only so I could rule out any space issue.
 ___
 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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 8:37 AM, Bernt Hansson wrote:
 Hello list!
 
 Trying to upgrade 3:d party stuff.
 
 Only get errors. What gives?
 
 ---  Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10' (graphics/jasper)
 ---  Building '/usr/ports/graphics/jasper'
 ===  Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/graphics/jasper  make config;
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.
 
 Permission is 777

Hi Bernt,

Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
message is emitted when certain directories cannot be created.

Are you running the upgrade as the root user?  I would be interested in
seeing the output of the following command sequence:

cd /usr/ports/graphics/jasper
make -V SU_CMD
make -V UID
make -V OPTIONSFILE


Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper  make config


Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xiv4ACgkQ0sRouByUApAoAQCgzkRr80OZkz4cIBAJmEGK4tzR
rm4An2+qDSo8SiBY7tDDkDJa6Jg+3Lf/
=8t74
-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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 10:54 AM, Bernt Hansson wrote:
 2011-12-01 15:11, Greg Larkin skrev:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/1/11 8:37 AM, Bernt Hansson wrote:
 Hello list!

 Trying to upgrade 3:d party stuff.

 Only get errors. What gives?

 ---   Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
 (graphics/jasper)
 ---   Building '/usr/ports/graphics/jasper'
 ===   Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/graphics/jasper  make config;
 ===  Cannot create , check permissions
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.

 Permission is 777

 Hi Bernt,

 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.

 Are you running the upgrade as the root user?  I would be interested in
 seeing the output of the following command sequence:

 cd /usr/ports/graphics/jasper
 make -V SU_CMD
 make -V UID
 make -V OPTIONSFILE
 
 %su -
 Password:
 testbox# cd /usr/ports/graphics/jasper
 testbox# make -V SU_CMD
 /usr/bin/su root -c
 testbox# make -V UID
 0
 testbox# make -V OPTIONSFILE
 /var/db/ports/jasper/options
 

 Also, what happens if you simply do this:

 cd /usr/ports/graphics/jasper  make config

 
 testbox# cd /usr/ports/graphics/jasper  make config
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 
 I did this also, as root
 
 cd /usr/ports (it's a link)
 mkdir 1
 
 cd /usr/home/bernt/disk8/ports/graphics/jasper
 
 mkdir 1
 mkdir: 1: File exists
 
 Creating files/dirs don't seem to be a problem.
 
 /dev/ad0s2g  8.7G8.3G   -322M   104%/usr
 /dev/ad14.eli902G126G775G14%/usr/home/bernt/disk8
 

Does /usr/ports link directly to
/usr/home/bernt/disk8/ports/graphics/jasper?  I wouldn't expect that's
the case, but that's what the transcript above implies.

Does this problem happen with other ports as well or just graphics/jasper?

Do you have an /etc/make.conf file, and if so, what are the contents?

What is the output of the following commands?

ls -l /var/db/ports/jasper
cat /var/db/ports/jasper/options

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xp9IACgkQ0sRouByUApAwPgCfd00wf5oxpdSWQQoGw9H3DZb1
gosAn27BTLABAckWgIrJwmqhlOkFzAlP
=Ymv+
-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: Weird stuff

2011-12-01 Thread Chris Brennan
On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hansson b...@bananmonarki.se wrote:

2011-12-01 15:11, Greg Larkin skrev:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/1/11 8:37 AM, Bernt Hansson wrote:

 Hello list!

 Trying to upgrade 3:d party stuff.

 Only get errors. What gives?

 ---   Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
 (graphics/jasper)
 ---   Building '/usr/ports/graphics/jasper'
 ===   Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/**graphics/jasper  make config;

 ===  Cannot create , check permissions
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-**48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.

 Permission is 777


 Hi Bernt,

 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.

 Are you running the upgrade as the root user?  I would be interested in
 seeing the output of the following command sequence:

 cd /usr/ports/graphics/jasper
 make -V SU_CMD
 make -V UID
 make -V OPTIONSFILE


 %su -
 Password:
 testbox# cd /usr/ports/graphics/jasper
 testbox# make -V SU_CMD
 /usr/bin/su root -c
 testbox# make -V UID
 0
 testbox# make -V OPTIONSFILE
 /var/db/ports/jasper/options



 Also, what happens if you simply do this:

 cd /usr/ports/graphics/jasper  make config


 testbox# cd /usr/ports/graphics/jasper  make config

 === Cannot create , check permissions
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.

 I did this also, as root

 cd /usr/ports (it's a link)
 mkdir 1

 cd /usr/home/bernt/disk8/ports/**graphics/jasper

 mkdir 1
 mkdir: 1: File exists

 Creating files/dirs don't seem to be a problem.

 /dev/ad0s2g  8.7G8.3G   -322M   104%/usr
 /dev/ad14.eli902G126G775G14%/usr/home/bernt/disk8


I'm gonna take a stab in the dark here, paste the result of the following
cmd:

mount | grep ad14

Possibly, you have a weird mount option being passed to the mountpoint,
that is preventing you from building ports at this location.

On a side note, why exactly do you need ports on an encrypted gli conainer?

 --
 Chris Brennan
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
 GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)


___
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: Weird stuff

2011-12-01 Thread RW
On Thu, 01 Dec 2011 09:11:10 -0500
Greg Larkin wrote:



 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.
 

The actual error is:

=== Cannot create , check permissions

Note the space before the comma. I suspect it's trying to create a
directory using an undefined name variable.
___
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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 12:21 PM, RW wrote:
 On Thu, 01 Dec 2011 09:11:10 -0500
 Greg Larkin wrote:
 
 
 
 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.

 
 The actual error is:
 
 === Cannot create , check permissions
 
 Note the space before the comma. I suspect it's trying to create a
 directory using an undefined name variable.

Yes, I noticed that and have been trying to figure out why the shell
variable optionsdir seems to be empty.  I can't see how that's
possible yet, but I can't wait to find out!

- -g

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xw+gACgkQ0sRouByUApDo6QCfaV9YM94ryI3GcAqzhqp3e4+j
zoMAoLlXwq3TlB6UUBN3C2VD9iwQtUqv
=6eEc
-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: Weird stuff

2011-12-01 Thread Bernt Hansson

2011-12-01 17:14, Greg Larkin skrev:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 10:54 AM, Bernt Hansson wrote:

2011-12-01 15:11, Greg Larkin skrev:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 8:37 AM, Bernt Hansson wrote:

Hello list!

Trying to upgrade 3:d party stuff.

Only get errors. What gives?

---Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
(graphics/jasper)
---Building '/usr/ports/graphics/jasper'
===Cleaning for jasper-1.900.1_10
cd /usr/home/bernt/disk8/ports/graphics/jasper   make config;
===   Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade2030-48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
DEPENDS_TARGET=package
** Fix the problem and try again.

Permission is 777


Hi Bernt,

Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
message is emitted when certain directories cannot be created.

Are you running the upgrade as the root user?  I would be interested in
seeing the output of the following command sequence:

cd /usr/ports/graphics/jasper
make -V SU_CMD
make -V UID
make -V OPTIONSFILE


%su -
Password:
testbox# cd /usr/ports/graphics/jasper
testbox# make -V SU_CMD
/usr/bin/su root -c
testbox# make -V UID
0
testbox# make -V OPTIONSFILE
/var/db/ports/jasper/options



Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper   make config



testbox# cd /usr/ports/graphics/jasper  make config
===  Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/graphics/jasper.

I did this also, as root

cd /usr/ports (it's a link)
mkdir 1

cd /usr/home/bernt/disk8/ports/graphics/jasper

mkdir 1
mkdir: 1: File exists

Creating files/dirs don't seem to be a problem.

/dev/ad0s2g  8.7G8.3G   -322M   104%/usr
/dev/ad14.eli902G126G775G14%/usr/home/bernt/disk8



Does /usr/ports link directly to
/usr/home/bernt/disk8/ports/graphics/jasper?


No, it's a link from /usr/ports to /usr/home/bernt/disk8/ports


I wouldn't expect that's
the case, but that's what the transcript above implies.

Does this problem happen with other ports as well or just graphics/jasper?


---  ** Upgrade tasks 10: 0 done, 0 ignored, 0 skipped and 9 failed
---  Upgrade of multimedia/vlc started at: Fri, 02 Dec 2011 01:20:54 +0100
---  Upgrading 'vlc-1.1.11_3,3' to 'vlc-1.1.12,3' (multimedia/vlc)
OK? [yes]
---  Build of multimedia/vlc started at: Fri, 02 Dec 2011 01:20:55 +0100
---  Building '/usr/ports/multimedia/vlc'
===  Cleaning for vlc-1.1.12,3
cd /usr/home/bernt/disk8/ports/multimedia/vlc  make config;
=== Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/multimedia/vlc.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/multimedia/vlc.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20111202-3139-oh1rz5-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=vlc-1.1.11_3,3 UPGRADE_PORT_VER=1.1.11_3,3 make

** Fix the problem and try again.
---  Build of multimedia/vlc ended at: Fri, 02 Dec 2011 01:20:57 +0100 
(consumed 00:00:02)
---  Upgrade of multimedia/vlc ended at: Fri, 02 Dec 2011 01:20:57 
+0100 (consumed 00:00:03)

---  ** Upgrade tasks 10: 0 done, 0 ignored, 0 skipped and 10 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! x11/pixman (pixman-0.22.2)(unknown build error)
! x11/babl (babl-0.1.4) (unknown build error)
! x11/xterm (xterm-276) (unknown build error)
! graphics/jasper (jasper-1.900.1_9)(unknown build error)
! news/pan (pan-0.134)  (unknown build error)
! graphics/inkscape (inkscape-0.48.1_3) (unknown build error)
! graphics/gegl (gegl-0.1.6_1)  (unknown build error)
! graphics/gimp-app (gimp-app-2.6.11_4,1)   (unknown build 
error)
! multimedia/audacious-plugins (audacious-plugins-2.5.4_1) 
 (unknown build error)

! multimedia/vlc (vlc-1.1.11_3,3)   (unknown build error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 10 failed
---  Session ended at: Fri, 02 Dec 2011 01:20:57 +0100 (consumed 00:01:30)


Do you have an /etc/make.conf file, and if so, what are the contents?


# added by use.perl 2011-11-12 09:33:03
PERL_VERSION=5.12.4



What is the output of the following commands?

ls -l /var/db/ports/jasper


testbox# ls -l /var/db/ports/jasper
ls: /var/db/ports/jasper: No such file or directory
testbox#


cat /var/db/ports/jasper/options


testbox# cat /var/db/ports/jasper/options
cat: /var/db/ports/jasper/options: No such file or directory
testbox#


/Bernt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, 

Re: Weird stuff

2011-12-01 Thread Bernt Hansson



2011-12-01 17:13, Chris Brennan skrev:

On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hanssonb...@bananmonarki.se  wrote:

2011-12-01 15:11, Greg Larkin skrev:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 8:37 AM, Bernt Hansson wrote:


Hello list!

Trying to upgrade 3:d party stuff.

Only get errors. What gives?

---Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
(graphics/jasper)
---Building '/usr/ports/graphics/jasper'
===Cleaning for jasper-1.900.1_10
cd /usr/home/bernt/disk8/ports/**graphics/jasper   make config;

===   Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade2030-**48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
DEPENDS_TARGET=package
** Fix the problem and try again.

Permission is 777



Hi Bernt,

Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
message is emitted when certain directories cannot be created.

Are you running the upgrade as the root user?  I would be interested in
seeing the output of the following command sequence:

cd /usr/ports/graphics/jasper
make -V SU_CMD
make -V UID
make -V OPTIONSFILE



%su -
Password:
testbox# cd /usr/ports/graphics/jasper
testbox# make -V SU_CMD
/usr/bin/su root -c
testbox# make -V UID
0
testbox# make -V OPTIONSFILE
/var/db/ports/jasper/options




Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper   make config



testbox# cd /usr/ports/graphics/jasper  make config

===  Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.

I did this also, as root

cd /usr/ports (it's a link)
mkdir 1

cd /usr/home/bernt/disk8/ports/graphics/jasper

mkdir 1
mkdir: 1: File exists

Creating files/dirs don't seem to be a problem.

/dev/ad0s2g  8.7G8.3G   -322M   104%/usr
/dev/ad14.eli902G126G775G14%/usr/home/bernt/disk8



I'm gonna take a stab in the dark here, paste the result of the following
cmd:

mount | grep ad14


Just to make sure.
testbox# fsck -y -t ufs /dev/ad14.eli
** /dev/ad14.eli
** Last Mounted on /usr/home/bernt/disk8
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
440342 files, 66312180 used, 406697750 free (144630 frags, 50819140 
blocks, 0.0% fragmentation)


* FILE SYSTEM IS CLEAN *

testbox# mount /dev/ad14.eli /usr/home/bernt/disk8

testbox# mount | grep ad14
/dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates)
testbox


Possibly, you have a weird mount option being passed to the mountpoint,
that is preventing you from building ports at this location.

On a side note, why exactly do you need ports on an encrypted gli conainer?


It's not a need per se only so I could rule out any space issue.
___
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: Weird stuff SOLVED

2011-12-01 Thread Bernt Hansson

2011-12-02 01:53, Bernt Hansson skrev:

At some points one is an idiot!

/var/db/ports was pointing at the wrong directory and not the ports 
directory. Well, well you live to learn.



2011-12-01 17:13, Chris Brennan skrev:

On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hanssonb...@bananmonarki.se
wrote:

2011-12-01 15:11, Greg Larkin skrev:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 8:37 AM, Bernt Hansson wrote:


Hello list!

Trying to upgrade 3:d party stuff.

Only get errors. What gives?

--- Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
(graphics/jasper)
--- Building '/usr/ports/graphics/jasper'
=== Cleaning for jasper-1.900.1_10
cd /usr/home/bernt/disk8/ports/**graphics/jasper make config;

=== Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade2030-**48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
DEPENDS_TARGET=package
** Fix the problem and try again.

Permission is 777



Hi Bernt,

Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
message is emitted when certain directories cannot be created.

Are you running the upgrade as the root user? I would be interested in
seeing the output of the following command sequence:

cd /usr/ports/graphics/jasper
make -V SU_CMD
make -V UID
make -V OPTIONSFILE



%su -
Password:
testbox# cd /usr/ports/graphics/jasper
testbox# make -V SU_CMD
/usr/bin/su root -c
testbox# make -V UID
0
testbox# make -V OPTIONSFILE
/var/db/ports/jasper/options




Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper make config



testbox# cd /usr/ports/graphics/jasper make config

=== Cannot create , check permissions
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.

I did this also, as root

cd /usr/ports (it's a link)
mkdir 1

cd /usr/home/bernt/disk8/ports/graphics/jasper

mkdir 1
mkdir: 1: File exists

Creating files/dirs don't seem to be a problem.

/dev/ad0s2g 8.7G 8.3G -322M 104% /usr
/dev/ad14.eli 902G 126G 775G 14% /usr/home/bernt/disk8



I'm gonna take a stab in the dark here, paste the result of the following
cmd:

mount | grep ad14


Just to make sure.
testbox# fsck -y -t ufs /dev/ad14.eli
** /dev/ad14.eli
** Last Mounted on /usr/home/bernt/disk8
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
440342 files, 66312180 used, 406697750 free (144630 frags, 50819140
blocks, 0.0% fragmentation)

* FILE SYSTEM IS CLEAN *

testbox# mount /dev/ad14.eli /usr/home/bernt/disk8

testbox# mount | grep ad14
/dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates)
testbox


Possibly, you have a weird mount option being passed to the mountpoint,
that is preventing you from building ports at this location.

On a side note, why exactly do you need ports on an encrypted gli
conainer?


It's not a need per se only so I could rule out any space issue.
___
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: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem

2010-09-03 Thread Ivan Voras

On 09/02/10 21:25, David Brodbeck wrote:

While doing some interoperability testing between Linux and FreeBSD, I
came up with this unusual issue.  I could use some help figuring out
if this is a bug, and if so, where to file it.  Here's the scenario:

- FreeBSD 8.1-RELEASE server, sharing a ZFS filesystem via NFSv4.


I think that this is the beginning of your problems - even the developer 
who is working on NFSv4 says it's too experimental to be used in real world.



- Linux client (I've tested with RHEL 5.4 and Debian Lenny) mounting
said filesystem with NFSv4.
- A user on the Linux client does a Subversion checkout onto the
mounted filesystem.

At the end of the checkout, access to the filesystem hangs.  nfsd on
the FreeBSD server and rpciod on the Linux client seem to be in a
tight loop, and there's lots of network traffic between them.  I can
reproduce this every time.

The problem does not occur if the backing filesystem is UFS instead of
ZFS, if NFSv3 is used instead of NFSv4, or if the client is FreeBSD
instead of Linux.


... but you may have stumbled on something specific. I recommend you 
repeat this same post (and others you have on the similar topic) on the 
freebsd-fs at freebsd.org mailing list, the developer (Rick Macklem) 
reads it.


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


Re: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem

2010-09-03 Thread David Brodbeck
Thanks, Ivan.  I'll pursue it there.

If it's not ready for prime time yet, I understand, but I'd also like
to help nudge it in that direction. :)


On Fri, Sep 3, 2010 at 2:57 AM, Ivan Voras ivo...@freebsd.org wrote:
 On 09/02/10 21:25, David Brodbeck wrote:

 While doing some interoperability testing between Linux and FreeBSD, I
 came up with this unusual issue.  I could use some help figuring out
 if this is a bug, and if so, where to file it.  Here's the scenario:

 - FreeBSD 8.1-RELEASE server, sharing a ZFS filesystem via NFSv4.

 I think that this is the beginning of your problems - even the developer who
 is working on NFSv4 says it's too experimental to be used in real world.

 - Linux client (I've tested with RHEL 5.4 and Debian Lenny) mounting
 said filesystem with NFSv4.
 - A user on the Linux client does a Subversion checkout onto the
 mounted filesystem.

 At the end of the checkout, access to the filesystem hangs.  nfsd on
 the FreeBSD server and rpciod on the Linux client seem to be in a
 tight loop, and there's lots of network traffic between them.  I can
 reproduce this every time.

 The problem does not occur if the backing filesystem is UFS instead of
 ZFS, if NFSv3 is used instead of NFSv4, or if the client is FreeBSD
 instead of Linux.

 ... but you may have stumbled on something specific. I recommend you repeat
 this same post (and others you have on the similar topic) on the freebsd-fs
 at freebsd.org mailing list, the developer (Rick Macklem) reads it.

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

___
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: Weird Problems with User Home Directory , Asking for help

2010-03-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22/03/2010 23:47:44, Aaron Lewis wrote:
 Looks like i found the problem , i thought i've made a mistake.
 
 I shouldn't use `pw user add aaron' right ?
 That won't create user home directory , when i found i've got no home
 directory.
 So at that time , i created it and change the owner to my user.

pw user add is fine for creating accounts.  It should create the home
directory for you if given the right arguments.  Even so, just creating
the home directory by hand after creating the account should not be a
problem.

 $ sudo tail -f /var/log/auth.log
 login: _secure_path: cannot stat /home/frozen/.login_conf: Permission
 denied   // Strange , pay attention to user permissions below

This means that the ownership/permissions of one of the directories in
the path up to /home/frozen is wrong. Implied is that it is possible for
non-root to substitute their own copy of /home/frozen/.login_conf
somehow.  What's the output from:

   ls -ld / /home

(Add /usr/home to that list if /home is a sym-link)

Is there anything unusual about how the filesystem is mounted?


// I don't know why
 `stat' function fails ..
 
 $ ls -ld /home/frozen
 drwxr-xr-x  3 frozen  frozen  512 Mar  5 22:36 /home/frozen/
 $ ls -lah /home/frozen/.login_conf
 -rw-r--r--  1 frozen  frozen  171 Dec  3 14:34 /home/frozen/.login_conf
 
 BTW: ssh login with user frozen is fine.

Which is a little disconcerting, because ssh is pretty anal about file
permissions itself, but it isn't triggering the problem here.

Cheers,

Matthew

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

iEYEARECAAYFAkuosQkACgkQ8Mjk52CukIyL+QCgib3JZkMQDsa1JmKg8rqFiIIp
EIYAniLNsh/lMANiJsFSbdx8oekEpMNR
=NlkH
-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: Weird Problems with User Home Directory , Asking for help

2010-03-23 Thread Aaron Lewis



$ sudo tail -f /var/log/auth.log
login: _secure_path: cannot stat /home/frozen/.login_conf: Permission
denied   // Strange , pay attention to user permissions below



This means that the ownership/permissions of one of the directories in
the path up to /home/frozen is wrong. Implied is that it is possible for
non-root to substitute their own copy of /home/frozen/.login_conf
somehow.  What's the output from:

   ls -ld / /home

(Add /usr/home to that list if /home is a sym-link)

Is there anything unusual about how the filesystem is mounted?

  
Oops , it's a symbol link. 


[fro...@*** ~]$ ls -ld / /home /usr/home
drwxr-xr-x  19 root  wheel  512 Mar 23 07:48 /
lrwxr-xr-x   1 root  wheel8 Dec  3 14:34 /home - usr/home
drwxr-x---   4 root  wheel  512 Mar 23 07:39 /usr/home

I've just read sth. about Biba Model , `no read down, no write up' ,
It's default installation with a Custom Kernel , MAC enabled.

Attached Kernel Config File.

   
   // I don't know why

`stat' function fails ..

$ ls -ld /home/frozen
drwxr-xr-x  3 frozen  frozen  512 Mar  5 22:36 /home/frozen/
$ ls -lah /home/frozen/.login_conf
-rw-r--r--  1 frozen  frozen  171 Dec  3 14:34 /home/frozen/.login_conf

BTW: ssh login with user frozen is fine.



Which is a little disconcerting, because ssh is pretty anal about file
permissions itself, but it isn't triggering the problem here.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuosQkACgkQ8Mjk52CukIyL+QCgib3JZkMQDsa1JmKg8rqFiIIp
EIYAniLNsh/lMANiJsFSbdx8oekEpMNR
=NlkH
-END PGP SIGNATURE-
  



--
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode

cpu I686_CPU
ident   AARON

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# env   GENERIC.env

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options SCTP# Stream Control Transmission Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options STACK   # stack(9) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options P1003_1B_SEMAPHORES # POSIX-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B 

Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Matthew Seaman
On 22/03/2010 07:11:23, Aaron Lewis wrote:
 Hello BSD hackers,
I have a strange problems with user's home directory , if i log in
 through ssh , everything's fine.
But on virtual terminals , it tolds me:
 
no home directory
Logging in with home dir /
 
Does anyone has any ideas ?
 
 
Here's some debug information
 =
 % grep aaron /etc/passwd
 aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash
 
 % ls -ladh /home/aaron/
 drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron
 

What are the settings for

ChallengeResponseAuthentication
UsePam

in your /etc/ssh/sshd_config?

What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?

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
___
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: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis

Matthew Seaman wrote:

On 22/03/2010 07:11:23, Aaron Lewis wrote:
  

Hello BSD hackers,
   I have a strange problems with user's home directory , if i log in
through ssh , everything's fine.
   But on virtual terminals , it tolds me:

   no home directory
   Logging in with home dir /

   Does anyone has any ideas ?


   Here's some debug information
=
% grep aaron /etc/passwd
aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash

% ls -ladh /home/aaron/
drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron




What are the settings for

ChallengeResponseAuthentication
UsePam

in your /etc/ssh/sshd_config?
  

Nothing found , or commented out.

What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?
  

# grep -v -e ^# /etc/pam.d/sshd | sed '/^$/d'
authsufficientpam_opie.sono_warn no_fake_prompts
authrequisitepam_opieaccess.sono_warn allow_local
authrequiredpam_unix.sono_warn try_first_pass
accountrequiredpam_nologin.so
accountrequiredpam_login_access.so
accountrequiredpam_unix.so
sessionrequiredpam_permit.so
passwordrequiredpam_unix.sono_warn try_first_pass

# grep -v -e ^# /etc/pam.d/login  | sed '/^$/d'
authsufficientpam_self.sono_warn
authincludesystem
accountrequisitepam_securetty.so
accountrequiredpam_nologin.so
accountincludesystem
sessionincludesystem
passwordincludesystem

It's all fresh install , did i do something wrong ? It's really strange 
.. never met before.

Cheers,

Matthew

  



--
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode

___
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: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Warren Block

On Mon, 22 Mar 2010, Aaron Lewis wrote:


Hello BSD hackers,
  I have a strange problems with user's home directory , if i log in through 
ssh , everything's fine.

  But on virtual terminals , it tolds me:

  no home directory
  Logging in with home dir /

  Does anyone has any ideas ?


  Here's some debug information
=
% grep aaron /etc/passwd
aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash

% ls -ladh /home/aaron/
drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron



Have you set up a jail?  The no home directory message appears in 
usr.sbin/jail/jail.c in 8-stable.


-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: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22/03/2010 12:46:06, Aaron Lewis wrote:
 Matthew Seaman wrote:
 On 22/03/2010 07:11:23, Aaron Lewis wrote:
  
 Hello BSD hackers,
I have a strange problems with user's home directory , if i log in
 through ssh , everything's fine.
But on virtual terminals , it tolds me:

no home directory
Logging in with home dir /

Does anyone has any ideas ?


Here's some debug information
 =
 % grep aaron /etc/passwd
 aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash

 % ls -ladh /home/aaron/
 drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron
 
 

 What are the settings for

 ChallengeResponseAuthentication
 UsePam

 in your /etc/ssh/sshd_config?
   
 Nothing found , or commented out.

Commented out means using the default setting -- which is 'yes' for both
of those.  ie. sshd is using the PAM system.  Which means that PAM is
probably working just fine.

 What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?
   
 # grep -v -e ^# /etc/pam.d/sshd | sed '/^$/d'
 authsufficientpam_opie.sono_warn no_fake_prompts
 authrequisitepam_opieaccess.sono_warn allow_local
 authrequiredpam_unix.sono_warn try_first_pass
 accountrequiredpam_nologin.so
 accountrequiredpam_login_access.so
 accountrequiredpam_unix.so
 sessionrequiredpam_permit.so
 passwordrequiredpam_unix.sono_warn try_first_pass

These are also the default settings for sshd -- which as you say is working.

 # grep -v -e ^# /etc/pam.d/login  | sed '/^$/d'
 authsufficientpam_self.sono_warn
 authincludesystem
 accountrequisitepam_securetty.so
 accountrequiredpam_nologin.so
 accountincludesystem
 sessionincludesystem
 passwordincludesystem

Again, this is the default for login.   I should have asked you for the
contents of /etc/pam.d/system as well, but if you say it's not been
modified I'll believe you.  H...

 It's all fresh install , did i do something wrong ? It's really strange
 .. never met before.

Something is a bit fubar somewhere, yes.  From the symptoms you
described,  the immediate suspect would be the PAM system, but there are
no obvious configuration problems with what you've shown me.

Is there anything notable in /var/log/auth.log from the failed console
logins?  Can you try gratuitously creating another user account and
seeing if that is affected in the same way, or indeed if it makes any
difference to the original user account?

Cheers,

Matthew

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

iEYEARECAAYFAkunhDoACgkQ8Mjk52CukIwzBQCfccc1KXwscGDrHV2wn5Zr8xnO
pMAAnjJVpjZc39wczR4u8nYo/Kxpvivl
=3oJZ
-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: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis

Looks like i found the problem , i thought i've made a mistake.

I shouldn't use `pw user add aaron' right ?
That won't create user home directory , when i found i've got no home 
directory.

So at that time , i created it and change the owner to my user.

$ sudo tail -f /var/log/auth.log
login: _secure_path: cannot stat /home/frozen/.login_conf: Permission 
denied   // Strange , pay attention to user permissions below

   // I don't know why 
`stat' function fails ..


$ ls -ld /home/frozen
drwxr-xr-x  3 frozen  frozen  512 Mar  5 22:36 /home/frozen/
$ ls -lah /home/frozen/.login_conf
-rw-r--r--  1 frozen  frozen  171 Dec  3 14:34 /home/frozen/.login_conf

BTW: ssh login with user frozen is fine.


Matthew Seaman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22/03/2010 12:46:06, Aaron Lewis wrote:
  

Matthew Seaman wrote:


On 22/03/2010 07:11:23, Aaron Lewis wrote:
 
  

Hello BSD hackers,
   I have a strange problems with user's home directory , if i log in
through ssh , everything's fine.
   But on virtual terminals , it tolds me:

   no home directory
   Logging in with home dir /

   Does anyone has any ideas ?


   Here's some debug information
=
% grep aaron /etc/passwd
aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash

% ls -ladh /home/aaron/
drwxr-xr-x  3 aaron aaron   512B Mar  5 22:36 /home/aaron




What are the settings for

ChallengeResponseAuthentication
UsePam

in your /etc/ssh/sshd_config?
  
  

Nothing found , or commented out.



Commented out means using the default setting -- which is 'yes' for both
of those.  ie. sshd is using the PAM system.  Which means that PAM is
probably working just fine.

  

What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ?
  
  

# grep -v -e ^# /etc/pam.d/sshd | sed '/^$/d'
authsufficientpam_opie.sono_warn no_fake_prompts
authrequisitepam_opieaccess.sono_warn allow_local
authrequiredpam_unix.sono_warn try_first_pass
accountrequiredpam_nologin.so
accountrequiredpam_login_access.so
accountrequiredpam_unix.so
sessionrequiredpam_permit.so
passwordrequiredpam_unix.sono_warn try_first_pass



These are also the default settings for sshd -- which as you say is working.

  

# grep -v -e ^# /etc/pam.d/login  | sed '/^$/d'
authsufficientpam_self.sono_warn
authincludesystem
accountrequisitepam_securetty.so
accountrequiredpam_nologin.so
accountincludesystem
sessionincludesystem
passwordincludesystem



Again, this is the default for login.   I should have asked you for the
contents of /etc/pam.d/system as well, but if you say it's not been
modified I'll believe you.  H...

  

It's all fresh install , did i do something wrong ? It's really strange
.. never met before.



Something is a bit fubar somewhere, yes.  From the symptoms you
described,  the immediate suspect would be the PAM system, but there are
no obvious configuration problems with what you've shown me.

Is there anything notable in /var/log/auth.log from the failed console
logins?  Can you try gratuitously creating another user account and
seeing if that is affected in the same way, or indeed if it makes any
difference to the original user account?

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard

  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkunhDoACgkQ8Mjk52CukIwzBQCfccc1KXwscGDrHV2wn5Zr8xnO
pMAAnjJVpjZc39wczR4u8nYo/Kxpvivl
=3oJZ
-END PGP SIGNATURE-
  



--
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode

___
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: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Adam Vande More
On Mon, Mar 22, 2010 at 6:47 PM, Aaron Lewis aaron.lewis1...@gmail.comwrote:

 Looks like i found the problem , i thought i've made a mistake.

 I shouldn't use `pw user add aaron' right ?
 That won't create user home directory , when i found i've got no home
 directory.
 So at that time , i created it and change the owner to my user.

 $ sudo tail -f /var/log/auth.log
 login: _secure_path: cannot stat /home/frozen/.login_conf: Permission
 denied   // Strange , pay attention to user permissions below

   // I don't know why `stat'
 function fails ..

 $ ls -ld /home/frozen
 drwxr-xr-x  3 frozen  frozen  512 Mar  5 22:36 /home/frozen/
 $ ls -lah /home/frozen/.login_conf
 -rw-r--r--  1 frozen  frozen  171 Dec  3 14:34 /home/frozen/.login_conf

 BTW: ssh login with user frozen is fine.


Maybe you could bottom post? Thanks,

http://www.freebsd.org/doc/handbook/mac-troubleshoot.html

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


Re: Weird Problems with User Home Directory , Asking for help

2010-03-22 Thread Aaron Lewis

Oh , thanks Adam , i shouldn't be so lazy , I'll check that page.

Adam Vande More wrote:
On Mon, Mar 22, 2010 at 6:47 PM, Aaron Lewis 
aaron.lewis1...@gmail.com mailto:aaron.lewis1...@gmail.com wrote:


Looks like i found the problem , i thought i've made a mistake.

I shouldn't use `pw user add aaron' right ?
That won't create user home directory , when i found i've got no
home directory.
So at that time , i created it and change the owner to my user.

$ sudo tail -f /var/log/auth.log
login: _secure_path: cannot stat /home/frozen/.login_conf:
Permission denied   // Strange , pay attention to user permissions
below
 
// I don't

know why `stat' function fails ..

$ ls -ld /home/frozen
drwxr-xr-x  3 frozen  frozen  512 Mar  5 22:36 /home/frozen/
$ ls -lah /home/frozen/.login_conf
-rw-r--r--  1 frozen  frozen  171 Dec  3 14:34
/home/frozen/.login_conf

BTW: ssh login with user frozen is fine.


Maybe you could bottom post? Thanks,

http://www.freebsd.org/doc/handbook/mac-troubleshoot.html

--
Adam Vande More



--
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode

___
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: Weird build errors only on 3rd core of quad core CPU

2010-01-27 Thread Michael Powell
Pieter de Goeje wrote:

 I am suspecting a broken CPU, but am not sure.
 
 These commands:
 cd /usr/ports/sysutils/hal
 cpuset -c -l 2 make
 
 Will always result in errors, for example this one:
 
 gmake: *** No rule to make target `...@maintainer_mode_true@', needed by
 `config.h.in'.  Stop.
 *** Error code 1
 
 Sometimes the error occurs in a different place. When I check the input
 files, they are indeed broken. Gcc stops because of syntax errors for
 example.
 
 The configure process always completes, but apparently it creates broken
 files. When I run make on any other core, it always completes
 successfully: cpuset -c -l 0,1,3 make
 
 I've checked with script that the output of the build process is exactly
 the same, up until the error occurs. I've also tried to run cpuburn on
 that core, but it didn't find any problem. It's really weird that system
 is otherwise very stable.
 
 What do you guys think the problem is?
 
 CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64. I've also
 tried -CURRENT, but it didn't help.
 

As a test I just ran these two commands on my Athlon II 630 here, but 
running FreeBSD 8.0-RELEASE-p2 amd64 build. The make process ran directly to 
completion with no error. With overclocking too. Tried 4 runs, on each core.

I'm not sure I recall all the details correctly without checking, but I 
thought there were some early samples or generations of these processors 
that were not the same as the final production releases. Something to do 
with being Phenom cores that had L3 cache disabled, being released as early 
engineering samples but the die of the final products is different with no 
L3 cache present from manufacturing.

I'd check into the stepping and if it turns out not to be a final version 
get whoever you bought it from to replace it. It may not be the core itself, 
but bad L1/L2 cache. It's either that or the only other difference is you're 
running stable, and I'm not. But I'd suspect bad cache spots in L1/L2.

-Mike



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


Re: Weird build errors only on 3rd core of quad core CPU

2010-01-27 Thread Erich Dollansky
Hi,

On 28 January 2010 am 06:54:13 Pieter de Goeje wrote:
 I am suspecting a broken CPU, but am not sure.

it really looks like.

Are you sure it is a quad core and not just a triple core?

As already mentioned, you should check the stepping the software 
tells you but also what is actually written onto the CPU itself.

Try to get the CPU exchanged and see what happens then.

Erich

 These commands:
 cd /usr/ports/sysutils/hal
 cpuset -c -l 2 make

 Will always result in errors, for example this one:

 gmake: *** No rule to make target `...@maintainer_mode_true@',
 needed by `config.h.in'.  Stop.
 *** Error code 1

 Sometimes the error occurs in a different place. When I check
 the input files, they are indeed broken. Gcc stops because of
 syntax errors for example.

 The configure process always completes, but apparently it
 creates broken files. When I run make on any other core, it
 always completes successfully: cpuset -c -l 0,1,3 make

 I've checked with script that the output of the build process
 is exactly the same, up until the error occurs. I've also tried
 to run cpuburn on that core, but it didn't find any problem.
 It's really weird that system is otherwise very stable.

 What do you guys think the problem is?

 CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64.
 I've also tried -CURRENT, but it didn't help.

 Thanks!

 --
 Pieter
 ___
 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: Weird build errors only on 3rd core of quad core CPU

2010-01-27 Thread Pieter de Goeje
On Thursday 28 January 2010 01:54:01 Erich Dollansky wrote:
 Hi,

 On 28 January 2010 am 06:54:13 Pieter de Goeje wrote:
  I am suspecting a broken CPU, but am not sure.

 it really looks like.

 Are you sure it is a quad core and not just a triple core?

It definitely identifies itself as a quadcore in dmesg (the text matches what 
it said on the box): AMD Athlon(tm) II X4 620. I don't think the hacks which 
activate the 4th core on a triple core can alter that information.

CPU: AMD Athlon(tm) II X4 620 Processor (2600.02-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x100f52  Stepping = 2
 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x802009SSE3,MON,CX16,POPCNT
  AMD Features=0xee500800SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,
3DNow!+,3DNow!
  AMD Features2=0x37ffLAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,
OSVW,IBS,SKINIT,WDT
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 1795858432 (1712 MB)
ACPI APIC Table: 120909 APIC1901
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3



 As already mentioned, you should check the stepping the software
 tells you but also what is actually written onto the CPU itself.

 Try to get the CPU exchanged and see what happens then.

I suppose that's the only way... hopefully I can convince the shop I bought it 
from that it is broken.


 Erich

  These commands:
  cd /usr/ports/sysutils/hal
  cpuset -c -l 2 make
 
  Will always result in errors, for example this one:
 
  gmake: *** No rule to make target `...@maintainer_mode_true@',
  needed by `config.h.in'.  Stop.
  *** Error code 1
 
  Sometimes the error occurs in a different place. When I check
  the input files, they are indeed broken. Gcc stops because of
  syntax errors for example.
 
  The configure process always completes, but apparently it
  creates broken files. When I run make on any other core, it
  always completes successfully: cpuset -c -l 0,1,3 make
 
  I've checked with script that the output of the build process
  is exactly the same, up until the error occurs. I've also tried
  to run cpuburn on that core, but it didn't find any problem.
  It's really weird that system is otherwise very stable.
 
  What do you guys think the problem is?
 
  CPU is AMD Athlon II X4 620. Running FreeBSD 8-STABLE/amd64.
  I've also tried -CURRENT, but it didn't help.
 
  Thanks!
 
  --
  Pieter
  ___
  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: weird save-entropy behaviour

2009-11-15 Thread Mel Flynn
On Sunday 15 November 2009 17:30:02 Ed Jobs wrote:

 Yesterday, i noticed a very weird behaviour on my computer (which is
  running 8.0-RC3 btw.
 The shells were not responding and the load was insane, and constantly
 going up. At the time i managed to lock myself out, the load was 84 and
 growing (i have a screenshot if anyone is interested).
 
 That happened last night. Today, the computer was ok and i managed to ssh
 into it. The root account was spammed with two types of cron mails.
 
 half of them said:
 mv: /var/db/entropy/saved-entropy.2: No such file or directory
 
 and the other half said:
 override r  operator/operator for /var/db/entropy/saved-entropy.2?
 (y/n [n]) not overwritten
 
 So i know that it's the save-entropy cron job, but i doubt that was
  supposed to happen, and i have never touched that directory. Anyone has an
  idea?

Did the operator uid change or perhaps shared with another uid?
Check both `id operator` and `id 2`.

Secondly, why did this stop? Seems like a weird question to ask, but since 
this script is supposed to run every 11 minutes, there should not be a reason 
for this to stop, if there's a race condition.
-- 
Mel
___
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: weird save-entropy behaviour

2009-11-15 Thread Ed Jobs
On Monday 16 November 2009 00:12, Mel Flynn wrote:
 
 Did the operator uid change or perhaps shared with another uid?
 Check both `id operator` and `id 2`.
 
 Secondly, why did this stop? Seems like a weird question to ask, but since
 this script is supposed to run every 11 minutes, there should not be a
  reason for this to stop, if there's a race condition.
 
# id operator
uid=2(operator) gid=5(operator) groups=5(operator)
# id 2
uid=2(operator) gid=5(operator) groups=5(operator)

As for the orer part, why did it stop, i really have no clue. All the messages 
arrived at root's mailbox at 5:57, tho the date in them said that they were 
sent at 5:50.
It's really strange because I was locked out from the computer at 2:29, so 
it's not something I did. and there's nothing that cron runs at that time.

by the way: 
the mails that i got were not only about /var/db/entropy/saved-entropy.2, but 
/var/db/entropy/saved-entropy.{1,2,3,4,5,6,8} as well

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: weird save-entropy behaviour

2009-11-15 Thread Mel Flynn
On Sunday 15 November 2009 23:38:10 Ed Jobs wrote:
 On Monday 16 November 2009 00:12, Mel Flynn wrote:
  Did the operator uid change or perhaps shared with another uid?
  Check both `id operator` and `id 2`.
 
  Secondly, why did this stop? Seems like a weird question to ask, but
  since this script is supposed to run every 11 minutes, there should not
  be a reason for this to stop, if there's a race condition.
 
 # id operator
 uid=2(operator) gid=5(operator) groups=5(operator)
 # id 2
 uid=2(operator) gid=5(operator) groups=5(operator)
 
 As for the orer part, why did it stop, i really have no clue. All the
  messages arrived at root's mailbox at 5:57, tho the date in them said that
  they were sent at 5:50.
 It's really strange because I was locked out from the computer at 2:29, so
 it's not something I did. and there's nothing that cron runs at that time.

Does the cron log (/var/log/cron) show that it was run as operator around the 
time it started?
/usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy)

Even if it wasn't, I don't see a reason for such a buildup. Unlesssince 
stdin isn't sending anything, it could be the scripts wait indefinitely for 
user confirmation, then finally get killed off by some limit. There should be 
some hint at that in /var/log/messages around 5:50.
The script should probably do mv -f in line 76.
-- 
Mel
___
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: weird save-entropy behaviour

2009-11-15 Thread Ed Jobs
On Monday 16 November 2009 00:58, Mel Flynn wrote:
 Does the cron log (/var/log/cron) show that it was run as operator around
  the time it started?
 /usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy)
 
 Even if it wasn't, I don't see a reason for such a buildup. Unlesssince
 stdin isn't sending anything, it could be the scripts wait indefinitely for
 user confirmation, then finally get killed off by some limit. There should
  be some hint at that in /var/log/messages around 5:50.
 The script should probably do mv -f in line 76.
 
you were right.
there was something at the messages.
Nov 15 05:50:49 hostname sshd[1126]: error: accept: Software caused 
connection abort
Nov 15 05:50:49 hostname last message repeated 6 times

weird. the only thing in auth.log about sshd[1126] is:
Nov 13 12:31:51 hostname sshd[1126]: Server listening on :: port 22.
Nov 13 12:31:51 hostname sshd[1126]: Server listening on 0.0.0.0 port 22.

and the message that was in the messages log too.


-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: Weird networking issue

2009-08-04 Thread perryh
Glen Barber glen.j.bar...@gmail.com wrote:
 On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahlj...@vnode.se wrote:

[snip description of network flakiness on one server, out
 of several on the same switch behind the same gateway]

  Any ideas? :-)
 
 I have 2:
 1.) Bad NIC
 2.) Bad CPU

3.  Bad cable from NIC to switch
4.  Bad switch port

These may not be all that likely, but they're easy to test if
you have even a marginally-competent tech available at the site.
___
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: Weird networking issue

2009-08-04 Thread Joel Dahl

Glen Barber skrev:

On Mon, Aug 3, 2009 at 6:53 PM, Glen Barberglen.j.bar...@gmail.com wrote:

I have 2:
1.) Bad NIC
2.) Bad CPU

A while back, I found out I had a bad CPU after replacing everything
else on the machine -- I would still receive CRC mismatch errors with
portsnap(8).

The NIC is more probable IMHO, but both should be suspect here.



Now that I think about it... Do you do regular builds?  Can you try to
'buildworld' (assuming you can get csup to pull the source tree?

If CPU is the problem, you may experience random SIGSEGV errors when
running the buildworld.  If it fails in different areas of the build,
this is most likely (from my experience) the problem.


I've been doing buildworld -j4 for 8 hours without problems now.

I'll see if I can get someone onsite to try another cable and switch port.

--
Joel
___
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: Weird networking issue

2009-08-04 Thread Adam Vande More
On Tue, Aug 4, 2009 at 1:56 AM, per...@pluto.rain.com wrote:

 Glen Barber glen.j.bar...@gmail.com wrote:
  On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahlj...@vnode.se wrote:

 [snip description of network flakiness on one server, out
  of several on the same switch behind the same gateway]

   Any ideas? :-)
  
  I have 2:
  1.) Bad NIC
  2.) Bad CPU

 3.  Bad cable from NIC to switch
 4.  Bad switch port

 These may not be all that likely, but they're easy to test if
 you have even a marginally-competent tech available at the site.

 I had similar behavior about a years ago.  I also had a not very frequent(
 once a week) sporadic reboot issue during it.  I replaced the RAM and it's
not had the issue anymore.  I may have rebuilt world too...


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


[Solved] Re: Weird networking issue

2009-08-04 Thread Joel Dahl

Adam Vande More skrev:

On Tue, Aug 4, 2009 at 1:56 AM, per...@pluto.rain.com wrote:


Glen Barber glen.j.bar...@gmail.com wrote:

On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahlj...@vnode.se wrote:

[snip description of network flakiness on one server, out
 of several on the same switch behind the same gateway]


Any ideas? :-)


I have 2:
1.) Bad NIC
2.) Bad CPU

3.  Bad cable from NIC to switch
4.  Bad switch port

These may not be all that likely, but they're easy to test if
you have even a marginally-competent tech available at the site.

I had similar behavior about a years ago.  I also had a not very frequent(

 once a week) sporadic reboot issue during it.  I replaced the RAM and it's
not had the issue anymore.  I may have rebuilt world too...


The on-site techs ran the Dell diagnostics tests and the Broadcom test (for 
the NIC) but was unable to find any hw errors.


So, they finally replaced the cable and connected it to another switch port.

And now everything seems to be working.  I've been doing some tests for a few 
hours, but I can't get the machine to crap out again.  Looking good so far... :-)


--
Joel
___
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: [Solved] Re: Weird networking issue

2009-08-04 Thread Glen Barber
On Tue, Aug 4, 2009 at 5:52 PM, Joel Dahlj...@vnode.se wrote:
 And now everything seems to be working.  I've been doing some tests for a
 few hours, but I can't get the machine to crap out again.  Looking good so
 far... :-)


Good to hear. :-)


-- 
Glen Barber
___
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: Weird networking issue

2009-08-03 Thread Glen Barber
On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahlj...@vnode.se wrote:
 Yesterday I noticed something weird with one of my mail servers (FreeBSD
 7.2), which is located far away from me.  At first I thought it was my mail
 client that was misbehaving since a couple of mails that I retrieved from
 the server looked...odd.  Characters were missing, and the mail headers were
 sometimes (perhaps 1 out of 100 mails) sort of scrambled.

 This server isn't doing anything really useful, except handling a few mails
 every day.  No load at all and it has been running for a few months without
 any problems.

 Anyway, after some time I realized that Thunderbird probably wasn't the
 problem.  I discovered that ssh connections suddenly dropped (seems random)
 when I was connected to the server.  Often with messages like:

 Received disconnect from x.x.x.x: 2: Bad packet length 3365265859.

 I tried to ping it and I constantly got 5-15% packet loss.  The same
 symptoms are there if I connect to it from other places, so my home
 connection isn't the problem.  I get 0 packet loss if I ping the gateway
 which the server is behind from my home connection.

 Anyway, while I was connected to the machine (and scratching my head) I did
 a csup from the server to fetch ports and other stuff, but that failed every
 time, with different messages:

 1st try:

  Edit ports/Mk/bsd.port.mk
  Add delta 1.625 2009.08.03.15.36.58 miwi
  Edit ports/UPDATING
  Add delta 1.845 2009.08.03.19.08.48 dougb
 csup: inflate: invalid stored block lengths

 2nd try:

  Edit ports/devel/libvc/Makefile
  Add delta 1.11 2009.08.02.19.33.28 mezz
  Edit ports/devel/libytnef/Makefile
  Add delta 1.6 2009.08.02.19.33.28 mezz
 Receiver: Protocol error

 3rd try:

 Edit ports/devel/p5-threads-shared/distinfo
  Add delta 1.4 2009.07.22.17.25.14 pgollucci
  Edit ports/devel/p5-usb/pkg-plist
  Add delta 1.3 2009.07.30.23.04.41 pgollucci
 csup: inflate: invalid distance too far back

 Ok.  So something is messed up.

 Checked my other server (located at the same place) to see if there were any
 problems (it is running VMware ESXI with 4 virtual machines, all running
 FreeBSD 7.2.), but all of the virtual hosts were fine.  No packet loss, no
 ssh problems, no nothing.  This server is connected to the same switch and
 behind the same gateway.  So are also a bunch of Windows servers.  None of
 them have any problems.

 Checked the logs on my mail server to see if there were anything weird...and
 the logs were filled with this:

 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0
 arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0

 x.x.x.x is my gateway which all my servers are behind.  These messages
 started yesterday, about the same time that the problems appeared.

 Any ideas? :-)


I have 2:
1.) Bad NIC
2.) Bad CPU

A while back, I found out I had a bad CPU after replacing everything
else on the machine -- I would still receive CRC mismatch errors with
portsnap(8).

The NIC is more probable IMHO, but both should be suspect here.

-- 
Glen Barber
___
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: Weird networking issue

2009-08-03 Thread Glen Barber
On Mon, Aug 3, 2009 at 6:53 PM, Glen Barberglen.j.bar...@gmail.com wrote:

 I have 2:
 1.) Bad NIC
 2.) Bad CPU

 A while back, I found out I had a bad CPU after replacing everything
 else on the machine -- I would still receive CRC mismatch errors with
 portsnap(8).

 The NIC is more probable IMHO, but both should be suspect here.


Now that I think about it... Do you do regular builds?  Can you try to
'buildworld' (assuming you can get csup to pull the source tree?

If CPU is the problem, you may experience random SIGSEGV errors when
running the buildworld.  If it fails in different areas of the build,
this is most likely (from my experience) the problem.



-- 
Glen Barber
___
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: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-19 Thread Achilleas Mantzios
Στις Monday 18 May 2009 22:07:24 ο/η Miroslav Lachman έγραψε:
 Achilleas Mantzios wrote:
  Hello,
  I run 7.1-PRERELEASE, its a home server.
  today morning after a power failure, the rebuild my root gm0 failed on disk 
  ad4.
  The messages were:
  
  May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error 
  (retrying request) LBA=268091264
  May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0
  May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB
  May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119
  May 18 08:02:08 panix kernel: drm0: [ITHREAD]
  May 18 08:02:08 panix kernel: ad4: FAILURE - device detached
  May 18 08:02:08 panix kernel: subdisk4: detached
  May 18 08:02:08 panix kernel: ad4: detached
  May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 
  disconnected.
  May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider 
  ad4 stopped.
  
  I read 
  http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/
  hoping that the rebuld failure was temprary
  and so i tried to just run 
  # gmirror forget gm0
  # gmirror insert gm0 ad4
 
 The correct order of commands is:
 atacontrol list
 gmirror list
 
 gmirror forget gm0
 gmirror clear -v ad4
 gmirror insert -v gm0 ad4
 

Thanx.

 
 Miroslav Lachman
 



-- 
Achilleas Mantzios
___
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: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-19 Thread Achilleas Mantzios
Στις Monday 18 May 2009 13:27:58 ο/η Manolis Kiagias έγραψε:
   
 
 It looks to me you got a bad disk now.

Manoli, thanx
i replaced the bad disk and the system looks ok, rebulding gm0.

 
 ___
 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
 
 



-- 
Achilleas Mantzios
___
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: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-18 Thread Manolis Kiagias
Achilleas Mantzios wrote:
 Hello,
 in advance sorry for the cross posting, it is just that freebsd-geom didnt 
 seem that populated.
 I run 7.1-PRERELEASE, its a home server.
 today morning after a power failure, the rebuild my root gm0 failed on disk 
 ad4.
 The messages were:

 May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error 
 (retrying request) LBA=268091264
 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0
 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB
 May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119
 May 18 08:02:08 panix kernel: drm0: [ITHREAD]
 May 18 08:02:08 panix kernel: ad4: FAILURE - device detached
 May 18 08:02:08 panix kernel: subdisk4: detached
 May 18 08:02:08 panix kernel: ad4: detached
 May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 
 disconnected.
 May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider 
 ad4 stopped.

   

It looks to me you got a bad disk now.

 I read 
 http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/
 hoping that the rebuld failure was temprary
 and so i tried to just run 
 # gmirror forget gm0
 # gmirror insert gm0 ad4

 But the system responded (if i remember correctly)  
 Unknown provider ad4.
 The system no longer could see ad4 being online.

 So i rebooted the system many times and had these results:
 -When having put offline ad4 (disconnected by hardware), the system booted ok.
 -When having both disks online the system responded consistently 
 with:
 GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22).
 Which IMO is not very ok, since gm0 should add ad6 without problem,
 no matter if ad4 is online or not.
 -When having only ad4 online, then it simply cannot find gm0 at all. (kind of 
 reasonable)

 So my only option is to have only ad6 online, with a current gmirror status:
 panix# gmirror status
   NameStatus  Components
 mirror/gm0  COMPLETE  ad6

 Anyone has an idea of how should i proceed (besides buying a UPS unit!)
 Is it meaningfull to go for a new Disk to replace current ad4?
   

I'd recommend attaching the bad disk on its own to a system and perform
tests on it. Is the BIOS recognizing this properly? I would run hardware
tests on it - either manufacturer ones, or stuff like
sysutils/smartmontools. You could also try  installing FreeBSD on it and
see if it works.  And probably use dd to clean all the contents, esp.
the partition table and the last sector where geom information is stored.

 Why is the presence of the supposed bad disk ad4, affecting gm0,
 when having already told gm0 to forget about ad4?
   

The bad disk may be sending confusing signals to the bus / IDE
interface. I've had this once (although it was due to a bad cable). The
entire mirror would disappear suddenly.

___
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: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-18 Thread Achilleas Mantzios
Hey Manoli! glad to see you again,

Στις Monday 18 May 2009 13:27:58 ο/η Manolis Kiagias έγραψε:
 Achilleas Mantzios wrote:
  Hello,
  in advance sorry for the cross posting, it is just that freebsd-geom didnt 
  seem that populated.
  I run 7.1-PRERELEASE, its a home server.
  today morning after a power failure, the rebuild my root gm0 failed on disk 
  ad4.
  The messages were:
 
  May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error 
  (retrying request) LBA=268091264
  May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0
  May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB
  May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119
  May 18 08:02:08 panix kernel: drm0: [ITHREAD]
  May 18 08:02:08 panix kernel: ad4: FAILURE - device detached
  May 18 08:02:08 panix kernel: subdisk4: detached
  May 18 08:02:08 panix kernel: ad4: detached
  May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 
  disconnected.
  May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider 
  ad4 stopped.
 

 
 It looks to me you got a bad disk now.
 

I certainly hope so, since there is nothing else i can do

  I read 
  http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/
  hoping that the rebuld failure was temprary
  and so i tried to just run 
  # gmirror forget gm0
  # gmirror insert gm0 ad4
 
  But the system responded (if i remember correctly)  
  Unknown provider ad4.
  The system no longer could see ad4 being online.
 
  So i rebooted the system many times and had these results:
  -When having put offline ad4 (disconnected by hardware), the system booted 
  ok.
  -When having both disks online the system responded consistently 
  with:
  GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22).
  Which IMO is not very ok, since gm0 should add ad6 without problem,
  no matter if ad4 is online or not.
  -When having only ad4 online, then it simply cannot find gm0 at all. (kind 
  of reasonable)
 
  So my only option is to have only ad6 online, with a current gmirror status:
  panix# gmirror status
NameStatus  Components
  mirror/gm0  COMPLETE  ad6
 
  Anyone has an idea of how should i proceed (besides buying a UPS unit!)
  Is it meaningfull to go for a new Disk to replace current ad4?

 
 I'd recommend attaching the bad disk on its own to a system and perform
 tests on it. Is the BIOS recognizing this properly? I would run hardware

Yes, the BIOS recognizes it ok i suppose.

 tests on it - either manufacturer ones, or stuff like
 sysutils/smartmontools. You could also try  installing FreeBSD on it and
 see if it works.  And probably use dd to clean all the contents, esp.
 the partition table and the last sector where geom information is stored.
 

Thanx, lacking time i think i will try to use a brand new identical disk.

  Why is the presence of the supposed bad disk ad4, affecting gm0,
  when having already told gm0 to forget about ad4?

 
 The bad disk may be sending confusing signals to the bus / IDE
 interface. I've had this once (although it was due to a bad cable). The
 entire mirror would disappear suddenly.
 
 



-- 
Achilleas Mantzios
___
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: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-18 Thread Ivan Voras
panix panix wrote:
 Hello,
 in advance sorry for the cross posting, it is just that freebsd-geom didnt 
 seem that populated.
 I run 7.1-PRERELEASE, its a home server.
 today morning after a power failure, the rebuild my root gm0 failed on disk 
 ad4.
 The messages were:
 
 May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error 
 (retrying request) LBA=268091264
 May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0
 May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB
 May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119
 May 18 08:02:08 panix kernel: drm0: [ITHREAD]
 May 18 08:02:08 panix kernel: ad4: FAILURE - device detached
 May 18 08:02:08 panix kernel: subdisk4: detached
 May 18 08:02:08 panix kernel: ad4: detached
 May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 
 disconnected.
 May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider 
 ad4 stopped.
 
 I read 
 http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/
 hoping that the rebuld failure was temprary
 and so i tried to just run 
 # gmirror forget gm0
 # gmirror insert gm0 ad4
 
 But the system responded (if i remember correctly)  
 Unknown provider ad4.
 The system no longer could see ad4 being online.

Yes, as you were informed by the device detached message - after that
point the ad4 was removed from /dev.

 So i rebooted the system many times and had these results:
 -When having put offline ad4 (disconnected by hardware), the system booted ok.
 -When having both disks online the system responded consistently 
 with:
 GEOM_MIRROR: Cannot add disk ad6 to gm0 (error=22).

Which means that gm0 was somehow created before - maybe from the stale
ad4 copy? If so, you are attempting to add a newer generation of data
(from ad6) to a gm0 instantiated from an older generation (from ad4).
This could explain the error code (22=invalid argument).

OTOH if you only have ad6 in the system this means you are trying to
insert ad6 into a mirror which is already instantiated by ad6 - which is
trivially wrong.

 Which IMO is not very ok, since gm0 should add ad6 without problem,
 no matter if ad4 is online or not.

You cannot really expect the system to behave correctly with broken
hardware.

 -When having only ad4 online, then it simply cannot find gm0 at all. (kind of 
 reasonable)

Relatively. Is the ad4 recognized by the system? You didn't really clear
metadata on ad4 so it should be recognized, but as a stale version
(hopefully). If it isn't recognized at all, then it's broken.

 So my only option is to have only ad6 online, with a current gmirror status:
 panix# gmirror status
   NameStatus  Components
 mirror/gm0  COMPLETE  ad6

This is ok.

 Anyone has an idea of how should i proceed (besides buying a UPS unit!)
 Is it meaningfull to go for a new Disk to replace current ad4?

Yes. Then proceed with gmirror insert.

 Why is the presence of the supposed bad disk ad4, affecting gm0,
 when having already told gm0 to forget about ad4?

It's relatively common (it was more common in the days of PATA cables)
to have a bad drive interfering with the rest of the system.



signature.asc
Description: OpenPGP digital signature


Re: Weird problem with gmirror - cannot add the Good disk when previously failed SATA disk is online

2009-05-18 Thread Miroslav Lachman

Achilleas Mantzios wrote:

Hello,
I run 7.1-PRERELEASE, its a home server.
today morning after a power failure, the rebuild my root gm0 failed on disk ad4.
The messages were:

May 18 08:02:02 panix kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=268091264
May 18 08:02:08 panix kernel: drm0: Intel i865G GMCH on vgapci0
May 18 08:02:08 panix kernel: info: [drm] AGP at 0xf000 128MB
May 18 08:02:08 panix kernel: info: [drm] Initialized i915 1.5.0 20060119
May 18 08:02:08 panix kernel: drm0: [ITHREAD]
May 18 08:02:08 panix kernel: ad4: FAILURE - device detached
May 18 08:02:08 panix kernel: subdisk4: detached
May 18 08:02:08 panix kernel: ad4: detached
May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: provider ad4 
disconnected.
May 18 08:02:08 panix kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad4 
stopped.

I read http://www.eztiger.org/2008/08/removing-and-re-adding-a-disk-in-gmirror/
hoping that the rebuld failure was temprary
and so i tried to just run 
# gmirror forget gm0

# gmirror insert gm0 ad4


The correct order of commands is:
atacontrol list
gmirror list

gmirror forget gm0
gmirror clear -v ad4
gmirror insert -v gm0 ad4


Miroslav Lachman
___
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: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com wrote:

 check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
 needed to be world readable.

I don't understand your problem.
/etc/passwd is always world readable.

/etc/master.passwd is not.

jerry


 
 
 Chris Horinek
 Oklahoma City Data Center
 Seagate Technology LLC
 chori...@seagate.com
 405-324-3599
 Conf. Call# (US):  (877) 810-9442  Access# 1338666
 Conf. Call# (Int'l):  (636) 651-3190  Access# 1338666
 -
 ___
 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: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Jerry McAllister
On Tue, Apr 14, 2009 at 02:33:48PM -0500, chris.a.hori...@seagate.com wrote:

 in my case, someone had inadvertantly removed world read from /etc/passwd. 
I added it back and the problem went away.

Hmmm.   Well, nothing in the system should be changing permissions
on /etc/passwd.Was anyone else working on the system who had
access to do that?   Maybe they didn't realize that passwd has to
have world read.

jerry


 Jerry McAllister jerr...@msu.edu 
 No Phone Info Available
 04/14/2009 02:20 PM
 
 To
 chris.a.hori...@seagate.com
 cc
 freebsd-questions@freebsd.org
 Subject
 Re: Weird SSH problem... Any ideas?!?
 
 On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com 
 wrote:
 
  check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
  needed to be world readable.
 
 I don't understand your problem.
 /etc/passwd is always world readable.
 
 /etc/master.passwd is not world readable.
 
 jerry
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Weird SSH problem... Any ideas?!?

2009-04-14 Thread Chris . A . Horinek
in my case, someone had inadvertantly removed world read from /etc/passwd. 
   I added it back and the problem went away.





Jerry McAllister jerr...@msu.edu 
No Phone Info Available
04/14/2009 02:20 PM

To
chris.a.hori...@seagate.com
cc
freebsd-questions@freebsd.org
Subject
Re: Weird SSH problem... Any ideas?!?






On Tue, Apr 14, 2009 at 11:46:37AM -0500, chris.a.hori...@seagate.com 
wrote:

 check permissions on /etc/passwd, in my case, solaris 10, /etc/passwd 
 needed to be world readable.

I don't understand your problem.
/etc/passwd is always world readable.

/etc/master.passwd is not.

jerry

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

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


Re: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Eric Schuele
On 02/19/2009 15:56, Aleksandr Miroslav wrote:
 For the longest time, I have installed ports via the sudo make install or
 sudo portupgrade or sudo portinstall method and never had a problem.

This seems to have jumped up and bitten me on the arse as well.  I
believe the problem lies herein:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/sudo/distinfo?rev=1.61

It appears that sudo has been changed following a security issue.  I use
a more restrictive umask than the default.  I suspect you do as well.
The sudo change now implements a union of umasks, therefore never
lowering the umask of the person running sudo.

This had the effect of truly screwing up many installed ports for me (I
do the same as you `sudo portupgrade`).  I'm not blaming the fix... just
whining about it.

The fix for me was to deinstall and reinstall and problem ports using
root himself.

I suspect though you could fix it other ways by fiddling with your
usmask, and/or altering the sudo config files.

 
 
 Recently, as of a few weeks ago, I started noticing that ports that were
 installed or upgraded were getting the wrong permissions. Not only were
 directories getting permissions of 700 (whereas previously they had been
 755), but the directories /usr/local and entries in /var/db/pkg were getting
 permissions of 700.
 
 This is causing a lot of things to break, and I have to manually go in and
 make everything public for it to work again.
 
 This only happens when I build ports via sudo. If I am root and I run make
 install, everything works fine.

yeah.  Me too. :)

 
 I haven't changed anything recently either in sudo, or my umask.
 
 What can I do to fix this?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 


-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Brian A. Seklecki

 lowering the umask of the person running sudo.
 
 This had the effect of truly screwing up many installed ports for me 

Maybe try sudo -H -u root [command]   NetBSD Pkgsrc is nice in this
respect because it has sudo(8) integration in the MKs. ~BAS


signature.asc
Description: This is a digitally signed message part


Re: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Eric Schuele
On 02/25/2009 11:49, Brian A. Seklecki wrote:
 lowering the umask of the person running sudo.

 This had the effect of truly screwing up many installed ports for me 
 
 Maybe try sudo -H -u root [command]   NetBSD Pkgsrc is nice in this
 respect because it has sudo(8) integration in the MKs. ~BAS

I didn't think this would do much, but gave it a try anyway
And it doesn't help.  :/

The following command prior to the change resulted in root's umask being
displayed:
  sudo -H -u root umask

Whereas after the change in sudo I mentioned, the union of mine and
root's is presented.

I looked at the security issue mentioned in the commit log, and I'm not
sure this change was required in order to fix it.

Anyone have thoughts on why this change was made?  I'd argue POLA was
broken here.  But I don't keep up with sudo developments (aside from
using it).

-- 
Regards,
Eric




signature.asc
Description: OpenPGP digital signature


Re: weird permissions on directories when installing ports through sudo

2009-02-25 Thread Brian A. Seklecki

 I didn't think this would do much, but gave it a try anyway
 And it doesn't help.  :/

I think i meant '-i' -- but I'd have to look at the patch`s interaction.

I can't recreate the problem in the 1.6.x we're running in our internal
release engineering.

1.7.x, and its associated backport, created the local brouhaha with
groups credential crashing.  Perhaps next time a -dev extension of the
port should roll for a few months (6-9), especially given the history of
sudo releng.

~BAS




signature.asc
Description: This is a digitally signed message part


Re: Weird problem with firefox

2009-02-11 Thread Chad Perrin
On Tue, Feb 10, 2009 at 06:17:27PM -0600, Paul Schmehl wrote:
 --On Tuesday, February 10, 2009 17:49:08 -0600 Paul Schmehl 
 pschmehl_li...@tx.rr.com wrote:
 
 
 I just uninstalled Firefox v. 2.0.0.20 and then installed firefox v. 3.0.5.
 Which shows one firefox binary; firefox3.  Yet, when I start firefox and 
 click
 on Help/About, it shows I'm running 2.0.0.20.  WTF?
 
 Anyone have a sensible explanation for this?
 
 
 Never mind.  Rebooting fixed the problem.

Rebooting?  You shouldn't have had to do that.  At most, you might have
needed to restart your window manager and/or menu program.  If you were
starting Firefox from the shell, you probably just needed to enter
`rehash` to get it to recognize changes to what's in the execution path.

-- 
Chad Perrin [ content licensed OWL: http://owl.apotheon.org ]
Quoth Sean Reifschneider: If java had real garbage-collection, it would
delete most programs before it executed them.


pgpMFe0ECq6Yk.pgp
Description: PGP signature


Re: Weird problem with firefox

2009-02-11 Thread Paul Schmehl
--On Wednesday, February 11, 2009 14:34:07 -0600 Chad Perrin 
per...@apotheon.com wrote:



On Tue, Feb 10, 2009 at 06:17:27PM -0600, Paul Schmehl wrote:

--On Tuesday, February 10, 2009 17:49:08 -0600 Paul Schmehl
pschmehl_li...@tx.rr.com wrote:


 I just uninstalled Firefox v. 2.0.0.20 and then installed firefox v. 3.0.5.
 Which shows one firefox binary; firefox3.  Yet, when I start firefox and
 click
 on Help/About, it shows I'm running 2.0.0.20.  WTF?

 Anyone have a sensible explanation for this?


Never mind.  Rebooting fixed the problem.


Rebooting?  You shouldn't have had to do that.  At most, you might have
needed to restart your window manager and/or menu program.  If you were
starting Firefox from the shell, you probably just needed to enter
`rehash` to get it to recognize changes to what's in the execution path.


I had to reboot for unrelated reasons.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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: Weird problem with firefox

2009-02-10 Thread Paul Schmehl
--On Tuesday, February 10, 2009 17:49:08 -0600 Paul Schmehl 
pschmehl_li...@tx.rr.com wrote:




I just uninstalled Firefox v. 2.0.0.20 and then installed firefox v. 3.0.5.
Which shows one firefox binary; firefox3.  Yet, when I start firefox and click
on Help/About, it shows I'm running 2.0.0.20.  WTF?

Anyone have a sensible explanation for this?



Never mind.  Rebooting fixed the problem.

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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: weird samba error

2009-01-12 Thread Tim Judd

Aggelidis Nikos wrote:

hi to all the list,

i have a question concerning samba and freebsd:

whenever i use the option username map = /usr/local/etc/samba/smbusers
in my smb.conf
, and i try to connect to samba server like this

#smbclient //apollo/username
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

i get this error even though i type the password correctly...

here is the smb.conf i use:

$cat /usr/local/etc/smb.conf
[global]
 netbios name = apollo
 workgroup = PHOME
 server string = Freebsd File Server
 dns proxy = No

 security = user
 encrypt passwords = yes
 passdb backend = smbpasswd
 smb passwd file = /usr/local/etc/samba/smbpasswd

 #*this options creates all the problems*
 #username map = /usr/local/etc/samba/smbusers

 debug timestamp = no
 log level = 1
 log file = /var/log/samba/log.%m
 max log size = 50

 hosts allow = 192.168.1., 192.168.2., 127.

[homes]
comment = Home Directories
read only = No
browseable = No

#cat /usr/local/etc/samba/smbusers

# Unix_name = SMB_Name1 SMB_Name2 ...
# map_to = map_from
root = administrator
nobody = guest smbguest pcguest
username = username anotherusername

any idea why this happens?or how i should investigate it more?

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


I don't have a link, but a friend had similar problems.

He searched the list archives and the proposed solution (which worked 
for him) was username case sensitivity.


I think it's the windows side that needs ALL CAPS for the usernames for 
this mapping to work.


Please try that.  (and try the opposite if the first doesn't work).
___
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: weird samba error

2009-01-09 Thread Aggelidis Nikos
On Fri, Jan 9, 2009 at 8:29 PM, Aggelidis Nikos
aggelidis.n...@gmail.com wrote:
 hi to all the list,

i forgot to mention that i use almost the same smb.conf and smbusers
in a debian lenny and everything works, that's why i prefered to post
this message in questi...@...

best regards,
nikos
___
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: Weird FS behavior tru FTP on CD9660

2008-10-09 Thread Ivan Voras
Sdävtaker wrote:
 Hey,
 I found a weird situation today,
 I mounted a DVD with the mount_cd9660 and accessed it through
 filezilla. I got 2 times every file in the list, go back to the
 original Pc and checked with ls and they appear only once. :-/
 Im using last version Filezilla in MSW, and ftpd in FBSD7.0r.
 I think it can be reading both TOCs in the DVD, but it is weird since
 it doesnt happen when doing ls.
 Can someone try reproduce it in another setup?

You need to test one thing first: use FreeBSD's command-line FTP client
(called ftp) and try to access the same files.



signature.asc
Description: OpenPGP digital signature


Re: Weird FS behavior tru FTP on CD9660

2008-10-09 Thread Michael Powell
Sdävtaker wrote:

 Hey,
 I found a weird situation today,
 I mounted a DVD with the mount_cd9660 and accessed it through
 filezilla. I got 2 times every file in the list, go back to the
 original Pc and checked with ls and they appear only once. :-/
 Im using last version Filezilla in MSW, and ftpd in FBSD7.0r.
 I think it can be reading both TOCs in the DVD, but it is weird since
 it doesnt happen when doing ls.
 Can someone try reproduce it in another setup?
 Sdav

I believe this is fixed in RELENG_7.

-Mike



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


Re: Weird GEOM errors

2008-08-24 Thread Kris Kennaway

hunter morgan wrote:

Hi.  ive had a freebsd7 box running zfs on 5 500gb hard drives for months
upon months now with mostly good stability but every couple of minutes in my
logs i get errors such as:
kernel: GEOM: ad2: corrupt or invalid GPT detected.
kernel: GEOM: ad2: GPT rejected -- may not be recoverable.

on 2 disks, ad8 and ad2
any ideas why and how to fix? mostly just annoying. thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Try searching the mailing list archives, this has been discussed on one 
of the lists but I forget the answer.


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


Re: Weird Processes on my server from user....

2008-08-08 Thread Dan Nelson
In the last episode (Aug 07), Agus said:
 Hi guys,
 
 Checking my server i found this processessThe user doesnt appear
 doing w..so its like if he was doing an scp or something like
 that...though in this case its sftp... But i read the man and doesnt
 have much information..so i dont understand what is going in the
 background with this proccesess or how can i check it...
 
 the user is deamon and is a registered user...
 here is the pstree output:
 
  | |-+= 74888 root sshd: deamon [priv] (sshd)
  | | \-+- 74891 deamon sshd: [EMAIL PROTECTED] (sshd)
  | |   \-+= 74892 deamon csh -c /usr/libexec/sftp-server
  | | \--- 74893 deamon /usr/libexec/sftp-server

I think you'll see this if the user is sftp'ing over SSHv1; the
sftp-server component has to be launched via a shell login because
SSHv1 doesn't have subsystems.

-- 
Dan Nelson
[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: weird

2008-08-05 Thread alexus
anyone?

On Mon, Aug 4, 2008 at 11:06 PM, alexus [EMAIL PROTECTED] wrote:
 i have something really weird going on... all of the sudden my box
 went away and came back later on

 i have daily log rotating, yet my last log shows following:

 Aug  2 17:15:28 j nrpe[75619]: Handling the connection...
 Aug  4 09:49:52 j named[63163]: zone gmsworld.com/IN: expired

 look at the timestamp and never mind what the actual message says..

 can anyone explain me what the hell happened?

 --
 http://alexus.org/




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


Re: weird restarts when compiling

2008-07-14 Thread Aggelidis Nikos
The voltages as the BIOS reports them:

Vcore = 1.258 V
+3.30 V  = 3.274V
+5.00 V = 5.121V
+12.00 V = 11.870V

i hope by the end of the day i will be able to test the system with a
1100watt Tagan PSU {a friend just bought a monster pc!}.

I will then run: make buildworld...

-nikos


PS: i can interup the process of builworld without causing any
problems to the system correct?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-14 Thread Manolis Kiagias

Aggelidis Nikos wrote:

The voltages as the BIOS reports them:

Vcore = 1.258 V
+3.30 V  = 3.274V
+5.00 V = 5.121V
+12.00 V = 11.870V
  


Not very useful here, since these may change under load I am afraid.


i hope by the end of the day i will be able to test the system with a
1100watt Tagan PSU {a friend just bought a monster pc!}.
  


Nice, this will help you eliminate one factor.


I will then run: make buildworld...

-nikos


PS: i can interup the process of builworld without causing any
problems to the system correct?
  


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


Re: weird restarts when compiling

2008-07-13 Thread Manolis Kiagias

Aggelidis Nikos wrote:

Hi to all the list, i 've been using FreeBSD for almost a month ,and i
have this weird problem. Sometimes when i try to compile a program the
computer will hard-reset itself, like someone pulled of the plug...
For example yesterday i was trying to install jdk1.6 + eclipse, and
while i was compiling eclipse {more precisely -if i remember
correctly-  the diablo-jdk needed for eclipse} the computer rebooted
itself.

The load of the computer was: 2-3xterms, 1 Konversation irc client
,several opera9.51 windows, 1-2 konqueror windows, and 1-2 Firefox
widows. I have a dual core box with 2GB of memory and i use freebsd7
32bit. The computer was online for 8hours with almost the same load
{minus the compilation-procedure}.

* Has anyone had problems like this?
* What can i do to investigate a bit more what was the situation
before the restart?
* Is there anyway to solve this problem.


thanks for your help,
nikos

PS: i could blame the power company but the above problem has happened
before{several times} when i tried to compile big programs like
firefox or do a pkgdb -Fu, so i don't think it is this.

  

Hi Nikos,

This sounds like a hardware problem to me. It is not easy to find out 
the exact cause, except perhaps by swapping components:


- Could be bad RAM, but  I doubt it is you would probably get at least a 
kernel panic and not a hard reboot
- Could be that your power supply can not handle the increased current 
required by the CPU / disk when compiling, voltages fall out of spec, 
and the motherboard resets itself. I've seen this happening quite a few 
times - systems exhibit a variety of weird symptoms like this, commonly 
failing when running CPU intensive apps.

- Your CPU / system may get overheated and hits a thermal cutoff.
- You could have some other faulty component, or some of your BIOS 
settings are too 'high'


Things to try:
- Take the cover off and see whether there is heat build up when 
compiling and also whether the fans work adequately.

- Swap out the power supply
- Change some BIOS settings, or maybe underclock the CPU a bit so it 
requires less power and see if it works then.


Most of the people here are used to run long compilation / portupgrade 
cycles (sometimes in excess of 24 hours) and when a system fails 
unexpectedly like this it is normal to suspect hardware problems.


Manolis

P.S. I removed the -hackers list from the reply - this question is 
better suited for -questions only.

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


Re: weird restarts when compiling

2008-07-13 Thread Mike Meyer
On Sun, 13 Jul 2008 09:09:09 +0300
Aggelidis Nikos [EMAIL PROTECTED] wrote:

 Hi to all the list, i 've been using FreeBSD for almost a month ,and i
 have this weird problem. Sometimes when i try to compile a program the
 computer will hard-reset itself, like someone pulled of the plug...
 For example yesterday i was trying to install jdk1.6 + eclipse, and
 while i was compiling eclipse {more precisely -if i remember
 correctly-  the diablo-jdk needed for eclipse} the computer rebooted
 itself.
 
 The load of the computer was: 2-3xterms, 1 Konversation irc client
 ,several opera9.51 windows, 1-2 konqueror windows, and 1-2 Firefox
 widows. I have a dual core box with 2GB of memory and i use freebsd7
 32bit. The computer was online for 8hours with almost the same load
 {minus the compilation-procedure}.
 
 * Has anyone had problems like this?

Yes. It's always turned out to be flaky hardware for me.

 * What can i do to investigate a bit more what was the situation
 before the restart?

Look through /var/log/messages.

 * Is there anyway to solve this problem.

Well, you really can't solve it, so much as troubleshoot it. Make up
a list of possible causes, and then start checking each possible
cause. You haven't given any real information about the system or the
problem, so we can't eliminate anything. My top suspects would be the
PSU (old or inadequate) and CPU (overheating or overclocked). Memory
and the I/O subsystem would be next, but they tend to cause
random process failure rather than system shutdowns when they go
flaky, so I'd try them last.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Aggelidis Nikos
Thanks for your answers Manolis and Mike. In the beginning i didn't
suspect hardware because it happened only at compilation procedures.
Now i realize that every other task i do isn't really demanding.

 Look through /var/log/messages.
i get this: Jul 13 09:00:00 apollo newsyslog[1018]: logfile turned
over due to size100K

* CPU overheating
- Is there anyway to check for cpu temperatures within freebsd?
- I 've used the pc for like 8 hours in a really hot day but it
didn't restart...if this can be considered as an indication.

*Memory
- i used memtest ,from an ubuntu live cd, to check the memory and
everything works fine according to it.

*PSU
I have a 400Watt PSU... maybe this is inadequate. I will try to swap
it for something stronger to see how it goes.

In general where are there any stress tests i can do, to test the PSU
and some major subsystems of the computer?

thanks in advance,
nikos

PS: this was a ready-made pc that had it's p4 processor upgraded to a
dual core. It also got a new motherboard and 2G of ddr2. It has an old
nvidia GeForce fx 5200, and a 400watt nameless PSU. I only have
freebsd,which i installed a month ago, on it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Manolis Kiagias

Aggelidis Nikos wrote:

PS: this was a ready-made pc that had it's p4 processor upgraded to a
dual core. It also got a new motherboard and 2G of ddr2. It has an old
nvidia GeForce fx 5200, and a 400watt nameless PSU. I only have
freebsd,which i installed a month ago, on it.
___

  


The nameless PSU is probably the cause then. It would work ok with the 
older CPU but can not keep up with 2cores...
I would focus on that, since you already tested memory and the rest of 
the components seem standard.


In ports you will find a few programs for stress testing, e.g.:

math/mprime (in torture mode)
sysutils/cpuburn (specifically for CPU stress testing)

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


Re: weird restarts when compiling

2008-07-13 Thread Jeroen Ruigrok van der Werven
-On [20080713 10:04], Aggelidis Nikos ([EMAIL PROTECTED]) wrote:
 Look through /var/log/messages.
i get this: Jul 13 09:00:00 apollo newsyslog[1018]: logfile turned
over due to size100K

Then look at /var/log/messages.0.bz2

Also, check `last`.

-- 
Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
There is time in life for everything...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Aggelidis Nikos
Since i can't buy a new PSU today... I kept testing:

i tried compile


and i got a reboot again:

this time i checked /var/log/messages and i have this:

...
Jul 13 13:41:20 apollo syslogd: kernel boot file is /boot/kernel/kernel
Jul 13 13:41:20 apollo kernel: panic: vm_fault: fault on nofault
entry, addr: c3a16000
Jul 13 13:41:20 apollo kernel: cpuid = 0
Jul 13 13:41:20 apollo kernel: Uptime: 4h50m11s
Jul 13 13:41:20 apollo kernel: Physical memory: 2035 MB
Jul 13 13:41:20 apollo kernel: Dumping 218 MB: 203 187 171 155 139 123
107 91 75 59 43 27 11Copyrigh
t (c) 1992-2008 The FreeBSD Project.
...

i also installed xmbmon to measure temperatures... i haven't seen
anything above 60C so i guess it isn't the BIOS rebooting the computer
due to cpu temperature..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Jeremy Chadwick
On Sun, Jul 13, 2008 at 11:04:31AM +0300, Aggelidis Nikos wrote:
 * CPU overheating
 - Is there anyway to check for cpu temperatures within freebsd?
 - I 've used the pc for like 8 hours in a really hot day but it
 didn't restart...if this can be considered as an indication.

Not easily.  If coretemp(4) is loaded, you should have some sysctls
named dev.cpu.X.temperature which contain the temperature of the core in
Celcius.  Otherwise, you can try utilities like mbmon and healthd, but
those were written for old (circa 90s) hardware.

Also, are you running powerd(8) on this machine?

 *Memory
 - i used memtest ,from an ubuntu live cd, to check the memory and
 everything works fine according to it.

That's a good start; your memory is probably not the issue then.

 *PSU
 I have a 400Watt PSU... maybe this is inadequate. I will try to swap
 it for something stronger to see how it goes.

Wattage is not the only thing that matters with a PSU.  Voltages are
significantly more important, if you ask me.  I'd make a list of what
your voltages are (go into the BIOS and see) and provide them here.
There may be one which is significantly off, indicating a bad PSU.

 In general where are there any stress tests i can do, to test the PSU
 and some major subsystems of the computer?

Windows offers many free utilities that do this; I'm not sure about
FreeBSD.

-- 
| 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: weird restarts when compiling

2008-07-13 Thread Chris Whitehouse

Aggelidis Nikos wrote:


* CPU overheating
- Is there anyway to check for cpu temperatures within freebsd?
- I 've used the pc for like 8 hours in a really hot day but it
didn't restart...if this can be considered as an indication.




You could try sysutils/mbmon or sysutils/xmbmon - shows cpu temperature, 
inside case temperature and vcore voltage. Supported chipsets are listed 
in mbmon/pkg-descr.


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


Re: weird restarts when compiling

2008-07-13 Thread Aggelidis Nikos
running mprime-torture i get:

Beginning a continuous self-test to check your computer.
Please read stress.txt.  Hit ^C to end this test.
Test 1, 4000 Lucas-Lehmer iterations of M19922945 using 1024K FFT length.
Test 2, 4000 Lucas-Lehmer iterations of M19922943 using 1024K FFT length.
Test 3, 4000 Lucas-Lehmer iterations of M19374367 using 1024K FFT length.
Test 4, 4000 Lucas-Lehmer iterations of M19174369 using 1024K FFT length.
FATAL ERROR: Rounding was 0.5, expected less than 0.4
Hardware failure detected, consult stress.txt file.
Torture Test ran 9 minutes - 1 errors, 0 warnings.

so maybe it isn't even a psu problem but a cpu one?

I'd make a list of what your voltages are (go into the BIOS and see) and 
provide them here.

i will do that.

thanks everyone for your assistance so far!
-nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: weird restarts when compiling

2008-07-13 Thread Manolis Kiagias

Aggelidis Nikos wrote:

running mprime-torture i get:

Beginning a continuous self-test to check your computer.
Please read stress.txt.  Hit ^C to end this test.
Test 1, 4000 Lucas-Lehmer iterations of M19922945 using 1024K FFT length.
Test 2, 4000 Lucas-Lehmer iterations of M19922943 using 1024K FFT length.
Test 3, 4000 Lucas-Lehmer iterations of M19374367 using 1024K FFT length.
Test 4, 4000 Lucas-Lehmer iterations of M19174369 using 1024K FFT length.
FATAL ERROR: Rounding was 0.5, expected less than 0.4
Hardware failure detected, consult stress.txt file.
Torture Test ran 9 minutes - 1 errors, 0 warnings.

so maybe it isn't even a psu problem but a cpu one?

  


Not really. All modern CPUs have  BIST (built-in self tests) that run 
even before the BIOS starts, and it would be really rare to actually 
have a working system with a faulty CPU. Errors in mprime usually 
indicate some other problem, such as bad memory, bad BIOS settings, 
overheating or an incompatibility of CPU/motherboard etc.
Going back to what you said previously, you got an Nvidia 5200 graphics 
card? Were these ever produced for PCI express or are you using a) a 
normal PCI one or b)You got one of these weird mobos that have both AGP 
and PCI express? As I understand there are no AGP-only motherboards for 
core2duo.
Another thought: Sometimes  the CPU cooler is not entirely seated, 
resulting in bad thermal contact of the heatsink/CPU assembly. This is 
not unusual in the 775 socket since the mechanism requires quite some 
pressure to lock and some people are afraid to apply it ;)

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


Re: weird restarts when compiling

2008-07-13 Thread Aggelidis Nikos

 Not really. All modern CPUs have  BIST (built-in self tests) that run even
 before the BIOS starts, and it would be really rare to actually have a
 working system with a faulty CPU. Errors in mprime usually indicate some
 other problem, such as bad memory, bad BIOS settings, overheating or an
 incompatibility of CPU/motherboard etc.
 Going back to what you said previously, you got an Nvidia 5200 graphics
 card? Were these ever produced for PCI express or are you using a) a normal
 PCI one or b)You got one of these weird mobos that have both AGP and PCI
 express? As I understand there are no AGP-only motherboards for core2duo.
Yes i have a weird mobo that has both AGP and PCI. The nvidia is an AGP one.
The mobo wasn't my choise :( but when the changed the false cpu with a
dual core they didn't want to
change the graphics card as well.

Can this mobo create problems?

 Another thought: Sometimes  the CPU cooler is not entirely seated, resulting
 in bad thermal contact of the heatsink/CPU assembly. This is not unusual in
 the 775 socket since the mechanism requires quite some pressure to lock and
 some people are afraid to apply it ;)


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


Re: weird restarts when compiling

2008-07-13 Thread Manolis Kiagias

Aggelidis Nikos wrote:

Not really. All modern CPUs have  BIST (built-in self tests) that run even
before the BIOS starts, and it would be really rare to actually have a
working system with a faulty CPU. Errors in mprime usually indicate some
other problem, such as bad memory, bad BIOS settings, overheating or an
incompatibility of CPU/motherboard etc.
Going back to what you said previously, you got an Nvidia 5200 graphics
card? Were these ever produced for PCI express or are you using a) a normal
PCI one or b)You got one of these weird mobos that have both AGP and PCI
express? As I understand there are no AGP-only motherboards for core2duo.


Yes i have a weird mobo that has both AGP and PCI. The nvidia is an AGP one.
The mobo wasn't my choise :( but when the changed the false cpu with a
dual core they didn't want to
change the graphics card as well.

Can this mobo create problems?

  


It is possible, having both an AGP and PCI express on the same board is 
a hack, and not even all AGP cards are compatible with these mobos.  It 
would be better to test it with a PCI express graphics card, if you can 
grab one. I'd be happy to lend you one for testing, but I guess we are 
not in the same town ;)  (Chania here...)

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


Re: weird restarts when compiling

2008-07-13 Thread Chuck Swiger

On Jul 13, 2008, at 4:38 AM, Aggelidis Nikos wrote:

FATAL ERROR: Rounding was 0.5, expected less than 0.4
Hardware failure detected, consult stress.txt file.
Torture Test ran 9 minutes - 1 errors, 0 warnings.

so maybe it isn't even a psu problem but a cpu one?


If it was strictly a problem with the CPU, you'd likely not be able to  
boot, or this test would fail within a few seconds.


9 minutes is possible but a bit on the early side to be a thermal  
issue; more likely would be the memory config and BIOS setup is  
marginal and that relaxing the timings would help.  If you shut down  
for a while, and then do a cold restart with the case open, does that  
result in the stress test taking longer to fail?


If so, check your cooling.

On the other hand, if the length of time before failure doesn't  
change, or more precisely seems random-- 5-10 minutes one try, an hour  
the next, that generally indicates memory and motherboard BIOS setup.


PSU problems tend to not show up with prime95, but when you have the  
disks busy and maybe graphics, also.


--
-Chuck

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


Re: weird restarts when compiling

2008-07-13 Thread David Gurvich
It doesn't look like overheating, unless the thermal compound, heatsink
and temperature monitor are not properly set.  The only times I had
reboots like that was due to a driver with an irq conflict, a driver
accessing incorrect memory, or running out of space on a device (trying
to write to non-existent address).  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird FTP issue???

2007-09-03 Thread Erich Dollansky

Hi,

did you also use different cable and different switch ports for this 
problematic machine?


Yes, your problem sounds weird. Life told us so many times that things 
like this can happen.


Erich

Michaela wrote:

Hi all,

I was wondering if anyone can possibly explain or give their expertise
with this bizarre/weird issue if you will that I've been having while
using such commands as portsnap, portaudit, fetch, etc.

First off, I'm running FreeBSD v6.1.   I have three (Internet) servers
running the same FreeBSD version.   However, one of the servers has been
giving me trouble and I can't decipher whether or not it's a FreeBSD
related issue or something else altogether.

On this one server, whenever I try to use portaudit, portsnap,
fetch, or whenever I try to upgrade ports and it needs to fetch the
updates the connections ALMOST always time out.   But what's weird is
that I don't have the issue on the other two FreeBSD servers when they
need to use the same commands.

I can SSH to this (problem) server, ping to-from it, and everything
else.   It's gotten to the point where I thought it was a FreeBSD
problem so I completely reformatted and installed the O/S.  However,
it's STILL doing the same thing.  Upon trying to install certain
distribution sets through FTP media, I'd get an error about it (FreeBSD)
not being able to get a connection with the remote FreeBSD server. 


After that, I even went as far as changing network cards and it's still
doing it.   Using netstat while trying to use the commands shows that
it's sending a SYN flag to the remote server, but no connection is
ever established.

I have all three servers plugged into the same router/firewall and have
done so for years with no problems.   This is the first issue of its kind.

I'd greatly appreciate any insight, help, explanation, or something. 
This is getting really aggrevating.



THANK YOU in advance.


-- Michael
___
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: Weird FTP issue???

2007-09-03 Thread Jordan Gordeev

Michaela wrote:

Hi all,

I was wondering if anyone can possibly explain or give their expertise
with this bizarre/weird issue if you will that I've been having while
using such commands as portsnap, portaudit, fetch, etc.

First off, I'm running FreeBSD v6.1.   I have three (Internet) servers
running the same FreeBSD version.   However, one of the servers has been
giving me trouble and I can't decipher whether or not it's a FreeBSD
related issue or something else altogether.

On this one server, whenever I try to use portaudit, portsnap,
fetch, or whenever I try to upgrade ports and it needs to fetch the
updates the connections ALMOST always time out.   But what's weird is
that I don't have the issue on the other two FreeBSD servers when they
need to use the same commands.

I can SSH to this (problem) server, ping to-from it, and everything
else.   It's gotten to the point where I thought it was a FreeBSD
problem so I completely reformatted and installed the O/S.  However,
it's STILL doing the same thing.  Upon trying to install certain
distribution sets through FTP media, I'd get an error about it (FreeBSD)
not being able to get a connection with the remote FreeBSD server. 


After that, I even went as far as changing network cards and it's still
doing it.   Using netstat while trying to use the commands shows that
it's sending a SYN flag to the remote server, but no connection is
ever established.

I have all three servers plugged into the same router/firewall and have
done so for years with no problems.   This is the first issue of its kind.

I'd greatly appreciate any insight, help, explanation, or something. 
This is getting really aggrevating.



THANK YOU in advance.


-- Michael


Hi, Michael!
Please, note that portsnap is not using FTP, but HTTP.
The first thing to do, when a problem like this occurs, is to use 
tcpdump to capture a packet trace. Use tcpdump on the server and, if 
possible, on the router/firewall and show us the results, if you can't 
analyze them by yourself.

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


Re: weird messages in daily security run output mails

2007-05-19 Thread Björn König
Jan L. Nauta schrieb:

 [...]
 +NMI 2ISAN MI ISA 38, EIS3A8,  E0I
 +S
 +A 0
 +2N2NMMII I SAIS A 38, E3I8S, AEI S0A NMI ISA 38, EISA 0 kernel trap
 +19 with interrupts disabled NMI ISA 28, EISA 0 NMI 2INSAM I ISA 28,
 +EISA2 08
 [...]
 g_vfs_done():mirror/gm0s1f[READ(offset=356486479872, length=16384)]error
 [...]

That looks like a hardware error. If you don't already have an assumption
I would try to find the broken hardware by testing the hard disks
separately, e.g. by reading the entire disk and watching the log: dd
if=/dev/da0 of=/dev/zero bs=64k and tail -f /var/log/messages.

Regards
Björn


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


Re: Weird perms with linux_base-gentoo-stage3

2007-02-09 Thread Divacky Roman
On Thu, Feb 08, 2007 at 05:22:31PM -0600, Kirk Strauser wrote:
 I'm using linux_base-gentoo-stage3-2006.0_2 for my 6.2-RELEASE system's Linux 
 emulation.  It works perfectly for my Linux apps - better than the recommend 
 linux_base-fc4 port, in fact - but has a strange problem.  Whenever I install 

just out of curiousity - what do you mean by better then the recommended fc4 ?
what problems disappear with you switch to gentoo base?

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


Re: Weird perms with linux_base-gentoo-stage3

2007-02-09 Thread Kirk Strauser
On Fri, 9 Feb 2007 15:58:39 +0100, Divacky Roman [EMAIL PROTECTED] wrote:

 just out of curiousity - what do you mean by better then the recommended
 fc4 ?  what problems disappear with you switch to gentoo base?

Well, the short answer is that with the Gentoo base, some of the proprietary
applications we use will run, while under FC4, they'd either fail to load or 
have
horrible OpenGL problems (like poor performance or bad displays).  I installed 
the
Gentoo base as a test and the programs instantly started working again.  It may 
not
be recommended for various reasons that I haven't really researched, but it does
what we need.
-- 
Kirk Strauser

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


Re: Weird problem with DRAC 5

2006-09-20 Thread pauls
--On September 19, 2006 5:25:23 PM -0400 Bill Moran 
[EMAIL PROTECTED] wrote:


Got it.

ehci.c v 1.42:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ehci.c?rev=1.42co
ntent-type=text/x-cvsweb-markup

Put this version in place in /usr/src/sys/dev/usb, comment out line 766
and rebuild your kernel and the DRAC5 keyboard will start to work.

Thanks, Bill.  I just recompiled the kernel, and now the mouse and 
keyboard work fine.


Now if I can just figure out why I can get to the DRAC card from one 
machine and not from the other...


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Weird problem with DRAC 5

2006-09-19 Thread Bill Moran
In response to Paul Schmehl [EMAIL PROTECTED]:

 I'm setting up a new server (Dell 1950) that has a DRAC card.  My home 
 network (where I'm working on it in my spare time) is behind a wireless 
 router, and the internal network is 192.168.2.0/24.  The DRAC card's IP 
 address is 192.168.2.120 (gateway is 192.168.2.1.  Mask is 255.255.255.0.) 
 I can access the DRAC card from the server that it's on (through its IP - 
 192.168.2.120), and I can access it from my Windows workstation that is 
 plugged in to the router just like the DRAC card is (RJ45 cable.)  I'm 
 pretty sure the router's interface is switched (not a hub.)
 
 I cannot access the DRAC card from my Mac OS X laptop, which is on the 
 wireless network and has an address of 192.168.2.102.  When I try to ping 
 the DRAC card from the Mac, I get No route to host.  Host is down.  If I 
 ping it from the server or from the Windows box, it responds fine.
 
 This makes no sense to me.  If anyone has a bright ideas what I'm missing, 
 I'm all ears.

These sound like network routing problems.

 One other thing.  Using the console redirection through the web interface 
 (which forces you to use IE and an ActiveX control!), I can see the console 
 fine, but the keyboard and mouse (on the Windows box) don't do anything.  I 
 can still login through the USB keyboard attached to the server, and I can 
 see the virtualy keyboard and mouse being detected (looking at the console 
 messages.)
 
 Has anyone gotten console redirection working (to include keyboard and 
 mouse functionality)?

No.  It's broken right now.  Do a search on the mailing list and you'll see
lots of complaints.  It works in 7, and I've been trying to figure out what
can be MFCed to 6 in order to get it working there.  If anyone has any
insight, I'd be interested to hear it.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Weird problem with DRAC 5

2006-09-19 Thread Paul Schmehl
--On Tuesday, September 19, 2006 13:54:45 -0400 Bill Moran 
[EMAIL PROTECTED] wrote:


This makes no sense to me.  If anyone has a bright ideas what I'm
missing,  I'm all ears.


These sound like network routing problems.



Of course, but it makes no sense.  All the hosts are having no problems 
accessing each other or the internet, yet the Mac, which is wireless, can't 
access the DRAC card.  It has no problem accessing the server that the DRAC 
card is on, and the only difference between the two is the IP address - 
unless I've mistyped something - but you can imagine I've checked and 
rechecked everything.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Weird problem with DRAC 5

2006-09-19 Thread Bill Moran
In response to Bill Moran [EMAIL PROTECTED]:

  One other thing.  Using the console redirection through the web interface 
  (which forces you to use IE and an ActiveX control!), I can see the console 
  fine, but the keyboard and mouse (on the Windows box) don't do anything.  I 
  can still login through the USB keyboard attached to the server, and I can 
  see the virtualy keyboard and mouse being detected (looking at the console 
  messages.)
  
  Has anyone gotten console redirection working (to include keyboard and 
  mouse functionality)?
 
 No.  It's broken right now.  Do a search on the mailing list and you'll see
 lots of complaints.  It works in 7, and I've been trying to figure out what
 can be MFCed to 6 in order to get it working there.  If anyone has any
 insight, I'd be interested to hear it.

Got it.

ehci.c v 1.42:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ehci.c?rev=1.42content-type=text/x-cvsweb-markup

Put this version in place in /usr/src/sys/dev/usb, comment out line 766
and rebuild your kernel and the DRAC5 keyboard will start to work.

The commit note says MFC after 2 weeks, but this seems to have been missed.
I'm going to ping the maintainers and see if I can get it MFCed before 6.2
comes out.

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


SV: Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-03 Thread Bobby Knight
Thank you for editing my post.
   
  Strange that freebsd does not provide any info on how to deal with these 
problems. 
   
  I think one is supposed to invoke pkgdb -F when portupgrades fail like this. 
The question then is how to respond. The most recent page I could find about 
that is this:
   
  http://www.engr.colostate.edu/~reinholz/freebsd/pkgdb_F.html
   
  I haven't tried it yet but I suspect I will get some of those same questions 
when I do. Especieally about stale origin to pkgconfig.
   
  
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread Kevin Monceaux
Bobby,

On Wed, Aug 02, 2006 at 02:22:18PM +0200, Bobby Knight wrote:
  
 HelloNewly installed 6.1. 

I recently said hello to a newly installed FreeBSD 6.1 myself.

 Barely touched ports so one would expect it to work, 

That sounds like a reasonable expectation for FreeBSD.  I'm new to FreeBSD
myself.  For the most part I've found it quite stable.  I've been a Linux
user for years(since the 1.x kernel days) and after only a few days of
tinkering with FreeBSD on a test box I'm just about ready to switch my main
box over to FreeBSD.

 yet it fails brutally for me as  a new user when I do portupgrade -arR
 just to upgrade a few packages.

I experienced a similar failure to the one you describe, although I didn't
find it all that brutal.  After a few tries I managed to get past it.

 I have no clue why and what to do so I am hoping someone here knows. 

I don't really have a clue as to why myself but I'll tell you what worked
for me.  There may be a better solution to this and if so hopefully someone
with more knowledge than I will point it out.  To improve your chances of
getting the answers you need you might want to consider paying attention to
the guidelines posted occasionally, especially the part about including line
breaks.  Such a post can be found at:

http://Lists.FreeBSD.org/pipermail/freebsd-questions/2006-July/126199.html

Reformatting your post so I could reply to it took a bit of time.  Since I
had a similar problem I took the time to reformat your message and reply to
it with the hope that it will encourage someone who might not otherwise have
repiled to provide more information and a better solution to the problem.

 Can't see what I have done wrong. 

My guess is you haven't done anything wrong.  I had the same problem.  

 That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before
 upgrade as well as read UPDATING.

I use portsnap myself and just installed portupgrade and portaudit
yesterday.  I'm still learning all the proper steps necessary to keep my
system up to date.

 Checking if devel/pkg-config already installed  ===   pkg-config-0.20_2
 is already installed
 You may wish to ``make deinstall'' and install this port again by ``make
 reinstall'' to upgrade it properly.

I tried a 'make deinstall' then 'make reinstall' as the error message
suggested.  It didn't help.  Then, I tried a 'make deinstall' followed by a
'portupgrade -aRr' which appeared to get around the problem.  Portupgrade
installed the version of pkg-config it really wanted and upgraded
everything successfully.


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread RW
On Wednesday 02 August 2006 13:22, Bobby Knight wrote:
 HelloNewly installed 6.1. Barely touched ports so one would expect it
 to work, yet it fails brutally for me as  a new user when I do portupgrade
 -arR just to upgrade a few packages.I have no clue why and what to do
 so I am hoping someone here knows. Can't  see what I have done wrong. I
 have followed the available ports docs/mans slavishly.

 That is always cvsup ports and do a portsdb -Fu; portaudit -Fa before
 upgrade as  well as read UPDATING.The info I've managed to gather is
 listed below. I don't want to retry the  installation and maybe screw up
 things more before I ask you guys. Problem  seems to be with pkg-config or
 pkgconfig... pkgconfig puzzles me. There

 exits no port of this in the tree yet it somehow is a package now.

$ grep  pkgconfig /usr/ports/MOVED
devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor package 
name

You can probably just pkg_delete pkgconfig, and fix-up the dependencies. 
Between the two you probably need to install the new version.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread Kevin Monceaux
On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote:
 
 $ grep  pkgconfig /usr/ports/MOVED
 devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor
 package name
 
 You can probably just pkg_delete pkgconfig, and fix-up the dependencies. 
 Between the two you probably need to install the new version.

Would:

portupgrade -f -o pkgconfig pkg-config 

be the correct way to fix such a problem?


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird result of portupgrade -aRr concerning pkgconfig or is it pkg-config?

2006-08-02 Thread RW
On Wednesday 02 August 2006 15:00, Kevin Monceaux wrote:
 On Wed, Aug 02, 2006 at 02:34:46PM +0100, RW wrote:
  $ grep  pkgconfig /usr/ports/MOVED
  devel/pkgconfig|devel/pkg-config|2006-05-27|Renamed to use real vendor
  package name
 
  You can probably just pkg_delete pkgconfig, and fix-up the dependencies.
  Between the two you probably need to install the new version.

 Would:

 portupgrade -f -o pkgconfig pkg-config

 be the correct way to fix such a problem?

probably, I don't use portupgrade  much myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Derek Ragona

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall and 
reinstall it.


-Derek

At 02:14 PM 6/5/2006, Paul Schmehl wrote:
I'm having a problem figuring out what the heck is wrong with a 
webserver.  Any suggestions would be welcomed.


It's running Apache and php4 (with Apache module selected using make 
config), and when you try to load a page (Squirrelmail) using Firefox, you 
get a popup asking you what to do with the file.  (You have chosen to open 
..which is a: application/x-httpd-php from: https://webmail.stovebolt.com 
What should Firefox do with this file?


The page loads fine in Internet Explorer.

The load module and add module lines exist in the httpd.conf file and the 
webserver has been restarted repeatedly, with no errors.  There's no 
errors in the httpd-error log.  The libphp4.so file exists in the correct 
directory.


uname -a
FreeBSD stovebolt.stovebolt.com 5.4-SECURITY FreeBSD 5.4-SECURITY

httpd -V
Server version: Apache/1.3.36 (Unix)
Server built:   Jun  3 2006 11:20:12

php -v
PHP 4.4.2 (cli) (built: Jun  5 2006 13:56:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

grep php /usr/local/etc/apache/httpd.conf

LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html index.htm
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.html index.htm index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Redirect / https://webmail.stovebolt.com/index.php
Files ~ \.(cgi|shtml|phtml|php|php3?|php4?)$
#Files ~ \.(cgi|shtml|phtml|php3?|php4?)$
Files ~ \.(cgi|shtml|phtml|php3?)$

The only thing that strikes me as odd is that there's no dependency for 
php related to apache:


pkg_info -r apache*
Information for apache+mod_ssl-1.3.36+2.8.27:

Depends on:
Dependency: mm-1.4.0
Dependency: expat-2.0.0_1

pkg_info -R apach*
Information for apache+mod_ssl-1.3.36+2.8.27:

Required by:
mod_perl-1.29_1
mod_security-1.9.2
squirrelmail-1.4.6

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Weird apache problem

2006-06-05 Thread Mikhail Goriachev
Derek Ragona wrote:
 I just tried that page in firefox on a windows and it worked fine.
 
 You may have your firefox install foobar, and might want to uninstall
 and reinstall it.
 


Same here. Loads fine on Mac's Firefox.

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Chris Hill

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall
and reinstall it.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.


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


Re: Weird apache problem

2006-06-05 Thread Paul Schmehl

Chris Hill wrote:

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall
and reinstall it.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.



Yeah.  It was an ID 10 T problem.  :-(

I needed to clear the browser cache and history.

Thanks for checking, everyone.

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: weird arp issues

2006-06-04 Thread Chuck Swiger

Subhi S Hashwa wrote:

Jun  3 21:14:58 nile kernel: arp_rtrequest: bad gateway 193.19.XXX.1 (!AF_LINK)

[ ... ]

21:23:08 [EMAIL PROTECTED] ~]# netstat -rn|grep 193.19.XXX.1
193.19.XXX.1   193.19.XXX.1   UHLW14lo0 =
193.19.XXX.1/32link#1 UC  00em0


I would gather that you've got the 193.19.XXX.1 IP assigned to lo0 rather than 
to a real interface, only you can't ARP over the loopback.  Don't do that, 
leave lo0 assigned to 127.0.0.1  ::1 if using IPv6.


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


Re: Weird / FS behavior

2006-05-04 Thread Brandon S. Allbery KF8NH


On May 4, 2006, at 10:30 , Christian Lopez de Castilla Wagner wrote:


[EMAIL PROTECTED] cat S56/vcs/20060504/*.vcs  S56/vcs/20060504/cal.vcs

/: write failed, filesystem is full
cat: stdout: No space left on device


The shell expands the * after creating the output file for the  
redirection, so one of the files being concatenated into cal.vcs is  
cal.vcs.  (This has always been true for all shells, in my experience.)


--
brandon s. allbery [linux,solaris,freebsd,perl]   
[EMAIL PROTECTED]
system administrator  [openafs,heimdal,too many hats]   
[EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university   
KF8NH




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


Re: Weird / FS behavior

2006-05-04 Thread Kris Kennaway
On Thu, May 04, 2006 at 10:30:23PM -0400, Christian Lopez de Castilla Wagner 
wrote:

 [EMAIL PROTECTED] cat S56/vcs/20060504/*.vcs  S56/vcs/20060504/cal.vcs

What is wrong with this picture:

 echo foo  a
 cat a  a

:-)

Kris


pgpuayAlZFmFU.pgp
Description: PGP signature


  1   2   3   >