Re: IPTV

2006-02-10 Thread Nikos Vassiliadis
On Thursday 09 February 2006 18:17, [EMAIL PROTECTED] wrote:
 Helo,

 Did any one know IPTV solutions for FreeBSD?
hm, vlc. Not exactly IPTV though. You'll find in the ports/multimedia/vlc

 I need some sofware that allow resive multicast TV and cast them to STB and
 PC...

The thing with IPTV is that the content is encrypted, and gets decrypted
by the STB, which is controlled by your IPTV-provider. You cannot simply
connect your FreeBSD box to your switch, receive multicast video and
display it. I don't think you'll find open source software that does this...

The other way around works fine, of course. vlc sends multicast and the
STB displays it.

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


Re: is upgrading from 4.x to 6.x possible?

2006-02-10 Thread Dinesh Nair


On 02/09/06 06:05 Erik Trulsson said the following:

The other option available is of course to make a backup of all data and
config files, make a new clean install of 6.x, and then restore files from
backup.


which is exactly what i did and something i'd recommend for all 4.x to 6.x 
direct upgrades. there's been a lot of changes in freebsd since 4.x and a 
clean reinstall of 6.x will ensure that this gets to you with the least 
amount of problems.


--
Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN not working

2006-02-10 Thread Michael Vince

You can try out this script if you like, it may or may not help.
I created it so I could more easily remember all the VPN knobs that need 
to be touched when creating a VPN.

http://www.roq.com/projects/vpnsetup/vpnsetup.pl

Mike


Subhro wrote:


Hello,

I am trying to connect to my workplace which uses a Cisco IW600. I am
putting the connect log from the router below.

--
terminal monitor
IW600#
*Feb  3 22:00:44.051: IPSEC(sa_request): ,
 (key eng. msg.) OUTBOUND local= 64.191.227.249, remote= 220.225.82.250,
   local_proxy= 172.16.3.151/255.255.255.255/0/0 (type=1),
   remote_proxy= 192.168.100.0/255.255.255.0/0/0 (type=4),
   protocol= ESP, transform= esp-3des esp-sha-hmac  (Tunnel),
   lifedur= 3600s and 4608000kb,
   spi= 0x5A88B8A1(1518909601), conn_id= 0, keysize= 0, flags= 0x400B
*Feb  3 22:00:44.051: ISAKMP: received ke message (1/1)
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): SA request profile is (NULL)
*Feb  3 22:00:44.051: ISAKMP: Created a peer struct for
220.225.82.250, peer port 500
*Feb  3 22:00:44.051: ISAKMP: New peer created peer = 0x447C2CF4
peer_handle = 0x8286
*Feb  3 22:00:44.051: ISAKMP: Locking peer struct 0x447C2CF4, IKE
refcount 1 for isakmp_initiator
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):Setting client config settings 448F7964
*Feb  3 22:00:44.051: ISAKMP: local port 500, remote port 500
*Feb  3 22:00:44.051: ISAKMP: set new node 0 to QM_IDLE
*Feb  3 22:00:44.051: ISAKMP: Find a dup sa in the avl tree during
calling isadb_insert sa = 447DC520
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):Can not start Aggressive
mode, trying Main mode.
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):Looking for a matching key
for 220.225.82.250 in default
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): : success
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):found peer pre-shared key
matching 220.225.82.250
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): constructed NAT-T vendor-07 ID
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): constructed NAT-T vendor-03 ID
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): constructed NAT-T vendor-02 ID
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):Input = IKE_MESG_FROM_IPSEC,
IKE_SA_REQ_MM
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0):Old State = IKE_READY  New
State = IKE_I_MM1

*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): beginning Main Mode exchange
*Feb  3 22:00:44.051: ISAKMP:(0:0:N/A:0): sending packet to
220.225.82.250 my_port 500 peer_port 500 (I) MM_NO_STATE
*Feb  3 22:00:54.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE...
*Feb  3 22:00:54.051: ISAKMP:(0:0:N/A:0):incrementing error counter on
sa: retransmit phase 1
*Feb  3 22:00:54.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE
*Feb  3 22:00:54.051: ISAKMP:(0:0:N/A:0): sending packet to
220.225.82.250 my_port 500 peer_port 500 (I) MM_NO_STATE
*Feb  3 22:01:03.043: ISAKMP:(0:0:N/A:0):purging node 1798766697
*Feb  3 22:01:03.043: ISAKMP:(0:0:N/A:0):purging node 756905305
*Feb  3 22:01:04.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE...
*Feb  3 22:01:04.051: ISAKMP:(0:0:N/A:0):incrementing error counter on
sa: retransmit phase 1
*Feb  3 22:01:04.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE
*Feb  3 22:01:04.051: ISAKMP:(0:0:N/A:0): sending packet to
220.225.82.250 my_port 500 peer_port 500 (I) MM_NO_STATE
*Feb  3 22:01:13.043: ISAKMP:(0:0:N/A:0):purging SA., sa=44872764,
delme=44872764
*Feb  3 22:01:13.727: %SYS-2-CHUNKBADMAGIC: Bad magic number in chunk
header, chunk 0  data 446BFA58  chunkmagic 400B97A8  chunk_freemagic
43EDF9F4
-Process= IP Input, ipl= 4, pid= 74
-Traceback= 0x40ABDEE8 0x400BC510 0x402FF6B4 0x40ED1738 0x40ED48EC
0x40ED2F8C 0x40ED325C 0x40ED3318 0x40ED34BC
*Feb  3 22:01:14.051: IPSEC(key_engine): request timer fired: count = 1,
 (identity) local= 64.191.227.249, remote= 220.225.82.250,
   local_proxy= 172.16.3.151/255.255.255.255/0/0 (type=1),
   remote_proxy= 192.168.100.0/255.255.255.0/0/0 (type=4)
*Feb  3 22:01:14.051: IPSEC(sa_request): ,
 (key eng. msg.) OUTBOUND local= 64.191.227.249, remote= 220.225.82.250,
   local_proxy= 172.16.3.151/255.255.255.255/0/0 (type=1),
   remote_proxy= 192.168.100.0/255.255.255.0/0/0 (type=4),
   protocol= ESP, transform= esp-3des esp-sha-hmac  (Tunnel),
   lifedur= 3600s and 4608000kb,
   spi= 0x385ACC06(945474566), conn_id= 0, keysize= 0, flags= 0x400B
*Feb  3 22:01:14.051: ISAKMP: received ke message (1/1)
*Feb  3 22:01:14.051: ISAKMP: set new node 0 to QM_IDLE
*Feb  3 22:01:14.051: ISAKMP:(0:0:N/A:0):SA is still budding. Attached
new ipsec request to it. (local 64.191.227.249, remote 220.225.82.250)
*Feb  3 22:01:14.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE...
*Feb  3 22:01:14.051: ISAKMP:(0:0:N/A:0):incrementing error counter on
sa: retransmit phase 1
*Feb  3 22:01:14.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 MM_NO_STATE
*Feb  3 22:01:14.051: ISAKMP:(0:0:N/A:0): sending packet to
220.225.82.250 my_port 500 peer_port 500 (I) MM_NO_STATE
*Feb  3 22:01:24.051: ISAKMP:(0:0:N/A:0): retransmitting phase 1 

Firefox-1.5.0.1 not starting after successfull instalation

2006-02-10 Thread Vladis
Hi,

I encountered same problem, Firefox doesn't want start.
It took some (not short) time but I've installed new Firefox-1.5.0.1
successfully, without errors after all.
Unfortunately, I cannot start it now. It simply ends earlier then it starts.
Nothing happens:

#/usr/X11R6/bin
#./firefox
#

I've started it as root and also tried another user but result is the same :(

Could someone help???

Thanks in advance.

Rgds,
Vlado



On Fri, Dec 02, 2005 at 08:33:36PM -0800, Dr. Jennifer Nussbaum wrote:

 i finally am getting started with 6.0, after a lot of
 time of installation. Most things are going well but
 the wierdest problem:
 i cant get FireFox to start! It built fine, no errors,
 but it just doesnt start.

 There arent really anymore details i can give. It
 doesnt matter if I click the FF icon in Gnome, or type
 'firefox' on the commandline.
 (There's no output from doing that:

 $ firefox
 $

 The same thing happens with mozilla. Apparently you have to
 run it as root, and then it works fine--is anyone else seeing
 this behavior? The /usr/X11R6/bin/firefox script etc. has
 execute perms for any user. What's the tweak that needs to be
 done so that a normal user can run it? I didn't see anything
 in the package message.

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


twe question

2006-02-10 Thread freebsd_daemon
dear list,

i own a 3ware 7500-4LP (FBSD 4.11R)

twe0: 3ware Storage Controller driver ver. 1.40.01.001 port 0xb000-0xb00f
mem 0xf900-0xf97f,0xf980-0xf98f irq 9 at device 1.0 on pci3
twe0: AEN: soft reset
twe0: 4 ports, Firmware FE7X 1.05.00.049, BIOS BE7X 1.08.00.046
twe0: Monitor ME7X 1.01.00.035, PCB Rev3, Achip V3.20   , Pchip V1.30
twe0: port 0: ST3200822A   190782MB
twe0: port 1: ST3200822A   190782MB
twe0: port 2: ST3200822A   190782MB
twe0: port 3: ST3200822A   190782MB

two days ago i got the following log message

twe0: AEN: twe0: port 1: sector repair occurred

what does it mean? (source code doesn't say)
the box is running for nearly 400 days now; until now no problems and for
the last two days no message.

do i have to worry?

TIA

zheyu

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice.org 2.0.1 JDK issue

2006-02-10 Thread Ben Paley
 I know there has been a lot of activity on the mailing lists these  
 days regarding JDK and OOo. From what I could gather, most of it is  
 regarding keeping it working after the update of JDK14. In any event,  
 I was installing OOo-2.0 for the first time, and the build failed.  
 The error message is below and involves JDK-1.4. I figured that this  
 would either be fixable or it would give additional information that  
 could lead to solving some of the previously mentioned problems on  
 the list. Thank you all for your assistance. I am running FreeBSD 6.0-
 STABLE. A part of my script nuked the output after it failed, so I  
 only have the output from script.

My googling led me to believe that it's to do with a problem in jdk patchset 8 
for freebsd. Ive had exactly the same problem and ended up installing vi 
pkg_add :-(

Seems like the best solution would be to let it use jdk15, but it doesn't seem 
to want to play.

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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Chris

Foo Ji-Haw wrote:

FreeBSD is only 2-disc. I don't see why it's so painful to switch only twice
in a single installation.

- Original Message - 
From: Chris [EMAIL PROTECTED]

To: FreeBSD - Questions freebsd-questions@freebsd.org
Sent: Friday, February 10, 2006 8:18 AM
Subject: FreeBSD 6 on DVD



Anyone have a mirror that supports at least a torrent for 6.0 on DVD?
I hate the ISO's with all that damned swithing of the CD's.

Better yet, doe anyone know the layout used to create the DVD?


--
Best regards,
Chris

Never create a problem for which you do not have
the answer.


It's obvious that you have not installed at least 6.0 - and if you have, 
you have not installed more then just the base.

Please refrain from spewing out something that you have not done.

Heh - swapping the CD only twice. Really now.

--
Best regards,
Chris

Never create a problem for which you do not have
the answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SDR GEM312P

2006-02-10 Thread Andrea Venturoli

Tom Grove wrote:

Andrea Venturoli wrote:


Hello.
I'm building a new server and stumbled upon this:

 ses0 at ahd0 bus 0 target 8 lun 0
 ses0: SDR GEM318P 1 Fixed Processor SCSI-2 device
 ses0: 3.300MB/s transfers
 ses0: SAF-TE Compliant Device

I guess it has something to do with a SCSI hot-swap device, but I 
didn't find any info on it.

What is it? What's its purpose? Can I do something nice with it?

It's your scsi processor...i guess it's nice because it allows you to 
use scsi hardware.


Not really. That's:

 ahd0: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs
 ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x3c00-0x3cff,0x3800-0x38ff

 mem 0xfe302000-0xfe303fff irq 27 at device 5.1 on pci9
 ahd1: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs



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


Re: Mount changing mount point rights?

2006-02-10 Thread Ceri Davies


On 9 Feb 2006, at 12:52, Norberto Meijome wrote:


hi all,
I'm mounting a GELI encrypted, file backed vnode on ~/mount_folder.  
I am

member of wheel.

I start with
 Home directory:
drwxr-x---  51 betom  betom  3072 Feb  9 23:38 betom

file and folder which i want to mount in.

drwxrwx---   2 betom  betom 512 Feb  9 17:42 mount_folder
-rw-rw   1 betom  betom  614400 Feb  9 23:38 geli.dsk

I then define the md device, attach it to geli (it was already init  
and

newfs -U run on it), fsck

sudo mdconfig -a -t vnode -f ./_1.dsk -u 13
sudo geli attach /dev/md13
fsck -p -t ufs /dev/md13.eli

the devices look like this :
$ ls -l /dev/md*
crw-r-  1 root  wheel0, 121 Feb  9 22:24 /dev/md13
crw-r-  1 root  wheel0, 122 Feb  9 23:23 /dev/md13.eli
crw-rw  1 root  wheel0,  87 Feb  9 22:24 /dev/mdctl

Then mount it:
sudo mount /dev/md13.eli /home/betom/mount_folder

PROBLEM : the mount folder has changed it's access from
770 betom:betom
to
750 root:wheel

drwxr-xr-x   3 root   wheel 512 Feb  9 18:51 mount_folder
-rw-rw   1 betom  betom  614400 Feb  9 23:50 geli.dsk

umask :
$ umask
0022

[EMAIL PROTECTED] [Thu Feb  9 23:48:53 2006]
~
$ sudo umask
0022


WHY is it doing that?! Since I want to use this folder as my own  
user ,

not root, I have to do the extra step of changing owner of the folder
every time...quite annoying.
how can I fix this?


The owner of the root folder on the filesystem on md13.eli is root.
Just chown/chmod it once it's mounted and it'll stick.

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





PGP.sig
Description: This is a digitally signed message part


Re: SDR GEM312P

2006-02-10 Thread Andrea Venturoli

Chuck Swiger wrote:

Andrea Venturoli wrote:

Hello.
I'm building a new server and stumbled upon this:


ses0 at ahd0 bus 0 target 8 lun 0
ses0: SDR GEM318P 1 Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device

I guess it has something to do with a SCSI hot-swap device, but I didn't
find any info on it.
What is it? What's its purpose? Can I do something nice with it?


ses stands for SCSI Environmental Services, and seems to be a standard for
managing hot-plug enclosures, fault-tolerance, drive temperatures, and voltages,
etc.  See man ses and /usr/share/examples/ses.



Thanks, I had seen that. Still I quite don't get it. What management are 
we talking about? I've always thought of hot plug devices as dumb 
connectors...


Furthermore:

# pwd
/usr/share/examples/ses/getencstat
# ./getencstat -v /dev/ses0
SESIOC_GETNOBJ: Inappropriate ioctl for device
# ./getencstat -v /dev/da0
SESIOC_GETNOBJ: Inappropriate ioctl for device
#


???

 bye  Thanks
av.

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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Giorgos Keramidas
On 2006-02-09 18:48, Kevin Kinsey [EMAIL PROTECTED] wrote:
Giorgos Keramidas wrote:
 Bah!  That's too slow for my taste.  I would usually go for a newfs,
 dump, and restore option.  For instance, to create a copy of /usr on a
 second disk:

newfs -U /dev/ad1s1a
mount /dev/ad1s1a /mnt
dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - )

 Copying with dd(1) is not as fast :)

 Sorry to butt in --- but I'm needing to start cloning too.  Looks
 like a winner to me ... wouldn't this have the added advantage
 of making same size and geometry (cf. Erik Trulsson, 4 hours ago,
 this thread) less relevant?

Yes, this is pretty much the important point :)

 As long as the new slice had enough space, geometry shouldn't
 matter to dump|restore   ?

