version

2010-05-12 Thread Lacsap Ona
Hello,
I would like to download the FreeBSD but am unsure which version to download. I 
have a Pentium dual core t4200 processor.

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


Accurately determine contact surface pressures, stresses and alignments

2010-05-12 Thread Sensor Experts
MEASURE PRESSURE BETWEEN CONTACTING SURFACES

Pressurex pressure indicating sensor film can reveal pressure distribution and 
magnitude between any two contacting or impacting surfaces. This thin plastic 
sensor film is placed at the actual contact surfaces and instantaneously and 
permanently captures the pressure profile by changing color. Similar in concept 
to Litmus paper, the color Pressurex turns is also directly proportional to the 
amount of force applied and can be quantified.

Pressurex can be used in many applications including in a bolted joint 
interface, composite layup, heat sealing and lamination presses; it can act as 
a force sensing resistor, and it can measure surface pressure distribution 
whether it is used as an impact force sensor, seat pressure sensor, as a strain 
gauge or even as nip impression paper.


BOLTED JOINT

LAMINATION PRESS

HEAT SEAL

COMPOSITE LAYUP

Color Indicates Precise PSI Value

http://www.sensorexpert.com/



If you would like to receive a sample of Pressurex, simply click on only one of 
the buttons below to indicate the pressure range most suitable to your 
application and we'll gladly send one out to you. Please be sure to include 
complete contact info and a full mailing address.


