The FreeBSD Diary: 2004-11-14 - 2004-12-04

2004-12-05 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


(no subject)

2004-12-05 Thread Alexander Bubnov
Hi, everyone!
Could you help me, please?
I have compiled and installed some FreeBSD ports. And I want to 
recompile my 'World' (FreeBSD 5.3). Do I need to delete with pkg_delete 
those ports and recompile them?

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


Re: (no subject)

2004-12-05 Thread DanGer
Hi Alexander,

Sunday, December 5, 2004, 12:01:30 PM, you typed:

 Hi, everyone!
 
 Could you help me, please?
 
 I have compiled and installed some FreeBSD ports. And I want to 
 recompile my 'World' (FreeBSD 5.3). Do I need to delete with pkg_delete
 those ports and recompile them?

you don't have to reinstall your ports if you are not upgrading for
example from 4.x to 5.x

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve

[ Doobee doobee doo. - F. Sinatra ]

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


Re: (no subject)

2004-12-05 Thread David Jenkins
On Sun, 5 December, 2004 11:01, Alexander Bubnov said:
 Hi, everyone!

 Could you help me, please?

 I have compiled and installed some FreeBSD ports. And I want to
 recompile my 'World' (FreeBSD 5.3). Do I need to delete with
 pkg_delete
 those ports and recompile them?

Generally, no. But, if you are upgrading from 4.x to 5.x or from 5.x
(for x=0; x3) to 5.3 then you will need to I believe.

The best thing to do is read /usr/src/UPDATING before every
buildworld. If you do need to rebuild any ports, then it will tell you
in there.

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


Machine doesn't boot after switching from Linux to FreeBSD

2004-12-05 Thread Chris Zumbrunn
I'm trying to switch a Linux system to FreeBSD. I have two existing  
FreeBSD boxes running on the same kind of hardware and my approach was  
to rsynch the disk contents from one of those existing configs and just  
change the IP configuration in /etc/rc.conf.

After fdisk, disklabel, and newfs for the disks and the rsync for the  
data I am left with a system that won't boot. When attempting to boot  
from the local disks I can't ping the system anymore, when net-booting  
back into rescue mode I see that nothing was written to  
/var/messages/log. So, I guess this looks like a bootstrapping problem.  
The FreeBSD config that I'm rsynching to the new box is FreeBSD  
4.9-RELEASE. Both the existing machine and the new machine have the  
same kind of disks in them:

ar0: 117246MB ATA RAID1 array [14946/255/63] status: READY subdisks:
 0 READY ad0: 117246MB Maxtor 6Y120L0 [238216/16/63] at ata0-master  
PIO4
  1 READY ad2: 117246MB Maxtor 6Y120L0 [238216/16/63] at  
ata1-master

The full dmesg output that I get after net-booting from the rescue disk  
I included on the very bottom of this message.

Here is what I did before expecting a bootable machine:
# dd if=/dev/zero of=/dev/ar0 bs=512 count=32
# fdisk -BI ar0
# dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
# disklabel -w -B ar0s1 auto
# disklabel -e ar0s1
# newfs ar0s1a
# mount /dev/ar0s1a /mnt
...followed by a rsync to /mnt/ from / of the existing machine
...followed by editing the IP configuration in /mnt/etc/rc.conf
...followed by attempting to boot from the local disks
But before I got that far I had some problems for which I found the  
following work-arounds:

Initial problem:
# fdisk -BI ar0
fdisk: can't get disk parameters on /dev/ar0; supplying dummy ones
*** Working on device /dev/ar0 ***
fdisk: invalid fdisk partition table found
fdisk: /boot/mbr: length must be a multiple of sector size
# disklabel -w -B ar0s1 auto
cylinders/unit 0
# disklabel -e ar0s1
disklabel: ioctl DIOCGDINFO: Invalid argument
I created a fdisk.conf file as follows:
g   c14946  h255s63
p   1   165 0   240107490
p   2   0   0   0
p   3   0   0   0
p   4   0   0   0
a   1
...and tried:
# fdisk -f ./fdisk.conf ar0
fdisk: can't get disk parameters on /dev/ar0; supplying dummy ones
*** Working on device /dev/ar0 ***
fdisk: invalid fdisk partition table found
fdisk: /boot/mbr: length must be a multiple of sector size
I net-booted into the alternative Linux-based rescue disk and did the  
following with both fdisk /dev/hda and fdisk /dev/hdc in order to get  
rid of the existing Linux partitioning and setup:

Created a new empty DOS partition table:
Disk /dev/hda: 255 heads, 63 sectors, 14946 cylinders
Units = cylinders of 16065 * 512 bytes
   Device BootStart   EndBlocks   Id  System
/dev/hda1 1 14946 120053713+  a5  FreeBSD
And created a bsd disklabel:
Reading disklabel of /dev/hda1  at sector 64.
/dev/hda1  contains no disklabel.
Do you want to create a disklabel? (y/n) y
# /dev/hda1 :
type: ST506
disk:
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 14946
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0
4 partitions:
#   start   end  size fstype   [fsize bsize   cpg]
  c:1*14946 14945*unused0 0
  d:1 14946 14946 unused0 0
Then I net-booted back into the FreeBSD-based rescue mode and still got  
stuck first on fdisk -BI ar0 but this time was able to do fdisk -f  
./fdisk.conf ar0:

# dd if=/dev/zero of=/dev/ar0 bs=512 count=32
dd: /dev/ar0: Read-only file system
2+0 records in
1+0 records out
512 bytes transferred in 0.001042 secs (491415 bytes/sec)
# fdisk -BI ar0
*** Working on device /dev/ar0 ***
fdisk: invalid fdisk partition table found
# fdisk -f ./fdisk.conf ar0
*** Working on device /dev/ar0 ***
# fdisk -BI ar0
*** Working on device /dev/ar0 ***
# dd if=/dev/zero of=/dev/ar0s1 bs=512 count=32
dd: /dev/ar0s1: Read-only file system
2+0 records in
1+0 records out
512 bytes transferred in 0.001049 secs (488064 bytes/sec)
# disklabel -w -B ar0s1 auto
# disklabel -e ar0s1
I edited the disklabel and changed it from:
# /dev/ar0s1c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 14945
sectors/unit: 240107427
rpm: 3600
interleave: 1
trackskew: 0

Re[2]: (no subject)

2004-12-05 Thread DanGer
Hello David,

Sunday, December 5, 2004, 12:24:14 PM, you typed:

 On Sun, 5 December, 2004 11:01, Alexander Bubnov said:
 Hi, everyone!

 Could you help me, please?

 I have compiled and installed some FreeBSD ports. And I want to
 recompile my 'World' (FreeBSD 5.3). Do I need to delete with
 pkg_delete
 those ports and recompile them?

 Generally, no. But, if you are upgrading from 4.x to 5.x or from 5.x
 (for x=0; x3) to 5.3 then you will need to I believe.

 The best thing to do is read /usr/src/UPDATING before every
 buildworld. If you do need to rebuild any ports, then it will tell you
 in there.

and of course he should read /usr/ports/UPDATING too...

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve

[ I'm not wearing any underwear.  Film at 11. ]

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


create bootable drive

2004-12-05 Thread Noah
FreeBSD-4.9

Can somebody please tell me what the command(s) is/are to make a drive bootable?

cheers,

Noah

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


Re: open source video card hardware!

2004-12-05 Thread Simon Burke
On Sun, 05 Dec 2004 01:05:35 -0500, jason [EMAIL PROTECTED] wrote:
 Has anyone else heard of these great idea?  If you are intrested sign
 the petition so the company backing it, Tech Source, will fund it.
 Please check this link with plenty of info about.
 
 http://lists.duskglow.com/mailman/listinfo/open-graphics
 
Yeah i know of it, im subscribed to the linux kernel list anfd have
the original thread from it if your interestd, mind it should be in
the archives.

-- 
Theres no place like ::1

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


Re: fatal error configuring Xorg on 5.3

2004-12-05 Thread Mario Hoerich
# dave:
 Fatal server error:
 xf86EnableIO: Failed to open /dev/io for extended I/O

It seems you don't have the modules io and/or mem loaded.
Check with 
  # kldstat
and load whatever's missing with
  # kldload [io|mem]

Does this solve your problem?

You might want to just add 'device io' and 'device mem' to
your kernel config.

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


How to use my laptop as a link between 2 other boxes

2004-12-05 Thread Jonathon McKitrick

I cannot get my wife's iBook to find my wireless hub.  The next best idea is
to install 2 cards in my laptop, with one wireless connecting to the
gateway, and the other one connected to the iBook.

How would I go about setting up the laptop to forward packets from the iBook
to the gateway?  Is it just as simple as gateway_enable in rc.conf?

The only catch would be the wired interface would be dhcp when at work, but
statically assigned when at home functioning in this gateway role.

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


Zope doesn't start on -STABLE

2004-12-05 Thread Peter Ulrich Kruppa
Hi,
zope-2.7.3 on
FreeBSD pukruppa.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov 26 17:44:37 CET 
2004 i386
doesn't start anymore. Doing
# /usr/local/etc/rc.d/zope.sh start
I receive
Starting Zope
   Instance /usr/local/zope - /usr/local/lib/python2.4/whrandom.py:38: 
DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
. daemon process started, pid=14050
and connection will be refused. I also did a 
# portupgrade -rf python
as suggested in /usr/ports/UPDATING 20041202 .

Any more ideas?
Thanks,
Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Resize /usr partition without resinstall

2004-12-05 Thread Trey Sizemore
I've got an 80GB drive partitioned as follows:

salamander# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a496M 35M421M 8%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1g 64G262M 58G 0%/home
/dev/ad0s1d496M 54K456M 0%/tmp
/dev/ad0s1e3.9G3.0G559M85%/usr
/dev/ad0s1f4.8G114M4.3G 2%/var

Is it possible to get more space for /usr by either allocating space
from /home or by providing a symlink to a partition on home?

Thanks.

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


Building world in 5.x vs 4.x?

2004-12-05 Thread stan
I'm building a tets machine to explore 5.3 before tackling the job of
changing over a production machine from 4-STABLE.

I've installed (minimal system) and cvsupd the 5-RELENG sources. I plan on
just doing my first 5.x build with the GENERIC kernel. I've looked at the
MAKEFIL, and the README in /usr/src. but I still find myself a bit confused
about the differences in build methodology.

I've used the follwing for years on 4.x:

1.  `cd /usr/src'   (or to the directory containing your source tree).
2.  `make buildworld'
3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
5.  `reboot'(in single user mode: boot -s from the loader
prompt).
6.  `mergemaster -p'
7.  `make installworld'
8.  `mergemaster'
9.  `reboot'

What;s the equivelant set of steps in 5.x?



-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: daily security run output messages

2004-12-05 Thread Lowell Gilbert
Kjell Midtseter [EMAIL PROTECTED] writes:

 List members!
 
 My daily security run output contains lots of kernel log messages like the 
 following:
  Connection attempt to UDP 10.0.0.10:1099 from 217.13.4.21:53
  Connection attempt to UDP 10.0.0.10:3204 from 193.75.75.193:53
 --
 What are the significanse of these messages?
 
 My ipf firewall contains:
 # domain name servers (dns)
 pass in quick on rl0 proto udp from 217.13.4.21/32 to any port = 53 keep state
 --
 Should I make any changes to my firewall settings?

Looks like a NAT problem; is your 10.0.0.10 address supposed to be
visible to the ISP's DNS server?

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


Re: Building world in 5.x vs 4.x?

2004-12-05 Thread DanGer
Hello stan,

Sunday, December 5, 2004, 5:28:47 PM, you wrote the following:

 I'm building a tets machine to explore 5.3 before tackling the job of
 changing over a production machine from 4-STABLE.

 I've installed (minimal system) and cvsupd the 5-RELENG sources. I plan on
 just doing my first 5.x build with the GENERIC kernel. I've looked at the
 MAKEFIL, and the README in /usr/src. but I still find myself a bit confused
 about the differences in build methodology.

 I've used the follwing for years on 4.x:

 1.  `cd /usr/src'   (or to the directory containing your source tree).
 2.  `make buildworld'
 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
 5.  `reboot'(in single user mode: boot -s from the loader
 prompt).
 6.  `mergemaster -p'
 7.  `make installworld'
 8.  `mergemaster'
 9.  `reboot'

 What;s the equivelant set of steps in 5.x?

it's the same :)  see /usr/src/Makefile

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve

[ huh huh huh Welcome to the credit card world dude! huh huh huh ]

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


Re: Building world in 5.x vs 4.x?

