Re: FreeBSD/FDisk geometry problems - SOLVED!

2004-01-24 Thread Robert Eckardt
Hi,

thank you for this analysis.
I ran into the same problem in that FreeBSD (fdisk) did not accept
the values the BIOS uses. I was able to complete the installation,
but when turning on my raid-1 FreeBSD recognized on next reboot all
of a sudden the BIOS values and was therefore unable to find the
filesystems.
Switching between two geometries depending on whether the raid is
on or off is unacceptable as in case of repair you want to atleast
find your data.

Besides, my MB is an EPoX 4GEA+ w/ HighPoint raid chip 372N and two
Maxtor 120G disks w/ geometries 14946/255/63 (ar1, BIOS) and
238216/16/63 (ad5,ad7).

I will try your workaround.
But I second the recommendation that a developer should have a look
into this problem -- atleast by allowing fdisk to accept manually
provided values.

Bye,
Robert

On Fri, 23 Jan 2004 22:26:59 -0800, Keith Kelly wrote
...
 My motherboard (MSI KT4 Ultra) BIOS calculates 19618/16/255 
 (80041440 total sectors).  FreeBSD's FDisk calculates 4982/255/63 
 (80035830 total sectors).  You'll notice that the total sector 
 count is not the same, and you may wonder why.  It's because of 
 rounding error and the fact that the calculations were done in 
 reverse.  In theory, either set of CHS values should work fine, 
 but the problem is that my BIOS picks one set and FDisk chooses 
 another set -- and FDisk refuses to accept and use the set my BIOS
 calculated.
...
 So, the problem is that FDisk makes *different* assumptions than my 
 BIOS does about what the sectors and heads values should be.  I ran 
...
 In the meantime, the workaround for anyone experiencing this problem 
 is to go into their BIOS and set the hard drive to User mode, and 
 manually enter the same C/H/S settings that FDisk calculated for the 
 drive.  Unfortunately, I think this means that if you have to 
 repartition and reformat the entire drive, since the BIOS will now 
 be addressing the drive using different C/H/S settings and will be 
 unable to read any partitions that were formatting using different 
 C/H/S addressing.  So while there is a workaround, it is far from an 
 ideal user experience.
 
 - Keith F. Kelly


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


Re: recommendation for disk sector editor

2004-01-24 Thread Sergey 'DoubleF' Zaharchenko
On Fri, 23 Jan 2004 09:51:46 -0800
[EMAIL PROTECTED] probably wrote:

 Good morning, FreeBSD enthusiasts,
 
 Would you wish to recommend a disk sector editor program?  I am looking for
 something that provides functionality similar to Microsoft DskProbe, but
 not requiring a graphics user interface, and most importantly, does not
 require any operating system support beyond that which can be loaded from a
 floppy diskette.  It would be used on a computer with contemporary Intel
 architecture.  I am interested in accessing things such as the boot record,
 partition table, FAT, directories, i-nodes, and other similar parts of the
 hard drive.  The type of display that a tool such as PCTools, or XTGold has
 would be great; however each of these accesses files, not sectors, and
 neither work with contemporary gigabyte drives.  Surprisingly, I was unable
 to identify any such program at the GNU site.  Any suggestions would be
 appreciated.  Yours truly, Lee Shackelford   L e e underscore S h a c k e l
 f o r d dot d o t dot c a dot g o v

SleuthKit (sysutils/sleuthkit) *reads*

 bsdi (BSDi FFS)
 fat (auto-detect FAT)
 fat12 (FAT12)
 fat16 (FAT16)
 fat32 (FAT32)
 freebsd (FreeBSD FFS)
 linux-ext2 (Linux EXT2FS)
 linux-ext3 (Linux EXT3FS)
 netbsd (NetBSD FFS)
 ntfs (NTFS)
 openbsd (OpenBSD FFS)
 solaris (Solaris FFS)

I'm not sure how much *editing* you may do with it (I guess none, but at
least you can figure out the physical location of the data you need
modified)

When I built it statically (not via the port), it took more than 1
diskette (~3M), but I didn't try crunching the binaries together. I
guess you might end up using 2 diskettes: 1 for booting, the other for
sleuthkit.

HTH.


-- 
DoubleF
It's a small world, but I wouldn't want to have to paint it.
-- Steven Wright


pgp0.pgp
Description: PGP signature


Re: Why BSD?

2004-01-24 Thread Mark
what about security between the two ?
which if either is better secure ? easier to secure ?
more likely to be cracked ?
lets say for newbies mostly.

thanks all
- Original Message - 
From: Puna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 7:53 PM
Subject: Re: Why BSD?


 It's also about quality of the underlying work.  On average, Linux base
 code runs 10% faster under FreeBSD.

 Linux works toward patches for what everyone wants because it competes
 for the Windows market share.  FreeBSD works toward solutions because it
 competes with no one.


 Jonathan T. Sage wrote:
  Chris wrote:
 
  On Friday 23 January 2004 10:40 pm, Jeff Elkins wrote:
 
  This is not a troll.
 
  I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling
  kernels,
  updating ports, etc,etc. Thus far, other than some minor hassles,
it's
  equivilent to my Debian sid.
 
  I have to ask: Why FreeBSD rather than Linux?
 
  Honest question.
 
  Thanks,
 
  Jeff
 
 
  Show us your feet! If they are Hobbit-like, it's a Troll *Laffs*
 
 
  Hah!
 
 
  Honestly though Jeff - You sound like an experienced user, at the risk
  of starting the war again, It really boils down to a lot of personal
  preference.  We use freebsd because we like freebsd, we like the
  communitiy, etc, etc, etc.  My choice boils down to 2 things.
 
  /usr/ports/.../... # make install
 
  and
 
  /usr/src # make world(ish)
 
   From the server standpoint, if you know what your doing, given enough
  time, you can do pretty much anything you could want to with either.
 
  ~jon
 
 
 ___
 [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: Why BSD?

2004-01-24 Thread Thorsten von Plotho-Kettner
Am Samstag, 24. Januar 2004 09:26 schrieb Mark:
 what about security between the two ?

There are ways for both to harden your system.

 which if either is better secure ? 

In which cases?

 easier to secure ? 

It's a fact of patches and a fact of your ability to use 'vi' ;)

 more likely to be cracked ?

I think both systems have they're holes a rat can come in.


Regards,

Thorsten

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-24 Thread Hendrik Hasenbein
Michael Clark wrote:
I configure the two devices that way (CD-ROM as slave, hard drive as 
master), sysinstall refuses to mount the CD, giving me an error about 
CD/DVD drive not found!.  It's worth noting that no other OS I've run on 
this same PC ever had any trouble finding the CD-ROM drive when it was 
configured as the slave.
Strange. That you got that problems. I've been always using a CDROM on 
slave. Never had a problem there. Did you look if the BIOS was able to 
autodetect the cdrom on boot? Do you use cable select on one of them?

To get around _that_ problem, I had to configure the CD-ROM as the master 
and the hard drive as the slave.  With the CD-ROM as the master, sysinstall 
is able to actually detect the CD/DVD drive, but then I run into this 
nonsense with fdisk refusing to detect or accept the correct disk geometry 
for the hard drive.  It's worth noting that I've never had to manually 
specify hard drive geometry settings in the installer for any other OS I've 
installed on this PC.  They figured it out automatically and worked fine.
Another time: Just turn on LBA.

So far, I'm really disappointed by FreeBSD.  If FreeBSD lacks the logic or 
detection to automatically figure all these things out and just work, that 
is a serious bug (whether due to a programmer mistake or poor software 
design).  I've _never_ had this much trouble getting an operating system 
installed on this particular PC.
It's due to poor hardware design in history.

If I can't get things working within about 1 more hour of tinkering, I'm 
going to abandon FreeBSD entirely, put my machine back together, and just 
use the drive as an extra NTFS filesystem for my personal files under 
Windows XP.
That explains, why you don't want to switch from auto to LBA. Sometimes 
auto is the right thing, but most times you have to think of the right 
setting, because auto is just a default. (Example: If I leave all values 
 set to auto in my bios, my system is going to creep literally, because 
some components wont interact correct)

When people argue that Windows is easier, and that *nix isn't ready for the 
desktop, this is *exactly* the kind of problem that they are talking about. 
I hope any actual FreeBSD developers on these aliases wake up and take 
notice. 
The real problem is that we still work around design flaws which exist 
in hardware for a decade. Everybody uses his/her personal best 
workaround and sometimes they are in conflict.

Hendrik

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


Eterm question

2004-01-24 Thread marlon corleone
hey guys, how do you remove the options of 'scroll bar   border' , which 
file should i edit?

cheers :)

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Re: CPU usage goes way up on 5.1 when memory is added

2004-01-24 Thread Quintin Riis
Install GENERIC kernel and see if the problem persists.

		Quintin

Richard G. Roberto wrote:
Hi,

I've been running 5.1-RELEASE for quite some time on my dual PIII 333Mhz
Micron PC with 384MB of RAM and 670MB of swap.  Its a little low on memory
for what I'm now doing with it though, so I added 256MB of RAM.  The new
RAM gets recognized, and there are no obvious errors on the console or in
the logs, but every little thing drives the CPU utilization through the
roof and the system is unusable.  Even just typing man ls triggers it,
never mind trying to run ssh.  I remove the RAM, and it goes back to
normal.
I'm using a kernel with these relevent settings:

cpu I686_CPU
options SCHED_ULE
options COMPAT_43
options COMPAT_FREEBSD4
options _KPOSIX_PRIORITY_SCHEDULING
options SMP
options APIC_IO
options LAZY_SWITCH
There are other settings, but these are the only ones that might be
related, I'm guessing.
Has anyone seen anything similar to this?  I've searched google as well as
the mailing list archives and can't really find anything similar.  Any
help would be greatly appreciated.
Thanks in advance,

rgr

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


Re: Hot Swap hardware on FreeBSD?

2004-01-24 Thread me
what about buying an external raid-box? then you dont have to care about 
these questions ;)
the external box is doing raid 5 with hot standby disk and is connected 
to the system via scsi and looks like one big drive.
the box itself is full of hot-swappable ide drives and the system does 
not notice, if something goes wrong, because the box handles these 
things on its own.

greetings
ruediger


Stephen P. Cravey wrote:

I'm trying to locate a good resource for creating hot swap capable servers with FreeBSD and Vinum.

Specifically, I'm trying to find out several things:

Are there resources somewhere that document this type of thing? Please?

Do I need controllers for SATA/SCSI that will handle the plugging/unplugging of drives, or do I just need to do a bus rescan (or the like) after the change and notify vinum? i.e. do i need something like an adaptec 2200S or will a 39320 work?

Is there anything in particular I should look for when buying hot swap chassis? Other than SCA for SCSI?

What about Hot swap with Fibre Channel?

What about using FreeBSD in a SAN where it's both serving drives and acting as a client?

Where can I find (recent) performance numbers for raid 0,1,5 comparisons?

What else should I know about this before attempting it?

Thank you.

-Stephen
___
[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: framebuffers?

2004-01-24 Thread Geert Hendrickx
Ok, I wasn't aware of this difference, thanks.  

I put options VESA in my kernel config, as I already mentioned in my first 
post.  When I search through dmesg, I read this: 

 VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc0378382 (122)
 VESA: S3 Incorporated. M7 BIOS

But the last two lines read: 

 module_register: module vesa already exists!
 linker_file_sysinit vesa.ko failed to register! 17

Btw, it's a laptop (Toshiba), the graphic card is S3 Savage/IX-MV.  

GH

 Linux actually goes into a graphics mode and blits the characters onto
 the screen, which is slow but works with any card that has a graphics
 mode.  FreeBSD stays in text mode, which gets you a much faster console
 but requires video card support.  Cordula's Web mentioned that you
 need kernel support for this; make sure you have options VESA in your
 kernel config file, or have loaded the vesa kernel module.

-- 
powered by FreeBSD/Postfix/KMail

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


Re: FreeBSD/FDisk geometry problems - SOLVED!

2004-01-24 Thread Hendrik Hasenbein
Keith Kelly wrote:
I've found a bug in FDisk which is responsible for all the problems I've 
had trying to get FreeBSD installed.  I also found a work-around, and 
I'm happy to report I'm typing this message from Konquerer inside 
FreeBSD 5.1-RELEASE right now.
Gratulation.

Basically, the problem is that FreeBSD's FDisk and the motherboard BIOS 
independently calculate a set of CHS values (Cylinders/Heads/Sectors) 
based on the total sector count of the disk, but they do it in different 
ways and thus end up with different values.
Yes. That is because there are different ways to calculate that.

So, the problem is that FDisk makes *different* assumptions than my BIOS 
does about what the sectors and heads values should be.
That has always been the problem for CHS conversions.

I ran across 
some information on a BIOS manufacturer's site which claimed that for 
LBA mode SCSI drives (more accurately known as LBA-Assist translation 
mode), that it is safe to assume that sectors should be 63 and heads 
should be 255.  Given that FreeBSD's roots and developer community seems 
historically SCSI-centric, I can see how these assumptions would have 
been picked up and used in FDisk and considered acceptable.  But these 
assumed values are clearly not correct for how CHS gets calculated by 
many PC BIOSes for IDE drives.
LBA is the only common mode known to all BIOS vendors, Harddrive 
manufactures and so on, because at least someone made up some 
assumptions and published them instead of developing their own CHS 
translation. SCSI was first to breach the BIOS CHS barrier on PCs and so 
they defined that method. If your BIOS is in auto mode, it tries to get 
the current format from the harddisk most times uses CHS, but will also 
find a disk with LBA. So in a modern system LBA would be the safe pick 
and not CHS. Most likely it picks it from disk (the partition table uses 
entries for cylinders, heads and sectors to describe the partitions), so 
the first fdisk sets the addressing the bios chooses. So to avoid 
conflicts and enhance the usabilty of your drive in different PCs and 
with different systems use LBA.

Furthermore, I believe that the reason FDisk rejects the manually 
entered CHS of 19618/16/255 is because either (1) it tries to enforce 
those bad assumptions about heads and sectors, or (2) it gets confused 
by the rounding error.  In other words, in the case of rounding error, 
FDisk may be taking the manually-entered values, multiplying them 
together, and seeing that it doesn't exactly match (or come close enough 
to, in its humble but flawed opinion) the total sector count for the 
drive.  The way Fdisk's geometry validation ought to work is like this:

- Divide the total sector count of the drive by (H*S), where H and S are 
the user-supplied values.
- Round the result to the nearest whole number.
- Compare that result to the user-supplied value for cylinders.
- If the result matches, accept the user's input as good.
The test will ensure that the user dont make typos, but it can't ensure 
that the C. H and S are arranged the same in both conversions.

In the meantime, the workaround for anyone experiencing this problem is 
to go into their BIOS and set the hard drive to User mode, and 
manually enter the same C/H/S settings that FDisk calculated for the 
drive.  Unfortunately, I think this means that if you have to 
repartition and reformat the entire drive, since the BIOS will now be 
addressing the drive using different C/H/S settings and will be unable 
to read any partitions that were formatting using different C/H/S 
addressing.  So while there is a workaround, it is far from an ideal 
user experience.
Better solution, put the IDE drives to LBA and you'll see that you get 
the same CHS every time and on every system except MSDOS  6.3. If you 
got a filesystem which doesnt bother about CHS and uses linear 
addressing you 'only' need a new partition table. After redoing the 
drive you can put the IDE back to Auto.

Hendrik

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


Re: Folding@Home problem

2004-01-24 Thread Hendrik Hasenbein
Sara Trice wrote:

I'm trying to get [EMAIL PROTECTED] running on freeBSD.

I get the console running fine, but once it gets running it just keeps 
failing when it tries to run FahCore_65.exe.

Partial Log:
[23:14:50] Trying to unzip core FahCore_65.exe
[23:14:52] Decompressed FahCore_65.exe (1732608 bytes) successfully
brandelf: file 'FahCore_65.exe' is not ELF format
[23:14:52] + Core successfully engaged
[23:14:58]
[23:14:58] + Processing work unit
[23:14:58] Core required: FahCore_65.exe
[23:14:58] Core found.
[23:14:58] Working on Unit 01 [January 23 23:14:58]
[23:14:58] + Working ...
sh: ./FahCore_65.exe: cannot execute binary file
[23:14:59] CoreStatus = 7E (126)
[23:14:59] Client-core communications error: ERROR 0x7e
[23:14:59] Deleting current work unit  continuing...
sh: ./FahCore_65.exe: cannot execute binary file
Ideas?
Hi,

you have to use a parameter (-freeBSD) on the command line, so any new 
core gets branded on download.

hendrik

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


Re: FreeBSD 5.2-RELEASE buildworld failure.

2004-01-24 Thread Ruslan Ermilov
On Fri, Jan 23, 2004 at 06:13:24PM -0800, erek wrote:
 I cvsuped today using tag RELENG_5_2 (i'm already using 5.2-RELEASE),
[...]
 During the buildworld I get this VERY odd error:
[...]
 /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:62:25: attempt to use poisoned 
 malloc
[...]
 mkdep: compile failed
 *** Error code 1
[...]
 any suggestions?
 
wizard mode

Go to /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus, and compare
parse.c and parse+%DIKED.c there.  They should be different, xmalloc
vs malloc, xrealloc vs realloc.  If they are identical, chances
are your /usr/bin/sed is probably broken, and you should read this entry
from src/UPDATING:

: 20030613: [retrospective]
: There was a small window in which sed(1) was broken.  If you
: happen to have sed(1) installed during that window, which is
: evidenced by an inability to build world with the failure
: given below, you need to manually build and install sed(1)
: (and only sed(1)) before doing anything else. This is a one-
: time snafu. Typical failure mode:
: 
: In file included from /usr/src/contrib/binutils/bfd/targets.c:1092:
: targmatch.h:7:1: null character(s) ignored
: targmatch.h:12:1: null character(s) ignored
: targmatch.h:16:1: null character(s) ignored
: :
: 
: The window of sed(1)-uction is from Wed Jun 4 15:31:55 2003 UTC
: to Thu Jun 5 12:10:19 2003 UTC (from rev 1.30 to rev 1.31 of
: usr.bin/sed/process.c).

To see if you're affected, run this:

ident /usr/bin/sed

And see which process.c revision your sed(1) has.  It if's 1.30,
you're affected.

/wizard mode


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
[EMAIL PROTECTED]


pgp0.pgp
Description: PGP signature


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-24 Thread Matthew Seaman
On Fri, Jan 23, 2004 at 07:13:02PM -0600, Thomas T. Veldhouse wrote:

 Why perl 5.8?  My 5.2 machine is running postfix, perl 5.6.1 and amavisd-new
 without any trouble at all.

perl-5.8.2 is the official stable and recommended version of perl by
the perl developers.  Actually, I tell a lie -- it's perl-5.8.3 now,
but that hasn't hit the ports tree yet.

I'm not sure why the ports are arranged such that lang/perl5 gives you
an older version of perl, and lang/perl5.8 gives you the latest --
rather than having lang/perl5.6 and lang/perl5.  Probably historical
reasons, although I think there is still an issue in perl-5.8.x to do
with using the system malloc vs. the malloc built into perl which can
sometimes (but not always) lead to performance troubles or memory
leaks (depending which one you choose), which is why perl-5.6.1 is
preferred by some.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Package from the packages-5.1-release directory won't install on a 5.1 system

2004-01-24 Thread Matthew Seaman
On Fri, Jan 23, 2004 at 05:12:36PM -0500, Francis Litterio wrote:

 Aren't packages bound to a given base system version precisely to avoid
 this kind of upgrade creep?

Packages aren't bound to a particular base system version.  The ports
tree and the base system are essentially developed independantly.  A
set of packages is produced concurrently with OS releases -- and extra
attention is given to bug fixing and testing in the few weeks before
that, to ensure that those packages work as well as possible.

However, although there isn't any formal testing with other versions
of the OS, it is generally the case that a package will work on any OS
version with the same major version number.  No guarrantees however,
and your chances of success are lower with eg. the recent 5.x releases
before 5-STABLE is branched, as there are still quite major changes
going into the kernel and system libraries.

Even if you have problems with installing packages, you can often
succeed by installing from source, via the ports.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


a few words on BIOS/FDISK geometry

2004-01-24 Thread Dan Strick
I find most of the BIOS/MBR/FDISK disk geometry gospel that has recently
appeared in freebsd-questions to be confusing if not actually incorrect.
In the interest of world peace of mind, I feel compelled to offer my own
model of reality.  It really isn't that complicated.

There are two common ways in which disk sector addresses are expressed.
These are the LBA (Logical Block Address) number and the C/H/S (Cylinder/
Head/Sector) numbers.  As pretty much everyone knows, the LBA and C/H/S
values are related by an expression similar to:

LBA = (C*NH + H)*NS + S

where NH is the number of heads and NS is the number of sectors/track.
C/H/S used to be the most common address representation but LBA has since
gained popularity because it is conceptually simpler (is only one number)
and because C/H/S numbers are typically limited to inconveniently small
values.  The physical significance of the NH and NS values has been
largely eroded by the advancement of technology.  We now only use these
values when converting between sector address representations.

The system BIOS provides a basic disk access facility sometimes called
int13.  There are different int13 functions for things like reading,
writing and obtaining disk parameters such as geometry.  The original
basic int13 functions, implemented by essentially all versions of PC
BIOS, expect sector addresses to be in C/H/S format.  There is also a set
of extended int13 functions, implemented by newer BIOS, that expect
sector addresses to be in 64 bit LBA format.

The disk geometry assumed by the basic int13 functions is what we mean
by the term BIOS geometry.  The BIOS may describe different geometries
for a single disk drive in different contexts.  We only care about the
geometry the BIOS uses to interpret the disk addresses used with the
basic int13 functions.  Note that the BIOS geometry may not be related
to any physical or logical geometry used by the disk itself.

The common FreeBSD master bootstrap program may be installed and
configured with the boot0cfg command.  It uses the basic int13
functions by default but may be configured to use the extended functions
(the packet option).  When a FreeBSD partition is booted, the boot0
program boots the boot1 program in the second sector of the partition.
The boot1 program in turn boots the boot2 program.  I don't know if
these programs use basic or extended int13 functions or at what point
in the bootstrap sequence the bootstrap programs stop using the BIOS.

The MBR (Master Bootstrap Record) partition table (aka FreeBSD slice
table) which is stored in the first sector of most PC disk drives
contains the starting address of each partition in both C/H/S and LBA
format.  There are 10 bits in the cylinder field, 8 bits in the head
field, 6 bits in the sector field and 32 bits for the LBA field.
By (MS?) convention cylinder and head numbers begin at 0 but the first
sector number is 1.  There is allegedly some important program (unknown
to me) which limits the number of heads to 255.  Programs that use the
basic BIOS int13 functions to access partitions defined in an MBR can
address at most 1024 cylinders, 255 heads and 63 sectors (somewhat less
than 8 GB).

(An explanation of the many disk sizes to which PC systems are sometimes
limited is tempting but way beyond the scope of this posting.)

The FreeBSD fdisk program needs to know the disk geometry only when
filling in the C/H/S fields in the MBR partition table.  If it gets the
geometry wrong, bootstrap programs that use the basic int13 functions
may fail.  (Programs that use the extended int13 functions will not
be affected!)

The FreeBSD fdisk program sometimes gets the BIOS geometry wrong and we
have to correct it.  How can we determine the correct BIOS geometry of a
disk drive in this case?  BIOS configuration user interfaces can be
confusing and the disk drive geometries they report may not always be
those used by the basic int13 functions.  The only (usually) reliable way
to get a BIOS disk geometry may be to ask the BIOS via one of the int13
functions or to read it out of one of the data structures left behind by
the BIOS POST (power on self test).

Sometimes if we boot a FreeBSD kernel with the -v option it will tell
us the BIOS geometries during the autoconfiguration monologue.  I am not
sure that I trust it.  Sometimes software will report disk controller
interface geometry instead.  (Hint: if a geometry specifies more than
255 heads or 63 sectors/track, you know it is not the BIOS geometry.)
I sometimes boot grub (see /usr/ports/sysutils/grub) off a floppy and ask
it about a disk drive with the geometry command.  As far as I know,
this will reliably report the BIOS geometry.

Modern BIOS geometry most frequently uses 255 heads and 63 sectors/track
because that maximizes the addressable part of the disk drive using the
basic int13 functions.  Cylinder numbers greater than 1023 don't really
matter because whatever you put in the MBR will be wrong.  I 

Re: amadmin not in man pages (amanda)

2004-01-24 Thread Matthew Seaman
On Fri, Jan 23, 2004 at 11:24:05PM +0100, sysadmin wrote:
 I am installing amanda on a new client and I have noticed that amadmin is 
 not in the man pages (and it should according to the amanda man page). This 
 is true both with the package and the port.

[...]

 package used : amanda-client-2.4.4,1

The amadmin(8) man page is supplied with the misc/amanda-server
port.  

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


iso files

2004-01-24 Thread F.Aydýn DÜNDAR
I downloaded .iso image files release 5.2. But
sysinstall not read qt-3.2.1.tbz and arts-1.1.4,1.tbz.

 
How can I make install? Thanks a lot... 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why BSD?

2004-01-24 Thread Andrew L. Gould
On Friday 23 January 2004 10:40 pm, Jeff Elkins wrote:
 This is not a troll.

 I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels,
 updating ports, etc,etc. Thus far, other than some minor hassles, it's
 equivilent to my Debian sid.

 I have to ask: Why FreeBSD rather than Linux?

 Honest question.

 Thanks,

 Jeff

That's a question to which  each individual will have a valid, different 
answer.

I think there are styles of operating system organization that are 
compatible with different user mentalities.  I could never get an intuitive 
feel for running/configuring RedHat; and yet there are so many users that 
swear by it.  I could use YAST; but hated the fact that it would overwrite my 
manual configuration changes.  I was comfortable with Slackware; but manually 
searching for dependencies for apps not included in the distro sucked.  Being 
comfortable with Slackware, testing FreeBSD was the logical next step.  Based 
upon my own use of the computer (multitasking while performing clinical data 
analysis using PostgreSQL), I found that FreeBSD was more robust.  
Specifically, apps would become visibly sluggish in Linux while FreeBSD 
remained very responsive.

...and then there's the license issue -- let's agree to disagree; and let it 
stop there.

Your issues and answers will be much different than mine; but just as valid.  
YMMV has never been more true.  Choice is as important as a practical issue 
as it is as a principle.

Best regards,

Andrew Gould

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


Re: iso files

2004-01-24 Thread Andrew L. Gould
On Saturday 24 January 2004 04:50 am, F.Aydýn DÜNDAR wrote:
 I downloaded .iso image files release 5.2. But
 sysinstall not read qt-3.2.1.tbz and arts-1.1.4,1.tbz.


 How can I make install? Thanks a lot...

Use pkg_add to install the packages from the ftp site:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2-release/All

Best of luck,

Andrew Gould

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


/dev/dsp: Device busy

2004-01-24 Thread Geert Hendrickx
Hello, 

I have a problem playing sounds in FreeBSD.  Sometimes it works, sometimes it 
doesn't, and then I get the following error message: 

/dev/dsp: Device busy

but lsof | grep dsp yields nothing.  

Can anyone help me with this mystery?  :-)

