Re: How to create .iso file image of cdrom (atapi)?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Wed, 7 Jan 2004 01:10:45 + (GMT)
Francisco Reyes <[EMAIL PROTECTED]> probably wrote:

> On Wed, 7 Jan 2004, Sergey 'DoubleF' Zaharchenko wrote:
> 
> > On Tue, 6 Jan 2004 22:42:35 + (GMT)
> > Francisco <[EMAIL PROTECTED]> probably wrote:
> >
> > > On Mon, 5 Jan 2004, W. Sierke wrote:
> > >
> > > > Is there a straightforward way of creating a file image (.iso) of a data
> > > > cdrom mounted in an atapi cd-rom drive?
> > >
> > > I use a port called mkisofs.
> > > mkisofs -R -l -J -o  .
> >
> > He means getting the .iso from the cdrom, not putting it there. So the
> > previous postings are more `on topic', though this one should still be
> > interesting to the OP.
> 
> I though  understood the question. Wouldn't making the image with mkisofs
> be what he is looking for? He said a data CD.. so IF.. and that is the issue, he
> can mount it he may be able to use mkisofs to make an ISO of the data.

Ah, I see, first mount the cdrom, then make an iso from its filesystem -
then that's OK, but is seems a little of an overkill, as the cdrom
already `contains' the iso. If created your way, the image will not
be completely identical to the one on the cd (for example, the boot
sectors, if any, will be missing). 

> Maybe I am not really understanding the question...
> 


-- 
DoubleF
A very intelligent turtle
Found programming UNIX a hurdle
The system, you see,
Ran as slow as did he,
And that's not saying much for the turtle.


pgp0.pgp
Description: PGP signature


Re: switching from sendmail to postfix

2004-01-06 Thread Gilad Rom
Markus Espenhain wrote:
Hello all,

IÅm running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and active.

I would use postfix as my MTA.
How should I switch to postfix at best?
Has someone a suggestion?

Thank you!

Greetings from Stuttgart, Germany

Markus

Check out www.postfix.org, and http://www.freebsddiary.org/postfix.php.
Also, make sure you read through 
http://www.securitysage.com/guides/postfix_uce.html, as it contains
valueable information about spam and virus filtering.

What I'm using here is 4.9-STABLE, Running Postfix+amavisd+clamav.
All installed through the ports collection, Rock solid.
Gilad.

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


Re: How to create .iso file image of cdrom (atapi)?

2004-01-06 Thread Francisco Reyes
On Wed, 7 Jan 2004, Sergey 'DoubleF' Zaharchenko wrote:

> On Tue, 6 Jan 2004 22:42:35 + (GMT)
> Francisco <[EMAIL PROTECTED]> probably wrote:
>
> > On Mon, 5 Jan 2004, W. Sierke wrote:
> >
> > > Is there a straightforward way of creating a file image (.iso) of a data
> > > cdrom mounted in an atapi cd-rom drive?
> >
> > I use a port called mkisofs.
> > mkisofs -R -l -J -o  .
>
> He means getting the .iso from the cdrom, not putting it there. So the
> previous postings are more `on topic', though this one should still be
> interesting to the OP.

I though  understood the question. Wouldn't making the image with mkisofs
be what he is looking for? He said a data CD.. so IF.. and that is the issue, he
can mount it he may be able to use mkisofs to make an ISO of the data.

Maybe I am not really understanding the question...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd 5.2 rc2 and grip issues

2004-01-06 Thread Andrew Thomson

I also just recompiled with atapicam et al..

Now I can do the following:

cdda2wav -D 1,0,0 -B
Type: ROM, Vendor 'LG  ' Model 'CD-ROM CRD-8400B' Revision '1.04'
MMC+CDDA
266240 bytes buffer memory requested, 4 buffers, 27 sectors

Which works.. however it is terribly slow compared to when I could just
hook up to /dev/acd0

ajt.

On Wed, 2004-01-07 at 14:57, Andrew Thomson wrote:
> Also just tried what was in the handbook:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-mp3.html
> 
> cdda2wav -D /dev/acd0
> cdda2wav: Invalid argument. Open by 'devname' not supported on this OS.
> Cannot open SCSI driver.
> open(/dev/acd0) in file interface.c, line 532
> 
> On Wed, 2004-01-07 at 14:04, Andrew Thomson wrote:
> > Historically grip has always worked quite well for me..
> > 
> > However just trying to use it on my 5.2 box and it's not working too
> > well.
> > 
> > Basically it rips the cd in about 5 seconds, and then encodes some mini
> > me mp3's. If I ask grip just to rip the CD, then it takes about the same
> > time but no wav's are generated.
> > 
> > Example:
> > 
> > -rw-r--r--  1 ajt  users  128 Jan  7 13:47 Massive Attack -
> > Protection.mp3
> > 
> > And some more information about my setup:
> > 
> > uid=1001(ajt) gid=1001(users) groups=1001(users), 0(wheel), 5(operator)
> > 
> > crw-rw  1 root  operator4,  12 Jan  7 12:36 acd0
> > crw-rw  1 root  operator4,  13 Jan  7 12:36 acd1
> > 
> > I tried changed the permissions on the operator group to rw instead of
> > the default r.. just in case..
> > 
> > acd0: CDROM  at ata1-master PIO4
> > acd1: CDRW  at ata1-slave PIO4
> > 
> > I've tried both my cd drives and they both do the same thing...
> > Currently grip is configured to use the specific cdrom device. I have
> > also tried using a cdrom symlink in dev and pointing to that..
> > 
> > grip-3.1.4
> > 
> > 5.2-RC FreeBSD 5.2-RC #0: Wed Dec 31 09:14:18 EST 2003
> > 
> > I'm just not sure what's wrong here..
> > 
> > Anyone using grip on a 5.2RC2 box??
> > 
> > Thanks,
> > 
> > ajt.
> > 
> > 
> > ___
> > [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]"
> 


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


Re: Opera7 won't install from ports collection

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 06 Jan 2004 22:14:30 -0500
Jud <[EMAIL PROTECTED]> probably wrote:

> If you do want to update ports at some point and have FTP access you can  
> download the full ports tarball from  ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz>.
> 

Or use CTM by ftp:
go to ,
download the latest `Empty' delta, download all deltas after it,
put them in /var/somewhere,
cd /usr/ports,
remove everything,
run