Right :)  It also allows restoring in a different partition layout.

I used this recently to 'recover' my laptop's installation, using a
spare partition.  Before running 'installkernel' and 'installworld',
a backup of my root, /var and /usr partitions was saved with:

# cd /home/backup
# dump -o -aL -f root.ad0s1a /
# dump -o -aL -f var.ad0s1d  /var
# dump -o -aL -f usr.ad0s1e  /usr

A 'copy' of the original /, /var and /usr was restored in ad0s2a, which
was a single UFS partition, large enough to hold a restored copy of my
old /, /var and /usr partitions:

# newfs -U /dev/ad0s2a
# mount /dev/ad0s2a /mnt
# ( cd /mnt;  restore -ruf /home/backup/root.ad0s1a )
# ( cd /mnt/var ; restore -ruf /home/backup/var.ad0s1d  )
# ( cd /mnt/usr ; restore -ruf /home/backup/var.ad0s1e  )

Then, when things went totally nuts after the installation of a new
system on ad0s1* partitions, I could still boot from ad0s2a and restore
my old backup copies from /home :)

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


RE: Regarding QuickCam webcams and FreeBSD

2006-02-10 Thread Ted Mittelstaedt

Go into the ports and build one of the webcam programs, get the
list of supported cameras from it's docs, find one of these on ebay, is
about
the best you can do I think.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Simon Chang
Sent: Thursday, February 09, 2006 8:06 AM
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Subject: Re: Regarding QuickCam webcams and FreeBSD


Ted,

First of all, I am a fan of your FreeBSD and the Corporate Networking
Guide.  You have done an excellent job writing that book and I often
refer to it for suggestions on specific topics.

Regarding self-contained webcams, I realize that these gizmos are out
there.  But so far none of them have the two criteria I am looking
for:

1)  Wireless connectivity (802.11g preferred), and
2)  VPN / IPsec capable.

The reason is that I want to be able to move the camera at a moment's
notice, and I don't want the images of my bedroom / study / backyard
to be broadcast in the clear.  However, I have not seen any webcam
that has those two capabilities, so that's why I am trying to get them
to work with Free and OpenBSD.

SC

On 2/1/06, Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 The reason there's little interest in this is that webcams are
 rapidly becoming completely self-contained.  Lots of them today
 have an ethernet port, and integrated webserver in the camera.
 The need for a PC to be involved here for anything other than
 running a web browser to display output is pretty questionable.

 When network address translation first came out the only way you
 could get it was to used a modded open source UNIX on a PC with
 2 nics.  Then Cisco came out with it so you could use their routers
 to get it.  Then linksys came out with cheap routers that had
 it.  Nowadays, only the diehards are running FreeBSD nat routers
 with 2 nics in them.  The same thing is happening with webcams.

 Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Simon Chang
 Sent: Tuesday, January 31, 2006 12:49 PM
 To: freebsd-questions@freebsd.org
 Subject: Regarding QuickCam webcams and FreeBSD
 
 
 Howdy,
 
 I happen to have been doing quite a bit of research in this area.
 What I wanted to do was to set up a *nix box with a webcam and a
 wireless NIC, so that I can mount the headless machine in the bedroom
 to keep an eye on our seven-month-old baby.  (Link between the *nix
 box and the home private network will be encrypted using IPsec VPN.)
 
 What I have found so far are the following:
 
 1)  The apps that I have found do not work with a wide
variety of more
 recent makes of webcams.  If you do a Google search on FreeBSD
 webcam or OpenBSD webcam, you actually see some tools that
 purportedly work with QuickCam Express or QuickCam B/W (or
Color), and
 a handful of other models.
 
 2)  Logitech, the maker of QuickCam, used to make available technical
 specs and docs for the developers to write drivers with.
 Unfortunately, the company does not do that anymore, and anyone who
 wants to make a QuickCam-series work has to either reverse-engineer
 it, use available drivers and hope for the best, or run it under
 Windows.
 
 3)  By contrast, NetBSD and some Linux distros (so far I've heard
 promising things about Fedora Core 4 and I think Gentoo) have more
 development work going on for webcams.  If FreeBSD doesn't work for
 you, try some of the other *nixes.
 
 HTH,
 
 SC
 
 - Hide quoted text -
 
 
 On 1/29/06, Xn Nooby [EMAIL PROTECTED] wrote:
  I bought a fancy Quickcam (face-tracking), though I have no
 idea how to make
  it work with FreeBSD.  I installed qcamview, but when I run
 it as root, it
  says Not found Quickcam, or Permission denied.
 
  Anyone know anything about Quickcams on FreeBSD?  I don't
 expect it to work,
  but it would be cool if it did.  There seems to be very
 little information
  on the net about qcamview.
 
  I'd be happy to just snapshots with it.  I'm using FreeBSD
 6.0 and Fluxbox.
  The cam is USB 2.0.
 
  Any suggestions?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.375 / Virus Database: 267.14.23/240 - Release
 Date: 1/25/2006
 

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.3/254 - Release Date: 2/8/2006



RE: need some advice on our cisco routers..

2006-02-10 Thread Ted Mittelstaedt

Cisco's site is pretty big to find anything for a newbie.

If you can implement all the recommendations here:

http://www.dhs.gov/interweb/assetlibrary/NIAC_HardeningInternetPaper_Jan0
5.pdf

your way ahead of most networks.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger
Sent: Thursday, February 09, 2006 4:41 AM
To: Mark Jayson Alvarez
Cc: freebsd-questions@freebsd.org
Subject: Re: need some advice on our cisco routers..


Mark Jayson Alvarez wrote:
 We have a couple of cisco routers. There was one time when
suddenly we cannot
 login remotely via telnet. I investigate further and was
shocked when I found
 out that there where 16 telnet connections coming from
outsiders ip addresses. I
 immediately called our Director(the only cisco certified guy
in the office) and
 he begin kicking each of the telnet connections one by one.
He then replaced
 every secret/password and deleted all unnecessary local
accounts. However,
 we're still wondering how those hackers got into the system.
Now this cisco's
 aaa is default to a radius server. Since then, outsiders have
gone away..
 Perhaps the hackers got one of the router's local accounts,
and trying to brute
 force their way to enable mode.

Did you keep careful logs of who was connecting from where so
someone could
start tracking things down?  Have you contacted your local
police and FBI, or
whatever the local equivalent is?  (Don't bother unless you can
claim more than
$2000 or so in damages, however.)

Most importantly, have you contacted Cisco?  Asking for
security advice about
their routers here is not the right place to gain such
information.  cisco.com's
got a large, informative site

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.3/254 - Release Date: 2/8/2006


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


natd auth requests

2006-02-10 Thread Wojciech Puchar
how can i make ident service to make informative answers for connections 
handled by natd? like answering last byte of source IP number or DNS 
reverse name or maybe from table like oidentd?


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


Re[2]: IPTV

2006-02-10 Thread georg
 I need some sofware that allow resive multicast TV and cast them to STB and
 PC...

 The thing with IPTV is that the content is encrypted, and gets decrypted
 by the STB, which is controlled by your IPTV-provider. You cannot simply
 connect your FreeBSD box to your switch, receive multicast video and
 display it. I don't think you'll find open source software that does this...

 The other way around works fine, of course. vlc sends multicast and the
 STB displays it.

 HTH, Nikos

Did You know software that not open source for IPTV?

-- 
 mailto:[EMAIL 
PROTECTED]


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


Re: IPTV

2006-02-10 Thread Nikos Vassiliadis
On Friday 10 February 2006 13:16, [EMAIL PROTECTED] wrote:
  I need some sofware that allow resive multicast TV and cast them to STB
  and PC...
 
  The thing with IPTV is that the content is encrypted, and gets decrypted
  by the STB, which is controlled by your IPTV-provider. You cannot simply
  connect your FreeBSD box to your switch, receive multicast video and
  display it. I don't think you'll find open source software that does
  this...
 
  The other way around works fine, of course. vlc sends multicast and the
  STB displays it.
 
  HTH, Nikos

 Did You know software that not open source for IPTV?

Sorry no. But I am sure that you'll not have many choices, if any.
Content providers have very strict policies about the content they
provide(movies). Having the data on a PC program(closed source
of course) increases the possibility of data leaking and I guess they
don't want to mess up with Paramount or whatever...

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


Re: Acoustic management for ATA Harddisks?

2006-02-10 Thread Alex Zbyslaw

Ewald Jenisch wrote:


Hi,

Is there a way to turn on acoustic management for ATA harddisks?

 

Hitachi Feature Tool comes as a bootable floppy as has done this for 
every hard disk I've owned (which is only a handful, but includes, 
Hitachi, Samsung, IBM and Maxtor).  Google will find it for you.


There have also been posts this week about a bootable CD which contains 
every useful tool under the sun (and a few useless ones, no doubt) which 
I think contained this, as well as various other manufacturers' disk 
tools: http://ubcd.sourceforge.net/


--Alex

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


Re: email cluster ?

2006-02-10 Thread Deepak Naidu
You can inturn use LVS (Linux Virtual Cluster) to load balance between two or 
more servers.
 
 Cheers,
 Deepak Naidu.

Vulpes Velox [EMAIL PROTECTED] wrote: On Tue, 31 Jan 2006 12:13:25 +0100
Frank Bonnet  wrote:

 Hello
 
 I'm thinking to setup a FreeBSD based load balancing cluster
 email hub.
 
 Actually it is a all in one machine that runs 
 SMTP,IMAP,IMAPS,POP3,POP3S,antivirus,antispam,Webmail.
 
 I would like to split load on several machines
 but have no experience of that kind of architecture.
 Infos, links, very welcome.

Not sure about how to get that working nicely with webmail, but the
rest is simple.

You need to have the storage space exported by nfs to every server
machine. Using maildir helps massively as well. This is truely great
for this sort of enviroments.

I have been happy with qmail+spamcontrol, bincimap, spamassassin,
procmail, and clamassassin at work. It all runs nicely over nfs as
well.

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




Linux your Life, Don't Window it [[]] 

   { All for the best }




-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Martin McCormick
Paul Schmehl quotes and then writes:
 Copying with dd(1) is not as fast :)

Have you tried dcfldd?  sysutils/dcfldd

Thank you.  I hadn't thought of that.  This is what I
appreciate about groups like this.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xmule 6.0-REL

2006-02-10 Thread guru

Hi,

I've tried to install xmule in 6.0-REL from the ports
collection, but the port is broken:

# cd /usr/ports/net/xmule
# make
===  xmule-1.10.0.a is marked as broken: Incomplete pkg-plist.
#

the FreeBSD homepage shows a recent version but in a tree which
6.0-REL not has: /usr/ports/net-p2p

What is the correct way to update this tree into my 6.0-REL?

Thx

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


Re: OpenOffice.org 2.0.1 JDK issue

2006-02-10 Thread Per olof Ljungmark

Ben Paley wrote:
I know there has been a lot of activity on the mailing lists these  
days regarding JDK and OOo. From what I could gather, most of it is  
regarding keeping it working after the update of JDK14. In any event,  
I was installing OOo-2.0 for the first time, and the build failed.  
The error message is below and involves JDK-1.4. I figured that this  
would either be fixable or it would give additional information that  
could lead to solving some of the previously mentioned problems on  
the list. Thank you all for your assistance. I am running FreeBSD 6.0-
STABLE. A part of my script nuked the output after it failed, so I  
only have the output from script.