2004-12-05 Thread Erik Trulsson
On Sun, Dec 05, 2004 at 11:28:47AM -0500, stan wrote:
 I'm building a tets machine to explore 5.3 before tackling the job of
 changing over a production machine from 4-STABLE.
 
 I've installed (minimal system) and cvsupd the 5-RELENG sources. I plan on
 just doing my first 5.x build with the GENERIC kernel. I've looked at the
 MAKEFIL, and the README in /usr/src. but I still find myself a bit confused
 about the differences in build methodology.
 
 I've used the follwing for years on 4.x:
 
 1.  `cd /usr/src'   (or to the directory containing your source tree).
 2.  `make buildworld'
 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
 5.  `reboot'(in single user mode: boot -s from the loader
 prompt).
 6.  `mergemaster -p'
 7.  `make installworld'
 8.  `mergemaster'
 9.  `reboot'
 
 What;s the equivelant set of steps in 5.x?

You do it exactly the same way in 5.x as in 4.x.




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lexar usb media failure to attach

2004-12-05 Thread Dan Langille
I purchased a USB memory device last week.   It looks like it won't
work with FreeBSD 4.10-STABLE #1: Sun Jul 25 00:53:29 EDT 2004

Nov 30 22:03:05 laptop /kernel: umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev 
2.00/20.00, addr
Nov 30 22:09:20 laptop /kernel: (da0:umass-sim0:0:0:0): got CAM status 0x4
Nov 30 22:09:20 laptop /kernel: (da0:umass-sim0:0:0:0): fatal error, failed to 
attach to device
Nov 30 22:09:20 laptop /kernel: (da0:umass-sim0:0:0:0): lost device
Nov 30 22:09:20 laptop /kernel: (da0:umass-sim0:0:0:0): removing device entry

Any ideas on what I can try?

Thanks.

Please CC me on this thread
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/

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


Re: Issues with version numbering and some ports

2004-12-05 Thread Lowell Gilbert
Trey Sizemore [EMAIL PROTECTED] writes:

 Let me rephrase this previously posted question with a more desriptive
 subject, I'm trying to get the CVS version of sylpheed-claws installed
 on this 5.3 box (so if you've done it successfully, I'd *love* your
 feedback).  However, I'm getting a lot of errors:

This is why we have the ports collection...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Isn't there a way to install freebsd from hard disk with only a bootable grub? (all file systems are ext3)

2004-12-05 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Hi,all,
 
 I really want to know if there is a way to install freebsd from hard
 disk. This old laptop doesn't contain a floppy drive, And I didn't get a
 CD burner either. Certainly, The rubbishy computer couldn't be boot use
 pxe kind of thing. I've searched google and I have done what I can do
 for the result. And still no clue,So anyone here can tell me if there is
 a way to install freebsd from hard disk? Grub is installed in a
 seperated partition. And the grub manual says it can boot the bsd
 kernel.
 
 I am sure that it can be installed with only a bootable hard drive.I
 wonder if someone can make a kernel with tmpfs kind of thing
 supported. And a loop file contains a minimum root with bsd installer in
 it.Then It can do the job.
 
 Or maybe there is a solution like this already?
 Well,thanks all for your attention!

I don't think this has been done, but it should be possible. 
Sounds like a quick project for somebody knowledgeable about
GRUB.

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


Re: Building world in 5.x vs 4.x?

2004-12-05 Thread stan
On Sun, Dec 05, 2004 at 05:37:18PM +0100, Erik Trulsson wrote:
 On Sun, Dec 05, 2004 at 11:28:47AM -0500, stan wrote:
  I'm building a tets machine to explore 5.3 before tackling the job of
  changing over a production machine from 4-STABLE.
  
  What;s the equivelant set of steps in 5.x?
 
 You do it exactly the same way in 5.x as in 4.x.

Thanks for the education :-)

I should have thought of thta.

Having said thta. would it not make sense to document this in
/usr/src/Makefile, like it is in the 4.x version of this file?
-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD freezes after upgrading (stop in boot)

2004-12-05 Thread Lowell Gilbert
Marta Resende [EMAIL PROTECTED] writes:

 ey,i upgrade using that options:
 
 #cd /usr/src
 #make buildworld
 #make buildkernel KERNCONF=MINE
 #make installkernel KERNCONF=MINE
 #reboot
 (press 4 for single-user mode)
 #fsck -p
 #mount -u /
 #mount -a
 #cd /usr/src
 #mergemaster -p
 #make installworld
 #mergemaster
 
 and when i reboot, freebsd stops under
 Mounting NFS file systems
 
 i've commented all stuff related to NFS under kernel, cause i didnt
 need it , what should be the problem ?? and what can i do to resolv it
 ?

If you hit Ctrl-C when it's stopped, there, it will probably
continue.  Once you're booted, make sure that there are no nfs-related
entries in rc.conf.

And next time, please remember to mention what version of FreeBSD
you're using -- you will get much more precise advice if we know that
kind of information.

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


Is it sensible to consider upgradeing from 4-STABLE to 5-STABLE?

2004-12-05 Thread stan
I'e got about 25 production machines with varous versions of 4-STABEL. Once
I've gotten to a comfort level with 5-STABLE, is it a sensible idea to
consider upgrading, rather that reinstalling these machines?

If so, can anyone point me to some docs as to the asfest way to do this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need help!!

2004-12-05 Thread Lowell Gilbert
Walt Haynes [EMAIL PROTECTED] writes:

 
 I need help installing FreeBSD 5.3 as the second OS on my
 workstation. I have a 501 Mhz Pentium processor with Windows XP
 Professional and a 28Ghz hard drive that's divided into four
 equal sized primary partitions. I also have boot manager Boot-US
 2.0.6 installed. How do I Install FreeBSD 5.3 into another of
 the primary partitions ? I have the I386 boot only disk and I386
 - disks 1 and 2. I also have four primary partitions defined and
 two of them are available to receive the FreeBSD code.

Sounds like a perfectly normal installation scenario; just look over
the installation directions at http://www.freebsd.org/ and boot up the
Disk 1 CD.  Just make sure not to tell it to install a new boot
manager.  

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


Re: FreeBSD freezes after upgrading (stop in boot)

2004-12-05 Thread Marta Resende
I try it already!
when i press ctrl-c nothing happens, and i booted in single-user mode and 
see what was writted in rc.conf related to NFS, nothing was there ...
and by default nfs is disable ...

sorry, 5.3-stable ..
From: Lowell Gilbert [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Marta Resende [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: FreeBSD freezes after upgrading (stop in boot)
Date: 05 Dec 2004 12:09:31 -0500
Marta Resende [EMAIL PROTECTED] writes:
 ey,i upgrade using that options:

 #cd /usr/src
 #make buildworld
 #make buildkernel KERNCONF=MINE
 #make installkernel KERNCONF=MINE
 #reboot
 (press 4 for single-user mode)
 #fsck -p
 #mount -u /
 #mount -a
 #cd /usr/src
 #mergemaster -p
 #make installworld
 #mergemaster

 and when i reboot, freebsd stops under
 Mounting NFS file systems

 i've commented all stuff related to NFS under kernel, cause i didnt
 need it , what should be the problem ?? and what can i do to resolv it
 ?
If you hit Ctrl-C when it's stopped, there, it will probably
continue.  Once you're booted, make sure that there are no nfs-related
entries in rc.conf.
And next time, please remember to mention what version of FreeBSD
you're using -- you will get much more precise advice if we know that
kind of information.
--
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: Building world in 5.x vs 4.x?

2004-12-05 Thread Erik Trulsson
On Sun, Dec 05, 2004 at 12:08:34PM -0500, stan wrote:
 On Sun, Dec 05, 2004 at 05:37:18PM +0100, Erik Trulsson wrote:
  On Sun, Dec 05, 2004 at 11:28:47AM -0500, stan wrote:
   I'm building a tets machine to explore 5.3 before tackling the job of
   changing over a production machine from 4-STABLE.
   
   What;s the equivelant set of steps in 5.x?
  
  You do it exactly the same way in 5.x as in 4.x.
 
 Thanks for the education :-)
 
 I should have thought of thta.
 
 Having said thta. would it not make sense to document this in
 /usr/src/Makefile, like it is in the 4.x version of this file?

As far as I can tell it is documented in /usr/src/Makefile in both
4-stable and 5-stable, with exactly the same wording.
What made you think it wasn't?


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amavisd-new upgrade fails

2004-12-05 Thread Robert Fitzpatrick
Could someone please give me an idea of what could be causing my issue?
I have checked /usr/ports/UPDATING, README's for cabextract and
amavisd-new, RELEASE-NOTES, google'd, checked the cabextract web site
and still nothing to suggest what could be the problem with this error
when doing a portupgrade to amavisd-new 2.2.0 or trying to install
cabextract by itself:

cc -DHAVE_CONFIG_H -I. -I. -I.  -I./mspack -DMSPACK_NO_DEFAULT_SYSTEM   
-O -pipe -mcpu=pentiumpro -c fnmatch.c
fnmatch.c:48:24: safe-ctype.h: No such file or directory
*** Error code 1

I find this missing file 'safe-ctype.h' in
/usr/src/contrib/binutils/include and even try to configure and make the
binutils with an error as a result:

creating Makefile
creating testsuite/Makefile
sed: ./testsuite/Makefile.in: No such file or directory
creating config.h
config.h is unchanged
Configuring opcodes...
configure: error: can not find sources in . or ..
Configure in /usr/src/contrib/binutils/opcodes failed, exiting.

How can I track down this type of error?

-- 
Robert

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


AIC7902 and HostRAID support

2004-12-05 Thread Frederico Franzosi
Hi!
I was trying to install a server which has an AIC-7902
as a scsi disk controler on a FreeBSD system. I got
troubles cause the 5.2.1 version seems to provide no
drivers for HostRAID support. Taking a look at mailing list
archives seems that still no support is provided.

So I'd like to have questions answered:

Is there support for HostRAID on FreeBSD system
nowadays? If not, is someone working on it?
And if not, does FreeBSD project intend to have
HostRAID support?

Thanks for the atention

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


label with glabel or tunefs

2004-12-05 Thread Omer Faruk Sen
Hi, 

I am having difficulty why should I need to label a disk? I have read enough 
to understand the concpets of vinum. But in example at glabel man page a 
label created for just one disk (ad2). Why do I need to label just one disk? 

EXAMPLES
   The following example shows how to set up a label for disk ``da2'', cre-
   ate a file system on it, and mount it: 

	   glabel label -v usr /dev/da2
	   newfs /dev/label/usr
	   mount /dev/label/usr /usr
	   [...]
	   umount /usr
	   glabel stop usr
	   glabel unload 

   The next example shows how to set up a label for a UFS file system: 

	   tunefs -L data /dev/da4s1a
	   mount /dev/ufs/data /mnt/data 


I think my main issue is with the concept of  disk labelization. Why one 
does need to create /dev/label/xxx or /dev/ufs/xxx instead of standard 
/dev/ad2s1a .. 

---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php 

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


Re: Building world in 5.x vs 4.x?

2004-12-05 Thread stan
On Sun, Dec 05, 2004 at 06:20:41PM +0100, Erik Trulsson wrote:
 On Sun, Dec 05, 2004 at 12:08:34PM -0500, stan wrote:
  On Sun, Dec 05, 2004 at 05:37:18PM +0100, Erik Trulsson wrote:
   On Sun, Dec 05, 2004 at 11:28:47AM -0500, stan wrote:
I'm building a tets machine to explore 5.3 before tackling the job of
changing over a production machine from 4-STABLE.

What;s the equivelant set of steps in 5.x?
   
   You do it exactly the same way in 5.x as in 4.x.
  
  Thanks for the education :-)
  
  I should have thought of thta.
  
  Having said thta. would it not make sense to document this in
  /usr/src/Makefile, like it is in the 4.x version of this file?
 
 As far as I can tell it is documented in /usr/src/Makefile in both
 4-stable and 5-stable, with exactly the same wording.
 What made you think it wasn't?
 

Your not going to believe what a stupid user mistake this was:

cd /usr/src
less M*

and then failed to look at the name of the file that poped up :-(

Thanks for the help.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdparanoia and atapicam question

2004-12-05 Thread Robert Dormer
Hello all,

I'm trying to get some CDs of mine onto the hard drive, using
cdparanoia.  All of the relevant ATAPICAM options are in the kernel. 
However, when I fire it up, it just sits there and does nothing. 
Nothing meaning no recording, no timing out, nothing.  It won't even
respond to kill -9.  I've also tried camcontrol with the test unit
ready option, same response.  Anyone know what's going on or what I'm
missing?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cdrom mounting troubles

2004-12-05 Thread Trysch
hi i am having a problem mounting my cdrom some of the time on freebsd 5.3
my cdrom is also a 28 times burner
if i put in a data disk and type mount -t cd9660 -r /dev/acd0 /cdrom it 
mounts just fine.

however if i put in a regular cd to just listen to not an mp3 disk is 
tells me its an incorrect super block

im on a compaq armada e500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrom mounting troubles

2004-12-05 Thread Lucas Holt
I'm not 100% sure about this, but I believe that audio cds use a different 
file system than data cds.  cd9660 is the iso cd format.

On Sun, 5 Dec 2004, Trysch wrote:
hi i am having a problem mounting my cdrom some of the time on freebsd 5.3
my cdrom is also a 28 times burner
if i put in a data disk and type mount -t cd9660 -r /dev/acd0 /cdrom it 
mounts just fine.

however if i put in a regular cd to just listen to not an mp3 disk is tells 
me its an incorrect super block

im on a compaq armada e500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrom mounting troubles

2004-12-05 Thread Lowell Gilbert
Trysch [EMAIL PROTECTED] writes:

 hi i am having a problem mounting my cdrom some of the time on freebsd 5.3
 my cdrom is also a 28 times burner
 
 if i put in a data disk and type mount -t cd9660 -r /dev/acd0 /cdrom
 it mounts just fine.
 
 however if i put in a regular cd to just listen to not an mp3 disk is
 tells me its an incorrect super block

Why can I not mount an audio CD?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrom mounting troubles

2004-12-05 Thread Trysch
I've tried every mount command i can find t otry and it wont mount at 
all with music in the cdrom at all

Lucas Holt wrote:
I'm not 100% sure about this, but I believe that audio cds use a 
different file system than data cds.  cd9660 is the iso cd format.

On Sun, 5 Dec 2004, Trysch wrote:
hi i am having a problem mounting my cdrom some of the time on 
freebsd 5.3
my cdrom is also a 28 times burner

if i put in a data disk and type mount -t cd9660 -r /dev/acd0 /cdrom 
it mounts just fine.

however if i put in a regular cd to just listen to not an mp3 disk is 
tells me its an incorrect super block

im on a compaq armada e500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Disk problems - hard error reading fsbn NNNNNNNN

2004-12-05 Thread Matt Navarre
After a power outage last night I rebooted my computer and  fsck 
complained of the following :

ad1s2e: hard error reading fsbn 5103776  (ad1s2 bn 5103776; cn 317 tn 
177 sn 20) status=59 error=40

Then goes on for a while giving the same error on blocks 5103776 - 
5103807, except for block 5103777 which has error=01.

Does this mean the disk is failing, or can I just reformat? And what's 
the best way to recover any recoverable data from that slice? 
Unfortunately I don't have a recent backup, since my tape drive joined 
the choir invisible a while ago and I haven't had a chance to replace it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrom mounting troubles

2004-12-05 Thread Adam Fabian
On Sun, Dec 05, 2004 at 11:38:21AM -0700, Trysch wrote:
 however if i put in a regular cd to just listen to not an mp3 disk is
 tells me its an incorrect super block

Audio CDs do not have a filesystem and cannot be mounted.  They can,
however, be read and played with an appropriate program.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fatal trap 9 on Freebsd 5.3/amd64

2004-12-05 Thread T.F. Cheng
Hi, please help. I just upgraded my CPU/mobo to amd64
/Asus A8V delux yesterday. Still running the 32-bit
freebsd5.3 , everything worked except the NIC, I
thought to myself that probably is because my source 
is not the latest,  from what I understand, this issue
has been solved. So with the help from another NIC, I
upgraded the system by  cvsup. then is make
buildworld/buildkernel, etc. After the 2nd reboot into
the default mode, my system hang on booting. I disable
the ACPI in BIOS and chose 2 when booting,  this
Fatal trap 9 error   showed up with some messages
(sorry didn't copy all down), any advice is
appreciated. thansk! 

TFC

=
Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
 @yahoo.com  @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


arplookup

2004-12-05 Thread Tim
Greets,
I get a bunch of the following messages in my logs and on my console 
screen:
kernel: arplookup 192.168.1.1 failed: host is not on local network

I use this machine as a gateway between my ISP and my internal lan, with 
192.168.0.* IPs. How do I find out what is trying to find 192.168.1.1?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD or OpenBSD

2004-12-05 Thread Damien Hull
I've been a FreeBSD user for a while now and I love it. I'm running 4.10
and plan on upgrading soon. I'm also an OpenBSD user but I tend to use
it for firewalls and routers. I setup Apache and Subversion on OpenBSD
3.6 last week. This is the first time I have ever done anything other
then a firewall on OpenBSD. 

I'm thinking about using OpenBSD on more servers. Before I do that I
would like to know what people on the list think. 

Why I want to switch to OpenBSD.
1. OpenBSD has good security
2. Stable
3. Firewall and routing support is built in

Why I use FreeBSD
1. Stable
2. Ports tree has a lot of software
3. I can upgrade to new versions 

Should I make the switch from FreeBSD to OpenBSD for my servers?
-- 
Damien Hull [EMAIL PROTECTED]

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


Handbook copyright license?

2004-12-05 Thread David Gerard

What license is the FreeBSD Handbook under? I want to adapt chunks of it
for Wikipedia, which is under the GFDL with no invariant texts.

Also, are the man pages under the two-clause BSD license?


- d.


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


Re: FreeBSD or OpenBSD

2004-12-05 Thread Peter Risdon
Damien Hull wrote:
I've been a FreeBSD user for a while now and I love it. I'm running 4.10
and plan on upgrading soon. I'm also an OpenBSD user but I tend to use
it for firewalls and routers. I setup Apache and Subversion on OpenBSD
3.6 last week. This is the first time I have ever done anything other
then a firewall on OpenBSD. 

I'm thinking about using OpenBSD on more servers. Before I do that I
would like to know what people on the list think. 

Why I want to switch to OpenBSD.
1. OpenBSD has good security
2. Stable
3. Firewall and routing support is built in
Why I use FreeBSD
1. Stable
2. Ports tree has a lot of software
3. I can upgrade to new versions 

Should I make the switch from FreeBSD to OpenBSD for my servers?
This:
http://www.serverwatch.com/tutorials/article.php/10825_3393051_1
concludes that all the BSDs are evenly matched. Although OpenBSD is the 
obvious choice for a server. And so is FreeBSD. (I'm paraphrasing).

Use whichever you like. I believe FreeBSD performs better as a web 
server, and it's just the default install of OpenBSD that has had just 
one root exploit since 1921, or whenever; install ports/packages and 
this changes.

But I'm just glad all the BSDs are available.
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD or OpenBSD

2004-12-05 Thread Kirk Strauser
On Sunday 05 December 2004 03:47 pm, Damien Hull wrote:

 3. Firewall and routing support is built in

I've never messed with non-basic routing under either OS, but you're surely 
aware that FreeBSD has several built-in firewall systems (including OpenBSD's 
own pf)?

 Should I make the switch from FreeBSD to OpenBSD for my servers?

There's nothing inherently wrong with the idea, but I personally wouldn't.  
Unless you have a hardware crypto accelerator installed, FreeBSD seems to be 
several times faster than OpenBSD on the same hardware.  That's not a 
criticism of OpenBSD, but an observation that all that nifty crypto 
functionality does come at a measurable cost.

I would consider replacing FreeBSD with OpenBSD if:

  1) I could afford faster hardware, including a crypto accelerator.
  2) I don't mind hand-compiling software that hasn't made it into OpenBSD's 
ports tree.
  3) I value security above all else, including performance and easy access to 
lots of software.

I can certainly imagine scenarios where I'd make that choice (credit card 
databases, domain controllers, etc.) but for the stuff I work with more 
commonly, FreeBSD is my pick.
-- 
Kirk Strauser


pgpADCQRU1Vyq.pgp
Description: PGP signature


Re: FreeBSD or OpenBSD

2004-12-05 Thread Dick Davies
* Damien Hull [EMAIL PROTECTED] [1247 21:47]:
 I've been a FreeBSD user for a while now and I love it. I'm running 4.10
 and plan on upgrading soon. I'm also an OpenBSD user but I tend to use
 it for firewalls and routers. I setup Apache and Subversion on OpenBSD
 3.6 last week. This is the first time I have ever done anything other
 then a firewall on OpenBSD. 
 
 I'm thinking about using OpenBSD on more servers. Before I do that I
 would like to know what people on the list think. 
 
 Why I want to switch to OpenBSD.
 1. OpenBSD has good security
 2. Stable
 3. Firewall and routing support is built in

None of that is any better in openbsd, at least in my experience.
pf would have been a seller, but all three bsds have that now.

In my experience (of openbsd 3.6) you have less ported software, the system
is slower, the installer is primitive, kernel/world compiles are difficult...
and there's no portupgrade, which is really what brought me back to freebsd from
netbsd. I really don't understand what all the fuss is about with openbsd, 
smells like
marketing to me...

(no, I don't want to get into a long 'your os is lamer than mine' scrum, thanks.
This is my opinion, and it's worth what you paid for it.)

-- 
Tempers are wearing thin. Let's hope some robot doesn't kill everybody. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Issues with version numbering and some ports

2004-12-05 Thread Trey Sizemore
On Sun, 2004-12-05 at 11:44 -0500, Lowell Gilbert wrote:
 Trey Sizemore [EMAIL PROTECTED] writes:
 
  Let me rephrase this previously posted question with a more desriptive
  subject, I'm trying to get the CVS version of sylpheed-claws installed
  on this 5.3 box (so if you've done it successfully, I'd *love* your
  feedback).  However, I'm getting a lot of errors:
 
 This is why we have the ports collection...

Yes, but here is a case where the application I want, specifically
sylpheed-claws-gtk2 is *not available* in ports.

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


Re: FreeBSD or OpenBSD

2004-12-05 Thread Adam Fabian
On Sun, Dec 05, 2004 at 12:47:08PM -0900, Damien Hull wrote:

 1. OpenBSD has good security
 2. Stable
 3. Firewall and routing support is built in
 
 Why I use FreeBSD
 1. Stable
 2. Ports tree has a lot of software
 3. I can upgrade to new versions 
 
 Should I make the switch from FreeBSD to OpenBSD for my servers?

DISCLAIMER:  The question borders on flame-bait, and everything that
follows here is my completely subjective opinion; it's here for anyone
that finds it useful, may contain errors, and is based completely on
my statistically insignificant experience using both systems.  I'm
not going to advocate one over the other, and I'm not interested in
debating the subject.  With that said...

FreeBSD has excellent security.  OpenBSD has proactively rabid security.
(Which I don't mean to sound derogatory at all; sometimes it's what's
called for.)  That being said, your administration of the system is, in
all likelihood, going to be a much larger factor than choosing OpenBSD
or FreeBSD.

Typically, servers only have a few packages and it's not very hard to
simply download and compile the software yourself.  To me, that mostly
negates the advantage of FreeBSD's larger ports tree for a server.
OpenBSD has just about every major package you'd expect to use on a
server, also.  There's also NetBSD's pkgsrc, which a release of will
probably work for typical major server packages for either operating
system.

FreeBSD has imported OpenBSD's packet filter in 5.3.  On a stock install
of FreeBSD, you can kldload pf and start using it.  Like security,
excellent networking is a *BSD speciality, and either OS is likely going
to satisfy all of your networking needs.  I'd say this is another no-go
for the list of criteria that actually matter.

Here's my opinion of how these OS'es compare for a server.  This is all
purely subjective and based on my statistically insignificant experience
with both OS'es.

FreeBSD superior to OpenBSD:
   Speed (subjectively, FreeBSD is much faster)
   Documentation
   More 3rd party support (freshports.org, freebsd-update,
 freebsd-diary)
   Ports tree
   UFS2 (background fsck)
   Fewer bugs (random, very minor stuff, like terminal emulation; 
 can't remember any gross bugs in OpenBSD or anything like that)
   2 year life on extended branches (compared to 1 year for an OpenBSD
 release)
   Source upgrades (OpenBSD offers no official support for the
 procedure, though it may well work.)
   Better x86 hardware support
   portaudit

OpenBSD superior to FreeBSD:
   Security
   Multi-platform support
   GENERIC kernel supports just about everything
   Ports tree has neat, easy to use flavors feature
   Ports tree tied to particular version (almost no broken ports,
  ever)
   Encouraged use of binary packages
   Stringent adherence to license ideology (replace everything
  possible with BSD licensed equivalents, NDA's never acceptable,
  etc.)
   ksh shell in base system with nice tab-completion by default
   Better marketing (t-shirts, posters)
   Man pages are absolutely the canonical reference for the system 
  (very high priority)
   ProPolice stack-smashing protection in the system compiler
   
In a lot of ways, FreeBSD has the profile on an operating system with
a larger user-base, and OpenBSD has the profile of an operating system
more directed by a single man. (Theo da Raadt.)  Each has advantages
and disadvantages.  FreeBSD has broader support, and OpenBSD has more
focus.  Theo has an inclination to make things simple for the users and
stop them from shooting themselves in the feet, proverbially speaking,
and keeping things secure, simple, stable, and working.  Things like
tweaking compiler options and tripping over your own feet to get your
hands on the latest version of some piece of software are generally
frowned on.  In my experience, the OpenBSD community is much less
tolerant of people who do not read the manuals and ask stupid questions.
(Which I don't consider a bad thing.)  FreeBSD has bigger 3rd party
support, and fewer bugs simply because there are more people trying more
potentially bug-revealing combinations of hardware and software and more
people around to fix them.

While you're exploring BSD's, don't forget NetBSD, which makes the
comparison yet-more-complicated. ;) Unless you place a really high
priority on something, like license-purity, this is largely a question
of what you like.  And it's hard to say without trying them all.  I've
spent a lot of time with FreeBSD, OpenBSD, and NetBSD, and in the end,
it's all really a matter of taste.

Use them both for a while and see what you like.
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vinum limits disk size to 255MB

2004-12-05 Thread Markus Hoenicka
Hi all,

I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7
box. The system is installed on da0. I want to use three 18G SCSI
drives to create a vinum volume.

For some reason vinum believes the disks hold a mere 255MB. This is
what vinum sets the subdisk length if I specify 0m as the length
(meaning use all available space according to the manual). If I
specify any larger size manually, vinum complains that there is No
space left on device which strikes me odd. I *believe* that the fdisk
and bsdlabel outputs reprinted below show that the disks are indeed
18G. According to my math, the appropriate size to specify in the
vinum configuration would be 35566215s, that is the number of sectors
of the smaller disks minus 265.

I see only one minor problem: The disks are not identical, with
da1 having a slightly larger capacity than da2 and da3.

Can anyone throw me a ring here?

Thanks,
Markus

fdisk da1 shows:
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=2231 heads=255 sectors/track=63 (16065 blks/cyl)

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

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 35840952 (17500 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 182/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


fdisk da2 or da3 show:
*** Working on device /dev/da2 ***
parameters extracted from in-core disklabel are:
cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl)

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

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 35551782 (17359 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED


bsdlabel -A da1 shows:
# /dev/da1:
type: unknown
disk: amnesiac
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2231
sectors/unit: 35843670
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 358436700unused0 0 # raw part, don't edit
  e: 358436700 vinum


bsdlabel -A da2 or da3 show:
# /dev/da2:
type: unknown
disk: amnesiac
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2213
sectors/unit: 35566480
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 355664800unused0 0 # raw part, don't edit
  e: 355664800 vinum


The vinum config file reads:
drive ibma device /dev/da1s1e
drive ibmb device /dev/da2s1e
drive ibmc device /dev/da3s1e
volume raid5 setupstate
  plex org concat
sd length 0m drive ibma
sd length 0m drive ibmb
sd length 0m drive ibmc

vinum - create vinumconfig1
3 drives:
D ibma State: up /dev/da1s1e A:0/256 MB (0%)
D ibmb State: up /dev/da2s1e A:0/256 MB (0%)
D ibmc State: up /dev/da3s1e A:0/256 MB (0%)

1 volumes:
V raid5 State: up Plexes: 1 size: 767 MB

3 subdisks:
S raid5.p0.s0 State: up D: ibma Size: 255MB
S raid5.p0.s1 State: up D: ibmb Size: 255MB
S raid5.p0.s2 State: up D: ibmc Size: 255MB

uname -a shows:
FreeBSD wutz.mininet 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Sat Oct  2 21:01:00 UTC 
2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

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


create bootable drive

2004-12-05 Thread Noah
FreeBSD-4.9

Can somebody please tell me what the command(s) is/are to make a drive bootable?

cheers,

Noah

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


FreeBSD Shops

2004-12-05 Thread Michael Wagner
Hello,
I am offering the current releases of FreeBSD in my Onlineshops 
(www.linux-proshop.de and www.callacd.com).

What do I have to do to be added to your BSD offering shop list?
Thanks in advance
Michael Wagner
--
Call A CD - Ihr persönlicher Downloadservice und CD-Shop
Im Web:   www.callacd.com 
Per Mail: [EMAIL PROTECTED]

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


Re: FreeBSD or OpenBSD

2004-12-05 Thread Adam Fabian
Oops.  Meant to move the statisically thing up to the disclaimer, but
didn't end up deleting it in the second location.  Ah well, you
probably understood despite the poor editing. ;)
-- 
Adam Fabian ([EMAIL PROTECTED])
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disabling ACPI

2004-12-05 Thread Emil Khatib
you must also add 
hint.apm.0.disabled=0
in /boot/loader.conf

On Wed, 17 Nov 2004 20:45:45 +0900, Rob [EMAIL PROTECTED] wrote:
 LEI CHEN wrote:
  Hi all,
 
  Since I updated my box to 5-STABLE, I have ACPI problem, and I sort of
  unlike it. So I am wondering how to disable acpi at startup?
 
 I have in /boot/loader.conf:
 hint.acpi.0.disabled=1
 which seems to do the job.
 
 R.
 
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: vinum limits disk size to 255MB

2004-12-05 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at  0:28:01 +0100, Markus Hoenicka wrote:
 Hi all,

 I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7
 box. The system is installed on da0. I want to use three 18G SCSI
 drives to create a vinum volume.

 For some reason vinum believes the disks hold a mere 255MB. This is
 what vinum sets the subdisk length if I specify 0m as the length
 (meaning use all available space according to the manual). If I
 specify any larger size manually, vinum complains that there is No
 space left on device which strikes me odd. I *believe* that the fdisk
 and bsdlabel outputs reprinted below show that the disks are indeed
 18G. According to my math, the appropriate size to specify in the
 vinum configuration would be 35566215s, that is the number of sectors
 of the smaller disks minus 265.

 I see only one minor problem: The disks are not identical, with
 da1 having a slightly larger capacity than da2 and da3.

 Can anyone throw me a ring here?

You don't say whether you're using vinum or gvinum.  I've never seen
this problem before, but if you're getting incorrect subdisk sizes,
try specifying them explicitly:

 sd length 35840952s drive ibma 

I wonder whether the problem is related to specifying the size as 0m
instead of 0.  It shouldn't be.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpGC9vNURlE3.pgp
Description: PGP signature


extract from CDDA failed

2004-12-05 Thread Kirill Gryaznov
I have:
NEC 1300A-DVD+/-RW Writer
KT133A Chipset
FreeBSD 4.10


cdda2wav with scsi emulation and dd without scsi emulation make
FreeBSD freeze. I read and try all utils which are mentioned in
Handbook, but always system hang up.

Cd and DVD writing works perfectly but extracting or playing cd
through ATA-Cable always failed.

I don't know what to do :( please help

-- 
Best Regards,
 Kirill Gryaznov

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


make buildworld failing

2004-12-05 Thread Vonleigh Simmons
	While trying to update to 5.3 stable, buildworld errors out on me. I'm 
running FreeBSD 5.2.1-RELEASE-p11. Following is part of the output, if 
you need more output please let me know. No luck looking up the errors 
in google, so your help is appreciated.

	Things I've tried: deleing /usr/obj, running make cleandir twice. 
Cleandir wouldn't work so I had to run it like this:

make cleandir -DALWAYS_CHECK_MAKE
	If I just ran make cleandir it would error out with: +for: not found. 
Not sure if this is related. I'm running the buildworld without the -j4 
flag, but the result is the same.

Vonleigh Simmons
http://illusionart.com/
--snip--
cc -O -pipe  -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/f771/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/f771/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f -I.  -c 
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/stc.c
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/stc.c: In 
function `ffestc_labelref_is_loopend_':
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/stc.c:1721: 
error: syntax error before case
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/stc.c:10459: 
error: syntax error at end of input
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/stc.c:10459: 
confused by earlier errors, bailing out
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/f771.
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1
Stop in /usr/src/gnu/usr.bin.
*** Error code 1
Stop in /usr/src/gnu.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
--snip--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vinum limits disk size to 255MB