Send me a sample of  --Micro   2 - 20 PSI (0.14 - 1.4 
kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Micro pxieosdb510

Send me a sample of  --Ultra Low   28 - 85 PSI (2 - 6 
kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Ultra Low pxieosdb510

Send me a sample of  --Super Low   70 - 350 PSI (5 - 25 
kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Super Low pxieosdb510

Send me a sample of  --Low 350 - 1,400 PSI (25 - 
100 kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Low pxieosdb510

Send me a sample of  --Medium  1,400 - 7,100 PSI (100 
- 500 kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Medium pxieosdb510

Send me a sample of  --High7,100 - 18,500 PSI (500 
- 1,300 kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of High pxieosdb510

Send me a sample of  --Super   High 18,500 - 43,200 
PSI (1,300 - 3,000 kg/cm²)
send an e-mail to samp...@sensorexpert.com; with a subject of Send me a sample 
of Super High pxieosdb510


For product brochure visit http://www.sensorexpert.com/

Sensor Expert (USA)   •   Tel: (973) 884-1755   •   Fax: (973) 884-1699   •   
samp...@sensorexpert.com  •   www.sensorexpert.com


To unsubscribe from the emailing, send an e-mail to:
beb...@sensorexpert.com; with a subject of Unsubscribe pxieosdb510


___
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: Disk can't be found, boot stops at mountroot

2010-05-12 Thread Boris Samorodov
On Tue, 11 May 2010 21:46:35 +0200 Leslie Jensen wrote:

 System 7.2-RELEASE
 I made the first reboot after
 freebsd-update -r 8.0-RELEASE
 freebsd-update install
 and I'm now stuck at the mountroot prompt that says trying to mount
 from ufs:/dev/ad0s1a
 ROOT MOUNT ERROR
 The command ? to list valid boot devices gives
 List of GEOM managed disk devices:
 cd0 ufsid/452b81499eec5ac8 ad0a acd0 ad0 fd0

Seems that your system is using a so-called dengerously dedicated
disk (mind ad0a).

 I've tried
 ufs:/dev/da0s1a
 and
 ufs:/dev/ad0s1a

Try ufs:/dev/ad0a

 With no luck
 Any suggestions on how to get booted?

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


Re: version

2010-05-12 Thread Coert

Lacsap Ona wrote:

Hello,
I would like to download the FreeBSD but am unsure which version to download. I 
have a Pentium dual core t4200 processor.

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



Hello Lacsap,

Check out the FreeBSD Handbook. It is the best place to get started.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Regards,
Coert
___
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: [#24493341] Disk can't be found, boot stops at mountroot

2010-05-12 Thread dedicated
Hi, 

Please let us know if there is anything which we can assist you with, thanks. 
-- 
Best Regards

Ramon
Server engineer
Hosting Services, Inc.

___
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: version

2010-05-12 Thread Sergio Tam
2010/5/11 Lacsap Ona lacsap...@ymail.com:
 Hello,

Hi welcome to the jungle :)

 I would like to download the FreeBSD but am unsure which version to download. 
 I have a Pentium dual core t4200 processor.


ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/8.0/


Dont forget read the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-hardware.html

Regards.
___
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: replies from mpcustomer.com

2010-05-12 Thread Eitan Adler
On Wed, May 12, 2010 at 2:35 AM, Adam Vande More amvandem...@gmail.com wrote:
 Recently, when posting to this list, I've been getting replies to my
 messages like below:  Any ideas what's going on?

As Chuck Swiger said this is just someone's childish prank. In the
future you could report problems like this to postmas...@freebsd.org
(make sure to include the full headers of the email). In this case it
has already been reported and it is being worked on.
___
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


What driver goes with what PCI device

2010-05-12 Thread Eitan Adler
I ran the following command and I was wondering how I could figure out
what drivers are needed for each of the following.

$pciconf -lv|grep -A 4 none
no...@pci0:0:31:3:  class=0x0c0500 card=0x3a1d17aa chip=0x29308086
rev=0x03 hdr=0x00
   vendor = 'Intel Corporation'
   device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
   class  = serial bus
   subclass   = SMBus
no...@pci0:2:0:0:   class=0x088000 card=0x3d9b17aa chip=0x2382197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   device = 'JMB38X SD/MMC Host Controller (JMB38X)'
   class  = base peripheral
no...@pci0:2:0:2:   class=0x080501 card=0x3d9a17aa chip=0x2381197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   class  = base peripheral
   subclass   = SD host controller
no...@pci0:2:0:3:   class=0x088000 card=0x3d9c17aa chip=0x2383197b
rev=0x00 hdr=0x00
   vendor = 'JMicron Technology Corp.'
   device = 'JMB38X MS Host Controller (JMB38X)'
   class  = base peripheral
___
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: version

2010-05-12 Thread Mark Stapper
On 12/05/2010 06:25, Lacsap Ona wrote:
 Hello,
 I would like to download the FreeBSD but am unsure which version to download. 
 I have a Pentium dual core t4200 processor.

 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
   
What do you mean by version.
Personally i'd get the amd64 version if that's what you mean.
ZFS works out of the box on it, even with low ram configuration.
greetz
Mark




signature.asc
Description: OpenPGP digital signature


7.3-RELEASE: unable to compile custom kernel

2010-05-12 Thread Antonio Kless
Hello. I trying to build custom kernel to enable packet-filter.

# uname -a
FreeBSD host.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 05:25:24 UTC
2010 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

# export
declare -x BLOCKSIZE=K
declare -x FTP_PASSIVE_MODE=YES
declare -x HISTCONTROL=ignorespace
declare -x HOME=/root
declare -x LOGNAME=root
declare -x MAIL=/var/mail/root
declare -x MC_CONTROL_FILE=/tmp/mc.822.control
declare -x MC_CONTROL_PID=822
declare -x OLDPWD=/usr/src/sys/amd64
declare -x PAGER=more
declare -x
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
declare -x PWD=/usr/src/sys/amd64/conf
declare -x SHELL=/usr/local/bin/bash
declare -x SHLVL=2
declare -x SSH_CLIENT=my ip
declare -x SSH_CONNECTION=my ip
declare -x SSH_TTY=/dev/ttyp0
declare -x TERM=xterm
declare -x USER=root

# pwd
/usr/src/sys/amd64/conf

# diff GENERIC
ALTERKERN

22c22

 ident
GENERIC

---

 ident
ALTERKERN

43c43

 options   NFS_ROOT# NFS usable as /, requires
NFSCLIENT

---

 #options  NFS_ROOT# NFS usable as /, requires
NFSCLIENT

76a77,92

 #
PF

 device  pf  # enable PF OpenBSD packet-filter
firewall

 device  pflog   # logging support interface for
PF

 device  pfsync  # Synchronization interface for
PF

 device  carp# Common Address Redundancy
Protocol



 # PF traffic
shaper

 options
ALTQ

 options ALTQ_CBQ# Class Bases
Queueing

 options ALTQ_RED# Random Early
Detection

 options ALTQ_RIO# RED
In/Out

 options ALTQ_HFSC   # Hierarchical Packet
Scheduler

 options ALTQ_CDNR   # Traffic
conditioner

 options ALTQ_PRIQ   # Priority
Queueing

 options ALTQ_NOPCC  # Required for SMP
build



238,252c254,268

 devicewlan# 802.11
support

 devicewlan_wep# 802.11 WEP
support

 devicewlan_ccmp   # 802.11 CCMP
support

 devicewlan_tkip   # 802.11 TKIP
support

 devicewlan_amrr   # AMRR transmit rate control
algorithm

 devicewlan_scan_ap# 802.11 AP mode
scanning

 devicewlan_scan_sta   # 802.11 STA mode scanning
 devicean  # Aironet 4500/4800 802.11 wireless
NICs.
 deviceath # Atheros pci/cardbus NIC's
 deviceath_hal # Atheros HAL (Hardware Access
Layer)
 options   AH_SUPPORT_AR5416   # enable AR5416 tx/rx
descriptors
 deviceath_rate_sample # SampleRate tx rate control for ath
 deviceawi # BayStack 660 and others
 deviceral # Ralink Technology RT2500 wireless
NICs.
 devicewi  # WaveLAN/Intersil/Symbol 802.11
wireless NICs.
---
 #device   wlan# 802.11 support
 #device   wlan_wep# 802.11 WEP support
 #device   wlan_ccmp   # 802.11 CCMP support
 #device   wlan_tkip   # 802.11 TKIP support
 #device   wlan_amrr   # AMRR transmit rate control
algorithm
 #device   wlan_scan_ap# 802.11 AP mode scanning
 #device   wlan_scan_sta   # 802.11 STA mode scanning
 #device   an  # Aironet 4500/4800 802.11 wireless
NICs.
 #device   ath # Atheros pci/cardbus NIC's
 #device   ath_hal # Atheros HAL (Hardware Access
Layer)
 #options  AH_SUPPORT_AR5416   # enable AR5416 tx/rx
descriptors
 #device   ath_rate_sample # SampleRate tx rate control for ath
 #device   awi # BayStack 660 and others
 #device   ral # Ralink Technology RT2500 wireless
NICs.
 #device   wi  # WaveLAN/Intersil/Symbol 802.11
wireless NICs.

# cd ../../../  make -j16 buildkernel KERNCONF=ALTERKERN
...snip...
=== zyd
(all)

cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/ALTERKERN/opt_global.h -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer
-I/usr/obj/usr/src/sys/ALTERKERN -mcmodel=kernel -mno-red-zone  -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c

ld  -d -warn-common -r -d -o if_zyd.ko.debug
if_zyd.o

:
export_syms

awk -f /usr/src/sys/conf/kmod_syms.awk if_zyd.ko.debug  export_syms | xargs
-J% objcopy %
if_zyd.ko.debug

Re: More than 8 partitions

2010-05-12 Thread Jon Theil Nielsen
2010/5/2 Christopher Key cj...@cam.ac.uk

 Jon Theil Nielsen wrote:
  2010/5/1 Christopher Key cj...@cam.ac.uk
 
 
  Jon Theil Nielsen wrote:
 
  Hi
 
  I'm running 8.0-Release on an external usb hard drive. and have
 dual-boot
  with FreeBSD on da0s2 and Windows XP on da0s1. I made a setup via
 
  Sysinstall
 
  with 7 partitions:
 
  /dev/da0s2a on / (ufs, local)
  /dev/da0s2b (swap)
  /dev/da0s2d on /var (ufs, local, soft-updates)
  /dev/da0s2e on /tmp (ufs, local, soft-updates)
  /dev/da0s2f on /usr (ufs, local, soft-updates)
  /dev/da0s2h on /var/log (ufs, local, soft-updates)
  /dev/da0s2g on /home (ufs, local, soft-updates)
 
  I have about 660 GB left unused on da0s2 that I would like to use for
  backups. But I can't figure out how to create one more partition.
  If i create a file for bsdlabel like
 
  #   sizeoffset  fstype
  i:  *   0   4.2BSD
 
  I get the following error message: line 2: partition name out of range
 
  a-h:
 
  i
  I have also tried with gpart:
 
  gpart add -s 500G -t freebsd -f x da0s2
 
  I get something like gpart: index '9': No space left on device
 
  I thought that 8.0 should support more than 8 partitions. Maybe it
 does,
 
  but
 
  then I don't know how to do.
  Any ideas?
 
 
 
  I believe that FreeBSD does support more than 8 partitions on a disk
  (apparently up to 20 using gpart), but that you need sufficient entries
  for these partitions to be created in the disklabel, viz.
 
  gpart create -n 20 ...
 
  Some testing seems to indicate that you can manually override this by
  changing by byte 0x28a of the disk from 0x08 to 0x14, and that bsdlabel
  / gpart will then allow you to create further partitions on the disk.
 
 
 
  Kind regards,
 
  Christopher Key
 
 
 
  Thanks Christopher
 
  I am not sure if I understand all of if. And I wouldn't like to wipe the
  drive to test if is possible to mass produce partitions like that.
 Could
  be useful in another situation, though.
 
  My knowlodge of GEOM and its utilities is very limited. Since I have
  succeded in creating the two slices with fdisk and subsequently populate
  them with bsdlabel, my only problem is how to create the last partition
 from
  the unpartioned space on da0s2. As mentioned in the beginning of this
 post,
  I have tried with both bsdlabel (from a file) and by issuing the gpart
 add
  command. With no luck. Would it be any help to give more specific about
 the
  drive/slice? The output of df -h | grep dev/da0 is:
 
  /dev/da0s2a   3.9G   630M2.9G17%/
  /dev/da0s2g97G   160K 89G 0%/home
  /dev/da0s2e   3.9G   129M3.4G 4%/tmp
  /dev/da0s2f48G   6.6G 38G15%/usr
  /dev/da0s2d   9.7G   151M8.8G 2%/var
  /dev/da0s2h   3.9G   1.5M3.6G 0%/var/log
 
  and of gpart show da0:
 
  = 0  1759551255  da0s2  BSD  (839G)
 0 1048576 - free -  (512M)
   1048576 8318064  2  freebsd-swap  (4.0G)
   9366640 7303168 - free -  (3.5G)
  16669808 8388608  1  freebsd-ufs  (4.0G)
  2505841620971520  4  freebsd-ufs  (10G)
  46029936 8388608  5  freebsd-ufs  (4.0G)
  54418544   104857600  6  freebsd-ufs  (50G)
 159276144   209715200  7  freebsd-ufs  (100G)
 936891344 8388608  8  freebsd-ufs  (4.0G)
 377379952  1382171303 - free -  (659G)
 
  and, finaly, of bsdlabel da0s2:
 
  # /dev/da0s2:
  8 partitions:
  #size offsetfstype   [fsize bsize bps/cpg]
  a:8388608   166698084.2BSD0 0 0
  b:83180641048576  swap
  c: 1759551255  0unused0 0 # raw part,
  don't edit
  d:   20971520   250584164.2BSD0 0 0
  e:8388608   460299364.2BSD0 0 0
  f:  104857600   544185444.2BSD0 0 0
  g:  209715200  1592761444.2BSD0 0 0
  h:8388608  3689913444.2BSD0 0 0
 
  In my desparate effort to understand these informations/data, i have put
  them into a spreadsheet and rearranged them - including some of my own
  calculations and assumptions.
 
  bsdlabel output - sorted by sector offset:
 
  #size   offset  (GB*)
  c   1.759.551.2550839
  b   8.318.0641.048.576  4
  a   8.388.608   16.669.808  4
  d  20.971.520   25.058.416 10
  e   8.388.608   46.029.936  4
  f 104.857.600   54.418.544 50
  g 209.715.200  159.276.144100
  h   8.388.608  368.991.344  4
 
  gpart show output - sorted by sector offset:
 
  (#) (size)(offset)   (GB)  (offset*)   (GiB*)(i)
  1.048.57600,5  01   free
   b  8.318.0641.048.576  4  1.048.5764  2
  7.303.1689.366.6403,5  9.366.6403   free
   a  8.388.608   16.669.808  4 

Re: More than 8 partitions

2010-05-12 Thread A. Wright




On 2010/5/2, Christopher Key cj...@cam.ac.uk wrote:


frhed.  Next write the data back to the disk:

dd if=/tmp/hdr of=/dev/da0s2



On 2010/5/12, Jon Theil Nielsen wrote:


obviously this is not the case. So I'll dd the existing partitions to
another drive, use gpart to create enough partitions and then dd the old
content back. I could easily use a standard disk layout, but the other
approach will add some to my FreeBSD knowledge..



Just pointing out a rabbit hole here . . .

You should be aware, too that if you want to _change_ the size
(or any of several other params) of the filesystem, you don't
really want dd, you want to dump(8) the filesystem and then use
restore(8) -- as the man page says, this is the only reliable
way to change various filesystem params.

Using dd will be fine only if the sizes and all other params are
to be identical (which is the case in Chris' comment, but not in
the general case).

Andrew.

___
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 : What driver goes with what PCI device

2010-05-12 Thread Alexandre L.
For the SMBus Controller, the driver you can load is : ichsmb

To load it every reboot :
#echo 'ichsmb_load=YES'  /boot/loader.conf

To load it one time : 
#kldload ichsmb

For the others drivers, I don't know.

--- En date de : Mer 12.5.10, Eitan Adler li...@eitanadler.com a écrit :

 De: Eitan Adler li...@eitanadler.com
 Objet: What driver goes with what PCI device
 À: questi...@freebsd.org
 Date: Mercredi 12 mai 2010, 8h03
 I ran the following command and I was
 wondering how I could figure out
 what drivers are needed for each of the following.
 
 $pciconf -lv|grep -A 4 none
 no...@pci0:0:31:3:      class=0x0c0500
 card=0x3a1d17aa chip=0x29308086
 rev=0x03 hdr=0x00
    vendor     = 'Intel
 Corporation'
    device     =
 '82801IB/IR/IH (ICH9 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
 no...@pci0:2:0:0:   
    class=0x088000 card=0x3d9b17aa
 chip=0x2382197b
 rev=0x00 hdr=0x00
    vendor     = 'JMicron
 Technology Corp.'
    device     = 'JMB38X
 SD/MMC Host Controller (JMB38X)'
    class      = base
 peripheral
 no...@pci0:2:0:2:   
    class=0x080501 card=0x3d9a17aa
 chip=0x2381197b
 rev=0x00 hdr=0x00
    vendor     = 'JMicron
 Technology Corp.'
    class      = base
 peripheral
    subclass   = SD host
 controller
 no...@pci0:2:0:3:   
    class=0x088000 card=0x3d9c17aa
 chip=0x2383197b
 rev=0x00 hdr=0x00
    vendor     = 'JMicron
 Technology Corp.'
    device     = 'JMB38X
 MS Host Controller (JMB38X)'
    class      = base
 peripheral
 ___
 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: More than 8 partitions

2010-05-12 Thread Jon Theil Nielsen
2010/5/12 A. Wright and...@qemg.org



  On 2010/5/2, Christopher Key cj...@cam.ac.uk wrote:

  frhed.  Next write the data back to the disk:

 dd if=/tmp/hdr of=/dev/da0s2



 On 2010/5/12, Jon Theil Nielsen wrote:

  obviously this is not the case. So I'll dd the existing partitions to
 another drive, use gpart to create enough partitions and then dd the old
 content back. I could easily use a standard disk layout, but the other
 approach will add some to my FreeBSD knowledge..



 Just pointing out a rabbit hole here . . .

 You should be aware, too that if you want to _change_ the size
 (or any of several other params) of the filesystem, you don't
 really want dd, you want to dump(8) the filesystem and then use
 restore(8) -- as the man page says, this is the only reliable
 way to change various filesystem params.

 Using dd will be fine only if the sizes and all other params are
 to be identical (which is the case in Chris' comment, but not in
 the general case).

 Andrew.

 Thanks again

That was a very good point. I think I'll wait until tomorrow. But I'll get
back here if I run into troubles. :-I

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


Opera 10.5 - bad looking fonts on printer

2010-05-12 Thread herbert langhans
Hi Daemons,
if I print from Opera via CUPS (Samsung ML 1610 on fileserver, CUPS client from 
workstation) I get very ugly results. The proportions of the letters dont fit, 
sometimes letters overlapping. No matter what font comes from the website to 
print - Opera chooses always this bad font, the font spacing is terrible.

Other programs like Abiword, OpenOffice a.s.o. print well.

My question: Does anybody have such troubles with BSD-Opera 10.5 too? Is there 
any font-port I have to install to get decent results? Is this a bug in the 
Opera BSD-port?

All ideas welcome - I have no clue whats causing this problems..

Thanks!
herb langhans

-- 
*** Herbert Langhans, Warschau
*** Sprachtraining Langhans
*** http://www.langhans.com.pl
*** herbert.raim...@gmx.net
*** NIP 526-229-61-51
*** Regon  014911759
*** Tel. 603 341 441
___
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 ISOs available at very fast download

2010-05-12 Thread David Voisin

Hi,



I work for a young company who developed a fast download platform for 
huge files (we mix central servers and pear to pear).
I convinced my managers to put some ISO files in the platform and leave 
them available free of charge.


So if you have users interested to download ISO very fast feel free to 
give them the download links.

Our webpage for FreeBSD :

http://linux-iso.voddnet.com/distribution.php?d=freebsd

We mainly focus on Linux but we wanted to put at least one BSD distribution.


The download links (you can put on any webpage) :

CD FreeBSD 8.0 i386  - 
 http://central-c-001.voddnet.com/command/servlet/Command?type=3client=4auto=trueoeuvre=499
CD FreeBSD 8.0 amd64  -  
http://central-c-001.voddnet.com/command/servlet/Command?type=3client=4auto=trueoeuvre=500



We can change and put the ISO you wish, as long as we still have enough 
disk space on our machines ;)

Any remark is welcomed.


Regards,


David

--
David Voisin
SAS VODDNET
Tél. : 04 99 64 33 76
Fax. : 04 99 64 33 76
Courriel : d.voi...@voddnet.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


Long I/O pauses on same mass storage

2010-05-12 Thread A. Wright


I have recently upgraded my system to 8.0, and in the
course of doing so, have migrated most filesystems
onto a new drive.

I have noticed, since the upgrade, several instances
where a very long pause occurs during which time one
or more process is in uninterruptible device wait.

This seems to most commonly happen when both reading
and writing tasks are active -- I am unsure whether 
reads writes must be in the same partition, or whether

two partitions on the same drive are sufficient.

These pauses are quite long, on the order of 10 seconds
or more, and happen during tasks that ran quite happily
before the upgrade (example: if doing a lengthy compile,
or subversion update, then opening an editor will hang
while attempting to open the executable).

As I am in the situation of switching from 7.2-8.0 and
at the same time using a new drive, I would like to
eliminate one of these from the equation first.  Before
I will be able to move on to chasing down the manufacturer
if the drive is faulty, I will need some good data.

While I will run some further tests here, I thought I would
ask:

Is anyone else seeing poor disk I/O scheduling or locking
behaviour in 8.0?

Is anyone aware of any of the filesytem changes that
have occurred since 7.2 that may explain this?

Does anyone have any thoughts on how to conclusively
prove that the drive is at fault?  I have not seen any
errors logged to dmesg.

Thanks,
Andrew.

___
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: md5(1) and cal(1)

2010-05-12 Thread Fredrik Henbjork

On 05/11/2010 06:47 AM, Warren Block wrote:


cal on FreeBSD 8 does highlight the current date.


And then we have ncal(1), which, besides highlighting of
the current day, also has the following nice features:

It starts the weeks on Monday.

It can print the number of the week below each week column.
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Adam Vande More
On Wed, May 12, 2010 at 8:46 AM, A. Wright and...@qemg.org wrote:


 I have recently upgraded my system to 8.0, and in the
 course of doing so, have migrated most filesystems
 onto a new drive.


Did you dd it across?  If so, that's kind of a no-no in some situtation as
the boundries won't be aligned resulting in slow disk.  You should use a
different tool like dump/restore.



 This seems to most commonly happen when both reading
 and writing tasks are active -- I am unsure whether reads writes must be in
 the same partition, or whether
 two partitions on the same drive are sufficient.


If this is one of them eco drives, you may wish to investigate things like
firmware updates etc.

You can also try using achi, it has quite a benefits including speed.  Make
sure to read up on it first.

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


Re: 8.0-RELEASE install freezes

2010-05-12 Thread Steve Bernacki
Following up on my original post, I went back and tried to install 
7.3-RELEASE.  The install once again hung right around the time when the 
system would normally announce Timecounters tick every xxx msec.


Since disabling ACPI and PnP doesn't seem to help, I'm wondering what 
might have changed between 6.x and 7.3 as it relates to the kernel 
bootstrapping process at this stage?  I am actually netbooting this 
install, so I have the ability to compile a custom kernel to troubleshoot 
this further.  I'd really like to install 8.0 on this hardware and get a 
few more years of life out of it.


Thanks,
Steve



On Fri, 30 Apr 2010, Steve Bernacki wrote:


Hi,

I have an ancient Pentium II 350Mhz system that I've used as a home firewall 
for several years.  I decided to try to upgrade it from 6.1 to 8.0 today, but 
I was unable to get the kernel to boot without freezing.  The point at which 
it froze was:


vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

Thinking it may be some ACPI related issue, I tried disabling ACPI in the 
kernel and from the boot prompt, but still no joy.  I also tried fiddling 
with the PnP BIOS settings with no luck.  Placing system into verbose logging 
mode, it gets as far as printing out:


Device configuration finished.
procfs registered

And then freezes, right before it normally displays the Timecounters tick 
every xxx msec line.


I have attached the full dmesg from the working 6.1 system.  I know it's a 
shot in the dark, but does anyone have any ideas or suggestions as to what I 
could do to try to get this thing to boot?  I've gotten many years of service 
out of this system, but I'd still like to squeeze out a few more.  :)


Thanks,
Steve


=== 6.1 dmesg ===

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006
   r...@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x665  Stepping = 5
 
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3
6,MMX,FXSR
real memory  = 268369920 (255 MB)
avail memory = 253128704 (241 MB)
kbd1 at kbdmux0
acpi0: 123456 AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff,0x4000-0x4041,0x5000-0x500f on 
acpi0

pci0: ACPI PCI bus on pcib0
agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xd000-0xd3ff 
at device

0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 3.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 UDMA33 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf0

00-0xf00f at device 7.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f irq 15 at 
device 7

.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: bridge at device 7.3 (no driver attached)
pcib2: PCI-PCI bridge at device 11.0 on pci0
pci2: PCI bus on pcib2
fxp0: Intel 82557 Pro/100 Ethernet port 0xd000-0xd01f mem 
0xd910-0xd9100fff,0xd7

00-0xd70f irq 11 at device 13.0 on pci2
miibus0: MII bus on fxp0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:a0:c9:1b:01:5c
dpt0: DPT Caching SCSI RAID Controller port 0xd400-0xd41f irq 10 at device 
14.0 on p

ci2
dpt0: DPT PM2044W FW Rev. 07M1, 1 channel, 64 CCBs
dpt0: [GIANT-LOCKED]
fxp1: Intel 82559 Pro/100 Ethernet port 0xe400-0xe43f mem 
0xd9301000-0xd9301fff,0xd9

00-0xd90f irq 15 at device 12.0 on pci0
miibus1: MII bus on fxp1
inphy0: i82555 10/100 media interface on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:50:bf:00:00:41
fxp2: Intel 82559 Pro/100 Ethernet port 0xe800-0xe83f mem 
0xd930-0xd9300fff,0xd9

20-0xd92f irq 11 at device 13.0 on pci0
miibus2: MII bus on fxp2
inphy1: i82555 10/100 media interface on miibus2
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:50:bf:00:00:42
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Standard parallel printer port port 

Re: 8.0-RELEASE install freezes

2010-05-12 Thread Adam Vande More
On Wed, May 12, 2010 at 9:15 AM, Steve Bernacki free...@f.copacetic.netwrote:

 Following up on my original post, I went back and tried to install
 7.3-RELEASE.  The install once again hung right around the time when the
 system would normally announce Timecounters tick every xxx msec.

 Since disabling ACPI and PnP doesn't seem to help, I'm wondering what might
 have changed between 6.x and 7.3 as it relates to the kernel bootstrapping
 process at this stage?  I am actually netbooting this install, so I have the
 ability to compile a custom kernel to troubleshoot this further.  I'd really
 like to install 8.0 on this hardware and get a few more years of life out of
 it.


Try updating the BIOS, and tweaking settings there.


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


Re: [#24493945] Long I/O pauses on same mass storage

2010-05-12 Thread dedicated
Hi,

Please check ticket 24493915 
-- 
Best Regards

Dennis
Server Engineer
Hosting Services, Inc.

___
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: user friendliest gui

2010-05-12 Thread Jean-Paul Natola

As for directions:

Use your choice of programming language to write a program that will 
call file(1) to determine filesystem, mount the device, virus scan, and 
unmount the device.  Display prompts and results with dialog(1).  Print 
results if desired.

I do not know any language, other than DOS , which is why I asked 


Configure devd.conf(5) to detect USB mass storage device connect and run 
the program.

This I know how to do

References:

file(1), dialog(1), devd.conf(5), mount_msdosfs(8), mount_ntfs(8), 
security/clamav[-devel]


___
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: 8.0-RELEASE install freezes

2010-05-12 Thread Steve Bernacki

On Wed, 12 May 2010, Adam Vande More wrote:


Try updating the BIOS, and tweaking settings there.



Hi Adam,

The BIOS is at it's latest version.  It is an ancient system, so perhaps 
it's time to just retire the hardware, but I didn't want to give up 
without poking at it a bit more.


Steve
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Mike Tancsa

At 09:46 AM 5/12/2010, A. Wright wrote:

While I will run some further tests here, I thought I would
ask:

Is anyone else seeing poor disk I/O scheduling or locking
behaviour in 8.0?


Hi,
On my backup server I am seeing somewhat better 
throughput/performance, at least with ZFS, but I have not done any 
rigorous comparisons.  Certainly nothing perceptible from userland




Is anyone aware of any of the filesytem changes that
have occurred since 7.2 that may explain this?


There are a lot, but then again the act of installing / upgrading 
could just mean you are now hitting bad sectors on the drive ?




Does anyone have any thoughts on how to conclusively
prove that the drive is at fault?  I have not seen any
errors logged to dmesg.


Start with smartmontools to ask your disk if it has logged any errors 
and check once a day or so to see if sectors are being remapped.


---Mike




Thanks,
Andrew.

___
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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


Re: 8.0-RELEASE install freezes

2010-05-12 Thread Adam Vande More
On Wed, May 12, 2010 at 9:46 AM, Steve Bernacki free...@f.copacetic.netwrote:


 The BIOS is at it's latest version.  It is an ancient system, so perhaps
 it's time to just retire the hardware, but I didn't want to give up without
 poking at it a bit more.


This may or may not apply your situation, but there are some tweaks there
which might help.

http://lists.freebsd.org/pipermail/freebsd-hackers/2010-April/031549.html

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


Re: glabel nor tunefs save my labels

2010-05-12 Thread Carl Johnson
Roland Smith rsm...@xs4all.nl writes:

 On Tue, May 11, 2010 at 07:46:57PM +0200, David DEMELIER wrote:
 2010/5/11 Roland Smith rsm...@xs4all.nl:
  On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote:
  Thanks for all your answers.
 
  mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f
  snip
  tunefs: volume label: (-L)                                 usr
 
  It's weird, as you can see the label is set but nothing in /dev/label,
  /dev/ufs, /dev/vol !
 
 
 Aaah ! So I understand everything now ! Is this written somewhere ?

 See §19.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, it is not 
 mentioned
 there that labels are removed when the partition is mounted. Maybe that
 behavior is recent?

I am not the original poster, but I tried again and I now am mostly
using labels and the labels are still showing in /dev/ufs/.  I didn't
have labels showing in /dev/ufs, but I changed fstab to what they
should be and rebooted.  The system came up using the labels and they
are showing in /dev/ufs/ and using 'glabel status'.

I say mostly because the /usr partition isn't recognized for some
reason, even though dumpfs and tunefs show the label.  That label is
also not shown in /dev/ufs or using 'glabel status'.  That made the
reboot a little tricky since I had to manually mount /usr in order to
get an editor to edit fstab to continue the boot.

-- 
Carl Johnsonca...@peak.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: user friendliest gui

2010-05-12 Thread Polytropon
On Wed, 12 May 2010 14:39:46 +, Jean-Paul Natola 
jnat...@familycareintl.org wrote:
 
 As for directions:
 
 Use your choice of programming language to write a program that will 
 call file(1) to determine filesystem, mount the device, virus scan, and 
 unmount the device.  Display prompts and results with dialog(1).  Print 
 results if desired.
 
 I do not know any language, other than DOS , which is why I asked 

Denial Of Service is a language? Where is it spoken,
in Kaputnikstan? :-)

If one would really want to go with X, Tcl/Tk, as it has been
mentioned by others (and me), is a good way to go. There are
helpful examples installed when you install it on your system.
It's a very easy to learn, but still powerful scripting language
that very well interacts with command line processing. Just
look at the examples, you'll find much inspiration there.

For text mode and using dialog (as for example sysinstall does),
it's another easy way to go, because you can entirely keep your
scripting in /bin/sh syntax and don't need much dependencies.
Furthermore, you have a portable solution. No special needs for
a high-end GPU and an appropriate driver. Even a 100 MHz box
with a 2 GB hard disk could then be used for this particular
job. You could even attach a simple dotmatrix line printer for
printing the receipt. :-)





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


Re: glabel nor tunefs save my labels

2010-05-12 Thread Roland Smith
On Wed, May 12, 2010 at 09:35:08AM -0700, Carl Johnson wrote:
 Roland Smith rsm...@xs4all.nl writes:
 
  On Tue, May 11, 2010 at 07:46:57PM +0200, David DEMELIER wrote:
  2010/5/11 Roland Smith rsm...@xs4all.nl:
   On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote:
   Thanks for all your answers.
  
   mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f
   snip
   tunefs: volume label: (-L)                                 usr
  
   It's weird, as you can see the label is set but nothing in /dev/label,
   /dev/ufs, /dev/vol !
  
  
  Aaah ! So I understand everything now ! Is this written somewhere ?
 
  See §19.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, it is 
  not mentioned
  there that labels are removed when the partition is mounted. Maybe that
  behavior is recent?
 
 I am not the original poster, but I tried again and I now am mostly
 using labels and the labels are still showing in /dev/ufs/.  I didn't
 have labels showing in /dev/ufs, but I changed fstab to what they
 should be and rebooted.  The system came up using the labels and they
 are showing in /dev/ufs/ and using 'glabel status'.

When I did my testing, I did not reboot the system. Maybe that is the 
difference?

 I say mostly because the /usr partition isn't recognized for some
 reason, even though dumpfs and tunefs show the label.  That label is
 also not shown in /dev/ufs or using 'glabel status'.  That made the
 reboot a little tricky since I had to manually mount /usr in order to
 get an editor to edit fstab to continue the boot.

That is odd indeed. Maybe a misspelling in the label? Anything in dmesg or
/var/log/messages.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpdBZjBu5aBi.pgp
Description: PGP signature


Re: user friendliest gui

2010-05-12 Thread Kurt Buff
On Wed, May 12, 2010 at 10:02, Polytropon free...@edvax.de wrote:
 On Wed, 12 May 2010 14:39:46 +, Jean-Paul Natola 
 jnat...@familycareintl.org wrote:

 As for directions:

 Use your choice of programming language to write a program that will
 call file(1) to determine filesystem, mount the device, virus scan, and
 unmount the device.  Display prompts and results with dialog(1).  Print
 results if desired.

 I do not know any language, other than DOS , which is why I asked

 Denial Of Service is a language? Where is it spoken,
 in Kaputnikstan? :-)

No, Denial of Service would be DoS. He's talking about Disk Operating
System. Funny, though.

snip
___
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: user friendliest gui

2010-05-12 Thread Polytropon
On Wed, 12 May 2010 10:47:24 -0700, Kurt Buff kurt.b...@gmail.com wrote:
 No, Denial of Service would be DoS. He's talking about Disk Operating
 System. Funny, though.

Well, and Disk Operating System is a language then? :-)

Okay okay, of course I knew that he was refering to batch
programming with DOS commands when using DOS as a language.
When people mention DOS, I fist think about DOS/360 and
afterwards about DOS (as CP/M successor) implementations
for the PC. Shows how old I am. :-)

