How can I remove one interface from lagg, without destroying all lagg?

2013-07-24 Thread Alex Liptsin
Hi.

I have lagg interface created on my server:

[root@h-qa-094 ~]$ ifconfig lagg0
lagg0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO
ether 00:02:c9:19:82:80
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: igb1 flags=0
laggport: mlxen1 flags=0
laggport: mlxen0 flags=5MASTER,ACTIVE

Now, I want to removr igb1 interface from that lag.
How can I do it?




Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

___
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:: How to set VLAN priority?

2013-06-26 Thread Alex Liptsin
Hello.

I work with FreeBSD 9.1 RELEASE.
I had configured VLANs on my server, but I can't find a way to configure VLAN 
priority.
How can I do it?

Thanks.

Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

___
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


Failed to allocate receive buffer problem

2013-06-12 Thread Alex Liptsin
Hi.

I have a problem that when running a ping (or any other traffic) over IPoIB 
port,
Traffic fails after some time.
At destination server DMESG I see that errors:

Jun 11 14:42:11 h-qa-033 kernel: ib1: failed to allocate receive buffer 253
Jun 11 14:42:12 h-qa-033 kernel: ib1: failed to allocate receive buffer 254
Jun 11 14:42:13 h-qa-033 kernel: ib1: failed to allocate receive buffer 255
Jun 11 14:42:14 h-qa-033 kernel: ib1: failed to allocate receive buffer 0
Jun 11 14:42:15 h-qa-033 kernel: ib1: failed to allocate receive buffer 1
Jun 11 14:42:16 h-qa-033 kernel: ib1: failed to allocate receive buffer 2
Jun 11 14:42:17 h-qa-033 kernel: ib1: failed to allocate receive buffer 3
Jun 11 14:42:18 h-qa-033 kernel: ib1: failed to allocate receive buffer 4
Jun 11 14:42:19 h-qa-033 kernel: ib1: failed to allocate receive buffer 5
Jun 11 14:42:20 h-qa-033 kernel: ib1: failed to allocate receive buffer 6
Jun 11 14:42:21 h-qa-033 kernel: ib1: failed to allocate receive buffer 7

I work with FreeBSD 9.1.

Is it a bug or some configuration issues?

Thanks.

Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

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


RE: How to switch Datgram/Connected mtu modes?

2013-06-11 Thread Alex Liptsin
Hi.

Yes. There is no such entry.
The only way I found is to compile inside the kernel  options IPOIB_CM .
Can I do it manually without compiling the kernel each time I want to switch 
between the modes?
Maybe add it somehow to sysctl or loader.conf?
 



Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161 
Email: al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel


-Original Message-
From: John Baldwin [mailto:j...@freebsd.org] 
Sent: Wednesday, May 29, 2013 9:17 PM
To: freebsd-...@freebsd.org
Cc: Alex Liptsin; freebsd-questions@freebsd.org
Subject: Re: How to switch Datgram/Connected mtu modes?

On Sunday, May 26, 2013 7:43:29 am Alex Liptsin wrote:
 Hello.
 
 I work with FreeBSD 9.1 and Mellanox devices.
 
 How can I configure MTU in connected mode on FreeBSD 9.1?
 In Linux to enable connected mode for interface ib0, I enter:
 
echo connected  /sys/class/net/ib0/mode
 
 
 
 Switching between CM and UD mode can be done in run time:
 
echo datagram  /sys/class/net/ib0/mode sets the mode of ib0 to UD
 
echo connected  /sys/class/net/ib0/mode sets the mode ib0 to CM
 
 There is no such directories at FreeBSD. Wat shall I do?

Have you tried looking for dev.ib.0 sysctls?  It looks like the OFED bits in 
FreeBSD map Linux sysfs entries to sysctl nodes, but I don't have a box with IB 
handy to see what it looks like at runtime.

--
John Baldwin
___
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


Mellanox NIC names changed, each kldunload/kldload mlx4ib module

2013-06-09 Thread Alex Liptsin
Hi.

I work with FreeBSD9.1 and Mellanox devices.
Every time I unload / load mlx4ib module, NIC names of mellanox devices (ibX) 
are renamed.
Can I prevent it?

[root@h-qa-032 mlx4]# ifconfig
ib8: flags=8002BROADCAST,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.28.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
ib9: flags=8002BROADCAST,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.28.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL

[root@h-qa-032 mlx4]# kldunload mlx4ib

[root@h-qa-032 mlx4]# kldload -v mlx4ib
Loaded mlx4ib, id=9

[root@h-qa-032 mlx4]# ifconfig
ib10: flags=8002BROADCAST,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.30.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
ib11: flags=8002BROADCAST,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.30.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL

Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

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


Re: How to compile ipoib module manually?

2013-06-05 Thread Alex Liptsin
Thanks a lot.

Alex L.


Sent from my iPhone

On 5 ביונ 2013, at 18:13, John Baldwin 
j...@freebsd.orgmailto:j...@freebsd.org wrote:

On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote:
I commented on that lines, because I want to compile and load that modules
manually.
I had succeed to compile and load mlx4, mlx4ib and mlxen from /sys/modules:

[root@h-qa-033 mlxen]# kldstat
Id Refs AddressSize Name
1   14 0x8020 13acbd8  kernel
21 0x81612000 21e5 if_mos.ko
33 0x81615000 124ebmlx4.ko
41 0x81628000 e225 mlx4ib.ko
51 0x81637000 ec60 mlxen.ko

The problem is that IPOIB module is missing in /sys/modules.

1.  Where can I find it?

2.  How can I compile ipoib support?

You will have to create one.  You should be able to use the existing module
Makefiles as a guide.

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

How to compile ipoib module manually?

2013-06-04 Thread Alex Liptsin
  run   # Ralink Technology 
RT2700/RT2800/RT3000 NICs.
device  uath # Atheros AR5523 wireless NICs
device  upgt # Conexant/Intersil PrismGT wireless 
NICs.
device  ural  # Ralink Technology RT2500USB 
wireless NICs
device  urtw # Realtek RTL8187B/L wireless NICs
device  zyd   # ZyDAS zd1211/zd1211b wireless NICs

# FireWire support
device  firewire   # FireWire bus code
# sbp(4) works for some systems but causes boot failure on others
#devicesbp   # SCSI over FireWire 
(Requires scbus and da)
device  fwe  # Ethernet over FireWire 
(non-standard!)
device  fwip # IP over FireWire (RFC 2734,3146)
device  dcons   # Dumb console driver
device  dcons_crom# Configuration ROM for dcons

# Sound support
device  sound   # Generic sound driver (required)
device  snd_cmi   # CMedia CMI8338/CMI8738
device  snd_csa   # Crystal Semiconductor 
CS461x/428x
device  snd_emu10kx  # Creative SoundBlaster Live! and Audigy
device  snd_es137x # Ensoniq AudioPCI ES137x
device  snd_hda   # Intel High Definition Audio
device  snd_ich# Intel, NVidia and other 
ICH AC'97 Audio
device  snd_uaudio  # USB Audio
device  snd_via8233# VIA VT8233x Audio

# Mellanox and IB support
options OFED # Infiniband protocol
options OFED_DEBUG_INIT
options SDP # Sockets Direct Protocol for infiniband
options SDP_DEBUG
# options IPOIB_DEBUG
# options IPOIB_CM # Use connect mode ipoib
device mthca # Infinihost cards
# device mlx4ib # ConnectX Infiniband support
#device mlxen # ConnectX Ethernet support
# device ipoib # IP over IB devices

I commented on that lines, because I want to compile and load that modules 
manually.
I had succeed to compile and load mlx4, mlx4ib and mlxen from /sys/modules:

[root@h-qa-033 mlxen]# kldstat
Id Refs AddressSize Name
1   14 0x8020 13acbd8  kernel
21 0x81612000 21e5 if_mos.ko
33 0x81615000 124ebmlx4.ko
41 0x81628000 e225 mlx4ib.ko
51 0x81637000 ec60 mlxen.ko

The problem is that IPOIB module is missing in /sys/modules.

1.  Where can I find it?

2.  How can I compile ipoib support?


Regards,
Alex Liptsin
Software Quality Assurance Engineer | Mellanox Technologies Ltd.
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com
Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel

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


How can I unload/load modules that complied inside the kernel?

2013-05-29 Thread Alex Liptsin
Hello.

I am using FreeBSD9.1

[root@h-qa-033 ~]# uname -a
FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 
2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL  amd64

OFED and IB support are compiled in kernel.


1.  How can I unload/load modules that complied inside the kernel?


[root@h-qa-033 ~]# kldstat -v | grep mlx4 -B 5
Id Refs AddressSize Name
1   10 0x8020 13dcbf8  kernel (/boot/kernel/kernel)
Contains modules:
Id Name
420 mlxen
418 mlx4ib
419 mlx4

I want to unload/load mlx4ib.


2.  Is there any way to take it out of kernel and load manually?

Like if_lagg for example:

[root@h-qa-033 ~]# kldstat
Id Refs AddressSize Name
1   10 0x8020 13dcbf8  kernel
31 0x81812000 2197 if_mos.ko
41 0x81815000 690a if_lagg.ko

Thanks a lot.
Alex.

___
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


Create bond on Infiniband ports

2013-05-28 Thread Alex Liptsin
Hi.

I use FreeBSD 9.1 with OFED compiled on it.

There is a Mellanox adapter:

[root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3
mlx4_core0@pci0:0:5:0:  class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00 
hdr=0x00
vendor = 'Mellanox Technologies'
device = 'MT27500 Family [ConnectX-3]'
class  = network

I want to create Bond on the two ports (ib0 and ib1) of this device:

[root@qa-h-vrt-030-006 ~]# ifconfig
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 00:50:56:23:1e:06
inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2
inet 10.195.30.6 netmask 0x broadcast 10.195.255.255
nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
media: Ethernet autoselect (1000baseT full-duplex)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
ib0: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51
inet 11.195.30.1 netmask 0x broadcast 11.195.255.255
inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4
nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL
ib1: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520
options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE
lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52
inet 12.195.30.1 netmask 0x broadcast 12.195.255.255
inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5
nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL


1.  Is there bond in FreeBSD or its Lagg?

2. I tried to create this way, but failed:



[root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create

root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport ib0 
laggport ib1

ifconfig: SIOCSLAGGPORT: Protocol not supported

Any ideas?
Is it supported on Infiniband ports?


Regards,
Alex Liptsin


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


How to switch Datgram/Connected mtu modes?

2013-05-26 Thread Alex Liptsin
Hello.

I work with FreeBSD 9.1 and Mellanox devices.

How can I configure MTU in connected mode on FreeBSD 9.1?
In Linux to enable connected mode for interface ib0, I enter:

   echo connected  /sys/class/net/ib0/mode



Switching between CM and UD mode can be done in run time:

   echo datagram  /sys/class/net/ib0/mode sets the mode of ib0 to UD

   echo connected  /sys/class/net/ib0/mode sets the mode ib0 to CM

There is no such directories at FreeBSD. Wat shall I do?



Datagram vs Connected modes

  The IPoIB driver supports two modes of operation: datagram and
  connected.  The mode is set and read through an interface's
  /sys/class/net/intf name/mode file.

  In datagram mode, the IB UD (Unreliable Datagram) transport is used
  and so the interface MTU has is equal to the IB L2 MTU minus the
  IPoIB encapsulation header (4 bytes).  For example, in a typical IB
  fabric with a 2K MTU, the IPoIB MTU will be 2048 - 4 = 2044 bytes.

  In connected mode, the IB RC (Reliable Connected) transport is used.
  Connected mode takes advantage of the connected nature of the IB
  transport and allows an MTU up to the maximal IP packet size of 64K,
  which reduces the number of IP packets needed for handling large UDP
  datagrams, TCP segments, etc and increases the performance for large
  messages.

  In connected mode, the interface's UD QP is still used for multicast
  and communication with peers that don't support connected mode. In
  this case, RX emulation of ICMP PMTU packets is used to cause the
  networking stack to use the smaller UD MTU for these neighbours.

Thanks a lot

Regards,
Alex Liptsin
Office: +972 (74) 7236141
Mobile: +972(54) 7833986
Fax: +972(74) 7236161
Email: al...@mellanox.commailto:al...@mellanox.com

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


Bsdtech QUESTION

2012-05-30 Thread Alex
Hi,
We have managed to secure the domain Bsdtech.com for one of our
web apps however we have decided to change the name
and secure a different name that suits out project better.
If you would be interested in purchasing this domain please
don't hesitate to contact us.

Thanks
Alex Verdea
NameConsultants LLC.
PO BOX 1522
Enka, NC 28728
828-367-7030 (mobile)

___
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


Using lagg(4) for wired and wireless networks

2012-01-14 Thread Alex
Hi there. A portion of the documentation for link aggregation is
confusing me. In example 32-3 the user is required to match the HW
address of iwn0 with that of bge0. Why is this necessary? In example
32-2 this is not done. How come?

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


Help with wifi usb адаптер TP-LINK WN321G

2011-12-20 Thread Alex
Hello,

I wonder if somebody has an experience of using this device for an access 
point. I tried FreeBSD 8.2 and
10.0-CURRENT and both systems drops into a kernel panic under wifi traffic. 
Other than that, the device runs
without problems.

Dec 20 01:04:51 neptun kernel: ugen2.2: Ralink at usbus2
Dec 20 01:04:51 neptun kernel: run0: 1.0 on usbus2
Dec 20 01:04:51 neptun kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 
(MIMO 1T1R), address ...
Dec 20 01:04:51 neptun kernel: run0: firmware RT2870 loaded
Dec 20 01:04:51 neptun kernel: ieee80211_load_module: load the wlan_amrr module 
by hand for now.

I'm using hostapd:

interface=wlan0
debug=2
ctrl_interface=/var/run/hostapd
ssid=...
wpa=3
wpa_passphrase=...
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=TKIP CCMP

Are there any chances to make it work, or I've just lost 8 euro? What usb wifi 
adapter would you suggest
then?

Regards


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


Help with wifi usb адаптер TP-LINK WN321G

2011-12-20 Thread Alex

Hello,

I wonder if somebody has an experience of using this device for an access 
point. I tried FreeBSD 8.2 and 10.0-CURRENT and both systems drops into a 
kernel panic under wifi traffic. Other than that, the device runs without 
problems.


Dec 20 01:04:51 neptun kernel: ugen2.2: Ralink at usbus2
Dec 20 01:04:51 neptun kernel: run0: 1.0 on usbus2
Dec 20 01:04:51 neptun kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 
(MIMO 1T1R), address ...
Dec 20 01:04:51 neptun kernel: run0: firmware RT2870 loaded
Dec 20 01:04:51 neptun kernel: ieee80211_load_module: load the wlan_amrr module 
by hand for now.

I'm using hostapd:

interface=wlan0
debug=2
ctrl_interface=/var/run/hostapd
ssid=...
wpa=3
wpa_passphrase=...
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=TKIP CCMP

Are there any chances to make it work, or I've just lost 8 euro? What usb 
wifi adapter would you suggest then?


Regards


Alex
___
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: AHCI timeout

2011-12-13 Thread Alex



On 12/6/2011 10:41 AM, Julien Cigar wrote:

Hello,

I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died 
in my graid3 array and I replaced it with a new one, and now have tons 
of:


ahcich3: Timeout on slot 5 port 0
ahcich3: is  cs  ss 3f60 rs 3f60 tfd 40 serr 
 cmd ed17

ahcich3: Timeout on slot 0 port 0
ahcich3: is  cs  ss 0003 rs 0003 tfd 40 serr 
 cmd e117

ahcich3: Timeout on slot 1 port 0
ahcich3: is  cs  ss 03fe rs 03fe tfd 40 serr 
 cmd e917

ahcich3: Timeout on slot 16 port 0
ahcich3: is  cs  ss 0003 rs 0003 tfd 40 serr 
 cmd f217

ahcich3: Timeout on slot 15 port 0
ahcich3: is  cs  ss 00018000 rs 00018000 tfd 40 serr 
 cmd f017

ahcich3: Timeout on slot 19 port 0
ahcich3: is  cs  ss 0078 rs 0078 tfd 40 serr 
 cmd f617

ahcich3: Timeout on slot 11 port 0
ahcich3: is  cs  ss 000ff800 rs 000ff800 tfd 40 serr 
 cmd f317

ahcich3: Timeout on slot 13 port 0
ahcich3: is  cs  ss 6000 rs 6000 tfd 40 serr 
 cmd ef17

ahcich3: Timeout on slot 11 port 0
ahcich3: is  cs  ss 001ff800 rs 001ff800 tfd 40 serr 
 cmd f417

ahcich3: Timeout on slot 19 port 0
ahcich3: is  cs  ss 0038 rs 0038 tfd 40 serr 
 cmd f517

ahcich3: Timeout on slot 29 port 0
ahcich3: is  cs  ss e01f rs e01f tfd 40 serr 
 cmd e417

ahcich3: Timeout on slot 27 port 0
ahcich3: is  cs  ss 1800 rs 1800 tfd 40 serr 
 cmd fc17

ahcich3: Timeout on slot 4 port 0
ahcich3: is  cs  ss 1ff0 rs 1ff0 tfd 40 serr 
 cmd ec17

ahcich3: Timeout on slot 28 port 0
ahcich3: is  cs  ss 7000 rs 7000 tfd 40 serr 
 cmd fe17

ahcich3: Timeout on slot 8 port 0
ahcich3: is  cs  ss ff00 rs ff00 tfd 40 serr 
 cmd ef17

ahcich3: Timeout on slot 29 port 0
ahcich3: is  cs  ss 6000 rs 6000 tfd 40 serr 
 cmd ff17

ahcich3: Timeout on slot 16 port 0
ahcich3: is  cs  ss 0007 rs 0007 tfd 40 serr 
 cmd f217

ahcich3: Timeout on slot 19 port 0
ahcich3: is  cs  ss 0078 rs 0078 tfd 40 serr 
 cmd f617

ahcich3: Timeout on slot 7 port 0
ahcich3: is  cs  ss 7f80 rs 7f80 tfd 40 serr 
 cmd ee17

ahcich3: Timeout on slot 16 port 0
ahcich3: is  cs  ss 0007 rs 0007 tfd 40 serr 
 cmd f217

ahcich3: Timeout on slot 0 port 0
ahcich3: is  cs  ss 0007 rs 0007 tfd 40 serr 
 cmd e217

ahcich3: Timeout on slot 20 port 0
ahcich3: is  cs  ss 01b0 rs 01b0 tfd 40 serr 
 cmd f817

ahcich3: Timeout on slot 20 port 0
ahcich3: is  cs  ss 00b0 rs 00b0 tfd 40 serr 
 cmd f717

ahcich3: Timeout on slot 15 port 0

(...)

Those are Seagate disks:

jcigar@backup conf % sudo camcontrol devlist
VB0250EAVER HPG0 at scbus0 target 0 lun 0 (pass0,ada0)
ST31000528AS CC38at scbus1 target 0 lun 0 (pass1,ada1)
ST31000528AS CC38at scbus2 target 0 lun 0 (pass2,ada2)
ST31000333AS CC1Hat scbus3 target 0 lun 0 (pass3,ada3)

The controller is:

ahci0@pci0:0:17:0:  class=0x010601 card=0x1609103c chip=0x43911002 
rev=0x40 hdr=0x00

vendor = 'ATI Technologies Inc'
device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]'
class  = mass storage
subclass   = SATA

jcigar@backup conf % vmstat -i
interrupt  total   rate
irq17: ehci0 ehci1+2  0
irq18: ohci0 ohci1+   30  0
irq256: bge0   31354  4
irq257: ahci0   19012658   2477
irq258: hpet0:t0 4926229641
irq259: hpet0:t1 4635261603
Total   28605534   3727


Any idea what could be the cause of this ... ?


Thanks,
Julien




___
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 had very similar situation with AHCI timeouts. SMART was not showing 
any problem, but finally I decided to remove drive and perform low level 
tests. I have found very long access time to some sectors  (I use 
HDDScan for windows). I have replaced drive with working fine and my 
problem are gone (so far).


Thanks,
___
freebsd-questions@freebsd.org mailing list

Re: About suidperl in FreeBSD

2011-10-04 Thread Alex Teslik
you don't need suidperl for openwebmail. Use C-wrappers as explained in the
HOWTO:

http://openwebmail.acatysmoof.com/doc/install/freebsd/8.2-RELEASE/HOWTO_Install_OpenWebMail_FreeBSD8.2.txt
___
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: Alternative windowmanagers

2011-08-05 Thread Alex Stangl
On Fri, Aug 05, 2011 at 12:46:27PM -0700, Chip Camden wrote:
 xmonad.  Minimal, tiled, keyboard-driven but also mouseable, fully
 customizable via configuration files written in Haskell.

Another vote for xmonad. You may be startled at first to come up
instantly to an empty screen, but you likely won't miss the bloat.

Alex
___
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: free sco unix

2011-06-17 Thread Alex Stangl
On Fri, Jun 17, 2011 at 10:28:51AM -0600, Chad Perrin wrote:
 Registration aids enforcement.  Of course, there's always the poor man's
 copyright registration approach, where the moment you have something you
 would like to protect by copyright, you can seal it up in an envelope and
 mail it to yourself.  Keep it sealed.  If you ever need proof of
 copyright, including date of copyright, you can then take the sealed
 envelope with you to court to show the postmark date, unseal the
 envelope, and show the full text of the document inside.
 
 Of course, it's not *perfect*.  It may be that postmarks stop being
 regarded as suitable proof of date at some point, thanks to increasing
 ability to fake a postmark.  Your sealed envelope trick only works once.
 You need to protect that sealed envelope against loss and damage.  You
 would need to do this for *everything* for which you want to have some
 kind of proof of date of copyright, which can fill up file cabinets in a
 hurry.  This is why copyright registration is still useful.

Sorry to contribute to this long thread that is only peripherally
related to FreeBSD, but I have to ask -- does this trick really work?
You can send yourself unsealed (or just very lightly sealed, or with
manilla envelopes, just use the clasp, not the gum) envelopes whenever
you like, and then insert contents  seal at some later date. It seems
a flimsy proof that the contents actually were in the envelope as of
the postmark date. I'd be curious to find out whether courts have
really accepted this, or whether it's more of an urban legend.

Alex
___
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: mysql-5.5.8 Postfix/Dovecot

2011-01-09 Thread Alex Dupre

Jerry ha scritto:

I have seen it posted here and on the Dovecot forum that upgrading to
mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot.


Fixed.

--
Alex Dupre
___
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: [freebsd] pecl-imagick - Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3

2010-11-16 Thread Alex Dupre

Olivier Mueller ha scritto:

Brillant! It fixed the issue, many thanks.


This is not the correct fix, the correct fix is to enable threads in 
php, using the appropriate OPTION.


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


Re: how to generate pi in c

2010-11-05 Thread Alex Stangl
On Fri, Nov 05, 2010 at 05:40:39PM +0100, Arthur Bela wrote:
 Does anyone has a generate-pi.c source code?

Search for pi spigot algorithm.

Here is a tiny C program from Jeremy Gibbon's Unbounded Spigot paper
(due to Dik Winter and Achim Flammenkamp):

a[52514],b,c=52514,d,e,f=1e4,g,h;main(){for(;b=c-=14;h=printf(%04d,
e+d/f))for(e=d%=f;g=--b*2;d/=g)d=d*b+f*(h?a[b]:f/5),a[b]=d%--g;}

This produces the first 15,000 digits concisely, but is obfuscated.
If you need an unbounded number of digits, search out the spigot
algorithm papers.

Alex
___
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: Greybeards (Re: Netbooks BSD)

2010-10-21 Thread Alex Stangl
On Thu, Oct 21, 2010 at 01:38:44PM +0100, RW wrote:
 On Wed, 20 Oct 2010 21:10:28 +0100
 Arthur Chance free...@qeng-ho.org wrote:
  50s) had the experience of programming microcode on a machine by
  inserting brass slugs for 0s and ferrite slugs for 1s on a pin board.
 
 I wonder why it was brass/ferrite rather than brass/empty or
 ferrite/empty.

I was wondering the same thing. I suspect one of them may be equivalent
to empty electrically, however this way is less errorprone,
explicitly populating each slot, rather than relying upon empty,
which could in fact be a mistaken omission.

Alex
___
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: why is the PHP stuff line off by default in ports/lang/php5?

2010-09-20 Thread Alex Dupre
Rob Farmer ha scritto:
 Adding a slave port would probably be a good solution and shouldn't be
 too difficult.

This issue has been discussed too many times. The answer is simply
no, but you can search the archives for the actual reason. You have to
comile the module for your specific apache installation.

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


How to make ushare support ape format music file

2010-08-30 Thread Alex Kwan

Hi!

I'd like to build a upnp server with ushare in my FreeBSD box.
Also, my multimedia player can play the ape format music file,
how to make ushare support the ape format file,?

Thanks!


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


Re: Skype

2010-08-12 Thread Alex Huth
On Wed, Aug 11, 2010 at 08:00:28AM -1000, p...@pair.com wrote:
 in message 20100811124006.ga2...@borusse.ewmr.base,
 wrote Alex Huth thusly...
 
  Is anyone using skype on freebsd 8 and can tell me how to do the
  setup?  Seem to be that there is no port and on the website i find
  no package for freebsd.
 
 Well, version 1.x does not work at all as in I was not able to log
 in after generating an account via web.  Version 2.x as it existed
 in ports not too long ago was broken due to missing source file (not
 as in raw code but as in binaries).
 
 Then I searched for a possible solution that led me to download ...
 
   http://kobyla.info/soft/distfiles/skype_static-2.0.0.72-oss.tar.bz2
 
 ... in /misc/ports/distfiles; edit net/skype/Makefile to set proper
 PORTVERSION;  generate net/skpe/distinfo which led to successful
 install  use of skype as in I could log in with the same password 
 userid generated earlier  place a call or two.
 
 
   - parv
 
 -- 
 