2004-12-05 Thread Markus Hoenicka
Greg 'groggy' Lehey writes:
  You don't say whether you're using vinum or gvinum.  I've never seen
  this problem before, but if you're getting incorrect subdisk sizes,
  try specifying them explicitly:
  
   sd length 35840952s drive ibma 
  
  I wonder whether the problem is related to specifying the size as 0m
  instead of 0.  It shouldn't be.
  

Actually I've never heard of gvinum, so I'm pretty sure we're looking
at vinum here.

Looks like this is an odd pilot error. If I label disks from within
sysinstall and on the command line, one tool apparently doesn't know
what the other is doing. This must be a gross misunderstanding on my
side of how these tools work. Using bsdlabel to set the partition
sizes apparently is not sufficient. To make a long story short, I went
back to sysinstall, created a partition using the full disk, then went
to bsdlabel -e to turn the partition into type vinum. Now I get the
full capacity.

I still can't make a raid5 out of these drives. I'm still fiddling and
will get back to the list if I can't figure this out myself.

Thanks anyway for your prompt answer.

Markus


-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

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


firefox port fails to build.

2004-12-05 Thread Adam Fabian
I tried checking the automatic builds at pointyhat for an error,
Googling for the error message, and checking the bug reports, but I
didn't turn up much on this.  I'm trying to upgrade Firefox on FreeBSD
5.3 to the latest version from the ports.  The build of the port fails
with this error:

gmake[2]: Entering directory
`/usr/ports/www/firefox/work/mozilla/config/mkdepen
d'
cppsetup.c
cc -o host_cppsetup.o -c -O -pipe   -DXP_UNIX -O
-DINCLUDEDIR=\/usr/include\ -
DOBJSUFFIX=\.o\ -DPREINCDIR=\include\
-I../../dist/include/mkdepend -I../.
./dist/include -I/usr/ports/www/firefox/work/mozilla/dist/include/nspr
-I/usr/l
ocal/include -I/usr/local/include
-I/usr/ports/www/firefox/work/mozilla/dist/in
clude/nspr  cppsetup.c
In file included from cppsetup.c:29:
def.h:30:21: X11/Xos.h: No such file or directory
def.h:31:28: X11/Xfuncproto.h: No such file or directory
gmake[2]: *** [host_cppsetup.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/www/firefox/work/mozilla/config/mkdepend
'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory
`/usr/ports/www/firefox/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.

portupgrade comes up with this:

** Listing the failed packages (*:skipped / !:failed)
! www/firefox (firefox-0.9.3_1) (X libraries missing)

I don't know if it's xorg related, but here are the xorg ports
installed on my system:

xorg-clients-6.7.0_4
xorg-documents-6.7.0
xorg-fonts-100dpi-6.7.0
xorg-fonts-75dpi-6.7.0
xorg-fonts-cyrillic-6.7.0
xorg-fonts-encodings-6.7.0
xorg-fonts-miscbitmaps-6.7.0
xorg-fonts-truetype-6.7.0
xorg-fonts-type1-6.7.0
xorg-fontserver-6.7.0
xorg-libraries-6.7.0_2
xorg-manpages-6.7.0
xorg-nestserver-6.7.0
xorg-printserver-6.7.0
xorg-server-6.7.0_9
xorg-vfbserver-6.7.0