My googling led me to believe that it's to do with a problem in jdk patchset 8 
for freebsd. Ive had exactly the same problem and ended up installing vi 
pkg_add :-(


Seems like the best solution would be to let it use jdk15, but it doesn't seem 
to want to play.


Had same build failure as OP, now when i try the pkg from
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0.1/FreeBSD6/
i get
pkg_add OOo_2.0.1_FreeBSD60Intel_install_en-US.tbz
pkg_add: could not find package openssl-beta-0.9.8a !

How safe is it to install openssl-beta-0.9.8a? Does it not conflict with 
the base openssl?


On other boxes with OOo_2.0.1 and jdk-1.4.2p7 there is no requirement 
for openssl-beta-0.9.8a AFAIK.

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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Björn König

Chris schrieb:

It's obvious that you have not installed at least 6.0 - and if you have, 
you have not installed more then just the base.


I suggest to install not more than just the base at first and install 
packages later. Then you need to switch the CD once only.


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


Re: OpenOffice.org 2.0.1 JDK issue

2006-02-10 Thread Ben Paley
On Friday 10 February 2006 13:04, Per olof Ljungmark wrote:

  Seems like the best solution would be to let it use jdk15, but it doesn't
  seem to want to play.

 Had same build failure as OP, now when i try the pkg from
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0.1/FreeBSD6/
 i get
 pkg_add OOo_2.0.1_FreeBSD60Intel_install_en-US.tbz
 pkg_add: could not find package openssl-beta-0.9.8a !

 How safe is it to install openssl-beta-0.9.8a? Does it not conflict with
 the base openssl?

It does conflict. I deinstalled openssl and installed openssl-beta until I'd 
installed OO, then got rid of openssl-beta and reinstalled openssl! It worked 
fine, although i don't know what the security inplications of that might be, 
if any.

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


LDAP account manager (LAM) does'n work correctly

2006-02-10 Thread Jan HREHO

Hi.

My system:
FreeBSD 6.0 + update ports.
OpenLDAP 2.2.30.
Samba 3.0.21a
Apache 2.0.55_33
PHP 5.1.2_1
LAM 0.5.1
All programs I installed over ports

OpenLDAP work's right. I check it over phpldapadmin.

My problem:
When I create new user over LAM and I go 'Samba 3' site get follow on 
the screen.
*Warning*: getdate() expects parameter 1 to be long, string given in* 
usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *767*
*Warning*: getdate() expects parameter 1 to be long, string given in 
*/usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *768*
*Warning*: getdate() expects parameter 1 to be long, string given in 
*/usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *769*
Those parameter's are sambaPwdCanChange, sambaPwdMustChange, 
sambaKickoffTime.

I try solution on the web a few day, but without success.
Do meet someone with similar problem?

Thanks, for your help.


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


Re: Tracking Security in Ports and Base System

2006-02-10 Thread Matthew Seaman
Andreas Davour wrote:

 Which makes me finally throw out a question I've been wondering about.
 Is there no way of getting a specific tagged ports tree, if you'd like
 to get a ports tree the way it looked when, say, 4.6-RELEASE came out?

Sure you can.  Just edit your ports supfile to have:

  *default release=cvs tag=RELEASE_4_6_0

and re-cvsup.  Note that the tags used in ports are disjoint from the tags
used in the main system sources.  Mix them up and you'll end up with a
/usr/ports (or a /usr/src) with not a lot in it.

There's also no guarantee that any of the distfiles referenced from a
ports tree that old will still be available.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 6 on DVD

2006-02-10 Thread Duane Whitty

Chris wrote:

Anyone have a mirror that supports at least a torrent for 6.0 on DVD?
I hate the ISO's with all that damned swithing of the CD's.

Better yet, doe anyone know the layout used to create the DVD?



Hi,

I haven't yet tried this myself but nevertheless 
thought you might find it interesting.  The 
following article(s) seem to detail how one would 
go about laying out an installation disk set.


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/article.html




It's probably not as straight forward as it sounds 
but I'm going to give a try for making a dvd for 
an x86 system.  I'll post to the list re this 
subject heading with my progress.


Hope this helps,

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


Re: SDR GEM312P

2006-02-10 Thread Tom Grove

Andrea Venturoli wrote:


Tom Grove wrote:


Andrea Venturoli wrote:


Hello.
I'm building a new server and stumbled upon this:

 ses0 at ahd0 bus 0 target 8 lun 0
 ses0: SDR GEM318P 1 Fixed Processor SCSI-2 device
 ses0: 3.300MB/s transfers
 ses0: SAF-TE Compliant Device

I guess it has something to do with a SCSI hot-swap device, but I 
didn't find any info on it.

What is it? What's its purpose? Can I do something nice with it?

It's your scsi processor...i guess it's nice because it allows you to 
use scsi hardware.



Not really. That's:

 ahd0: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs
 ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 
0x3c00-0x3cff,0x3800-0x38ff

 mem 0xfe302000-0xfe303fff irq 27 at device 5.1 on pci9
 ahd1: [GIANT-LOCKED]
 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs



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



aic7902 is the controller card...the board that has your scsi channels 
and such.  SDR GEM318P 1 is the processor on the aforementioned board.  
It's similar to a regular motherboard in that you would have a things 
like ata0 and cpu0 except here you have ahd0 and ses0.


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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Chris

On Fri, 10 Feb 2006, Duane Whitty wrote:


Chris wrote:

Anyone have a mirror that supports at least a torrent for 6.0 on DVD?
I hate the ISO's with all that damned swithing of the CD's.

Better yet, doe anyone know the layout used to create the DVD?



Hi,

I haven't yet tried this myself but nevertheless thought you might find it 
interesting.  The following article(s) seem to detail how one would go about 
laying out an installation disk set.


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/article.html




It's probably not as straight forward as it sounds but I'm going to give a 
try for making a dvd for an x86 system.  I'll post to the list re this 
subject heading with my progress.


Hope this helps,

--Duane Whitty


Thank you for the links however, this isn't what I asked. Allow me to re 
articulate:


1. I would like a link to either where there may be a full blown DVD image 
of 6.0 or a torrent.


2. If not the above, the layout used to create the DVD image.

Now allow me to explain 1 and 2 so there isn't anymore wild answers to 
questions users seem to think they read.


Reason 1:
If installing more then just the base OS (allow me to say that one key 
word, INSTALL) then swapping out the CD's is not something I'm willing to 
spend 3 hours doing (perhaps that was an embellishment after the fact).


Reason 2:
If there isn't a DVD image to download (either in whole or torrent) then 
the layout would allow me to create my own INSTALL DVD with my curent 6.0 
roms.


There - now that I have taken the time to eplain this, I hope there isn't 
anymore confusion as to what I'm asking.



Best regards,
Chris

Sanity and insanity overlap a fine gray line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: sshd / ssh setup

2006-02-10 Thread fbsd_user
For the archives.

Example of configuring OpenSSH

Environment description:
In this example we have a FreeBSD system which we will call the
host.
We have an Remote FreeBSD system  which is located some where on the
public internet, we will call this the FBSD-client.
We also have an Remote MS/windows system  which is located some
where
on the public internet, we will call this the Win-client.
OpenSSH has a few different security levels when it comes to how
the ssh login is handled. This example details the encrypted
host/client key with passphrase method.
This method gives the maximum protection possible utilizing ssh.

Host setup steps.

1.  Edit /etc/rc.conf and add this statement
sshd_enable=”YES”
Make sure your firewall allows port 22 in from the public internet.
Reboot your system to activate sshd and login as root.
If this is your first time booting with sshd you will have to
  create the host keys.
sshd will show you this on the first sshd boot only.


Type a full screen full of random junk to unblock
it and remember to finish with enter. This will
timeout in 300 seconds, but waiting for
the timeout without typing junk may make the
entropy source deliver predictable output.

Just hit enter for fast+insecure startup.

kern.random.sys.seeded: 1 - 0
qkcir83,2jsn40pl722jjbqok    this is the example junk entered
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
ed:5d:97:dc:49:98:36:66:fc [EMAIL PROTECTED]
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
67:e7:90:04:0e:27:2e:d2:97:6a [EMAIL PROTECTED]
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
96:db:50:5c:9e:69:88:26:28:54 root@ domainname

2.  If you do a “ps ax” command you will see sshd as
  one of the running tasks.

3.  Using adduser or pw command create a normal user account.
For this example we will use bob as the host user account name.

4.  Hit alt/f2 at same time to open second session and login using
bob.

5.  Run this command   ssh-keygen -t rsa
Just hit enter to take default location and file name
No need to enter a pass phrase for the host user here,
  just hit enter 2 times
This is what you will see

Generating public/private rsa key pair.
Enter file in which to save the key (/bob/.ssh/id_rsa):
Created directory '/bob/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /bob/.ssh/id_rsa.
Your public key has been saved in /bob/.ssh/id_rsa.pub.
The key fingerprint is:
e7:e6:8f:d3:b1:b4:08:27:09:d2 [EMAIL PROTECTED]

6.  If you want to ssh login as Host ‘root’, you have to run
  step 5 above while logged in as root on the host. Also
  edit /etc/ssh/sshd_config and change this statement

#PermitRootLogin notoPermitRootLogin yes

Then   killall –HUP sshd
  to make sshd task reread it’s sshd_config file.



FBSD-client setup steps.

1.  Using adduser or pw command create a normal user account.
  For this example we will use remotetom as the user account
name.

2.  Login using remotetom.

3.  Run this command   ssh-keygen -t rsa
Just hit enter to take default location and file name
At the “Enter a passphrase prompt” [enter one and write it down,
  because it will be needed for ssh login to the host].
This is what you will see

Generating public/private rsa key pair.
Enter file in which to save the key (/remotetom/.ssh/id_rsa):
Created directory '/remotetom/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /remotetom/.ssh/id_rsa.
Your public key has been saved in /remotetom/.ssh/id_rsa.pub.
The key fingerprint is:
e7:e6:8f:d3:b1:b4:08:27:09:56:de:d2 [EMAIL PROTECTED]

4.  The Public key file you just created  /remotetom/.ssh/id_rsa.pub
  has to be sent to the Host system. On the host system rename
it
  to authorized_keys2 and put it into the home directory of the
  user setup earlier. In this case ~/bob/.ssh/authorized_keys2.

5.  To ssh to the host enter this   ssh hostname  or ssh
host-ip-address
The first time you ssh to the Host you will get these messages.
  Answer yes if you are sure this first connection is with 

g_vfs_done():md2[WRITE(offset=434585600...?

2006-02-10 Thread fbsd_quest
Hi all,

I am seeking information about what this and other similar messages mean, and 
corrective action to take. At the time of the error message, the machine 
spontaneously rebooted (apparently without panic ) and came back with a corrupt 
/var filesystem (to  which fsck required manuall intervention to recover).

The machine is a dual Xeon ASUS NCCH-DL board with 4 GB of ram, running 6.0 
STABLE Thu Dec 222 18:24:2005, and has otherwise been reliable. The machine was 
placed into test as a secondary mail server, seeded with dictionary-attack 
accounts and allowed to collect UCE and ratware at will, as a test for 
SpamAssassin and MIMEDefang. ( Also makes a goot test for a pf-spamd teergrube.)

 md2 is a 512mB memory disk mounted on /var/spool/MIMEDefang, to allow quick 
scanning with less hardware disk IO. The main hardware drive controller is a 
3ware 4 port SATA controller in raid mirror mode.

Googling on this vfs_done()  seems to show various similar requests for 
information  related to other circumstances but no paresable responses. (I dont 
*think* md2 was ever *full*.)  I can read code.. but.. Geez, filesystem code... 
Echh. Clue-stick - manpage welcome here. Thanks.

Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434585600, 
length=131072)]error = 28
Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434716672, 
length=131072)]error = 28
Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434847744, 
length=131072)]error = 28
Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434978816, 
length=131072)]error = 28
Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=435109888, 
length=131072)]error = 28
Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=435240960, 
length=131072)]error = 28

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


Re: stale dependancy

2006-02-10 Thread Matthew Seaman
Phillip Ledger wrote:
 im trying to update the ports on my FreeBSD 6 release box however when i
 run portupgrade i get the error
 
 Stale dependency: phpMyAdmin-2.6.3.1 -- pdflib-6.0.1_2 -- manually run
 'pkgdb -F' to fix, or specify -O to force.
 
 i have tryed boath and i cant seem to get it to work. has anyone found
 how to fix this?

Hmmm... Seems you've changed the version of pdflib installed on your
machine -- maybe to the pdflib-perl port?

Anyhow, if you're immediately going to upgrade phpMyAdmin (and you should:
that old version has some known vulnerabilities) then while running 'pkgdb -F'
just *delete* the dependency on pdflib.  That will clear the pkgdb enough
for portupgrade to run, and as soon as it installs the updated version of
phpMyAdmin, it will put back the correct list of dependencies.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: AtapiCam not recognizing philips cd burner

2006-02-10 Thread Lowell Gilbert
Jason Cox [EMAIL PROTECTED] writes:

 Whilew trying to get CD burning working under FreeBSD 6.0 (and
 6.1-PreRelease), I keep getting the following error in my dmesg and cd1
 is never created. The drive is a Philips CDRW4012P. It shows up
 as /dev/acd1 and reports correctly in dmesg. However, once atapicam
 tries to query it, it just repeats the follwoing (output from dmesg with
 boot -v):

Start with some more basic information, like how it is recognized at
boot, and whether it works *without* ATAPICAM.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-02-09 18:48, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Giorgos Keramidas wrote:
  Bah!  That's too slow for my taste.  I would usually go for a newfs,
  dump, and restore option.  For instance, to create a copy of /usr on
 a
  second disk:
 
 newfs -U /dev/ad1s1a
 mount /dev/ad1s1a /mnt
 dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - )
 
  Copying with dd(1) is not as fast :)
 
  Sorry to butt in --- but I'm needing to start cloning too.  Looks
  like a winner to me ... wouldn't this have the added advantage
  of making same size and geometry (cf. Erik Trulsson, 4 hours ago,
  this thread) less relevant?
 
 Yes, this is pretty much the important point :)
 
  As long as the new slice had enough space, geometry shouldn't
  matter to dump|restore   ?
 
 Right :)  It also allows restoring in a different partition layout.
 