Thanks in advance, 

GH

-- 
powered by FreeBSD/Postfix/KMail

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


Re: framebuffers?

2004-01-24 Thread Geert Hendrickx
I tried again, and it works now.  It's really great, thank you!  

GH

-- 
powered by FreeBSD/Postfix/KMail

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


Corrupt files with perc 4/dc

2004-01-24 Thread Jerlique Ban
Hello,

I have a dell power edge 2650 with a perc 4/dc raid controller which
connects to a powervault 220s storage system.  I am running FreeBSD v4.9.

I am experiencing some problems with file corruption, when I abruptly reboot
the system (in order to simulate power failure).

I have tried turning off soft updates and setting write-thru mode (suffering
a huge performance hit), but neither have help.

I would appreciate it some one can offer some suggestions as to why I
experience these problems.

Thanks.

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


fetchmail+ppp

2004-01-24 Thread iwank Kasep
hi

im have problem with fetchmail+ppp
how to setup fetchmail with ppp.
if ppp connect then fetchmail download email
and if fetchmail not finish then
ppp always connect

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sis0 short cable fix

2004-01-24 Thread scott renna
Hello all,

I found an old post about applying to this topic at:

http://marc.theaimsgroup.com/?l=freebsd-currentm=107070464016939w=2

I'm wondering exactly, however, what would cause a
message such as this to be displayed in dmesg:

kernel:  sis0:  Applying short cable fix(reg=e8)

My card seems to be working fine, and I'm wondering
exactly what this means.

Does anyone know and has anyone used this patch
successfully?  I never saw this message in earlier
versions of BSD.  I'm running 5.2 now.

scott

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Umass/Pass0 CDRW USB external issue

2004-01-24 Thread scott renna
Hello,

I've been trying to get my USB CDRW drive to work on
5.2.  I've found this post on a patch for umass :

http://marc.theaimsgroup.com/?l=freebsd-currentm=107450556315054w=2

I'm currently building world right now so that it may
work.  But here's my question, if this patch is what I
need, what is the proper way to mount this external
device?  I see the device showing up as pass0 and I
have scbus, da, and atapicam in my kernel.

I've seen people say that you need to mount a device
like this as /dev/da0, but my /dev has no da devices. 
dmesg recognizes the device:

umass0: Acer Communications  Multimedia Inc. USB
Optical Storage Device, rev 1.00/a.03, addr 3

pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: USB CD-R/RW 6X4X6 E.CC Removable CD-ROM
SCSI-0 device
pass0: 1.000MB/s transfers
pass1 at ata1 bus 0 target 1 lun 0

And here's what camcontrol devlist -v shows:

scbus0 on umass-sim0 bus 0:
USB CD-R/RW 6X4X6 E.CC   at scbus0 target 0
lun 0 (pass0)
scbus1 on ata0 bus 0:


I'm very confused on what to mount, pass0 ? scbus0 ? 
umass-sim0?  umass0?  

Anyone have any advice?

scott

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp: Device busy

2004-01-24 Thread Cordula's Web
 /dev/dsp: Device busy

esd is the culprit.

-- 
Cordula's Web. http://www.cordula.ws/

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


RE: a good ip subnet calculator with gui..!

2004-01-24 Thread fbsd_user
I use this one  http://jodies.de/ipcalc

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Neal
Hamilton
Sent: Friday, January 23, 2004 2:06 PM
To: [EMAIL PROTECTED]
Subject: a good ip subnet calculator with gui..!

Is there any subnet calculators  with a gui for unixfreebsd?
After
hours of searching i could only find ipsc with a reference of gipsc
but
the ports are broken and the package i installed freebsd-5.1 does
not
have gipsc.  I usually use solar winds or boson ip tools on
windows,, so
if there is anything similar.

Thanks in ./adv
___
[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: DHCP and multiple vlans

2004-01-24 Thread Lowell Gilbert
Guy Antony Halse [EMAIL PROTECTED] writes:

 It appears to me that there is a limit of ten bpf devices somewhere.  This
 is backed up by what I see in dhcrelay.
 
 So the question is how do I overcome this limitation?

I took a look at the code (a fairly quick look -- I'm not running 5.x
myself) and couldn't find anything that jumped out at me as an
explicit limit.  Perhaps it's part of a devfs configuration?

 In FreeBSD 4.x you used to specify the number of BPF devices in the kernel
 configuration pseudo-device line.  That doesn't appear to be the case now.

I don't think that's currently true in 4.x either.

 I tried creating more BPF devices in /dev - I now have 80 /dev/bpf* entries,
 but that didn't help.

So you were adjusting devfs already?  You may need to try a more
recent release, and ask -CURRENT about it if that doesn't help.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network and firewall questions

2004-01-24 Thread Lowell Gilbert
Andrew L. Gould [EMAIL PROTECTED] writes:

 Can someone access your computer by a port if nothing is listening to that 
 port?

Hopefully not.

 If not, then if you turn off services that you don't use and need to access 
 used services remotely (i.e. let them through a firewall), do you need a 
 firewall?

Assuming you *never* make mistakes and either accidentally enable a
service you didn't mean to, or misconfigure one of the services you're
supposed to be running, and also assuming none of the services you're
running intentionally has any bugs, then you're quite safe without a
firewall.  

Obviously, I recommend using a firewall, just to be sure.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp: Device busy

2004-01-24 Thread Geert Hendrickx
On Saturday 24 January 2004 16:00, Cordula's Web wrote:
  /dev/dsp: Device busy

 esd is the culprit.

But esd is not running...  I checked it with ps.  

Besides, esdplay foo.wav gives the same error.  

GH

-- 
powered by FreeBSD/Postfix/KMail

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


Re: ARP poisonong. LIVE_MAC

2004-01-24 Thread Lowell Gilbert
Alexey Kuzmenko [EMAIL PROTECTED] writes:

 There is a kernel module under Linux which is called LIVE-MAC. This
 module provide a sort of arp spoofing attack. It broadcasts arp
 replies for restricted host causing these hosts (basically windows) not
 to work in the LAN.

What an incredibly ugly idea.

 I'm wandering if there is something like above but for FreeBSD. I need
 to disallow any host network activity from the server (FreeBSD 4.8)

Surely there's a better way to implement what you're actually trying
to do; like firewalling the server you don't want accessed.

Even if you were going to try to do this by attacking ARP, I wouldn't
mess with the real IP stack to do it.  Couldn't you could get the same
effect by using RARP or proxy ARP?


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


Re: failing hardware panic

2004-01-24 Thread Lowell Gilbert
Tig [EMAIL PROTECTED] writes:

 I'm running a FreeBSD 5.2 system and have just started getting a
 panic/reboot problem. It *appears* to be a hard drive issue. I'm not
 sure where to start, however, in trying to work out which for the 3 IDE
 drives has the problem. What commands/tools can I use that will help me
 to identify the failing disk? (never had a disk fail before)

Why do you say it appears to be a hard drive issue?
That should be your first clue...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_fetch argument syntax question

2004-01-24 Thread Lowell Gilbert
Francis Litterio [EMAIL PROTECTED] writes:

 The man page for pkg_fetch says this:
 
  The following command line arguments are supported:
 
  pkgname Specify a full pkgname, a pkgname without version
  followed by an @, or a full URI.
 
 But it doesn't say what appending a '@' to the package name means.  Some
 experimentation doesn't reveal any difference.
 
 Anyone know what the '@' does?

I don't really do perl very well, but it looks like that *forces* the
pkgname to be treated as not including the version information.  Could
be useful in cases where the pkgtools have trouble isolating what the
ports system considers to be the version information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/dsp: Device busy

2004-01-24 Thread Geert Hendrickx
On Saturday 24 January 2004 16:15, Michael Clark wrote:
 Do you have a onboard sound card as well as a pci sound card?

 I use to run into this when I forgot to disable my onboard sound in bios.

I don't think so.  It's a laptop (Toshiba), and I doubt they'd put a second 
sound card in it.  

I really don't think it's a hardware problem, since it sometimes works under 
FreeBSD, and it always worked under Linux, without any problems.  

I guess arts has something to do with it, because I use KDE now, and I didn't 
use it with Linux.  However, as said, lsof | grep dsp yields no results.  

GH

-- 
powered by FreeBSD/Postfix/KMail

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


RE: Why BSD?

2004-01-24 Thread yo _
This is not a troll.

I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels,
updating ports, etc,etc. Thus far, other than some minor hassles, it's
equivilent to my Debian sid.
I have to ask: Why FreeBSD rather than Linux?

Honest question.

Thanks,

Jeff
why not?
-rian
_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

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


apm device not configured ?!

2004-01-24 Thread Julian Holley
Hi all - I'm still having problems persuading my laptop to work with apm
- apparently my machine should work on 4.9 - I have re-compiled with apm
enabled, set rc.conf to enable apm etc, but apmd, apm will not operate
and gives the message :-

apm device not configured, although /dev/apm does exist !?

what do I have to do to configure apm ? on bsd 4.9 
what is the difference between apm and apm0 ?

IBM TP 390x 2626FOG on FreeBSD4.9

any help much appreciated, J

incidently on 5.2 apm appears, and loads, but alas crashes on resume :(
 
  Powered by IBM Running Linux
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail 8.12.11

2004-01-24 Thread Mark
   Just a quick question: has Sendmail 8.12.11 been ported
   yet?
  
  You can try going to
 
http://www.freebsd.org/ports/index.html
 
  And do a search at the bottom of the page for sendmail.
  The output will show that the ports currently include
  sendmail 8.12.10
 
 I went to the ports listing, of course. :) But I recall the existence of
 a different URL, for releases within a few weeks/days. I just do not
 remember where that was.

Found it. :)

http://cvsweb.freebsd.org/ports/mail/sendmail

- Mark

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


Re: Why BSD?

2004-01-24 Thread Robert Huff

Mark writes:
  what about security between the two ?
  which if either is better secure ? easier to secure ?
  more likely to be cracked ?
  lets say for newbies mostly.

There's an old saying: The least safe part of any car is the
nut behind the wheel..
Both Linux and *BSD are quite secure ... if one takes the time
to understand your security needs, investigates the tools necessary
to address them, designs the solution correctly, and keeps everything
up to date.  If not, not.
There really is no shortcut here.  There are simple things one
can do - like disabling unused services in inetd - but if one wants
the real stuff (firewall, logging, secure sockets, fully encrypted
remote access, intrusion detection and notification, et alia) then
they should be prepared to do the work.


Robert Huff


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


Re: /dev/dsp: Device busy

2004-01-24 Thread Cordula's Web
   /dev/dsp: Device busy
  esd is the culprit.
 But esd is not running...  I checked it with ps.  

I'm having the same problem with mpg123, which uses esd:

$ ps ax|grep esd
$ mpg123 somefile.mp3
/dev/dsp: Device busy
audio: Device busy
$ ps ax|grep esd
11041  ??  Ss 0:00.14 esd -terminate -nobeeps -as 2 -spawnfd 5
$ kill 11041
$ ps ax|grep esd
$ mpg123 somefile.mp3

This happens every time. It's definitively esd that doesn't let
go of /dev/dsp, and for some reason, can't accept connections
on its unix socket /tmp/.esd/socket. It's perhaps related to
permissions (who starts esd)? I dunno exactly.

I'm using a brute-force work-around here:

#!/bin/sh
# playmp3.sh -- brute force mpg123 (Bug: /dev/dsp: Device busy)
until (mpg123 $1)
do
  sleep 1;
done

Ugly, but better than nothing.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: freebsd 4.8 and the spamassassin 2.6x port

2004-01-24 Thread Charles Swiger
On Jan 23, 2004, at 8:13 PM, Thomas T. Veldhouse wrote:
Why perl 5.8?  My 5.2 machine is running postfix, perl 5.6.1 and 
amavisd-new
without any trouble at all.
I don't believe that there is anything wrong with perl-5.6.x.

For that matter, I don't feel religious opposition to using the stock 
perl as shipped with FreeBSD 4.x, but even earlier versions of 
SpamAssassin recommended using 5.6 or later.  SA has a bunch of 
dependencies on various perl modules (HTML and MIME-handling stuff, 
mostly), and 5.8 obviously comes with a more recent version of such.

There is some dichotomy between upgrading Perl stuff via CPAN versus 
via the ports, which is why it might be reasonable for individuals to 
decide whether they want to follow the Perl archive directly or wait 
for the ports to be tested and updates committed.

--
-Chuck
PS: I don't have the port version of perl installed on most of my 
FreeBSD systems, but I do have 5.8 installed on everything which is 
running SpamAssassin.  Aside from an issue circa SA-2.6.1_2? or so 
where the Subject: header rewriting stopped working until the port was 
upgraded again (I think someone else mentioned this, too), SA+perl-5.8 
has been working well.  YMMV.

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


Re: CURL in PHP performance question

2004-01-24 Thread Charles Swiger
On Jan 23, 2004, at 7:05 PM, Brent Wiese wrote:
I've never used it, but based on the way it reads, it seems like the
overhead of the calls on even a moderately busy site could have serious
server impacts.  Am I worried about nothing or do I need to put my 
foot down so he doesn't affect the other jail users by taking up all 
the resources?
What resource(s) are you worried about CURL consuming?  CPU time?  Tell 
the user to run these processes using nice so that other user's tasks 
will be minimally effected.