Thanks, works like a charm! Great!
___
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


Skype

2010-08-11 Thread Alex Huth
Hello?

Is anyone using skype on freebsd 8 and can tell me how to do the setup?
Seem to be that there is no port and on the website i find no package
for freebsd.

THX

Alex
___
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: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 2-8-2010 21:26, David N schreef:

On 2 August 2010 21:32, Alex de Kruijffal...@specialisterren.nl  wrote:
   

Hi,

I've setup a LDAP backend Samba PDC. I can gain access to shares and

login with a user that is in LDAP, but have a prblem setting up the
roaming profile stuff. I've been trying to solve this problem for some
time now, and have tried everything I could think of, but without much
luck. I keep getting the following error messages:

Windows cannot locate the server copy of your roaming profile and is
attempting to log you on with your local profile. Changes to the profile
will not be copied to the server when you logoff. Plausible causes of
this error include network problem or insufficient security rights. If
this problem persists, contact your network administrators. DETAILS -
The network path was not found.

Followed by:

Windows cannot find the local profile and is logging on with a tempory
profiles. Changes to this profile will be lost when you logoff.

Here is my smb.conf:

 

[global]
 security = user
 name resolve order = wins lmhosts hosts bcast
 deadtime = 15
 map to guest = Never
 csc policy = disable
 hosts allow = 127. 192.168.
 server string =
 workgroup = Nieuwegein
 time server = yes
 wins support = yes
 domain master = yes
 domain logons = yes
encrypt passwords = yes
 local master = yes
 logon drive = Z:
 logon path = \\%L\profiles\%U
 preferred master = yes
 os level = 255
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://localhost/
 enable privileges = Yes
 pam password change = yes
 passwd program = /usr/local/sbin/smbldap-passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   

*all*authentication*tokens*updated*
 

 unix password sync = Yes
 ldap delete dn = Yes
 ldap ssl = Off
 ldap passwd sync = Yes
 ldap admin dn = cn=admin,dc=specialisterren,dc=nl
 ldap suffix = dc=specialisterren,dc=nl
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 idmap backend = ldap:ldap://localhost
 idmap uid = 1-2
 idmap gid = 1-2
 add user script = /usr/local/sbin/smbldap-useradd -a -m %u
 delete user script = /usr/local/sbin/smbldap-userdel %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 delete group script = /usr/local/sbin/smbldap-groupdel %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m
   

%u %g
 

 delete user from group script = /usr/local/sbin/smbldap-groupmod
   

-x %u %g
 

set primary group script = /usr/local/sbin/smbldap-usermod -g %g
   

%u
 

 add machine script = /usr/local/sbin/smbldap-useradd -w %u
template homedir = /home/%U
 template shell = /bin/csh
getwd cache = yes
socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
use sendfile = yes
mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
 syslog = 0

  [template]
  # edited out, has no path

  [homes]
comment = Home users
inherit owner = yes
dos filemode = yes
writable = yes
read list = @wheel @Domain Admins
valid users = %S
 create mask = 0740
 directory mask = 0750
 aio read size = 16384

  [netlogon]
 comment = Network Logon Service
 path = /disk/netlogon
 browseable = no
 read only = yes
 aio read size = 16384

  [profiles]
 comment = Roaming Profiles Directory
 path = /disk/profiles
 administrative share = true
 browseable = no
writable = yes
 create mask = 0600
 directory mask = 0700
 aio read size = 16384
 public = yes
 # The root preexec command performs:
# mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
 # I started off without this.
 root preexec = /root/sbin/profiles.sh %U %a

# edited out other shares
   

ldapsearch gives me:
 

  # tester, Users, specialisterren.nl
  dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
  objectClass: top
  objectClass: person
  objectClass: organizationalPerson
  objectClass: inetOrgPerson
  objectClass: posixAccount
  objectClass: shadowAccount
  objectClass: sambaSamAccount
  cn: tester
  sn: tester
  givenName: tester
  uid: tester
  uidNumber: 10005
  gidNumber: 513
  homeDirectory: /home/tester
  loginShell: /bin/sh
  gecos: Tes ter
  sambaLogonTime: 0
   

(Edited out the other stuff)

I can acces \\Server\profiles, \\Server\netlogon using my tester
account. /etc/passwd contains no line with the user tester. And I can
login under SSH with the tester account.

ll -d /disk/{netlogon,profiles}gives me:
drwxr-xr-x  2 root  wheel  512 Mar 16 11:09 /disk/netlogon/
drwxrwxrwt  2 root  wheel  512 Aug  2 12:41 /disk/profiles/

Alex

[solved] Re: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 3-8-2010 14:35, Ruben de Groot schreef:

On Tue, Aug 03, 2010 at 12:22:33PM +0200, Alex de Kruijff typed:

   

I've enabled debugging in Windows Domain using:
http://support.microsoft.com/default.aspx?scid=kb;en-us;221833

I find it strange that it first tries \\%L\profiles\testers. This is the
log.


USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: Entering, hToken =

0x960, lpProfileInfo = 0x6e3e0
USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile:
 