Any chance of there being a way like this to restore to windows systems
from the FreeBSD box?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g_vfs_done():md2[WRITE(offset=434585600...?

2006-02-10 Thread fbsd_quest
 On Fri, 10 Feb 2006 14:20:11 +
 [EMAIL PROTECTED] wrote:

  g_vfs_done():md2[WRITE(offset=434585600, length=131072)]error = 28
 
 Hi,
 if I were you I'd first check stable and current archives for similar
 problems. Second, I'd write to stable list giving as many as possible
 relevant details.
 
 -- 
 Adi Pircalabu (PGP Key ID 0x04329F5E)
 

Thanks. I just found this:

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

I could swear it wasn't there yesterday. 
Maybe I should volunteer to freebsd-bugs on this pr that *if* it is the same 
issue, it is possilby not limited to memory disks that are too big for the 
availible hardware memory as the PR seems to suggest. 


FreeBSD since  ISBN 1-56592-081-3 :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: g_vfs_done():md2[WRITE(offset=434585600...?

2006-02-10 Thread Matthew Seaman
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I am seeking information about what this and other similar messages
 mean, and corrective action to take. At the time of the error
 message, the machine spontaneously rebooted (apparently without panic
 ) and came back with a corrupt /var filesystem (to  which fsck
 required manuall intervention to recover).
 
 The machine is a dual Xeon ASUS NCCH-DL board with 4 GB of ram,
 running 6.0 STABLE Thu Dec 222 18:24:2005, and has otherwise been
 reliable. The machine was placed into test as a secondary mail
 server, seeded with dictionary-attack accounts and allowed to collect
 UCE and ratware at will, as a test for SpamAssassin and MIMEDefang. (
 Also makes a goot test for a pf-spamd teergrube.)
 
 md2 is a 512mB memory disk mounted on /var/spool/MIMEDefang, to allow
 quick scanning with less hardware disk IO. The main hardware drive
 controller is a 3ware 4 port SATA controller in raid mirror mode.
 
 Googling on this vfs_done() seems to show various similar requests
 for information related to other circumstances but no paresable
 responses. (I dont *think* md2 was ever *full*.) I can read code..
 but.. Geez, filesystem code... Echh. Clue-stick - manpage welcome
 here. Thanks.
 
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434585600, 
 length=131072)]error = 28
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434716672, 
 length=131072)]error = 28
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434847744, 
 length=131072)]error = 28
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=434978816, 
 length=131072)]error = 28
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=435109888, 
 length=131072)]error = 28
 Feb  8 13:48:59 testbed kernel: g_vfs_done():md2[WRITE(offset=435240960, 
 length=131072)]error = 28
 

Did you get a kernel dump after the reboot?  If you did, and you generated a
backtrace as described here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html

I reckon you'ld see that it panic'd with 'kmem_map too small':

#0  doadump () at pcpu.h:165
#1  0xc063ce7f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc063d1a5 in panic (fmt=0xc0888692 kmem_malloc(%ld): kmem_map too small: %
ld total allocated) at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc07aa349 in kmem_malloc (map=0xc10600c0, size=16384, flags=1026) at /usr/s
rc/sys/vm/vm_kern.c:299
#4  0xc07a1c72 in page_alloc (zone=0x0, bytes=16384, pflag=0x0, wait=1026) at /u
sr/src/sys/vm/uma_core.c:957
[etc...]

It's a bug -- the VM system seems to starve the memory disk of pages, causing
a crash.  See the example given at the end of 

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

The ultimate cause would be running a bunch of programs that are heavy on
the memory requirements, and running out of memory for both them and the
malloc backed memory filesystem.  See mdconfig(8) -- as it says:

malloc   Storage for this type of memory disk is allocated with
  malloc(9).  This limits the size to the malloc bucket
  limit in the kernel.  If the -o reserve option is not
  set, creating and filling a large malloc-backed memory
  disk is a very easy way to panic a system.

Hence using '-o reserve' looks like a very good thing to try.  Alternatively
use a swap backed memory disk, or don't use a memory disk at all.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK



signature.asc
Description: OpenPGP digital signature


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Giorgos Keramidas
On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote:
--- Giorgos Keramidas [EMAIL PROTECTED] wrote:
 As long as the new slice had enough space, geometry shouldn't
 matter to dump|restore   ?

 Right :)  It also allows restoring in a different partition layout.

 Any chance of there being a way like this to restore to windows systems
 from the FreeBSD box?

Not really.  I'm far from being a Windows expert though, so YMMV.

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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Bart Silverstrim


On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote:


On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote:

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

As long as the new slice had enough space, geometry shouldn't
matter to dump|restore   ?


Right :)  It also allows restoring in a different partition layout.


Any chance of there being a way like this to restore to windows 
systems

from the FreeBSD box?


Not really.  I'm far from being a Windows expert though, so YMMV.


As an image?  Look up partimage and partimaged.  We've had some luck 
restoring from both a Linux system running the Partimaged daemon and 
booting from a Linux disk and restoring images off a samba/Windows 
share using partimage.


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


Something in the mailing list kept crashing kmail.

2006-02-10 Thread Christopher Theodore; Rhodes
Everytime I tried highlighted the folder that this mailing list was kept in it 
would crash kmail.

I finaly deleted the parent folder thus eliminating what ever the problem was.

Anyone else having this problem with kmail in the last 15 emails to this list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: natd auth requests

2006-02-10 Thread Chuck Swiger
Wojciech Puchar wrote:
 how can i make ident service to make informative answers for connections
 handled by natd? like answering last byte of source IP number or DNS
 reverse name or maybe from table like oidentd?

If you're using 1-to-1 NAT forwarding, run identd or the inetd-based version on
the internal hosts you're forwarding to.  If you're using NAT to only forward
individual ports to specific machines, or are using NAT for outbound connection
sharing only, well, you can only forward ident requests to a single machine; I
don't know of a better solution.

Interesting problem...

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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Ken Stevenson

Giorgos Keramidas wrote:

On 2006-02-09 14:36, Martin McCormick [EMAIL PROTECTED] wrote:

After installing FreeBSD5.4, the ISC dhcp server and ISC bind
on a hard drive, I wanted to clone that drive to a second drive so as
to generate a second server, using what I had already installed as a
template.  I used the following command:

dd if=/dev/da0 of=/dev/da1 bs=512

It turns out that dd defaults to 512-byte blocks so I didn't
really need the bs=512, but I am not sure I haven't made some other
type of mistake.  The dd command has been running for about 4 hours on
a very fast system, with a 1-gig processor, 1 gig of RAM and two 31-GB
drives.  One would think it should have finished by now, but it is
still running.  Is this a valid method of copying the entire contents
of one drive to another?  Thank you.


Bah!  That's too slow for my taste.  I would usually go for a newfs,
dump, and restore option.  For instance, to create a copy of /usr on a
second disk:

newfs -U /dev/ad1s1a
mount /dev/ad1s1a /mnt
dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - )

Copying with dd(1) is not as fast :)


I had to clone a couple systems a while back, and I also did it with
dump/restore. The best part was this was the first time I actually
restored my backups to a bare hard drive. It gave me a lot of
confidence that my backups actually work. I think a lot of people find
out too late that whatever backup solution they're using is flawed and
they can't rebuild their system from it.

--
Ken Stevenson
Allen-Myland Inc.

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


Re: A script for poets

2006-02-10 Thread Kristian Vaaf


Thank you all for your interesting replies!

Though I did not mean to ask for advice on a script that would
generate texts for you. I mean, that's impossible.

However, using http://www.rhymer.com, it would do something like this.

1 is for End rhymes
2 is for Last syllable rhymes
3 is for Double rhymes
4 is for Beginning rhymes
5 is for First syllable rhymes

([EMAIL PROTECTED])(16:23:02/10/06)
(%:~) rhymer free 1

End rhymes for free:

abbey, ably, achy, acme, acne, aerie, agree, airy, algae, alley, 
amply, amy, andy, angry, ante, anti, antsy, any, aptly, army, arty, 
ashy, aurae, aussie, awfully, baby, badly, baggy, bailee, bailey, 
bailie, baldly, bali, balky, balmy, bandy, banshee, banti, barely, 
barky, barley, batty, bawdry, bawdy, be, beachy, beady, beanie, 
beastly, beauty, bee, beefy, beery, belfry, belly, benny, berkeley, 
berry, betty, bevy, biddy, biggie, billy, birdie, bitchy, bitsy, 
bitty, blackly, blandly, blankly, blarney, bleakly, bleary, blindly, 
blistery, blithely, blocky, bloody, bloomy, blotchy, blowsy, blowy, 
blowzy, bluey, bluntly, blurry, blustery, bobby, body, bogey, boggy, 
bogy, boise, boldly, bonnie, bonny, bony, booby, boogie, bookie, 
bootee, booty, boozy, bosky, bossy, botany, botchy, bougie, bouncy, 
boundary, bounty, bowery, bowie, brainy, brambly, brandy, brashly, 
brassie, brassy, bratty, bravely, brawly, brawny, breathy, breezy, 
bribee, briefly, briery, brightly, briny, briskly, bristly, broadly, 
bronzy, broody, broomy, brothy, brownie, bruskly, brusquely, bubbly, 
buddy, buffy, buggy, bulgy, bulky, bully, bumpy, bunchy, bunny, buoy, 
burley, burly, burry, bury, busby, bushy, busty, busy, cabby, caddie, 
caddy, cadre, cagey, calmly, campi, campy, candy, canny, carefree, 
carny, carrie, carry, catchy, catty, cb, cc, cd, chalky, chamois, 
chancy, chargee, charley, charlie, chassis, chastely, chatty, 
cheaply, cheeky, cheery, cheesy, cherry, chesty, chewy, chichi, 
chickpea, chiefly, chile, chili, chilly, chimney, chintzy, chippy, 
chloe, choicely, choky, choosey, choosy, choppy, christie, christly, 
chubby, chuffy, chummy, chunky, chutney, city, clammy, classy, 
clayey, cleanly, clearly, clergy, clerkly, clingy, cliquey, cloddy, 
cloggy, closely, clotty, cloudy, clumpy, clumsy, clunky, coarsely, 
cockney, cocky, coffee, coldly, collie, comely, comfy, commie, coney, 
connie, cony, cookie, cooley, coolie, coolly, cootie, copy, corky, 
corny, corrie, costly, coulee, country, county, courtly, covey, 
cowrie, cowry, coyly, cozy, crabby, crackly, crafty, craggy, cranky, 
cranny, crappie, crappy, crassly, crawly, crazy, creaky, creamy, 
cree, creepy, crinkly, crisply, crispy, croaky, crony, crosby, 
crossly, croupy, cruddy, crudely, cruelly, crumbly, crumby, crummy, 
crunchy, crusty, cubby, cuddly, cuddy, curie, curly, curry, curtly, 
curtsey, curtsy, curvy, cushy, cutely, cutesy, cutey, cutie, daddy, 
daffy, daftly, daily, dainty, dairy, daisy, dally, damply, dandy, 
dankly, darkly, deadly, deafly, dearie, dearly, deathly, debbie, 
debris, debtee, decree, deeply, deftly, degree, delhi, deli, dempsey, 
densely, derby, dewy, dickey, dilly, dimly, dimply, dinghy, dingy, 
dinkey, dinky, dippy, direly, dirty, disney, ditty, divvy, dixie, 
dizzy, dodgy, doggie, doggy, dogie, doily, dolby, dolly, donkey, 
dopey, dotty, doubly, doughy, dourly, dowdy, downy, dowry, doxy, 
dozy, drably, draftee, drafty, draggy, draughty, drawee, dreamy, 
dreary, dressy, drifty, drily, drippy, drizzly, droopy, dropsy, 
drossy, drowsy, druggie, druggy, dryly, duchy, ducky, duddie, duddy, 
duffy, dully, duly, dumbly, dummy, dumpy, dusky, dusty, duty, early, 
earthly, earthy, easy, eddy, edgy, eely, eerie, eery, eighty, emcee, 
emmy, empty, ennui, entry, envy, erie, esprit, every, faintly, 
fairly, fairy, falsely, falsie, fancy, fanny, farcy, fatly, fatty, 
faulty, fee, feebly, feisty, ferny, ferry, fiercely, fiery, fifty, 
fiji, filly, filmy, filthy, finely, finny, firmly, firstly, fishy, 
fitly, fizzy, flabby, flaky, flappy, flashy, flatly, flaunty, flaxy, 
flea, flecky, flee, fleecy, fleetly, fleshly, fleshy, flighty, 
flimsy, flinty, flirty, floaty, flooey, floosie, floozie, floozy, 
floppy, flossy, flouncy, flowery, fluffy, fluky, flunkey, flunky, 
flurry, fluty, foamy, foggy, fogy, folksy, folly, fondly, foresee, 
forky, forty, foully, foundry, fourthly, foxy, frankly, freaky, 
freckly, free, freebie, freely, frenzy, freshly, friday, friendly, 
frilly, frisbee, frisky, frizzly, frizzy, frosty, frothy, frowsy, 
frowzy, fruity, frumpy, fuddy, fully, fumy, fundy, funky, funny, 
furry, fury, fusee, fussy, fusty, fuzzy, gabby, gaily, galley, 
gamely, gamey, gamy, gandhi, gangly, gantry, gassy, gatsby, gaudy, 
gauntly, gauzy, gawky, gee, genie, gently, gentry, germfree, germy, 
ghastly, ghostly, ghosty, giddy, giggly, gimpy, gipsy, gladly, 
glairy, glary, glassy, gleamy, glee, gleety, glibly, glitzy, gloomy, 
glory, glossy, gluey, glumly, gnarly, goalie, goatee, gobi, goby, 
godly, golly, goodie, 

Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter

--- Bart Silverstrim [EMAIL PROTECTED] wrote:

 
 On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote:
 
  On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote:
  --- Giorgos Keramidas [EMAIL PROTECTED] wrote:
  As long as the new slice had enough space, geometry shouldn't
  matter to dump|restore   ?
 
  Right :)  It also allows restoring in a different partition layout.
 
  Any chance of there being a way like this to restore to windows 
  systems
  from the FreeBSD box?
 
  Not really.  I'm far from being a Windows expert though, so YMMV.
 
 As an image?  Look up partimage and partimaged.  We've had some luck 
 restoring from both a Linux system running the Partimaged daemon and 
 booting from a Linux disk and restoring images off a samba/Windows 
 share using partimage.

I intend to use g4u.  I have done some preliminary testing and I am quite
confident that I can upload and download an image.  I am now wondering
about the situation where I need to recreate the partition that is to
contain the image.  It needs to be exactly the same size (sectors) as the
image.  That's what I'm worried about.  Any suggestions?







__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: is upgrading from 4.x to 6.x possible?

2006-02-10 Thread Robert Huff

Dinesh Nair writes:

   The other option available is of course to make a backup of all
   data and config files, make a new clean install of 6.x, and
   then restore files from backup.
  
  which is exactly what i did and something i'd recommend for all
  4.x to 6.x direct upgrades. there's been a lot of changes in
  freebsd since 4.x and a clean reinstall of 6.x will ensure that
  this gets to you with the least amount of problems.

While I 've done source upgrades across major version bumps, my
recommendation is (if at alll feasible) to buy a new disk and start
over.  It's amazing the amount of crud that accumulates on most
people's disks.  Mount the old disk read-only, and copy off any
desired files, then store it as ultimate backup for six months or
so.


Robert Huff



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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Ken Stevenson

Peter wrote:


I intend to use g4u.  I have done some preliminary testing and I am quite
confident that I can upload and download an image.  I am now wondering
about the situation where I need to recreate the partition that is to
contain the image.  It needs to be exactly the same size (sectors) as the
image.  That's what I'm worried about.  Any suggestions?



You don't create a partition to restore to when you're using g4u. It 
does a bit by bit copy so it creates the slice and partitions for you 
automatically. As the documentation for g4u says, it's most useful 
when the source disk and target disk are the same size. It works when 
the target disk is bigger, but the slice will only be as big as the 
original slice.


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


Re: A script for poets

2006-02-10 Thread marianne mueller
This doesn't help with rhyming, but it's fun to strip
off the subjects of spam, and later manually choose
out the ones you like.

Begging people's indulgence, here's one spam poem.
I call it Where Do Dark Circles Lie?

Where Do Dark Circles Lie?
dish dominate
newborn programmer
archetypal gaiety
chantilly spleen
bloodshed rivet
miterwort
destitute bacon
tobacco camera
prophylactic winnipeg
apathetic chablis
scanty house windings
holy cow mr green
look rich now get rich later
don't tell your spouse you need viagra
kinky shemales
there's the whole.
and when this.

Earth is not round!  It's dirty!

edge my allow out
a human
a wrong

[so strong
the plan
then gone no doubt]

neutron lithium daniel
Please help in saving my soul!

Angels Part - mutinies
Part - umpire-Inverness
You No longer need drugs to get an Erectlon

--

I think these silly poems  are pleasingly absurb and
surrealistic.

Also I don't think English is particularly imperialistic in
taking from other languages.   First, I don't think we
can anthropomorphize language, and second, there are
lots of other examples.   (Some might hold that language
is supremely subject to anthropomorphism, but that
argument would be seriously off-topic!)

Marianne
newbie reading the list prior to installing FreeBSD


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


stale dependencies in pkgdb

2006-02-10 Thread Andrew
Hello,

I am trying to use a combination of portaudit and portupgrade to
automatically maintain installed packages on my system, but portupgrade
often hangs on stale dependencies. I've run pkgdb -F as portupgrade
suggests, deleting stale dependencies, but they seem to keep
reappearing. I guess I'm a little unclear about what a stale dependency
consists of and how to fix it. Pointers to relevant documentation and/or
explanations would be greatly appreciated!

Thanks,
Andrew  

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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Peter

--- Ken Stevenson [EMAIL PROTECTED] wrote:

 Peter wrote:
  
  I intend to use g4u.  I have done some preliminary testing and I am
 quite
  confident that I can upload and download an image.  I am now wondering
  about the situation where I need to recreate the partition that is to
  contain the image.  It needs to be exactly the same size (sectors) as
 the
  image.  That's what I'm worried about.  Any suggestions?
  
 
 You don't create a partition to restore to when you're using g4u. It 
 does a bit by bit copy so it creates the slice and partitions for you 
 automatically.

Rock on!  I missed that part I guess.  Looks like I'm all set with g4u
then.

Thanks a million.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A script for poets

2006-02-10 Thread Urs Schroffenegger

Kristian Vaaf wrote:



Thank you all for your interesting replies!

Though I did not mean to ask for advice on a script that would
generate texts for you. I mean, that's impossible.

However, using http://www.rhymer.com, it would do something like this.

1 is for End rhymes
2 is for Last syllable rhymes
3 is for Double rhymes
4 is for Beginning rhymes
5 is for First syllable rhymes

([EMAIL PROTECTED])(16:23:02/10/06)
(%:~) rhymer free 1

End rhymes for free:

abbey, ably, [snippy], zuni

Would this be possible?


You could try to send the post request of their form from a language 
like python and see what comes back, but i'm not sure they'd appreciate 
you using their site without passing through their form and injecting 
requests in their CGI. It's some sort of hacking...


To make an independent rhyming dictionnary program, I think you 
basically need to have a list of words written phonetically and with 
syllabes separation. After that, it's only a search function to find the 
matching pattern. The difficult part is to get the phonetic data.



All the best,
Vaaf


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


stale dependencies in pkgdb

2006-02-10 Thread Robert Huff

Andrew writes:

  I've run pkgdb -F as portupgrade suggests, deleting stale
  dependencies, but they seem to keep reappearing.

I'm not an expert on pkgdb, but I'm pretty sure that's the way
it works.
You need to fix, not delete, the stale dependencies.  This may
take some effort the first time around.
Beyond that, I question the wisdom of any automatic
solution.  There are definitely times when I do _not_ want to accept
the fixes proposed by pkgdb -F.


Robert Huff

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


USB0 host controller crash

2006-02-10 Thread Joe Altman
Last night, I fired up Grip and shortly after it was invoked, my mouse
(ums0: Razer Razer Diamondback Optical Mouse, rev 2.00/1.00, addr 3,
iclass 3/1 ums0: 7 buttons and Z dir) went dark. It's transparent,
so it was obvious when it died. Right about that time, the USB
keyboard followed (ukbd0: vendor 0x1241 USB Keyboard, rev 1.10/2.80,
addr 2, iclass 3/1 kbd0 at ukbd0 uhid0: vendor 0x1241 USB Keyboard,
rev 1.10/2.80, addr 2, iclass 3/1.)

Here, the errors from dmesg:

usb0: host controller process error
usb0: host controller halted

I moved the mouse to a different USB port, and it was detected and
useable; as expected, the USB keyboard did not come back when I moved
it to a different USB port.

I don't have any further information; but do more experienced eyes see
some indication that there might be something seriously amiss here,
requiring further investigation?

FreeBSD anna 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sat Feb  4
21:36:42 EST 2006 [EMAIL PROTECTED]: /usr/obj/usr/src/sys/ANNA i386

-- 
In my country there is problem; and that problem is GOP; it take
everybody's money; and it never give it back...throw GOP down the
well; so my country can be free...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A script for poets

2006-02-10 Thread Greg Barniskis

Urs Schroffenegger wrote:

To make an independent rhyming dictionnary program, I think you 
basically need to have a list of words written phonetically and with 
syllabes separation. After that, it's only a search function to find the 
matching pattern. The difficult part is to get the phonetic data.


Isn't this sort of thing (word list with phonetic data) built into 
aspell's dictionaries? Also, whatever Thunderbird 1.5 is doing for 
spell checking is clearly doing some rather sophisticated phonetic 
matching (based on what I've seen it try to do lately with people's 
last names that it doesn't recognize). I'm sure there must be other 
OSS applications out there whose sources would at least provide 
clues on how to proceed, if not a handily packaged solution.


PS re: the spam poetry submission... funny! For more random poetry 
fun, Google for the Shakespearian insult generator (several versions 
exist).


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2006-02-10 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-02-10 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: FreeBSD 6 on DVD

2006-02-10 Thread Robert Slade
On Fri, 2006-02-10 at 14:10, Chris wrote:
 On Fri, 10 Feb 2006, Duane Whitty wrote:
 
  Chris wrote:
  Anyone have a mirror that supports at least a torrent for 6.0 on DVD?
  I hate the ISO's with all that damned swithing of the CD's.
  
  Better yet, doe anyone know the layout used to create the DVD?
  
  
  Hi,
 
  I haven't yet tried this myself but nevertheless thought you might find it 
  interesting.  The following article(s) seem to detail how one would go 
  about 
  laying out an installation disk set.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/article.html
 
 
 
 
  It's probably not as straight forward as it sounds but I'm going to give a 
  try for making a dvd for an x86 system.  I'll post to the list re this 
  subject heading with my progress.
 
  Hope this helps,
 
  --Duane Whitty
 
 Thank you for the links however, this isn't what I asked. Allow me to re 
 articulate:
 
 1. I would like a link to either where there may be a full blown DVD image 
 of 6.0 or a torrent.
 
 2. If not the above, the layout used to create the DVD image.
 
 Now allow me to explain 1 and 2 so there isn't anymore wild answers to 
 questions users seem to think they read.
 
 Reason 1:
 If installing more then just the base OS (allow me to say that one key 
 word, INSTALL) then swapping out the CD's is not something I'm willing to 
 spend 3 hours doing (perhaps that was an embellishment after the fact).
 
 Reason 2:
 If there isn't a DVD image to download (either in whole or torrent) then 
 the layout would allow me to create my own INSTALL DVD with my curent 6.0 
 roms.
 
 There - now that I have taken the time to eplain this, I hope there isn't 
 anymore confusion as to what I'm asking.
 
 
 Best regards,
 Chris
 

Chris,

You do seem to be missing the point. The info you are asking for is on
the Freebsd site. See http://www.freebsd.org/where.html

FreeBsd does not have a DVD version for download. It is only available
as iso's on the site and you can down load these by torrent if you want
to.

If you want to do something else then read the documentation and work it
out - that is primarily how the system works. 

You can get FreeBsd on DVD is you want to buy it - see the
http://www.freebsd.org/where.html for info on the FreeBsd mall at cost
or you can find suppliers at cost through say ebay.

One other thought if you don't want to spend time swapping the CDs try
an FTP install.

Rob   

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


Support for IPv6 SNMP and IPv6 SYSLOG

2006-02-10 Thread McGuerty, Jay S.
Hi,

I've looked through the release notes for the latest version of FreeBSD and
it

is not clear whether it supports SNMPv6 and SYSLOGv6.Can you confirm

IPv6 support for these protocols?

 

Thanks,

Jay

 

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


RE: Support for IPv6 SNMP and IPv6 SYSLOG

2006-02-10 Thread McGuerty, Jay S.
Hi,

Update, specifically does FreeBSD ucd-snmp patch function as a SNMP Server?

 

  _  

From: McGuerty, Jay S. 
Sent: Friday, February 10, 2006 9:15 AM
To: 'freebsd-questions@FreeBSD.org'
Subject: Support for IPv6 SNMP and IPv6 SYSLOG

 

Hi,

I've looked through the release notes for the latest version of FreeBSD and
it

is not clear whether it supports SNMPv6 and SYSLOGv6.Can you confirm

IPv6 support for these protocols?

 

Thanks,

Jay

 

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


Re: Using dd to Make a Clone of a Drive

2006-02-10 Thread Bart Silverstrim


On Feb 10, 2006, at 11:11 AM, Peter wrote:



--- Bart Silverstrim [EMAIL PROTECTED] wrote:



On Feb 10, 2006, at 9:50 AM, Giorgos Keramidas wrote:


On 2006-02-10 09:44, Peter [EMAIL PROTECTED] wrote:

--- Giorgos Keramidas [EMAIL PROTECTED] wrote:

As long as the new slice had enough space, geometry shouldn't
matter to dump|restore   ?


Right :)  It also allows restoring in a different partition layout.


Any chance of there being a way like this to restore to windows
systems
from the FreeBSD box?


Not really.  I'm far from being a Windows expert though, so YMMV.


As an image?  Look up partimage and partimaged.  We've had some luck
restoring from both a Linux system running the Partimaged daemon and
booting from a Linux disk and restoring images off a samba/Windows
share using partimage.


I intend to use g4u.  I have done some preliminary testing and I am 
quite

confident that I can upload and download an image.  I am now wondering
about the situation where I need to recreate the partition that is to
contain the image.  It needs to be exactly the same size (sectors) as 
the

image.  That's what I'm worried about.  Any suggestions?


Never used g4u...I know that with partimage, if I imaged, say, a 4 gig 
drive, then pulled it down to a 6 gig drive and booted Windows, Windows 
(2000) would see 4 gig.  I had to use a partition editor (there was a 
graphical one on one of the Linux rescue CDs) that I used to enlarge 
the partition, and Win2k didn't seem to care at all.  Qtparted, maybe?


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


Re: LDAP account manager (LAM) does'n work correctly

2006-02-10 Thread Jan HREHO

Nathan Vidican wrote:


Jan HREHO wrote:


Hi.

My system:
FreeBSD 6.0 + update ports.
OpenLDAP 2.2.30.
Samba 3.0.21a
Apache 2.0.55_33
PHP 5.1.2_1
LAM 0.5.1
All programs I installed over ports

OpenLDAP work's right. I check it over phpldapadmin.

My problem:
When I create new user over LAM and I go 'Samba 3' site get follow on 
the screen.
*Warning*: getdate() expects parameter 1 to be long, string given in* 
usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *767*
*Warning*: getdate() expects parameter 1 to be long, string given in 
*/usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *768*
*Warning*: getdate() expects parameter 1 to be long, string given in 
*/usr/local/www/lam/lib/modules/sambaSamAccount.inc* on line *769*
Those parameter's are sambaPwdCanChange, sambaPwdMustChange, 
sambaKickoffTime.