$ ctm /var/somewhere/*

maybe delete the deltas you downloaded, and whenever you want to update
your ports, download the next set of deltas, starting from the first one
you didn't download (/usr/ports/.ctm_status will tell you the last
applied delta) without the empty ones, of course, and re-run ctm.

This just saves you download time, as you don't have to download the
same unmodified files friom the collection, you just get the
differences.

This has a drawback of if you have fsck'd up your ports tree, you won't
be able to restore it unless you store all the deltas.

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


-- 
DoubleF
Nostalgia isn't what it used to be.


pgp0.pgp
Description: PGP signature


Re: How to create .iso file image of cdrom (atapi)?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 22:42:35 + (GMT)
Francisco <[EMAIL PROTECTED]> probably wrote:

> On Mon, 5 Jan 2004, W. Sierke wrote:
> 
> > Is there a straightforward way of creating a file image (.iso) of a data
> > cdrom mounted in an atapi cd-rom drive?
> 
> I use a port called mkisofs.
> mkisofs -R -l -J -o  .

He means getting the .iso from the cdrom, not putting it there. So the
previous postings are more `on topic', though this one should still be
interesting to the OP.

> So you would mount the CD and then CD into it.

:)

> To later burn to another CD I use
> burncd -f /dev/acd0c -s 10 data $1 fixate
> 
> Where 10 is the speed of my burner, but you should set it to the max speed
> of yours.. which if your CD burner is recent is probably faster than 10.
> :-)
> 
> Hope that helps.
> 
> As far as I knowh though this approach will not work to copy a bootable
> CD. The ISO image will be created and the content will be there, but the
> new CD will not be bootable.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
DoubleF
Oh, I am a C programmer and I'm okay
I muck with indices and structs all day
And when it works, I shout hoo-ray
Oh, I am a C programmer and I'm okay


pgp0.pgp
Description: PGP signature


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 11:39:57 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > I think you already have a copy (the data at offset 32 seems to be it).
> > If you want, do a
> > 
> > # dd if=/dev/ad6s1 skip=16 count=16 of=/some/file
> 
> ok, done. Is there a way to use fsck_ufs -b now to fix this? Or is that
> premature? And if I remember correctly, that doesn't actually APPLY the
> alternate superblock... it just allows fsck to run while utilizing an
> alternate one. So we need to use some sort of dd command to copy it to the
> proper location, correct?
> 
> > Please tell me everything what you tried to use to mount/fsck the drive
> > (and the results, of course).
> 
> Well, my memory is sketchy so I don't know how much use it'd be. But I was
> saving a file to /data (ad6) when the system hung. Then it rebooted on its
> own. Of course fsck ran on bootup but it gave up and told me I had to run it
> manually. When I did (I don't remember any parameters I specifically used,
> if any) I got:
> 
> /dev/ad6s1c
> Cannot find file system superblock
> /dev/ad6s1c: NOT LABELED AS A BSD FILE SYSTEM
> 
> I remember there being some of the other common message for little things
> that you just tell it to go ahead and fix. But the above error was a brick
> wall and would keep me from going multi-user. Ultimately I had to
> comment-out the line in fstab:
> 
> #/dev/ad6s1c/data   ufs rw  2   2
> 
> So I could at least boot. And that's the way I've been ever since.
> 
> Trying to mount it now gives:
> 
> su-2.05b# mount -r /dev/ad6s1c /data
> mount: /dev/ad6s1c on /data: incorrect super block
> 
> And so we stand.
> 
> > Try booting from a 4.x floppy and doing it all over again... The FS is
> > UFS1, isn't it?
> 
> Ummm... doing what all over again?

I mean trying to mount it, to fsck it, using dd|hd to find the
superblock, etc. I just want to be *really* sure we know what
we are doing.

While we are on that, do you have an empty disk to copy this disk's
contents to? I'm not sure, but maybe I have an idea...

> Wipe the disk and redo the partitions? I
> hope we're not quite there yet. How does using 4.x give me an advantage over
> 5.1? I'm not clear on that part.

Simplicity.

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


-- 
DoubleF
Lackland's Laws:
(1) Never be first.
(2) Never be last.
(3) Never volunteer for anything


pgp0.pgp
Description: PGP signature


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 15:17:29 -0500 (EST)
Jerry McAllister <[EMAIL PROTECTED]> probably wrote:

> > 
> > --- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > > > (is disklabel/bsdlabel only meant to be run on slices and not 
> > > > bsd-partitions?). 
> > > 
> > > You have it backwards in this question.   Disklabel is meant to run
> > > only on bsd partitions and not slices.   Slices (1-4) are the major 
> > > divisions of the disk and partitions (a-h) are divisions within slices. 
> > > Fdisk is what creates slices.
> 
> First, as I look at what I wrote,  I said this wrong in two ways - because
> I didn't read carefully and had just come off a bad headache, probably
> caused by breathing spray paint fumes - always use in well ventilated
> area.  
> 
> The biggie!!  disklabel DOES work on slices and CREATES partitions.   
> It does not work on partitions - it creates them which is where my 
> sleepy [Groggy has already been claimed by a famous contributer] got 
> lost.   So, trying to run disklabel on ad0s1c would definitely cause 
> an error.
> 
> The other thing is, I should have left out the word 'only' (after writing
> the rest of it correctly, of course) because disklabel can, but usually 
> shouldn't, be run on the whole disk  ad0 (as apposed to just a slice ad0s1) 
> which will create a "dangerously dedicated" disk.  There is no real danger 
> as long as you only use FreeBSD on it and don't want to multi-boot it or 
> anything.  Since you only lose the tiny bit by slicing it (63 sectors), 
> you should just always first slice it (with fdisk) - even if that means 
> making it all one big slice.  That will make sure things are happy should 
> you get weird creative ideas later on.
> 
> > Ok, well the reason I thought it might be the other way is because if you
> > run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
> > is working, or /dev/ad0s1 on another machine I have access to) it works fine
> > (and reports an offset of 0),  but if you run it on the partition
> > (/dev/ad0s1c) you get an offset of 63 and errors like:
> 
> Yes, the offset in disklabel is from the beginning of the slice.  I am not 
> sure what it is trying to do if you try to further partition a partition.  
> Anyway, the 'c' partition is a special one that refers to the whole slice 
> regardless of the partitions it has been carved in to.

As for now, I have the impression that it's so in 4.x, but in 5.x it's
some kind kind of special. If in 4.x the adXsY and adXsYc nodes were
identical, it just isn't so in 5.x, and `bsdlabel' shows offsets from
beginning of th *physical disk*, not the slice (why?).

> I would have to 
> go wading through code to figure out how it is handled differently.  Just 
> for fun, try doing a disklabel on ad0s1a or something like that and see 
> what it does - on a disk you can afford to trash.
> 
> Anyway, sorry for the first round of mis-statement.
> 
> jerry
> 
> > 
> > partition c: partition extends past end of unit
> > bsdlabel: partition c doesn't start at 0!
> > bsdlabel: An incorrect partition c may cause problems for standard system
> > utilities
> > partition f: partition extends past end of unit
> > 
> > So why does disklabel/bsdlabel produce errors when run on the partition even
> > when the disk is fine, if it is meant to be run on partitions and not
> > slices?
> > 
> > Trying to learn... thanks!
> > ___
> > [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]"
> 


-- 
DoubleF
"He was a modest, good-humored boy.  It was Oxford that made him
insufferable."


pgp0.pgp
Description: PGP signature


Re: Commercial Distribution?

2004-01-06 Thread Cordula's Web
> Btw, I looked really carefully and couldn't find any FreeBSD-based
> commercial distro (if you don't count OS X). Am I just to stupid to find one
> or is this an idea whose time has not come yet?

A Linux distro vendor basically collects components from disparate
sources (kernel, gnu, libraries etc...) and assembles a OS. There is
no central entity which provides an integrated view of a Linux OS, so
there is a need for distro makers.

FreeBSD is different, because the complete OS is developed and
managed by the project, including ports. There is basically no
need for a distro maker, because FreeBSD _is_ the distro itself
(call it the _canonical_ distro, because nothing prevents you
from changing stuff and forking off a commercial version, let's
call it non-canonical "distro").

Any distro maker who wishes to fork off something from FreeBSD,
would be hard pressed to provide the same level of support as
the FreeBSD project itself. Any updates, security and bug fixes
etc. would have to be merged into the commercial distro (if it
wants to remain up-to-date), and this will by nature always
lag behind. It is usually not worth the trouble to maintain
a distribution besides FreeBSD. That is also the reason why
commercial vendors usually ship (nearly) unmodified FreeBSD
CDs, instead of maintining a completely different version.

In your special case, the advice to make a port that was given
earlier on this list, is very good, because you'd have to maintain
your port(s) (and only your port(s)) whenever you update your
commercial distro from the FreeBSD repo (which you could do
as often as you like and your resources and time permits).
What if a security bug is discovered, and immediately fixed
by FreeBSD? Would you commit yourself to do the same in your
commercial version? Just cvsup, and then apply your port(s)
and voila, a new fixed commercial version!

Ports are great, because you could even include diffs to the
kernel (you have a custom kernel?) and misc. config and
infrastructure files that make up the system. Turn that port
into a package, and have the package system handle the
transmogrification of an official FreeBSD snapshot into
your own custom version.

Good luck!

-- 
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]"


4.9-stable & Linksys router won't talk with each other

2004-01-06 Thread Kenneth W Cochran
Hello:

I'm having problems getting a FreeBSD machine and a Linksys
WRT54G talking with each other.

Interfaces:
dc0 - "public" to outside network(s)
dc1 - internal 192.168.0.0/24
dc2 - internal 192.168.1.100/24, currently unused, gets the router (testing)
dc3 - currently unused

OS: FreeBSD 4.9-STABLE as of 10 December 2003
firewall: ipfw2
Running natd between dc0 & dc1 (& that works fine)

dc0 gets its IP address, etc., via DHCP/dhclient.
dc1 is configures statically & machines connected on that subnet work fine.
dc2 should get its ip address, etc. from a Linksys WRT54G,
but won't; syslog says "address in use."

Problems/questions:

dc2 has a Linksys WRT54G on it, & thus far, that box refuses
to talk (not even ping/traceroute) with the fbsd machine,
even if I set its ip-address & that of dc2 manually.  (The
Linksys defaults to running a dhcp server & its
factory-supplied ip-address is 192.168.1.00 & it "tries" to
setup the first interface talking to it to be 192.168.1.1).
I've even configured that router/wap to "all-static" using a
Windows2000 machine & it & the FreeBSD machine still won't
talk with each other.

Any ideas on getting this thing to work?  It seems to work
fine when connected to a Windows2000 machine.
Yes, I've tried other interfaces & cables, etc, so I'm
confident the hardware is fine. :)

FAQs/documentation pointers are quite welcome. :)

Thanks,

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


Trying to understand ipfirewall/divert/nat

2004-01-06 Thread Kenneth W Cochran
Hello:

I'm trying to grok overall firewall & natd (ipnat?)
configuration strategy using ipfirewall.

Interfaces:
dc0 - "public" to outside network(s)
dc1 - internal 192.168.0.1/24
dc2 - internal 192.168.1.100/24, currently unused
dc3 - currently unused

OS: FreeBSD 4.9-STABLE as of 10 December 2003
firewall: ipfw2
Running natd between dc0 & dc1

dc0 gets its IP address, etc., via DHCP/dhclient.

Problems/questions:

ICMP (for example):  Would like to be able to:
  Ping/traceroute, etc from any machine on the local net to anywhere.
  Be "invisible" to ICMP Echo Request from outside.
  Be "visible" to other relevant ICMP messages from outside,
e.g. traceroute, Path MTU Discovery

For example, the following ruleset (from the Ipfw-HOWTO at
http://www.freebsd-howto.com/) takes care of icmp echo
request/reply on the outside-exposed machine, but breaks
that (& traceroute) on internal machines.

1000 allow icmp from any to any out icmptypes 8
1100 allow icmp from any to any in icmptypes 0
1200 deny icmp from any to any in icmptypes 8

Would like to do similar things, e.g. allow/deny  & get all that to play nicely
with divert/natd.  For example, with divert, it appears that
we should have a ruleset for "before" the divert & another
"mirror-image" ruleset for "after" divert.  Where might I
find some nice explanations of the logic/strategy with this?

I guess what confuses me is /etc/rc.firewall does things one
way & the firewall(7) manpage another.

Where are some, umm, good sources of information about
ipfirewall (ipfw)?  Seems all the books talk about are
Linux's ipchains & iptables & *bsd's ipf.

Thanks,

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


Re: Commercial Distribution?

2004-01-06 Thread Tillman Hodgson
On Tue, Jan 06, 2004 at 10:39:59PM -0500, Scott W wrote:

> Note that I don't entirely disagree with the response- IMHO, RedHat and 
> SuSe are in fact merely distributions, but Linux as a collection of 
> kernel + core programs is certainly an OS, in the same manner as *BSD 
> is.

I think that if you re-read Lowell's email, you'll find that he doesn't
contradict what you're saying :-)

-T


-- 
"The act of communication is the primary ethical actlife is
 meaningful only if the bounds of self can be transcended."
- Anatol Rapoport
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd 5.2 rc2 and grip issues

2004-01-06 Thread Andrew Thomson
Also just tried what was in the handbook:

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

cdda2wav -D /dev/acd0
cdda2wav: Invalid argument. Open by 'devname' not supported on this OS.
Cannot open SCSI driver.
open(/dev/acd0) in file interface.c, line 532

On Wed, 2004-01-07 at 14:04, Andrew Thomson wrote:
> Historically grip has always worked quite well for me..
> 
> However just trying to use it on my 5.2 box and it's not working too
> well.
> 
> Basically it rips the cd in about 5 seconds, and then encodes some mini
> me mp3's. If I ask grip just to rip the CD, then it takes about the same
> time but no wav's are generated.
> 
> Example:
> 
> -rw-r--r--  1 ajt  users  128 Jan  7 13:47 Massive Attack -
> Protection.mp3
> 
> And some more information about my setup:
> 
> uid=1001(ajt) gid=1001(users) groups=1001(users), 0(wheel), 5(operator)
> 
> crw-rw  1 root  operator4,  12 Jan  7 12:36 acd0
> crw-rw  1 root  operator4,  13 Jan  7 12:36 acd1
> 
> I tried changed the permissions on the operator group to rw instead of
> the default r.. just in case..
> 
> acd0: CDROM  at ata1-master PIO4
> acd1: CDRW  at ata1-slave PIO4
> 
> I've tried both my cd drives and they both do the same thing...
> Currently grip is configured to use the specific cdrom device. I have
> also tried using a cdrom symlink in dev and pointing to that..
> 
> grip-3.1.4
> 
> 5.2-RC FreeBSD 5.2-RC #0: Wed Dec 31 09:14:18 EST 2003
> 
> I'm just not sure what's wrong here..
> 
> Anyone using grip on a 5.2RC2 box??
> 
> Thanks,
> 
> ajt.
> 
> 
> ___
> [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: fixit

2004-01-06 Thread Peter Leftwich
On Sun, 4 Jan 2004, Mike Meyer wrote:
> In <[EMAIL PROTECTED]>, Peter Leftwich <[EMAIL PROTECTED]> typed:
> > I saw your post about the lack of documentation for "fixit" and
> > wondered if you may be an expert or seasoned user on the topic?  Thank
> > you for any info you have!
> Fixit disks aren' really a problem solution so much as a place to
> stand to solve problems. They boot you to a running system, either on

Mike,

I like how you say that - "a place to stand."  It's a good lead-in for my
question: The problem is this... the fixit shell is started and it doesn't
really show you WHAT it is technically doing.  Is it started in RAM
(/ramdisk/) or does it mount the FreeBSD partition on the HDD?  Or what.

The thing that strikes me as oddest is that "pwd" will tell me the path,
beginning with this "/" symbol.  But then I can't type "mount" and have the
results tell me about the leading slash "/" -- round and round we go,
chicken and egg!!

> the CD or out of memory for the fixit floppy, and provide tools you
> need to repair things. The CD includes manual pages, so all you really
> need to know is which tools you need to solve the problem. The floppy
> has a very limited set of tools, so you can start by getting a list of
> /bin and /sbin on the fixit file system, and reading the manual page
> for those tools.

The problem is that root on my HDD has to be mounted before I can use /bin
or /sbin tools - and isn't mount /sbin/mount ???

I am hopelessly lost and all tied up in this quandry -- all I need to be
able to do is mount root and copy a file (ld-elf.so.1) to /usr/libexec/
because it is missing.

> If you have any questions, I'd be more than happy to answer them.

Any other suggested work-arounds??  I have been booting to (and leaving
running) a Knoppix Debian Linux CD-R for weeks, I want to click my heels
and say there is no place like home...

>Mike Meyer <[EMAIL PROTECTED]>http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more information.

PS. I hope you use monster.com and dice.com and hotjobs.com :) just
recommendations!!  Oh and www.elance.com

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Commercial Distribution?

2004-01-06 Thread Scott W
Scott W wrote:

Tillman Hodgson wrote:

On Tue, Jan 06, 2004 at 09:14:41PM -0500, David D.W. Downey wrote:
 

And how is that different from Linux? FreeBSD is an Operating 
System, so is
Red Hat, Debian, Stampede, SLS, Slackware, and on and on. FreeBSD 
does the
same thing. FreeBSD didn't develop OpenSSL but it includes it, nor 
did it
develop SSH or swat, but it includes them. Just as linux 
distributions do.   


That's somewhat incorrect in my view. See
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html 

for details.

My attempt at a summary:

RedHat et al may /distribute/ an operating system, but they did not
write it. An analogy in the motorcycle world are the custom bike shops
(some of which make extremely nice motorcycles!) versus Harley-Davidson.
The custom bike shops carefully (one hopes) select components from the
open market and put the polish on the resulting product. H-D may also
use open market products (electrics *cough*, carbs *cough*) but are
considered a /manufacturer/.
Both sell motorcycles (operating systems). There is a distinction,
however.
-T

I know this one may be seen as sacrilege to some, but think about this:

1.  *BSD uses a fairly significant amount of GNU and GPL licensed 
(opposed to the BSD license) code in it.  gcc, Perl, XFree86, Apache, 
GNU Make, autoconf, mysql, PostgreSQL, etc etc.  While it can be 
argued many/most of these are not part of the core OS, what about:  
gcc, objective c, libreadline, cvs, diff, tar, sort, patch and 
friends?  (from /usr/src/gnu and /usr/src/usr.bin )

2.  It can be argued that the 'core OS' (kernel and _required_ system 
tools) in *BSD are mostly BSD licensed versus GPL (Linux), but I'd 
wager a significant number of driver developments, kernel code (or 
perhaps design), as well as many programs required by most systems 
running either OS(insert distro here if you're offended), at least 
share bug fixes and new developments to some respect.  If I'm not 
entirely wrong (which is certainly possible) I thought Alan Cox of 
Linux kernel fame has also done some work on the BSD kernel(s?)?

Note that I don't entirely disagree with the response- IMHO, RedHat 
and SuSe are in fact merely distributions, but Linux as a collection 
of kernel + core programs is certainly an OS, in the same manner as 
*BSD is.  Even RH AS/ES 2.1 is little more than a RH tweaked kernel + 
a few 'commercial' apps (stronghold, not sure of others offhand, 
haven't ever needed them!), on top of RH 7.3, which is really a Linux 
kernel + tools snapshot (many of which programs are at least heavily 
driven by Linux development in the first place), + RedHat or SuSe 
'themes' and defaults, some customized rc/init scripts, and an installer.
Anyways, I realized I may now be totally missing the point here so am 
going to now shut my mouth/keyboard...my comments still apply, but I'm 
not sure whom I'm disagreeing/agreeing with right now.. ;-)

Scott

Ok, sorry for following up to myself- below is in fact what my above 
comments are directed at:

ls, while certainly useful, and part of the core OS (as are many 
others), could not in fact be built without the use of gcc, and 
GNU/GPL'ed compiler (and associated friends, ld, nm, gas, etc), so I 
really believe the below to be basically propogated and repeated without 
much thought, but incorrectly...not in that FreeBSD (and Net/OpenBSD) 
have a higher content of 'pure' (meaning written explicity for the 
specific OS) code in the core OS, but in that the 
distinction/differences in reality qualify FreeBSD to be an 'OS' while 
Linux (not RH, SuSe, other distros) is not...

Scott

David D.W. Downey wrote:

> You're touching on a big difference between Linux and FreeBSD; FreeBSD
> is an operating system, whereas Linux is a kernel which can be packaged
> with different programs.  You can make do anything you want with
> FreeBSD, modify it all you want, release it (or not) along with the
> source code (or not), but you can't claim it''s FreeBSD any more...
 

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


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Scott W said:
> Lowell Gilbert wrote:
> > off_t has *never* been anything but 64-bit in FreeBSD.
>
> This is interesting, having had to deal with the LARGEFILE_64_SOURCE
> and _LP64 'hacks' (llseek(), creat64(), etc etc...back in Solaris
> from 2.6 on, which seem to still be in place in Solaris 9.  Are all
> file operations and mmap() 64 bit capable then in FreeBSD (or
> presumably Open/Net/FreeBSD?) I don't see any LARGEFILE constants in
> FreeBSD

Correct.  The whole reason for the largefile stuff was to ease the
transition from 32-bit off_t to 64-bit off_t.  Even now, I don't think
Linux, Solaris, or AIX enable 64-bit off_t by default.  Heck, Solaris
and AIX still default to building 32-bit /binaries/, even though
they've been on 64-bit CPUs for ages.  My guess is the "transition
period" will last at long as x86 CPUs exist :) Tru64 always ran on the
64-bit Alpha, so it's another OS that never had to deal with it.

-- 
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: How to create .iso file image of cdrom (atapi)?

2004-01-06 Thread Francisco
On Mon, 5 Jan 2004, W. Sierke wrote:

> Is there a straightforward way of creating a file image (.iso) of a data
> cdrom mounted in an atapi cd-rom drive?

I use a port called mkisofs.
mkisofs -R -l -J -o  .

So you would mount the CD and then CD into it.

To later burn to another CD I use
burncd -f /dev/acd0c -s 10 data $1 fixate

Where 10 is the speed of my burner, but you should set it to the max speed
of yours.. which if your CD burner is recent is probably faster than 10.
:-)

Hope that helps.

As far as I knowh though this approach will not work to copy a bootable
CD. The ISO image will be created and the content will be there, but the
new CD will not be bootable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Commercial Distribution?

2004-01-06 Thread Scott W
Tillman Hodgson wrote:

On Tue, Jan 06, 2004 at 09:14:41PM -0500, David D.W. Downey wrote:
 

And how is that different from Linux? FreeBSD is an Operating System, so is
Red Hat, Debian, Stampede, SLS, Slackware, and on and on. FreeBSD does the
same thing. FreeBSD didn't develop OpenSSL but it includes it, nor did it
develop SSH or swat, but it includes them. Just as linux distributions do. 
   

That's somewhat incorrect in my view. See
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html
for details.
My attempt at a summary:

RedHat et al may /distribute/ an operating system, but they did not
write it. An analogy in the motorcycle world are the custom bike shops
(some of which make extremely nice motorcycles!) versus Harley-Davidson.
The custom bike shops carefully (one hopes) select components from the
open market and put the polish on the resulting product. H-D may also
use open market products (electrics *cough*, carbs *cough*) but are
considered a /manufacturer/.
Both sell motorcycles (operating systems). There is a distinction,
however.
-T

I know this one may be seen as sacrilege to some, but think about this:

1.  *BSD uses a fairly significant amount of GNU and GPL licensed 
(opposed to the BSD license) code in it.  gcc, Perl, XFree86, Apache, 
GNU Make, autoconf, mysql, PostgreSQL, etc etc.  While it can be argued 
many/most of these are not part of the core OS, what about:  gcc, 
objective c, libreadline, cvs, diff, tar, sort, patch and friends?  
(from /usr/src/gnu and /usr/src/usr.bin )

2.  It can be argued that the 'core OS' (kernel and _required_ system 
tools) in *BSD are mostly BSD licensed versus GPL (Linux), but I'd wager 
a significant number of driver developments, kernel code (or perhaps 
design), as well as many programs required by most systems running 
either OS(insert distro here if you're offended), at least share bug 
fixes and new developments to some respect.  If I'm not entirely wrong 
(which is certainly possible) I thought Alan Cox of Linux kernel fame 
has also done some work on the BSD kernel(s?)?

Note that I don't entirely disagree with the response- IMHO, RedHat and 
SuSe are in fact merely distributions, but Linux as a collection of 
kernel + core programs is certainly an OS, in the same manner as *BSD 
is.  Even RH AS/ES 2.1 is little more than a RH tweaked kernel + a few 
'commercial' apps (stronghold, not sure of others offhand, haven't ever 
needed them!), on top of RH 7.3, which is really a Linux kernel + tools 
snapshot (many of which programs are at least heavily driven by Linux 
development in the first place), + RedHat or SuSe 'themes' and defaults, 
some customized rc/init scripts, and an installer. 

Anyways, I realized I may now be totally missing the point here so am 
going to now shut my mouth/keyboard...my comments still apply, but I'm 
not sure whom I'm disagreeing/agreeing with right now.. ;-)

Scott





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


Samba+CUPS+Win98: did not submit print job to cups

2004-01-06 Thread Marc Kelly
Hi.  I moved my printer from parallel port on Win98 to parallel port on 
FreeBSD.  I can now print from FreeBSD using CUPS (hooray!).  But I've had a 
lot of trouble even adding a printer share on my Win98 client.  The printer 
share is browsable.  (Though I had to give a password.  I thought guest ok 
would not require password).  But Win98 would always error saying "Could not 
add printer."  I never figured out why.  Anyway, I had the printer driver 
installed on Win98 already (printer used to live there).  I added a "port" 
and changed from parallel to "\\Cadence\epson" within the exising printer 
properties.  Win98 accepted it.  But is it valid?  I print from notepad and 
see my print job in the printer queue from Win98.  But CUPS says it's nowhere 
to be found.  Nothing.  I assume my problem is with Samba, since I can print 
from CUPS locally.

What in the world am I doing wrong?  I turned up log level to "4", but the 
problem isnt apparent to me.  My [homes] does work when I map it through 
explorer.

My smb.conf:
[global]
   log level = 1
   workgroup = MANDK
   server string = Cadence
   hosts allow = 192.168.1. 127.
   load printers = yes
   printcap name = /etc/printcap
   pid directory = /var/run/
  lock directory = /var/spool/lock/
   printcap name = cups
   printing = cups
  guest account = ftp
   log file = /var/log/samba.%m
   max log size = 500
   security = user
  encrypt passwords = yes
  lanman auth = no
   socket options = TCP_NODELAY
   interfaces = sis0
   bind interfaces only = yes
   browseable = yes
   local master = yes
   os level = 33
   domain master = yes
   preferred master = yes
   domain logons = yes
   wins support = yes
   dns proxy = no
   template homedir = /home/%U

# Share Definitions ==
[homes]
   comment = Home Directories
   browseable = no
   writeable = yes
   guest ok = no
   create mode = 0770
   directory mode = 0770
   read only = no
 [netlogon]
   comment = Network Logon Service
   path = /usr/local/samba/lib/netlogon
   guest ok = yes
   writeable = no
   share modes = no
   read only = yes
[Profiles]
path = /usr/local/samba/profiles
browseable = no
guest ok = yes
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = Yes
   guest ok = yes
   writeable = no
   printable = yes

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


Re: RCS

2004-01-06 Thread Scott W
Shawn Guillemette wrote:

Once apon a time I worked for a company that had used somthing called "RCS" to protect files from being writen to by more then one user at the same time. 



Im now in a situation where that would become helpful. I have read the man pages on RCS and looked for documantation on the web including the FreeBSD diary site and wanted to post to you all to see if anyone had any links to some good documentation on this. Even how-to's would be great. 

Thanks 

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

 

It's old, it's not up to date, but neither is RCS ;-)
http://www.bookpool.com/.x/rxmsgjmgri/sm/1565921178
RCS is fine for dealing with 1-2 people accessing files, but if you're 
thinking of using it for a larger project with network support, you may 
really want to look at something like CVS (free) or Perforce (current 
favorite commercial SCM)

There really isn't a significant amount involved in RCS.  man ci, co, 
rcs and understand branching.  Add a few more people and then wait until 
you wind up wrapping all of the rcs commands in shell scripts

Scott

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


Re: Commercial Distribution?

2004-01-06 Thread Tillman Hodgson
On Tue, Jan 06, 2004 at 09:14:41PM -0500, David D.W. Downey wrote:
> And how is that different from Linux? FreeBSD is an Operating System, so is
> Red Hat, Debian, Stampede, SLS, Slackware, and on and on. FreeBSD does the
> same thing. FreeBSD didn't develop OpenSSL but it includes it, nor did it
> develop SSH or swat, but it includes them. Just as linux distributions do. 

That's somewhat incorrect in my view. See
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html
for details.

My attempt at a summary:

RedHat et al may /distribute/ an operating system, but they did not
write it. An analogy in the motorcycle world are the custom bike shops
(some of which make extremely nice motorcycles!) versus Harley-Davidson.
The custom bike shops carefully (one hopes) select components from the
open market and put the polish on the resulting product. H-D may also
use open market products (electrics *cough*, carbs *cough*) but are
considered a /manufacturer/.

Both sell motorcycles (operating systems). There is a distinction,
however.

-T


-- 
Being generous is inborn; being altruistic is a learned perversity. No
resemblance.
- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Opera7 won't install from ports collection

2004-01-06 Thread Jud
On Tue, 6 Jan 2004 09:42:25 -0800 (PST), Dino Vliet <[EMAIL PROTECTED]>  
wrote:

But I installed freebsd through the http proxy server
and that went fine.
I can install all other packages just fine because
I've set the http_proxy environment variable to our
proxy server and everything works fine. Only the cvsup
won't work.
I'm now installing mozilla-firebird:-(

--- Jud <[EMAIL PROTECTED]> wrote:
On Tue, 6 Jan 2004 08:37:58 -0800 (PST), "Dino
Vliet"
<[EMAIL PROTECTED]> said:
> How to get cvsup to get past my proxy-server?
>
>
> --- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> >
> >
> > --On Tuesday, January 06, 2004 07:40:31 -0800
Dino
> > Vliet
> > <[EMAIL PROTECTED]> wrote:
> >
> > > I want to install Opera onto my freebsd
version
> > 4.9
> > > system and in the /usr/ports/www/opera
direcory I
> > > issue a "make install clean"
> > >
> > > I get the following error (see below).
> > > Becausse i think my port is looking for
> > > opera-7.20-20030919 while the ftp servers are
> > offering
> > > opera-7.23-20031119 or something like that.
> > > What can I do about it?
> > >
> > > 1) get the old source (but from where)
> > > 2) use the new one and rename it to
20030919..but
> > I
> > > think that will go wrong
> > >
> > > Can anyone help me with this because I can't
> > browse
> > > the net!!
> > update your ports collection using CVSup.
> >
> > LER
> >
> > >
> > >
> > >
> > > ===>
> > >
**
> > > ===> NOTE: The native version of Opera can not
be
> > > ===> installed at the same time as
linux-opera. If
> > you
> > > ===> already have www/linux-opera installed,
we
> > > ===> recommend you press Ctrl-C now and
deinstall
> > it.
> > > ===>
> > >
**
> > >>>
> > >
> >
opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
> > > doesn't seem to exist in
/usr/ports/distfiles/.
> > >>> Attempting to fetch from
> > >
> >
>
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
> > >>> Attempting to fetch from
> > >
> >
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > >>> Couldn't fetch it - please try to retrieve
this
> > >>> port manually into /usr/ports/distfiles/ and
try
> > > again.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/www/opera.
If you can't ftp or cvsup with the proxy server, I'd
suggest using
another PC to download an updated ports collection,
then the files for
Opera and dependencies (these aren't terribly large,
so it won't take
very long even on a slow connection) and burning
these to a CD.  You can
then use these to update your system that is behind
the proxy server and
build Opera.
If you do want to update ports at some point and have FTP access you can  
download the full ports tarball from ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz>.

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


freebsd 5.2 rc2 and grip issues

2004-01-06 Thread Andrew Thomson
Historically grip has always worked quite well for me..

However just trying to use it on my 5.2 box and it's not working too
well.

Basically it rips the cd in about 5 seconds, and then encodes some mini
me mp3's. If I ask grip just to rip the CD, then it takes about the same
time but no wav's are generated.

Example:

-rw-r--r--  1 ajt  users  128 Jan  7 13:47 Massive Attack -
Protection.mp3

And some more information about my setup:

uid=1001(ajt) gid=1001(users) groups=1001(users), 0(wheel), 5(operator)

crw-rw  1 root  operator4,  12 Jan  7 12:36 acd0
crw-rw  1 root  operator4,  13 Jan  7 12:36 acd1

I tried changed the permissions on the operator group to rw instead of
the default r.. just in case..

acd0: CDROM  at ata1-master PIO4
acd1: CDRW  at ata1-slave PIO4

I've tried both my cd drives and they both do the same thing...
Currently grip is configured to use the specific cdrom device. I have
also tried using a cdrom symlink in dev and pointing to that..

grip-3.1.4

5.2-RC FreeBSD 5.2-RC #0: Wed Dec 31 09:14:18 EST 2003

I'm just not sure what's wrong here..

Anyone using grip on a 5.2RC2 box??

Thanks,

ajt.


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


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Scott W
Lowell Gilbert wrote:

Dan Nelson <[EMAIL PROTECTED]> writes:

 

In the last episode (Jan 06), Alex said:
   

Hi everybody!

Some time ago there wasn't any possibility to create disk file larger 
than 2G and there was no problem with lseek().
 

Some time ago meaning around 1997?  FreeBSD has had 64-bit file access
since at least 2.2.0.  I don't remember if earlier versions had support
for it or not.
   

off_t has *never* been anything but 64-bit in FreeBSD.
 

This is interesting, having had to deal with the LARGEFILE_64_SOURCE and 
_LP64 'hacks' (llseek(), creat64(), etc etc...back in Solaris from 2.6 
on, which seem to still be in place in Solaris 9.  Are all file 
operations and mmap() 64 bit capable then in FreeBSD (or presumably 
Open/Net/FreeBSD?)  I don't see any LARGEFILE constants in FreeBSD

Scott

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


Re: Commercial Distribution?

2004-01-06 Thread Harald Schmalzbauer
On Wednesday 07 January 2004 03:14, David D.W. Downey wrote:
> And how is that different from Linux? FreeBSD is an Operating System, so is
> Red Hat, Debian, Stampede, SLS, Slackware, and on and on. FreeBSD does the

You name it. These are all different operating systems arround a linux kernel. 
FreeBSD is the operating system, linux isn't. That's the whole difference.

-Harry

P.S: Lot's of tools are developed by *BSD developers and included instead of 
GNU versions (ls e.g.)

> same thing. FreeBSD didn't develop OpenSSL but it includes it, nor did it
> develop SSH or swat, but it includes them. Just as linux distributions do.
>
> There is no big difference. Linux has more commercial support including
> first tier support, ala IBM, Compaq, Dell, and to s much shorter extent Sun
> Microsystems.
>
> You'll find many web hosting firms that offer managed care that can handle
> the operating system complete with technical support on most dedicated
> boxes. However, remember there that you're dealing with web farming.
>
> I don't know of many larger firms that offer specificly FreeBSD assistance
> except through VARs or custom box shops. If this is the route you’re
> looking to take, I'd be more than happy to lend assistance.
>
> David D.W. Downey
>
> > You're touching on a big difference between Linux and FreeBSD; FreeBSD
> > is an operating system, whereas Linux is a kernel which can be packaged
> > with different programs.  You can make do anything you want with
> > FreeBSD, modify it all you want, release it (or not) along with the
> > source code (or not), but you can't claim it''s FreeBSD any more...
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"




pgp0.pgp
Description: signature


Re: growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Greg 'groggy' Lehey
On Tuesday,  6 January 2004 at 19:18:06 +0100, Mathieu Arnold wrote:
> Ok, I could not wait, so I did :
> a create with :
> drive vinumdrive1 device /dev/ad3e
> sd name data.p0.s1 drive vinumdrive1 len 0
>
> then :
> attach data.p0.s1 data.p0
>
> That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy :)
>
> Now, growfs, so, I launch it :
>
> ...
> new file systemsize is: 78997019 frags
> growfs: wtfs: write error: 631976157: Inappropriate ioctl for device

Can you check the state of the volume and its plexes and subdisks?  If
they're all OK,, can you run this with ktrace?  I'd be interested to
see what the ioctl is.

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


pgp0.pgp
Description: PGP signature


rationale for /var/spool/mqueue permissions with 5.1R

2004-01-06 Thread Ed Budd
Hi,

I've been working my way through the sendmail "bat" book (not
*ALWAYS* the most exciting read but informative nonetheless) and
have come across a recommendation to ensure that /var/spool/mqueue is
set as root-owned with mode of 0700. 

However, it appears that by default the permissions on 5.1R are thus (at
least on my two boxes):

root:daemon 
drwxr-xr-x

My question is: why are these permissions set this way or, perhaps more
to the point, what (if anything) am I likely to break if I change them
to the recommendations in the book?

Thanks in advance for whatever insight any of you can provide.

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


kernel config sio with flag 0x80

2004-01-06 Thread Cheng Jin
Hi, all

I am having problems trying to config my 5.0-Release kernel for remote 
debugging.

from the handbook below,

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

it seems to be as simple as adding a line like

"device  sio0 at isa? port IO_COM1 flags 0x80 irq 4"

and  "options DDB" to the kernel config file, except sio0 line doesnt 
actually work.

when i tried config -g, it complains about

"devices with zero units are not likely to be correct"

I tried different combos such as leaving out device numbers with 
only flags.  I also looked around the web and FreeBSD mailinglist but 
didnt find anything helpful.  Is there a different way of enabling serial 
console for debugging?  

It also seems that the documentation on kernel config has gotten much 
worse since the 2.* days.  Where was the helpful LINT file that explained 
all the options correctly?

Thanks,

Cheng

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


[no subject]

2004-01-06 Thread Thomas Moyer
When I try to boot the install CD I get a huge list of error messages
before it even gets to sysinstall.
 
ata2-master: WARNING - SETFEATURES recovered from missing interrupt
ata2-master: WARNING - SETFEATURES recovered from missing interrupt
ad4: WARNING - SETFEATURES recovered from missing interrupt
ad4: WARNING - SETFEATURES recovered from missing interrupt
ad4: SET_MULTI recovered from missing interrupt
acd0: WARNING - READ_BIG read data overrun 46>0
acd0: TIMEOUT - READ_BIG retrying (2 retries left)
ata1: resetting devices ..
acd0: WARNING - removed from configuration
acd1: WARNING - removed from configuration
done
ata1-master: FAILURE - READ_BIG device lockup/removed
ata1-master: timeout sending command=a0
ata1-master: error issuing ATA PACKET command
ata1-master: error issuing ATA PACKET command
ata1-master: error issuing ATA PACKET command
 
Then the computer locks up completely and I have to power it off I've
tried both with and without ACPI enabled and also tried the FTP install
but that fails as well.



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


RE: Commercial Distribution?

2004-01-06 Thread David D.W. Downey
And how is that different from Linux? FreeBSD is an Operating System, so is
Red Hat, Debian, Stampede, SLS, Slackware, and on and on. FreeBSD does the
same thing. FreeBSD didn't develop OpenSSL but it includes it, nor did it
develop SSH or swat, but it includes them. Just as linux distributions do. 

There is no big difference. Linux has more commercial support including
first tier support, ala IBM, Compaq, Dell, and to s much shorter extent Sun
Microsystems.

You'll find many web hosting firms that offer managed care that can handle
the operating system complete with technical support on most dedicated
boxes. However, remember there that you're dealing with web farming.

I don't know of many larger firms that offer specificly FreeBSD assistance
except through VARs or custom box shops. If this is the route you’re looking
to take, I'd be more than happy to lend assistance.

David D.W. Downey



> You're touching on a big difference between Linux and FreeBSD; FreeBSD
> is an operating system, whereas Linux is a kernel which can be packaged
> with different programs.  You can make do anything you want with
> FreeBSD, modify it all you want, release it (or not) along with the
> source code (or not), but you can't claim it''s FreeBSD any more...

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


Firewire compact flash reader?

2004-01-06 Thread Richard Tobin
I need a faster compact flash reader.  Has anyone used a firewire
reader with FreeBSD?  Can I expect one to just work, or do some use
proprietary protocol variations like many USB readers?

-- Richard

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


device bfe unknown - during compilation of new kernel

2004-01-06 Thread Rommel B. Ikeda
Hi,
(B
(BI have an IBM R40e Thinkpad with a dual boot of Windows XP and FreeBSD
(B5.2...
(BThe other day, I installed FreeBSD on the 2nd Partition of my Hard Disk and
(BI found out that the "device bfe" together with "device mii" supports my
(BInternal NIC which is Broadcom NeXtreme Fast Ethernet...I was so happy
(Bbecause I thought I could never make use of my Internal NIC in FreeBSD...and
(Bduring the boot process it should that it detected it...I decided that I
(Bwould just let it be for a while and configure it when I get home...But
(Bafter much thinkingI decided to make my FreeBSD Partition a little
(Bbigger...so I installed it again...this time I was not connected to our
(BLAN...and my Internal NIC was not detected...but since I knew it was
(Bdetected before...and I was to compile my kernel anyway...
(BWhen I compiled my new kernel...I included the "device bfe" because it was
(Bnot included with the GENERIC kernel...when I executed the make buildkernel
(Bcommand it complained that "device bfe is unknown"...What am I missing
(Bhere?...the only thing that I did before compilation was I totally disabled
(Bacpi in my /boot/device.hints...is there a connection here?  What should I
(Bdo to make system recognize "device bfe" during compilation...?
(BThanks in advance for any advice...or help...
(B
(BRommel Ikeda
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Commercial Distribution?

2004-01-06 Thread Lowell Gilbert
=?Windows-1252?Q?Udo_Schr=F6ter_=28Trionic_Technologies=29?= <[EMAIL PROTECTED]> 
writes:

> > Wind River Systems and other vendors will sell FreeBSD CDs, and there are
> > examples of dedicated systems using FreeBSD that come to mind, such as the
> > Nokia IP firewall platform.  Or were you talking about a "commercial distro"
> > in terms of "a company that provides/charges for technical support"...?
> :-)
> 
> Yes, something like that. I guess so far it has been done only with
> Linux-based systems, eh? I couldn't find any RedHat-like vendors out there.
> Anyway, it was just a dumb newbie question for better "insight" as to what's
> out there...

You're touching on a big difference between Linux and FreeBSD; FreeBSD
is an operating system, whereas Linux is a kernel which can be packaged
with different programs.  You can make do anything you want with
FreeBSD, modify it all you want, release it (or not) along with the
source code (or not), but you can't claim it''s FreeBSD any more...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Malcolm Kay <[EMAIL PROTECTED]> wrote:
> 
> This is true. That partition is labeled as unused.
> I believe you should be trying to mount /dev/ad6s1e.

su-2.05b# mount -r /dev/ad6s1e /data
mount: /dev/ad6s1e on /data: incorrect super block


> > #/dev/ad6s1c/data   ufs rw  2  
> 2
> >
> 
> Certainly wrong in 4.x, I suspect also wrong in 5.x.

Yikes, well that's the way it had been for about a year. How come it worked?
I must have made an inexperienced mistake early on, but it WAS working. Can
this be fixed?

> Do you have a line mounting ad4s1c for the other disk?

No, that's the only one using the "c" partition.

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


Re: Support for affordable S-ATA RAID controllers (xs4)

2004-01-06 Thread Rogier Krieger
Hi there Jon

Previous correspondence from jon (17:09 4-1-2004 -0800):
>do you have the RAID enabled version for your Promise
>controller? If so, I guess it's a match
>
>yes sir, and I apologize for my vagueness.

Thanks for the confirmation. It seems I'll give the controller a try.
I heard from one of the NetBSD developers (Manuel Bouyer, see [1])
the Promise card still is a software RAID solution, so I will
probably also test the RAIDframe functionality. We'll see how it
turns out. I'll be sure to report success.

Thanks for checking up on this,

Rogier Krieger


References:
[1] http://mail-index.netbsd.org/netbsd-users/2004/01/06/.html



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


Re: ACPI and 4.9?

2004-01-06 Thread Matthew Seaman
On Tue, Jan 06, 2004 at 04:49:54PM -0600, Eric F Crist wrote:
> Hello List,
> 
> I have ACPI working on a desktop running 5.1 and everything works great.  If I 
> press the power button, the system shutsdown correctly, the monitor shuts off 
> after 30 minutes, etc.  I have a laptop that I'm not using 5.1, but 4.9 
> instead (for reasons, see previous posts re: mouse).  According to the 
> FreeBSD handbook, I can implement ACPI in 4.9 (rather than APM) by simply 
> adding device acpi to the kernel configuration.  I tried this and get:
> 
> device acpi unknown

Close, but no cigar.  It's

device acpica

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: ports confusion - are they configurable like I want?

2004-01-06 Thread Marc G. Fournier
On Wed, 7 Jan 2004, Zoran Kikic wrote:

> hi,
>
> I build my apache from source and it runs wonderful on fbsd 5.1.
> Now I tried to do the same with the fbsd apache-port but I
> have no idea how to install the port with the same(exact) configuration
> arguments I used for my source build:
>
> ./configure --enable-layout=xyz --enable-file-cache --enable-cache
> --enable-deflate \
> --enable-proxy --enable-bucketeer --enable-module=so --with-mpm=worker \
> --enable-mods-shared=all --enable-logio --enable-ssl=shared
> --with-ssl-dir=/usr/local/ssl
>
> I realized the knobs an CONFIGURE_ARGS in Makefile but I still don't
> know how
> to proceed... I found many hints about this but nobody shows any
> samples.

One thing that should work is if you put a:

CONFIGURE_ARGS=

right after the last CONFIGURE_ARGS+= in the Makefile ... the ARGS+= adds
arguments, but if you say ARGS=, it will wipe out the previous settings
and force it "your way" ...

The thing is, there are alot of other defines in the Makefile that
may/maynot be what you want, so just CONFIGURE_ARGS doesn't quite do it :(



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ports confusion - are they configurable like I want?

2004-01-06 Thread Zoran Kikic
hi,

I build my apache from source and it runs wonderful on fbsd 5.1.
Now I tried to do the same with the fbsd apache-port but I
have no idea how to install the port with the same(exact) configuration
arguments I used for my source build:

./configure --enable-layout=xyz --enable-file-cache --enable-cache
--enable-deflate \
--enable-proxy --enable-bucketeer --enable-module=so --with-mpm=worker \
--enable-mods-shared=all --enable-logio --enable-ssl=shared
--with-ssl-dir=/usr/local/ssl

I realized the knobs an CONFIGURE_ARGS in Makefile but I still don't
know how
to proceed... I found many hints about this but nobody shows any
samples.

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Malcolm Kay
On Wed, 7 Jan 2004 06:09, Scott I. Remick wrote:
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > I think you already have a copy (the data at offset 32 seems to be it).
> > If you want, do a
> >
> > # dd if=/dev/ad6s1 skip=16 count=16 of=/some/file
>
> ok, done. Is there a way to use fsck_ufs -b now to fix this? Or is that
> premature? And if I remember correctly, that doesn't actually APPLY the
> alternate superblock... it just allows fsck to run while utilizing an
> alternate one. So we need to use some sort of dd command to copy it to the
> proper location, correct?
>
> > Please tell me everything what you tried to use to mount/fsck the drive
> > (and the results, of course).
>
> Well, my memory is sketchy so I don't know how much use it'd be. But I was
> saving a file to /data (ad6) when the system hung. Then it rebooted on its
> own. Of course fsck ran on bootup but it gave up and told me I had to run
> it manually. When I did (I don't remember any parameters I specifically
> used, if any) I got:
>
> /dev/ad6s1c
> Cannot find file system superblock
> /dev/ad6s1c: NOT LABELED AS A BSD FILE SYSTEM
>

This is true. That partition is labeled as unused.
I believe you should be trying to mount /dev/ad6s1e.

> I remember there being some of the other common message for little things
> that you just tell it to go ahead and fix. But the above error was a brick
> wall and would keep me from going multi-user. Ultimately I had to
> comment-out the line in fstab:
>
> #/dev/ad6s1c/data   ufs rw  2   2
>

Certainly wrong in 4.x, I suspect also wrong in 5.x.
Do you have a line mounting ad4s1c for the other disk?

> So I could at least boot. And that's the way I've been ever since.
>
> Trying to mount it now gives:
>
> su-2.05b# mount -r /dev/ad6s1c /data
> mount: /dev/ad6s1c on /data: incorrect super block
>
> And so we stand.

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


Re: growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Nate Lawson
> |# growfs /dev/vinum/data
> | We strongly recommend you to make a backup before growing the Filesystem
> |=20
> |  Did you backup your data (Yes/No) ? Yes
> | new file systemsize is: 78997019 frags
> | growfs: wtfs: write error: 631976157: Inappropriate ioctl for device
> |=20
> | And well, it does not work that good...
> | Any hints ?
>
> Ok, no matter what I do, I can't grow this filesystem. I'm wondering if
> there's a bug somewhere in growfs or if it's because of vinum or...

growfs(8) was never fully updated for UFS2 and probably still uses old
disklabel(8) ioctls.  This is almost certainly a growfs bug.  You should
compile it with -g and do a breakpoint to find what operation produces
that error message.

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


ACPI and 4.9?

2004-01-06 Thread Eric F Crist
Hello List,

I have ACPI working on a desktop running 5.1 and everything works great.  If I 
press the power button, the system shutsdown correctly, the monitor shuts off 
after 30 minutes, etc.  I have a laptop that I'm not using 5.1, but 4.9 
instead (for reasons, see previous posts re: mouse).  According to the 
FreeBSD handbook, I can implement ACPI in 4.9 (rather than APM) by simply 
adding device acpi to the kernel configuration.  I tried this and get:

device acpi unknown

What should I do?  Please point me to the correct FM.  

TIA!
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp request problem with firewall

2004-01-06 Thread Terry Singh
thanks for the reply. i have not checked up on item 2 but the redirection
problem has a solution outlined at
http://www.openbsd.org/faq/pf/rdr.html#rdrnat
which actually works.
this method means for every redirected server that has a public address on the
external interface on the firewall, i would need 2 sets of rdr rules: 1 for the
mapping/redirecting from LAN to WAN interface and another for just the LAN
interface itself (for everytime a LAN server asks for resources using the
external address of another server in its LAN segment).

i will post further on the ftp problem i am having, i hope.

--- horio shoichi <[EMAIL PROTECTED]> wrote:
> On Mon, 29 Dec 2003 16:30:40 -0800 (PST)
> Terry Singh <[EMAIL PROTECTED]> wrote:
> > this is my first post to freebsd questions. 
> > 
> > MY NETWORK
> > 
> > Internet -- WAN_IF | FIREWALL - 5.1 RELASE | LAN_IF -- LAN network
> > 
> > The WAN_IF has several public addresses as aliases. I have about 20 servers
> in
> > the LAN that require various services allowed to the public Internet. 
> > 
> > I basically am doing a "bimap" one to one mapping per server in the LAN.
> > This all works great, meaning I can surf etc etc from any LAN server to the
> > Internet and also, from the Internet I can get published services on LAN
> > servers. 
> > 
> > Here's the problem:
> > I already mentioned that each server with a 192.168.50.x address is
> "bimap"ed
> > to a public address. The problem is that if I am on any of the LAN servers,
> and
> > want to connect to the public address of a server in the LAN, I CANNOT.
> > Now first of, I could connect using private addresses and of course this
> works
> > like it should. But our applications have real DNS names coded in the apps
> so I
> > need this to work. 
> > 
> > I know it has something to be with proxy arp so I even tried placing this
> line
> > in sysctl.conf: net.link.ether.inet.proxyall=1.\
> > no luck.
> > 
> > ANY IDEAS?
> > 
> > --
> > Second problem
> > One of the LAN servers is a FTP server. From the Internet, I can only
> connect
> > using ACTIVE MODE even though I allow both 20/21/tcp inbound. Here's what
> > happens when passive mode is used: The initial connection is accepted, but
> then
> > the server sends its private address instead of its proper public address!
> Of
> > course it's not gonna work! So I forced active mode and voila! it worked.
> > What's the fix for this bugger? I now outbound FTP has some built-in proxy
> ftp
> > in freebsd but what about inbound?
> > 
> > thanks, tsingh.
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing.
> > http://photos.yahoo.com/
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> > 
> 
> 1. The network configuration like yours is known not to work. The reason and
> workarounds are best detailed here.
> 
>   http://www.openbsd.org/faq/pf/rdr.html#reflect
> 
> 2. The wu-ftp and proftp have the ability to advertize arbitrary address.
> There may be others, but I don't know.
> 
> 
> 
> horio shoichi
> 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


switching from sendmail to postfix

2004-01-06 Thread Markus Espenhain
Hello all,

IÅm running an FreeBSD 4.9 System and from scratch is an sendmail MTA installed and 
active.

I would use postfix as my MTA.
How should I switch to postfix at best?

Has someone a suggestion?

Thank you!

Greetings from Stuttgart, Germany

Markus

-- 
Markus Espenhain Fon:  +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbRFax:  +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart  Web: http://www.etes.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with amd (automount daemon)

2004-01-06 Thread Ernst de Haan
I've got a problem with amd. This is the error I get when I access my CD-ROM 
drive at /mnt/cdrom/:

/host/localhost/cdrom: mount (amfs_auto_cont): Operation not permitted

I've followed the instructions for configuring automounting on FreeBSD, as I 
found it on the Daemonnews site.

Any hints as to what this error may indicate? 

Here's some more information on the pertaining system:

FreeBSD 4.9-STABLE
Dual P3-450 (but currently with UP kernel)

My /etc/amd.map file:
http://people.freebsd.org/~znerd/amd.map

Output of dmesg -a:
http://people.freebsd.org/~znerd/dmesg.out

Ernst

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


Re: growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Mathieu Arnold


+-Le 06/01/2004 19:18 +0100, Mathieu Arnold écrivait :
| Ok, I could not wait, so I did :
| a create with :
| drive vinumdrive1 device /dev/ad3e
| sd name data.p0.s1 drive vinumdrive1 len 0
| 
| then :
| attach data.p0.s1 data.p0
| 
| That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy
| :)
| 
| Now, growfs, so, I launch it :
| 
|# growfs -N /dev/vinum/data
| new file systemsize is: 78997019 frags
| Warning: 4312 sector(s) cannot be allocated.
| growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size
| 4096 using 417 cylinder groups of 740.00MB, 23680 blks, 47360
| inodes. with soft updates
| then, the superblocks backup.
| 
| And then, I do :
|# growfs /dev/vinum/data
| We strongly recommend you to make a backup before growing the Filesystem
| 
|  Did you backup your data (Yes/No) ? Yes
| new file systemsize is: 78997019 frags
| growfs: wtfs: write error: 631976157: Inappropriate ioctl for device
| 
| And well, it does not work that good...
| Any hints ?

Ok, no matter what I do, I can't grow this filesystem. I'm wondering if
there's a bug somewhere in growfs or if it's because of vinum or...

-- 
Mathieu Arnold

pgp0.pgp
Description: PGP signature


Re: Poor SCSI disk preformance [more on camcontrol please!]

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Derek Marcotte said:
> > Aha.  Check the WCE bit to see if your write cache is enabled on
> > the disk
> 
> Bingo:
> 
> # dd if=/dev/zero of=/dev/da0 bs=64k &
> # iostat -K -w 1 da0
>   tty da0 cpu
>  tin tout  KB/t tps  MB/s  us ni sy in id
>0   43 64.00 223 13.92   1  0  6  1 92
> 
> I guess I don't have a page 2 for some reason...  This will probably
> cause this bit to be reset on reboot as well, because it is the
> current page?

Possibly.  Power the drive off and see if the change sticks. :)

> Is it prudent to attempt to set the WCE:1 on all drives that get
> attached?  I will be formatting a large number of greatly varying
> drives, including ATA converted to SCSI type drives, and really
> old, and really new drive types.

I've never seen WCE hurt sequential write access, so it's probably safe
to turn on.  If you're paranoid about possibly getting damaged
filesystems during power outages, you might want to turn it back off,
although every year or so there's a thread that pops up debating its
merits.
 
> I've had a look at man camcontrol earlier, but I don't know
> enough about the inner workings of SCSI for this to mean much to
> me.  It seems to be pretty obscure (like how would I know to
> enable features/specs to edit a modepage?), but extremely
> powerful.  Where can I read more about this, is there a good
> camcontrol FAQ/tutorial out there that explains what these
> details actually mean/do?

Everything under "camcontrol modepage" and "cmd" is pretty much
straight from the SCSI spec.  You can buy copies of it from ANSI (I
think you can download draft copies from www.t10.org somewhere), and
sometimes disk vendors will ship copies with vendor-specific info. 
About 15 years ago, I bought a Maxtor disk that didn't include the
little sheet saying which jumpers were which SCSI id.  I called up and
asked them to send me a copy, and they sent me the whole reference
manual for the drive, detailing every SCSI command and modepage.

-- 
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: Slow boot when not plugged into network

2004-01-06 Thread Olaf Hoyer
On Tue, 6 Jan 2004, Duane Winner wrote:

> Does anybody know of a workaround for this?
>
> When I'm not connected to my ethernet network, it takes an extra 90
> seconds to boot my FreeBSD laptop, as it hangs on this boot message
> before timing out:
>
> "Doing initial network setup: hostname"
>
> I'm guessing it has something to do with DNS lookup and can't reach the
> server(s), but I'm not sure.

Hi!

Will most likely be the dhcp request, which of course does not find any
dhcp server.

When you are sitting at the console, simply press CTRL-C after "Doing
initial network setup: hostname" ist displayed and the box is sitting
there. The process dhclient will then be terminated and the boot process
continues.

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Commercial Distribution?

2004-01-06 Thread Udo Schröter (Trionic Technologies)
> Wind River Systems and other vendors will sell FreeBSD CDs, and there are
> examples of dedicated systems using FreeBSD that come to mind, such as the
> Nokia IP firewall platform.  Or were you talking about a "commercial
distro"
> in terms of "a company that provides/charges for technical support"...?
:-)

Yes, something like that. I guess so far it has been done only with
Linux-based systems, eh? I couldn't find any RedHat-like vendors out there.
Anyway, it was just a dumb newbie question for better "insight" as to what's
out there...

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


Re: Slow boot when not plugged into network

2004-01-06 Thread Nils Vogels
Duane Winner wrote:

Does anybody know of a workaround for this?

When I'm not connected to my ethernet network, it takes an extra 90
seconds to boot my FreeBSD laptop, as it hangs on this boot message
before timing out:
"Doing initial network setup: hostname"

I'm guessing it has something to do with DNS lookup and can't reach the
server(s), but I'm not sure.
 

My best guess is indeed also a DNS lookup which goes into nothingness ;-)

You should be able to avoid the DNS query if you have the hostname it is 
trying to lookup (such as your FQDN) in your /etc/hosts file.

HTH & HAND,

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.

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


Re: Two unrelated questions

2004-01-06 Thread Lowell Gilbert
"Scott Miller" <[EMAIL PROTECTED]> writes:

> 1)  Does the 5.x branch of freebsd support 32 bit cardbus? or will it be
> added to 4.x soon?

Yes in 5.x, no in 4.x.

> 2)  I have installed freebsd 4.9  on my Dell Inspiron 8100 laptop, when I
> try to configure XFree86 I have to use the text based tool.  After doing
> that, when I run startx I get a grainy desktop that almost covers my screen,
> but not quite, and has only a clock window, a login window, and an xterm
> window, and nothing else.  Where am I going wrong?

That's twm.  [I like it.]  If you want a different window manager,
install a different window manager.  The FreeBSD Handbook goes into
great detail on this.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Commercial Distribution?

2004-01-06 Thread Chuck Swiger
Udo Schröter (Trionic Technologies) wrote:
[ ... ]
Btw, I looked really carefully and couldn't find any FreeBSD-based
commercial distro (if you don't count OS X). Am I just to stupid to find one
or is this an idea whose time has not come yet?
Wind River Systems and other vendors will sell FreeBSD CDs, and there are 
examples of dedicated systems using FreeBSD that come to mind, such as the 
Nokia IP firewall platform.  Or were you talking about a "commercial distro" 
in terms of "a company that provides/charges for technical support"...?  :-)

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Jerry McAllister
> 
> --- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > > (is disklabel/bsdlabel only meant to be run on slices and not 
> > > bsd-partitions?). 
> > 
> > You have it backwards in this question.   Disklabel is meant to run
> > only on bsd partitions and not slices.   Slices (1-4) are the major 
> > divisions of the disk and partitions (a-h) are divisions within slices. 
> > Fdisk is what creates slices.

First, as I look at what I wrote,  I said this wrong in two ways - because
I didn't read carefully and had just come off a bad headache, probably
caused by breathing spray paint fumes - always use in well ventilated
area.  

The biggie!!  disklabel DOES work on slices and CREATES partitions.   
It does not work on partitions - it creates them which is where my 
sleepy [Groggy has already been claimed by a famous contributer] got 
lost.   So, trying to run disklabel on ad0s1c would definitely cause 
an error.

The other thing is, I should have left out the word 'only' (after writing
the rest of it correctly, of course) because disklabel can, but usually 
shouldn't, be run on the whole disk  ad0 (as apposed to just a slice ad0s1) 
which will create a "dangerously dedicated" disk.  There is no real danger 
as long as you only use FreeBSD on it and don't want to multi-boot it or 
anything.  Since you only lose the tiny bit by slicing it (63 sectors), 
you should just always first slice it (with fdisk) - even if that means 
making it all one big slice.  That will make sure things are happy should 
you get weird creative ideas later on.

> Ok, well the reason I thought it might be the other way is because if you
> run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
> is working, or /dev/ad0s1 on another machine I have access to) it works fine
> (and reports an offset of 0),  but if you run it on the partition
> (/dev/ad0s1c) you get an offset of 63 and errors like:

Yes, the offset in disklabel is from the beginning of the slice.  I am not 
sure what it is trying to do if you try to further partition a partition.  
Anyway, the 'c' partition is a special one that refers to the whole slice 
regardless of the partitions it has been carved in to.  I would have to 
go wading through code to figure out how it is handled differently.  Just 
for fun, try doing a disklabel on ad0s1a or something like that and see 
what it does - on a disk you can afford to trash.

Anyway, sorry for the first round of mis-statement.

jerry

> 
> partition c: partition extends past end of unit
> bsdlabel: partition c doesn't start at 0!
> bsdlabel: An incorrect partition c may cause problems for standard system
> utilities
> partition f: partition extends past end of unit
> 
> So why does disklabel/bsdlabel produce errors when run on the partition even
> when the disk is fine, if it is meant to be run on partitions and not
> slices?
> 
> Trying to learn... thanks!
> ___
> [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: how to use lseek() system call with over 2G files?

2004-01-06 Thread Lowell Gilbert
Dan Nelson <[EMAIL PROTECTED]> writes:

> In the last episode (Jan 06), Alex said:
> > Hi everybody!
> > 
> > Some time ago there wasn't any possibility to create disk file larger 
> > than 2G and there was no problem with lseek().
> 
> Some time ago meaning around 1997?  FreeBSD has had 64-bit file access
> since at least 2.2.0.  I don't remember if earlier versions had support
> for it or not.

off_t has *never* been anything but 64-bit in FreeBSD.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Poor SCSI disk preformance [more on camcontrol please!]

2004-01-06 Thread Derek Marcotte
> Aha.  Check the WCE bit to see if your write cache is enabled
on the
> disk

Bingo:

# dd if=/dev/zero of=/dev/da0 bs=64k &
[1] 2253
# iostat -K -w 1 da0
  tty da0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   2   38  0.00   0  0.00   1  0  1  0 98
   0   43 64.00 223 13.91   0  0  8  1 91
   0   43 64.00 223 13.92   0  0  5  0 95
   0   43 64.00 223 13.92   0  0  8  1 91
   0   43 64.00 223 13.92   0  0  6  0 94
   0   42 64.00 223 13.92   0  0  5  1 94
   0   43 64.00 223 13.92   1  0  6  1 92

> Set it by running "cmcontrol mode da0 -m 8 -e -P 2", and set
"WCE: 1"

I needed to modify your command slightly to:
camcontrol mode da0 -m 8 -e -P 0

I guess I don't have a page 2 for some reason...  This will
probably cause this bit to be reset on reboot as well, because it
is the current page?

Is it prudent to attempt to set the WCE:1 on all drives that get
attached?  I will be formatting a large number of greatly varying
drives, including ATA converted to SCSI type drives, and really
old, and really new drive types.

I've had a look at man camcontrol earlier, but I don't know
enough about the inner workings of SCSI for this to mean much to
me.  It seems to be pretty obscure (like how would I know to
enable features/specs to edit a modepage?), but extremely
powerful.  Where can I read more about this, is there a good
camcontrol FAQ/tutorial out there that explains what these
details actually mean/do?

Thanks for the help!
Derek

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Jerry McAllister <[EMAIL PROTECTED]> wrote:
> > (is disklabel/bsdlabel only meant to be run on slices and not 
> > bsd-partitions?). 
> 
> You have it backwards in this question.   Disklabel is meant to run
> only on bsd partitions and not slices.   Slices (1-4) are the major 
> divisions of the disk and partitions (a-h) are divisions within slices. 
> Fdisk is what creates slices.

Ok, well the reason I thought it might be the other way is because if you
run disklabel (bsdlabel) on a slice (such as /dev/ad4s1 on my machine, which
is working, or /dev/ad0s1 on another machine I have access to) it works fine
(and reports an offset of 0),  but if you run it on the partition
(/dev/ad0s1c) you get an offset of 63 and errors like:

partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition f: partition extends past end of unit

So why does disklabel/bsdlabel produce errors when run on the partition even
when the disk is fine, if it is meant to be run on partitions and not
slices?

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


Re: What should I install?

2004-01-06 Thread Lowell Gilbert
"Teilhard Knight" <[EMAIL PROTECTED]> writes:

>  In the
> official FreeBSD web page, they recommend to install 5.1.

Depending on your application.  Remember the caveats:
http://www.freebsd.org/releases/5.1R/early-adopter.html

Also bear in mind that 5.2 will be out within a few weeks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Updating Ports Index

2004-01-06 Thread Chris
On Tuesday 06 January 2004 1:33 pm, Rishi Chopra wrote:
> I installed perl, so I'm no longer getting the 'perl: not found' message
> (any reason why perl isn't installed when installing the ports tree??)

Just because you installed the ports tree does not mean you installed Perl. If 
you did via the install.

> The problem now is that the 'make index' command seems to take forever:

This does take time if on a slower box.

-- 
Best regards,
Chris

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


Re: apache+php

2004-01-06 Thread Kliment Andreev
>[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to gethostbyname
>("GASPOFWIPV6LAB")
>any suggest?

Edit your httpd.conf and search for ServerName directive.
Put something like ServerName www.xyz.com or whatever
Then restart Apache...

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


Re: Poor SCSI disk preformance

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Derek Marcotte said:
> Actually, just for kicks:
> 
> # dd if=/dev/da0 of=/dev/null bs=128k &
> [1] 1839
> # iostat -K -w 1 da0
>   tty da0 cpu
>  tin tout  KB/t tps  MB/s  us ni sy in id
>1   42 64.00 607 37.92   1  0  1  0 98
>0   43 64.00 222 13.87   0  0  2  0 98
>0   43 64.00 223 13.92   0  0  0  2 98
>0   42 64.00 224 13.98   0  0  2  0 98
>0   43 64.00 222 13.86   0  0  3  0 97
>0   43 64.00 223 13.92   0  0  1  2 98
>0   43 64.00 223 13.92   0  0  2  1 97
>0   42 64.00 223 13.92   0  0  3  0 97
>0   43 64.00 223 13.92   0  0  1  0 99
> 
> Seems to give me the performance that I expect...

Aha.  Check the WCE bit to see if your write cache is enabled on the
disk:

# camcontrol mode da0 -m 8 | grep WCE

If it's not set, that could be contributing to the speed difference
between reads and writes.  Set it by running "cmcontrol mode da0 -m 8
-e -P 2", and set "WCE: 1".

-- 
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: apache+php

2004-01-06 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

GASPOFWIPV6LAB# uname -a
FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan  1 08:04:10
CET 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/GASPO  i386
i have install from pkg_add the packages:
apache-1.3.28
mysql-client-4.0.15
PHP
---error--
when i do :
apachectl start
usr/local/sbin/apachectl start: httpd could not be started
--
so,i have test also to compile httpd on my fbsd from apache.org,
and if i compile it without modules apache start,if i compile with all modules
like php cgi,apache cannot be start,the only error is:(var log)
[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to gethostbyname("GASPOFWIPV6LAB")
any suggest?
 

Well, that is a DNS type issue.  Give your host a
name either in DNS or /etc/resolv.conf, and try
again.  Or, disable mod_unique_id.
I would hesitate in saying that this will fix your problem,
though; that's just an "alert".  Perhaps something else is
wrong as well.
I generally prefer to install apache/PHP/MySQL from
the ports tree, SQL first, PHP last.  Works pretty well;
haven't had many issues since I started doing it
that way.
HTH,

Kevin Kinsey

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> I think you already have a copy (the data at offset 32 seems to be it).
> If you want, do a
> 
> # dd if=/dev/ad6s1 skip=16 count=16 of=/some/file

ok, done. Is there a way to use fsck_ufs -b now to fix this? Or is that
premature? And if I remember correctly, that doesn't actually APPLY the
alternate superblock... it just allows fsck to run while utilizing an
alternate one. So we need to use some sort of dd command to copy it to the
proper location, correct?

> Please tell me everything what you tried to use to mount/fsck the drive
> (and the results, of course).

Well, my memory is sketchy so I don't know how much use it'd be. But I was
saving a file to /data (ad6) when the system hung. Then it rebooted on its
own. Of course fsck ran on bootup but it gave up and told me I had to run it
manually. When I did (I don't remember any parameters I specifically used,
if any) I got:

/dev/ad6s1c
Cannot find file system superblock
/dev/ad6s1c: NOT LABELED AS A BSD FILE SYSTEM

I remember there being some of the other common message for little things
that you just tell it to go ahead and fix. But the above error was a brick
wall and would keep me from going multi-user. Ultimately I had to
comment-out the line in fstab:

#/dev/ad6s1c/data   ufs rw  2   2

So I could at least boot. And that's the way I've been ever since.

Trying to mount it now gives:

su-2.05b# mount -r /dev/ad6s1c /data
mount: /dev/ad6s1c on /data: incorrect super block

And so we stand.

> Try booting from a 4.x floppy and doing it all over again... The FS is
> UFS1, isn't it?

Ummm... doing what all over again? Wipe the disk and redo the partitions? I
hope we're not quite there yet. How does using 4.x give me an advantage over
5.1? I'm not clear on that part.


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


Slow boot when not plugged into network

2004-01-06 Thread Duane Winner
Does anybody know of a workaround for this?

When I'm not connected to my ethernet network, it takes an extra 90
seconds to boot my FreeBSD laptop, as it hangs on this boot message
before timing out:

"Doing initial network setup: hostname"

I'm guessing it has something to do with DNS lookup and can't reach the
server(s), but I'm not sure.

I had a similar problem in the past when I used Debian, but never really
addressed it. For the most part, I can deal with it, but sometimes it is
embarrassing, like when I'm doing a presentation or something and
everybody is twiddling their thumbs while waiting for me.

Thanks for any advice.



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


Re: Updating Ports Index

2004-01-06 Thread Rishi Chopra
I installed perl, so I'm no longer getting the 'perl: not found' message 
(any reason why perl isn't installed when installing the ports tree??)

The problem now is that the 'make index' command seems to take forever:

idfubar# make index
Generating INDEX-5 - please wait..
And then there's no additional output.  Is the server working on the 
request, or has the request hung?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rishi Chopra
Sent: Monday, January 05, 2004 5:23 PM
To: [EMAIL PROTECTED]
Subject: Updating Ports Index
For some reason, I can't seem to update the index for the ports database:

idfubar# cd /usr/ports
idfubar# make index
Generating INDEX-5 - please wait..perl: not found
perl: not found
Done.
I also tried attempting my first 'portsdb -Uu' after a successful CVSUp, 
but am running into some problems:

idfubar# portsdb -Uu
Updating the ports index ... perl: not found
/usr/local/sbin/make_describe_pass2:70:in `write': Broken pipe 
(Errno::EPIPE)
  from /usr/local/sbin/make_describe_pass2:70:in `puts'
  from /usr/local/sbin/make_describe_pass2:70
failed to generate INDEX!
portsdb: index generation error

Can anyone explain why I might be getting these errors?  My installation 
was a minimal install, do I need to install something else for the 'make 
index' command to work properly?

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


 

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


Re: What should I install?

2004-01-06 Thread Teilhard Knight
> On Monday 05 January 2004 11:34 pm, Teilhard Knight wrote:
> > I have running FreeBSD 4.7 in one computer and version 5.0 "was not for
> > newbies". I see now, version 4.9 is out, but version 5.1 is too. In the
> > official FreeBSD web page, they recommend to install 5.1.
> >
> > Now, I haven't grown up from the newbie category, so the question is:
> > Should I install 5.2 or 4.9, perhaps 4.8, in another computer?
> >
> > Teilhard Knight
> > The Extraterrestrial
> >
> > Change "privacy" for "softhome" if you want to intrude my inbox
>
> I would recommend you download and install 5.1 if you can.  The upgrade
from
> 4.x to 5.x is nearly impossible and you're better off doing a fresh
install.
> I've been using 5.x for quite a while now, even on a production web server
> with little problems.  There's also better hardware support.  Expect to
see a
> few bugs, but they're getting taken care of pretty quickly.

Thanks a lot. A few months ago, in the times of 4.7, everybody was against
newbies to install 5.0. I see you guys have tested and approved version 5.x.
I'll start downloading 5.1 right away.

Teilhard Knight
The Extraterrestrial

Change "privacy" for "softhome" if you want to intrude my inbox


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


apache+php

2004-01-06 Thread gaspo1
GASPOFWIPV6LAB# uname -a
FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan  1 08:04:10
CET 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/GASPO  i386

i have install from pkg_add the packages:
apache-1.3.28
mysql-client-4.0.15
PHP
---error--
when i do :
apachectl start
usr/local/sbin/apachectl start: httpd could not be started
--
so,i have test also to compile httpd on my fbsd from apache.org,
and if i compile it without modules apache start,if i compile with all modules
like php cgi,apache cannot be start,the only error is:(var log)
[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to 
gethostbyname("GASPOFWIPV6LAB")
any suggest?




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


Weird stuff after moving to a new MB

2004-01-06 Thread Gary Lum
Hello everyone,
  I'm hoping that someone might be able to give me
some ideas on what to check to rule out a flakey MB.

  I had FreeBSD 5.1 installed on an older Dual 440BX
motherboard which was current with CVS.  I replaced
the board with a 440GX dual. Basically, I took the HD
out of the old system and put into the new since the
boards are pretty similar.The system is working but
there seems to be some quirks such as the Onboard NIC
will not pick up a connection( IT is recognized by the
System and uses the same driver (FXP)) and the floppy
drive will not read a floppy at anytime (At boot too).
I've rebuilt world and kernel and still have the same
problems.
  I'm also noticing now that after reconfiguring X, my
mouse is chunky. To be honest, it's chunky in the
mouse setup in /stand/sysinstall too.

I'm leaning towards a flakey board but have to admit
my naivity in that it may be due to not reinstalling
from CD. Suggestions, comments?


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Commercial Distribution?

2004-01-06 Thread Udo Schröter (Trionic Technologies)
> You're creating a "turnkey" system with a known and well-defined layout
which
> includes all of the dependencies to run your proprietary software.  Look
into
> "man release", which discusses how to customize a build and create CD
images.

Yes, I already made a few builds. We're currently (mainly) looking into how
we can make the installer more friendly for corporate helpdesks/IT personnel
and how to customize KDE so users won't complain about this not being
Windows so much ;)

> You should also consider managing your software and it's dependencies as a
> port, even though you might never submit the port of your software.  On
the
> other hand, some people like anti-virus vendors have their commercial
products
> available as a port on a time-limited trial basis (security/vscan, , but
> that's up to you...

Yes, I'm planning to make two packages. One to install all the modifications
and preferences to applications that don't need to be recompiled (this patch
would be applied after install). The other package would contain the actual
proprietary client software. We discussed the trial idea last year - maybe
we will distribute the client and trial users can connect to a public test
serever - we haven't decided yet (however, it is not a consumer product).

> You're welcome to use BSD software in a commercial distribution.  Have
fun.
> If you contribute useful things back, that's nice, but you don't even have
to
> do that much.

Great, we had many idea for little tools and stuff like that (if only a day
had 50+ hours!)

Btw, I looked really carefully and couldn't find any FreeBSD-based
commercial distro (if you don't count OS X). Am I just to stupid to find one
or is this an idea whose time has not come yet?

> IANAL: I'd worry more about falling in the shower and breaking my neck
than I
> would worry about SCO.

Yeah, sometimes I just wish some SCO people would do the
shower-neck-breaking thing. ;)

> Well, you don't have to, but I would really appreciate it if you made
> sure that send-pr was either removed or changed to submit bugs to
> yourselves.  You've probably already thought of this, but I wanted to
> mention it, just in case.

Yes, we thought of that. I just hope we don't overlook anything obvious! But
on the other hand, our customers even call *us* when their Windows breaks,
so you're probably not in danger anyway...

Thanks a lot for the advice, that was really quick!
I'll keep in touch and tell you how the project went, OK?

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Jerry McAllister
> 
> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> 
> > I can't find a zero-bad floppy in this place! It's all the holidays!
> 
> That's what AOL disks (vs. discs) used to be good for. :)
> 
> > With `c', they're all offset by 63(why?). But still, you can mount the
> > partitions on the ad4s1, so the disklabel should be ok...
> 
> Yeah. Starts to suggest what we were thinking was a evidence related to the
> problem is really unrelated and "normal" behavior (is disklabel/bsdlabel
> only meant to be run on slices and not bsd-partitions?). 


Sorry, I haven't been following this whole thread and so am not responding 
to your real problem/question.   But, just in regards to this fragment:

You have it backwards in this question.   Disklabel is meant to run
only on bsd partitions and not slices.   Slices (1-4) are the major 
divisions of the disk and partitions (a-h) are divisions within slices. 
Fdisk is what creates slices.

jerry


>Are we looking in
> the wrong place? What about that potentially good superblock we found a
> while ago? (the skip 16 one that contained "/data" in it) Should we be
> saving that somewhere while we can? (how?)
> 
> Anyone out there know 5.x file-system dirtiness like the back of their hand?
> C'mon, you know you wanna join the fun. :)
> 
> Where's my time machine so I can go back and back up this drive... ah well
> I'm learning a ton.
> ___
> [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 does inetd default to enable

2004-01-06 Thread fbsd_user
That may be the normal behavior, but it's wrong.

Why run the inetd daemon consuming resources when all the
optional servers  it can launch are commented out in inetd.conf?

If not selected in sysinstall inetd should not start.

The statement in /etc/defaults/rc.conf should be changed to
enable="NO"
Then it would be correct.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Massimiliano Stucchi
Sent: Tuesday, January 06, 2004 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: why does inetd default to enable

On Tue, 6 Jan 2004 12:57:12 -0500
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> The 4.9 /etc/defaults/rc.conf file has inetd_enable="YES"
>
> Why is that?

That's normal behaviour. Inetd is active, but nothing is enabled by
default.

> During the sysinstall I answered NO to inetd question.

You answered no to a question asking you if you wanted to customize
inetd's behaviour, not if ou wanted to enable it.

> Is this not an error?

nope.

Cheers
--

Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia
WillyStudios.com | http://www.gufi.org
[EMAIL PROTECTED] | [EMAIL PROTECTED]
"People who make no mistakes do not usually make anything"

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


hard time with routing

2004-01-06 Thread Markus Kovero
Well, I have this problem again, I hope I get help at this time, not big
problem, its just something I'm missing here.

interface to net: ep0
interface to lan: xl0
ep0 has 2001:a68:2:10::2/64 with default gw 2001:a68:2:10:: and she works
fine.
xl0 should have 2001:a68:2:10:dead::/96

ifconfig ep0 inet6 2001:a68:2:10::2/64
route add -inet6 default 2001:a68:2:10::

fine. ipv6 works now, then:

ifconfig xl0 inet6 2001:a68:2:10:dead::/96

and situation is like this(ping -S 2001:a68:2:10:dead::) :

--- 2001:a68:2:10::2 ping6 statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 0.317/0.367/0.462/0.067 ms

--- 2001:a68:2:10:: ping6 statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

lan interface can ping to internet interface but no gw?
ip and ip6 forward bits are 1.
How I should route that 96-block so it would work?

Greets Markus Kovero

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 09:48:40 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> 
> > I can't find a zero-bad floppy in this place! It's all the holidays!
> 
> That's what AOL disks (vs. discs) used to be good for. :)
> 
> > With `c', they're all offset by 63(why?). But still, you can mount the
> > partitions on the ad4s1, so the disklabel should be ok...
> 
> Yeah. Starts to suggest what we were thinking was a evidence related to the
> problem is really unrelated and "normal" behavior (is disklabel/bsdlabel
> only meant to be run on slices and not bsd-partitions?). Are we looking in
> the wrong place?

After trying out 5.2-RC2, it seems like the offsets reported with the
`c' slice are from the beginning of the disk, not from the beginning of
the slice. That accounts for the +63 difference. I guess it's documented
somewhere, but as I don't use 5.x I haven't read its docs.

> What about that potentially good superblock we found a
> while ago? (the skip 16 one that contained "/data" in it) Should we be
> saving that somewhere while we can? (how?)

I think you already have a copy (the data at offset 32 seems to be it).
If you want, do a

# dd if=/dev/ad6s1 skip=16 count=16 of=/some/file

Please tell me everything what you tried to use to mount/fsck the drive
(and the results, of course).

> Anyone out there know 5.x file-system dirtiness like the back of their hand?
> C'mon, you know you wanna join the fun. :)

Try booting from a 4.x floppy and doing it all over again... The FS is
UFS1, isn't it?

-- 
DoubleF
Why does New Jersey have more toxic waste dumps and California have
more lawyers?

New Jersey had first choice.


pgp0.pgp
Description: PGP signature


RE: why does inetd default to enable

2004-01-06 Thread fbsd_user
Well it does not.
So this is an error which should have PR submitted?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan Nelson
Sent: Tuesday, January 06, 2004 1:02 PM
To: fbsd_user
Cc: [EMAIL PROTECTED] ORG
Subject: Re: why does inetd default to enable

In the last episode (Jan 06), fbsd_user said:
> The 4.9 /etc/defaults/rc.conf file has inetd_enable="YES"
>
> Why is that?
>
> During the sysinstall I answered NO to inetd question.
>
> Is this not an error?

sysinstall should have created an /etc/rc.conf with
inetd_enable="NO"
in it, to override the default.

--
Dan Nelson
[EMAIL PROTECTED]
___
[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 does inetd default to enable

2004-01-06 Thread Massimiliano Stucchi
On Tue, 6 Jan 2004 12:57:12 -0500
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> The 4.9 /etc/defaults/rc.conf file has inetd_enable="YES"
> 
> Why is that?  

That's normal behaviour. Inetd is active, but nothing is enabled by
default.

> During the sysinstall I answered NO to inetd question.

You answered no to a question asking you if you wanted to customize
inetd's behaviour, not if ou wanted to enable it.

> Is this not an error?

nope.

Cheers
-- 

Stucchi Massimiliano | Gruppo Utenti FreeBSD Italia
WillyStudios.com | http://www.gufi.org 
[EMAIL PROTECTED] | [EMAIL PROTECTED]
"People who make no mistakes do not usually make anything"



pgp0.pgp
Description: PGP signature


wicontrol output

2004-01-06 Thread Proctor, Matthew
can anyone help with this please - it's very frustrating.
 
what does the Channel list value mean?
 
thanks
Matt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ps: warning: /var/run/dev.db: No such file or directory

2004-01-06 Thread Ceri Davies
On Tue, Jan 06, 2004 at 04:10:31PM +0100, David Landgren wrote:
> I recently rebooted a server that had been running for many months. I 
> haven't touched the kernel or userland programs since it went into 
> production.
> 
> The server was rebooted with 'shutdown -h now', powered down, and then 
> later restarted.
> 
> I've since noticed that cron didn't restart, which is odd, but fixable, 
> but more importantly, when I run ps, it spits out 'ps: warning: 
> /var/run/dev.db: No such file or directory' (although, as far as I can 
> tell, the output is perfectly reasonable).
> 
> I'm wondering if one is a symptom of the other. In any event, 
> /var/run/dev.db is most certainly not there.

You don't need to reboot - just run dev_mkdb.

ceri

-- 


pgp0.pgp
Description: PGP signature


Re: Commercial Distribution?

2004-01-06 Thread Ceri Davies
On Tue, Jan 06, 2004 at 05:22:55PM +0100, Udo Schr?ter (Trionic Technologies) wrote:
> 
> Are there any FreeBSD references that MUST be taken out / MUST be left in?

Well, you don't have to, but I would really appreciate it if you made
sure that send-pr was either removed or changed to submit bugs to
yourselves.  You've probably already thought of this, but I wanted to
mention it, just in case.

Thanks,

Ceri (FreeBSD bugmeister)

-- 


pgp0.pgp
Description: PGP signature


Re: Poor SCSI disk preformance

2004-01-06 Thread Derek Marcotte
> I wouldn't say that dd is the greatest benchmarking tool. You
may want to
> try benchmarks/rawio.
I'll check that out just for kicks, but I _actually want_ to
write zeros to the drive first, not just as a benchmark.  The
reasoning for this is that I'm trying to create a dedicated box
to format HDDs in parallel.  I wish to first zero the drives to
make data recovery without an electron microscope difficult.

Then, to test for bad sectors I do a checksum of the number of
zero bytes written to disk, and then I read back from the disk
and compare checksums. Not exactly an extensive test, and perhaps
there is a verify option or trick in dd that I'm not aware of.  I
think that this would catch any blatantly bad drives...

If not, there are 2 full disk operations that should be going
faster.

Actually, just for kicks:

# dd if=/dev/da0 of=/dev/null bs=128k &
[1] 1839
# iostat -K -w 1 da0
  tty da0 cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   1   42 64.00 607 37.92   1  0  1  0 98
   0   43 64.00 222 13.87   0  0  2  0 98
   0   43 64.00 223 13.92   0  0  0  2 98
   0   42 64.00 224 13.98   0  0  2  0 98
   0   43 64.00 222 13.86   0  0  3  0 97
   0   43 64.00 223 13.92   0  0  1  2 98
   0   43 64.00 223 13.92   0  0  2  1 97
   0   42 64.00 223 13.92   0  0  3  0 97
   0   43 64.00 223 13.92   0  0  1  0 99

Seems to give me the performance that I expect...


> Also, try monitoring diffferent types of transfers to
> and from another physical disk with iostat.
Actually, interestingly enough, when I copy a file, or do a
newfs_msdos I only get 0.06-0.89MB/s transfers, which is what
first tipped me off to the problems...  Obviously less
acceptable...

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


growfs problem [was Re: Adding a drive in vinum]

2004-01-06 Thread Mathieu Arnold
Ok, I could not wait, so I did :
a create with :
drive vinumdrive1 device /dev/ad3e
sd name data.p0.s1 drive vinumdrive1 len 0

then :
attach data.p0.s1 data.p0

That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy :)

Now, growfs, so, I launch it :

# growfs -N /dev/vinum/data
new file systemsize is: 78997019 frags
Warning: 4312 sector(s) cannot be allocated.
growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size 4096
using 417 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
with soft updates
then, the superblocks backup.

And then, I do :
# growfs /dev/vinum/data
We strongly recommend you to make a backup before growing the Filesystem

 Did you backup your data (Yes/No) ? Yes
new file systemsize is: 78997019 frags
growfs: wtfs: write error: 631976157: Inappropriate ioctl for device

And well, it does not work that good...
Any hints ?

-- 
Mathieu Arnold

pgp0.pgp
Description: PGP signature


Re: Abit KD7-A KT400A

2004-01-06 Thread karbassa
Subhro wrote:

Don't worry,
Go ahead with the install. IT will work
Regards
Subhro
Subhro Sankha Kar
Indian Institute of Information Technology
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of karbassa
Sent: Monday, January 05, 2004 11:53 PM
To: [EMAIL PROTECTED]
Subject: Abit KD7-A KT400A
Dear All;

Has any body running FreeBsd 4.XX on Abit KD7-A KT400A motherboard??

The above motherboard has the following specification:

Abit KD7-A KT400A USB2+ LAN + 6CH.
It also uses the VIA KT400A / VT8235CE chipset.
I know FreeBSD supports 8235 chipset, but I have not seen any thing
about the 8235CE chipset.
According to via web site, the 8235CE is an enhanced version of 8235
chipset, and looks as there is hardly any difference between the above
chipset.
So any of you gus has any expricence with the above motherboard I would
like to hear from you.
Kind Regards

P.S Since I am not part of the "[EMAIL PROTECTED]", I would
be grateful if you could send a reply to my email address.
My Email Address: [EMAIL PROTECTED]

_

The information in this email is confidential.  It is intended
solely for the addressee.  Access to this email by anyone else
is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution is prohibited and may be
unlawful.  If you have received this email in error please delete
it immediately and contact [EMAIL PROTECTED]
_
This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"





This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
 

Dear Subhro,

Any I dea if Sound and Lan chipsets are detected and working under 
FreeBsd ???

if the answer is yes, could you be kind enough to let me know, how did 
you manage to configure them.

Kind Regards

Abbas



P.S Since I am not part of the "[EMAIL PROTECTED]", I would
be grateful if you could send a reply to my email address.
My Email Address: [EMAIL PROTECTED]



_

The information in this email is confidential.  It is intended
solely for the addressee.  Access to this email by anyone else
is unauthorised.  If you are not the intended recipient, any
disclosure, copying, or distribution is prohibited and may be
unlawful.  If you have received this email in error please delete
it immediately and contact [EMAIL PROTECTED]
_
This e-mail has been scanned for all viruses by Star Internet.
The service is powered by MessageLabs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Poor SCSI disk preformance

2004-01-06 Thread Mike Maltese
> It should go faster than 5MB/sec, though.  Seagate's specs say that
> drive should do 14MB/sec max.  UW's top speed is 40MB/sec, so there
> shouldn't be any bottlenecks.

14MB/s is the maximum internal transfer rate. Also, we're talking about
write performance here, which will likely be quite a bit slower than read
performance. As I said before, a more realistic number should be had with
rawio or by measuring actual real-world transfers. Unless all you do is
write zeros with dd all day long, I don't think that that is the best
measure of performance.

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


Re: Commercial Distribution?

2004-01-06 Thread Chuck Swiger
Udo Schröter (Trionic Technologies) wrote:
[ ... ]
I have a question regarding the creation of a branded commercial
distribution based on FreeBSD.
OK.

Here is the thing: my company wants to offer a standard corporate Unix
desktop that is certified (guaranteed) to run our enterprise management
software well. We looked into Linux but, for various reasons, a solution
based on FreeBSD makes more sense for us. Basically we want to release a CD
to our customers which installs our own customized FreeBSD environment,
with our own brand name.
You're creating a "turnkey" system with a known and well-defined layout which 
includes all of the dependencies to run your proprietary software.  Look into
"man release", which discusses how to customize a build and create CD images.

You should also consider managing your software and it's dependencies as a 
port, even though you might never submit the port of your software.  On the 
other hand, some people like anti-virus vendors have their commercial products 
available as a port on a time-limited trial basis (security/vscan, , but 
that's up to you...

If we want to do this, it is clear that we
- must preserve the copyright notices
- should place a description like "based on the FreeBSD Project" on the package
Yes.  Basicly, you should follow and include /COPYRIGHT and 
/usr/src/gnu/COPYING, depending on how much of the documentation and so forth 
you include or remove from your particular distribution.

- redistribute GPLed source if modified
Section 3 of the GPL requires you to redistribute GPLed source (or offer to 
make such source available when asked), even if you ship a binary of that 
GPLed program which has not been modified.  However, if you configure your 
system so that section 3c applies, this becomes easier:

c) Accompany it with the information you received as to the offer
to distribute corresponding source code.  (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
- swap out references to freebsd support list in the distro so our
customers don't spam the community
You should have your own top-level documentation which refers people to your 
support mechanisms, sure.

- honor the redistribution rules of the ports
Yes, you need to pay attention to the licenses of all dependencies.

- should make a donation to the project as profits allow
If you like; no doubt it would be appreciated.

Are there any FreeBSD references that MUST be taken out / MUST be left in? 
What you see is what you get: the BSD license is very simple.

Are there any other legal or technical issues? How do people on FreeBSD
feel about commercial distributions generally? Are we going to get sued by
SCO? (just kidding, sort of)
There are lots of technical details-- while there is a fair amount of 
documentation available for building a release, and many steps are 
deterministic, it really is an iterative process that stops based on 
subjective criteria (yours).

You're welcome to use BSD software in a commercial distribution.  Have fun. 
If you contribute useful things back, that's nice, but you don't even have to 
do that much.

IANAL: I'd worry more about falling in the shower and breaking my neck than I 
would worry about SCO.

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


Re: why does inetd default to enable

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), fbsd_user said:
> The 4.9 /etc/defaults/rc.conf file has inetd_enable="YES"
> 
> Why is that?  
> 
> During the sysinstall I answered NO to inetd question.
> 
> Is this not an error?

sysinstall should have created an /etc/rc.conf with inetd_enable="NO"
in it, to override the default.

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


why does inetd default to enable

2004-01-06 Thread fbsd_user
The 4.9 /etc/defaults/rc.conf file has inetd_enable="YES"

Why is that?  

During the sysinstall I answered NO to inetd question.

Is this not an error?



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


Re: Poor SCSI disk preformance

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Mike Maltese said:
> > I also had (meaning it is not currently attached) a different SCSI
> > drive attached on the bus, with the same results.  Has anyone any
> > tips for this from a FreeBSD point of view?
> 
> I wouldn't say that dd is the greatest benchmarking tool. You may
> want to try benchmarks/rawio. Also, try monitoring diffferent types
> of transfers to and from another physical disk with iostat. I'm not
> sure what your speed expectations are, but you're running a 7200 RPM
> Ultra Wide disk on an Ultra Wide host adapter; not exactly the
> fastest SCSI technology.

It should go faster than 5MB/sec, though.  Seagate's specs say that
drive should do 14MB/sec max.  UW's top speed is 40MB/sec, so there
shouldn't be any bottlenecks.  

-- 
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: Opera7 won't install from ports collection

2004-01-06 Thread Larry Rosenman
CVSup uses a different port.

Did you get the mail I sent with the port included?

LER

--On Tuesday, January 06, 2004 09:42:25 -0800 Dino Vliet 
<[EMAIL PROTECTED]> wrote:

But I installed freebsd through the http proxy server
and that went fine.
I can install all other packages just fine because
I've set the http_proxy environment variable to our
proxy server and everything works fine. Only the cvsup
won't work.
I'm now installing mozilla-firebird:-(

--- Jud <[EMAIL PROTECTED]> wrote:
On Tue, 6 Jan 2004 08:37:58 -0800 (PST), "Dino
Vliet"
<[EMAIL PROTECTED]> said:
> How to get cvsup to get past my proxy-server?
>
>
> --- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> >
> >
> > --On Tuesday, January 06, 2004 07:40:31 -0800
Dino
> > Vliet
> > <[EMAIL PROTECTED]> wrote:
> >
> > > I want to install Opera onto my freebsd
version
> > 4.9
> > > system and in the /usr/ports/www/opera
direcory I
> > > issue a "make install clean"
> > >
> > > I get the following error (see below).
> > > Becausse i think my port is looking for
> > > opera-7.20-20030919 while the ftp servers are
> > offering
> > > opera-7.23-20031119 or something like that.
> > > What can I do about it?
> > >
> > > 1) get the old source (but from where)
> > > 2) use the new one and rename it to
20030919..but
> > I
> > > think that will go wrong
> > >
> > > Can anyone help me with this because I can't
> > browse
> > > the net!!
> > update your ports collection using CVSup.
> >
> > LER
> >
> > >
> > >
> > >
> > > ===>
> > >
**
> > > ===> NOTE: The native version of Opera can not
be
> > > ===> installed at the same time as
linux-opera. If
> > you
> > > ===> already have www/linux-opera installed,
we
> > > ===> recommend you press Ctrl-C now and
deinstall
> > it.
> > > ===>
> > >
**
> > >>>
> > >
> >
opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
> > > doesn't seem to exist in
/usr/ports/distfiles/.
> > >>> Attempting to fetch from
> > >
> >
>
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
> > >>> Attempting to fetch from
> > >
> >
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > >>> Couldn't fetch it - please try to retrieve
this
> > >>> port manually into /usr/ports/distfiles/ and
try
> > > again.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/www/opera.
If you can't ftp or cvsup with the proxy server, I'd
suggest using
another PC to download an updated ports collection,
then the files for
Opera and dependencies (these aren't terribly large,
so it won't take
very long even on a slow connection) and burning
these to a CD.  You can
then use these to update your system that is behind
the proxy server and
build Opera.
Jud


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Erik Trulsson
On Tue, Jan 06, 2004 at 08:32:23PM +0300, Alex wrote:
> Hi everybody!
> 
> Some time ago there wasn't any possibility to create disk file larger 
> than 2G and there was no problem with lseek().
> But as for now we can do it but I looked into headers and found off_t is 
> equal to long -> no more than 2G on i386 machines.
> As far as lseek() is a system call I cannot believe it cannot be used 
> with larger files but how?
> 
> Maybe it's a silly question? :0)

Not a silly question, but one based on false assumptions.

FreeBSD has been able to create files larger than 2G for a long time.
off_t is a 64-bit type, and therefore is quite capable of representing
sizes larger than 2G.  lseek() has no problem handling files larger than
2G.


-- 

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


Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Alex said:
> Hi everybody!
> 
> Some time ago there wasn't any possibility to create disk file larger 
> than 2G and there was no problem with lseek().

Some time ago meaning around 1997?  FreeBSD has had 64-bit file access
since at least 2.2.0.  I don't remember if earlier versions had support
for it or not.

> But as for now we can do it but I looked into headers and found off_t is 
> equal to long -> no more than 2G on i386 machines.

Actually, off_t is equal to __int64_t, which is a long long.  Which
headers are you looking at?

FreeBSD 4.x:
/usr/include/machine/ansi.h:69:#define  _BSD_OFF_T_ __int64_t
/usr/include/sys/types.h:82:typedef _BSD_OFF_T_ off_t; /* file offset */