Anyway, a bit of DOS batch programming experience helps
people intending to write a /bin/sh shell script, and if
this task is done, a GUI wrapper, either using text mode
with dialog, or using Tcl/Tk in X is quite easy.


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


Re: user friendliest gui

2010-05-12 Thread Kurt Buff
On Wed, May 12, 2010 at 11:58, Polytropon free...@edvax.de wrote:
 On Wed, 12 May 2010 10:47:24 -0700, Kurt Buff kurt.b...@gmail.com wrote:
 No, Denial of Service would be DoS. He's talking about Disk Operating
 System. Funny, though.

 Well, and Disk Operating System is a language then? :-)

 Okay okay, of course I knew that he was refering to batch
 programming with DOS commands when using DOS as a language.
 When people mention DOS, I fist think about DOS/360 and
 afterwards about DOS (as CP/M successor) implementations
 for the PC. Shows how old I am. :-)

We might be of similar ages. :)

 Anyway, a bit of DOS batch programming experience helps
 people intending to write a /bin/sh shell script, and if
 this task is done, a GUI wrapper, either using text mode
 with dialog, or using Tcl/Tk in X is quite easy.

Absolutely.

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


Re: Long I/O pauses on same mass storage

2010-05-12 Thread A. Wright

On Wed, 12 May 2010, Mike Tancsa wrote:


At 09:46 AM 5/12/2010, A. Wright wrote:

Does anyone have any thoughts on how to conclusively
prove that the drive is at fault?  I have not seen any
errors logged to dmesg.


Start with smartmontools to ask your disk if it has logged any errors
and check once a day or so to see if sectors are being remapped.


Thanks for the tip.

So I ran the short test, and am now running the long test.  After
the short test, I have been examining the output (using smartctl -a),
and there seem to be no errors reports.

I just noticed, however, the following two interesting lines that
/var/log/messages seems to have acquired:
May 12 15:44:00 qemg kernel: ad8: FAILURE - SMART status=51READY,DSC,ERROR 
error=4ABORTED
May 12 16:05:27 qemg kernel: swap_pager: indefinite wait buffer: 
bufobj: 0, blkno: 294, size: 8192

The first dates from the point at which I turned on SMART data logging.
The second one, however looks more interesting to me -- am I correct
in thinking that there is no good reason why the swap_pager error
would appear, aside from some sort of hardware related failure?

Thanks,
Andrew.

___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Chuck Swiger
Hi--

On May 12, 2010, at 12:48 PM, A. Wright wrote:
 So I ran the short test, and am now running the long test.  After
 the short test, I have been examining the output (using smartctl -a),
 and there seem to be no errors reports.