I try solution on the web a few day, but without success.
Do meet someone with similar problem?

Thanks, for your help.


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



Sounds like you did not import the correct schema files into 
OpenLDAP's slapd.conf configuration file. You should have:


core.schema
cosine.schema
inetorgperson.schema
nis.schema
samba.schema

Without these schema files loaded in slapd.conf, the system does not 
know how to define the data/types stored in the LDAP tree for Samba 
accounts, which includes those objects created/manipulated using LAM. 
The samba.schema file is included in the source distribution of Samba.


Temporarily in test time, I load all available schemas in system - 
include samba.schema.

I think, that I forget some litlle thing over installation.
Do I have to config additionally php.ini or http.conf after LAM 
installation? (or other config file).



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


Re: stale dependencies in pkgdb

2006-02-10 Thread Andrew
On Fri, 2006-02-10 at 11:42 -0500, Robert Huff wrote:
 Andrew writes:
 
   I've run pkgdb -F as portupgrade suggests, deleting stale
   dependencies, but they seem to keep reappearing.
 
   I'm not an expert on pkgdb, but I'm pretty sure that's the way
 it works.
   You need to fix, not delete, the stale dependencies.  This may
 take some effort the first time around.
   Beyond that, I question the wisdom of any automatic
 solution.  There are definitely times when I do _not_ want to accept
 the fixes proposed by pkgdb -F.

I guess what is unclear to me is how I go about fixing the stale
dependencies. I was under the impression that portupgrade would take
care of the dependencies for a particular port, and the stale
dependency was just an error in the package database (pkgdb). Is this
not the case?

Thank-you,
Andrew

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


Re: How is this List Connected with the usenet?

2006-02-10 Thread Eric Schultz

Chris Maness wrote:

Does this list crossover into Usenet?


Good afternoon...

check out http://dir.gmane.org/index.php?prefix=gmane.os.freebsd

they have various web interfaces, as well as nntp and rss feeds. 
read-only though.  to post you have to subscribe and send mail to the list.


--
Headed for the second star to the right and straight on 'til morning...

  Eric Schultz
  (aka Storkman)

Photos: http://community.webshots.com/user/schultznet
Homepage: http://www.schultznet.ca
Blog: http://schultznet.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: natd auth requests

2006-02-10 Thread Lowell Gilbert
Wojciech Puchar [EMAIL PROTECTED] writes:

 how can i make ident service to make informative answers for
 connections handled by natd? like answering last byte of source IP
 number or DNS reverse name or maybe from table like oidentd?

How about running oidentd, if you already know it does what you'd
like?  It's in ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: #:Failed to force tx and rx idle state

2006-02-10 Thread Lowell Gilbert
Thiago Esteves [EMAIL PROTECTED] writes:

  Hi, I've had troubles with a ethernet adapter dc It send the 
 mensage :::
  
   = dc0: Failed to force tx and rx idle state=
  
   ::: What's it?

It tried and failed to reset the MAC controller.
What other symptoms are you seeing?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CD installation and file flags

2006-02-10 Thread Lowell Gilbert
Alex Renn [EMAIL PROTECTED] writes:

 I installed FreeBSD 6.0 from CD and noticed that file flags were not
 applied by default to /boot, /bin, /sbin.

Right.  suid files get the flags, but nothing else.  

 I set kernel_securelevel to 3 but it does not help a lot while there
 are no schg flags on system files.

File flags are enforced at a securelevel of 1.  If they are all you
care about, then there's no reason to add the filesystem mounting,
clock, and firewall restrictions of levels 2 and 3.

 Is there any script to set proper flags for all files in the default
 installation?

There is not widespread agreement on the definition of proper in
that sentence.  Once you have a precise idea of what you think it
should be, writing a script for your particular needs will be
trivial.  

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


Re: Problem installing 6.0 - Help

2006-02-10 Thread Lowell Gilbert
Matias Surdi [EMAIL PROTECTED] writes:

 Hi,
 
 I'm trying to install FreeBSD 6 on a new pc.
 
 After creating  the partitions and choosing the packages to install,
 when te transfer of the base system from the DVD-drive (with a
 standard CD inside) to the hard disk starts, an error message appears
 saying: Write failure on transger! (wrote 0 bytes of...) and I can
 se on the second console something like:
 
 acd0: FAILURE - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03 error=0

Are you sure the CD is good?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem installing 6.0 - Help

2006-02-10 Thread Matias Surdi
yes, it's good I've burned it again and the problem still exists..