FreeBSD 5.x:
/usr/include/sys/_types.h:49:typedef__int64_t   __off_t; /* file offset */
/usr/include/sys/types.h:194:typedef __off_t off_t;  /* file 
offset */

-- 
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: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:

> I can't find a zero-bad floppy in this place! It's all the holidays!

That's what AOL disks (vs. discs) used to be good for. :)

> With `c', they're all offset by 63(why?). But still, you can mount the
> partitions on the ad4s1, so the disklabel should be ok...

Yeah. Starts to suggest what we were thinking was a evidence related to the
problem is really unrelated and "normal" behavior (is disklabel/bsdlabel
only meant to be run on slices and not bsd-partitions?). Are we looking in
the wrong place? What about that potentially good superblock we found a
while ago? (the skip 16 one that contained "/data" in it) Should we be
saving that somewhere while we can? (how?)

Anyone out there know 5.x file-system dirtiness like the back of their hand?
C'mon, you know you wanna join the fun. :)

Where's my time machine so I can go back and back up this drive... ah well
I'm learning a ton.


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


Re: Poor SCSI disk preformance

2004-01-06 Thread Mike Maltese
> I also had (meaning it is not currently attached) a different
> SCSI drive attached on the bus, with the same results.  Has
> anyone any tips for this from a FreeBSD point of view?

I wouldn't say that dd is the greatest benchmarking tool. You may want to
try benchmarks/rawio. Also, try monitoring diffferent types of transfers to
and from another physical disk with iostat. I'm not sure what your speed
expectations are, but you're running a 7200 RPM Ultra Wide disk on an Ultra
Wide host adapter; not exactly the fastest SCSI technology.

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


Re: Opera7 won't install from ports collection

2004-01-06 Thread Dino Vliet
But I installed freebsd through the http proxy server
and that went fine.
I can install all other packages just fine because
I've set the http_proxy environment variable to our
proxy server and everything works fine. Only the cvsup
won't work.

I'm now installing mozilla-firebird:-(

--- Jud <[EMAIL PROTECTED]> wrote:
> 
> On Tue, 6 Jan 2004 08:37:58 -0800 (PST), "Dino
> Vliet"
> <[EMAIL PROTECTED]> said:
> > How to get cvsup to get past my proxy-server?
> > 
> > 
> > --- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> > > 
> > > 
> > > --On Tuesday, January 06, 2004 07:40:31 -0800
> Dino
> > > Vliet 
> > > <[EMAIL PROTECTED]> wrote:
> > > 
> > > > I want to install Opera onto my freebsd
> version
> > > 4.9
> > > > system and in the /usr/ports/www/opera
> direcory I
> > > > issue a "make install clean"
> > > >
> > > > I get the following error (see below).
> > > > Becausse i think my port is looking for
> > > > opera-7.20-20030919 while the ftp servers are
> > > offering
> > > > opera-7.23-20031119 or something like that.
> > > > What can I do about it?
> > > >
> > > > 1) get the old source (but from where)
> > > > 2) use the new one and rename it to
> 20030919..but
> > > I
> > > > think that will go wrong
> > > >
> > > > Can anyone help me with this because I can't
> > > browse
> > > > the net!!
> > > update your ports collection using CVSup.
> > > 
> > > LER
> > > 
> > > >
> > > >
> > > >
> > > > ===>
> > > >
> **
> > > > ===> NOTE: The native version of Opera can not
> be
> > > > ===> installed at the same time as
> linux-opera. If
> > > you
> > > > ===> already have www/linux-opera installed,
> we
> > > > ===> recommend you press Ctrl-C now and
> deinstall
> > > it.
> > > > ===>
> > > >
> **
> > > >>>
> > > >
> > >
> opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
> > > > doesn't seem to exist in
> /usr/ports/distfiles/.
> > > >>> Attempting to fetch from
> > > >
> > >
> >
>
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
> > > >>> Attempting to fetch from
> > > >
> > >
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > > >>> Couldn't fetch it - please try to retrieve
> this
> > > >>> port manually into /usr/ports/distfiles/ and
> try
> > > > again.
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/www/opera.
> 
> If you can't ftp or cvsup with the proxy server, I'd
> suggest using
> another PC to download an updated ports collection,
> then the files for
> Opera and dependencies (these aren't terribly large,
> so it won't take
> very long even on a slow connection) and burning
> these to a CD.  You can
> then use these to update your system that is behind
> the proxy server and
> build Opera.
> 
> Jud


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 09:12:22 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

> 
> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > I'm in the process of downloading the floppies...
> 
> ok cool
> 

I can't find a zero-bad floppy in this place! It's all the holidays!

> > And what about ad4? Does disklabel show different values for the slice
> > and the `c' partition?
> 
> Hmm not only are they different as w/ ad6, but I get the same error on the c
> partition:
> 
> su-2.05b# bsdlabel /dev/ad4s1
> # /dev/ad4s1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   a:  102400004.2BSD 2048 16384 64008
>   b:  2097152  1024000  swap
>   c: 401314410unused0 0 # "raw" part, don't
> edit
>   d:   524288  31211524.2BSD 2048 16384 32776
>   e:  1024000  36454404.2BSD 2048 16384 64008
>   f: 35462001  46694404.2BSD 2048 16384 28552
> 
> su-2.05b# bsdlabel /dev/ad4s1c
> # /dev/ad4s1c:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   a:  1024000   634.2BSD 2048 16384 64008
>   b:  2097152  1024063  swap
>   c: 40131441   63unused0 0 # "raw" part, don't
> edit
>   d:   524288  31212154.2BSD 2048 16384 32776
>   e:  1024000  36455034.2BSD 2048 16384 64008
>   f: 35462001  46695034.2BSD 2048 16384 28552
> partition c: partition extends past end of unit
> bsdlabel: partition c doesn't start at 0!
> bsdlabel: An incorrect partition c may cause problems for standard system
> utilities
> partition f: partition extends past end of unit
> 
> The plot thickens...
> 