[lot's of MS logs snipped]

I really think these kind of logs could be much better analyzed at a
samba or MS mailing list.

cheers,
Ruben

   

Hi,

I solved it. Without LDAP one is able to use %L, %U and %a in the logon 
path, but if one uses LDAP then this path is no longer processed by 
Samba, but instead passed literally to Windows. So far my solution is to 
change all LDAP entries. This also means I should name multiple servers 
(on different networks) with the same hostname. Its a bit more limiting 
the smb.conf, but it works.


Yours,
Alex

___
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


Samba PDC roaming profiles problem

2010-08-02 Thread Alex de Kruijff

Hi,

I've setup a LDAP backend Samba PDC. I can gain access to shares and

login with a user that is in LDAP, but have a prblem setting up the
roaming profile stuff. I've been trying to solve this problem for some
time now, and have tried everything I could think of, but without much
luck. I keep getting the following error messages:

Windows cannot locate the server copy of your roaming profile and is
attempting to log you on with your local profile. Changes to the profile
will not be copied to the server when you logoff. Plausible causes of
this error include network problem or insufficient security rights. If
this problem persists, contact your network administrators. DETAILS -
The network path was not found.

Followed by:

Windows cannot find the local profile and is logging on with a tempory
profiles. Changes to this profile will be lost when you logoff.

Here is my smb.conf:


[global]
 security = user
 name resolve order = wins lmhosts hosts bcast
 deadtime = 15
 map to guest = Never
 csc policy = disable
 hosts allow = 127. 192.168.
 server string =
 workgroup = Nieuwegein
 time server = yes
 wins support = yes
 domain master = yes
 domain logons = yes
encrypt passwords = yes
 local master = yes
 logon drive = Z:
 logon path = \\%L\profiles\%U
 preferred master = yes
 os level = 255
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://localhost/
 enable privileges = Yes
 pam password change = yes
 passwd program = /usr/local/sbin/smbldap-passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n

*all*authentication*tokens*updated*

 unix password sync = Yes
 ldap delete dn = Yes
 ldap ssl = Off
 ldap passwd sync = Yes
 ldap admin dn = cn=admin,dc=specialisterren,dc=nl
 ldap suffix = dc=specialisterren,dc=nl
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 idmap backend = ldap:ldap://localhost
 idmap uid = 1-2
 idmap gid = 1-2
 add user script = /usr/local/sbin/smbldap-useradd -a -m %u
 delete user script = /usr/local/sbin/smbldap-userdel %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 delete group script = /usr/local/sbin/smbldap-groupdel %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m

%u %g

 delete user from group script = /usr/local/sbin/smbldap-groupmod

-x %u %g

set primary group script = /usr/local/sbin/smbldap-usermod -g %g

%u

 add machine script = /usr/local/sbin/smbldap-useradd -w %u
template homedir = /home/%U
 template shell = /bin/csh
getwd cache = yes
socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
use sendfile = yes
mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
 syslog = 0

 [template]
 # edited out, has no path

 [homes]
comment = Home users
inherit owner = yes
dos filemode = yes
writable = yes
read list = @wheel @Domain Admins
valid users = %S
 create mask = 0740
 directory mask = 0750
 aio read size = 16384

 [netlogon]
 comment = Network Logon Service
 path = /disk/netlogon
 browseable = no
 read only = yes
 aio read size = 16384

 [profiles]
 comment = Roaming Profiles Directory
 path = /disk/profiles
 administrative share = true
 browseable = no
writable = yes
 create mask = 0600
 directory mask = 0700
 aio read size = 16384
 public = yes
 # The root preexec command performs:
# mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
 # I started off without this.
 root preexec = /root/sbin/profiles.sh %U %a

# edited out other shares


ldapsearch gives me:

 # tester, Users, specialisterren.nl
 dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
 objectClass: top
 objectClass: person
 objectClass: organizationalPerson
 objectClass: inetOrgPerson
 objectClass: posixAccount
 objectClass: shadowAccount
 objectClass: sambaSamAccount
 cn: tester
 sn: tester
 givenName: tester
 uid: tester
 uidNumber: 10005
 gidNumber: 513
 homeDirectory: /home/tester
 loginShell: /bin/sh
 gecos: Tes ter
 sambaLogonTime: 0

(Edited out the other stuff)

I can acces \\Server\profiles, \\Server\netlogon using my tester
account. /etc/passwd contains no line with the user tester. And I can
login under SSH with the tester account.

ll -d /disk/{netlogon,profiles}gives me:
drwxr-xr-x  2 root  wheel  512 Mar 16 11:09 /disk/netlogon/
drwxrwxrwt  2 root  wheel  512 Aug  2 12:41 /disk/profiles/

Alex


___
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


HP proliant ML 150 G6 Server

2010-07-20 Thread Alex de Kruijff

Hi,

I'm in looking for FreeBSD server for my employer. The server will be 
our main server. At the moment we are looking at 'HP proliant ML 150 G6 
server' and are keen on hearing about users experience. Any advice or 
personal experience on this matter would be most welcomed.


http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-241434-241646-3328424-3884323.html

Yours,
Alex

P.S. Please CC me, as I am not on the list.
___
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: Problems running Bacula BAT

2010-06-23 Thread Alex Huth
On Tue, Jun 22, 2010 at 03:42:36PM +0200, Cato Myhrhagen wrote:
 
 Now I checked the log (/var/db/backula/log) and got the following error
 message:
 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
 Unable to authenticate console *UserAgent* at client:127.0.0.1:36131.
 
Try first to connect to the director using bconsole. It seems the
passwords between director and fd or sd are different.

Greetings

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


Re: Problem startin Bacula-BAT

2010-06-21 Thread Alex Huth
On Mon, Jun 21, 2010 at 12:38:25PM +0200, Cato Myhrhagen wrote:
 Hello
 
 I have som problems getting Bacula-Bat working. Here is what i have done so
 far:
 
 1. Installed FreeBSD 8.0 rel
 2. From the ports catalogue i have installed Gnome Lite
 3. Uppgraded all the ports with CVsup
 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports
 catalogue.
 5. Installed BAT 5.0.0.1
 
 I then tried to start Bat by opening Gnome, starting a teminalvindow and
 typing bat, but got error message (dont have it now becouse it stoped giving
 me this message). I also notised that bacula-dir prosess stopped when i
 tried to start Bat. Then i checked if MySQL was running, but it wasnt even
 installed (i thought it would be installed together with Bacula, but no)
 
 Therefor i installed MySQL-server 5.0.90, started it and tried to run BAT
 again. The program starts but dosent seem to work. It continues to try to
 connect to the database i think. In the lover left corner of the BAT Gui i
 continues to display the folloving: Connecting to Direbtor Localhost:9010
 and then says Connection fails
 
 Is there something i need to configure in BAT og Bacula to get BAT to
 connect correctly?

You have to configure MySQL for Bacula and the conf-files of Bacula.
There are create scripts for MySQL. You should read the very good doc at
bacula.org.

Greetings

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


6.4 Netapp iscsi

2010-06-14 Thread Alex Huth
Hello!

I have to implement Bacula using NetApp iscsi. I have already searched
for a while, but found only solutions for 7.x and higher or FreeBSD as
a iscsi target.
How can i do that on 6.4?

Greetings

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


GNUs port

2010-04-13 Thread Alex Huth
Hello!

I have searched the ports and the web for a while, but haven found
something about gnus on freebsd. Is there no port for it?

Greetings

Alex

___
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: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Alex Stangl
On Wed, Mar 10, 2010 at 01:00:59AM -0800, Nerius Landys wrote:
 #import GarbageObj.h
 
 int main(int argc, const char *argv[]) {
   while (YES) {
 GarbageObj *obj = [[GarbageObj alloc] init];
 [obj foo]; // foo is does literally nothing.
   }
   return 0;
 }
 
 I am compiling this program and running it, and without the release
 calls there, it certainly is using up more and more memory every
 second.  Definitely no garbage collection happening.  I then modified
 the GNUmakefile to make sure that the option -fobjc-gc was being
 passed to gcc, and verbose output from make assured me that this was
 the case.  However, my program sill did not garbage collect (3 gigs of
 RAM, then a segfault).  I then tried the gcc option -fobjc-gc-only
 and gcc42 reported that it did not recognize that option.  The options
 are described here:
 http://developer.apple.com/mac/library/documentation/DeveloperTools/gcc-4.0.1/gcc/Objective_002dC-and-Objective_002dC_002b_002b-Dialect-Options.html

While I am not very familiar with Objective C, I can tell you that GC
generally runs in the background, using idle time to scavenge memory.
(It's not counted pointers, synchronously freeing memory immediately.)
So if you race to allocate memory in an infinite loop like this, you are
destined to exhaust memory, GC or no, unless the runtime is designed to
force a GC on alloc in low memory conditions.

Try putting some sort of sleep in the middle of your loop and see if GC
kicks in and you get more of a sawtooth memory usage pattern.

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


carp ghosts

2010-03-01 Thread Alex Huth
Hi!

We have two Frontendserver with carpinterfaces. Now we need more of the
carpinterfaces. When i use /etc/netstart to bring them online, there are
error messages about misconfigured carpinterfaces. When i look with
ifconfig to the list of interfaces, there are four ghost
carpinterfaces. I haven't set them in the rc.conf and the errors came
frome them.
This interfaces are the following from the list of real
carpinterfaces. Where could i have made a mistake or is it a bad idea
using netstart with carpinterfaces?

thanks in advance

Alex


___
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's UFS vs Ext4

2010-02-07 Thread alex

Hi Guys,

Today I reformatted a machine (network server) thats run FreeBSD nonstop 
for at least the last 3 years and installed linux on it. I have a raid 0 
setup with 2 hard disks in the very same machine.


Previously, the maximum I could get across my gigabit enabled network 
was 60MB/s (megabytes) per second sustained transfer rate.


Now that the same machine's raid is formatted with ext4, i am easily 
sustaining 86MB/s.


I cant put it down to the operating system kernel, as to the vast 
difference in performance, i suspect it is simply ext4 thats producing 
the better results (I have come to this conclusion because no hardware 
has changed on that machine, only the OS).


So can I safely conclude that ext4 is miles ahead of FreeBSD's UFS 
performance wise?


I'd like to see some feedback..

I am by no means a linux troll. In fact I am far from it. I own many 
FreeBSD tshirts.


I see a number of factors putting freebsd behind:

* The teams stubbornness with compiler/base tools (wont move away from 
gcc 4.2.1 because they just cant accept the GPL2)
* The teams stubbornness with the base system binutils (which cause 
mplayer and other multimedia applications not to build, unless a newer 
version is installed)
* NO interest in developing new filesystems (forget ZFS), i am talking 
about a base filesystem, ext4 blows the socks off UFS.


Using such an old compiler must have a performance impact on the OS. I 
say this because compilers improve over time, they generate better, 
tighter, more optimized code. The binutils shipped with freebsd is more 
than 5 years old now.


It's not just my personal test that has shown that linux is ahead in 
numerous areas (performance wise), but the recent phoronix benchmarks 
that were released when FreeBSD 8 came out, were pretty damning.


I'd like to see what the FreeBSD team has to say on this.

Alex

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


Re: FreeBSD's UFS vs Ext4

2010-02-07 Thread alex
Sorry I should clarify that the copy was via FTP to the raid drive in 
both comparisons;


FreeBSD with UFS: Maximum achievable when copying over the network to 
the raid drive = 60MB/s
Linux with ext4: Maximum achievable when copying over the network to the 
raid drive = 86MB/s


 Original Message 
Subject:FreeBSD's UFS vs Ext4
Date:   Mon, 08 Feb 2010 01:41:29 +1100
From:   alex a...@mailinglist.ahhyes.net
To: freebsd-questions@freebsd.org



Hi Guys,

Previously, the maximum I could get across my gigabit enabled network 
was 60MB/s (megabytes) per second sustained transfer rate.




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


Re: FreeBSD's UFS vs Ext4

2010-02-07 Thread alex

Frank Shute wrote:

On Mon, Feb 08, 2010 at 01:41:29AM +1100, alex wrote:
  

Hi Guys,

Today I reformatted a machine (network server) thats run FreeBSD nonstop 
for at least the last 3 years and installed linux on it. I have a raid 0 
setup with 2 hard disks in the very same machine.



So you had a machine that had run non-stop for 3 years yet you replace
the OS. Clever.

  


Yes I replaced the OS. Because the box was to also be a PBX (running 
asterisk, instead of just being a file server/web server for running 
local web apps). I was continually getting coredumps with asterisk. 
After filing numerous bug reports and hitting dead ends with the 
asterisk devs, I had enough, because none of them knew how to debug the 
problem under freebsd, I got fed up and moved the box over to linux, and 
to my surprise, no more core dumps.


  

I see a number of factors putting freebsd behind:

* The teams stubbornness with compiler/base tools (wont move away from 
gcc 4.2.1 because they just cant accept the GPL2)



They don't like the license, that's not stubbornness.

  


Wow thats a good reason to use ancient compilers and assemblers.
* The teams stubbornness with the base system binutils (which cause 
mplayer and other multimedia applications not to build, unless a newer 
version is installed)



Nonsense.

  
You dont see having a set of binutils thats not SSE3 or SSE4 capable as 
a problem? It's nonsense?
Using such an old compiler must have a performance impact on the OS. I 
say this because compilers improve over time, they generate better, 
tighter, more optimized code. The binutils shipped with freebsd is more 
than 5 years old now.



A codes age has nothing to do with it's performance.

  
Clearly you know nothing about how compilers generate and optimize code. 
If this isnt a problem, why would new versions of gcc and binutils 
continue to surface. Well I can see three obvious reasons, improved code 
generation, bug fixes, new features.
It's not just my personal test that has shown that linux is ahead in 
numerous areas (performance wise), but the recent phoronix benchmarks 
that were released when FreeBSD 8 came out, were pretty damning.



Link please.

  

Sure, no problem, enjoy:

http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1

Go on, I am waiting for you to poke holes and attempt to totally 
invalidate those benchmarks too.

I'd like to see what the FreeBSD team has to say on this.

Alex



Despite your FreeBSD T-shirt ownage, your post is a troll.

Nobody's interested in your bogus benchmarks  opinions on matters
that you are not knowledgeable of.


Regards,

  


I guess you cant see the difference between a troll and a complaint. I 
have been using freebsd since the 4.x days.  It seems you have quite a 
chip on your shoulder, frank.


Alex.


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


Re: FreeBSD's UFS vs Ext4

2010-02-07 Thread alex

Pieter de Goeje wrote:


The fact that the limit is 86MB/sec (which is very low for a raid0 array) 
makes me think the box suffers from sub optimal network performance during a 
simple stream test like yours. This could be due to FreeBSD having a poor 
network driver for your particular NIC or could be due to insufficient tuning 
of the TCP parameters for this particular test.
  

Hi Pieter.

You are right about there being a number of possibilities, however:

*The same machine, which over the years has had a number of revisions of 
freebsd on it (have buildworlded the thing from 7- 7.1 - 7.2 - 8), 
the performance was always roughly the same amongst the versions, I dont 
agree with the possibility of the ftp server being 'slow' as I am the 
only person who copies data to that machine, and the machine is always 
under a very low (almost non existent) load.


* Network card is an Intel Pro 1000, on the server. This is a PCI card 
(not pci-e), so I believe PCI bus bandwidth limitations may be 
responsible for me not being able to achieve the maximum 100MB/s network 
rate (as you mention that 86MB/s is slow for raid0)


* The intel network card driver on freebsd and linux are both fairly 
rock solid and well written. I dont see it being an issue with NIC 
drivers (they are not vastly different).


* Both OS's were stock standard installs, no jumbo frames enabled, no 
fiddling with sysctl network values.


I am happy with 86MB/s anyway, It's a huge improvement of the 60MB/s 
barrier I could never get past when that machine was running FreeBSD. To 
get the rest of the speed, I'd probably have to install a pci-e card on 
the server.


I do suspect personally that the ext4 filesystem is the reason for the 
difference here, since ext4 has a number of features such as deferred 
disk writes etc. Even deleting a large file off that raid array I can 
see a difference, prior to reformatting, i deleted a 190GB file off the 
raid, under UFS the delete took quite some time (well over 10 seconds), 
under ext4 the deletion of the same size file took about 3 seconds.


But what I said with ext4 being faster then the aging UFS still rings 
true in my mind, look at the recent Phoronix benchmarks for yourself and 
see (10 pages of benchmarks).


http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1 
(skip to page 7 of the benchmarks if you want to see the I/O stuff 
relating to disk performance)





___
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: Salvage files from harddrive

2009-12-29 Thread Alex de Kruijff
On Fri, Oct 07, 2011 at 04:07:51AM -0700, jeffry killen wrote:
 I have a hard drive that contains the /var file system in a system that
 will not boot.
 In single user mode I can mount  /var.
 
 I want to take this disk and put it in another FreeBSD system and
 try to copy the files I need off of it to a safe place.
 
 The system I will plug it into will also have a separate disk with
 /var.
 
 Is there going to be a conflict with the labels and how would I
 best go about this?

I've changed the size of the disk slices by copying files over to a
nother disk, boot from that one and later back.

I would suggest using 'rsync -aHW source dest
And later remove with 'chflags -R noschg source; rm -rf source'
-- 
Alex

___
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: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 11:49:31PM +0200, Kaya Saman wrote:
 Hi guys,
 I attempted an install of 7.2 stable on my laptop and subsequently 
 installed X11also. Now I didn't have any Xorg.conf file but each time I 
 tried to start X from the CLI using the normal startx command (read the 
 documentation through fully beforehand) but I didn't manage to get the 
 mouse or keyboard to even work let alone starting the Gnome2 interface.

Beside the two daemons others refered to, you sould also edit ~/.initrc
and ~/xsession. For me both have the line: 'exec startkde'. Thats the
command to start kde.

 I am looking to setup a small file server which I will use as DNS and 
 NTP server also. The reason for selecting FreeBSD is that the system I 
 about to install onto doesn't have much memory (not sure how much but 
 probably in the region of 300-500MB perhaps) and although Linux would 
 definitely suite this kind of system as Solaris needs round 2GB or so 
 for OpenSolaris, I am quite interested to learn FreeBSD but also take 
 advantage of the ZFS file system which is standard now in version 8.

I would stick with UFS of UFS2. The latter if you don't intent to share
them with *BSD. As I understand ZFS uses quite a lot more resources. If
I wanted to something with RAID I might still use it, but even so still
would use UFS to the system slices.

If you low on disk space you can reduce this. I have used 256M for / in
the past but would advise against this. You would need something like 8G
for /usr. But may need to raise that by 5G if you build ports. I have
larger /temp of 7G, but also build ports there. If you build Java it
would need a least 4G.

 I won't be installing a GUI on this machine since it is going to be a 
 server so I would like to know if BSD has a small footprint memory and 
 CPU wise for me to run on the machine in question which is a PIV?

It's not a problem. The footprint depends more on the ports you like to
run.

 Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all 
 supported on FreeBSD aren't they??

Some come with the system, others you have to install.
-- 
Alex

Please copy the original recipients, otherwise I may not read your 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: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 04:20:10PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com
 Running with no xorg.conf is fine, but you need to make sure dbus and hal
 are started at boot.  Follow the handbook for best results.
 
 http://www.freebsd.org/doc/en/books/handbook/x-config.html

How come?

The keybord and mouse work for me without on a simple shell.
-- 
Alex

Please copy the original recipients, otherwise I may not read your 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: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman samank...@netscape.net wrote:
  Also if something goes wrong with the filesystem what are the tools to
  check the drive and repair errors as in Linux I use e2fsck followed by
  device ID.
 
 Example after a dirty shutdown:
 
  fsck -y

FreeBSD 7 and up is able to do a lot of this on the background: fsck -yB

Adding the line 'fsck_y_enable=YES' to /etc/rc.conf will run fsck -y
if the initial preen fails
-- 
Alex
___
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: the Opera broswer?

2009-12-22 Thread alex

Yep

Gary Kline wrote:

Folks,

	This is exacrtly a FreeBSD question [for a change].  I read on 
	another list that the Opera broswer has a builtin speech option
	and am wondering in our port/pkg/version has this capability.  


Anybody know off hand?

gary



  


___
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


kernel panic on SATA drive

2009-12-21 Thread Alex
Dear John,

Any progress for bellow?

I have the same problem with PCI SATA Controller ST-Lab A-173 Sil3512
It's not RAID, but when copying to HDD:
LOG---
ad6:FAILURE - device detached
g_vfs_done():ad6s1f[WRITE(offset=38007275520, length=131072)]error = 6
/usr: got error 6 while accessing filesystem
panic: softdep_deallocate_dependencies: unrecovered I/O error
cpuid = 0
Uptime: 2m18s
Physical memory: 243 MB
Dumping 58 MB:unknown: timeout waiting to issue command
unknown: error issuing WRITE_DMA command


** DUMP FAILED (ERROR 5) **
Automatic reboot in 15 seconds - press any key on the console to abort
---END LOG-

Brgrds,
Alex

 I've been having an intermittent problem, wonder if someone on the
 list has any ideas.

 First my setup:
 FreeBSD 7.2-RELEASE (amd64)
 quad-core Phenom processor
 mobo: MSI K9N2G Neo
 chipset: NVIDIA GeForce 8200, which FreeBSD recognizes as nForce (not
 sure how that works)

 I have a 3ware RAID card (RAID 1), which is the boot device.
 A seagate drive connected via SATA
 A WD external drive via USB

 I will have the system running fine, then the seagate will apparently
 fall off the bus, resulting in a panic.
 The dump fails as well, presumably due to the 3ware driver not being
 able to handle the panic? not sure...
 If anyone knows a way I can get the dump to succeed, I'd appreciate
 that info, too.
 See below output for details.
___
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: ld-elf related problems

2009-12-21 Thread alex

b. f. wrote:

Our base system compiler suite is stuck at a patched version of gcc
4.2 because of licensing issues
Thats absolutely *ridiculous* that we have to use stone age development 
tools because of stupid and trivial license politics.
This matter was also bought up in a recent thread by myself regarding 
binutils, seeing that the version of binutils that ships with freebsd is 
incapable of compiling applications like mplayer on amd64.


Is this the reason why people are pushing for llvm, just to avoid the 
GPL license type of later releases of the gnu c compiler and tools? 
Thats really sad. llvm has a long way to go before it can be considered 
a worthy competitor against gcc.


The newer versions of gcc probably produce better code than the ancient 
version shipped with freebsd. Yeah I am aware you can install newer 
versions from ports, but it is ridiculous to do this and it doesnt 
always work as planned (like the OP of this thread shows), I tried to 
use gcc44 in the past, most things compiled ok, I was having these sort 
of problems too with some binaries when running them, undefined symbols etc.


Linux is going to leave us for dust at this rate. The recent phoronix 
benchmarks comparing the recently released freebsd 8 against linux and 
solaris should be enough of an incentive to get this issue sorted. I am 
certain the OS will benefit from being compiled with a current version 
of gnu compiler.


It just seems like nobody wants to address this issue, the word 
stagnation comes to mind.


___
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: ld-elf related problems

2009-12-21 Thread alex

Ruben de Groot wrote:

So? It's just an OS. Some will switch to linux and try to make that better.
Thats evolution.
  
I hate linux to be honest, I have always highly praised FreeBSD to my 
friends and colleagues in the industry. But sadly enough, linux is 
performing significantly better in a number of areas than FreeBSD at the 
moment (yes I know the reasons why there is no zfs on linux, funny isnt 
it). This stupid licensing issue with the gnu development tools is a 
major setback, what will it take before someone says Hey, gcc 4.2.x can 
no longer produce code that makes us competitive performance wise with 
other open source operating systems ,we need to upgrade?


Are we going to wait years on end until llvm is mature enough?

___
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: update/upgrade question

2009-12-08 Thread Alex Huth
* Matthew Seaman schrieb:
 Alex Huth wrote:
 
 Yes.  If you want to track one of the development branches (HEAD, RELENG_N)
 then you have to update sources by csup(1) or various other mechanisms and
 then compile your kernel+world yourself.
 
 Alternatively you can track release branches (RELENG_N_M) in the same way,
 or so long as the release branch is still in support, you can use
 freebsd-update(8) to pull down pre-built binary updates. 
 
 
thx, this was a good explanation. Maybe one last (hopefully ;) ) question to
this topic. How can i see if a update has a kernel update, to prevent
unnessecary reboots?

thx

Alex


___
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


update/upgrade question

2009-12-07 Thread Alex Huth
Hello!

Maybe i haven't understand the process of updating not really. I thought when
i use Releng_6 in the stable_supfile i get the latest version of 6.x = 6.4.
But after the process of make buildworld and so on, it is still 6.3. Do i have
to use Releng_6_4 even when i do not get the patches then?

Next question is if i don't get updates with freebsd-update when i have
a stable version? I have the problem with two machines (6.3 and 6.4). On both
i do not get the public key because it is not available on the remote server.
I have test it with debug.

thx

Alex
___
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: update/upgrade question

2009-12-07 Thread Alex Huth
* Matthew Seaman schrieb:
  Next question is if i don't get updates with freebsd-update when i have
  a stable version? I have the problem with two machines (6.3 and 6.4). On 
  both
  i do not get the public key because it is not available on the remote 
  server.
  I have test it with debug.
 
 freebsd-update only covers the RELEASE branches.  That is equivalent to
 RELENG_6_3 or RELENG_6_4 in your cases.  However 6.3-RELEASE is due to go out
 of support on the 31st January (http://www.freebsd.org/security/security.html)
 so now would be a good time to think about upgrading.
 
So if i understand that right, it is not possible to follow the engeneering in
stable and having all patches without using the way over make buildworld
...?

thx

Alex
___
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: binary upgrade 6.1 - 7.2/8.0

2009-12-05 Thread Alex Stangl
On Sat, Dec 05, 2009 at 03:04:35AM +0100, Alex de Kruijff wrote:
 On Tue, Oct 27, 2009 at 02:01:04PM +, Robin Becker wrote:
  Is it feasible to upgrade a system from 6.1 to 7.2 or 8.0-RC1 and if yes 
  what sequence of upgrades should I actually carry out ie is it feasible to 
  do 6.1-6.2 and then 6.2 - 7.2 or should it be done in small steps?
 
 I didn't see anyone else responed so I give it a go. I thougth it was
 posible for the base but not the ports. And I thought binairy upgrade
 only works from releses not patches or RCs. I haven't done this my self,
 but got this info from the handbook / the list.

I asked a similar question in June about 6.0 - 7.2.
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg216640.html

A couple people replied that they recommended upgrading via source. That
worked fine, so I also recommend going that route and avoiding
freebsd-update.sh except possibly for minor security updates. Once
kernel and userland are successfully updated, you'll probably want to
rebuild all your installed ports.

Good luck,

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


[8.0] GEOM: ad0: geometry does not match label (225h, 63s != 16h63s)

2009-12-05 Thread Alex de Kruijff
Hi,

Way back it was very hard to install FreeBSD on this computer, do to
sysinstall tendency to keep changing the hard disk settings. Since then
I've bin very reluctant to reinstall FreeBSD. Upgrading FreeBSD was
easy, until now. The FreeBSD 8.0 kernel says and refuces to boot.

GEOM: ad0: geometry does not match label (225h,63s != 16h63s)

Sysinstall (with 7.2) says: A geometry of 484521/16/63 for ad0 is
incorrect. Using a more likely geometry.

The next screen says: DISK Geometry:  30401 cyls/255 heads/63 sectors =
488392065 sectors (238472MB)

 fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

-- 
Alex

Please copy the original recipients, otherwise I may not read your 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: binary upgrade 6.1 - 7.2/8.0

2009-12-04 Thread Alex de Kruijff
On Tue, Oct 27, 2009 at 02:01:04PM +, Robin Becker wrote:
 Is it feasible to upgrade a system from 6.1 to 7.2 or 8.0-RC1 and if yes 
 what sequence of upgrades should I actually carry out ie is it feasible to 
 do 6.1-6.2 and then 6.2 - 7.2 or should it be done in small steps?

I didn't see anyone else responed so I give it a go. I thougth it was
posible for the base but not the ports. And I thought binairy upgrade
only works from releses not patches or RCs. I haven't done this my self,
but got this info from the handbook / the list.
-- 
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd 6.4 can't load kernel after upgrade

2009-12-04 Thread Alex de Kruijff
On Sat, Oct 31, 2009 at 07:04:55AM +0200, Manolis Kiagias wrote:
 oscar Seo wrote:
  I'm a beginner in freebsd.
  my machine consists of freebsd-6.4 + i386 bootstrap loader,+ windowmaker
  after upgrade freebsd-6.4 using sysinstall then reboot the system,
  I got an error message as follows
  +++
  Loading /boot/defaults/loader.conf
  Unable to load a kernel!
  /
  can't load 'kernel'
 
  Type '?' for a list of commands, 'help' for more detailed help.
  OK _
  +++

 You could try loading your old kernel. When you build a new kernel, your
 old kernel is preserved under /boot/kernel.old
 
 Type these commands in the loader prompt
 
 unload (probably not needed here)
 load kernel.old
 boot

Because kernel.old is overwritten with each attemt you might mv
/boot/kernel.old to /boot/kernel.good. This prevents you from being
stuck with a system you can't boot.
-- 
Alex

___
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


Upgrade problem 6.1 - 6.4

2009-12-04 Thread Alex de Kruijff
 to `_Unwind_Resume'
*** Error code 1

Stop in /temp/src/gnu/usr.bin/gperf.
*** Error code 1

Stop in /temp/src.
*** Error code 1

Stop in /temp/src.
*** Error code 1

Im clueless at this point, any help would be much appreciated.

--
Alex

___
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: Upgrade problem 6.1 - 6.4

2009-12-04 Thread Alex de Kruijff
On Fri, Dec 04, 2009 at 10:56:19PM -0600, Adam Vande More wrote:
 On Fri, Dec 4, 2009 at 10:44 PM, Alex de Kruijff 
 free...@akruijff.dds.nlwrote:
 
 
  I wanted to upgrade to 8.0 to take advantage of the USB code. I've run
  in to a compile problem going grom 6.1 to 6.2.0. I've copied sys/dev/twa
  from 7.0 in to the source of 6.2. Without this source it will not boot.
 
 
 I am unclear as to your goal.  Seems like you want 8.0 but reference
 building 6.2 source.  Why is that?

/usr/src/UPDATING says:

When upgrading from one major version to another it is generally best to
upgrade to the latest code in the currently installed branch first, then
do an upgrade to the new branch. This is the best-tested upgrade path,
and has the highest probability of being successful. Please try this
approach before reporting problems with a major version upgrade.

Since 6.4 didn't work I tried 6.2

-- 
Alex

Please copy the original recipients, otherwise I may not read your 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


binary upgrade 6.2

2009-12-02 Thread Alex Huth
Hi!

I am trying to upgrade a 6.2-RELEASE to 6.4-RELEASE, but `freebsd-update -r
6.4-RELEASE upgrade` is not available in this version. Can i upgrade this or
do i have to go the old way? Unfortunately the `pkg_add -r cvsup` does not
find the package for it.

Thx

Alex

___
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: binary upgrade 6.2

2009-12-02 Thread Alex Huth
* David Rawling schrieb:
 Alex Huth wrote:
 
 
 Might it be possible to install the csup port from /usr/ports/net and use that
 instead of cvsup? IIRC it's compatible with cvsup and uses the same config, 
 but
 does not require M3 etc.
 
Thx csup was the solution. I should remember it, but it's a few years ago
i had to admin BSD systems.
___
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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread alex
I didn't know these were released already, but I had a look. I was 
disappointed with the results.


If anyone wants to look here is the link:

http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1

Linux's ext4 seems to leave UFS and ZFS well behind in a number of 
benchmarks.


O. Hartmann wrote:
I'm just wondering what's wrong with FreeBSD 8.0/amd64 when I read the 
Benchmarks on Phoronix.org's website. Especially FreeBSD's threaded 
I/O shows in contrast to all claims that have been to be improoved the 
opposite.


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


mod_security apache port

2009-11-26 Thread Alex Huth
Hello!

When i use the ports to install mod_security on a fresh installed 8.0 system,
it is installing apache 2.0.63_3. Are there any known problems why 2.2 isn't
used together with mod_security?

Thx


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


Tag for FreeBSD 6.2

2009-11-25 Thread Alex Huth
Hi!

I have a server running 6.2. Now i want to install a jdk on it from packages.
The manual install did not work, because diablo wants older version than
i found. Now i want to use sysinstall, but the re is still 6.2-RELEASE in the
options. This could not longer be found on the mirrors. I also tried 6-STABLE,
but this is also not the right one.
How must i name the tag to get it working?

Thx

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


8.0-RC3?

2009-11-10 Thread Alex R


 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/ shows
 that there is an RC3 ISO image available for download? How many RC's
 until the final release?



___
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


Xfce4 on 8.0 RC2

2009-11-04 Thread Alex Huth
Hi!

Is anyone running this combination? I am having trouble with two points

1. When i close a ssh connection in a terminal, the prompt does not come back.
I have to close the tab. Without X the connections are ok and i had Debian
lenny earlier on the laptop also with Xfce4. There was everything ok.

2. When switching between the desktops i have to wait up to 3 seconds before
it is done, depending on what app there is running. For example:

Desk1: Terminal with several tabs
Desk2: firefox35
Desk3: Openoffice3 calc
Desk4: atunes

Desk1 -- Desk2 ok
Desk2 -- Desk3 ok
Desk1 -- Desk4 3 sec
Desk4 -- Desk1 3 sec
Desk2 -- Desk1 3 sec

I am running it on Dell Latitude E6500 with 4GB Ram. Any idea?

thx

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


ipfw breaking smtp conversations

2009-11-04 Thread Alex Teslik
Hi List,

   I'm having trouble with mail deliveries. I'm getting lots of error
messages like:

timeout writing message to mx3.comcast.net.: Broken pipe
timeout writing message to mailserver2.telmex.net.co.: Resource temporarily
unavailable

After looking elsewhere I decided to try changing my ipfw.rules - the
problems went away immediately. Unfortunately, the change caused http
connections from outside to stall mid-conversation. So I changed it back.
But I'm clearly doing something wrong.

Here is what my network looks like (fairly basic):

Direct to Internet
   ^
   |
Dual-Homed Host (em0 external interface)
NAT,DHCP (sk0 internal interface)
 |
 v
Internal LAN

Here are my current rules:

#!/bin/sh
IPFW=ipfw -q add
ipfw -q -f flush

$IPFW 10 allow all from any to any via sk0
$IPFW 20 allow all from any to any via lo0
$IPFW 30 divert natd ip from any to any in via em0
$IPFW 50 check-state
$IPFW 60 skipto 500 all from any to any out via em0 setup keep-state
$IPFW 70 allow all from any to me in via em0 setup limit src-addr 50
$IPFW 500 divert natd ip from any to any out via em0
$IPFW 600 allow ip from any to any
$IPFW 800 deny all from any to any


Here are the rules that fixed smtp, but broke http:

#!/bin/sh
IPFW=/sbin/ipfw -q add
ipfw -q -f flush

$IPFW 990 divert natd ip from any to any in via em0
$IPFW 995 divert natd ip from any to any out via em0
$IPFW 1000 allow tcp from any to any established
$IPFW 1010 allow all from any to any via em0
$IPFW 1020 allow all from any to any via sk0
$IPFW 1030 allow all from any to any via lo0
$IPFW 1050 allow tcp from any to any out
$IPFW 1060 allow udp from any to any out
$IPFW 1070 allow udp from any to any frag
$IPFW 1090 allow ip from any to any
$IPFW  deny all from any to any


Somewhere between these two sets is the right thing, but I'm not certain
where to look. In english, here is what (I think) I'm trying to do:

Allow all incoming traffic on all ports on em0
Allow all outbound traffic on all ports on em0
Divert incoming NAT'd packets on em0 to sk0
Divert outbound NAT'd packets on sk0 to em0

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


Re: FreeBSD Source Code

2009-11-04 Thread Alex R

Petros Ring wrote:
I would like you to send a copy of all the source code of FreeBSD so I 
may use it for a project that will allow the running of applacations 
from a different os to run on FreeBSD. Please send a attachment of the 
full source code in the reply email.


Thank you,
Petros
___
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



Petros,

Download the FreeBSD cd/dvd for whatever architecture you need. The 
source packages are on the disc.


___
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: Eclipse Java 1.5

2009-11-03 Thread Alex Huth
* Chuck Robey schrieb:
 Alex Huth wrote:
  Hi!
  
  I want to change my laptop system from Debian to FreeBSD. After installing 
  8.0
  RC2 in a virtual machine i have tried to install eclipse and changed the 
  Java
  version in the makefile to 1.5, but it still want to install the 1.6 jdk.
  
  I need the 1.5 version for several reasons, for example VPN account.
 
 
 This surprises me a bit, as I'd understood that the differences between 1.5 
 and
 1.6 were strictly limited to bugfixes, and changed the interface not at all.
 Reason that this might make some difference to you is that, at least for me
 (using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely
 rock stable.
 
 Do you really have some reports saying that jdk16 doesn't work in your 
 situation?
 

Yes, for example access over Juniper Netscreen VPN requires flash and java
1.5.

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


Eclipse Java 1.5

2009-11-02 Thread Alex Huth
Hi!

I want to change my laptop system from Debian to FreeBSD. After installing 8.0
RC2 in a virtual machine i have tried to install eclipse and changed the Java
version in the makefile to 1.5, but it still want to install the 1.6 jdk.

I need the 1.5 version for several reasons, for example VPN account.

How can i solve the problem? Is java 1.5 also available if i install it on
AMD64? On debian this is a Problem.

Thx

Alex

Never be afraid to try something new.
Remember, amateurs built the ark.
Professionals built the Titanic. — unknow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how long till 8.0-RELEASE

2009-10-18 Thread Alex R

Hi Guys,

It's obvious the release is behind schedule, RC2 isn't even out yet 
according to the freebsd site. is there any rough ideas when we can 
expect 8.0-release? :)


___
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: restore(8)ing new / -- boots on metal but not in a VM

2009-10-14 Thread Alex Jurkiewicz
2009/10/14 Tim Judd taj...@gmail.com:
 My suggestion is to check the VM config and see if you can emulate an
 IDE ad(4) device instead of the possible SCSI da(4) device that
 vmware/virtualbox may setup.  I'm almost positive (not 100% because I
 don't have either one of those installed at the moment) that both
 those products default to a SCSI device.

Both are capable of emulating IDE, and both can offer something that
FreeBSD uses the da driver for (SATA for Vbox, SCSI for Vmware). I've
tested with both ad and da drives on both solutions.

Creating a dump image fresh in a VM gives me a file I can restore from
and boot successfully in VMs. I haven't tested physical machines yet
-- if I can boot physical machines off this new dump file my problems
are solved. If not...

At this point it seems simplest to produce a few different versions of
my dump image. Chances there's just something different in the first
few sectors of the disk, but having a single dump image and multiple
first sectors for the image seems more complex overall.

Thanks for the help,
AJ
___
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


restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Alex Jurkiewicz
Hi all,
A little background: I'm writing a script that will allow me to
restore(8) a standard FreeBSD partition to multiple machines. So far,
I'm at the 'see if it works in principle' stage, and I'm finding
something strange.

My procedure:
* Start with an empty hard drive (ad0).
* Boot off the FreeBSD CD, enter the live CD filesystem shell (Fixit
- Live CD Filesystem)
* Create a single slice with fdisk that spans the entire disk (fdisk
-i /dev/ad0)
* Create a single partition with bsdlabel that spans the entire slice
(bsdlabel -w /dev/ad0s1)
* Install the FreeBSD Boot Loader (boot0cfg -B /dev/ad0)
* Format and restore the dumpfile (newfs /dev/ad0s1a  mount
/dev/ad0s1a /mnt  cd /mnt  ssh storagebox dd
if=home/aj/image.dump | restore -rvf -
* Unmount /mnt and restart.

The steps work fine... on physical hardware. The restored image boots
up fine. As a VM guest, running in either VMWare or VirtualBox, it
don't work. Everything appears to go fine, but when I get to the boot
loader, pressing F1 just makes the PC speaker beep at me.

Any pointers would be appreciated. I'm using FreeBSD 6.4.

Cheers,
Alex Jurkiewicz
___
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: restore(8)ing new / -- boots on metal but not in a VM

2009-10-12 Thread Alex Jurkiewicz
2009/10/13 Tim Judd taj...@gmail.com:
 Is the virtual machine using SCSI emulation to boot, or is it using IDE?

 SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)]


The dump was taken from an ad0 device on physical hardware, and I'm
attempting to restore to the same, just on virtual hardware.

 If the boot blocks (maybe boot0 specific) point to an ad/ata device,
 and the virtual machine is SCSI, it won't find the boot sectors.

So, if I make a dumpfile of / on an ad(4) device, I can't restore it
to a da(4) device and expect it to boot? I guess at minimum I'll need
two copies of this image if I want to roll it out on machines with
both sorts of drive, right?

Thanks,
AJ
___
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: binutils

2009-10-10 Thread Alex R

Lowell Gilbert wrote:

Unfortunately, it's under an unacceptable license.

  
Wow. thats a great way to keep the operating system software up to date, 
use ancient versions of software to get around a stupid license 
agreement. What's being done to rectify that 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


binutils

2009-10-09 Thread Alex R

Hi Guys,

Is there any news on when the version of binutils that ships as part of 
the base system will be updated? The version that ships with 7.x etc is 
about 5 years old now.


It creates problems on amd64 when compiling mplayer (assembly language 
directive errors), and can be resolved by installing a newer version of 
binutils.


Feel free to share your thoughts :)

Alex.

___
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


Security vulnerability in 7.x

2009-09-18 Thread Alex R

Hi All,

I was sent this by a friend, could someone confirm if this exploit is 
really existant?


http://www.vimeo.com/6580991 (requires flash)

___
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: reporter on deadline seeks comment about reported security bug in FreeBSD

2009-09-18 Thread Alex R

Mak Kolybabi wrote:

On 2009-09-14 12:12, Dan Goodin wrote:
  

We'll be writing a brief article about this.



I didn't notice anyone link the finished article yet, so here it is:
http://www.theregister.co.uk/2009/09/14/freebsd_security_bug/

--
Matthew Anthony Kolybabi (Mak)
m...@kolybabi.com

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
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

  


http://www.vimeo.com/6580991

The article says that Versions 7.1 and and beyond are not vulnerable. 
That video contradicts that.


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


Re: 7.2-RELEASE/amd64 - weird stuff in dmesg

2009-09-10 Thread Alex R

Any ideas??? Anyone??

Alex R wrote:

Hi everyone,

I was wondering whether anyone could shed some light on the following 
messages I am seeing in dmesg:




33aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aaress format 
(0x)

ress format (0x)
arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast  
f(o0rxm0a0t0 0()0

x
)
arp:3 uanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa tf 
o(r0mxat0 0(00x000)0

0
)
arp: unknown hardware address format (0xarp:0 7u0n0k)n
o
wn hardware address format (0x0700)
aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aarree  
ffoorrmmaatt  ((00xx0077))


--

Any ideas whats with the jumbled/double letters? Is there something 
wrong with the machine or is it a bug in the OS? I have seen similar 
symptoms on SMP enabled boxes when shutting down if 2 processes call 
kprintf() or printf() at the same time, it results in garbled output.


Should i turn a blind eye to 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




___
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


7.2-RELEASE/amd64 - weird stuff in dmesg

2009-09-09 Thread Alex R

Hi everyone,

I was wondering whether anyone could shed some light on the following 
messages I am seeing in dmesg:




33aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aaress format (0x)
ress format (0x)
arp: unakrnpo:w nu nhkanrodwwna rhea raddwdarrees sa dfdorremsast  
f(o0rxm0a0t0 0()0

x
)
arp:3 uanrkpn:o wunn khnaorwdnw ahraer dawdadrree sasd dfroersmsa tf 
o(r0mxat0 0(00x000)0

0
)
arp: unknown hardware address format (0xarp:0 7u0n0k)n
o
wn hardware address format (0x0700)
aarrpp::  uunnkknnoowwnn  hhaarrddwwaarree  aarree  
ffoorrmmaatt  ((00xx0077))


--

Any ideas whats with the jumbled/double letters? Is there something 
wrong with the machine or is it a bug in the OS? I have seen similar 
symptoms on SMP enabled boxes when shutting down if 2 processes call 
kprintf() or printf() at the same time, it results in garbled output.


Should i turn a blind eye to 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


Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.


Is the solution given safe? Should I open a PR?

Alex

___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Hi Ruben,

Output is as follows:

/usr/bin/su:
   libutil.so.7 = /lib/libutil.so.7 (0x800635000)
   libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
   libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
   libc.so.7 = /lib/libc.so.7 (0x800962000)


Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.



What's the output of the command

ldd `which su`

?

  

Is the solution given safe? Should I open a PR?

Alex

___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R
There are also some interesting responses in comp.unix.bsd.freebsd.misc 
about this (I opened a thread there too).


___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Actually I did change the root shell to bash. U think that might cause it?

Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
  

Hi Ruben,

Output is as follows:

/usr/bin/su:
   libutil.so.7 = /lib/libutil.so.7 (0x800635000)
   libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
   libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
   libc.so.7 = /lib/libc.so.7 (0x800962000)



That's normal. Shall I take a guess?

You changed root's shell to bash!
bash uses libintl, and will be invoked by the su -m $ppp_user in
/etc/rc.d/ppp

Yet another good reason not to change root's default shell :D

cheers,
Ruben

  

Ruben de Groot wrote:


On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:
 
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.
   


What's the output of the command

ldd `which su`

?

 
  

Is the solution given safe? Should I open a PR?

Alex

___
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



  


___
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: Userland PPP fails to load via rc.conf (7.2/amd64)

2009-08-14 Thread Alex R

Thank you Ruben :-) :-)

I wouldn't have thought in a million years that could be the issue, but 
what you have said makes perfect sense. Looks like its back to /bin/sh 
for root.


Cheers, Alex.

Ruben de Groot wrote:

On Fri, Aug 14, 2009 at 10:08:48PM +1000, Alex R typed:
  

Actually I did change the root shell to bash. U think that might cause it?

 
Definately. before ldconfig is run, only the system libraries in /lib and /usr/lib

are known. Doing a su -m root at that time, as /etc/rc.d/ppp is doing, will
result in the error message you got, as bash wants to load libintl.so.8, which
lives in /usr/local/lib.

Ruben

  

Ruben de Groot wrote:


On Fri, Aug 14, 2009 at 09:49:48PM +1000, Alex R typed:
 
  

Hi Ruben,

Output is as follows:

/usr/bin/su:
  libutil.so.7 = /lib/libutil.so.7 (0x800635000)
  libpam.so.4 = /usr/lib/libpam.so.4 (0x800744000)
  libbsm.so.2 = /usr/lib/libbsm.so.2 (0x80084c000)
  libc.so.7 = /lib/libc.so.7 (0x800962000)
   


That's normal. Shall I take a guess?

You changed root's shell to bash!
bash uses libintl, and will be invoked by the su -m $ppp_user in
/etc/rc.d/ppp

Yet another good reason not to change root's default shell :D

cheers,
Ruben

 
  

Ruben de Groot wrote:
   


On Fri, Aug 14, 2009 at 06:20:00PM +1000, Alex R typed:

 
  

Hi Guys,

I ran into the same problem as this person did (see the link below):

http://www.mail-archive.com/freebsd-...@freebsd.org/msg24337.html

ppp starts fine if invoked from shell prompt, however the problem above 
occurs for me when I attempt to start it automatically at boot via 
/etc/rc.conf


Funnily enough, the solution presented in that article seems to fix the 
issue.. But why? This problem is very easy to reproduce, how could it 
have been overlooked? I just happened to find the article in the link 
above, out of desperation, it's not good that I had to Google for a 
solution.
  
   


What's the output of the command

ldd `which su`

?


 
  

Is the solution given safe? Should I open a PR?

Alex

___
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
   

 
  

___
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: installworld fails on 7.2-RELEASE/amd64

2009-08-10 Thread Alex R

Alex R wrote:


I am in the process of deleting /usr/src and completely csup'ing the 
source tree from scratch, and will try another rebuild, however I am 
skeptical this will fix anything.



This seems to have fixed it... but why...

___
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


installworld fails on 7.2-RELEASE/amd64

2009-08-10 Thread Alex R


Hi Guys,

Have done tonnes of buildworld's before and never ran into the problem I
a having on this new machine.

Basically I have csup'd my source tree on a freshly installed
7.2-RELEASE/amd64 box (tracking the 7.2-RELEASE branch).

make buildworld -- works ok.
make buildkernel KERNCONF=custom -- works ok
make installkernel KERNCONF=custom -- works ok

Boot into single user mode and do the usual things (mount filesystems etc),

mergemaster -p -- works ok.
make installworld -- FAIL

After a minute of installworld running, it dies with this error.

btxld -v -E 0x2000 -f bin -b
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

I have WITHOUT_LIB32 defined in my /etc/src.conf (even undefining this
and doing a buildworld from scratch didn't fix it), I also have
NO_PROFILE turned on in my /etc/make.conf (as suggested by the FreeBSD
handbook on improving build times - has never caused me a problem in the
past)

Apart from that, everything on the system is stock standard.

I did Google this error, but found no definitive solution, one post I
found suggested that perhaps the system time/date is wrong or that
adjkerntz -i was missed after entering single user mode. This is not the
case for me. Time and date is correct while in single or multi user mode.

Any ideas on what is causing this problem?

I am in the process of deleting /usr/src and completely csup'ing the 
source tree from scratch, and will try another rebuild, however I am 
skeptical this will fix anything.


Any ideas/suggestions welcomed.

Thanks!
Alex
___
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: installworld fails on 7.2-RELEASE/amd64

2009-08-10 Thread Alex R

Boris Samorodov wrote:

On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote:

  

/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1



This error (not only with btxld but with some random file) often
occures when the system timer has been changed (imho stepped back)
while the system is building/installing world. World rebuilding
helps in that case. 

  

Hi Boris,

Why might the system timer do this? I am confused. The thing that ended 
up fixing it was completely rebuilding /usr/src (deleting the dir and 
installing the system sources via csup again)


It's a new computer so perhaps there is some compatibility problem or 
fault with the machine? During a couple of port builds, I noticed a few 
processes relating to the build of a port had died with signal 10 in 
dmesg (bus error i think this means), and during a build of apache, 
something called confcheck had died with signal 12.


I ran memtest86 on this system for about 6 hours and after about 20 
passes, no errors reported.


___
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: installworld fails on 7.2-RELEASE/amd64

2009-08-10 Thread Alex R

Boris Samorodov wrote:

On Tue, 11 Aug 2009 05:17:09 +1000 Alex R wrote:
  

Boris Samorodov wrote:


On Mon, 10 Aug 2009 18:30:22 +1000 Alex R wrote:
  


  

/usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr  -o
boot2.ld -P 1 boot2.bin
btxld:No such file or directory
*** Error code 1



  

This error (not only with btxld but with some random file) often
occures when the system timer has been changed (imho stepped back)
while the system is building/installing world. World rebuilding
helps in that case. 
  


  

Why might the system timer do this? I am confused. The thing that



Well, there are too many possibilities here. Like some run an
ntpdate command. If you have logs you may check them up.

  

ended up fixing it was completely rebuilding /usr/src (deleting the
dir and installing the system sources via csup again)



Seems like the case I supposed.

  

It's a new computer so perhaps there is some compatibility problem or
fault with the machine? During a couple of port builds, I noticed a
few processes relating to the build of a port had died with signal 10
in dmesg (bus error i think this means), and during a build of apache,
something called confcheck had died with signal 12.



Hm, that is not good imho. Smells like hardware fault.

  

I ran memtest86 on this system for about 6 hours and after about 20
passes, no errors reported.



Memory is only one system component. A processor/disk may be overheated,
coolers stopped, etc. A very good test is make world (one after another
several times).

  
Shouldn't be a heating issue, the case has fans galore in it, the 
thermal side of things look ok from what I can see :) It's one of the 
recent gigabyte motherboards that uses DDR3 memory. I did find a setting 
in the BIOS that had a title of DRAM performance enhance, it was set to 
turbo by default, I have set it back to standard in case that was 
causing stability issues (the machine is not overclocked). I have also 
gone back to the i386 release instead of amd64. Done a build world and 
have built several ports, no core dumps or unexplained phenomena as of 
yet (fingers crossed). though if the system starts to act up again, I 
will be sending the motherboard back!


Off topic, it wouldn't be a first time that the amd64 release has 
presented odd issues. I have a machine with an Intel desktop board with 
a core duo cpu in it (EMT64 capable) with 4GB of DDR3 memory, freebsd 
7/amd64 or freebsd 8/amd64 refuse to boot. On that machine, it just page 
faults during the kernel init (had a PR open for over a year now, going 
nowhere), however the i386 release of freebsd boots ok. 64 bit linux 
works perfectly on that board.


It's a bit of a hit and miss thing these days with motherboards and open 
source operating systems. I've generally had a good run with FreeBSD on 
Gigabyte hardware.


Thanks for your suggestions though.

___
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


intermittent failures with sendmail

2009-07-02 Thread Alex Teslik
I have sendmail 8.14.2 running on freebsd 7.0:

[gouda:root]/var/spool/mqueue# sendmail -d0  /dev/null
Version 8.14.2
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = gouda
  (canonical domain name) $j = gouda.acatysmoof.com
 (subdomain name) $m = acatysmoof.com
  (node name) $k = gouda.acatysmoof.com


[gouda:root]/var/spool/mqueue# uname -a
FreeBSD gouda.acatysmoof.com 7.0-STABLE-200806 FreeBSD 7.0-STABLE-200806 #0: 
Mon Jun 30 
03:43:40 PDT 2008 a...@xxx.com:/usr/obj/usr/src/sys/CORE2-STABLE-7  i386

mails sent out to the internet are intermittently causing these error reports 
in the daily run output:

n5UNkYTo06980923878 Tue Jun 30 16:46 a...@x.com 
(reply: read error from mail.OO.net.) 
 r...@oo.net 
n5ULKB0i064252* 7028205 Tue Jun 30 14:20 ki...@.com 
 8BITMIME   (timeout writing message to c.mx.mail.yahoo.com.: Broken pipe) 
 xxx...@yahoo.com 
n5TM36Jn012370  420 Mon Jun 29 15:03 ...@acat 
(Deferred: Name server: YYY.com.: host name lookup failur) 
 avalderr...@yy.com


The yahoo one is particularly puzzling. Most mails make it, but some fail. I 
can't figure out why. The 
recipient is valid and they have plenty of space in their account. Sometimes 
mail to them works with 
no problem.

I checked the sendmail logs and found:

Jul  2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout 
writing message to 
b.mx.mail.yahoo.com.: Broken pipe
Jul  2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout 
writing message to 
e.mx.mail.yahoo.com.: Broken pipe
Jul  2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): timeout 
writing message to 
d.mx.mail.yahoo.com.: Broken pipe

I thought it might be an MTU problem:

http://anthony.zerosandones.co.uk/?q=node/451

I set my MTU to 1300, but that hasn't helped.

[gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1300
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:1c:c0:36:85:62
inet 24.205.141.134 netmask 0xfffc broadcast 24.205.141.135
media: Ethernet autoselect (100baseTX full-duplex)
status: active

DNS is working fine everywhere, so I don't think thats it. PTR is fine, reverse 
lookups work fine.

I've googled my brains out. Does anyone have any ideas?

Thanks,
Alex
___
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: upgrading installed ports: time to do it ?

2009-06-21 Thread Alex Stangl
On Sun, Jun 21, 2009 at 09:07:51PM +0100, Chris Rees wrote:
 2009/6/21 danny mesli...@yahoo.fr:
  I frequently update the contents of the ports tree but I have never upgraded
  any port. I am studying the way to do it, by following the handbook and an
  article on The FreeBSD Diary about the use of portupgrade.
  At the moment I am focuing the attention to the '/usr/ports/UPDATING' file.
  The question that arose is the following: is there any automated way to 
  check
  if any of the port to be upgraded has specific upgrading notes written in
  that file ?

Try ports-mgmt/portupdate-scan. It attempts to filter UPDATING to only
show entries pertinent to your installed ports.

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


Re: freebsd toaster

2009-06-17 Thread Alex Stangl
On Wed, Jun 17, 2009 at 11:17:32AM +0100, Chris Rees wrote:
 Just curiosity, what's wrong with source upgrading? Isn't it miles
 easier than reinstalling?

Probably nothing. I haven't done it before, so there's the usual
apprehension dealing with the unknown. I originally thought that since I
just use a generic kernel, a binary upgrade should be quickest, easiest,
and safest. Freebsd.org was touting the freebsd-update script, so that
seemed the obvious way to go.

I guess I'll clean up the mess left by freebsd-update and try the route
of upgrading via source. But then I am left wondering why the
freebsd.org site continues to recommend using freebsd-update which is
seemingly broken and unsupported, while people on the mailing list
recommend source upgrades instead.

Thanks,

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


Re: freebsd toaster

2009-06-16 Thread Alex Stangl
On Tue, Jun 16, 2009 at 07:04:47PM -0700, SA wrote:
 This article by Colin Percival 
 http://www.daemonology.net/freebsd-update/binup.html discusses using 
 freebsd-update as a toaster for updating an entire FreeBSD based 
 distribution, instead of just the base system like freebsd-update normally 
 does. Does anyone know where there might be more information on this topic?

Not long ago I tried using freebsd-update to update from 6.0-RELEASE to 
7.2-RELEASE,
based upon instructions on Percival's blog,
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

It blew away the contents of /boot/kernel. Multiple emails to Percival
went unanswered, and when I later asked about it on this list, the only
response was a suggestion to upgrade via source. (Thanks for the
suggestion, by the way -- I think I'll rather do that to stay up to date
once I get caught up.)

Based upon my experience and the apparent lack of current support, I
would not recommend using these tools for binary updates, especially in
an automated fashion. If I get some spare time and inclination, I may
try to diagnose what went wrong with the freebsd-update script, but more
likely will end up doing a clean install of 7.2-RELEASE from ISO onto
a new drive, and migrate everything over.

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


Problem w/ 6.0 - 7.2 update

2009-06-06 Thread Alex Stangl
Apologies if this is the wrong place to ask these questions. I emailed
this to Colin Percival a few weeks ago and heard nothing back, so I
figured I'd ask here.

Alex

-

Hi,

I tried to upgrade my system from 6.0-RELEASE to 7.2-RELEASE today,
using the procedure described on your blog page FreeBSD major version
upgrades:
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html

I had previously pulled down the tarball of the updated freebsd-update
script, exploded it, compared the hash. Today I started a script to
capture the output, ran
$ sudo sh freebsd-update.sh -f freebsd-update.conf -r 7.2-RELEASE
upgrade

and watched it pulled down files, helped it merge, etc., then hit
spacebar repeatedly as it went through printing a long list of files.

Next thing I knew, it had exited back to the shell prompt. I wasn't
expecting that, probably because I didn't read your page closely enough.
Anyhow, I ran the upgrade command a second time (I think that's OK?) and
it basically did the same thing, but this time I reread your
instructions and saw that I needed to follow up with:

$ sudo sh freebsd-update.sh -f freebsd-update.conf install

So I did that, and did a reboot when it told me to.

Reboot failed -- no kernel. I eventually recovered from this by booting
the the FreeBSD 6.0 install CD, going to shell prompt, mounting the root
filesystem and copying kernel and *.ko from the CD back into
/boot/kernel.

Then I started to look at what went wrong, looking through
freebsd-update.sh, trying to figure out what it does, and sure enough I
see, comparing INDEX-OLD and INDEX-NEW that it shows the kernel and *.ko
getting removed and not replaced (also I can see this reviewing the
script output of the long set of files add/removed/modified.)

At this point I am tempted to do a rollback before proceeding any
further, but am not sure if having copied the files manually back in to
/boot/kernel is going to cause problems with rollback.

It's also not clear to me whether using freebsd-update.sh is the right
approach for upgrading from 6.0-RELEASE to 7.2-RELEASE, or if I should
follow some alternate approach, like booting the 7.2 CD and doing a
binary upgrade from there?

Anyhow, if you can advise me on these issues of whether the rollback
should work OK and what approach you recommend to proceed, I'd
appreciate it. I'll be happy to send any files, including the script
output, if you like. It seems more efficient to ask you rather than to
continue digging deeper  deeper in the shell script and all its
accompanying patch files, etc.

Thanks,

Alex Stangl
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-03 Thread Alex Kirk
What branch is this patch supposed to apply against? I've tried  
7.0-RELEASE and 7.1-RELEASE, and judging by the dates involved, it's  
somewhere in between the two.


Or should I be asking this on the freebsd-hackers list, where that  
patch was originally posted?


Alex


Alex,

This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets.  
There is a patch for it:


http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I though didn't test the patch, and funny thing, I posted  earlier  
today asking if anyone had tried out that patch.


Hope this helps, keep me posted if you're able to bring it online.

Thanks,

Tamouh


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Alex Kirk
Sent: March 1, 2009 8:20 PM
To: Jamie
Cc: questi...@freebsd.org
Subject: Re: RAID Gone Wild - One Array Split Into Two

 Does anyone have a clue how I can fix this, preferably while
 retaining my data? I could wipe the box if necessary, but
I'd really
 prefer not to, as that would be a huge pain in the butt.

 Thanks,
 Alex Kirk




I would begin by going into the raid BIOS at bootup to see what
 containers are now configured. If everything is hosed up in
there the
 OS isn't going to be able to fix anything.


   - Jamie


Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are Create Array, Delete
Array, Reset Disk States, and Exit. It shows only the
one array,
but all four disks show as Offline Member in red there. I'm just
concerned that if I reset the array or delete it, the state
table (or
whatever other magic is involved in making RAID work) will get hosed
up and the data will be unrecoverable.

Alex



This message was sent using IMP, the Internet Messaging Program.
___
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










This message was sent using IMP, the Internet Messaging Program.
___
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


RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
First off, I realize that this may be more of a lower-level hardware  
question than is appropriate to ask here, but I'm at a real loss, and  
have no idea who else to ask...so I apologize in advance if I'm being  
a pest.


That said: I've got a FreeBSD 7.0/stable box that is used as the  
development server for a live system I administer. It recently crapped  
out on me (the dev box), and I realized that its power supply had  
kicked the bucket. After going out and replacing the power supply, it  
booted right back up, I ssh'd in, and when I ran my first userland  
command - w, FWIW - it froze up solid. I got one more SSH session in  
attempting to figure out WTF was going on before it wouldn't even log  
me in any more.


After a couple of hard reboots, I decided to attach a monitor to it to  
see what was going on. It turns out that the RAID5 array on the system  
had really lost its mind - all four devices that were part of the  
array were listed as being offline, which of course meant that the  
system could no longer boot (as it was booting off of the RAID). The  
controller is an integrated Intel Matrix DHC7R, built onto the  
motherboard.


I looked around the web a bit to try to figure out how to fix this,  
and ran across a couple of forum posts (which I can unfortunately no  
longer seem to find) suggesting that this particular controller was  
prone to an issue where hard power-downs would sometimes make the  
drives go offline, and that I needed to boot from CD to re-initialize  
them into their previous state. I tried first with an Ubuntu Linux CD  
I had handy - which promptly freaked out and dropped me into an  
emergency shell - and then the FreeBSD 7.0 boot-only disc. The latter  
was a bit more helpful, because I got this diagnostic:


ar0: WARNING - parity protection lost, RAID5 array in DEGRADED mode
ar0: 715418MB Intel MatrixRAID RAID5 (stripe 64KB) status: DEGRADED
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad8 at ata4-master
ar0: disk2 READY using ad6 at ata3-master
ar0: disk3 DOWN no device found for this subdisk
ar1: 715418MB Intel MatrixRAID RAID5 (stripe 64KB) status: BROKEN
ar1: disk0 DOWN no device found for this subdisk
ar1: disk1 DOWN no device found for this subdisk
ar1: disk2 DOWN no device found for this subdisk
ar1: disk3 READY using ad10 at ata5-master

Now I can see that my problem is that I've somehow got *two* RAID  
devices, both improperly configured, whereas I'd only had one before.


Does anyone have a clue how I can fix this, preferably while retaining  
my data? I could wipe the box if necessary, but I'd really prefer not  
to, as that would be a huge pain in the butt.


Thanks,
Alex Kirk



This message was sent using IMP, the Internet Messaging Program.
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
Does anyone have a clue how I can fix this, preferably while  
retaining my data? I could wipe the box if necessary, but I'd

really prefer not to, as that would be a huge pain in the butt.



Thanks,
Alex Kirk





   I would begin by going into the raid BIOS at bootup to see what  
containers are now configured. If everything is hosed up in there  
the OS isn't going to be able to fix anything.



  - Jamie



Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are Create Array, Delete  
Array, Reset Disk States, and Exit. It shows only the one array,  
but all four disks show as Offline Member in red there. I'm just  
concerned that if I reset the array or delete it, the state table (or  
whatever other magic is involved in making RAID work) will get hosed  
up and the data will be unrecoverable.


Alex



This message was sent using IMP, the Internet Messaging Program.
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
This is why I love open-source mailing lists - you never know what  
sort of awesome you'll find!


My question at this point, though, is how in the world I could  
actually apply this patch, seeing as how the system is in a  
non-bootable state. Is this something that's already been included in  
a development branch that I could go download? Or do I need to do  
something else?


Thanks,
Alex


Alex,

This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets.  
There is a patch for it:


http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I though didn't test the patch, and funny thing, I posted  earlier  
today asking if anyone had tried out that patch.


Hope this helps, keep me posted if you're able to bring it online.

Thanks,

Tamouh


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Alex Kirk
Sent: March 1, 2009 8:20 PM
To: Jamie
Cc: questi...@freebsd.org
Subject: Re: RAID Gone Wild - One Array Split Into Two

 Does anyone have a clue how I can fix this, preferably while
 retaining my data? I could wipe the box if necessary, but
I'd really
 prefer not to, as that would be a huge pain in the butt.

 Thanks,
 Alex Kirk




I would begin by going into the raid BIOS at bootup to see what
 containers are now configured. If everything is hosed up in
there the
 OS isn't going to be able to fix anything.


   - Jamie


Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are Create Array, Delete
Array, Reset Disk States, and Exit. It shows only the
one array,
but all four disks show as Offline Member in red there. I'm just
concerned that if I reset the array or delete it, the state
table (or
whatever other magic is involved in making RAID work) will get hosed
up and the data will be unrecoverable.

Alex



This message was sent using IMP, the Internet Messaging Program.
___
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










This message was sent using IMP, the Internet Messaging Program.
___
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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-01 Thread Alex Goncharov
,--- You/Mel (Sat, 31 Jan 2009 20:05:50 -0900) *
| As a sidenote, it would be nice if xorg-server14 port would be created till 
| the dust has settled.

Very, very nice.

Almost as nice as xorg-server being the old, working xorg-server and
xorg-server-devel the new, broken one.

-- Alex -- alex-goncha...@comcast.net --
___
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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-01 Thread Alex Goncharov
,--- I/Alex (Sun, 01 Feb 2009 07:56:40 -0500) *
| All I was saying was that your ldd experiment was... hmm... not
| correct (if you agree with mine, of course). 
,--- You/O. (Sun, 01 Feb 2009 14:50:47 +0100) *
| Saying, it was stupid? You're correct. It was stupid and, of course, it
| doesn't matter if the libs show up or not.

Not stupid -- you tried various things in desperation and hurry, and
reported your observations and thoughts.  It's normal :-)

| I thought, at the first shot, firefox3 binary needs to have a
| complete reference to all of its libraries, but thinking so leads
| the advantage of having dynamical loadable objects ad absurdum.

Glad this is cleared now!

-- Alex -- alex-goncha...@comcast.net --

___
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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-02-01 Thread Alex Goncharov
,--- You/O. (Sun, 01 Feb 2009 12:07:32 +0100) *
| Alex Goncharov wrote:
|  ,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) *
|  | I did a 'ldd' on the Firefox3 binary
|  | and  I got the attached dump of the linked shared objects.
|  | Interestingly, the first three entries show up something missing -
| 
|  LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd 
/usr/local/lib/firefox3/firefox-bin | head -n 5
|  /usr/local/lib/firefox3/firefox-bin:
|  libxul.so = /usr/local/lib/firefox3/libxul.so (0x28087000)
|  libmozjs.so = /usr/local/lib/firefox3/libmozjs.so (0x28e8f000)
|  libxpcom.so = /usr/local/lib/firefox3/libxpcom.so (0x28f1f000)
| 
|  firefox3 sets LD_LIBRARY_PATH for you :-)
|
| It does not!

--

$ grep run-mozilla.sh  /usr/local/bin/firefox3 
# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
run_moz=$curdir/run-mozilla.sh
run_moz=$curdir/run-mozilla.sh
  run_moz=$dist_bin/run-mozilla.sh
  if [ -x $moz_libdir/run-mozilla.sh ]; then
  echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@
$dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN $@


$ grep  LD_LIBRARY_PATH /usr/local/lib/firefox3/run-mozilla.sh
## Set LD_LIBRARY_PATH
## On Solaris we use $ORIGIN (set in RUNPATH) instead of LD_LIBRARY_PATH 
## under dist/bin. To solve the problem, we should rely on LD_LIBRARY_PATH

LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
if [ -n $LD_LIBRARY_PATH_64 ]; then

LD_LIBRARY_PATH_64=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH_64+:$LD_LIBRARY_PATH_64}
## Set DYLD_LIBRARY_PATH for Mac OS X (Darwin)
DYLD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MRE_HOME}${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH}
  echo   LD_LIBRARY_PATH=$LD_LIBRARY_PATH
  if [ -n $LD_LIBRARY_PATH_64 ]; then
echo LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64
  echo DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH

--

No, it doesn't?

| ... on all of my boxes (amd64), it does not ... even on those
| machines where Firefox3 is running, these libs are empty. But I
| realized that those boxes are capable running firefox3 after the
| 'great Xorg-update-catastrophy' have still installed firefox2 ... I
| will check tomorrow at the lab if this do have an influence of the
| proper work abilities of firefox3 when removing the old firefox2.
| 
| When setting LD_LIBRARY_PATH manually, adding /usr/lib/firefox3/, it
| doesn't change the bad situation on the failing CURRENT amd64 box.

All I was saying was that your ldd experiment was... hmm... not
correct (if you agree with mine, of course). 

-- Alex -- alex-goncha...@comcast.net --

___
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: Xorg upgrade desaster: Xlib: extension Generic Event Extension missing on display :0.0.

2009-01-31 Thread Alex Goncharov
,--- You/O. (Sun, 01 Feb 2009 01:39:03 +0100) *
| I did a 'ldd' on the Firefox3 binary
| and  I got the attached dump of the linked shared objects.
| Interestingly, the first three entries show up something missing -

LD_LIBRARY_PATH=/usr/local/lib/firefox3 ldd /usr/local/lib/firefox3/firefox-bin 
| head -n 5
/usr/local/lib/firefox3/firefox-bin:
libxul.so = /usr/local/lib/firefox3/libxul.so (0x28087000)
libmozjs.so = /usr/local/lib/firefox3/libmozjs.so (0x28e8f000)
libxpcom.so = /usr/local/lib/firefox3/libxpcom.so (0x28f1f000)

firefox3 sets LD_LIBRARY_PATH for you :-)

| thor# ldd firefox-bin
| firefox-bin:
| libxul.so = not found (0x0)
| libmozjs.so = not found (0x0)
| libxpcom.so = not found (0x0)
| libplds4.so.1 = /usr/local/lib/libplds4.so.1 (0x80063e000)

-- Alex -- alex-goncha...@comcast.net --

___
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


  1   2   3   4   5   6   7   8   9   10   >