If you're concerned about VM usage, or I/O, or something, experiment a 
bit and determine whether there is an issue, then consider saying no, 
or tuning the system, or changing /etc/login.conf to adjust resource 
limits appropriately.

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-24 Thread Keith Kelly
I wrote the message to which you replied, not Michael Clark.

See my comments in-line.


From: Hendrik Hasenbein [EMAIL PROTECTED]
To: Michael Clark [EMAIL PROTECTED]
CC: 'Keith Kelly' [EMAIL PROTECTED],  Derrick Ryalls 
[EMAIL PROTECTED], freebsd-bugs [EMAIL PROTECTED],  
'freebsd-questions ORG' [EMAIL PROTECTED]
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS
Date: Sat, 24 Jan 2004 09:57:18 +0100

Michael Clark wrote:
I configure the two devices that way (CD-ROM as slave, hard drive as 
master), sysinstall refuses to mount the CD, giving me an error about 
CD/DVD drive not found!.  It's worth noting that no other OS I've run on 
this same PC ever had any trouble finding the CD-ROM drive when it was 
configured as the slave.
Strange. That you got that problems. I've been always using a CDROM on 
slave. Never had a problem there. Did you look if the BIOS was able to 
autodetect the cdrom on boot? Do you use cable select on one of them?
Of course the BIOS auto-detected the CD-ROM fine -- the configuration had 
always worked with all other operating systems and software I had used on 
this PC.

It didn't matter whether I used cable select or explicitly jumpered the 
devices as master/slave.  In either case, if the CD-ROM was the slave, 
sysinstall failed to detect the CD-ROM.


To get around _that_ problem, I had to configure the CD-ROM as the master 
and the hard drive as the slave.  With the CD-ROM as the master, 
sysinstall is able to actually detect the CD/DVD drive, but then I run 
into this nonsense with fdisk refusing to detect or accept the correct 
disk geometry for the hard drive.  It's worth noting that I've never had 
to manually specify hard drive geometry settings in the installer for any 
other OS I've installed on this PC.  They figured it out automatically and 
worked fine.
Another time: Just turn on LBA.
LBA is already on on all my devices, and has been from the start.  This is 
most definitely NOT the problem.  Besides which, I already explained my 
findings on another thread on these aliases..

So far, I'm really disappointed by FreeBSD.  If FreeBSD lacks the logic or 
detection to automatically figure all these things out and just work, that 
is a serious bug (whether due to a programmer mistake or poor software 
design).  I've _never_ had this much trouble getting an operating system 
installed on this particular PC.
It's due to poor hardware design in history.
It's equally due to poor software design.  If Windows and Linux can deal 
with the hardware fine, then FreeBSD should be able to also.


If I can't get things working within about 1 more hour of tinkering, I'm 
going to abandon FreeBSD entirely, put my machine back together, and just 
use the drive as an extra NTFS filesystem for my personal files under 
Windows XP.
That explains, why you don't want to switch from auto to LBA. Sometimes 
auto is the right thing, but most times you have to think of the right 
setting, because auto is just a default. (Example: If I leave all values  
set to auto in my bios, my system is going to creep literally, because some 
components wont interact correct)

When people argue that Windows is easier, and that *nix isn't ready for 
the desktop, this is *exactly* the kind of problem that they are talking 
about. I hope any actual FreeBSD developers on these aliases wake up and 
take notice.
The real problem is that we still work around design flaws which exist in 
hardware for a decade. Everybody uses his/her personal best workaround and 
sometimes they are in conflict.
No, the real problem is a lack of thorough testing on a variety of hardware 
configurations, and a lack of developer interest in solving problems 
encountered by people other than themselves.

Hendrik


_
Get a FREE online virus check for your PC here, from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: FreeBSD/FDisk geometry problems - SOLVED!

2004-01-24 Thread Keith Kelly
See my comments in-line.


From: Hendrik Hasenbein [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Subject: Re: FreeBSD/FDisk geometry problems - SOLVED!
Date: Sat, 24 Jan 2004 10:43:17 +0100
Keith Kelly wrote:
I've found a bug in FDisk which is responsible for all the problems I've 
had trying to get FreeBSD installed.  I also found a work-around, and I'm 
happy to report I'm typing this message from Konquerer inside FreeBSD 
5.1-RELEASE right now.
Gratulation.

Basically, the problem is that FreeBSD's FDisk and the motherboard BIOS 
independently calculate a set of CHS values (Cylinders/Heads/Sectors) 
based on the total sector count of the disk, but they do it in different 
ways and thus end up with different values.
Yes. That is because there are different ways to calculate that.
Then FDisk should be updated to include awareness of ALL the different ways, 
so as to work on a wider variety of hardware.


So, the problem is that FDisk makes *different* assumptions than my BIOS 
does about what the sectors and heads values should be.
That has always been the problem for CHS conversions.
Then why do Windows, BeOS, Linux, and SkyOS all get it right, while 
FreeBSD's fdisk is the only one that gets it wrong?


I ran across some information on a BIOS manufacturer's site which claimed 
that for LBA mode SCSI drives (more accurately known as LBA-Assist 
translation mode), that it is safe to assume that sectors should be 63 
and heads should be 255.  Given that FreeBSD's roots and developer 
community seems historically SCSI-centric, I can see how these assumptions 
would have been picked up and used in FDisk and considered acceptable.  
But these assumed values are clearly not correct for how CHS gets 
calculated by many PC BIOSes for IDE drives.
LBA is the only common mode known to all BIOS vendors, Harddrive 
manufactures and so on, because at least someone made up some assumptions 
and published them instead of developing their own CHS translation. SCSI 
was first to breach the BIOS CHS barrier on PCs and so they defined that 
method. If your BIOS is in auto mode, it tries to get the current format 
from the harddisk most times uses CHS, but will also find a disk with LBA. 
So in a modern system LBA would be the safe pick and not CHS. Most likely 
it picks it from disk (the partition table uses entries for cylinders, 
heads and sectors to describe the partitions), so the first fdisk sets the 
addressing the bios chooses. So to avoid conflicts and enhance the usabilty 
of your drive in different PCs and with different systems use LBA.
As I've said multiple times now, LBA was already enabled on all my drives.

Furthermore, I believe that the reason FDisk rejects the manually entered 
CHS of 19618/16/255 is because either (1) it tries to enforce those bad 
assumptions about heads and sectors, or (2) it gets confused by the 
rounding error.  In other words, in the case of rounding error, FDisk may 
be taking the manually-entered values, multiplying them together, and 
seeing that it doesn't exactly match (or come close enough to, in its 
humble but flawed opinion) the total sector count for the drive.  The way 
Fdisk's geometry validation ought to work is like this:

- Divide the total sector count of the drive by (H*S), where H and S are 
the user-supplied values.
- Round the result to the nearest whole number.
- Compare that result to the user-supplied value for cylinders.
- If the result matches, accept the user's input as good.
The test will ensure that the user dont make typos, but it can't ensure 
that the C. H and S are arranged the same in both conversions.
Uh, what?


In the meantime, the workaround for anyone experiencing this problem is to 
go into their BIOS and set the hard drive to User mode, and manually 
enter the same C/H/S settings that FDisk calculated for the drive.  
Unfortunately, I think this means that if you have to repartition and 
reformat the entire drive, since the BIOS will now be addressing the drive 
using different C/H/S settings and will be unable to read any partitions 
that were formatting using different C/H/S addressing.  So while there is 
a workaround, it is far from an ideal user experience.
Better solution, put the IDE drives to LBA and you'll see that you
All my drives already were set in the BIOS with LBA-mode On.  This isn't 
just an issue with having LBA mode enabled or not in the BIOS.  This is an 
issue with FDisk being deficient in how it calculates values for LBA IDE 
drives.

get the same CHS every time and on every system except MSDOS  6.3. If you 
got a filesystem which doesnt bother about CHS and uses linear addressing 
you 'only' need a new partition table. After redoing the drive you can put 
the IDE back to Auto.

Hendrik


_
Check out the coupons and bargains on MSN Offers! 
http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418


Re: Adaptec 2400A Performance

2004-01-24 Thread Charles Swiger
On Jan 24, 2004, at 12:51 AM, Rishi Chopra wrote:
I was rather disappointed with the results.  Can anyone suggest what 
might be causing such slow disk speeds, or whether these speeds are 
out of the ordinary for a 4-disk FreeBSD RAID5 installation?  I have 
done nothing to configure the card aside from striping the array in 
BIOS; FreeBSD seems to automatically detect the disks.
For us to be able to comment beyond generalizations, it's necessary to 
also benchmark how a single disk performs.  I can still answer your 
question, though:

RAID-5 is slow.  RAID-5 trades availability against performance and 
hardware costs.  With RAID-0, n drives gives n drives' worth of usable 
space.  With RAID-5, n drives gives n-1 drives' worth of usable space.  
The performance is between RAID-0 and RAID-1 is comparible for large 
accesses.  For small accesses, particularly small writes, RAID-5 
performance is much worse than plain RAID-0 or a plain disk.

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


Re: sis0 short cable fix

2004-01-24 Thread Charles Swiger
On Jan 24, 2004, at 9:20 AM, scott renna wrote:
I'm wondering exactly, however, what would cause a
message such as this to be displayed in dmesg:
kernel:  sis0:  Applying short cable fix(reg=e8)

My card seems to be working fine, and I'm wondering
exactly what this means.
Does anyone know and has anyone used this patch
successfully?  I never saw this message in earlier
versions of BSD.  I'm running 5.2 now.
I remember testing this or a variant of this patch; I have a:

sis0: NatSemi DP83815 10/100BaseTX port 0x1000-0x10ff mem 
0xf4102000-0xf4102fff irq 9 at device 15.0 on pci0
sis0: Ethernet address: 00:a0:cc:75:97:29
miibus1: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

I gather the chipset tries to compute or adjust some DSP parameter 
based on cable length, only it doesn't do the right thing for short 
cable lengths, so the fix resets the value to something which works 
better than the value the code would otherwise choose (absent this 
fix).

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


Installing from ISO images

2004-01-24 Thread Chip Morton
Is there a way for me to install FreeBSD from CD images that I have 
downloaded without burning them to CD?  Can I boot from a floppy and then 
mount the images like a CD?  I'm installing versions 4.9 and 5.2.

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


NIS problems

2004-01-24 Thread Vulpes Velox
I've recently set up a NIS server on my lan. All machines are running
freebsd 4stable.

I have added the nisdomainname and nis_client_enable lines to the
client machines along with the correct lines on the server in rc.conf.

I have also added +: to the end of /etc/master.passwd and
+:*:: to the end of /etc/group.

Ypcat passwd all the correct usernames, but I can't login or su as any
of them.

On the login if I try to login using one, I eventually get the message
login: Login timed out after 300 seconds awhile after it kicks out
Login incorrect

Any one have any idea what is going on?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cricket setup help

2004-01-24 Thread stan
Long agao, and far away I set up mrtg to monitor various aspects of a
nrtwork. Twoard the end of this excersise, I remeber being frustrated by
some limitations of mrtg. I looked around, ad decided that if I ever needed
to do this job again, I'd use cricket.

Well, the time has come to setup this on my home network. 

So, is cricket still a good/the best choice? I want to be able to monitor
at least the following:

1. Network interface trafic on all interfaces.
2. free disk space on all disk partitons
3. CPU loading on all machines

I have installed the cricket port, and the ucd-snmp port. I've followed teh
begineers directions, configuring the local FreeBSD machine as a
router, thinking I could at leas get the network interface statstics
goign with that, but no luck. I do get replies from the machien, and I cna
run an snmpdwalk on it. But it appears that I'm bot getting interface
trafic data.

Can anyoen help me out?

-- 
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: amadmin not in man pages (amanda)

2004-01-24 Thread Toomas Aas
Hi!

 I am installing amanda on a new client and I have noticed that amadmin is 
 not in the man pages (and it should according to the amanda man page). This 
 is true both with the package and the port.

 package used : amanda-client-2.4.4,1

I think this is because amadmin is part of amanda-server, not 
amanda-client. I just recently installed amanda-server on one machine 
and amanda-client on another (from ports). On amanda server both the 
amadmin binary and its manpage are present. On amanda client, neither 
is.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* I'll eat anything as long as it's pizza.

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


WRITE(06). CDB: error in /var/log/messages

2004-01-24 Thread Ryan Petty
Hello,

I am not a new user to FreeBSD, but I am seeing some errors in 
/var/log/messages that I am not familiar with and have had difficulty 
finding a definition and ultimately a resolution.

I have researched the FreeBSD documentation, but my searches lead to 
developer information which does not answer my question (at  least in a 
way I can understand it).

A sample of the errors is found below:

Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a b a2 
73 8 0
Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM 
ERROR info:17f asc:14,1
Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): Record not found field 
replaceable unit: 1
Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a 11 
65 df 20 0
Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM 
ERROR info:17f asc:14,1
Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): Record not found field 
replaceable unit: 1
Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a 0 2 
1f 20 0
Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM 
ERROR info:17f asc:14,1
Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): Record not found field 
replaceable unit: 1

What do these errors mean and how do I fix them--or is this a sign of a 
dead or dying drive or SCSI controller?

Thanks for the help.

Ryan Petty

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


Re: Cyrus-IMAPD users...question

2004-01-24 Thread Toomas Aas
Hi!

 Was just curious for anyone out there, who is running cyrus on FreeBSD, did 
 you install the software through the ports tree?

Yes. I'm currently running Cyrus-IMAPD 2.0.17 installed from ports.

 What DB version are you running?

# pkg_info | grep db
db3-3.3.11,1The Berkeley DB package, revision 3

 Are you exepriencing any DB problems?

The only problems I've had happened during upgrading. I've upgraded 
cyrus-imapd twice on this server, which also implied upgrading 
cyrus-sasl and db3. And both times after the upgrade the SASL database 
where passwords are kept was unreadable, which meant users couldn't log 
in. Seems like the newer cyrus-sasl (built with newer db3) couldn't 
read the database created with the older version. First time when it 
happened I just created new passwords for all users (a lot of hassle!). 
The second time I somehow got it working after 8 hours of mucking 
around, but by the end of it I was so stoned that I really don't know 
*what* I did to get it working.

Now I seriously fear the day I might need to upgrade Cyrus again.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Boy, that lightning came a little clo-!!***NO CARRIER

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


Re: WRITE(06). CDB: error in /var/log/messages

2004-01-24 Thread Dan Nelson
In the last episode (Jan 24), Ryan Petty said:
 I am not a new user to FreeBSD, but I am seeing some errors in
 /var/log/messages that I am not familiar with and have had difficulty
 finding a definition and ultimately a resolution.
 
 I have researched the FreeBSD documentation, but my searches lead to
 developer information which does not answer my question (at least in
 a way I can understand it).
 
 A sample of the errors is found below:
 
 Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a b a2 73 8 0
 Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR 
 info:17f asc:14,1
 Jan 24 11:03:44 homer /kernel: (da0:ahc0:0:0:0): Record not found field replaceable 
 unit: 1
 Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a 11 65 df 20 0
 Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR 
 info:17f asc:14,1
 Jan 24 11:04:12 homer /kernel: (da0:ahc0:0:0:0): Record not found field replaceable 
 unit: 1
 Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): WRITE(06). CDB: a 0 2 1f 20 0
 Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): Deferred Error: MEDIUM ERROR 
 info:17f asc:14,1
 Jan 24 11:05:29 homer /kernel: (da0:ahc0:0:0:0): Record not found field replaceable 
 unit: 1
 
 What do these errors mean and how do I fix them--or is this a sign of
 a dead or dying drive or SCSI controller?

Looks like a drive about to fail.  Depending on the vendor, you may
have to run a diagnostic program that displays the SMART info before
they'll replace it.  You can also dump the same data with the
sysutils/smartmontools port.

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


Re: Default /var directories/permissions in 4.9R

2004-01-24 Thread Toomas Aas
Hi!

 Are the default layout and permissions documented anywhere?  

See mtree(8) and /etc/mtree/BSD.var.dist.

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Life would be easier if I had the source code.

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


Re: FreeBSD 4.9-RELEASE 4, 6, or 8 port ATA PCI Controller

2004-01-24 Thread Jesse Guardiani
Jesse Guardiani wrote:

 Howdy list,
 
 Does anyone know of a 4, 6, or 8 port ATA PCI Controller
 that works well with FreeBSD? Preferably ATA-133 and
 large capacity drive capable.
 
 Thanks!

How about non-RAID? I got one recommendation for 3ware Escalade
controllers, but they are all RAID, and I don't really need RAID
for this application...

Low cost, high port count. (4, 6, or 8)

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Why BSD?

2004-01-24 Thread Jesse Guardiani
Jeff Elkins wrote:

 This is not a troll.
 
 I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels,
 updating ports, etc,etc. Thus far, other than some minor hassles, it's
 equivilent to my Debian sid.
 
 I have to ask: Why FreeBSD rather than Linux?
 
 Honest question.

For me, this question has been answered twice in different attempts to give
linux a try. I'm a Sys Admin, and we run FreeBSD almost exclusively at work.
However, every new employee we hire walks into the building with an attitude
that Linux is somehow better than FreeBSD because they're heard so much about
it and haven't heard anything about FreeBSD. So, on two separate occasions, I
decided to give linux a try. Both ended miserably:

Occasion 1.) I bought a new laptop. I was having trouble getting suspend and
 resume to work under FreeBSD, so I decided to give linux a try.

 I decided on Debian linux (woody originally, and later unstable
 and finally the testing branch). Installation went smoothly,
 but I immediately ran into massive problems with the console driver.

 4 or 5 lines of text were hidden below the bottom of my LCD.
 Very frustrating. I later found out that I couldn't use DRI/DRM
 with Debian because the version of XFree86 wasn't current enough.

 I ran into many many other problems, but some of these may have
 simply been due to the learning curve for a new O/S. gpm behaved
 badly, difficult to install wireless drivers, etc...

 Pros: Great packaging system. Upgrades were comparatively as
   easy as FreeBSD, once you learned a few tricks - like upping
   the amount of RAM the package tools could use. Binary security
   updates were a great feature that FreeBSD is only now attempting
   to implement.

 Cons: Very difficult to actually figure out how to use new software.
   Incredible lack of `man` pages, which are replaced by terrible
   and usually unintelligible `info` pages.

   Excruciatingly out-of-date packages. It takes *years* for
   new releases to come out, and even the testing branch (most
   unstable branch they have) lags months behind other
   distributions in some areas (like XFree86).

 Switched back to FreeBSD. Installed 5.1-RELEASE. Toughed it out
 and got suspend-resume working. Couldn't be happier. This laptop is
 still in service and happily runs FreeBSD 5.2-RELEASE every day.


Occasion 2.) Got sick of Win 98 SE on my wife's computer, so I decided to give
 Linux a second chance.

 This time I WANTED to go with Red Hat, since it's arguably the most 
popular
 Linux distro. However, one look at their new licensing made me change
 my mind in favor of Gentoo - The most BSD-like Linux distro.

 Maybe I was doing something wrong, but I couldn't find an automated
 install process. I had to read a text file and copy and paste install
 commands by HAND to get Gentoo installed. This was painful and tedious.
 It took probably 4 hours to install. Their motto is freedom of choice
 or something similar. Well where is my freedom to choose a quick 
install???

 Pros: Very nice BSD-like portage system. Top notch.

 Cons: Terrible install process. Took forever.

 Just as I got X11 installed and configured, my dog hit the reset
 button on my case. The computer wasn't even DOING anything. It
 was just sitting at a command prompt. However, upon rebooting the
 machine my ReiserFS filesystem was TOTALY hosed. This NEVER happens
 under FreeBSD. At this point there was NO WAY I was going to wade
 through another 4 hour install session, so I gave up and installed
 FreeBSD 5.2-RC1 (now upgraded to -RELEASE).

Now, maybe I just got unlucky both times. It happens. I know. Even FreeBSD acts
strange on some hardware. And maybe one day I'll give Linux a 3rd chance, but it
isn't today, and probably won't be anytime soon.

Also, the enormous number of Linux distros makes Linux very unappealing to me.
I've heard Linux described as Managed Chaos before, and I agree. It just doesn't
compliment my way of doing things very well. But hey, maybe it will for you.

YMMV. Hope the above rant helps a little.

Also, here's an article I found a few weeks ago that is very in-line with my
experiences using *BSD and Linux:

http://www.over-yonder.net/~fullermd/rants/bsd4linux/bsd4linux1.php

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



Re: iso files

2004-01-24 Thread Kris Kennaway
On Sat, Jan 24, 2004 at 02:50:14AM -0800, F.Aydýn DÜNDAR wrote:
 I downloaded .iso image files release 5.2. But
 sysinstall not read qt-3.2.1.tbz and arts-1.1.4,1.tbz.
 
  
 How can I make install? Thanks a lot... 

Did you verify that the ISO image had the correct MD5 checksum prior
to trying to install from it?  Your download may be corrupted.

Kris


pgp0.pgp
Description: PGP signature


Re: NIS problems solved

2004-01-24 Thread kitsune
On Sat, 24 Jan 2004 12:47:32 -0600
Vulpes Velox [EMAIL PROTECTED] wrote:

 I've recently set up a NIS server on my lan. All machines are
 running freebsd 4stable.
 
 I have added the nisdomainname and nis_client_enable lines to the
 client machines along with the correct lines on the server in
 rc.conf.
 
 I have also added +: to the end of /etc/master.passwd and
 +:*:: to the end of /etc/group.
 
 Ypcat passwd all the correct usernames, but I can't login or su as
 any of them.
 
 On the login if I try to login using one, I eventually get the
 messagelogin: Login timed out after 300 seconds awhile after it
 kicks outLogin incorrect
 
 Any one have any idea what is going on?

Found my problem... a pwd_mkdb is required... but not mentioned in the
hand book...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why BSD?

2004-01-24 Thread John Adams
Hi, folks,

	All these very intelligent, well-reasoned, sometimes philosophical 
answers--mine is nothing like that.

	A company for which I want to work uses FreeBSD extensively, so I'm 
learning something about it at home.

That simple,

John A
see me fulminate at http://www.jzip.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: beastie in 5.2 boot menu

2004-01-24 Thread Hanspeter Roth
  On Jan 23 at 19:06, John Mills spoke:

 Hanspeter -
 
 On Sat, 24 Jan 2004, Hanspeter Roth wrote:
 
  how can I turn off (delete) the beastie in the boot menu in 5.2?
 
 The ASCII image is part of a text file. I think it is found in /boot and 
 named similar to beastie2nd.[something]. Go with your favorite ASCII 
 editor and make it what you want. Run 'find /boot -name beast\* -print' 
 and you should find it.

Yes, it is /boot/beastie.4th. Thanks.

-Hanspeter
--- boot/beastie.4th.orig   Sun Jan 11 03:48:00 2004
+++ boot/beastie.4thThu Jan 22 22:55:01 2004
@@ -94,6 +94,7 @@
 ;
 
 : print-beastie ( x y -- )
+   exit
s loader_color getenv
dup -1 = if
drop
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail /etc/mail/Makefile usage

2004-01-24 Thread JJB
Looking for explanation documentation on the customization process
of FBSD's sendmail.

The /etc/mail/README talks about using the
m4 command to customize sendmail. I have all ready been told that
process is incorrect for the built in version of sendmail as
delivered by the FBSD install.

Previous posters to my sendmail questions said to read the
/etc/mail/Makefile which I have.
It does not explain the overall process either.
It just gives some hints.

I am only interested in 2 things, have sendmail use
'fbsdjones.com' as the local domain and tell sendmail not to
do reverse DNS lookups.

I have /etc/rc.conf  hostname='gateway.fbsdjones.com'   for the
gateway/firewall/sendmail PC which is the doorway to my private Lan.

The other FBSD PCs on the Lan have hostnames= of  tom.fbsdjones.com,
bob.fbsdjones.com, dad.fbsdjones.com, and mom.fbsdjones.com.

I am not running an DNS server and don't want to for
this very small Lan.

The gateway  /etc/hosts file has this

::1 localhost localhost.my.domain myname.my.domain
127.0.0.1   gateway   gateway.fbsdjones.com   fbsdjones.com

#  fbsdjones.com Private IP address network.
10.0.10.2   Landad   dad.fbsdjones.com
10.0.10.3   Lanmom   mom.fbsdjones.com
10.0.10.4   Lantom   tom.fbsdjones.com
10.0.10.5   Lanbob   bob.fbsdjones.com

When I use the 'mail' command to send mail it creates the senders
email as [EMAIL PROTECTED] It should be [EMAIL PROTECTED]
If I am on the dad.fbsdjones.com Lan PC and use mail command the
senders email address is [EMAIL PROTECTED]
Same thing for the other Lan PCs.

Do I have to change all the hostname= statements to
hostname=fbsdjones.com to get all the separate PCs aligned to
use the same domain name?

Or do I have to customize sendmail on all PCs to use fbsdjones.com
as domain name and not the hostname=value name?

Is there an way to customize the client program called 'mail' so it
knows the correct domain name to use for the sender?

Is there an better mail client program that is delivered as part of
the basic install? I all ready know there are better ones in
the port system.

Previous posters said in reply to my question about
'telling sendmail not to do reverse DNS lookups', that I need
an /etc/mail/service.switch file which I have to create new.

So what is the single statement I have to put in this file to tell
sendmail to stop doing reverse DNS lookups?

Do I have to do anything special to this file to activate it?

Thanks in advance.




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


Re: Why BSD?

2004-01-24 Thread Andrew L. Gould
On Saturday 24 January 2004 03:26 pm, Jesse Guardiani wrote:
 Occasion 2.) Got sick of Win 98 SE on my wife's computer, so I decided to
 give Linux a second chance.

  This time I WANTED to go with Red Hat, since it's arguably the
 most popular Linux distro. However, one look at their new licensing made me
 change my mind in favor of Gentoo - The most BSD-like Linux distro.

Slackware + portage would be interesting.

Andrew Gould


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


strange font error on Konsole

2004-01-24 Thread Alex Walker
I'm running KDE on FreeBSD 4.8. Everything was working great, but after a
recent run of the CVSUP/Portupgrade dance I'm getting a weird error when I
open a shell through Konsole. Any time I run it, I get an error message that
reads

Font `-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1' not found.
Check README.linux.console for help.

I'm having some trouble finding this README file anywhere and, while I can
still use the shell, it is annoying to have this message come up every time
I launch it. Can anyone point me towards a solution?

Thanks,
Alex 

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


Problem With Configuring Name Servers

2004-01-24 Thread Gerard Seibert
I am fairly new to BSD. I seem to be having a problem setting up my name servers 
correctly.

I have the following in the resolv.conf file:

domain rcn.com
nameserver 207.172.3.8
nameserver 207.172.3.9

The following entry is in the re.conf file

ifconfig_rl0=DHCP

Everything, including nslookup, etc works fine until I reboot. Then the files are over 
written. The resolv.conf file then has the following entries:

search cable.rcn.com
nameserver 192.168.0.1

Obviously, I am doing something incorrectly here. Why are these files being rewritten 
upon rebooting of the machine, and how do I stop it. I have a cable connection that 
uses DHCP . I have the latest release of FreeBSD 5.2 installed.

Thanks in advance.

Gerard Seibert
[EMAIL PROTECTED]


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


Re: Why BSD?

2004-01-24 Thread Micheal Patterson


- Original Message - 
From: Jesse Guardiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 3:26 PM
Subject: Re: Why BSD?


 Jeff Elkins wrote:

  This is not a troll.
 
  I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling
kernels,
  updating ports, etc,etc. Thus far, other than some minor hassles, it's
  equivilent to my Debian sid.
 
  I have to ask: Why FreeBSD rather than Linux?
 
  Honest question.

 For me, this question has been answered twice in different attempts to
give
 linux a try. I'm a Sys Admin, and we run FreeBSD almost exclusively at
work.
 However, every new employee we hire walks into the building with an
attitude
 that Linux is somehow better than FreeBSD because they're heard so much
about
 it and haven't heard anything about FreeBSD. So, on two separate
occasions, I
 decided to give linux a try. Both ended miserably:


For me, this is what severely soured my stomach to Linux.

I ran Redhat quite a few years ago for about 3 months. Granted, it wasn't as
easy as it is now. This version had no gui installer and you had to know the
ftp site location to point the installer to back then. FreeBSD wasn't much
easier at the time as I recall so that was not really an issue. Well, I then
I decided that I wanted to learn bind. But the OS version of course wasn't
current so I went and grabbed the rpm for my version of linux that was
current. I then went to uninstall the existing system bind portion and it
gave an error that permission was denied. I was logged in from console as
root, and it wouldn't allow me to uninstall it, nor would it allow me to
install over it or upgrade it. So, I blew it away.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Problem With Configuring Name Servers

2004-01-24 Thread Micheal Patterson


- Original Message - 
From: Gerard Seibert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 4:40 PM
Subject: Problem With Configuring Name Servers


 I am fairly new to BSD. I seem to be having a problem setting up my name
servers correctly.

 I have the following in the resolv.conf file:

 domain rcn.com
 nameserver 207.172.3.8
 nameserver 207.172.3.9

 The following entry is in the re.conf file

 ifconfig_rl0=DHCP

 Everything, including nslookup, etc works fine until I reboot. Then the
files are over written. The resolv.conf file then has the following entries:

 search cable.rcn.com
 nameserver 192.168.0.1

 Obviously, I am doing something incorrectly here. Why are these files
being rewritten upon rebooting of the machine, and how do I stop it. I have
a cable connection that uses DHCP . I have the latest release of FreeBSD
5.2 installed.

 Thanks in advance.

 Gerard Seibert
 [EMAIL PROTECTED]



In /etc there will be a file called dhclient.conf. If it doesn't exist,
create it and add the following:

interface rl0 {
prepend domain-name-servers 207.172.3.8;
prepend domain-name-servers 207.172.3.9;
request subnet-mask, broadcast-address, routers, domain-name-servers ;
require subnet-mask, broadcast-address, routers ;
}

What this will do is take the information that is provided during the dhcp
initialization and add the above to the information it recieves from the
server. If you don't want to use any of the name servers provided by dhcpd,
remote the domain-name-servers portion from the request entry. If you need
any further specifics, check out man dhclient.conf for other options to add
to this file.  I think that this will do what you're looking for though.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Problem With Configuring Name Servers

2004-01-24 Thread Teodor Iliescu
Hello Gerard,

This seems to be obvious enough.
You are trying to statically assign your DNS search order, as well as
static name servers, but you have your nic, rl0 on DHCP, which overwrites
the file on boot-up, as you mention.

What you should do is take off DHCP, in rc.conf file.
Something like:

ifconfig_rl0=inet 192.168.0.2 netmask 255.255.255.0

Above, you would set your static IP address.

Hope this helps.

On Sat, 24 Jan 2004, Gerard Seibert wrote:

 I have the following in the resolv.conf file:

 domain rcn.com
 nameserver 207.172.3.8
 nameserver 207.172.3.9

 The following entry is in the re.conf file

 ifconfig_rl0=DHCP

 Obviously, I am doing something incorrectly here. Why are these files
 being rewritten upon rebooting of the machine, and how do I stop it. I
 have a cable connection that uses DHCP . I have the latest release of
 FreeBSD 5.2 installed.

 Thanks in advance.

Unix is simple, but it takes a genius to understand the simplicity.
- Dennis Ritchie

Teodor I.
http://penguincomputing.iwarp.com
GPG key fingerprint : 9AC8 A05C 78AD AD73 91DB  CBE4 B644 F402 FBFD 5927
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem With Configuring Name Servers

2004-01-24 Thread Micheal Patterson


- Original Message - 
From: Micheal Patterson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 4:48 PM
Subject: Re: Problem With Configuring Name Servers




 - Original Message - 
 From: Gerard Seibert [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, January 24, 2004 4:40 PM
 Subject: Problem With Configuring Name Servers


  I am fairly new to BSD. I seem to be having a problem setting up my name
 servers correctly.
 
  I have the following in the resolv.conf file:
 
  domain rcn.com
  nameserver 207.172.3.8
  nameserver 207.172.3.9
 
  The following entry is in the re.conf file
 
  ifconfig_rl0=DHCP
 
  Everything, including nslookup, etc works fine until I reboot. Then the
 files are over written. The resolv.conf file then has the following
entries:
 
  search cable.rcn.com
  nameserver 192.168.0.1
 
  Obviously, I am doing something incorrectly here. Why are these files
 being rewritten upon rebooting of the machine, and how do I stop it. I
have
 a cable connection that uses DHCP . I have the latest release of FreeBSD
 5.2 installed.
 
  Thanks in advance.
 
  Gerard Seibert
  [EMAIL PROTECTED]
 
 

 In /etc there will be a file called dhclient.conf. If it doesn't exist,
 create it and add the following:

 interface rl0 {
 prepend domain-name-servers 207.172.3.8;
 prepend domain-name-servers 207.172.3.9;
 request subnet-mask, broadcast-address, routers, domain-name-servers ;
 require subnet-mask, broadcast-address, routers ;
 }

 What this will do is take the information that is provided during the dhcp
 initialization and add the above to the information it recieves from the
 server. If you don't want to use any of the name servers provided by
dhcpd,
 remote the domain-name-servers portion from the request entry. If you need

 any further specifics, check out man dhclient.conf for other options to
add
 to this file.  I think that this will do what you're looking for though.

Argh. spellcheckers are evil I say.  remove !remote


--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Hot Swap hardware on FreeBSD?

2004-01-24 Thread Stephen P. Cravey
Two reasons:

0)Price.
1)To learn something useful.

It shouldn't be difficult, I just can't seem to locate any information on it. This 
seems the most appropriate place to ask.

-Stephen

On Sat, 24 Jan 2004 10:24:45 +0100
me [EMAIL PROTECTED] wrote:

 what about buying an external raid-box? then you dont have to care about 
 these questions ;)
 the external box is doing raid 5 with hot standby disk and is connected 
 to the system via scsi and looks like one big drive.
 the box itself is full of hot-swappable ide drives and the system does 
 not notice, if something goes wrong, because the box handles these 
 things on its own.
 
 
 greetings
 ruediger
 
 
 
 Stephen P. Cravey wrote:
 
  I'm trying to locate a good resource for creating hot swap capable servers with 
  FreeBSD and Vinum.
  
  Specifically, I'm trying to find out several things:
  
  Are there resources somewhere that document this type of thing? Please?
  
  Do I need controllers for SATA/SCSI that will handle the plugging/unplugging of 
  drives, or do I just need to do a bus rescan (or the like) after the change and 
  notify vinum? i.e. do i need something like an adaptec 2200S or will a 39320 work?
  
  Is there anything in particular I should look for when buying hot swap chassis? 
  Other than SCA for SCSI?
  
  What about Hot swap with Fibre Channel?
  
  What about using FreeBSD in a SAN where it's both serving drives and acting as a 
  client?
  
  Where can I find (recent) performance numbers for raid 0,1,5 comparisons?
  
  What else should I know about this before attempting it?
  
  Thank you.
  
  -Stephen
  ___
  [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]


Install gettext-0.12.1 and gettext-0.13 simultaneously?

2004-01-24 Thread Richard Bejtlich
Hello,

I have a question on resolving port dependencies.

I have several tools installed which depend on
gettext-0.13:

ORBit-0.5.17_1
bison-1.75_1
ethereal-0.10.0a_1
fvwm-themes-0.6.1_1
gmake-3.80_1
gtk-1.2.10_10
mozilla-1.6_1,2
openoffice-1.1.0_1
popt-1.6.4_1
rpm-3.0.6_8
wget-1.8.2_5

I am trying to install /usr/ports/net/wistumbler2 but
it needs gettext-0.12.1:

===  Installing for gettext-0.12.1

===  gettext-0.12.1 conflicts with installed
package(s): 
  gettext-0.13
  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/gettext-old.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/net/wistumbler2.

I've encountered the same with
/usr/ports/games/freeciv-gtk2. 

How do I deal with this conflict?  Do I tell one of
the ports to install elsewhere?  If so, how, and how
do I let ports with dependencies know where to look?

Thank you,

Richard
http://www.taosecurity.com

Ref:
orr# uname -a
FreeBSD orr.taosecurity.com 5.2-RELEASE FreeBSD
5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386
orr# ls -al /usr/ports/INDEX*
-rw-r--r--  1 root  wheel  4539444 Jan 21 13:14
/usr/ports/INDEX
-rw-r--r--  1 root  wheel  4726008 Jan 23 23:07
/usr/ports/INDEX-5
-rw-r--r--  1 root  wheel  9904128 Jan 23 23:07 /usr/ports/INDEX.db

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail /etc/mail/Makefile usage

2004-01-24 Thread Matt Emmerton
 Looking for explanation documentation on the customization process
 of FBSD's sendmail.

 The /etc/mail/README talks about using the
 m4 command to customize sendmail. I have all ready been told that
 process is incorrect for the built in version of sendmail as
 delivered by the FBSD install.

 Previous posters to my sendmail questions said to read the
 /etc/mail/Makefile which I have.
 It does not explain the overall process either.
 It just gives some hints.

The key point is that you need to edit /etc/mail/freebsd.mc to suit your
environment.

Specifically, copy /etc/mail/freebsd.mc to
/etc/mail/gateway.fbsdjones.com.mc, and edit it with the modification for
your environment. Do the same with freebsd.submit.mc (copy to
gateway.fbsdjones.com.submit.mc).

The Makefile in /etc/mail will be smart enough to pick up this local
version instead of the default one.

 I am only interested in 2 things, have sendmail use
 'fbsdjones.com' as the local domain and tell sendmail not to
 do reverse DNS lookups.

 I have /etc/rc.conf  hostname='gateway.fbsdjones.com'   for the
 gateway/firewall/sendmail PC which is the doorway to my private Lan.

Add the following to gateway.fbsdjones.com.mc:

FEATURE(`masquerade_envelope')dnl
MASQUERADE_AS(`fbsdjones.com')dnl

Then run 'make' from /etc/mail and your internal hostnames should never
appear on outgoing mail.
(Reference:  http://www.sendmail.org/m4/masquerading.html )

--
Matt Emmerton

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


Re: Install gettext-0.12.1 and gettext-0.13 simultaneously?

2004-01-24 Thread Joe Marcus Clarke
On Sat, 2004-01-24 at 10:46, Richard Bejtlich wrote:
 Hello,
 
 I have a question on resolving port dependencies.
 
 I have several tools installed which depend on
 gettext-0.13:
 
 ORBit-0.5.17_1
 bison-1.75_1
 ethereal-0.10.0a_1
 fvwm-themes-0.6.1_1
 gmake-3.80_1
 gtk-1.2.10_10
 mozilla-1.6_1,2
 openoffice-1.1.0_1
 popt-1.6.4_1
 rpm-3.0.6_8
 wget-1.8.2_5

Actually, none of these should depend on gettext-0.13.  There were some
HEADS UP emails sent to questions@, ports@, and gnome@ regarding this
update.  As well, a post was done to bsdforums.org:

http://www.bsdforums.org/forums/showthread.php?threadid=18154

That should help you with the upgrade.  I recommend removing gettext,
and installing gettext-old for the time being.

Joe

 
 I am trying to install /usr/ports/net/wistumbler2 but
 it needs gettext-0.12.1:
 
 ===  Installing for gettext-0.12.1
 
 ===  gettext-0.12.1 conflicts with installed
 package(s): 
   gettext-0.13
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/devel/gettext-old.
 *** Error code 1
 
 Stop in /usr/ports/devel/glib20.
 *** Error code 1
 
 Stop in /usr/ports/net/wistumbler2.
 
 I've encountered the same with
 /usr/ports/games/freeciv-gtk2. 
 
 How do I deal with this conflict?  Do I tell one of
 the ports to install elsewhere?  If so, how, and how
 do I let ports with dependencies know where to look?
 
 Thank you,
 
 Richard
 http://www.taosecurity.com
 
 Ref:
 orr# uname -a
 FreeBSD orr.taosecurity.com 5.2-RELEASE FreeBSD
 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  i386
 orr# ls -al /usr/ports/INDEX*
 -rw-r--r--  1 root  wheel  4539444 Jan 21 13:14
 /usr/ports/INDEX
 -rw-r--r--  1 root  wheel  4726008 Jan 23 23:07
 /usr/ports/INDEX-5
 -rw-r--r--  1 root  wheel  9904128 Jan 23 23:07 /usr/ports/INDEX.db
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free web site building tool. Try it!
 http://webhosting.yahoo.com/ps/sb/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Mounting free space

2004-01-24 Thread Robert Fitzpatrick
On FreeBSD 5.2 I have a RAID-5 host drive with 100GB of free space. What
can I use to mount this free space? I tried the Disk Label Editor in
/stand/sysinstall, but it does not seem to hold my settings when
creating and the existing mount points show up as none.

Can someone give me some guidance on doing this?

Thank you.
-- 
Robert

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


FreeBSD AMD64 malloc(), mmap()

2004-01-24 Thread descarte

Hi. I can't find a direct answer for these two linked questions, hence
the query to this email address.

We're looking into FreeBSD running on Athlon64 processors to give us the
ability to handle seriously huge datasets. We did buy a G5 machine, but
their implementation of BSD seems still only able to malloc() up to a
4Gb process limit which is hardly what their advertising says!

Therefore, does the AMD64 FreeBSD port allow you to malloc() or mmap()
past this 4Gb per process limit. We're typically wanting to address up
to 256Gb in a single process.

Thanks in advance for any light you can shed on this.

Regards,

A.


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


Re: Why BSD?

2004-01-24 Thread Jeff Elkins
On Friday 23 January 2004 11:40 pm, Jeff Elkins wrote:
This is not a troll.

I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels,
updating ports, etc,etc. Thus far, other than some minor hassles, it's
equivilent to my Debian sid.

I have to ask: Why FreeBSD rather than Linux?

Honest question.

Thanks for the answers and links!

Jeff





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


Re: apm device not configured ?!

2004-01-24 Thread pbdlists
Julian,

Did you try to add the following line to your /boot/kernel.conf file?

en apm

and make sure the file ends with a q all by itself on a line.

Unfortunately I have quite some issues with either apm or acpi on my
Dell laptop as well when installing FBSD 5.2; it stops during boot when
a battery is connected and ACPI not disabled. It crashes on resume and
my 3Com PCMCIA ethernet card stops working sometimes, needing an
ifconfig down; ifconfig up. Maybe the PC-card problem is not apm/ACPI
related?

On Sat, Jan 24, 2004 at 04:27:53PM +, Julian Holley wrote:
 Hi all - I'm still having problems persuading my laptop to work with apm
 - apparently my machine should work on 4.9 - I have re-compiled with apm
 enabled, set rc.conf to enable apm etc, but apmd, apm will not operate
 and gives the message :-
 
 apm device not configured, although /dev/apm does exist !?
 
 what do I have to do to configure apm ? on bsd 4.9 
 what is the difference between apm and apm0 ?
 
 IBM TP 390x 2626FOG on FreeBSD4.9
 
 any help much appreciated, J
 
 incidently on 5.2 apm appears, and loads, but alas crashes on resume :(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing from ISO images

2004-01-24 Thread pbdlists
Sure,

On a separate machine setup an ftp server, create a directories named
4.9-RELEASE and 5.2-RELEASE right where you will be placed when
connecting with ftp. Then mount the iso image as follows (4.x syntax):

vnconfig -e /dev/vn0 4.9-image.iso
vnconfig -e /dev/vn1 5.2-image.iso
mount -t cd9660 -o ro /dev/vn0 4.9-RELEASE
mount -t cd9660 -o ro /dev/vn1 5.2-RELEASE

Now you can boot from a floppy and select ftp for the installation.

On Sat, Jan 24, 2004 at 01:16:14PM -0500, Chip Morton wrote:
 Is there a way for me to install FreeBSD from CD images that I have 
 downloaded without burning them to CD?  Can I boot from a floppy and then 
 mount the images like a CD?  I'm installing versions 4.9 and 5.2.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is anyone running Gnomad on FreeBSD 5.2?

2004-01-24 Thread scott renna
I was wondering if any of you out there were running
Gnomad for the Nomad Zen on 5.2.

If anyone is, please let me know.  I've been talking
with the developer and trying to work through issues
with it, but have met with little success.

scott

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New freebsd user here

2004-01-24 Thread Ken Deeter


Just a quick check. Make sure you do a 

#include iostream

and

using namespace std;

symbols like cout and endl are in the std namespace, so if you don't
have the above statement, you have to say something like

std::cout  hello world  std::endl;

-Ken

On Mon, 19 Jan 2004 09:50:02 -0500
Bill Moran [EMAIL PROTECTED] wrote:

 [redirected to questions@, which is more appropriate for this kind of
 question]
 
 Hugh Krogh-Freeman wrote:
  Hello everyone. I just installed Free BSD 5.1 on my computer. I know
  C++ and
   C, but I am not able to get C++ to compile yet because it doesn't
   recognize cout and endl (I wrote a simple hello world program). I
   assume it's because I am not including the right library.
 
 That's the only reason I can think of.  C++ programs have compiled
 just fine any time I've tried them.  Without the snippit of code,
 however, it's hard to say for sure.
 
  Do I need to login as a root everytime
   I want to shutdown?
 
 If you use KDE or Gnome as a window manager, they provide shutdown
 buttons. Also, by default, CTL+ALT+DELETE is mapped to a controlled
 (safe) shutdown(meaning it properly halts the OS before rebooting)  If
 neither of those methods are acceptable, you will have to be root, or
 someone with sudo rights to shutdown (if you've installed sudo).
 
  Also, I have windows and bsd on the same machine. Can
   anyone tell me a way of reinstalling just one of them in case I
   need to, rather than both of them? Thanks a million
 
 Just reinstall the one you want.  If it's Windows, you'll need to
 reinstall the FreeBSD boot manager after you've reinstalled Windows
 (because Windows rebuilds your boot loader to its liking, without
 asking you).  Just make sure you use the correct partitions, etc.  I
 would definately back up everything before reinstalling either OS.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 
 ___
 [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: NIS problems solved

2004-01-24 Thread Scott Mitchell
On Sat, Jan 24, 2004 at 04:07:51PM -0600, kitsune wrote:
 
 Found my problem... a pwd_mkdb is required... but not mentioned in the
 hand book...

The handbook section dealing with setting up NIS clients tells you to use
'vipw' to edit master.passwd, which will make sure that a pwd_mkdb is done.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail + sasl SOLVED

2004-01-24 Thread Robert Huff

Robert Huff writes:

My stupid, all better now.
Gilda Radner voice Never mind.


Robert Huff


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


Re: Why BSD?

2004-01-24 Thread Jason M. Leonard

On Sat, 24 Jan 2004, Jesse Guardiani wrote:

 Jeff Elkins wrote:

  This is not a troll.
 
  I've installed FreeBSD 5.2 on a spare SCSI drive and am compiling kernels,
  updating ports, etc,etc. Thus far, other than some minor hassles, it's
  equivilent to my Debian sid.
 
  I have to ask: Why FreeBSD rather than Linux?
 
  Honest question.

 For me, this question has been answered twice in different attempts to give
 linux a try. I'm a Sys Admin, and we run FreeBSD almost exclusively at work.
 However, every new employee we hire walks into the building with an attitude
 that Linux is somehow better than FreeBSD because they're heard so much about
 it and haven't heard anything about FreeBSD. So, on two separate occasions, I
 decided to give linux a try. Both ended miserably:

*snip*

 Occasion 2.) Got sick of Win 98 SE on my wife's computer, so I decided to give
  Linux a second chance.

  This time I WANTED to go with Red Hat, since it's arguably the most popular
  Linux distro. However, one look at their new licensing made me change
  my mind in favor of Gentoo - The most BSD-like Linux distro.

  Maybe I was doing something wrong, but I couldn't find an automated
  install process. I had to read a text file and copy and paste install
  commands by HAND to get Gentoo installed. This was painful and tedious.
  It took probably 4 hours to install. Their motto is freedom of choice
  or something similar. Well where is my freedom to choose a quick install???

  Pros: Very nice BSD-like portage system. Top notch.

  Cons: Terrible install process. Took forever.

A couple of weeks ago I acquired a 4x50 slot Overland Neo tape library for
the purpose of backing up several 1T volumes that live on FreeBSD file
servers.  Unfortunately I could not find backup server software for
FreeBSD that would allow me to back up volumes that span multiple tapes.

I had had good luck with BRU back in my UUNET days, so I decided to give
their BRU-Pro software, which offers a FreeBSD client, a whirl.  The
server software only runs on Linux, but I really needed to get these
backups done and so I said to myself one Linux box won't be so bad.

I, too, had heard of the BSD-like Gentoo and decided to start there.
After over three painful hours of installtion my machine just hung
following a reboot.  Joy.  It was about 5am.  I downloaded the next Linux
distro I could find ISOs for--Mandrake 9.2.

Much to my surprise the Mandrake install was quick and painless.  Woot!  I
thought I was home free.

But then I read this on the BRU-Pro site:

Requirements: Linux system Running kernel 2.2.19 - 2.2.25 or 2.4.23

Hmm, I was running 2.4.22.  Maybe that was close enough?

If you choose to use a 2.4 kernel older than 2.4.23 or the updated RH
2.4.9-34, you're literally gambling with your data!

These are the ONLY kernel revisions we support.

I guess not.

And lo, I began to learn about upgrading the Linux kernel.  For about half
an hour, then I decided this was taking up way too much of my life and
decided to go the RPM route.  Except--DUN DUNH--there is no 2.4.23 RPM
kernel upgrade for Mandrake because apparently they are having some sort
of issue with it.

GREAT!

So then I read this:

If you are having issues with BRU-Pro on your system, we recommend Red
Hat 6.2 with the 2.2.19 kernel, Mandrake 7.2 w/2.2.19, Mandrake 8.0, or
Caldera 2.4 as the best version of Linux.

Red Hat, 6.2, eh?  Yes, fine, at this point I'll try anything.  I
download.  I burn ISOs.  The installer crashes halfway through the
install, not surprising considering my box is a dual Xeon with 2G RAM.

Hours pass, I will spare the details, but after trying to match up several
different distros of Linux to this chart:

Linux users running BRU-Pro 2.0 under a 2.4.x kernel need to be aware of
SCSI subsystem issues in the various 2.4.x kernels. We have run tests and
researched all 2.4.x kernels through 2.4.20 and have discovered the
following: (GREEN = good, RED = bad).

* 2.4.2-2 Shipped with Red Hat 7.1 - Stable
* 2.4.2 Stock - Issues with SCSI Generic under Adaptec and Symbios
chipsets
* 2.4.3 Stock - Stable
* 2.4.4/5/6 Stock - __alloc errors on SCSI I/O
* 2.4.6-2 Shipped in Red Hat 7.2 BETA - Stable
* 2.4.7 Stock - Stable
* 2.4.8/9/10/11 Stock - Issues with busfree and __alloc errors
* 2.4.9-34 Red Hat - Stable (Most stable kernel for Red Hat 7.2)
(***USE THIS KERNEL***)
* 2.4.12/13/14 Stock - Stable, but ENOSPACE bug
* 2.4.18-3 Red Hat - Stock kernel for 7.3 - UPGRADE THIS! Lots of SG
errors
* 2.4.18-10 Red Hat - Stable (Latest Kernel for 7.3), ENOSPACE bug and
problems with the 3c59x driver
* 2.4.19 Stock - Bad, ENOSPACE bug and problems with the 3c59x driver
* 2.4.20-19.9 - Bad, ENOSPACE bug back again.
* 2.4.20 plus st patch - Stable, ENOSPACE bug fixed

I finally wound up back with Mandrake 9.2 running a 2.4.24 experimental
kernel that seems to do the trick.  Sort of.  The whole thing is rather
cranky 

Re: Problem With Configuring Name Servers

2004-01-24 Thread Dinesh Nair

On Sat, 24 Jan 2004, Gerard Seibert wrote:


 Everything, including nslookup, etc works fine until I reboot. Then the
 files are over written. The resolv.conf file then has the following
 entries:

the files are overwritten with values provided by you dhcp server. you can
refuse a subset of those values by specifiying directives in
dhclient.conf(5).

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  |
+=+

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


Re: apm device not configured ?!

2004-01-24 Thread Dinesh Nair

On Sat, 24 Jan 2004, Julian Holley wrote:

 Hi all - I'm still having problems persuading my laptop to work with apm
 - apparently my machine should work on 4.9 - I have re-compiled with apm
 enabled, set rc.conf to enable apm etc, but apmd, apm will not operate
 and gives the message :-

when booting, do you see a message like the one below:
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2

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  |
+=+

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


Re: /dev/dsp: Device busy

2004-01-24 Thread Dorin H.

--- Geert Hendrickx [EMAIL PROTECTED] wrote:
 Hello, 
 
 I have a problem playing sounds in FreeBSD. 
 Sometimes it works, sometimes it 
 doesn't, and then I get the following error message:
 
 
 /dev/dsp: Device busy
 
 but lsof | grep dsp yields nothing.  
 
 Can anyone help me with this mystery?  :-)
 
 Thanks in advance, 
 
 GH
 

Same here. Toshiba laptop. FBSD 4.9. KDE 3.1.4.  
/dev/dsp is from time to time hold by artsd.

  Problem is, it is hold even when nothing is played.
fstat /dev/dsp shows the problem.
If anyone find a solution, pls. let me know.
TIA,
/Dorin.


 -- 
 powered by FreeBSD/Postfix/KMail
 
 ___
 [EMAIL PROTECTED] mailing list

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

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why BSD?

2004-01-24 Thread Lucas Holt
BSD is arguably more popular.  Mac OS X uses BSD code for portions of 
the kernel and the userland.  10.3 uses FreeBSD 5.0 code, and previous 
releases used FreeBSD 3.2 or NetBSD code.  SInce Apple is the number 
one supplier of *NIX, i'd say that is a good reason.  Apple has shipped 
more OS X units than all the linux distros.

The other question on my mind is the future of Linux.  The GNU would 
prefer everyone to switch to GNU HURD which is a Mach kernel style 
operating system.  The remaining momentum for Linux is large companies 
that got on the bandwagon late like IBM, and Sun.  Personally, I never 
think of IBM as a trend setter.  If they were, everyone would be using 
OS/2 right now.  (my OS/2 box is really dusty!)

Also, there are two groups of distros of linux.. the large ones that 
only care about $$$ and the small indepenants that have terrible 
installers, limited support, and weak compatibility.  Software for 
linux is tested on redhat, suse, or debian.  If you don't run the $$$ 
distros, good luck.

On the BSD end, i can count the distros practically on one hand.
large projects: FreeBSD, NetBSD
medium: OpenBSD, OpenDarwin
small: DragonFly, ClosedBSD, PicoBSD
the last two are actually freebsd derivatives used for specific 
purposes.

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
'Re-implementing what I designed in 1979 is not interesting to me 
personally. For kids who are 20 years younger than me, Linux is a great 
way to cut your teeth. It's a cultural phenomenon and a business 
phenomenon. Mac OS X is a rock-solid system that's beautifully 
designed. I much prefer it to Linux.'
-- Bill Joy, Wired Article 2003

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


Re: /dev/dsp: Device busy

2004-01-24 Thread George Vagner
if your dual booting i found you must turn off power before you boot into
bsd
something with windows on a restart dont fully reset the soundcard on
mine.
toshiba satellite S2805-401 P3 700 with yamaha 741 soundcard.

- Original Message - 
From: Dorin H. [EMAIL PROTECTED]
To: Geert Hendrickx [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 8:19 PM
Subject: Re: /dev/dsp: Device busy



 --- Geert Hendrickx [EMAIL PROTECTED] wrote:
  Hello,
 
  I have a problem playing sounds in FreeBSD.
  Sometimes it works, sometimes it
  doesn't, and then I get the following error message:
 
 
  /dev/dsp: Device busy
 
  but lsof | grep dsp yields nothing.
 
  Can anyone help me with this mystery?  :-)
 
  Thanks in advance,
 
  GH
 

 Same here. Toshiba laptop. FBSD 4.9. KDE 3.1.4.
 /dev/dsp is from time to time hold by artsd.

   Problem is, it is hold even when nothing is played.
 fstat /dev/dsp shows the problem.
 If anyone find a solution, pls. let me know.
 TIA,
 /Dorin.


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

 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free web site building tool. Try it!
 http://webhosting.yahoo.com/ps/sb/
 ___
 [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]


NAT

2004-01-24 Thread Stanley Chan
Dear All,

I am building my NAT and  firewall using FreeBSD 4.9. Can anyone tell me
how to configure the Address Redirection. which file should I use.The
explanation on the handbook is not so clear.

Also, if  I have built up the NAT , can I use my external IPs because I
need to build another web server and mail server behind the NAT machine.

Thanks

Stanley

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


SlickEdit for Linux

2004-01-24 Thread Erick Smith
I've been trying to get SlickEdit V8 for Linux to work under FreeBSD.  Has 
anyone gotten this to work?

My problem has to do with the shells for Linux (I think)

Whenever I send a message to the shell through VS, including the compile 
command, the shell appears to do a ls, and then VS is kinda locked up because 
the shell doesn't return right.

I've spoken with customer service a few times, and although they've been 
helpful, nothing has fixed the problem.

I had SlickEdit V7 working fine, with use of a macro file (os2cmds.e) sent to 
me by the SlickEdit people, but this doesn't seem to work for V8.

Thanks,

Erick

I'm using FreeBSD 5.1
Linux V8
SlickEdit V8

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


Re: /dev/dsp: Device busy

2004-01-24 Thread Jeff Elkins
On Saturday 24 January 2004 8:19 pm, Dorin H. wrote:
--- Geert Hendrickx [EMAIL PROTECTED] wrote:
 Hello,

 I have a problem playing sounds in FreeBSD.
 Sometimes it works, sometimes it
 doesn't, and then I get the following error message:


 /dev/dsp: Device busy

 but lsof | grep dsp yields nothing.

 Can anyone help me with this mystery?  :-)

 Thanks in advance,

 GH

Same here. Toshiba laptop. FBSD 4.9. KDE 3.1.4.
/dev/dsp is from time to time hold by artsd.

  Problem is, it is hold even when nothing is played.
fstat /dev/dsp shows the problem.
If anyone find a solution, pls. let me know.
TIA,
/Dorin.

While it's not a real solution, I told KDE not to start arts. Most of the 
sound apps I use are non-KDE, so thus far, I don't miss it.

Oddly enough, this isn't a problem with debian. I'm too new to bsd to have 
figured out why one OS works and one doesn't.

Jeff

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


Re: FreeBSD AMD64 malloc(), mmap()

2004-01-24 Thread Kris Kennaway
On Sat, Jan 24, 2004 at 11:35:20PM +, [EMAIL PROTECTED] wrote:
 
 Hi. I can't find a direct answer for these two linked questions, hence
 the query to this email address.
 
 We're looking into FreeBSD running on Athlon64 processors to give us the
 ability to handle seriously huge datasets. We did buy a G5 machine, but
 their implementation of BSD seems still only able to malloc() up to a
 4Gb process limit which is hardly what their advertising says!
 
 Therefore, does the AMD64 FreeBSD port allow you to malloc() or mmap()
 past this 4Gb per process limit. We're typically wanting to address up
 to 256Gb in a single process.
 
 Thanks in advance for any light you can shed on this.

I believe the answer is 'yes', but you should ask on the freebsd-amd64
mailing list.

Kris


pgp0.pgp
Description: PGP signature


Problem with pcn ethernet driver

2004-01-24 Thread Aaron Burghardt
I have an older HP Kayak XU workstation that I cannot get the ethernet  
working on. I have tried FreeBSD 4.9, 5.1, and 5.2. The device is 
recognized and configured under ifconfig, I can bring the interface up 
and down, change media options, etc. But, I don't get any 
communications over the interface. The dhcp client fails to get an 
address from the server and pinging reports the host is down. I have 
tried forcing it to 100BT and both full-duplex and half-duplex, with no 
luck.

Everything works fine under Windows 2000. The card is identified in 
Windows as an HP ethernet with LAN remote power adapter. Looking at 
the controller chip on the card, it is labeled AM 79C971KC, 
PCnet/FAST+.

Any suggestions on how to make this work or how to get more diagnostic 
info?

Thanks,

Aaron Burghardt

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


Re: Adaptec 2400A Performance

2004-01-24 Thread Rishi Chopra
Just wanted to make sure I wasn't skipping any obvious steps.

One other (slightly lamer) question: if my device configures as da0, is 
that scsi or ide?

The reason I ask is I wish to write a custom kernel, and would like to 
eliminate all unnecessary configurations/devices.

Charles Swiger wrote:

On Jan 24, 2004, at 12:51 AM, Rishi Chopra wrote:

I was rather disappointed with the results.  Can anyone suggest what 
might be causing such slow disk speeds, or whether these speeds are 
out of the ordinary for a 4-disk FreeBSD RAID5 installation?  I have 
done nothing to configure the card aside from striping the array in 
BIOS; FreeBSD seems to automatically detect the disks.


For us to be able to comment beyond generalizations, it's necessary to 
also benchmark how a single disk performs.  I can still answer your 
question, though:

RAID-5 is slow.  RAID-5 trades availability against performance and 
hardware costs.  With RAID-0, n drives gives n drives' worth of usable 
space.  With RAID-5, n drives gives n-1 drives' worth of usable space.  
The performance is between RAID-0 and RAID-1 is comparible for large 
accesses.  For small accesses, particularly small writes, RAID-5 
performance is much worse than plain RAID-0 or a plain disk.

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


htdig and mailman 2.1.4

2004-01-24 Thread T Kellers
Can anyone point me to a doc or resource that will help explain setting up 
mailman with htdig?  I already have it built and installed, but htdig's 
documentation regarding mailman (and vice versa) is hard to find.

Tim Kellers
CPE/NJIT

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


Re: Adaptec 2400A Performance

2004-01-24 Thread Dan Nelson
In the last episode (Jan 23), Rishi Chopra said:
 I've run some imperical tests on the Adaptec 2400A raid controller
 (results and setup can be seen here):
 
 http://www.ocf.berkeley.edu/~rchopra/RaidResults.html
 
 I was rather disappointed with the results.  Can anyone suggest what
 might be causing such slow disk speeds, or whether these speeds are
 out of the ordinary for a 4-disk FreeBSD RAID5 installation?  I have
 done nothing to configure the card aside from striping the array in
 BIOS; FreeBSD seems to automatically detect the disks.
 
 I once ran a 2-disk RAID-0 installation on Win2k which was 6-7 times
 faster on sequential read/write tests (60-70MB/sec), hence my dismay.

RAID-5 has to do 4 I/Os for every write, which would explain the bad
write performance, but I can't explain your read performance.  It's not
strictly comparable, but a Raid-5 4x73gb SCSI setup using an Adaptec
3200S (128MB cache), which looks like it uses the same RAID engine and
firmware as your 2400A, averages 18MB/sec writes and 50MB/sec reads. 
Your card configured with a RAID 0 volume should equal your w2k speeds.
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


help O_o

2004-01-24 Thread zzerver
I was securiting my Box ,,,and then i used to have alex on wheel group so i su to 
root, but i modify and change su to antother group and then i ,,, chmod o-xr /bin/su 
and chmod g-xy /bin/su ...no now i cannot login ..from my terminal or from my boz, i 
dont hace root enabled mark as insecure, soo ...if i try su from alex ...no more, and 
if i try loging from machine keyboard no permit from root! ...so plz helpme log ing as 
root? ...i mess up my box and am crying ...no logging  from terminal or from sisical 
been there ion machine keyboard, can you help
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Spam Assassin?

2004-01-24 Thread Eric F Crist
Where is the Spam Assassin port?  The only thing I can find is spamass-milter 
which just USES Spam Assassin.

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


lpt0 blocking i/o causes ghostscript to hang system

2004-01-24 Thread Peter C. Lai
Hi. I have this peculiar issue with printing to lpt0 with ghostscript-gnu 7.05.

I'm running stock lpd(1) with a handwritten input filter. If I am printing a 
huge file (such that the printer can't buffer all of the document at once and I
am spooling to the printer as the printer is printing), and the printer starts 
blocking i/o (due to paper jam/paper out/etc), the ghostscript hangs the system
until I unblock the parport (by remedying the condition, or hitting the retry
button  on the printer). It appears that ghostscript attempting to pipe its
output trips interupts to the point that all of the cpu is taken up and the
system will stop responding until the printer unblocks lpt0.

My input filter is:

#!/bin/sh 
exec 31 12
GS=/usr/local/bin/gs
GS_FONTPATH=/usr/local/share/ghostscript/fonts:\ 
/usr/local/share/ghostscript/7.05/lib
export GS GS_FONTPATH
$GS -q -dNOPAUSE -dSAFER -sDEVICE=ljet4 -sOutputFile=/dev/fd/3 -  exit 0
exit 2

Now, if I don't use gs, and just use cat(1) as my passthrough filter like this:

#!/bin/sh
exec 31 12
/bin/cat 13  exit 0
exit 2

When i/o on lpt0 is blocking in this case, cat(1) will quietly sit there until 
such time that lpt0 can be written to again. I believe this is because cat(1)
buffers its output. 

Right now my solution is to have ghostscript's -sOutputFile=\|/usr/bin/lpr -h \
-Pbuffer where a printcap(5) entry for the buffer printer's device is lpt0
and has an input filter that uses cat(1) (just like above). Here, gs will
output the processed job to a buffer spool before any i/o is outbound to lpt0.

Any of you run into this problem at all? It was seriously bugging me until I
devised the 2 spooler system above, which adds stability to the system but
feels too hackish for me. Whereas my print server is no longer hanging because
someone is too lazy to put paper in it, the solution breaks my in-house web
based job control system.

The main culprit is gs not buffering its output; but lpd could also use a hand 
in printer not-ready detection.

-- 
Peter C. Lai
University of Connecticut
Dept. of Molecular and Cell Biology
Yale University School of Medicine
SenseLab | Research Assistant
http://cowbert.2y.net/

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


Re: Adaptec 2400A Performance

2004-01-24 Thread Chris Pressey
On Sat, 24 Jan 2004 19:48:15 -0800
Rishi Chopra [EMAIL PROTECTED] wrote:

 One other (slightly lamer) question: if my device configures as da0, is 
 that scsi or ide?

SCSI.  IDE would be ad0.

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


Re: NAT

2004-01-24 Thread Deling Ren
It depends on what you are using, ipf or ipfw?

On Sun, 25 Jan 2004, Stanley Chan wrote:

 Dear All,

 I am building my NAT and  firewall using FreeBSD 4.9. Can anyone tell me
 how to configure the Address Redirection. which file should I use.The
 explanation on the handbook is not so clear.

 Also, if  I have built up the NAT , can I use my external IPs because I
 need to build another web server and mail server behind the NAT machine.

 Thanks

 Stanley

 ___
 [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: Spam Assassin?

2004-01-24 Thread Scott Pepperdine
Newbie here, so I could be wrong, but try looking at
/usr/ports/mail/p5-mail-SpamAssassin
There's also a p5-mail-SpamAssassin-snapshot.  Don't know what that is.



- Original Message - 
From: Eric F Crist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 24, 2004 9:51 PM
Subject: Spam Assassin?


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


  1   2   >