With `c', they're all offset by 63(why?). But still, you can mount the
partitions on the ad4s1, so the disklabel should be ok...

-- 
DoubleF
Is your job running?  You'd better go catch it!


pgp0.pgp
Description: PGP signature


how to use lseek() system call with over 2G files?

2004-01-06 Thread Alex
Hi everybody!

Some time ago there wasn't any possibility to create disk file larger 
than 2G and there was no problem with lseek().
But as for now we can do it but I looked into headers and found off_t is 
equal to long -> no more than 2G on i386 machines.
As far as lseek() is a system call I cannot believe it cannot be used 
with larger files but how?

Maybe it's a silly question? :0)

Alex

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


Adding a drive in vinum

2004-01-06 Thread Mathieu Arnold
Hi,

A few months ago, I did :

concat -n data -v /dev/ad2e

which produced :

drive vinumdrive0 device /dev/ad2
volume data
plex name data.p0 org concat vol data
sd name data.p0.s0 drive vinumdrive0 plex data.p0 len 241254455s
driveoffset 265s plexoffset 0s

Now, I've added a new drive to my box, and I want to grow the vinum concat
plex. I know I should do some attach thing, but I can't decide what exactly
I should put after that command.

The new drive is ad3, with an ad3e partition ready to be added.

Thanks for any hints :)

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


Re: Opera7 won't install from ports collection

2004-01-06 Thread Jud

On Tue, 6 Jan 2004 08:37:58 -0800 (PST), "Dino Vliet"
<[EMAIL PROTECTED]> said:
> How to get cvsup to get past my proxy-server?
> 
> 
> --- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > --On Tuesday, January 06, 2004 07:40:31 -0800 Dino
> > Vliet 
> > <[EMAIL PROTECTED]> wrote:
> > 
> > > I want to install Opera onto my freebsd version
> > 4.9
> > > system and in the /usr/ports/www/opera direcory I
> > > issue a "make install clean"
> > >
> > > I get the following error (see below).
> > > Becausse i think my port is looking for
> > > opera-7.20-20030919 while the ftp servers are
> > offering
> > > opera-7.23-20031119 or something like that.
> > > What can I do about it?
> > >
> > > 1) get the old source (but from where)
> > > 2) use the new one and rename it to 20030919..but
> > I
> > > think that will go wrong
> > >
> > > Can anyone help me with this because I can't
> > browse
> > > the net!!
> > update your ports collection using CVSup.
> > 
> > LER
> > 
> > >
> > >
> > >
> > > ===>
> > > **
> > > ===> NOTE: The native version of Opera can not be
> > > ===> installed at the same time as linux-opera. If
> > you
> > > ===> already have www/linux-opera installed, we
> > > ===> recommend you press Ctrl-C now and deinstall
> > it.
> > > ===>
> > > **
> > >>>
> > >
> > opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
> > > doesn't seem to exist in /usr/ports/distfiles/.
> > >>> Attempting to fetch from
> > >
> >
> http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
> > >>> Attempting to fetch from
> > >
> > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> > >>> Couldn't fetch it - please try to retrieve this
> > >>> port manually into /usr/ports/distfiles/ and try
> > > again.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/www/opera.

If you can't ftp or cvsup with the proxy server, I'd suggest using
another PC to download an updated ports collection, then the files for
Opera and dependencies (these aren't terribly large, so it won't take
very long even on a slow connection) and burning these to a CD.  You can
then use these to update your system that is behind the proxy server and
build Opera.

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick

--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> I'm in the process of downloading the floppies...

ok cool

> And what about ad4? Does disklabel show different values for the slice
> and the `c' partition?