:-(


10 Feb 2006 13:56:55 -0500, Lowell Gilbert
[EMAIL PROTECTED]:
 Matias Surdi [EMAIL PROTECTED] writes:

  Hi,
 
  I'm trying to install FreeBSD 6 on a new pc.
 
  After creating  the partitions and choosing the packages to install,
  when te transfer of the base system from the DVD-drive (with a
  standard CD inside) to the hard disk starts, an error message appears
  saying: Write failure on transger! (wrote 0 bytes of...) and I can
  se on the second console something like:
 
  acd0: FAILURE - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03 error=0

 Are you sure the CD is good?

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

Re: Tracking Security in Ports and Base System

2006-02-10 Thread Dan Nelson
In the last episode (Feb 10), Andreas Davour said:
 On Wed, 8 Feb 2006, Chuck Swiger wrote:
 Chris Maness wrote:
 How should I set up cvsup to just track security updates for ports. 
 And would the best thing to do after I synced CVS, do portupgrade
 -a so that everything selected gets rebuilt.
 
 What is the equivalent for the base system?
 
 The ports tree isn't branched; just get HEAD (aka .) and you'll
 get the most current version with the most recent security updates. 
 You might want to install security/portaudit, however, which is a
 very useful tool.
 
 Which makes me finally throw out a question I've been wondering
 about.  Is there no way of getting a specific tagged ports tree, if
 you'd like to get a ports tree the way it looked when, say,
 4.6-RELEASE came out?

Use a tag of RELEASE_4_6_0 .

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


Re: xmule 6.0-REL

2006-02-10 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Hi,
 
 I've tried to install xmule in 6.0-REL from the ports
 collection, but the port is broken:
 
 # cd /usr/ports/net/xmule
 # make
 ===  xmule-1.10.0.a is marked as broken: Incomplete pkg-plist.
 #
 
 the FreeBSD homepage shows a recent version but in a tree which
 6.0-REL not has: /usr/ports/net-p2p
 
 What is the correct way to update this tree into my 6.0-REL?

See the FreeBSD Handbook chapter titled The Cutting Edge.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem installing 6.0 - Help

2006-02-10 Thread Lowell Gilbert
Don't top-post, please.

Matias Surdi [EMAIL PROTECTED] writes:

 10 Feb 2006 13:56:55 -0500, Lowell Gilbert
 [EMAIL PROTECTED]:
  Matias Surdi [EMAIL PROTECTED] writes:
 
   Hi,
  
   I'm trying to install FreeBSD 6 on a new pc.
  
   After creating  the partitions and choosing the packages to install,
   when te transfer of the base system from the DVD-drive (with a
   standard CD inside) to the hard disk starts, an error message appears
   saying: Write failure on transger! (wrote 0 bytes of...) and I can
   se on the second console something like:
  
   acd0: FAILURE - READ_BIG HARDWARE ERROR asc=0x08 ascq=0x03 error=0
 
  Are you sure the CD is good?
 

 yes, it's good I've burned it again and the problem still exists..
 
 :-(
 
 

And one of these disks worked on a different system?

Interesting that the installer reported a write failure (which must
have been the hard disk), but the console reported a read failure on
the CD.  Try a minimal install, and maybe you will avoid whatever is
causing the specific issue.  [And if not, you may well have a clearer
set of symptoms.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/lib/libxpg4.so.3 missing - Did I miss a memo?

2006-02-10 Thread Trix Farrar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On my network, I have several hosts that were originally installed with
FreeBSD 5.2.1-RELEASE, 5.3-RELEASE, and 5.4-RELEASE.  All of these have
been updated now to 6.0-RELEASE-p4.  One host was originally installed
from 6.0-RELEASE media and subsequently updated to p4.  All works well.

I took a cue from The FreeBSD Handbook; 21.5 Tracking for Multiple
Machines, and have a central build host for the network.  On this
machine, I do my make buildworld, make buildkernel and building of
packages to ports.  That way I can just install port packages on the
non-build machine.

Everything worked great until I built bacula-server-1.38.5_1.  Package
built fine.  Installs and runs fine on all machines except the host that
was originally installed from 6.0-RELEASE media.  On that machine, the
bacula daemons will not execute.  They error with: (for example)

/libexec/ld-elf.so.1: Shared object libxpg4.so.3 not found, required
by bacula-dir

This library does not exist on the from-6.0-install machine.

I started by looking through /usr/src/UPDATING and can find no mention
of this library on either the default branch or RELENG_5 branch.  Next I
started browsing through CVS and logs for /usr/src.  Here's what I've found:

This library has been obsolete and pretty much empty for a long time
because its functionality was moved into libc.  Yes, the library itself
still existed up until the RELENG_5 tag.

About 14 months ago, the files were removed on the mainline by tjr (Tim
J. Robbins) on 2004-Nov-13.

I've managed to get past this by adding a line to libmap.conf(5):

libxpg4.so.3   libc.so.6

My questions (yes, finally) are:

* Is this change documented somewhere that Google can't find or that I'm
not looking?

* Is my handling of this situation correct as a band-aid fix?

* How can I know whether or not it is save to delete libxpg4.a,
libxpg4.so, libxpg4.so.3, and libxpg4_p.a from /usr/lib on the machines
where they are present?

* Why would bacula (or anything else, for that matter) even try to link
to this library in the first place?  (Ok, I'll admit that I'm being lazy
on this one because I haven't really researched it yet)


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD7PFFUn6S0hqD4tsRApqfAJ0e28W6cWI+VR7bTYudh75wH0RrmACgrdxQ
J846qPlquupb91uFcImU9JE=
=pG2s
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stale dependencies in pkgdb

2006-02-10 Thread Donald J. O'Neill
On Friday 10 February 2006 12:41, Andrew wrote:
 On Fri, 2006-02-10 at 11:42 -0500, Robert Huff wrote:
  Andrew writes:
I've run pkgdb -F as portupgrade suggests, deleting stale
dependencies, but they seem to keep reappearing.
 
  I'm not an expert on pkgdb, but I'm pretty sure that's the way
  it works.
  You need to fix, not delete, the stale dependencies.  This may
  take some effort the first time around.
  Beyond that, I question the wisdom of any automatic
  solution.  There are definitely times when I do _not_ want to
  accept the fixes proposed by pkgdb -F.

 I guess what is unclear to me is how I go about fixing the stale
 dependencies. I was under the impression that portupgrade would take
 care of the dependencies for a particular port, and the stale
 dependency was just an error in the package database (pkgdb). Is
 this not the case?

 Thank-you,
 Andrew

 ___
A stale dependency can be a required program that's old, or it can be 
that there are two versions of the required program listed as installed 
in pkgdb, or it can be the required program was removed by another 
program and something else installed in its place and the dependcies 
not upgraded in pkgdb.

'pkgdb -F' will fix the problems it can safely fix. What it won't fix is 
a dependcency on a program that's been removed. You need to look at 
that message and figure out what's going on and correct the problem. 
Skipping or deleting the dependency is not taking care of the problem, 
it's just getting out of 'pkgdb -F'.

Portupgrade - depending on how you used it - takes care of dependcies. A 
stale dependency is not an error in pkgdb. Something is wrong and you 
have to fix it. By the way, portaudit is a fine tool, but sometimes it 
gets in the way of what you want to do. It can prevent you from 
installing or upgrading some program that you want to. I can't say you 
would be better off without it, but I very seldom use it.

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


Re: stale dependencies in pkgdb

2006-02-10 Thread Andrew
On Fri, 2006-02-10 at 11:42 -0500, Robert Huff wrote:
 Andrew writes:
 
   I've run pkgdb -F as portupgrade suggests, deleting stale
   dependencies, but they seem to keep reappearing.
 
   I'm not an expert on pkgdb, but I'm pretty sure that's the way
 it works.
   You need to fix, not delete, the stale dependencies.  This may
 take some effort the first time around.
   Beyond that, I question the wisdom of any automatic
 solution.  There are definitely times when I do _not_ want to accept
 the fixes proposed by pkgdb -F.

My apologies; I re-read the man pages for portupgrade and pkgdb and I
think I understand what's going on now. Thanks anyway...

-Andrew

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


Re: stale dependencies in pkgdb

2006-02-10 Thread Andrew
On Fri, 2006-02-10 at 15:11 -0500, Robert Huff wrote:
 Andrew writes:
 
   I guess what is unclear to me is how I go about fixing the stale
   dependencies. I was under the impression that portupgrade would
   take care of the dependencies for a particular port, and the
   stale dependency was just an error in the package database
   (pkgdb). Is this not the case?
 
   My understanding of how things work:
   Consider two ports a and b, such that a-4.6 is a dependency for
 b-2.2. If a updates to 4.7, and I run portupgrade -r a, b will
 also be updated.
   But if I run portupgrade a (or there's a bug in the programs/
 scripts) b will not update ... and pkgdb will complain about about a
 stale (i.e. unsatisified) dependency.  This also happens when you
 replace one port with another that provides the same functionality.
   For example: many gnome ports depend on openldap.  But I use
 openldap-sasl - and every time I update one of those ports I have to
 manually correct the dependency.  (There's probably a way to do that
 automatically, but I haven't figured out how.)
   And now there's a stale dependency.  This can be expecially
 frustrating if the dependant port hasn't been updated for years; the
 required port may have been upgraded beyond recognition, no longer
 available, absorbed into another port, etc..
   As to how, try this as a first approximation.  Run [kgdb -f,
 and reply no to all changes.  Write down the port:dependency
 pairs, and then anaylze the dependencies.  Has it been
 installed. but not registered?  Replaced by a newer version?  Two
 useful files are /usr/ports/UPDATING and /usr/ports/MOVED.
   My response here is mostly guesswork, educated by several years
 of doing this and sometimes asking for help.  In the case above,
 fixing a-4.6 with a-4.7 is usually a no-brainer.  Fixing a-4.6 with
 a-5.0, however, would require reseaech (and warrant keeping a backup
 of the pkgdb).

Sorry; just fired off a message to the list before I got this one...

Anyway, I think I've got it now. I believe I was correct in thinking
that portupgrade usually takes care of dependencies; the portion that I
was missing was that pkgdb catches what discrepancies do appear between
what is installed and what is required. 

One of the ports that was giving me troubles was gamin; which I've just
noticed seems to be similar to your situation with openldap-sasl
(gamin/fam). Another was cdrtools (cdrtools/cjk-cdrtools). I've
corrected both manually using pkgdb -F, which I think solves my
problem (for now, at least :-) ).  

Thank you for your help!

-Andrew

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


Re: /usr/lib/libxpg4.so.3 missing - Did I miss a memo?

2006-02-10 Thread Kris Kennaway
On Fri, Feb 10, 2006 at 02:02:17PM -0600, Trix Farrar wrote:
 On my network, I have several hosts that were originally installed with
 FreeBSD 5.2.1-RELEASE, 5.3-RELEASE, and 5.4-RELEASE.  All of these have
 been updated now to 6.0-RELEASE-p4.  One host was originally installed
 from 6.0-RELEASE media and subsequently updated to p4.  All works well.
 
 I took a cue from The FreeBSD Handbook; 21.5 Tracking for Multiple
 Machines, and have a central build host for the network.  On this
 machine, I do my make buildworld, make buildkernel and building of
 packages to ports.  That way I can just install port packages on the
 non-build machine.

If you do this, you need to make sure you're generating compatible
binaries.  In this case, you seem to be generating binaries that are
targetted for an older release than FreeBSD 6.0.  In order to run 5.x
binaries on FreeBSD 6.0, you need to install the compat5x port and
build with the corresponding kernel option.

 * How can I know whether or not it is save to delete libxpg4.a,
 libxpg4.so, libxpg4.so.3, and libxpg4_p.a from /usr/lib on the machines
 where they are present?

Use the libchk port.

 * Why would bacula (or anything else, for that matter) even try to link
 to this library in the first place?  (Ok, I'll admit that I'm being lazy
 on this one because I haven't really researched it yet)

I'm guessing you are running an old 5.x binary from before the
removal.  A 6.0 binary of bacula indeed will not try to link to this
nonexistent library.

Kris


pgpsSokSBMISh.pgp
Description: PGP signature


Re: stale dependencies in pkgdb

2006-02-10 Thread Peter

--- Andrew [EMAIL PROTECTED] wrote:

 On Fri, 2006-02-10 at 11:42 -0500, Robert Huff wrote:
  Andrew writes:
  
I've run pkgdb -F as portupgrade suggests, deleting stale
dependencies, but they seem to keep reappearing.
  
  I'm not an expert on pkgdb, but I'm pretty sure that's the way
  it works.
  You need to fix, not delete, the stale dependencies.  This may
  take some effort the first time around.
  Beyond that, I question the wisdom of any automatic
  solution.  There are definitely times when I do _not_ want to accept
  the fixes proposed by pkgdb -F.
 
 My apologies; I re-read the man pages for portupgrade and pkgdb and I
 think I understand what's going on now.

Ok, but be more careful next time.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pear problem

2006-02-10 Thread Albert Shih
Hi all

On a FreeBSD 5.4-p8 I've a problem to install pear ports.

When I try to do that 

cd /usr/ports/devel/pear
make install

the ports install stop with core dump (php.core).

Anyone have this problem ?

(All ports is up2date).

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Tel  : 01 44 27 86 88
FAX  : 01 44 27 69 35
GSM(UFR) : 06 85 05 58 43
Heure local/Local time:
Fri Feb 10 22:21:52 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changelog for 6.1 ?

2006-02-10 Thread Xn Nooby
I was trying to find out if the keyboard on my zv5445us HP Pavillion laptop
will work, but I can't find the list of bugs fixed.  My laptop only works
with an external USB keyboard.

http://lists.freebsd.org/pipermail/freebsd-hackers/2006-February/015418.html

A lot of bugfixes havebeen made, some drivers have been updated, and some
areas have been tweaked for better performance, etc. but no large changes
have been made to the basic architecture.

And:

http://www.freebsd.org/releases/6.1R/todo.html

That's all I've been able to find so far.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: changelog for 6.1 ?

2006-02-10 Thread Kris Kennaway
On Fri, Feb 10, 2006 at 04:32:43PM -0500, Xn Nooby wrote:
 I was trying to find out if the keyboard on my zv5445us HP Pavillion laptop
 will work, but I can't find the list of bugs fixed.  My laptop only works
 with an external USB keyboard.

You need to look at the CVS repository (in the CVSRoot directory),
e.g. with cvsweb.

Kris


pgpZ6v07ChrTO.pgp
Description: PGP signature


Re: natd auth requests

2006-02-10 Thread Wojciech Puchar

handled by natd? like answering last byte of source IP number or DNS
reverse name or maybe from table like oidentd?


If you're using 1-to-1 NAT forwarding, run identd or the inetd-based version on
the internal hosts you're forwarding to.  If you're using NAT to only forward
individual ports to specific machines, or are using NAT for outbound connection
sharing only, well, you can only forward ident requests to a single machine; I
don't know of a better solution.

Interesting problem...

i use to forward about 200 machines through one IP (+ipfw2 to manage 
bandwidth). all works fine except no authentication of user is possible.


for NetBSD i wrote a simple program (identd replacement) that parsed
ipnat -l output and made and answer.

but under FreeBSD there is no thing similar to /sbin/ipnat -l with natd.

or maybe is? something that will output natd map table.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: natd auth requests

2006-02-10 Thread Wojciech Puchar

connections handled by natd? like answering last byte of source IP
number or DNS reverse name or maybe from table like oidentd?


How about running oidentd, if you already know it does what you'd
like?  It's in ports.

well that's what i needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help Installing FreeBSD 6.0 with GUI

2006-02-10 Thread Alexandre Adao
I am VERY new on FeeBSD and I installed it using the
standard option. How can have freeBSD 6.0 runing on
GUI? Is there any step by step proceedure?

Thanks for any help.
--Alex


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: natd auth requests

2006-02-10 Thread Wojciech Puchar

number or DNS reverse name or maybe from table like oidentd?


How about running oidentd, if you already know it does what you'd
like?  It's in ports.

well that's what i needed.
___



oidentd is an ident (rfc1413 compliant) daemon that runs on Linux,
FreeBSD, OpenBSD and Solaris.  oidentd can handle IP masqueraded/NAT 
connections

on Linux, FreeBSD (ipf only) and OpenBSD.  oidentd has a flexible
  ^^


NOT WHAT i needed unfortunately

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


Re: Help Installing FreeBSD 6.0 with GUI

2006-02-10 Thread Ken Stevenson

Alexandre Adao wrote:

I am VERY new on FeeBSD and I installed it using the
standard option. How can have freeBSD 6.0 runing on
GUI? Is there any step by step proceedure?

Thanks for any help.
--Alex



Read the following:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

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


randomized source IP for userland app?!

2006-02-10 Thread Wojciech Puchar
is it possible for userland application (or many of then) for TCP 
connections to select it's source IP address from a list random or 
round-robin way? (say 2-4 different IP's)


with ipfw or other ways?

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


SATA RAID0 and Plextor SATA DVD0-RW DRIVE system hang

2006-02-10 Thread RYAN M. vAN GINNEKEN
HI I am having great difficulty with my SATA DVD-RW drive.  It is a Plextor  
PX-716A ver 1.08 and is serial ATA seems to work/detect as acd1 fine before.  
However I cannot remember if i could mount it but did not try very hard and do 
not exactly know what i am doing with dvd-rw and FreeBSD yet.

I compiled atapicam into the Kernel as per the handbook 17.5 the below related 
options were already there as i am running a Generic Kernel other than atapicam

device scbus
device da
device pass
device uhci
device ohci
device usb
device umass


When i try to boot with the drive plugged in the system hangs while detecting 
the drives. Must be reset with the drive unplugged to get fbsd back.  Note i 
tried playing with the bios settings changing from enhanced sata to legacy and 
some combos of that.  Also tried the  the plug and play os off and then on 
nothing seemed to make the system boot with drive attached.  

I use a INTEL  D925CV2 with built in raid see below about drive configuration ( 
this is without Plextor drive pluged in ) and a unmame output.

FreeBSD rachel.computerking.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu 
Feb  9 20:37:25 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CK06020701  
i386



acd0: CDRW HL-DT-ST GCE-8523B/1.01 at ata0-master UDMA33
ad4: 286167MB Seagate ST3300831AS 3.03 at ata2-master SATA150
ad6: 286167MB Seagate ST3300831AS 3.03 at ata3-master SATA150
ar0: 572333MB Intel MatrixRAID RAID0 (stripe 128 KB) status: READY
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad6 at ata3-master
cd0 at ata0 bus 0 target 0 lun 0
cd0: HL-DT-ST CD-RW GCE-8523B 1.01 Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closed



am having problems with my plextor dvdr px-716a after adding apticam
 to the kernel as recommend in the optical drive section of the handbook
 I get freeze up on boot irq storms and the like have to unplug the drive
 in order to get thing to work anyone have this problem or is it just me. 

-- 
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 

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


Re: twe question

2006-02-10 Thread Mike Tancsa
On Fri, 10 Feb 2006 09:53:01 +0100 (MET), in
sentex.lists.freebsd.questions you wrote:

dear list,
two days ago i got the following log message

twe0: AEN: twe0: port 1: sector repair occurred

what does it mean? (source code doesn't say)
the box is running for nearly 400 days now; until now no problems and for
the last two days no message.

do i have to worry?


It might be S.M.A.R.T reporting an error on the drive that was
remapped by the drive.  Take a look at
/usr/ports/sysutils/smartmontools.  You can read the smart info off
the disk to see if the amount of bad sectors are increasing or not

Try
smartctl -a -d 3ware,1 /dev/twed0

If you install the daemon, it can monitor changes for you with more
detail

e.g.


# smartctl -a -d 3ware,0 /dev/twed1
smartctl version 5.33 [i386-unknown-freebsd4.9] Copyright (C) 2002-4
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: ST380011A
Serial Number:3JV3WT64
Firmware Version: 3.16
User Capacity:80,000,000,000 bytes
Device is:In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 2
Local Time is:Fri Feb 10 21:06:01 2006 EST
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:  (0x82) Offline data collection
activity
was completed without error.
Auto Offline Data Collection:
Enabled.
Self-test execution status:  (   0) The previous self-test routine
completed
without error or no self-test
has ever 
been run.
Total time to complete Offline 
data collection: ( 430) seconds.
Offline data collection
capabilities:(0x5b) SMART execute Offline
immediate.
Auto Offline data collection
on/off support.
Suspend Offline collection
upon new
command.
Offline surface scan
supported.
Self-test supported.
No 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.
No General Purpose Logging
support.
Short self-test routine 
recommended polling time:(   1) minutes.
Extended self-test routine
recommended polling time:(  58) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE
UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   061   056   006Pre-fail
Always   -   194009620
  3 Spin_Up_Time0x0003   097   097   000Pre-fail
Always   -   0
  4 Start_Stop_Count0x0032   100   100   020Old_age
Always   -   0
  5 Reallocated_Sector_Ct   0x0033   100   100   036Pre-fail
Always   -   0
  7 Seek_Error_Rate 0x000f   084   060   030Pre-fail
Always   -   253947934
  9 Power_On_Hours  0x0032   080   080   000Old_age
Always   -   17873
 10 Spin_Retry_Count0x0013   100   100   097Pre-fail
Always   -   0
 12 Power_Cycle_Count   0x0032   100   100   020Old_age
Always   -   36
194 Temperature_Celsius 0x0022   043   049   000Old_age
Always   -   43
195 Hardware_ECC_Recovered  0x001a   061   056   000Old_age
Always   -   194009620
197 Current_Pending_Sector  0x0012   100   100   000Old_age
Always   -   0
198 Offline_Uncorrectable   0x0010   100   100   000Old_age
Offline  -   0
199 UDMA_CRC_Error_Count0x003e   200   200   000Old_age
Always   -   0
200 Multi_Zone_Error_Rate   0x   100   253   000Old_age
Offline  -   0
202 TA_Increase_Count   0x0032   100   253   000Old_age
Always   -   0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Short offline   Completed without error   00% 10357
-
# 2  Short offline   Completed without error   00%  9451
-
# 3  Short offline   Completed without error   00%  9427
-
# 4  Short offline   

MBR blown away

2006-02-10 Thread Peter
I need help.

I added a slice to a single hard drive dual-boot (windows) system and now
I guess that scrambled my MBR.  I get three options from the FreeBSD (5.4)
boot manager:

1. DOS
2. FreeBSD
3. FreeBSD

I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the
windows/dos option is fried.

My current strategy is to use boot0cfg:

# boot0cfg -B

But I'm a little squeemish.  I don't want to be locked out of FreeBSD (I
barely use Windows but I still would like it back for Visio).  Any
guidance?

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


question

2006-02-10 Thread Jose Jesus Ortega
By any chance do you know what Debian GNU/kFreeBSD
because I'm confused on it. Can I run freeBSD packages
or ports if I install debian with that package or is
it something else? thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MBR blown away

2006-02-10 Thread Lorin Lund

Peter wrote:

I need help.

I added a slice to a single hard drive dual-boot (windows) system and now
I guess that scrambled my MBR.  I get three options from the FreeBSD (5.4)
boot manager:

1. DOS
2. FreeBSD
3. FreeBSD
  

I would think that the appearance of the above menu, and the fact that
it functions correctly when you choose FreeBSD indicates that the MBR is 
intact.  I

would presume, then, that the Windows partition has been damaged.

If the file system the Windows partition is healty in general with just 
a few files
in the boot sequence being damaged or missing you should be able to 
re-install
Windows in that partition and find all your data and applications 
present and in
good shape.  If however the filesystem in the Windows partition is 
messed up you

may have lost everything.

If you do re-install windows it will probably replace the MBR that is 
there with

what Windows consideres to be a 'standard' MBR.  I think you can use dd to
copy the MBR that is currently there.

Then to get back to FreeBSD you'll have to use fdisk to set the active 
partition

to FreeBSD.  Then you can, hopefully, restore the MBR you saved.

I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the
windows/dos option is fried.

My current strategy is to use boot0cfg:

# boot0cfg -B

But I'm a little squeemish.  I don't want to be locked out of FreeBSD (I
barely use Windows but I still would like it back for Visio).  Any
guidance?

--
Peter






__ 
Find your next car at http://autos.yahoo.ca

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


  


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


SATA Raid

2006-02-10 Thread Robert Uzzi
Anyone know of any of the cheaper SATA raid cards that work well under
FreeBSD. I'd love to go get a 3ware but they are fairly pricey.

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


Re: need help setting up a new partition

2006-02-10 Thread [EMAIL PROTECTED]
On 2/8/06, Peter [EMAIL PROTECTED] wrote:
   On 09-Feb-2006 Peter wrote:
I have a dual-boot arrangement with Win2k (on the first and second
partition) and FreeBSD 5.4 (on the third partition).  I am willing
  to
sacrifice the second partition and give it over to FreeBSD as I am
lacking space there.  I'm just not sure how to proceed.
. . .
 Actually I changed a sysctl setting (sysctl kern.geom.debugflags=16) and I
 was able to delete/create the partition.  Now I am stuck trying to create
 the slices.  It keeps telling me the mount points do not exist when they
 do.  I rebooted after creating them.


Command line tools are much easier.

dd if=dev/zero of=/dev/ad0s2 bs=1024k count=1
glabel label -v l0 /dev/ad0s2
bsdlabel -w /dev/label/l0
bsdlabel -e /dev/label/l0
newfs -U -O2 -b 16384 -f 2048 /dev/label/l0[ad-g]
mount . . .
echo 'geom_label_load=yes'  /boot/loader.conf

glabel is pretty spiffy, you can then dispense with the
worry about having to change your /etc/fstab every time you
move a hard drive, if you move hard drives from controller
to controller, tossing notions of fixed disks to the wind.

Note well: I have no idea how well geom_label and boot devices
work together.

Note also: sysinstall is silly for standard tasks like disk slicing
and partitioning, and as well, it's not very geom-aware.
--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MBR blown away

2006-02-10 Thread Ken Stevenson

Peter wrote:

I need help.

I added a slice to a single hard drive dual-boot (windows) system and now
I guess that scrambled my MBR.  I get three options from the FreeBSD (5.4)
boot manager:

1. DOS
2. FreeBSD
3. FreeBSD

I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the
windows/dos option is fried.

My current strategy is to use boot0cfg:

# boot0cfg -B

But I'm a little squeemish.  I don't want to be locked out of FreeBSD (I
barely use Windows but I still would like it back for Visio).  Any
guidance?

--
Peter


This article might provide a clue:

http://www.extremetech.com/article2/0,1697,1918391,00.asp

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


uhub1: device problem (SET_ADDR_FAILED), disabling port

2006-02-10 Thread Warren Liddell
X is failing to start due to it failing to get the mouse, yet during 
boot the mouse is/does work briefly ... but at the end i get uhub1: 
device problem (SET_ADDR_FAILED), disabling port 1 .. then everything 
goes to hell and the mouse looses power/connectivity etc and X wont start.


Im relatively new to this sort of error and have literally no clue 
what to do or what is causing this .. any help would be greatly 
appreciated. i have a USB mouse using FreeBSD 6.1-PreRelease 
___

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


scripting sysinstall for pxeboot

2006-02-10 Thread Christopher Cowart
Hello-

I'm working on a project to netboot servers and perform a custom
installation of FreeBSD. I have pxeboot working with tftp, providing an
mfs image over the network.

sysinstall runs as init and attempts to follow my install.cfg. However,
when running my mediaSetFTP command, sysinstall errors with:
The fxp0 device is not configured. You will need to do so in the
Networking configuration menu before proceeding.

However, I did set tryDHCP=YES. DHCP is working because 1) it just
netbooted from it; and 2) I tried with the installation CD. It doesn't
appear to be honoring my request that it try DHCP.

If I take sysinstall over manually, specifying the network information,
it works just fine.

I want the installation to work with DHCP. Does anyone have any
suggestions for debugging sysinstall in this way?

On a not-a-show-stopper note, is there any way to get around specifying 
the hostname and/or net device? I'd rather not specify the hostname so 
that I can have one generic script for many machines. Further, what if 
a some other machine has a different kind of NIC? By hardcoding these 
values into install.cfg, the solution becomes much less maintainable. 
Why can't it obtain the hostname from DHCP? Any thoughts on this? 

Thanks for your help,
Chris

===

My install.cfg:

# This is the installation configuration file for our rackmounted FreeBSD 
# cluster machines

# Turn on extra debugging.
debug=YES
nonInteractive=YES
noWarn=NO
tryDHCP=YES
noConfirm=YES
releaseName=6.0-RELEASE



# My host specific data
#hostname=firefly
#domainname=rescomp.berkeley.edu
netDev=fxp0
hostname=firefly
_ftpPath=ftp://ftp.FreeBSD.org/pub/FreeBSD/
#nameserver=169.229.70.164
#defaultrouter=169.229.70.1
#ipaddr=169.229.70.170
#netmask=255.255.254.0
#


# Which installation device to use 
RC
##Need to set this!
##
#nfs=MyNfsServer:/export/ari_scratch2/gallatin/freebsd-dist

mediaSetFTP
#mediaSetNFS


[[SNIP]]


===

-- 
Christopher Cowart
Unix Systems Administrator
Residential Computing, UC Berkeley
May all your pushes be popped


pgpCT4ovf0iPr.pgp
Description: PGP signature


Strange problem with user account

2006-02-10 Thread Ian A. Tegebo
Somehow I've foobarred a user account.  It's on a system that first had
the account in /etc/passwd, but then I moved the system over to using
LDAP for user imformation.  Other accounts are fine, but this one will
not allow auth and gives the following error when trying to su ian as
root:

# su USER
su: setusercontext: Invalid argument

And doing the following shows

# ktrace su ian
# kdump -f ktrace.out
...
   35Feb 10 20:29:20 su: initgroups(ian,100): Invalid
   argument
   ...
is near the end of the output.  Both ian and the GID 100 show up
just fine when I do:

# id ian
uid=1032(ian) gid=100(users) groups=100(users)

I suspect that something funny has happened to the account before the
migration; something like having been removed from /etc/passwd but
nowhere else.

The problem is that I can't figure out where to look now.

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


Re: configure acls on remote machine

2006-02-10 Thread [EMAIL PROTECTED]
On 2/9/06, Erik Norgaard [EMAIL PROTECTED] wrote:
 Robin Becker wrote:
  I see possible options as
  1) switch to single user mode somehow and then unmount /home and
  configure acls with tunefs
 
  2) su to root
 kill processes using /home
 do the umount and so on with /home unmounted.
 remount /home
 
  I imagine it might be quite hard to do 1 and 2 seems difficult unless I
  have an ssh to a home folder which isn't under /home.

 Why don't you just create a user for this specific task with home dir on
 some other partition? Then you will ssh to a folder not under /home and
 you can do 2).


In my experience, once your login shell has read its environment
there is no harm in taking /home out, fiddling with it, and putting
it back.  Even logging in to a machine with home unmounted
has the reasonalby minimal effect of putting you in / and giving
you the bog standard environment (/etc/dot.cshrc or /etc/dot.profile).

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


Connecting to serial port

2006-02-10 Thread Steve Douville
I'm trying to connect to the serial port of a Dell PowerConnect 3024.  I've 
connected a null modem cable between them. During boot, this is what is 
happening:

Feb 11 00:34:17 server2 kernel: sio0: configured irq 4 not in bitmap of probed 
irqs 0
Feb 11 00:34:17 server2 kernel: sio0: port may not be enabled
Feb 11 00:34:17 server2 kernel: sio0: 16550A-compatible COM port port 
0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Feb 11 00:34:17 server2 kernel: sio0: type 8250 or not responding

Can anyone shed some light on what I might have done wrong or where to continue 
looking? 

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


Re: changelog for 6.1 ?

2006-02-10 Thread Xn Nooby
Do you know what the URL is?  I'm looking around here:

ftp://ftp.freebsd.org/pub/FreeBSD




On 2/10/06, Kris Kennaway [EMAIL PROTECTED] wrote:

 On Fri, Feb 10, 2006 at 04:32:43PM -0500, Xn Nooby wrote:
  I was trying to find out if the keyboard on my zv5445us HP Pavillion
 laptop
  will work, but I can't find the list of bugs fixed.  My laptop only
 works
  with an external USB keyboard.

 You need to look at the CVS repository (in the CVSRoot directory),
 e.g. with cvsweb.

 Kris



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


Re: changelog for 6.1 ?

2006-02-10 Thread Kris Kennaway
On Sat, Feb 11, 2006 at 01:11:22AM -0500, Xn Nooby wrote:
 Do you know what the URL is?  I'm looking around here:
 
 ftp://ftp.freebsd.org/pub/FreeBSD

http://cvsweb.freebsd.org/ (as 10 seconds with google would have shown
you ;-)

Kris


pgpC4GGDtODJz.pgp
Description: PGP signature


swap_pager: indefinite wait buffer - fixed (sort of)

2006-02-10 Thread John .
Hello list

A month or so ago I noticed that my server was freezing up. It would
slowly recover, but there were 10 or so entries like this:

kernel: swap_pager: indefinite wait buffer: bufobj: 0, blk
no: 140947, size: 32768
Feb 10 13:26:56 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0, blk
no: 101732, size: 4096
Feb 10 13:32:57 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0, blk
no: 86705, size: 32768
Feb 10 14:00:19 shell kernel: swap_pager: indefinite wait buffer: bufobj: 0, blk
no: 94369, size: 16384

Eventually, /var would fill up as well as swap and the system would
lock solid. I thought maybe there was a bad sector on swap, so played
around a bit with deleting and re-creating swap files, even made an
aux swap file and deleted the two real ones, to no avail. I upgraded
from freebsd-4.11 to 5.4 and then up to 6.1-prerelease and the problem
was still there. gstat(8) was still showing queued requests in the
leftmost column. The disk is an ibm deskstar. So I downloaded the
utilities software and ran strenuous testing against the disk, which
reported no errors.

Everywhere I looked on the lists, it pointed to bad cable or hardware.
The disk showed in dmesg like this:

Feb  9 21:22:41 shell kernel: ad0: 39266MB IC35L040AVER07 0 ER4OA44A at ata0-m
aster UDMA100

I thought I'd try running it in safe mode. dmesg now shows the disk like this:

ad0: 39266MB IC35L040AVER07 0 ER4OA44A at ata0-master PIO4

and no errors!

Is this a bug with the ata driver or a problem with the device?

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


I can't mount my USB thumb drive or ipod -- no /dev/da*

2006-02-10 Thread Erin Sharmahd
I'm a bit of a newbie, but I've done a good bit of research, and some
asking around on this issue, and haven't been able to resolve it yet. 
I'm using FreeBSD 6.0 RELEASE with the GENERIC kernel.  (from what i
can tell, it has all of the necessary pieces to allow usb drives).

When I plug my ipod into my computer, dmesg gets the following addition:
umass0: Apple iPod mini, rev 2.00/0.01, addr 2

However, that's all that appears there relative to it.  From google, I
found that plugging in an ipod or a usb thumb drive should add a
/dev/da0 (or similar) entry to /dev, which you should mount.  I still
don't have a /dev/da*, and I actually checked, and nothing is getting
added to /dev when I plug the ipod in.

I thought that perhaps this was a problem related to support for the
ipod, but I have the exact same problem whenever I try to mount a usb
thumb drive.  Nothing new appears in /dev, and dmesg simply gives one
line explaining that umass0 sees the item.  A TA's thumb drive had the
same problem.

The ipod is FAT32, and has been used in linux many times.  The thumb
drive is currently ext3, but I'd like to reformat it to FAT32 once I
can get FreeBSD to recognize it.

Here's the info I can find about the ipod:
from dmesg:
umass0: Apple iPod mini, rev 2.00/0.01, addr 2
from usbdevs -d:
addr 1: EHCI root hub, Intel
  uhub4
 addr 2: iPod mini, Apple
   umass0

And the info from my usb thumb drive:
from dmesg:
umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2
from usbdevs -d:
addr 1: EHCI root hub, Intel
  uhub4
 addr 2: Attache 2.0, PNY
   umass0

Lines that I think are important from the kernel config:
# USB support
deviceuhci# UHCI PCI-USB interface
deviceohci# OHCI PCI-USB interface
deviceehci# EHCI PCI-USB interface (USB 2.0)
deviceusb   # USB Bus (required)
#device   udbp# USB Double Bulk Pipe devices
deviceugen# Generic
deviceuhid# Human Interface Devices
deviceumass   # Disks/Mass storage - Requires scbus and da

# SCSI peripherals
devicescbus   # SCSI bus (required for SCSI)
devicech# SCSI media changers
deviceda# Direct Access (disks)

If there's any further information that would help, please let me
know.  These are the things I've found mentioned on google...

Thanks,
~Erin

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


  1   2   >