Anyone know what my problem might be? 

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


HD Space

2004-12-05 Thread Giuliano Cardozo Medalha
People,
After a cvsup, installworld and portupgrade ... I have installed a new 
optimized kernel.

After that I have installed KDE3 in my FreeBSd 5.3 machine.
The problem is now /usr is 4 GB used against 1 G free.
How is possible to clean /usr to dont have any problems in future upgrades ?
Thanks a lot
Giuliano
--
Giuliano Cardozo Medalha
Engenheiro de Redes

PGP Key ID 8158E0BD
pgp.mit.edu



smime.p7s
Description: S/MIME Cryptographic Signature


vinum raid5: newfs throws an error

2004-12-05 Thread Markus Hoenicka
Hi all,

now that I can use the full capacity of my disks, I'm stuck again. I'm
trying to set up a raid5 from three SCSI disks (I know that a serious
raid5 should use five disks or more, but I have to make do with three at
the moment). The configuration is as follows:

drive ibma device /dev/da1s1e
drive ibmb device /dev/da2s1e
drive ibmc device /dev/da3s1e
volume raid5 setupstate
  plex org raid5 512k
sd length 0m drive ibma
sd length 0m drive ibmb
sd length 0m drive ibmc

This works ok. Then I run vinum init to initialize the drives. Trying
to create a filesystem on this construct results in the error message:

newfs: wtfs: 65536 bytes at sector 71130688: Input/output error

Is that trying to tell me that my calculation of the group size is
incorrect? Does it have to do anything with the fact that the three
disks have slightly different capacities?

Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2,
da3). The raid5 volume and plex have a size of 33GB.

BTW creating a concatenated volume on the same disks works ok, newfs
does not throw an error here.

Any help is appreciated.

Markus
-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de

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


Re: Disk problems - hard error reading fsbn NNNNNNNN

2004-12-05 Thread Matt Navarre
orville weyrich wrote:
Before doing anything to your hard drive, check out
your computer's power supply -- if they go off
tolerance on voltages, you may start getting disk
errors -- often the first sign of power supply
problems.
 

Hmmm, Ok, I can see that. The errors are confined to one slice on the 
disk (ad1s2e) the other slice fsck'd fine. so I should be able to 
recover that data using a FreeSBIE cd and writing to a new drive. The 
damaged partition I can *hopefully* recover using dd_recover. Once I do 
that I'll try the drive in another computer and see if the problem's 
still there.

we'll see.
The power surge may have damaged your power supply.
orville.
--- Matt Navarre [EMAIL PROTECTED] wrote:
 

After a power outage last night I rebooted my
computer and  fsck 
complained of the following :

ad1s2e: hard error reading fsbn 5103776  (ad1s2 bn
5103776; cn 317 tn 
177 sn 20) status=59 error=40

Then goes on for a while giving the same error on
blocks 5103776 - 
5103807, except for block 5103777 which has
error=01.

Does this mean the disk is failing, or can I just
reformat? And what's 
the best way to recover any recoverable data from
that slice? 
Unfortunately I don't have a recent backup, since my
tape drive joined 
the choir invisible a while ago and I haven't had a
chance to replace it.
___
[EMAIL PROTECTED] mailing list

   

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 

To unsubscribe, send any mail to
[EMAIL PROTECTED]
   


		
__ 
Do you Yahoo!? 
All your favorites on one personal page  Try My Yahoo!
http://my.yahoo.com 

 

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


Re: HD Space

2004-12-05 Thread Anish Mistry
On Sunday 05 December 2004 09:02 pm, Giuliano Cardozo Medalha wrote:
 People,

 After a cvsup, installworld and portupgrade ... I have installed a new
 optimized kernel.

 After that I have installed KDE3 in my FreeBSd 5.3 machine.

 The problem is now /usr is 4 GB used against 1 G free.

 How is possible to clean /usr to dont have any problems in future
 upgrades ?

 Thanks a lot
1) Make sure all the temp build stuff is gone from /usr/ports
cd /usr/ports  rm -r */*/work
2) Clean out distfiles
rm -r /usr/ports/distfiles/*
3) Remove buildworld object files
chflags -R noschg /usr/obj/usr  rm -r /usr/obj/usr

-- 
Anish Mistry


pgpW0JK142ZCm.pgp
Description: PGP signature


Re: vinum raid5: newfs throws an error

2004-12-05 Thread Greg 'groggy' Lehey
On Monday,  6 December 2004 at  3:05:31 +0100, Markus Hoenicka wrote:
 Hi all,

 now that I can use the full capacity of my disks, I'm stuck again. I'm
 trying to set up a raid5 from three SCSI disks (I know that a serious
 raid5 should use five disks or more, but I have to make do with three at
 the moment). The configuration is as follows:

 drive ibma device /dev/da1s1e
 drive ibmb device /dev/da2s1e
 drive ibmc device /dev/da3s1e
 volume raid5 setupstate
   plex org raid5 512k
 sd length 0m drive ibma
 sd length 0m drive ibmb
 sd length 0m drive ibmc

 This works ok. Then I run vinum init to initialize the drives. Trying
 to create a filesystem on this construct results in the error message:

 newfs: wtfs: 65536 bytes at sector 71130688: Input/output error

 Is that trying to tell me that my calculation of the group size is
 incorrect? Does it have to do anything with the fact that the three
 disks have slightly different capacities?

There was once an error in the stripe size calculations that meant
that there were holes in the plexes.  Maybe it's still there (old
Vinum is not being maintained).  But you should have seen that in the
console messages at create time.

 Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2,
 da3). The raid5 volume and plex have a size of 33GB.

This looks like the kind of scenario where that could happen.  Try
this:

1.  First, find a better stripe size.  It shouldn't be a power of 2,
but it should be a multiple of 16 kB.  I'd recommend 496 kB.  This
won't fix the problem, but it's something you should do anyway

2.  Calculate the length of an exact number of stripes, and create the
subdisks in that length.  Try again and see what happens.

3.  Use gvinum instead of vinum and try both ways.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpRINJrCFKRb.pgp
Description: PGP signature


Re: HD Space

2004-12-05 Thread Garance A Drosihn
At 12:02 AM -0200 12/6/04, Giuliano Cardozo Medalha wrote:
People,
After a cvsup, installworld and portupgrade ... I have installed
a new optimized kernel.
After that I have installed KDE3 in my FreeBSd 5.3 machine.
The problem is now /usr is 4 GB used against 1 G free.
How is possible to clean /usr to dont have any problems in future
upgrades ?
See if it looks any better after entering the commands:
cd /usr/src
make cleanworld
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


VINUM Disaster Recovery

2004-12-05 Thread orville weyrich
I have a 10 disk VINUM configuration and two of the
disks are trashed.  In theory there is still enough
redundant information to get things working again
without data loss.

Vinum has detected a configuration error (duh -- two
disks are toast, plus in recovery I accidently created
two more plexes) and taken upon itself to stop
configuration updates to prevent any further
corruption (thanks! :-).

At this point I have looked at
http://www.vinumvm.org/vinum/how-to-debug.html and
have run a command like the following:

( dd if=/dev/da9s1e skip=8 count=50 | tr -d
'\000-\011\200-\377' ; echo )  da9s1e.log 

on all 10 disks to obtain a file containing each
disk's on-disk configuration.  As hoped, eight of the
disks show an output similar to the attached file
da1s1e.log (differing only as expected in the first
line).

See attached flog file for a sample output.

PLEASE HELP CONFIRM MY PLAN (FOLLOWING) FOR PROCEEDING
-- I DO NOT WANT TO DO ANYTHING DISASTEROUS.

My thought is that I need to turn on updates, then
delete the two unwanted plexes raid.p2 and
raid.p3(which were accidentally created), detach the
corrupt sdisks, and then hopefully VINUM will forget
about the two disks that are toast (or do I somehow
have to tell VINUM to forget the disks?).

My plan is as follows:

First, selectively start vinum:

vinum - read /dev/da1s1e /dev/da2s1e /dev/da3s1e
/dev/da4s1e /dev/da5s1e /dev/da6s1e /dev/da7s1e
/dev/da8s1e

Second, enable configuration updates:

vinum-setdaemon 0

Third, save the configuration:

vinum-saveconfig

Fourth, stop and remove the two unwanted plexes and
all attached subdisks:

vinum-stop -f raid.p3
vinum-stop -f raid.p2
vinum-rm -r raid.p3
vinum-rm -r raid.p2

Fifth, stop and detach the corruped subdisks:

vinum-stop -f raid.p0.s0
vinum-stop -f raid.p0.s9
vinum-stop -f raid.p1.s4
vinum-stop -f raid.p1.s5

vinum-detach raid.p0.s0
vinum-detach raid.p0.s9
vinum-detach raid.p1.s4
vinum-detach raid.p1.s5


At this point I expect to have a functional volume
that can be mounted and backed up, prior to the next
step of reinstalling the crashed disks, creating new
subdisks, attaching them to the plexes, and
resynching. 

PLEASE CONFIRM MY APPROACH OR TELL ME WHERE I AM
WRONG!

Thanks

orville








__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: SGML, experienced advice wanted ;)

2004-12-05 Thread Joshua Lokken
On Sun, 5 Dec 2004 03:37:03 +0200, William Fletcher
[EMAIL PROTECTED] wrote:
 Hi :)
 
 I was just wondering what precise piece of software I should use to convert 
 sgml  to PDF?

I'm not sure if this helps, and it is exactly not what you asked for
(experienced advice?), however, this will get the job done:

Create a PDF file using the sgmlfmt(1) from the FreeBSD sgmlformat package: 

$ sgmlfmt -f ps file.sgml
$ ps2pdf file.ps

HTH,
-- 
Joshua Lokken
Open Source Advocate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Isn't there a way to install freebsd from hard disk with only a bootable grub? (all file systems are ext3)

2004-12-05 Thread Xinming Lai
 Date: 05 Dec 2004 12:02:26 -0500
 From: Lowell Gilbert [EMAIL PROTECTED]
 Subject: Re: Isn't there a way to install freebsd from hard disk with
only a  bootable grub? (all file systems are ext3)
 [EMAIL PROTECTED] writes:
 
  Hi,all,
 
  I really want to know if there is a way to install freebsd from hard
  disk. This old laptop doesn't contain a floppy drive, And I didn't get a
  CD burner either. Certainly, The rubbishy computer couldn't be boot use
  pxe kind of thing. I've searched google and I have done what I can do
  for the result. And still no clue,So anyone here can tell me if there is
  a way to install freebsd from hard disk? Grub is installed in a
  seperated partition. And the grub manual says it can boot the bsd
  kernel.
 
  I am sure that it can be installed with only a bootable hard drive.I
  wonder if someone can make a kernel with tmpfs kind of thing
  supported. And a loop file contains a minimum root with bsd installer in
  it.Then It can do the job.
 
  Or maybe there is a solution like this already?
  Well,thanks all for your attention!
 
 I don't think this has been done, but it should be possible.
 Sounds like a quick project for somebody knowledgeable about
 GRUB.
 
I searched google. Found that FreeBsd Remote Install is nearly reached
what I thought(In fact, I think It's easy to make it for local
installation). I don't have another computer. So can anyone else help?
Still wait for the answer... :-S
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HD Space

2004-12-05 Thread David Kelly
On Dec 5, 2004, at 8:48 PM, Garance A Drosihn wrote:
See if it looks any better after entering the commands:
cd /usr/src
make cleanworld
Could simply rm -rf /usr/obj/usr
Also portsclean -CD will remove any stray /usr/ports/*/*/work 
directories. Will also remove the /usr/ports/distfiles/* which no 
longer match current port versions.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pf log

2004-12-05 Thread Muhammad Reza
dear all,
i have an error when try to read pf log via tcpdump on .5.3-stable
ns2# /usr/sbin/tcpdump -n -e -ttt -i pflog0
tcpdump: BIOCSETIF: pflog0: Network is down
ns2# /usr/sbin/tcpdump -n -e -ttt -r /var/log/pflog
tcpdump: fread: Unknown error: 0
Whati should i do to fix this ?
regards
reza

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


Re: Handbook copyright license?

2004-12-05 Thread Kris Kennaway
On Mon, Dec 06, 2004 at 08:24:49AM +1100, David Gerard wrote:
 
 What license is the FreeBSD Handbook under? I want to adapt chunks of it
 for Wikipedia, which is under the GFDL with no invariant texts.

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

 Also, are the man pages under the two-clause BSD license?

Depends on the manpage; see the source code.

Kris

pgpE9HKfRLztp.pgp
Description: PGP signature


Re: FreeBSD Shops

2004-12-05 Thread Kris Kennaway
On Mon, Dec 06, 2004 at 12:30:20AM +0100, Michael Wagner wrote:
 Hello,
 
 I am offering the current releases of FreeBSD in my Onlineshops 
 (www.linux-proshop.de and www.callacd.com).
 
 What do I have to do to be added to your BSD offering shop list?

See http://www.freebsd.org/commercial/software_bycat.html

Kris


pgpYPJxv2adyB.pgp
Description: PGP signature


Re: SGML, experienced advice wanted ;)

2004-12-05 Thread Peter N. M. Hansteen
William Fletcher [EMAIL PROTECTED] writes:

 I was just wondering what precise piece of software I should use to convert 
 sgml to PDF? 
 Just sort of asking for a general opinion of what is the _best_
 software for this job, etc.

Do your sgml files come with DTDs and stylesheets? If so, it should be
possible to use something like jade/pdfjadetex for your transformations.
The FreeBSD doc project is an example of how this can be done. You might
want to at least browse http://www.freebsd.org/docproj/sgml.html and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html
(both contain quite a number of useful references).

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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