Hmm not only are they different as w/ ad6, but I get the same error on the c
partition:

su-2.05b# bsdlabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  102400004.2BSD 2048 16384 64008
  b:  2097152  1024000  swap
  c: 401314410unused0 0 # "raw" part, don't
edit
  d:   524288  31211524.2BSD 2048 16384 32776
  e:  1024000  36454404.2BSD 2048 16384 64008
  f: 35462001  46694404.2BSD 2048 16384 28552

su-2.05b# bsdlabel /dev/ad4s1c
# /dev/ad4s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  1024000   634.2BSD 2048 16384 64008
  b:  2097152  1024063  swap
  c: 40131441   63unused0 0 # "raw" part, don't
edit
  d:   524288  31212154.2BSD 2048 16384 32776
  e:  1024000  36455034.2BSD 2048 16384 64008
  f: 35462001  46695034.2BSD 2048 16384 28552
partition c: partition extends past end of unit
bsdlabel: partition c doesn't start at 0!
bsdlabel: An incorrect partition c may cause problems for standard system
utilities
partition f: partition extends past end of unit

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


RE: Viability of 5.X line for production use

2004-01-06 Thread fbsd_user
How long can you wait for the 5.x stable release?
The 5.x stable release is scheduled for May or June 2004.
Then 1 or 2 months burn in by public users to verify it is really
stable and you are pushing September.
4.9 is production now and has passed the public burn in period with
flying colors.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris
Kennaway
Sent: Tuesday, January 06, 2004 11:18 AM
To: John Fox
Cc: [EMAIL PROTECTED]
Subject: Re: Viability of 5.X line for production use