Show us the output of smartctl -a...?  It can be a bit difficult to interpret 
the results until you've gotten some practice

Regards,
-- 
-Chuck

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


Re: Long I/O pauses on same mass storage

2010-05-12 Thread Mike Tancsa

At 03:48 PM 5/12/2010, A. Wright wrote:


I just noticed, however, the following two interesting lines that
/var/log/messages seems to have acquired:
May 12 15:44:00 qemg kernel: ad8: FAILURE - SMART 
status=51READY,DSC,ERROR error=4ABORTED
May 12 16:05:27 qemg kernel: swap_pager: indefinite wait 
buffer: bufobj: 0, blkno: 294, size: 8192



The first dates from the point at which I turned on SMART data logging.
The second one, however looks more interesting to me -- am I correct
in thinking that there is no good reason why the swap_pager error
would appear, aside from some sort of hardware related failure?


When I see errors from the OS, but not on the actual disk itself, 
apart from driver errors (relatively rare on FreeBSD) it can be a 
cable issue or bad SATA port.


But as chuck said, post all of the output from smartctl -a

---Mike

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


Re: Long I/O pauses on same mass storage

2010-05-12 Thread Andrew Hamilton-Wright


Sorry to follow myself up . . .

On Wed, 12 May 2010, A. Wright wrote:


I just noticed, however, the following two interesting lines that
/var/log/messages seems to have acquired:
May 12 15:44:00 qemg kernel: ad8: FAILURE - SMART status=51READY,DSC,ERROR 
error=4ABORTED
May 12 16:05:27 qemg kernel: swap_pager: indefinite wait buffer: 
bufobj: 0, blkno: 294, size: 8192



It turns out that dmesg output has a number of these, scattered over the
last day; there were a bunch at 02:30 this morning; which at least
indicates that the SMART logging has triggered this behaviour.

A.

___
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: Long I/O pauses on same mass storage

2010-05-12 Thread A. Wright

On Wed, 12 May 2010, Chuck Swiger wrote:


Hi--

On May 12, 2010, at 12:48 PM, A. Wright wrote:

So I ran the short test, and am now running the long test.  After
the short test, I have been examining the output (using smartctl -a),
and there seem to be no errors reports.


Show us the output of smartctl -a...?  It can be a bit difficult to interpret 
the results until you've gotten some practice



Here is it, in all its glory -- note that the long test is still
in progress.

Andrew.


smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 8.0-RELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: WDC WD15EARS-00S8B1
Serial Number:WD-WCAVY2700359
Firmware Version: 80.00A80
User Capacity:1,500,301,910,016 bytes
Device is:Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Wed May 12 17:26:28 2010 ADT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x85) Offline data collection activity
was aborted by an interrupting command 
from host.
Auto Offline Data Collection: Enabled.
Self-test execution status:  ( 248) Self-test routine in progress...
80% of test remaining.
Total time to complete Offline 
data collection: 		 (29400) seconds.

Offline data collection
capabilities:(0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.

Extended self-test routine
recommended polling time:( 255) minutes.
Conveyance self-test routine
recommended polling time:(   5) minutes.
SCT capabilities:  (0x3031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x002f   200   200   051Pre-fail  Always   
-   0
  3 Spin_Up_Time0x0027   151   147   021Pre-fail  Always   
-   9441
  4 Start_Stop_Count0x0032   100   100   000Old_age   Always   
-   12
  5 Reallocated_Sector_Ct   0x0033   200   200   140Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x002e   200   200   000Old_age   Always   
-   0
  9 Power_On_Hours  0x0032   100   100   000Old_age   Always   
-   383
 10 Spin_Retry_Count0x0032   100   253   000Old_age   Always   
-   0
 11 Calibration_Retry_Count 0x0032   100   253   000Old_age   Always   
-   0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always   
-   11
192 Power-Off_Retract_Count 0x0032   200   200   000Old_age   Always   
-   10
193 Load_Cycle_Count0x0032   189   189   000Old_age   Always   
-   4
194 Temperature_Celsius 0x0022   108   106   000Old_age   Always   
-   44
196 Reallocated_Event_Count 0x0032   200   200   000Old_age   Always   
-   0
197 Current_Pending_Sector  0x0032   200   200   000Old_age   Always   
-   0
198 Offline_Uncorrectable   0x0030   200   200   000Old_age   Offline  
-   0
199 UDMA_CRC_Error_Count0x0032   200   200   000Old_age   Always   
-   0
200 Multi_Zone_Error_Rate   0x0008   200   200   000Old_age   Offline  
-   0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  

Re: Mixing different versions of PHP extensions

2010-05-12 Thread Toomas Aas

T, 11 mai 2010 kirjutas Antonio Kless antoniok@gmail.com:


2010/5/11 Toomas Aas toomas@raad.tartu.ee



Is it possible to rebuild just the php52-gd extension to a newer version of
php52-gd-5.2.13 and have it working with existing php5-5.2.9 and all the
existing extensions, or would it be asking for trouble?



It is possible as a interim measure, but to have your ports in tip-top state
and to not to have any troubles with dependencies, you have to have the same
versions of php and all of it's extensions.



I tried it out and it seems to work indeed. This is big help in my  
situations, because now I can split one big software upgrade on a  
production server into two smaller, more manageable ones.


--
Toomas Aas
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Mike Tancsa

At 04:27 PM 5/12/2010, A. Wright wrote:
=== START OF INFORMATION SECTION ===

Device Model: WDC WD15EARS-00S8B1
Serial Number:WD-WCAVY2700359


Isnt that one of those Western Digital Green drives ? I seem to 
recall a number of people complaining about similar issues where the 
drive stalls. Perhaps a firmware update ? Or perhaps a way to disable 
the power saving/spin down features ?  Is your controller set to 
AHCI, or regular SATA. what does /var/run/dmesg.boot show ?



---Mike






Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


Why doesn't this startup script run?

2010-05-12 Thread Andy Dills

I'm working on integrating p0f with amavisd-new, and the command I need 
to run at startup is a little unwieldy:

p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 

At first, I tried putting that in /etc/rc.local. No luck, don't know why 
it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
second and make a simple rc.d script.

So, I made /usr/local/etc/rc.d/p0fd containing:

---

#!/bin/sh
#

. /etc/rc.subr

name=p0f
rcvar=`set_rcvar`

command=/usr/local/bin/p0f
command_args=-l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
pidfile=/var/run/$name.pid

# read configuration and set defaults
load_rc_config $name
: ${p0f_enable=NO}

run_rc_command $1

---

If I run /usr/local/etc/rc.d/p0fd start it fires right up. However, it 
still continues to refuse to run on boot.

Any suggestions?

(yes, it's executable, and yes I have p0f_enable=YES in rc.conf)

Thanks,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Adam Vande More
On Wed, May 12, 2010 at 3:49 PM, Mike Tancsa m...@sentex.net wrote:

 At 04:27 PM 5/12/2010, A. Wright wrote:
 === START OF INFORMATION SECTION ===

 Device Model: WDC WD15EARS-00S8B1
 Serial Number:WD-WCAVY2700359


 Isnt that one of those Western Digital Green drives ? I seem to recall a
 number of people complaining about similar issues where the drive stalls.
 Perhaps a firmware update ? Or perhaps a way to disable the power
 saving/spin down features ?  Is your controller set to AHCI, or regular
 SATA. what does /var/run/dmesg.boot show ?



In addition to what I pointed out earlier, I believe that is also a 4k
sector drive.  You'll need to align your partitions accordingly.


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


Re: Why doesn't this startup script run?

2010-05-12 Thread Yuri Pankov
On Wed, May 12, 2010 at 04:20:12PM -0400, Andy Dills wrote:
 
 I'm working on integrating p0f with amavisd-new, and the command I need 
 to run at startup is a little unwieldy:
 
 p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
 
 At first, I tried putting that in /etc/rc.local. No luck, don't know why 
 it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
 second and make a simple rc.d script.
 
 So, I made /usr/local/etc/rc.d/p0fd containing:
 
 ---
 
 #!/bin/sh
 #

Quoting rc(8):
Each script should contain rcorder(8) keywords, especially an appropriate
“PROVIDE” entry, and if necessary “REQUIRE” and “BEFORE” keywords.

 
 . /etc/rc.subr
 
 name=p0f
 rcvar=`set_rcvar`
 
 command=/usr/local/bin/p0f
 command_args=-l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
 
 pidfile=/var/run/$name.pid
 
 # read configuration and set defaults
 load_rc_config $name
 : ${p0f_enable=NO}
 
 run_rc_command $1
 
 ---
 
 If I run /usr/local/etc/rc.d/p0fd start it fires right up. However, it 
 still continues to refuse to run on boot.
 
 Any suggestions?
 
 (yes, it's executable, and yes I have p0f_enable=YES in rc.conf)
 
 Thanks,
 Andy
 
 ---
 Andy Dills
 Xecunet, Inc.
 www.xecu.net
 301-682-9972
 ---

Yuri
___
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 doesn't this startup script run?

2010-05-12 Thread Andy Dills
On Thu, 13 May 2010, Yuri Pankov wrote:

 On Wed, May 12, 2010 at 04:20:12PM -0400, Andy Dills wrote:
  
  I'm working on integrating p0f with amavisd-new, and the command I need 
  to run at startup is a little unwieldy:
  
  p0f -l 'tcp dst port 25' 21 | /usr/local/bin/p0f-analyzer.pl 2345 
  
  At first, I tried putting that in /etc/rc.local. No luck, don't know why 
  it doesn't run. Ok, I tell myself, rc.local is a dinosaur anyway, take a 
  second and make a simple rc.d script.
  
  So, I made /usr/local/etc/rc.d/p0fd containing:
  
  ---
  
  #!/bin/sh
  #
 
 Quoting rc(8):
 Each script should contain rcorder(8) keywords, especially an appropriate
 “PROVIDE” entry, and if necessary “REQUIRE” and “BEFORE” keywords.

Thanks for the reply.

I added this to the script (and renamed it p0f instead of p0fd):

# PROVIDE: p0f
# REQUIRE: LOGIN
# BEFORE:  securelevel
# KEYWORD: shutdown

It did not change the result, it still fails to start on boot, and still 
works if I call /usr/local/etc/rc.d/p0f start once I login to the box 
after it boots. Any other suggestions?

I have to assume it has something to do with either the redirection of 
stdout and stderr to a script that is then backgrounded? If I do something 
that doesn't involve all of that, it starts fine on boot.

How do I correct this? Earlier attempts went as far as to make a script to 
start the process, and then call the script from /etc/rc.local. I even 
tried doing a /usr/local/etc/rc.d/p0f start in /etc/rc.local. Nothing 
works until I go in and run the startup script by hand.

Thanks,
Andy

---
Andy Dills
Xecunet, Inc.
www.xecu.net
301-682-9972
---___
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: user friendliest gui

2010-05-12 Thread Jean-Paul Natola

Anyway, a bit of DOS batch programming experience helps
people intending to write a /bin/sh shell script, and if
this task is done, a GUI wrapper, either using text mode
with dialog, or using Tcl/Tk in X is quite easy.

Don't mean to sound TOO ignorant, but which Tcl should I be installing?
This one?
/usr/ports/lang/p5-Tcl


___
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: user friendliest gui

2010-05-12 Thread Eitan Adler
 Don't mean to sound TOO ignorant, but which Tcl should I be installing?
 This one?
 /usr/ports/lang/p5-Tcl

p5-Tcl is the perl interface for Tcl. Try lang/tcl86
___
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/libassuan's distinfo missing something ?

2010-05-12 Thread Leon Meßner
Hi,
as a dependency to gnupg i tried to install security/libassuan and
noticed that Makefile's verify section contains a reference to a .sig
file which isn't in the distinfo. There are ongoing pr's about this port
(ports/144186). Though i don't think this is related this pr would
perhaps fix this issue too. The error i get is:

===   gnupg-2.0.14_1 depends on package: libassuan=1.0.4 - not found
===Verifying install for libassuan=1.0.4 in
/usr/ports/security/libassuan
===  Vulnerability check disabled, database not found
= libassuan-1.0.5.tar.bz2.sig is not in
/basejail/usr/ports/security/libassuan/distinfo.
= Either /basejail/usr/ports/security/libassuan/distinfo is out of
date, or
= libassuan-1.0.5.tar.bz2.sig is spelled incorrectly.
*** Error code 1

Did anyone run into this problem ?

TIA,
Leon


pgpDxxxlSJ44W.pgp
Description: PGP signature


Re: Opera 10.5 - bad looking fonts on printer

2010-05-12 Thread Steve Franks
Same thing happens in firefox.  Sometimes I open a word doc in abiword
and get a similar issue, the solution is to select all and change the
font to Bitstream or something open-source, I suspect the issues may
be similar, but I have no idea how to get micro$oft fonts into bsd, or
how to change opera/firefox's font.  could be totally unrelated too.
it's been around a long time, must be an issue no one else has - did
you build operta from ports or download the package?  Maybe some magic
needs to go in /etc/make.conf - that's the only way half the ports
will work with cups at all; doesn't fix firefox, however.

Good luck with that.  There are certain things FreeBSD is bad at
fixing, and they all relate to the desktop.  Had to put Fedora on my
notebooks so I could sleep them reliably.  Still use BSD when I can
though (desktops, servers).

Steve



On Wed, May 12, 2010 at 5:17 AM, herbert langhans
herbert.raim...@gmx.net wrote:
 Hi Daemons,
 if I print from Opera via CUPS (Samsung ML 1610 on fileserver, CUPS client 
 from workstation) I get very ugly results. The proportions of the letters 
 dont fit, sometimes letters overlapping. No matter what font comes from the 
 website to print - Opera chooses always this bad font, the font spacing is 
 terrible.

 Other programs like Abiword, OpenOffice a.s.o. print well.

 My question: Does anybody have such troubles with BSD-Opera 10.5 too? Is 
 there any font-port I have to install to get decent results? Is this a bug in 
 the Opera BSD-port?

 All ideas welcome - I have no clue whats causing this problems..

 Thanks!
 herb langhans

 --
 *** Herbert Langhans, Warschau
 *** Sprachtraining Langhans
 *** http://www.langhans.com.pl
 *** herbert.raim...@gmx.net
 *** NIP 526-229-61-51
 *** Regon  014911759
 *** Tel. 603 341 441
 ___
 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


can't access FreeBSD boot CD data (but can boot just fine) using IP KVM fake drives

2010-05-12 Thread George Sanders
Most modern IP KVMs allow you to specify a ISO image, and they will feed it to 
the computer via USB and allow you to boot arbitrary cds.

However, I notice problems in both standard FreeBSD install discs and 
FreeBSD-based live CDs, wherein the CD will boot and run just fine, but when it 
comes time to read data off of the CD, the running system cannot access it.

So, for instance, I boot with my KVM attached and I see this in dmesg:

ums0: Startech.com server remote control 
device_attach: ums0 attach returned 6

and the system continues booting, but then:

[*] Extracting filesystems
/dist/mountcd: Can't open /dist/mountcd: No such file or directory
[*] Error Extracting Filesystems

(this was with ROFreeSBIE)

With the plain old FreeBSD disc 1, I can go all the way through the install, 
but I cannot choose CD/DVD as install media, I have to ue the FTP option ... 
somehow I can boot up and use the install CD, but I cannot read any data on it.

... so my question is:

What flags/options/whatever can I feed the booting CD, in the loader, to tell 
it just keep using that same old USB CD  ?

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: glabel nor tunefs save my labels

2010-05-12 Thread Carl Johnson
Roland Smith rsm...@xs4all.nl writes:

 On Wed, May 12, 2010 at 09:35:08AM -0700, Carl Johnson wrote:
 Roland Smith rsm...@xs4all.nl writes:
 
  On Tue, May 11, 2010 at 07:46:57PM +0200, David DEMELIER wrote:
  2010/5/11 Roland Smith rsm...@xs4all.nl:
   On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote:
   Thanks for all your answers.
  
   mark...@melon ~ $ sudo tunefs -p /dev/ad0s1f
   snip
   tunefs: volume label: (-L)                                 usr
  
   It's weird, as you can see the label is set but nothing in /dev/label,
   /dev/ufs, /dev/vol !
  
  
  Aaah ! So I understand everything now ! Is this written somewhere ?
 
  See §19.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, it is 
  not mentioned
  there that labels are removed when the partition is mounted. Maybe that
  behavior is recent?
 
 I am not the original poster, but I tried again and I now am mostly
 using labels and the labels are still showing in /dev/ufs/.  I didn't
 have labels showing in /dev/ufs, but I changed fstab to what they
 should be and rebooted.  The system came up using the labels and they
 are showing in /dev/ufs/ and using 'glabel status'.

 When I did my testing, I did not reboot the system. Maybe that is
 the difference?

It might be, but I had rebooted more than once previously.  This time
I mounted them using the labels, so maybe *that* is the difference.  I
have another system running in VirtualBox from Linux (this one is not
a virtual machine) and I don't remember having any similar problems
with labels on it.  It doesn't make sense to me so I really don't
know.

 I say mostly because the /usr partition isn't recognized for some
 reason, even though dumpfs and tunefs show the label.  That label is
 also not shown in /dev/ufs or using 'glabel status'.  That made the
 reboot a little tricky since I had to manually mount /usr in order to
 get an editor to edit fstab to continue the boot.

 That is odd indeed. Maybe a misspelling in the label? Anything in dmesg or
 /var/log/messages.

I have checked many times and can't find anything different about that
FS compared with the others.  It isn't a misspelling because there
isn't anything in /dev/ufs except the other 4 labels that I am already
using.  There is nothing in the logs except the boot error in dmesg
when it couldn't find /usr to mount it.

The system works so I am not really worried about it.  It just
irritates me when I can't get things to work as I think they should.
-- 
Carl Johnsonca...@peak.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: Long I/O pauses on same mass storage

2010-05-12 Thread Chuck Swiger
Hi--

On May 12, 2010, at 1:27 PM, A. Wright wrote:
  9 Power_On_Hours  0x0032   100   100   000Old_age   Always   
 -   383
 10 Spin_Retry_Count0x0032   100   253   000Old_age   Always   
 -   0
 11 Calibration_Retry_Count 0x0032   100   253   000Old_age   Always   
 -   0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always   
 -   11
 192 Power-Off_Retract_Count 0x0032   200   200   000Old_age   Always  
  -   10
 193 Load_Cycle_Count0x0032   189   189   000Old_age   Always  
  -   4

Thanks for real data to work from.

There's no signs of surface failure with high reallocated sectors or anything, 
but your drive is parking it's heads nearly 100 times an hour.  Someone else 
suggested this was a green firmware drive, so it might be spinning down and 
so forth trying to save power, and the OS is complaining because it takes a 
while to spin back up and become online.

I've heard rumors that there exists an WDIDLE utility which might be able to 
tweak the firmware which might help.
 
Regards,
-- 
-Chuck

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


Re: File system

2010-05-12 Thread Craig Whipp
On Mon, May 10, 2010 10:53 am, Nikos Vassiliadis wrote:
 Ansar Mohammed wrote:
 Hello All,
 I have a FreeBSD VM running. Whenever I reboot the VM without a clean
 shutdown it boots into single user mode and I have to run fsck.

 When I run fsck, the file system clearly has issues.

 Is there any way to have FreeBSD run on a better file system that wont
 crap
 out on me everytime I do and unclean shutdown?

 I am really surprised no one proposed geom journaling. With gjournal,
 I never had to do a manual full fsck and have had plenty of unclean
 shutdowns. I also occasionally do fsck the filesystem and there were
 no errors ever found. It definitely adds the ease factor I am looking
 for in a journaling sollution in the case of an unclean shutdown...


Correct me if I'm wrong, but since this FreeBSD install is running inside
of a VM, in addition to any of the precautions suggested here to get data
written or journaled to the disk as safely as possible, isn't there still
the issue of whether the VM actuall commits these writes to the physical
disk?


___
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: Long I/O pauses on same mass storage

2010-05-12 Thread A. Wright

On Wed, 12 May 2010, Adam Vande More wrote:


On Wed, May 12, 2010 at 3:49 PM, Mike Tancsa 
m...@sentex.netmailto:m...@sentex.net wrote:
At 04:27 PM 5/12/2010, A. Wright wrote:
=== START OF INFORMATION SECTION ===
Device Model: WDC WD15EARS-00S8B1
Serial Number:WD-WCAVY2700359

Isnt that one of those Western Digital Green drives ? I seem
to recall a number of people complaining about similar issues
where the drive stalls. Perhaps a firmware update ? Or perhaps a
way to disable the power saving/spin down features ?  Is your
controller set to AHCI, or regular SATA. what does
/var/run/dmesg.boot show ?


This is indeed one of the so-called eco drives.

The controller is set to SATA (no mention of ahci, though I will
now look at it as suggested earlier to see if I can control the
problem that way).



In addition to what I pointed out earlier, I believe that is
also a 4k sector drive.  You'll need to align your partitions
accordingly.


As far as I can tell, it is a standard 512 byte sector.  The
general lack of documentation with this drive (shipped in a
plastic coffin -- the only docs supplied with it were the
label itself), but on the WD site, they indicate:
Formatted Capacity  1500301 MB
Used Sectors Per Drive  2930277168

Assuming a megabyte is 10^6 bytes, as is standard with
storage vendors
(1500301 * 1000 * 1000) / 2930277168 = 511.99968

So it appears that at least I don't have *that* particular
problem.

Thanks for the suggestions; I had not looked at AHCI before,
and it may well be part of my ticket out of this problem.

A.
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread A. Wright

On Wed, 12 May 2010, Chuck Swiger wrote:



Thanks for real data to work from.


Thanks for the assistance!



There's no signs of surface failure with high reallocated
sectors or anything, but your drive is parking it's heads nearly
100 times an hour.  Someone else suggested this was a green
firmware drive, so it might be spinning down and so forth
trying to save power, and the OS is complaining because it takes
a while to spin back up and become online.


Thanks for reading the tea-leaves for me and pointing that out.

I'm sure that that is the problem, as this would explain all the
symptoms, as I am guessing that quite a large I/O queue can be
generated if it is insisting on going into park that often.



I've heard rumors that there exists an WDIDLE utility which
might be able to tweak the firmware which might help.


I will look into it, and see if there is a path out of the
woods here.  I'll report back once something else is known.


Thanks all, for the help.

A.

___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Adam Vande More
On Wed, May 12, 2010 at 6:21 PM, A. Wright and...@qemg.org wrote:

 This is indeed one of the so-called eco drives.

 The controller is set to SATA (no mention of ahci, though I will
 now look at it as suggested earlier to see if I can control the
 problem that way).



  In addition to what I pointed out earlier, I believe that is
 also a 4k sector drive.  You'll need to align your partitions
 accordingly.


 As far as I can tell, it is a standard 512 byte sector.  The
 general lack of documentation with this drive (shipped in a
 plastic coffin -- the only docs supplied with it were the
 label itself), but on the WD site, they indicate:
Formatted Capacity  1500301 MB
Used Sectors Per Drive  2930277168


As I understand it, all the 64MB EARS model drive have the WD Advanced
Format eg 4k sectors.  I don't have one and I'm pulling this (from the
depths of memory || out of my ass), but I think those drives also have
something funky going on where they report normal 512 sector when in fact
they do have 4k ones.  Either way, it wouldn't hurt to align on 1MB
boundaries.


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


Re: ml110 g6

2010-05-12 Thread Brandon Gooch
On Wed, May 12, 2010 at 11:49 AM, captainhastings captainhastings
ccaptainhastings...@googlemail.com wrote:
 Hello I have bought an intel 110 g6 server with intel quad core cpu. It is a
 64bit machine. Do I use the amd64 iso even though its intel ?

Quick answer: Sure.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/compatibility-processors.html

Longer answer:

FreeBSD has excellent documentation:

http://www.freebsd.org/docs.html

A good place to start is the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Please don't hesitate to read it as you attempt to install and
configure FreeBSD and all of the wonderful additional software
available in the ports system. After you've successfully completed the
install, read it again -- and review :)

There is much to learn, but the journey is well worth it. Plus, I
believe you'll have a lot of FUN along the way...

Also, you probably want to check out the freebsd-questions@freebsd.org
mailing list, it's a great place to get information and answers
regarding general FreeBSD items and issues.

Good Luck!

-Brandon
___
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: Long I/O pauses on same mass storage

2010-05-12 Thread Andrew Hamilton-Wright

On Wed, 12 May 2010, Adam Vande More wrote:


On Wed, May 12, 2010 at 6:21 PM, A. Wright 
and...@qemg.orgmailto:and...@qemg.org wrote:



 As far as I can tell, it is a standard 512 byte sector.  The
 general lack of documentation with this drive (shipped in a
 plastic coffin -- the only docs supplied with it were the
 label itself), but on the WD site, they indicate:
   Formatted Capacity  1500301 MB
   Used Sectors Per Drive  2930277168

As I understand it, all the 64MB EARS model drive have the WD
Advanced Format eg 4k sectors.  I don't have one and I'm pulling
this (from the depths of memory || out of my ass), but I think
those drives also have something funky going on where they
report normal 512 sector when in fact they do have 4k ones.
Either way, it wouldn't hurt to align on 1MB boundaries.


I just got confirmation back from WD, and your nether regions
are correct -- this _is_ a 4096 byte sector drive.  I have
suggested to WD that they may wish to mention this salient
fact somewhere.

Thanks again,
Andrew.

___
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 force end-of-line in man page source

2010-05-12 Thread Fbsd1

Thomas Dickey wrote:

On Tue, May 11, 2010 at 01:36:20PM +0800, Fbsd1 wrote:
I don't like the way some lines in the man page have the last word in 
the sentence broken in 2 and hyphenated. Is there some escape code I can 
put at the end of the line in the source code to suppress this?


You can generally override the hyphenation mode with

.hy 0


Thank You very much.
That works.
But it is only in effect for one section header .Sh command.
I added the .hy 0 (0 is zero) command after each .Sh command in the man 
page and it looks so much better now.

___
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: X is broken after upgrade

2010-05-12 Thread Colin Albert

Jamie Griffin wrote:

If you have moused enabled, you can select text with the left
mouse button, and insert text with the middle mouse button.
If you don't have a middle mouse button, press the wheel down.
If you don't have a wheel, press the left and the right mouse
button at the same time.

 
Thanks for the tip, i didn't know I could do that.
 
  

According to the error message, mentioning /usr/local/lib/xorg/
modules/drivers/intel_drv.so, I would think a modular component
of xorg, maybe the drivers component, or a specific kernel
module (for Intel video) needs a separate update.



I did try recompiling the drivers after i read about a similar issue in
a post i found in the archives but that did not fix it.  


Jamie.
  
I just had a similar issue on a new install In my case it was because X 
could not find my configuration file.  In your first post i notice that 
your x.org.log lists the default configuration. Double check that your 
xorg.conf file wasn't deleted or renamed accidentally. Mine was 
xorg.config instead of xorg.conf.


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


From Arthur Sentsov - Questions from beginner

2010-05-12 Thread Artur Sentsov
Hi

I have some questions.

1. I have freebsd server running apache and mysql. In logs i see around 100
attempts to hack the server. Is that normal? what i have to do that after
three wrong attempts to enter password server will block ip address?!
2. I use SSH to sonnect to server and work on it! Is that secure?
3. How to setup SAMBA on server?! I want my users to be able to upload files
and download files from their folder. Users use windows.


Thank you

-- 
www.baptistmp3.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