On Mon, Jan 05, 2004 at 09:43:26AM -0800, John Fox wrote:
> Hello,
>
> We're planning some new mail servers, and until now I've been
assuming
> that they would run under FreeBSD 4.X.  But it occurred to me this
> morning that the 4.X line is going to go away relatively soon, and
that
> perhaps I'd be better off going with 5.X for these new boxen, as
it
> would probably simplify the upgrade (keeping up with releases and
bug
> fixes) process.
>
> So I'm wondering -- do the experts here judge 5.X as ready for use
> in a production environment, or would that be asking for trouble?

Wait for 5.2-R to come out, then wait a month or more for any
undetected serious bugs to get fixed in the release branch.  Then
try
it on one machine and see how it fares.

Kris

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


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Sergey 'DoubleF' Zaharchenko
On Tue, 6 Jan 2004 08:32:31 -0800 (PST)
"Scott I. Remick" <[EMAIL PROTECTED]> probably wrote:

I'm in the process of downloading the floppies...

> --- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> > Sorry that was to be $ bsdlabel -R -n /dev/ad6s1c dislabel.ad6s1c.new :(
> 
> No worries... I figured it out :)
> 
> > Indeed it's not like in 4.x, where they were the same. And what about 
> > 
> > # ls -l /dev/ad6s1a /dev/ad6s1b
> > 
> > (these minor numbers don't seem to be in order).
> 
> Neither exists. Just so you know: My motherboard (Asus A7V133) has 2

Ouch! I've forgotten about devfs. So these numbers could be OK.

> integrated IDE controllers. Besides the native VIA controller there is a
> Promise ATA100. The following are the relevant snippets from dmesg:
> 

And what about ad4? Does disklabel show different values for the slice
and the `c' partition?

-- 
DoubleF
Chicago law prohibits eating in a place that is on fire.


pgp0.pgp
Description: PGP signature


Re: Opera7 won't install from ports collection

2004-01-06 Thread Dino Vliet
How to get cvsup to get past my proxy-server?


--- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> 
> 
> --On Tuesday, January 06, 2004 07:40:31 -0800 Dino
> Vliet 
> <[EMAIL PROTECTED]> wrote:
> 
> > I want to install Opera onto my freebsd version
> 4.9
> > system and in the /usr/ports/www/opera direcory I
> > issue a "make install clean"
> >
> > I get the following error (see below).
> > Becausse i think my port is looking for
> > opera-7.20-20030919 while the ftp servers are
> offering
> > opera-7.23-20031119 or something like that.
> > What can I do about it?
> >
> > 1) get the old source (but from where)
> > 2) use the new one and rename it to 20030919..but
> I
> > think that will go wrong
> >
> > Can anyone help me with this because I can't
> browse
> > the net!!
> update your ports collection using CVSup.
> 
> LER
> 
> >
> >
> >
> > ===>
> > **
> > ===> NOTE: The native version of Opera can not be
> > ===> installed at the same time as linux-opera. If
> you
> > ===> already have www/linux-opera installed, we
> > ===> recommend you press Ctrl-C now and deinstall
> it.
> > ===>
> > **
> >>>
> >
> opera-7.20-20030919.1-static-qt.i386.freebsd.tar.bz2
> > doesn't seem to exist in /usr/ports/distfiles/.
> >>> Attempting to fetch from
> >
>
http://snapshot.opera.com/unix/7.20-Beta-12/intel-freebsd/.
> >>> Attempting to fetch from
> >
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> >>> Couldn't fetch it - please try to retrieve this
> >>> port manually into /usr/ports/distfiles/ and try
> > again.
> > *** Error code 1
> >
> > Stop in /usr/ports/www/opera.
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus"
> Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > ___
> > [EMAIL PROTECTED] mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> >
> 
> 
> 
> -- 
> Larry Rosenman
> http://www.lerctr.org/~ler
> Phone: +1 972-414-9812 E-Mail:
> [EMAIL PROTECTED]
> US Mail: 1905 Steamboat Springs Drive, Garland, TX
> 75044-6749
> 

> ATTACHMENT part 2 application/pgp-signature 



__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Cannot find file system superblock" error - how to recover?

2004-01-06 Thread Scott I. Remick
--- Sergey 'DoubleF' Zaharchenko <[EMAIL PROTECTED]> wrote:
> Sorry that was to be $ bsdlabel -R -n /dev/ad6s1c dislabel.ad6s1c.new :(

No worries... I figured it out :)

> Indeed it's not like in 4.x, where they were the same. And what about 
> 
> # ls -l /dev/ad6s1a /dev/ad6s1b
> 
> (these minor numbers don't seem to be in order).

Neither exists. Just so you know: My motherboard (Asus A7V133) has 2
integrated IDE controllers. Besides the native VIA controller there is a
Promise ATA100. The following are the relevant snippets from dmesg:

atapci0:  port 0xd800-0xd80f at device 4.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0

atapci1:  port
0x8000-0x803f,0x8400-0x8403,0x8800-0x8807,0x9000-0x9003,0x9400-0x9407 mem
0xd400-0xd401 irq 10 at device 17.0 on pci0
ata2: at 0x9400 on atapci1
ata3: at 0x8800 on atapci1

ad4: 19595MB  [39813/16/63] at ata2-master UDMA100
ad6: 76345MB  [155114/16/63] at ata3-master UDMA100
acd0: CDROM  at ata0-master PIO4
Mounting root from ufs:/dev/ad4s1a
cd0 at ata0 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: cd present [279440 x 2048 byte records]

(yes, I use atapicam)

and ls /dev/ad*:

crw-r-  1 root  operator4,  10 Dec 29 08:11 /dev/ad4
crw-r-  1 root  operator4,  12 Dec 29 08:11 /dev/ad4s1
crw-r-  1 root  operator4,  14 Dec 29 03:11 /dev/ad4s1a
crw-r-  1 root  operator4,  15 Dec 29 08:11 /dev/ad4s1b
crw-r-  1 root  operator4,  16 Dec 29 08:11 /dev/ad4s1c
crw-r-  1 root  operator4,  17 Dec 29 03:11 /dev/ad4s1d
crw-r-  1 root  operator4,  18 Dec 29 03:11 /dev/ad4s1e
crw-r-  1 root  operator4,  19 Dec 29 03:11 /dev/ad4s1f
crw-r-  1 root  operator4,  13 Dec 29 08:11 /dev/ad6
crw-r-  1 root  operator4,  20 Dec 29 08:11 /dev/ad6s1
crw-r-  1 root  operator4,  21 Dec 29 08:11 /dev/ad6s1c
crw-r-  1 root  operator4,  22 Dec 29 08:11 /dev/ad6s1e

Let me know if you come up with any suggestions on what I should try next.
Thanks ever so much!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Commercial Distribution?

2004-01-06 Thread Udo Schröter (Trionic Technologies)
Hi,

first of all I want to congratulate you on FreeBSD, it is a really cool system!

I have a question regarding the creation of a branded commercial distribution based on 
FreeBSD.

Here is the thing: my company wants to offer a standard corporate Unix desktop that is 
certified (guaranteed) to run our enterprise management software well. We looked into 
Linux but, for various reasons, a solution based on FreeBSD makes more sense for us. 
Basically we want to release a CD to our customers which installs our own customized 
FreeBSD environment, with our own brand name. 

If we want to do this, it is clear that we
- must preserve the copyright notices
- should place a description like "based on the FreeBSD Project" on the package
- redistribute GPLed source if modified
- swap out references to freebsd support list in the distro so our customers don't 
spam the community
- honor the redistribution rules of the ports
- should make a donation to the project as profits allow

Are there any FreeBSD references that MUST be taken out / MUST be left in?
Are there any other legal or technical issues?
How do people on FreeBSD feel about commercial distributions generally?
Are we going to get sued by SCO? (just kidding, sort of)

Your feedback would be very much appreciated.

Thanks in advance.

Regards,

Udo

---
Udo Schröter 
Trionic Technologies GmbH

August-Horch-Strasse 14
67547 Worms (Germany)
Tel: 06241/3029-0
Fax: 06241/3029-10
http://www.trionic.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >