Re: HD error: BAD SUPER BLOCK

2003-11-23 Thread Robert Neumann


Toomas Aas wrote:

Hello!


Date:  Fri, 21 Nov 2003 10:53:06 +0100
From:  Robert Neumann <[EMAIL PROTECTED]>
this is the problem:
I had a machine running FreeBSD 4.7-Stable. There I added a 80GB 
harddisk. This harddrive I wanted to install on my other machine running 
FreeBSD 4.9-Release. This disk is ad6 so I added

	/dev/ad6	/storage	ufs	rw	2	2

to fstab and rebooted.


Did I understand the situation right - the drive worked in 4.7 machine 
but the problem occurred when you moved it to the 4.9 machine?

That's right.


The above fstab entry doesn't look quite correct to me. The filesystem 
that you mount should usually be contained in a partition (e.g. 
/dev/ad6s1e) not on entire disk (/dev/ad6).

If the drive worked in the 4.7 machine, what was the fstab entry there?

I cant recall the fstab entry but the drive was as Master on the 
secondary IDE channel and had only one partition using all diskspace.

In the 4.9 machine the drive is on a DMA-66-Controller. Under Win2000 
this is listet as a SCSI-Device. I don't know whether this can be the 
problem - I will try to put it again on the IDE-Channel.

What is the output of 'disklabel ad6'?

# /dev/ad6:
type: unknown
disk: amnesiac
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9964
sectors/unit: 160086528
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   #milliseconds
track-to-track seek: 0  #milliseconds
drivedata: 0
8 partitions:
#  size  offset  fstype   [fsize bsize bps/cpg]
   c: 160086528 0unused 0 0 # (Cyl. 0 - 9964*)
/kernel: ad6: cannot find label (no disk label)
/kernel: ad6s1: cannot find label (no disk label)
#end of output

Many thanks for your help.

Robert

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


wireless networking

2003-11-23 Thread William O'Higgins
After much effort I found a wireless PCMCIA card that is supported by
FreeBSD.  Now I have to get connected to a wireless network, and I need
some help.

I have read man wi, and the Handbook, but I'm still missing something.

When I stick in the card in it is recognized and here is the output of
ifconfig:

lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
faith0: flags=8002 mtu 1500
wi0: flags=8843 mtu 1500
inet 192.168.100.24 netmask 0xff00 broadcast 192.168.100.255
inet6 fe80::206:25ff:fe2a:4197%wi0 prefixlen 64 scopeid 0x5
ether 00:06:25:2a:41:97
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: no carrier
ssid "" 1:""
stationname "FreeBSD WaveLAN/IEEE node"
channel 0 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1

I enter the following to connect with the unencrypted network with the
SSID "kieran", which is not broadcasting its SSID:

sudo ifconfig wi0 ssid kieran

I still cannot ping either by ip or dns.  Here is the output of
ifconfig:

lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
faith0: flags=8002 mtu 1500
wi0: flags=8843 mtu 1500
inet 192.168.100.24 netmask 0xff00 broadcast 192.168.100.255
inet6 fe80::206:25ff:fe2a:4197%wi0 prefixlen 64 scopeid 0x5
ether 00:06:25:2a:41:97
media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
status: associated
ssid kieran 1:kieran
stationname "FreeBSD WaveLAN/IEEE node"
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
wepmode OFF weptxkey 1

As near as I can tell, I don't know enough about networking FreeBSD, and
it is that ignorance that is the problem.  Any suggestions?

I am including the output of dmesg, in case that's useful.
-- 

yours,

William

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (498.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  
Features=0x383f9ff
real memory  = 201129984 (196416K bytes)
config> en pcic1
config> po pcic1 0x3e2
config> ir pcic1 0
config> iom pcic1 0xd4000
config> f pcic1 0
config> en sn0
config> po sn0 0x300
config> ir sn0 10
config> f sn0 0
config> q
avail memory = 190193664 (185736K bytes)
Preloaded elf kernel "kernel" at 0xc053f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc053f09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
pcibios: No call entry point
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
agp0:  mem
0x4000-0x43ff at device 0.0 on pci0
pcib1:  at device 1.0 on
pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
pcic0:  mem 0x50103000-0x50103fff irq 11
at device 2.0 on pci0
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
save][FUNC pci int + CSC serial isa irq]
pccard0:  on pcic0
pcic1:  mem 0x50102000-0x50102fff irq 11
at device 2.1 on pci0
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr
save][FUNC pci int + CSC serial isa irq]
pccard1:  on pcic1
pci0:  (vendor=0x11c1, dev=0x0449) at 3.0 irq 11
pci0:  (vendor=0x1013, dev=0x6003) at 6.0 irq 11
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xfcf0-0xfcff at device 7.1
on pci0ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0x4000-0x401f irq
11 at device 7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0:  port 0xefa0-0xefaf at
device 7.3 on pci0
orm0:  at iomem 0xc-0xcbfff on isa0
pmtimer0 on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
pccard: card inserted, slot 1
pccard: card removed, slot 1
ad0: 9590MB  [19485/16/63] at ata0-master UDMA33
acd0: CDROM  at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1
wi0 at port 0x240-0x27f irq 11 slot 1 on pccard1
wi0: 802.11 address: 00:06:25:2a:41:97
wi0: using RF:PRISM3(PCMCIA)
wi0: Intersil Firmware: Primary 1.01.00, S

Re: daemon monitoring

2003-11-23 Thread Sergey 'DoubleF' Zaharchenko
On Mon, 24 Nov 2003 02:11:39 +0100 Alex de Kruijff <[EMAIL PROTECTED]> probably wrote:

> Dear Will,
> 
> I've moved you text to the buttom so its more readable for other.
> 
> On Sun, Nov 23, 2003 at 04:46:09PM -0800, Will Prater wrote:
> > On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote:
> > >On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
> > >>List,
> > >>
> > >>What are most of you using to monitor the running daemons? I have been
> > >>loooking into DJB daemontools which seems appropriate, but are there
> > >>any others that you reccomend?
> > >>
> > >>If DJB's daemontools is the one, could I get some more examples? I am
> > >>primarily trying to keep my mail system online: postfix, cyrus,
> > >>saslauthd, mysql, and spamassassin.
> > >
> > >I would advise Nagios.
> >
> > Sorry, I mispoke. I will be using Nagios to monitor, but I need to make 
> > sure they will restart if there is an error. Will nagios do this as 
> > well?
> > 
> I don't *think* so.
> 
> You could write a sh script (or any other) that does this. It could
> contain this line:
> result=px aux | grep SomeDaemon | wc -l
> 
> If the result is zero than SomeDaemon is not running.

You'd be better off using "ps auxc" here (that is, print only argv[0]):

$ ps aux|grep aux
df   642  0,0  0,4   648  444  p1  R+8:49 0:00,00 grep aux (sh)
df   641  0,0  0,3   516  392  p1  R+8:49 0:00,00 ps aux

$ ps auxc|grep auxc

$

And even a better solution would be to pipe the ps output to a [your
favorite scripting language] script to take only the name part of the
output (to avoid clash with usernames/etc.).

> 
> 
> -- 
> Alex
> 
> Articles based on solutions that I use:
> http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
DoubleF
There is a Massachusetts law requiring all dogs to have their hind legs
tied during the month of April.



pgp0.pgp
Description: PGP signature


Re: config(8), kernel & coda_fbsd.c

2003-11-23 Thread Kris Kennaway
On Sun, Nov 23, 2003 at 11:52:49PM -0600, Earl Larsen wrote:
> When I try to build my personel kernel I get the fallowing:
> 
> "../../conf/files:  coda/coda_fbsd.c must be optional, mandatory or standard"
>( I do not know whare to go to check this)
> "Your version of config(8) is out of sync with your kernel source."
> 
> I got my kernel source form GENERIC after I used cvsup. So yould I need to 
> build world to make it insync?

Please read the instructions in the handbook for upgrading your
system.

Kris


pgp0.pgp
Description: PGP signature


config(8), kernel & coda_fbsd.c

2003-11-23 Thread Earl Larsen
When I try to build my personel kernel I get the fallowing:

"../../conf/files:  coda/coda_fbsd.c must be optional, mandatory or standard"
   ( I do not know whare to go to check this)
"Your version of config(8) is out of sync with your kernel source."

I got my kernel source form GENERIC after I used cvsup. So yould I need to 
build world to make it insync?

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


Re: make vs. pkg_add

2003-11-23 Thread Eric F Crist
On Saturday 22 November 2003 10:00 pm, Patrick Burnett wrote:
> Hi all,
>
> Not that I expect to be swayed one way or the other here, but...
>
> I'm curious to see what other users think of using either the 'make'
> commands or 'pkg_add' for compiling and installing software.  I'm
> admittedly a bit of a newbie, and I've tried it both ways, after
> CVSup-ing the source and ports of course.  In most cases 'pkg_add' seems
> to work better, but the problem solver in me wants to see 'make all
> install clean' and its brethren work at least once.  Am I to understand
> that 'make' and its accompanying command options will download source,
> dependencies, needed libs, et al. while compiling, building, and
> installing just like 'pkg_add' does?  I'm probably doing something wrong
> such that 'make' isn't playing nice, but I'd still appreciate some
> further insight from more experienced users.
>
> TIA,
> Pat
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Pat,

I've always been one to use the make install method.  It's always worked for 
me, including downloading most sources and dependencies.  Sometimes, after 
upgrading from 4.9 to 5.0, for example, I had to install certain things 
manually, from ports, such as GTK+ and gettext.

HTH

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


Re: USB disks on FreeBSD 4.7

2003-11-23 Thread JacobRhoden
On Mon, 24 Nov 2003 02:56 pm, Mike Jeays wrote:
> I have a  4.7 system, and have trouble with an Apacer Flash Memory
> 64 MB disk.  I can read and write the FAT system on it if it is
> plugged in at boot time, but I cannot remount it if I unmount
> it, unplug it, and then plug it in again.
>
> Is this a known problem in 4.7 that is fixed in later versions, and
> are there any commands that will do a successful reset?
>
> Please cc me as I am not subscribed; the volume on the list is
> quite high these days.

I think you need to use camcontrol to stop/eject the device before unpluging 
it. "man camcontrol"


Jacob RhodenPhone: +61 3 8344 4478
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dns question

2003-11-23 Thread RYAN vAN GINNEKEN
have dns working perfectly on one system copied the files over to 
another system made the necessary domain changes but when bind is 
invoked i cannot ping remote hosts

#ping google.ca
ping: cannot resolve google.ca: No address associated with name
when i do a nslook up i get this it does not matter if the lookup is 
internal or external have been stumped for a week now can someone please 
help.
#nslookup v21001
Server:  v21.highcoup.ca
Address:  142.59.20.186

Name:v21001
Served by:
- L.ROOT-SERVERS.NET
- M.ROOT-SERVERS.NET

- A.ROOT-SERVERS.NET

- B.ROOT-SERVERS.NET

- C.ROOT-SERVERS.NET

- D.ROOT-SERVERS.NET

- E.ROOT-SERVERS.NET

- F.ROOT-SERVERS.NET

- G.ROOT-SERVERS.NET

- H.ROOT-SERVERS.NET





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


Re: Questions regarding use of 'gdb -k'

2003-11-23 Thread Kent Kuriyama
Greg,

Thanks.  Regarding the suspected corrupt dump file.  In the syslog I can
see the dump file being created (actually 'vmcore') and there are no
error messages.  Are you saying that the corruption occurs during
the writing of the file or is the data resident in memory corrupt?

I suspect that something is wrong with the hardware on this
box.  We moved the hard drive from one motherboard to another but the
problem remains.  This leaves the hard drive as suspect but there are
no syslog messages to indicate a drive problem.  The system is running
4.8 p13.  Thanks.

Kent
> 
> 
> --vS2hnRoLMmJ4tslQ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> On Sunday, 23 November 2003 at 17:02:09 -1000, Kent Kuriyama wrote:
> > I am having difficulty in using 'gdb -k' to track down a kernel panic.  I
> > have built a version of the kernel with the debugging symbols.  After
> > the crash I use the 'gdb -k' command but get the following output:
> >
> > --
> > chinmon1# gdb -k /data1/src/sys/compile/ata/kernel.debug /var/crash/kernel.29
> > GNU gdb 4.18 (FreeBSD)
> > Copyright 1998 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called a
> > t /data1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
> >  2627 in elfstab_build_psymtabs
> > Deprecated bfd_read called at /data1/src/gnu/usr.bin/binutils/gdb/../../../../co
> > ntrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
> >
> > IdlePTD at phsyical address 0x
> > initial pcb at physical address 0x0048cee0
> >
> > cannot read proc at 0
> > (kgdb) where
> > #0  0x0 in ?? ()
> > (kgdb) exit
> > Undefined command: "exit".  Try "help".
> > (kgdb) chinmon1#
> > --
> >
> > Can you tell me what I am doing wrong?  Thanks.
> 
> Unfortunately, this looks like you have a corrupted dump.  What you've
> done (with the exception of "exit") is correct.  You might find it
> better to use serial debugging if this is repeatable.
> 
> 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.
> 
> --vS2hnRoLMmJ4tslQ
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.0 (FreeBSD)
> 
> iD8DBQE/wXcuIubykFB6QiMRAkNFAKCUw+vNGXhkmldkMiHKLtEozIv0mgCfanmY
> aLywfIVWTuCH0Ub9op8+Z6I=
> =Y7dr
> -END PGP SIGNATURE-
> 
> --vS2hnRoLMmJ4tslQ--
> 

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


Re: Modem

2003-11-23 Thread Jud
On Sun, 23 Nov 2003 07:30:05 -0800, Allan Bowhill <[EMAIL PROTECTED]>  
wrote:

On  0, Jud <[EMAIL PROTECTED]> wrote:
:The best tutorial I've seen on this remains 
:http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>.  3  
years
:ago as a newbie it was far easier for me to understand than the  
Handbook.
:One thing has changed in those 3 years: The user wanting to access the  
Net
:must be a member of the 'dialer' group.

Actually, the group is "network"
The article does note that membership in the 'network' group is  
necessary.  But membership in the 'dialer' group is *also* necessary (at  
least in 5.x - I assume from your message that it may not be necessary in  
4.x), and it wasn't AFAIK at the time the article was published.  (Or  
maybe that was because I was using 4.x at the time?  Oh well, maybe  
someone can enlighten me here)

IMHO, the best resource for user ppp is still the manpage. Probably
one of the best-written manpages there are.
I had a rough time with the man page myself.  The tutorial, instead of  
providing what may be an overwhelming number of possible options to a  
newbie, describes a very simple step-by-step procedure.

Jud

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


USB disks on FreeBSD 4.7

2003-11-23 Thread Mike Jeays
I have a  4.7 system, and have trouble with an Apacer Flash Memory
64 MB disk.  I can read and write the FAT system on it if it is
plugged in at boot time, but I cannot remount it if I unmount
it, unplug it, and then plug it in again.
Is this a known problem in 4.7 that is fixed in later versions, and
are there any commands that will do a successful reset?
Please cc me as I am not subscribed; the volume on the list is
quite high these days.
Dmesg output is as follows:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB DISK 2.08> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C)
(da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing 
minimum_cmd_size to 10.
--
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

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


Re: Novice needs advice building new kernel: UPG 4.7-RELEASE ---> 4.9-RELEASE

2003-11-23 Thread Eric F Crist
On Sunday 23 November 2003 01:52 pm, Jeff Bogari wrote:
> Thanks in advance for the expert assistance:
>
> I'm *halfway* knowledgeable with my 4.7-RELEASE system.  Built it on a
> 486/66 (16MB RAM) about a year ago.  It's time to upgrade to 4.9-RELEASE.
> Here's what I've got so far:
>
> 1.  Set the options in sysinstall to retrieve 4.9-RELEASE instead of
> 4.7-RELEASE
> 2.  Used sysinstall to download the 4.9-RELEASE data via FTP
> 3.  Tried to rebuild the kernel with the "first" process as documented
> 4.  All steps proceed without error
> 5.  Kernel size after last step is 0KB, so reboot fails.  Fallback to
> kernel.old
> 6.  GENERIC kernel installed with 4.9-RELEASE is kinda iffy - had to
> address several issues with 4.7 GENERIC to arrive at the kernel conf I am
> happy with under 4.7
> 7.  Ran through kernel conf again to confirm no new gotchas and all
> required deviations for my setup were followed.  Nothing looks fishy.
>
> Then:
> 1.  Tried "second" procedure as documented
> 2.  Failure at some point I don't recall due to physical memory or swap
> size
>
> How/why is this kernel ending up 0-sized with no error message?
>
> I played with the kernel protection as documented in the troubleshooting
> sections.  Everything seems normal.  Must I set kern_security level < 0
> before
> I begin?
>
> Or should I lean on the "second" process to make it work?  The problem
> there being that I do not have a kernel that allows me to increase swap by
> creating a swap file   >:(
>
> Any help would be appreciated.
>
> Jeff
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Here's what works for me:

I use cvsup to download the new sources and build from there.  Download and 
install this by doing the following:
#cd /usr/ports/net/cvsup
#make install

when done, create an text document called cvs-supfile in the /root directory:
#cd /root
#ee cvs-supfile
---document contents follow:---
*default host=cvsup3.freeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all
#ports-all
doc-all
---document contents above---

Now, you want to use that file to get the correct sources.

#cvsup -g -L2 /root/cvs-supfile

When this file is complete, change to the /usr/src directory and build all 
your source files.

#cd /usr/src
#make clean; make world

This process on a 486 could take an hour or more.  Just be aware of this.  
Once this is done, you need to recompile your kernel.  Change to the kernel 
configuration directory.

#cd /usr/src/sys/i386/conf

You may have edited this document or not, if not, just configure your GENERIC 
kernel, otherwise change GENERIC in this example for the correct file:

#config GENERIC

You will get a message about your build directory is ../../compile/GENERIC or 
what ever you substituted for GENERIC, and a message about not forgetting to 
make depend:

#cd ../../compile/GENERIC
#make; make depend; make install

After this is done, reboot and you should be good to go!

HTH
-- 
Eric F Crist
President
AdTech Integrated Systems, Inc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Modem

2003-11-23 Thread Allan Bowhill
On  0, Jud <[EMAIL PROTECTED]> wrote:
:The best tutorial I've seen on this remains http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>.  3 years  
:ago as a newbie it was far easier for me to understand than the Handbook.   
:One thing has changed in those 3 years: The user wanting to access the Net  
:must be a member of the 'dialer' group.

Actually, the group is "network"

IMHO, the best resource for user ppp is still the manpage. Probably
one of the best-written manpages there are.

I just recently went through the ordeal of configuring modems for 
it, and I agree, the handbook doesn't have too much to offer there.


-- 
Allan Bowhill
[EMAIL PROTECTED]

Spend extra time on hobby.  Get plenty of rolling papers.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Boot manager clarification

2003-11-23 Thread Jud
On Sun, 23 Nov 2003 11:49:21 -0800, Craig Caughlin  
<[EMAIL PROTECTED]> wrote:

Hi folks,
I have 2 hard disks, each on their own channel. I have XOSL installed as  
my
boot manager, in Drive 1, Partition 1. I have Windows 2000-Pro on Drive  
1,
Partition 2. I want to install FreeBSD 5.0 on Drive 2, but use XOSL to  
load
it.

Should I install FreeBSD using the "Standard" MBR option, or should I use
the "BootMgr" option? I *think* I would want to use the standard,  
because it
seems like the BootMgr option would install in the MBR of Disk 1 and NOT
Disk 2, thereby goofing up XOSL (which is what I'm trying to avoid!).
You think correctly.  :)

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


Re: Questions regarding use of 'gdb -k'

2003-11-23 Thread Greg 'groggy' Lehey
On Sunday, 23 November 2003 at 17:02:09 -1000, Kent Kuriyama wrote:
> I am having difficulty in using 'gdb -k' to track down a kernel panic.  I
> have built a version of the kernel with the debugging symbols.  After
> the crash I use the 'gdb -k' command but get the following output:
>
> --
> chinmon1# gdb -k /data1/src/sys/compile/ata/kernel.debug /var/crash/kernel.29
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called a
> t /data1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
>  2627 in elfstab_build_psymtabs
> Deprecated bfd_read called at /data1/src/gnu/usr.bin/binutils/gdb/../../../../co
> ntrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
>
> IdlePTD at phsyical address 0x
> initial pcb at physical address 0x0048cee0
>
> cannot read proc at 0
> (kgdb) where
> #0  0x0 in ?? ()
> (kgdb) exit
> Undefined command: "exit".  Try "help".
> (kgdb) chinmon1#
> --
>
> Can you tell me what I am doing wrong?  Thanks.

Unfortunately, this looks like you have a corrupted dump.  What you've
done (with the exception of "exit") is correct.  You might find it
better to use serial debugging if this is repeatable.

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


Re: Modem

2003-11-23 Thread Jud
On Sun, 23 Nov 2003 13:01:19 -0500, Jesse Guardiani <[EMAIL PROTECTED]>  
wrote:

fbsd_user wrote:

Read the FBSD handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht
Also, you might want to try kppp from the KDE project. It's a graphical
front end to Kernal PPP (pppd), and I find that it's much easier to use
than the CLI when I need to connect in a hurry on my laptop.
I think it's probably a good idea to get user ppp (FreeBSD Handbook)
working before switching to kppp though. That way you'll be able to
debug easier.
The best tutorial I've seen on this remains http://www.onlamp.com/pub/a/bsd/2000/06/14/FreeBSD_Basics.html>.  3 years  
ago as a newbie it was far easier for me to understand than the Handbook.   
One thing has changed in those 3 years: The user wanting to access the Net  
must be a member of the 'dialer' group.

HTH,

Jud

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


Re: booting freebsd and openbsd

2003-11-23 Thread Jud
On 23 Nov 2003 17:59:46 -0500, Lowell Gilbert  
<[EMAIL PROTECTED]> wrote:

Paulo Roberto <[EMAIL PROTECTED]> writes:

I got 4.9 installed on my machine and I need to be able to dual-boot
freebsd and openbsd. The freebsd boot-loader recognizes (F2 BSD) but
does not boot the openbsd partition. Do I have to set any extra
parameter?
Funny, I didn't think that should be a problem.
What partition type is OpenBSD creating?
Another possibility: If you have FreeBSD and OpenBSD on separate disks,  
the FreeBSD bootloader must be installed on both drives.

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


Questions regarding use of 'gdb -k'

2003-11-23 Thread Kent Kuriyama
I am having difficulty in using 'gdb -k' to track down a kernel panic.  I 
have built a version of the kernel with the debugging symbols.  After 
the crash I use the 'gdb -k' command but get the following output:

--
chinmon1# gdb -k /data1/src/sys/compile/ata/kernel.debug /var/crash/kernel.29   
GNU gdb 4.18 (FreeBSD)  
Copyright 1998 Free Software Foundation, Inc.  
GDB is free software, covered by the GNU General Public License, and you are  
welcome to change it and/or distribute copies of it under certain conditions.  
Type "show copying" to see the conditions.  
There is absolutely no warranty for GDB.  Type "show warranty" for details.  
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called a
t /data1/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
 2627 in elfstab_build_psymtabs  
Deprecated bfd_read called at /data1/src/gnu/usr.bin/binutils/gdb/../../../../co
ntrib/gdb/gdb/dbxread.c line 933 in fill_symbuf  

IdlePTD at phsyical address 0x
initial pcb at physical address 0x0048cee0

cannot read proc at 0
(kgdb) where   
#0  0x0 in ?? ()
(kgdb) exit   
Undefined command: "exit".  Try "help".
(kgdb) chinmon1#
--

Can you tell me what I am doing wrong?  Thanks.

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


Re: POLA violation?: snmp renumbering stuff

2003-11-23 Thread paul beard
On Nov 23, 2003, at 6:00 PM, Dan Nelson wrote:

I don't think snmp tables have any defined order.  I don't even know if
the index for a particular resource is guaranteed to be stable across
filesystem dismount/remounts.  Something like this should work:
My issue was that they shouldn't change once defined: otherwise, how 
can you reliably use something if it adopts different behavior with 
each new release/build?

After all, we're not talking about Windows here . . . .  ;-)

It would be useful if / were always 1, for example. It looks like, with 
the inclusion of RAM and swap in the table, / might be 3.

--
Paul Beard

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


Re: Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Cordula's Web
> You are responsible for keeping track of the names
> under *.example.org, *.example6.org, *.example46.org.
> There is no such thing as an IPv6[-only] domain name.
> 
> If you asked about PTR records, this would be more
> interesting... [Hint: ip6.arpa.] ;-)

The reference is:
  RFC 3596: DNS Extensions to Support IP Version 6
  October 2003. http://www.rfc-editor.org/

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


Fwd: [bn@vastnet.co.uk: Re: Question]

2003-11-23 Thread Dan Nelson
- Forwarded message from VastNET <[EMAIL PROTECTED]> -

Date: Sun, 23 Nov 2003 20:47:14 -
From: VastNET <[EMAIL PROTECTED]>
To: Dan Nelson <[EMAIL PROTECTED]>
Subject: Re: Question
X-Mailer: Microsoft Outlook Express 6.00.2720.3000

GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
933 in fill_symbuf

IdlePTD at phsyical address 0x0074
initial pcb at physical address 0x00371000
panic messages:
---
dmesg: kvm_read: invalid address (c0365a98)
---
#0  0xc034d3e0 in sysctl___compat ()
(kgdb) where
#0  0xc034d3e0 in sysctl___compat ()
#1  0xc0389600 in sysctl__kern_children ()
#2  0xc03104fc in
__set_sysctl_set_sym_sysctl___vfs_nfs_nfsv3_commit_on_close ()
cannot read proc at 0
(kgdb)



> In the last episode (Nov 20), VastNET said:
> > Hello!
> >
> > Do you know what's the reason of it? My machine is rebooting few times a
day.
> >
> > If answer is YES, what should I do?
> >
> > savecore: reboot after panic: page fault
> > <118>savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 ||
mbcnt 2304
> > <118>Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0
|| mb 0
> > xc1818500 || mbcnt 2304
> > <118>savecore: reboot after panic: sbflush: cc 0 || mb 0xc1818500 ||
mbcnt 2304
> > <118>Nov 20 17:21:10 gateway savecore: reboot after panic: sbflush: cc 0
|| mb 0
> > xc1818500 || mbcnt 2304
>
> Since if looks like you have crashdumps already enabled, follow the
instructions at
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PA
NIC-TROUBLESHOOTING
> , and let us see the stack trace that gdb prints.
>
> --
> Dan Nelson
> [EMAIL PROTECTED]

- End forwarded message -

-- 
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: Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Cordula's Web
> if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an 
> IPv4 address space and a second coincident network, boxen1.example6.org, 
> boxen2.example6.org, etc., as an IPv6 based address space, where does the 
> authority to allocate the IPv6-network based names reside? 

AFAIK, there is only one DNS system, which is designed to serve
names for both IPv4 and IPv6. It is the client who asks either
for A records (IPv4 resolution) or  records (IPv6 resolution),
from the SAME set of DNS servers.

Let's assume that you want to operate *.example.org as IPv4 and
*.example6.org as IPv6 networks. You would have two domains
in the .org TLD:

  example.org  -> NS ns1.example.org
   -> NS ns2.example.org

  example6.org -> NS ns1.example6.org
   -> NS ns2.example6.org

It is important to realize that ns1 and ns2 must resolve
to IPv4 addresses for both example.org and example6.org.

Now you could populate the DNS maps of ns{1,2}.example6.org
with  records holding IPv6 addresses, and the DNS maps
of ns{1,2}.example.org with A records, holding IPv4 addresses.

Nothing prevents you from doing both on the same domain!

  example46.org -> NS ns1.example46.org
   NS ns2.example46.org

ns{1,2}.example46.org could contain both A and  records,
like, say:

  hybrid   A  
  hybrid      

The host hybrid.example46.org would have an IPv4 and an
IPv6 address (they don't need to overlap!).

Now the clients' resolver library would generally ask
for A records, if it should resolve hybrid.example46.org.
It would therefore obtain an IPv4 address from
ns{1,2}.example46.org for the host name hybrid.example46.org.

A client could still ask for IPv6 addresses, e.g.:

  % host -t  hybrid.example46.org (ask for IPv6 address)
  % host -t a hybrid.example46.org(ask for IPv4 address)
  % host hybrid.example46.org (same as host -t a ...)

> the technical side of it is clear... someone somewhere needs to keep a track 
> of the names...

You are responsible for keeping track of the names
under *.example.org, *.example6.org, *.example46.org.
There is no such thing as an IPv6[-only] domain name.

If you asked about PTR records, this would be more
interesting... [Hint: ip6.arpa.] ;-)

> anyway, this is straying somewhat from the core subject matter of
> this list...

Well, yes...

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

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


Re: POLA violation?: snmp renumbering stuff

2003-11-23 Thread Dan Nelson
In the last episode (Nov 23), paul beard said:
> For some reason, my locally installed snmp daemons decided to
> renumber the elements in the hrStorageTable, meaning all the attached
> disks were being either misreported or just plain dropped from my
> graphs (paulbeard.no-ip.org/mrtg/blue/index.html). Not that the new
> numbering doesn't make sense but I didn't know this was going to
> happen.
> 
> How to discover and fix it? snmptable is my friend. As shown here,
> the memory used by the kernel is listed first, followed by the disks.
> The disks were numbered starting at 1 before . . . . .

I don't think snmp tables have any defined order.  I don't even know if
the index for a particular resource is guaranteed to be stable across
filesystem dismount/remounts.  Something like this should work:

snmptable -Cf : blue hrStorageTable | grep :/var: | awk -F : '{print $4 * $5}' 

I use something similar in a script to graph disk usage in mrtg.  It
sould be really nice if snmptable had a built-in flag to print a
particular cell from a table, though.

-- 
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: Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Luke Kearney

On Mon, 24 Nov 2003 12:43:11 +1100
paul van den bergen <[EMAIL PROTECTED]> granted us these pearls of wisdom:

> as usual, there has been a bit of a misunderstanding... being a loosely typed 
> language, Engliosh is difficult to communicate in :-0
> 
> Names, addresses and DNS are obviously different things.
> 
> I understand where IPv6 addresses come from (sort of). 
> I understand (sort of) how IPv6 works for DNS records relating names to IPv6 
> addresses
> 
> what I was really asking is: in the IPv4 world, name brokers "sell" names that 
> are then related to IPv4 addresses. Legality of the name choice etc. is 
> generally owner onus... Is there a similar sort of (or coincident) naming 
> authority for IPv6 based names?
> 
> example.
> 
> if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an 
> IPv4 address space and a second coincident network, boxen1.example6.org, 
> boxen2.example6.org, etc., as an IPv6 based address space, where does the 
> authority to allocate the IPv6-network based names reside? 
> 
> the technical side of it is clear... someone somewhere needs to keep a track 
> of the names...
> 
> anyway, this is straying somewhat from the core subject matter of this list...
> 
> 
> On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote:
> > > how does this all work under IPv6?  is the IPv6 domain name allocation as
> > > fully fledged as teh IPv4 services? I.e. are there and what are the
> > > restrictions on who can set up a name broker service for IPv6?  what are
> > > the likely gottchas?
> >
> > I don't know for sure here, so please take this with a grain of salt:
> >
> > IPv6 addresses are represented by  instead of A records in
> > DNS nameservers. Right now, I think that you can only point
> > .org (and other [cc]TLD) nameservers to nameservers residing
> > on an IPv4 address [anyone correct me if I'm wrong here].
> > But you could always configure your nameservers (let's say
> > ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses
> > to some names, by adding  records to them.
> >
> > But since IPv6 names are not (yet) globally routed on the Internet,
> > this will have local meaning only (e.g. on an intranet).
> >
> > Generally speaking: IPv4 and IPv6 addresses are _never_
> > allocated by name brokers or DNS systems. They reside at
> > a much lower level, which has nothing to do with _names_.
> > If you connect to the Internet, your upstream provider(s)
> > will assign to you IPv4 address blocks automatically.
> > You would normally not be able to influence this, because
> > it is deeply intertwined with the routing protocols that
> > all network operators use to transmit data on the Internet.
> >
> > You may ask how network operators get their IP address
> > blocks. Check out IANA: http://www.iana.org/  especially:
> > http://www.iana.org/ipaddress/ip-addresses.htm
> 
AFAIK domain names have little to do with your choice of IPV4 or IPV6. 
There can be only one registered owner of any given domain name and that
domain name space  could be either v4 or v6 at the discretion of the
owner. 

LukeK

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


Re: fsck error messages don't get logged?

2003-11-23 Thread Dan Nelson
In the last episode (Nov 23), Herculano de Lima Einloft Neto said:
> Lowell Gilbert wrote:
> 
> >You can't scroll the window back to the messages?
> 
> I just found out about Scroll Lock, checking better.. was convinced I 
> had some sort of keyboard problem because Shft-PgUp never worked :). 
> Well, tough luck.. I had already booted again, so the messages are gone.
> It would be nice to have them logged.

They should go into /var/log/console.

-- 
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: Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread paul van den bergen
as usual, there has been a bit of a misunderstanding... being a loosely typed 
language, Engliosh is difficult to communicate in :-0

Names, addresses and DNS are obviously different things.

I understand where IPv6 addresses come from (sort of). 
I understand (sort of) how IPv6 works for DNS records relating names to IPv6 
addresses

what I was really asking is: in the IPv4 world, name brokers "sell" names that 
are then related to IPv4 addresses. Legality of the name choice etc. is 
generally owner onus... Is there a similar sort of (or coincident) naming 
authority for IPv6 based names?

example.

if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an 
IPv4 address space and a second coincident network, boxen1.example6.org, 
boxen2.example6.org, etc., as an IPv6 based address space, where does the 
authority to allocate the IPv6-network based names reside? 

the technical side of it is clear... someone somewhere needs to keep a track 
of the names...

anyway, this is straying somewhat from the core subject matter of this list...


On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote:
> > how does this all work under IPv6?  is the IPv6 domain name allocation as
> > fully fledged as teh IPv4 services? I.e. are there and what are the
> > restrictions on who can set up a name broker service for IPv6?  what are
> > the likely gottchas?
>
> I don't know for sure here, so please take this with a grain of salt:
>
> IPv6 addresses are represented by  instead of A records in
> DNS nameservers. Right now, I think that you can only point
> .org (and other [cc]TLD) nameservers to nameservers residing
> on an IPv4 address [anyone correct me if I'm wrong here].
> But you could always configure your nameservers (let's say
> ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses
> to some names, by adding  records to them.
>
> But since IPv6 names are not (yet) globally routed on the Internet,
> this will have local meaning only (e.g. on an intranet).
>
> Generally speaking: IPv4 and IPv6 addresses are _never_
> allocated by name brokers or DNS systems. They reside at
> a much lower level, which has nothing to do with _names_.
> If you connect to the Internet, your upstream provider(s)
> will assign to you IPv4 address blocks automatically.
> You would normally not be able to influence this, because
> it is deeply intertwined with the routing protocols that
> all network operators use to transmit data on the Internet.
>
> You may ask how network operators get their IP address
> blocks. Check out IANA: http://www.iana.org/  especially:
> http://www.iana.org/ipaddress/ip-addresses.htm

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: daemon monitoring

2003-11-23 Thread Jez Hancock
On Mon, Nov 24, 2003 at 02:11:39AM +0100, Alex de Kruijff wrote:
> On Sun, Nov 23, 2003 at 04:46:09PM -0800, Will Prater wrote:
> > On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote:
> > >On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
> > >>List,
> > >>
> > >>What are most of you using to monitor the running daemons? I have been
> > >>loooking into DJB daemontools which seems appropriate, but are there
> > >>any others that you reccomend?
> > >>
> > >>If DJB's daemontools is the one, could I get some more examples? I am
> > >>primarily trying to keep my mail system online: postfix, cyrus,
> > >>saslauthd, mysql, and spamassassin.
> > >
> > >I would advise Nagios.
> >
> > Sorry, I mispoke. I will be using Nagios to monitor, but I need to make 
> > sure they will restart if there is an error. Will nagios do this as 
> > well?
> > 
> I don't *think* so.
> 
> You could write a sh script (or any other) that does this. It could
> contain this line:
> result=px aux | grep SomeDaemon | wc -l
> 
> If the result is zero than SomeDaemon is not running.

Alternatively you could just write a script that polls a number of
pid-files, one per daemon you want to monitor, and checks if the daemon
is still running - if not it restarts the daemon.

The gist of the script would be:

- for each pid, send a CHLD signal to the pid
- if the return code is 0, the process is still running so do nothing,
  otherwise restart the daemon

I've not used daemontools too much away from djbdns suite, but
presumably you could use supervise to do the work.

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


5.0 vs. 5.1

2003-11-23 Thread john
I'm currently running 5.0 release and am wondering about the possible
positives/negatives of switching to another release, particularly 5.1
current. 

I'm running it as my "work" machine for programming and school type things,
side by side with my windows machine, so it's not *essential*, but I would
definitely like to eventually be done with windows all-together. Strangely,
I've never been able to get this system to boot to the sysinstall menu with
any 4.8 or 4.9 build, so provided I'm not just doing something horribly
stupid they're not an option. 

My end goals would be to have this machine see and be visible to my windows
network, set up email, ftp, and web servers, and have as much multimedia
functionality and windows program accessibility as possible.

~john


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


Re: daemon monitoring

2003-11-23 Thread Alex de Kruijff
Dear Will,

I've moved you text to the buttom so its more readable for other.

On Sun, Nov 23, 2003 at 04:46:09PM -0800, Will Prater wrote:
> On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote:
> >On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
> >>List,
> >>
> >>What are most of you using to monitor the running daemons? I have been
> >>loooking into DJB daemontools which seems appropriate, but are there
> >>any others that you reccomend?
> >>
> >>If DJB's daemontools is the one, could I get some more examples? I am
> >>primarily trying to keep my mail system online: postfix, cyrus,
> >>saslauthd, mysql, and spamassassin.
> >
> >I would advise Nagios.
>
> Sorry, I mispoke. I will be using Nagios to monitor, but I need to make 
> sure they will restart if there is an error. Will nagios do this as 
> well?
> 
I don't *think* so.

You could write a sh script (or any other) that does this. It could
contain this line:
result=px aux | grep SomeDaemon | wc -l

If the result is zero than SomeDaemon is not running.


-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Postfix/procmail/fetchmail/spamassassin setup

2003-11-23 Thread Jonathan Chen
On Sun, Nov 23, 2003 at 02:51:30PM -0800, Jonas Manalive wrote:
> > could you please verfiy your postfix configuration using `postfix
> > check'? Perhaps this will show some errors.
> 
> No errors.
> 
> > Other hints: Check /var/log/maillog (and post some lines from the tail
> > if you still can fix your problem).
> 
> A'ha! What do I do here to fix this? (I think I should have changed the
> alias database from alias_maps = dbm:/etc/aliases to alias_maps =
> hash:/etc/aliases - or should that be nis or netinfo?)

If you want to use the existing alias_map from sendmail in /etc/mail,
the entry should be:

alias_maps = hash:/etc/mail/aliases

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xcdroast + IDE drive possible?

2003-11-23 Thread Lowell Gilbert
"Phoetoid" <[EMAIL PROTECTED]> writes:

> I was wondering if there is any way I can use xcdroast with an IDE
> drive? I read something the other day about using atapicam in your
> kernel to allow atapi devices to be used like scsi devices, but eh I
> cant remember it!  Anyways, if anyone has tips on how to do this or
> perhaps a suggestion for another X11 app to burn CD's please let me
> know!

Try "man atapicam".

Also, ATAPICAM is discussed in the handbook.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fsck error messages don't get logged?

2003-11-23 Thread Lowell Gilbert
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> writes:

> It would be nice to have them logged.

Any serious errors will stop the fsck to prompt for what to do next,
so it's not as bad as it seems...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xcdroast + IDE drive possible?

2003-11-23 Thread Phoetoid
I was wondering if there is any way I can use xcdroast with an IDE
drive? I read something the other day about using atapicam in your
kernel to allow atapi devices to be used like scsi devices, but eh I
cant remember it!  Anyways, if anyone has tips on how to do this or
perhaps a suggestion for another X11 app to burn CD's please let me
know!

Thanks in advance

-phoetoid

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


RE: NEED_FIRST NEED_LAST

2003-11-23 Thread john
>From one computer lab monitor to another, BSD is good stuff. I've recently
wiped my RH 9.0 machine to install BSD on the recommendation of one of my
professors and now most of the advanced lab machines are running it, much to
the delight of the users. 

Key points:
1.) The ports collection. Forget searching around the web for some package,
downloading it, ./configuring it, all that junk. With the bsd ports
collection, stored in /usr/ports, you cd to the directory of the application
you want to install and "make install clean". Build and run dependancies are
checked and (more often then not) taken care of, and the program is
installed and integrated into your system. Same applies for deinstalling.
More info and a listing/search of current ports at freebsd.org/ports 

2.) Stability. freeBSD may not be the most cutting edge build out there,
considering it's unix, not linux (and thus requires linux emulation
packages), but it's probably one of the most stable and secure. 

3.) Community. I, for one, would get quite frustrated when looking for linux
info that pertained to MY SPECIFIC DISTRO. It wasn't enough to just search
for info on linux.. The community seems to be much more centralized and in
touch with the BSD community in my experience. 

Of course, I'm fairly newbie, so I'm sure there's a lot more info you can
get if you're looking for more advanced reasons. There's always freebsd.org
for you to peruse and look things up.

~john

> Message: 1
> Date: Sun, 23 Nov 2003 14:08:14 -0600 (CST)
> From: NEED_FIRST NEED_LAST <[EMAIL PROTECTED]>
> Subject: Material
> To: <[EMAIL PROTECTED]>
> Message-ID:
>   <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hi, I am a student at Minot State University in Minot,ND. I 
> work in the
> computer lab and was noticing all the posters that we have up 
> are getting
> old and out dated. Some one mentioned to me FreeBSD (rocks). 
> I have never
> heard about freebsd so I was wondering do you have any 
> material that you
> could send me about FreeBSD. Maybe you could send me some posters to
> display in the lab. Thanks


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


Re: vinum configuration

2003-11-23 Thread Greg 'groggy' Lehey
On Sunday, 23 November 2003 at 19:15:30 -0500, dave wrote:
> Hello,
> Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard
> drives at the moment, two more will be added later once i know my setup is
> working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum
> configuration. I need to know if all of this is right and if not what is not
> up? Also, how do i get the data from one drive to the other? As of now
> drive2 is empty.

So is drive Vinum1 from Vinum's point of view.

> # more /etc/vinum.conf
> drive Vinum1 device /dev/ad0s1h
> volume root setupstate
> plex org concat
> sd len 245760s driveoffset 1048576s

You haven't told Vinum where to put the subdisk.  You must have
received an error message telling you about that.  The result is
correct:

> 0 subdisks:
> vinum ->

That's not your question, but I'm surprised it isn't.  

To your question: if you add a second plex, it'll come up in "corrupt"
or some such state.  With 'start plex.p1' (for example) you can bring
it up, which involves copying the data.

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


Re: daemon monitoring

2003-11-23 Thread Will Prater
Sorry, I mispoke. I will be using Nagios to monitor, but I need to make 
sure they will restart if there is an error. Will nagios do this as 
well?

Thanks

On Nov 23, 2003, at 1:57 PM, Alex de Kruijff wrote:

On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
List,

What are most of you using to monitor the running daemons? I have been
loooking into DJB daemontools which seems appropriate, but are there
any others that you reccomend?
If DJB's daemontools is the one, could I get some more examples? I am
primarily trying to keep my mail system online: postfix, cyrus,
saslauthd, mysql, and spamassassin.
I would advise Nagios.

--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--will

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


Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Cordula's Web
> > microsoft.bergen.org
> > SCO.bergen.org
> > Sun.bergen.org

> > Question3)
> > surely I'm breaking copyright or trademark laws here? whats to stop me being 
> 
> You are totally responsible for respecting coyright and trademark laws.
> Registrars (and registries) are not responsible for this. In the
> agreements you electronically sign, you confirm that you are responsible
> for the names that you choose.
> 
> If a company discovers that you've registered "their" name in your
> name, they'll contact you (using the admin address contact that
> you submitted at your registrar), and will require you to return
> or give them this name. You would then agreen to a transfer of
> domain to the company, if you think that their claim is justified.
> 
> But if you disagree, you'd enter a formalized procedure called
> UDRP (Uniform Domain Resolution Policy) so solve the issue:
>   http://www.icann.org/udrp/udrp.htm
> but be careful: nothing prevents a legal name owner for suing
> you anyway, and you'll have to prove that you acquired/registered
> the name in good faith. So don't register ibm.com [if it were
> not already registered!] :-)

The UDRP applies only to top level names, like "bergen."  Using
trademarks from within your own domain name (as in SCO.bergen.org)
does completly fall within your responsibility. Technically, the legal
name owners could sue you for infrigement, but it's not clear how the
courts would decide on a case-by-case basis. Add to this widely
differing legislations all around the world, you're absolutely
uncertain here.

You should really seek legal advice to be sure.

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

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


Re: hard drive bench

2003-11-23 Thread Greg 'groggy' Lehey
On Sunday, 23 November 2003 at 23:01:21 +, Stefan A. Deutscher wrote:
> On Sun, Nov 23, 2003 at 08:58:54PM +0100, Antoine Jacoutot wrote:
>> Hi :)
>>
>> Is there a hard drive speed measurement available for FreeBSD ?
>> I don't need anything fancy, just something like "hdparm -t" under Linux.
>
>  check out bonnie from the ports tree and make sure the test files are
> at least the size of your RAM. Otherwise you'll be measuring the speed
> of the caching system, which is pretty fast on BSD.

Bonnie is for measuring system throughput, not disks.  Try rawio for
disks alone.

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


Re: IPv6

2003-11-23 Thread Cordula's Web
> how does this all work under IPv6?  is the IPv6 domain name allocation as 
> fully fledged as teh IPv4 services? I.e. are there and what are the 
> restrictions on who can set up a name broker service for IPv6?  what are the 
> likely gottchas?

I don't know for sure here, so please take this with a grain of salt:

IPv6 addresses are represented by  instead of A records in
DNS nameservers. Right now, I think that you can only point
.org (and other [cc]TLD) nameservers to nameservers residing
on an IPv4 address [anyone correct me if I'm wrong here].
But you could always configure your nameservers (let's say
ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses
to some names, by adding  records to them.

But since IPv6 names are not (yet) globally routed on the Internet,
this will have local meaning only (e.g. on an intranet).

Generally speaking: IPv4 and IPv6 addresses are _never_
allocated by name brokers or DNS systems. They reside at
a much lower level, which has nothing to do with _names_.
If you connect to the Internet, your upstream provider(s)
will assign to you IPv4 address blocks automatically.
You would normally not be able to influence this, because
it is deeply intertwined with the routing protocols that
all network operators use to transmit data on the Internet.

You may ask how network operators get their IP address
blocks. Check out IANA: http://www.iana.org/  especially:
http://www.iana.org/ipaddress/ip-addresses.htm

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

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


Re: mounting windows FS questions

2003-11-23 Thread Scott W
paul van den bergen wrote:

Hi all,

I have a dual boot machine Win2k + BSD...

obviously I can mount the windows partition under BSD.
can I mount the BSD partition(s) under windows?
I have been told that writing to the windows partition from BSD is kinda 
dubious. why is this? is it possible to work around this?



 

Unsure if there's anything to mount BSD partitions from within Windows- 
I wouldn't be surprised, but as Windows uses broken/different 
permissions and file attributes, I wouldn't really want to do this.

For mounting Windows filesystems, you can mount fat/vfat/fat32 
partitions all day long read-write, but NTFS uses some sort of sequence 
IDs in their file attributes, which if ignored or screwed up, can cause 
serious issues on the filesystemso in short, I don't mount NTFS 
read/write ;-)

Scott

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


Re: Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Scott W
paul van den bergen wrote:

Ooops...

I forgot the most important part of my question... IPv6

how does this all work under IPv6?  is the IPv6 domain name allocation as 
fully fledged as teh IPv4 services? I.e. are there and what are the 
restrictions on who can set up a name broker service for IPv6?  what are the 
likely gottchas?

 

Paul- AFAIK, IPv6 is in fact enabled/capable in BIND currently, but no 
one uses it- IPv6 will be a LONG time in coming to everyone, with the 
major challenge being a 'transition phase' where devices (routers for a 
prime example) are able to handle both ipv4 and ipv6...without that, 
ipv6 is useless outside of 'playing with it locally.'

This shouldn't have any effect on name registrations, they will just 
eventually map to both ipv4 AND ipv6 addresses..

Scott

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


Re: fsck error messages don't get logged?

2003-11-23 Thread Herculano de Lima Einloft Neto
Lowell Gilbert wrote:

>You can't scroll the window back to the messages?

I just found out about Scroll Lock, checking better.. was convinced I 
had some sort of keyboard problem because Shft-PgUp never worked :). 
Well, tough luck.. I had already booted again, so the messages are gone.
It would be nice to have them logged.

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


Re: telnet and ssh problem.

2003-11-23 Thread Scott W
[EMAIL PROTECTED] wrote:

Hi Every body;
  I have a FreeBSD Server. It has telnet and ssh up. They work, but not
properly. When I ssh to the server or telnet from Linux shell by each
Enter I see the following message:
bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution

 But when I telnet from Windows no such error is shown, but obviously
the terminal does not work properly, especially
when using things like less, vim and ...
I would be thankful if someone help me.

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

Sounds like a classic terminal emulation issue.  On your Linux system, do:
export TERM=xterm
and then telnet or ssh in.  Let me guess, you're using a 'funky' 
terminal like GNOME Terminal or KTerm?

Scott

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


Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Scott W
paul van den bergen wrote:

Hi all,

given how clearly you-all answered my query about 'hostname' (thanks folks) I 
thought I'd chance my luck.

so, let me get this straight...

in the IPv4 world there is this thing called DNS and domain names... I can buy 
my self a name off a name vendor - eg. bergen.org... I then get to own that 
name...  so, 
Question 1) where does the DNS record for that name reside? with my ISP? with 
the name vendor?

 

Well, the short version is there are several 'root servers' which anyone 
running BIND/DNS should laready have a list of- they are the initially 
consulted servers with respect to which servers are 'authoritative' for 
a given TLD(Top level domain, eg .com, .net, .edu, )

If you registered a .org domain, one of the TLD Domain servers for .org 
would be queried, and then down to your domain, eg bergen.org, which 
would point to who is registered as being Authoritative for the 
bergen.org domain.  This is generally handled when you register the 
domain name- you're given the option in many cases to have the registrar 
(eg, Network Solutions, GoDaddy.com (sucky name, but very inexpensive 
domain registrations), etc) handle DNS for your domain, or to specify 
your own name servers (which can be hosted by yourself, or someone that 
has agreed to providfe DNS services for your domain(s)).  In theory, and 
generally in practice, these changes can take up to ~12 hours or so to 
propgate, up to 48-72 hours to propogate your DNS records to the rest of 
the nameservers online. 

lets say I have a network and wish to name the boxen depending on the OS 
running on them thus...
microsoft.bergen.org
SCO.bergen.org
Sun.bergen.org

Question 2)
where do those DNSrecord reside?
 

On whomever is authoritative for the bergen.com domain.  type at a Unix 
prompt:
dig bergen.org

and you'll see the system ns.bergen.org is Authoritative for that 
domain...although you may want to do a 'dig bergen.com' for comparison :-)

Question3)
surely I'm breaking copyright or trademark laws here? whats to stop me being 
sued? for that matter, whats to stop vexatious litigation? and what about the 
name brokers? do they have legal responsibilities? and if I run DNS server on 
my network am I then a name provider for myself and have to worry about 
litigation?
 

This is  a grey area (surprise), with both the Trademark owners as well 
as the 'little people' winning in various cases.  AFAIK, I haven't seen 
anyone go to court over the hostname portion of their site- remember, 
'the Net as we know it' has now almost been reduced to simply 
ftp.domain.TLD and www.domain.TLD at this point, with 'the world at 
large' rarely using hostnames other than ftp or www.  Also, see:
http://www.networksolutions.com/en_US/help/legal-info.jhtml
and
http://www.networksolutions.com/en_US/help/domain-magistrate.jhtml
for some info on domain disputes, or Google for 'domain disputes'

Question4)
or to put it another way, what is the relationship between trademark control 
institutions and name brokers?
 

See above, it's still being figured out ;-)

Scott

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


vinum configuration

2003-11-23 Thread dave
Hello,
Trying to get vinum going on a 5.1 machine, with two IDE 40 gb hard
drives at the moment, two more will be added later once i know my setup is
working. Below are my disklabels for ad0s1 and ad1s1 as well as the vinum
configuration. I need to know if all of this is right and if not what is not
up? Also, how do i get the data from one drive to the other? As of now
drive2 is empty.
Thanks.
Dave.

#
# bsdlabel ad0s1 |more
# /dev/ad0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   245760  10485764.2BSD 2048 16384 15368
  b:  1048295  281  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   245760  12943364.2BSD 2048 16384 15368
  e:   204800  15400964.2BSD 2048 16384 12808
  f:  6291456  17448964.2BSD 2048 16384 28552
  g: 70119810  80363524.2BSD 2048 16384 28552
  h: 78156146   16 vinum


# bsdlabel ad1s1 |more
# /dev/ad1s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  b:  10485760  swap
  c: 781561620unused0 0 # "raw" part, don't
edit
  d:   245760  10485764.2BSD 2048 16384 15368
  e:   204800  12943364.2BSD 2048 16384 12808
  f:   204800  14991364.2BSD 2048 16384 12808
  g:  6291456  17039364.2BSD 2048 16384 28552
  h: 70160770  79953924.2BSD 2048 16384 28552

# more /etc/vinum.conf
drive Vinum1 device /dev/ad0s1h
volume root setupstate
plex org concat
sd len 245760s driveoffset 1048576s
volume home setupstate
plex org concat
sd len 70119810s driveoffset 8036352s
volume swap setupstate
plex org concat
sd len 1048295s driveoffset 281s
volume tmp setupstate
plex org concat
sd len 204800s driveoffset 1540096s
volume var setupstate
plex org concat
sd len 245760s driveoffset 1294336s
volume usr setupstate
plex org concat
 sd len 6291456s driveoffset 1744896s



# vinum
vinum -> list
1 drives:
D Vinum1State: up   /dev/ad0s1h A: 38162/38162 MB
(100%)

6 volumes:
V root  State: up   Plexes:   1 Size:  0  B
V home  State: up   Plexes:   1 Size:  0  B
V swap  State: up   Plexes:   1 Size:  0  B
V tmp   State: up   Plexes:   1 Size:  0  B
V var   State: up   Plexes:   1 Size:  0  B
V usr   State: up   Plexes:   1 Size:  0  B

6 plexes:
P root.p0 C State: up   Subdisks: 0 Size:  0  B
P home.p0 C State: up   Subdisks: 0 Size:  0  B
P swap.p0 C State: up   Subdisks: 0 Size:  0  B
P tmp.p0  C State: up   Subdisks: 0 Size:  0  B
P var.p0  C State: up   Subdisks: 0 Size:  0  B
P usr.p0  C State: up   Subdisks: 0 Size:  0  B

0 subdisks:
vinum ->
#


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


telnet and ssh problem.

2003-11-23 Thread falaki
Hi Every body;
   I have a FreeBSD Server. It has telnet and ssh up. They work, but not
properly. When I ssh to the server or telnet from Linux shell by each
Enter I see the following message:

bash: \033]0;[EMAIL PROTECTED]:${PWD/#$HOME/~}\007: bad substitution

  But when I telnet from Windows no such error is shown, but obviously
the terminal does not work properly, especially
when using things like less, vim and ...

I would be thankful if someone help me.

Yours,
Mohammad H. Falaki.

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


Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread Cordula's Web
> Question 1) where does the DNS record for that name reside? with my ISP? with 
> the name vendor?

Let's assume that the name is bergen.org.

bergen.org is stored in three places:
  * the registry for .org (http://www.pir.org/)
points bergen.org to a registrar.
  * the registrar pointed to by the registry
contains the name, along with your contact data,
and DNS nameservers.
  * the DNS nameservers for bergen.org will answer
queries to everything related to *.bergen.org.

The name vendor registers your name with a registrar, which
in turn registers the name with its registry (for org, its
PIR, for .com and .net it's VeriSign, and for ccTLDs like
.fr, .de. ,us, ... its the national registry for that country).

Now, the registry responsible for e.g. .org will use the
information stored to configure the DNS name servers for
.org by adding name server records for bergen.org. In
other words, the .org name servers are configured to
point to the DNS nameservers for bergen.org.

> lets say I have a network and wish to name the boxen depending on the OS 
> running on them thus...
> microsoft.bergen.org
> SCO.bergen.org
> Sun.bergen.org
> 
> Question 2)
> where do those DNSrecord reside?

On the nameservers of bergen.org. These are the name servers
you configured at your registrar when you manage your domain.

> Question3)
> surely I'm breaking copyright or trademark laws here? whats to stop me being 
> sued? for that matter, whats to stop vexatious litigation? and what about the 
> name brokers? do they have legal responsibilities? and if I run DNS server on 
> my network am I then a name provider for myself and have to worry about 
> litigation?

You are totally responsible for respecting coyright and trademark laws.
Registrars (and registries) are not responsible for this. In the
agreements you electronically sign, you confirm that you are responsible
for the names that you choose.

If a company discovers that you've registered "their" name in your
name, they'll contact you (using the admin address contact that
you submitted at your registrar), and will require you to return
or give them this name. You would then agreen to a transfer of
domain to the company, if you think that their claim is justified.

But if you disagree, you'd enter a formalized procedure called
UDRP (Uniform Domain Resolution Policy) so solve the issue:
  http://www.icann.org/udrp/udrp.htm
but be careful: nothing prevents a legal name owner for suing
you anyway, and you'll have to prove that you acquired/registered
the name in good faith. So don't register ibm.com [if it were
not already registered!] :-)

> Question4)
> or to put it another way, what is the relationship between trademark control 
> institutions and name brokers?

I don't know an answer to this. I'd just assume that there are no
relationships at all, and that you are responsible for the names
that you acquire, from whatever source (name brokers, or self
registration).

Of to put in another way: the domain namespace is not directly
related to the trademark, or registered mark namespace; but
generally, TM or (R)'s have precedence over DNS domain names.

You would need to seek legal assistance here, if you are not
sure about the status of a DNS name!

> Dr Paul van den Bergen
> Centre for Advanced Internet Architectures
> caia.swin.edu.au
> [EMAIL PROTECTED]
> IM:bulwynkl2002
> "And some run up hill and down dale, knapping the chucky stones 
> to pieces wi' hammers, like so many road makers run daft. 
> They say it is to see how the world was made."
> Sir Walter Scott, St. Ronan's Well 1824 

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


Ooops - Re: while I have your attention... Names, copyright and IPv6

2003-11-23 Thread paul van den bergen
Ooops...

I forgot the most important part of my question... IPv6

how does this all work under IPv6?  is the IPv6 domain name allocation as 
fully fledged as teh IPv4 services? I.e. are there and what are the 
restrictions on who can set up a name broker service for IPv6?  what are the 
likely gottchas?





-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: order in fstab and md/mfs (extra info)

2003-11-23 Thread Ronald Klop
On Mon, 24 Nov 2003 01:02:09 +0100, Ronald Klop 
 wrote:

Hello,

Today I noticed my mfs on /tmp not mounting properly, because of the 
order of the entries in fstab.
Mfs can't be mounted too early. Is this meant to be or should there be a 
second stage for this mount, just like nfs mounts which are deferred 
until after the network is up.

I saw it is documented in one line in 'man fstab', that order is 
important, but not many examples about this.

Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE.
It still fails with:
mfs: mdconfig (attach) exited with error code 1
Mounting /etc/fstab filesystems failed, startup aborted
Any hints? Same experiences?

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


mounting windows FS questions

2003-11-23 Thread paul van den bergen
Hi all,

I have a dual boot machine Win2k + BSD...

obviously I can mount the windows partition under BSD.
can I mount the BSD partition(s) under windows?

I have been told that writing to the windows partition from BSD is kinda 
dubious. why is this? is it possible to work around this?



-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: remote mount hangs sysstem

2003-11-23 Thread Scott W
RYAN vAN GINNEKEN wrote:

this is my fstabs file could you please explain where i enter and set 
values for the -R and -b options

# See the fstab(5) manual page for important information on automatic 
mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options 
DumpPass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s4e /usrufs rw  2   2
/dev/ad0s3e /varufs rw  2   2
proc/proc   procfs  rw  0   0

#-- 

#remote mounts
#-- 

v21.higcoup.ca:/usr/src 
/mnt/v21.highcoup.ca/usr/srcnfs r 
noauto0   0
v21.higcoup.ca:/usr/local/ect 
/mnt/v21.highcoup.ca/usr/local/etcnfs r noauto
0   0

change this:
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs r noauto0   0

to:
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs   r,bg,intr   0   0

and likewise for the second NFS entry...you should still specifiy a 
timeout, but you'll have to decide on one..and the system will boot with 
those options with the NFS server down..

Scott



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


order in fstab and md/mfs

2003-11-23 Thread Ronald Klop
Hello,

Today I noticed my mfs on /tmp not mounting properly, because of the order 
of the entries in fstab.
Mfs can't be mounted too early. Is this meant to be or should there be a 
second stage for this mount, just like nfs mounts which are deferred until 
after the network is up.

I saw it is documented in one line in 'man fstab', that order is 
important, but not many examples about this.

Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE.

Ronald.

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


Re: (Semi)hot swap IDE

2003-11-23 Thread Jez Hancock
On Sun, Nov 23, 2003 at 01:16:50PM +0200, Toomas Aas wrote:
> > 1.  The 'generic' removeable drive trays for IDE that use a normal IDE 
> > controller (like attaching to the slave or secondary channel on most 
> > onboard IDE), with another disk or device attached that's being used, do 
> > not support removeable devices.  It's _extremely_ likely that you'll 
> > hang the IDE bus.
> 
> If there is only CD-ROM (which is almost never used) attached as 
> primary master and the removable disk attached as secondary master then 
> maybe I don't need to worry too much about that.

Just for the record I have the kind of setup you're talking
about - I successfully 'hot swapped' a 40Gb IDE disk using a hdd
caddy tray but there are caveats (mostly highlighted above) - using the
term 'hot swap' loosely here because it just doesn't feel too clever
doing it :P

I found the following:

- I could remove/reinsert the device only if it was originally in the machine on
  boot - this is fairly obvious I suppose.  Otherwise the device just
  doesn't show up.

- I could re-insert the device successfully but only if I'd umounted it
  first before removing it.

- Removing the disk without umounting produced random results -
  sometimes the disk could be re-inserted ok, other times not, as the
  previous poster mentioned the IDE controller appears to hang.

For the record iirc the disk was attached to the secondary ide
controller with a hdd and a cdrom drive on the first ide controller.

Best thing is to play - doesn't make as much noise (or smoke) as
hot-swapping PCI cards!

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: Monitoring a file?

2003-11-23 Thread Cordula's Web
> > I've finally found the culprit with a traditional method:
> >   * md5 (binary from an uncompromised machine) on all files
> >   * reinstalling from scratch (not buildworld, but really
> > installing from FTP)
> >   * md5 again and diff.
> 
> [snip]
> 
> > Ugh... system clean again at last. :)
> 
> You can't be sure.  The attacker probably put an suid binary somewhere
> besides the normal system binaries, in which case it's still there and
> you may still be vulnerable.  When you know you've been hacked, you
> need to wipe the disk and *really* reinstall from scratch.  And be
> very careful about what you restore from backups, too.

I've inherited a set of 280 1U rack mount boxes, and I am in the
process of reinstalling from scratch every single server. Started with
infrastructure (DNS and firewalls), then working down to every server
with a fresh FTP install from the first recovered box. Yes, newfs
everything, and recompiling _all_ binaries from scratch. I even
reconfigured VLANs on the switches to avoid man-in-the-middle attacks
like tcp hijacking, while ftp installing, and locked the subnets
to these racks until everything's restored.

The only backups were databases in SQL and LDIF format and lots of
text data. No binaries and no compromised sources to recover from.
Of course, the data could've been hacked too, but that would take
more time to fix.  I've only checked (and cleaned!) authorization
and authentication data so far.

Sometimes, small incidents trigger major reconfigurations. Good
that this happened before monday! ;)

Thank you.

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


while I have your attention... Names, copyright and IPv6

2003-11-23 Thread paul van den bergen
Hi all,

given how clearly you-all answered my query about 'hostname' (thanks folks) I 
thought I'd chance my luck.

so, let me get this straight...

in the IPv4 world there is this thing called DNS and domain names... I can buy 
my self a name off a name vendor - eg. bergen.org... I then get to own that 
name...  so, 
Question 1) where does the DNS record for that name reside? with my ISP? with 
the name vendor?

lets say I have a network and wish to name the boxen depending on the OS 
running on them thus...
microsoft.bergen.org
SCO.bergen.org
Sun.bergen.org

Question 2)
where do those DNSrecord reside?

Question3)
surely I'm breaking copyright or trademark laws here? whats to stop me being 
sued? for that matter, whats to stop vexatious litigation? and what about the 
name brokers? do they have legal responsibilities? and if I run DNS server on 
my network am I then a name provider for myself and have to worry about 
litigation?

Question4)
or to put it another way, what is the relationship between trademark control 
institutions and name brokers?


-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: hard drive bench

2003-11-23 Thread Antoine Jacoutot
On Monday 24 November 2003 00:01, Stefan A. Deutscher wrote:
>  check out bonnie from the ports tree and make sure the test files are
> at least the size of your RAM. Otherwise you'll be measuring the speed
> of the caching system, which is pretty fast on BSD.

Thanks a lot :)

Regards.

Antoine

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


Re: Monitoring a file?

2003-11-23 Thread Lowell Gilbert
"Cordula's Web" <[EMAIL PROTECTED]> writes:

> I've finally found the culprit with a traditional method:
>   * md5 (binary from an uncompromised machine) on all files
>   * reinstalling from scratch (not buildworld, but really
> installing from FTP)
>   * md5 again and diff.

[snip]

> Ugh... system clean again at last. :)

You can't be sure.  The attacker probably put an suid binary somewhere
besides the normal system binaries, in which case it's still there and
you may still be vulnerable.  When you know you've been hacked, you
need to wipe the disk and *really* reinstall from scratch.  And be
very careful about what you restore from backups, too.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
this is my fstabs file could you please explain where i enter and set 
values for the -R and -b options

# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s1a /   ufs rw  1   1
/dev/ad0s4e /usrufs rw  2   2
/dev/ad0s3e /varufs rw  2   2
proc/proc   procfs  rw  0   0

#--
#remote mounts
#--
v21.higcoup.ca:/usr/src /mnt/v21.highcoup.ca/usr/src
nfs r noauto0   0
v21.higcoup.ca:/usr/local/ect /mnt/v21.highcoup.ca/usr/local/etc
nfs r noauto0   0

#--

Scott W wrote:

RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs 
share set up to another machine and that machine goes down the next 
time i reboot  my system the machine hangs when it cannot find the 
share and will not allow me to do anything and i have to hook up a 
monitor and keyboard to get it back the same happens when there is an 
error on a cd rom

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

Use the background (-b or bg) and interruptible (-i or intr) options, 
along with a reasonable timeout.  See
man mount_nfs for the specifics.

Scott

___
[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: fsck error messages don't get logged?

2003-11-23 Thread Lowell Gilbert
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]> writes:

> I just had a crash, and upon reboot fsck displayed these gnarly
> errors that went by too quick for me to read, my different display
> lines settings loading on the console making it worse. So I thought,
> allright, just dmesg. Nothing about the errors there. /var/log/messages?
> nothing either. Don't these messages get logged anywhere? This is all
> I get..

They're usually interactive.

> (..)
> Nov 23 12:34:29 localhost kernel: Mounting root from ufs:/dev/ad0s4a
> Nov 23 12:34:29 localhost kernel: WARNING: / was not properly dismounted
> Nov 23 12:34:29 localhost kernel: ipfw2 initialized, divert disabled,
> rule-based forwarding enabled, default to deny, logging disabled
> (..)
> 
> Thanks in advance for any help,

You can't scroll the window back to the messages?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: usb digital camera

2003-11-23 Thread JacobRhoden
On Mon, 24 Nov 2003 09:02 am, Kent Hauser wrote:
> usbdevs sees the camera, as does "gphoto2 --auto-detect". However, I'm
> unable to access the camera data with "gphoto2 --auto-detect --summary" (or
> via digikam or via konquerer). 

I used to use gphoto to read my photos, but these days I just have a compact 
flash card reader plugged in via usb, it lets you browse/view/copy your 
photos just like they were on a floppy, much easier, simpler, and faster. You 
can even write a script to automate it, so plugging in your usb card reader 
automounts your photos somewhere.


Jacob RhodenPhone: +61 3 8344 4478
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: booting freebsd and openbsd

2003-11-23 Thread Lowell Gilbert
Paulo Roberto <[EMAIL PROTECTED]> writes:

> I got 4.9 installed on my machine and I need to be able to dual-boot
> freebsd and openbsd. The freebsd boot-loader recognizes (F2 BSD) but
> does not boot the openbsd partition. Do I have to set any extra
> parameter?

Funny, I didn't think that should be a problem.
What partition type is OpenBSD creating?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Postfix/procmail/fetchmail/spamassassin setup

2003-11-23 Thread Jonas Manalive
> could you please verfiy your postfix configuration using `postfix
> check'? Perhaps this will show some errors.

No errors.

> Other hints: Check /var/log/maillog (and post some lines from the tail
> if you still can fix your problem).

A'ha! What do I do here to fix this? (I think I should have changed the
alias database from alias_maps = dbm:/etc/aliases to alias_maps =
hash:/etc/aliases - or should that be nis or netinfo?) Here is the
output:
--
Nov 23 14:44:12 ancient postfix/master[69957]: warning: process
/usr/local/libexec/postfix/smtpd pid 81358 exit status 1
Nov 23 14:44:12 ancient postfix/master[69957]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Nov 23 14:45:12 ancient postfix/smtpd[81362]: fatal: unsupported
dictionary type: dbm
Nov 23 14:45:13 ancient postfix/master[69957]: warning: process
/usr/local/libexec/postfix/smtpd pid 81362 exit status 1
Nov 23 14:45:13 ancient postfix/master[69957]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Nov 23 14:46:13 ancient postfix/smtpd[81363]: fatal: unsupported
dictionary type: dbm
Nov 23 14:46:14 ancient postfix/master[69957]: warning: process
/usr/local/libexec/postfix/smtpd pid 81363 exit status 1
Nov 23 14:46:14 ancient postfix/master[69957]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Nov 23 14:47:14 ancient postfix/smtpd[81367]: fatal: unsupported
dictionary type: dbm
Nov 23 14:47:15 ancient postfix/master[69957]: warning: process
/usr/local/libexec/postfix/smtpd pid 81367 exit status 1
Nov 23 14:47:15 ancient postfix/master[69957]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling



> Is the postfix daemon listening on port 25? Are you able to telnet
> there:
> 
> % telnet localhost 25

Telnet'd with no problems.

> Simon

Best regards,

Jonas

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


Re: remote mount hangs sysstem

2003-11-23 Thread paul beard
On Nov 23, 2003, at 1:31 PM, RYAN vAN GINNEKEN wrote:

So if i set to noauto does it still get mounted or do i have to 
execute a command later

sure, just use "mount /mount/point" If the fstab works now, you won't 
need to do anything else. There may be more sophisticated ways 
(automounters and such that mount the filesystem as you traverse into 
it) but I've never used them.

man 8 amd, for example.

DESCRIPTION
 Amd is a daemon that automatically mounts filesystems whenever a 
file or
 directory within that filesystem is accessed.  Filesystems are 
automati-
 cally unmounted when they appear to be quiescent.

--
Paul Beard

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


Re: usb digital camera

2003-11-23 Thread Bill Campbell
On Sun, Nov 23, 2003, Kent Hauser wrote:
>Hi,
>
>Is there some trick to using USB devices? I'm trying to access my Nikon 
>coolpix 5000 (latest firmware PTP mode) from 4.9-STABLE with no luck.

I've found the easiest way to deal with digital cameras is to buy the
appropriate USB flash memory adapter.  They typically have an MSRP around
$20.00 US.  I also have a PCMCIA smartmedia adapter for my laptop that I
bought about three year ago when Linux support for USB was iffy at best.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.
-- Johnny Hart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-23 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single-line paragraphs.

On Sunday, 23 November 2003 at 13:03:47 -0500, Bob Collins wrote:
> At 07:30 PM 11/21/2003, you wrote:
>> On Friday, 21 November 2003 at  9:25:58 -0500, Bob Collins wrote:
>>> vinum -> list
>>> 4 drives:
>>> D d State: up   Device /dev/da1s1h  Avail: 0/8747 MB 
>>> (0%)
>>> D c State: up   Device /dev/da2s1h  Avail: 0/8747 MB 
>>> (0%)
>>> D b State: up   Device /dev/da3s1h  Avail: 0/8747 MB 
>>> (0%)
>>> D a State: up   Device /dev/da4s1h  Avail: 0/8747 MB 
>>> (0%)
>>>
>>> 1 volumes:
>>> V raid  State: down Plexes:   1 Size: 25 GB
>>>
>>> 1 plexes:
>>> P raid.p0R5 State: init Subdisks: 4 Size: 25 GB
>>>
>>> 4 subdisks:
>>> S raid.p0.s0State: emptyPO:0  B Size:   8747 MB
>>> S raid.p0.s1State: emptyPO:  512 kB Size:   8747 MB
>>> S raid.p0.s2State: emptyPO: 1024 kB Size:   8747 MB
>>> S raid.p0.s3State: emptyPO: 1536 kB Size:   8747 MB
>>
>> This doesn't agree with what you say above.  It also looks fine to
>> me.
>
> My apologies, Greg. Quite right. I was messing with the system right
> before the response about sa4 device nodes in /dev. Once I made the
> da4 devices, then the disklabel worked. My mistake jumping the gun.
>
> One follow-up question if I may.
>
> I assume that the init process for a RAID5 takes quite some time,
> no? This has been in the init stage for 3 days. The vinum daemon is
> running as I can see it listed in ps -ax.

This is the init state, which means it needs initializing.  To
initialize, issue the 'init' command.  The state will change from
'init' to 'initializing', and the list command shows the progress of
the initialization.  This writes zeroes to the drives in parallel;
expect it to take an hour or two on drives of this size.

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


Re: Postfix/procmail/fetchmail/spamassassin setup

2003-11-23 Thread Simon Barner
Hi,

could you please verfiy your postfix configuration using `postfix
check'? Perhaps this will show some errors.

Other hints: Check /var/log/maillog (and post some lines from the tail
if you still can fix your problem).

Is the postfix daemon listening on port 25? Are you able to telnet
there:

% telnet localhost 25

Simon


signature.asc
Description: Digital signature


Re: remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
So if i set to noauto does it still get mounted or do i have to execute 
a command later

paul beard wrote:

On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs 
share set up to another machine and that machine goes down the next 
time i reboot  my system the machine hangs when it cannot find the 
share and will not allow me to do anything and i have to hook up a 
monitor and keyboard to get it back the same happens when there is an 
error on a cd rom

make sure the entry on /etc/fstab is set to noauto: then the client 
won't try to mount the filesystem on boot.
--
Paul Beard

paulbeard [at] mac.com

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



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


Re: remote mount hangs sysstem

2003-11-23 Thread Scott W
RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs share 
set up to another machine and that machine goes down the next time i 
reboot  my system the machine hangs when it cannot find the share and 
will not allow me to do anything and i have to hook up a monitor and 
keyboard to get it back the same happens when there is an error on a 
cd rom

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

Use the background (-b or bg) and interruptible (-i or intr) options, 
along with a reasonable timeout.  See
man mount_nfs for the specifics.

Scott

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


virus

2003-11-23 Thread Jackie S. McCracken
Somebody on this list has mimail virus could you all please scan your windows 
computers.  I've got about 100 of them in the last 4 days.  Hint I did NOT get any 
after yesterday morning until this morning so if your computer was off most of the day 
yesterday you're probably the one.  Thanks in advance for your help.

Jackie

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


Running rbldnsd

2003-11-23 Thread Mark
Perhaps a bit off-topic, but since dynablock.easynet.nl's untimely demise, I
have been running the dynablock zone in BIND. Works great, but takes a
whopping 117MB! So, I tried using rbldnsd, which is about 10 times more
memory-efficient (!). I created a zone, dynablock.my-domain.info, and added
the zone-data, and start rbldns as follows:

rbldnsd -u bind:bind -r /usr/rbldns -b 127.0.0.1 -P 53 -c 0 \
dynablock.my-domain.info:generic:zoneheader.dynablock.my-domain.info \
dynablock.my-domain.info:ip4set:dynablock.my-domain.info

The "zoneheader.dynablock.my-domain.info" contains the following:

$NS 86400 ns1.my-domain.info
$SOA 1w ns1.my-domain.info admin.my-domain.info 0 2h 2h 1w 1h
@ 86400 A 127.0.0.1
dsl-cable-dhcp-dialup.ip 86400 A 127.0.0.2
dsl-cable-dhcp-dialup.ip 86400 TXT Dynamic/Residential IP range

Rbldsnd starts fine, without error, and says it loaded all zones:

rbldnsd: ip4set:dynablock.my-domain.info: 20031123 174253: \
e32/24/16/8=372826/241350/1001/0
rbldnsd: generic:zoneheader.dynablock.my-domain.info: 20031123 183814: e=3
rbldnsd: version 0.96 (29 May 2003) started (listening on [127.0.0.1]:53)

Yet, I cannot get any query to resolve on it:

% nslookup 218.65.86.15.dynablock.my-domain.info
*** Can't find server name for address 127.0.0.1: Query refused

I guess I misconfigured the "zoneheader" somehow. But I do not see how. Is
there anyone out there with a working knowledge of rbldns who can tell me
what I am doing wrong? It manages load load the whole dynablock zone in less
than 8MB (!), so it is worth trying to get to work, I'd say.

Thanks,

- Mark

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


Re: remote mount hangs sysstem

2003-11-23 Thread paul beard
On Nov 23, 2003, at 12:13 PM, RYAN vAN GINNEKEN wrote:

Is there a way to mount a cdrom or  remote file systems using fstab 
but not having it crash out the system.  example if i have a nfs share 
set up to another machine and that machine goes down the next time i 
reboot  my system the machine hangs when it cannot find the share and 
will not allow me to do anything and i have to hook up a monitor and 
keyboard to get it back the same happens when there is an error on a 
cd rom

make sure the entry on /etc/fstab is set to noauto: then the client 
won't try to mount the filesystem on boot.
--
Paul Beard

paulbeard [at] mac.com

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


usb digital camera

2003-11-23 Thread Kent Hauser
Hi,

Is there some trick to using USB devices? I'm trying to access my Nikon 
coolpix 5000 (latest firmware PTP mode) from 4.9-STABLE with no luck.

usbdevs sees the camera, as does "gphoto2 --auto-detect". However, I'm unable 
to access the camera data with "gphoto2 --auto-detect --summary" (or via 
digikam or via konquerer). Having never done this before, I don't know if 
there is a usb config file I need to hack (usbd is running with unmodified 
usbd.conf). I've tried running as user & root and saw no change.

Any help appreciated.

%grep usb /var/log/messages
Nov 23 11:56:08 hnl /kernel: usb0:  
on uhci0
Nov 23 11:56:08 hnl /kernel: usb0: USB revision 1.0
% usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00
 port 1 powered
 port 2 addr 2: self powered, config 1, NIKON DSC E5000-PTP(0x0113), 
Nikon(0x04b0), rev 1.00

Kent


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


Re: daemon monitoring

2003-11-23 Thread Alex de Kruijff
On Sun, Nov 23, 2003 at 10:52:48AM -0800, Will Prater wrote:
> List,
> 
> What are most of you using to monitor the running daemons? I have been 
> loooking into DJB daemontools which seems appropriate, but are there 
> any others that you reccomend?
> 
> If DJB's daemontools is the one, could I get some more examples? I am 
> primarily trying to keep my mail system online: postfix, cyrus, 
> saslauthd, mysql, and spamassassin.

I would advise Nagios.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Postfix/procmail/fetchmail/spamassassin setup

2003-11-23 Thread Jonas Manalive
Hello,

I am having terrible time trying to figure out why I can't get any
emails. I used to be able to receive them before, but since reinstalling
FreeBSD (new harddrive), I am not able to get any emails again. I am
using FreeBSD 5.1 - standalone computer with me as the sole user. With
postfix, I want to use fetchmail to fetch mails and procmail to deliver
them and spamassassin to examine them. I want the procmail/postfix to
send them to /var/mail/manalive. Here are the configurations
(username/password changed of course :) ) and let me know where I am
doing wrong. There is no procmail.log file. I have stopped, started, and
reloaded the postfix after configuring. Any other configurations you
need to see, please let me know!

Thanks!

Jonas

--
.fetchmailrc
-
set logfile /home/manalive/Logs/fetchmail.log
set postmaster manalive
set no bouncemail

# Poll at 15 minute intervals
set daemon 900

poll pop.mail.com
proto POP3
user "[EMAIL PROTECTED]"
pass "password"
is manalive here
fetchall
no keep
poll pop.mail.com
proto POP3
user "[EMAIL PROTECTED]"
pass "password"
is manalive here
no fetchall
keep

--
.forward
-
"|IFS=' ' && p=/usr/local/bin/procmail && test -f $p && exec $p -Yf- ||
exit 75 manalive"

---
.procmailrc

SHELL=/bin/sh
PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/games
DEFAULT=/var/mail/manalive
LOGFILE=/home/manalive/Logs/procmail.log
VERBOSE=YES
 
:0fw: spamassassin.lock
* < 100
| spamassassin

---
fetchmail.log
--
fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 6.2.5 querying pop.mail.com (protocol POP3) at Sun Nov 23
13:12:33 2003: poll started
fetchmail: POP3< +OK MAIL POP3 StreamProxy ready
<[EMAIL PROTECTED]>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Unknown command.
fetchmail: Unknown command.
fetchmail: Repoll immediately on [EMAIL PROTECTED]@pop.mail.com
fetchmail: POP3< +OK GMX POP3 StreamProxy ready <[EMAIL PROTECTED]>
fetchmail: POP3> USER [EMAIL PROTECTED]
fetchmail: POP3< +OK May I have your password, please?
fetchmail: POP3> PASS *
fetchmail: POP3< +OK mailbox has 326 messages (1419792 octets)
fetchmail: POP3> STAT
fetchmail: POP3< +OK 326 1419792
fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792
octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 4551
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK message follows
fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551
octets)
fetchmail: smtp listener protocol error
fetchmail: terminated with signal 15
fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 326 messages for [EMAIL PROTECTED] at pop.mail.com (1419792
octets).
fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 326 (4551
octets) fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from pop.mail.com
fetchmail: Query status=10 (SMTP)
fetchmail: 1 message for [EMAIL PROTECTED] at pop.mail.com (26611 octets).
fetchmail: reading message [EMAIL PROTECTED]@pop.mail.com:1 of 1 (26611
octets) fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from pop.mail.com

---
main.cf for postfix (with #lines removed)

soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
myhostname = ancient.mariner.sea
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain
unknown_local_recipient_reject_code = 450
alias_maps = dbm:/etc/aliases
home_mailbox = Mailbox
mail_spool_directory = /var/mail
mailbox_command = /usr/local/bin/procmail
debug_peer_level = 2
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no

--
rc.conf 

hostname="ancient.mariner.sea"
ifconfig_vr0="DHCP"
ipv6_enable="YES"
kern_securelevel_enable="NO"
saver="daemon"
sendmail_enable="NONE"
sshd_enable="YES"
usbd_enable="YES"
linux_enable="YES"
inetd_enable="NO"

--
/etc/aliases
---
[among other things... I have included]
root: manalive
postfix: root

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


Re: hard drive bench

2003-11-23 Thread Stefan A. Deutscher
On Sun, Nov 23, 2003 at 08:58:54PM +0100, Antoine Jacoutot wrote:
> Hi :)
> 
> Is there a hard drive speed measurement available for FreeBSD ?
> I don't need anything fancy, just something like "hdparm -t" under Linux.
> 
> Thanks.


Hi Antoine,

 check out bonnie from the ports tree and make sure the test files are
at least the size of your RAM. Otherwise you'll be measuring the speed
of the caching system, which is pretty fast on BSD.


 Cheers, Stefan

-- 

Stefan A. Deutscher |
Donostia International Physics Center   | office: ++34-943-018174
Universidad del Pais Vasco, Facultad de Quimica | fax   : ++34-943-015600
Departamento de Fisica de Materiales| home  : ++34-943-270647
Apartado 1072, San Sebastian 20080, Spain   | email : [EMAIL PROTECTED]


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


remote mount hangs sysstem

2003-11-23 Thread RYAN vAN GINNEKEN
Is there a way to mount a cdrom or  remote file systems using fstab but 
not having it crash out the system.  example if i have a nfs share set 
up to another machine and that machine goes down the next time i reboot  
my system the machine hangs when it cannot find the share and will not 
allow me to do anything and i have to hook up a monitor and keyboard to 
get it back the same happens when there is an error on a cd rom

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


POLA violation?: snmp renumbering stuff

2003-11-23 Thread paul beard
For some reason, my locally installed snmp daemons decided to renumber 
the elements in the hrStorageTable, meaning all the attached disks were 
being either misreported or just plain dropped from my graphs 
(paulbeard.no-ip.org/mrtg/blue/index.html). Not that the new numbering 
doesn't make sense but I didn't know this was going to happen.

How to discover and fix it? snmptable is my friend. As shown here, the 
memory used by the kernel is listed first, followed by the disks. The 
disks were numbered starting at 1 before . . . . .

[/www/mrtg/blue]# snmptable -c  blue hrStorageTable
SNMP table: HOST-RESOURCES-MIB::hrStorageTable
hrStorageIndex hrStorageType hrStorageDescr hrStorageAllocationUnits 
hrStorageSize hrStorageUsed hrStorageAllocationFailures
1 HOST-RESOURCES-TYPES::hrStorageOther Memory Buffers 256 Bytes ? 192 0
2 HOST-RESOURCES-TYPES::hrStorageRam Real Memory 4096 Bytes ? 3241 ?
3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Swap Space 4096 Bytes ? 
19625 ?
4 HOST-RESOURCES-TYPES::hrStorageFixedDisk / 1024 Bytes ? 83592 ?
5 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr 1024 Bytes ? 3639961 ?
6 HOST-RESOURCES-TYPES::hrStorageFixedDisk /var 1024 Bytes ? 8015 ?
7 HOST-RESOURCES-TYPES::hrStorageFixedDisk /proc 4096 Bytes ? 1 ?
8 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr/ports 512 Bytes ? 
35548516 ?
--
Paul Beard

paulbeard [at] mac.com

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


Re: More info [was Re: Sony PCG-GRX570 laptop, panic on boot w/ 5.1R...]

2003-11-23 Thread George Hartzell
Remington writes:
 > George Hartzell wrote:
 > 
 > >George Hartzell writes:
 > > > 
 > > > I've been trying to install something 5-ish on a Sony PCG-GRX570
 > > > laptop.
 > > > 
 > > > I started off trying to boot off of the 5.1 release CD, normally,
 > > > w/out acpi, and safe.  Every option panic-ed, with essentially the
 > > > same message (see below), although it followed a different driver
 > > > depending on how it was booted.
 > > > [...]
 > > [...]
 > I have a GRX570, the problem can be fixed by adding the following to 
 > your device.hints
 > 
 > hw.pci.allow_unsupported_io_range=1

Yay!  That got it.  Thanks!

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


Re: More info [was Re: Sony PCG-GRX570 laptop, panic on boot w/ 5.1R...]

2003-11-23 Thread Remington
George Hartzell wrote:

George Hartzell writes:
> 
> I've been trying to install something 5-ish on a Sony PCG-GRX570
> laptop.
> 
> I started off trying to boot off of the 5.1 release CD, normally,
> w/out acpi, and safe.  Every option panic-ed, with essentially the
> same message (see below), although it followed a different driver
> depending on how it was booted.
> 
> Then I installed 4.7 (since I had the CD), cvsup-ed my repository, and
> cvs up'ed /usr/src to the 5-current.  I followed the section on moving
> from 4 to 5-current in UPDATING to build the world, etc  I had to
> work around a bit of previously reported 4.7/5 weirdness in
> /usr/include, but it went w/out any trouble.
> 
> When I reached the point where I was supposed to boot the new kernel
> in single user mode, the 5-current kernel paniced:
> 
>   miibus0:  in fxp0
>   inphy0:  on miibus0
>   inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>   
>   
>   
>   Fatal trap 12: page fault while in kernel mode
>   cpuid = 0; apic id = 00
>   fault virtual address	= 0x63696d20
>   fault code		= supervisor write, page not present
>   instruction pointer	= 0x8:0xc0659df3
>   stack pointer		= 0x10:0xc0c217ac
>   frame pointer		= 0x10:0xc0c217cc
>   code segment		= base 0x0, limit 0xf, type 0x1b
>   			= DPL 0, pres 1, def32 1, gran 1
>   processor eflags	= interrupt enabled, resume, IOPL = 0
>   current process		= 0 (swapper)
>   kernel: type 12 trap, code=0
>   Stopped at	ithread_add_handler+0x163:	movl	%ebx,0(%eax)
>   db>
> 
> I've seen several similar reports in the archives for late last
> summer.  The general answer seemed to be that people were having
> hardware trouble.  I don't think that is the case in my case, unless
> -current is doing something very strange, since the same machine runs
> well enough under 4.7 to buildworld and buildkernel, and the same
> hardware has been running Suse and Win2000.
> 
> How can I help get this solved?

It turns out that the 5.0 release CD also boots successfully, so it
seems to be something that's happened in -current since then.
Help?

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

I have a GRX570, the problem can be fixed by adding the following to 
your device.hints

hw.pci.allow_unsupported_io_range=1

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


Material

2003-11-23 Thread NEED_FIRST NEED_LAST
Hi, I am a student at Minot State University in Minot,ND. I work in the
computer lab and was noticing all the posters that we have up are getting
old and out dated. Some one mentioned to me FreeBSD (rocks). I have never
heard about freebsd so I was wondering do you have any material that you
could send me about FreeBSD. Maybe you could send me some posters to
display in the lab. Thanks

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


hard drive bench

2003-11-23 Thread Antoine Jacoutot
Hi :)

Is there a hard drive speed measurement available for FreeBSD ?
I don't need anything fancy, just something like "hdparm -t" under Linux.

Thanks.

-- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc

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


Novice needs advice building new kernel: UPG 4.7-RELEASE ---> 4.9-RELEASE

2003-11-23 Thread Jeff Bogari
Thanks in advance for the expert assistance:

I'm *halfway* knowledgeable with my 4.7-RELEASE system.  Built it on a
486/66 (16MB RAM) about a year ago.  It's time to upgrade to 4.9-RELEASE.
Here's what I've got so far:

1.  Set the options in sysinstall to retrieve 4.9-RELEASE instead of
4.7-RELEASE
2.  Used sysinstall to download the 4.9-RELEASE data via FTP
3.  Tried to rebuild the kernel with the "first" process as documented
4.  All steps proceed without error
5.  Kernel size after last step is 0KB, so reboot fails.  Fallback to
kernel.old
6.  GENERIC kernel installed with 4.9-RELEASE is kinda iffy - had to address
several issues with 4.7 GENERIC to arrive at the kernel conf I am happy
with under 4.7
7.  Ran through kernel conf again to confirm no new gotchas and all required
deviations for my setup were followed.  Nothing looks fishy.

Then:
1.  Tried "second" procedure as documented
2.  Failure at some point I don't recall due to physical memory or swap size

How/why is this kernel ending up 0-sized with no error message?

I played with the kernel protection as documented in the troubleshooting
sections.  Everything seems normal.  Must I set kern_security level < 0
before
I begin?

Or should I lean on the "second" process to make it work?  The problem there
being that I do not have a kernel that allows me to increase swap by
creating a swap file   >:(

Any help would be appreciated.

Jeff

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


Boot manager clarification

2003-11-23 Thread Craig Caughlin
Hi folks,
I have 2 hard disks, each on their own channel. I have XOSL installed as my
boot manager, in Drive 1, Partition 1. I have Windows 2000-Pro on Drive 1,
Partition 2. I want to install FreeBSD 5.0 on Drive 2, but use XOSL to load
it. 

Should I install FreeBSD using the "Standard" MBR option, or should I use
the "BootMgr" option? I *think* I would want to use the standard, because it
seems like the BootMgr option would install in the MBR of Disk 1 and NOT
Disk 2, thereby goofing up XOSL (which is what I'm trying to avoid!).

Thank you,
Craig

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


Re: advice needed on creating hmtl docs?

2003-11-23 Thread paul beard
On Nov 23, 2003, at 9:22 AM, fbsd_user wrote:

I would really like to use the ms/word docs as source input to some
FBSD hmtl generator to build original hmtl source that apache can
serve up natively.  Can any body suggest how to do this?
One approach I've had some success with is to take the baroque HTML 
that Word generates and run it through htmltidy. It can strip out all 
the deprecated tags and generate CSS styles for you, giving you both 
the appearance and the maintainability you may need later.
--
Paul Beard

paulbeard [at] mac.com

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


ftp/ftpd and kerberos5

2003-11-23 Thread Дейтер Александр Валериевич
Why ftp and ftpd in FreeBSD 5.x does not support kerberos5 ?

Thanks!

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


Re: HD error: BAD SUPER BLOCK

2003-11-23 Thread Toomas Aas
Hello!

> Date:  Fri, 21 Nov 2003 10:53:06 +0100
> From:  Robert Neumann <[EMAIL PROTECTED]>
>
> this is the problem:
> I had a machine running FreeBSD 4.7-Stable. There I added a 80GB 
> harddisk. This harddrive I wanted to install on my other machine running 
> FreeBSD 4.9-Release. This disk is ad6 so I added
> 
>   /dev/ad6/storageufs rw  2   2
> 
> to fstab and rebooted.

Did I understand the situation right - the drive worked in 4.7 machine 
but the problem occurred when you moved it to the 4.9 machine?

The above fstab entry doesn't look quite correct to me. The filesystem 
that you mount should usually be contained in a partition (e.g. 
/dev/ad6s1e) not on entire disk (/dev/ad6).

If the drive worked in the 4.7 machine, what was the fstab entry there?

> While booting the kernel the following error came up:
>   ...
>   /dev/ad6: BAD SUPER BLOCK: MAGIC NUMBER WRONG
>   /dev/ad6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
>   ** /dev/ad6
>   BAD SUPER BLOCK: MAGIC NUMBER WRONG
>   /dev/ad6; NOT LABELED AS A BSD FILE SYSTEM (unused)
> 
> I searched the intenet and found this way:
>   fsck -b 32
> 
> which gives this output for /dev/ad6:
>   ...
>   BAD SUPER BLOCK: MAGIC NUMBER WRONG

This all seems to hint that /dev/ad6 does not contain an UFS file 
system.

> the output of
>   fdisk -t ad6
> is the following:
>   ...
>   sysid 165,(FreeBSD/NetBSD/386BSD)
>   start 63, size 160071597 (78159 Meg), flag 80 (active)
>   beg: cyl 0/ head 1/ sector 1;
>   end: 1023/ head 254/ sector 63;

OK, there's a FreeBSD slice on the drive.

> the output of /stand/sysinstall ->Configure->Fdisk->ad6 is:
> 
> OffsetSize(ST)  END   Name   PType  Desc   Subtype  Flags
> 0 63 62 - 6   unused   0  
> 63 160071597  160071659   ad6s1   3   freebsd  165  C
> 160071660  14868  160086527 - 6   unused   0  

That seems to be the same slice as listed by fdisk. Note that is's 
called ad6s1.

What is the output of 'disklabel ad6'?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Testicle -- n., a humorous question to an exam.

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


daemon monitoring

2003-11-23 Thread Will Prater
List,

What are most of you using to monitor the running daemons? I have been 
loooking into DJB daemontools which seems appropriate, but are there 
any others that you reccomend?

If DJB's daemontools is the one, could I get some more examples? I am 
primarily trying to keep my mail system online: postfix, cyrus, 
saslauthd, mysql, and spamassassin.

Thanks for any input

--will

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


RE: Modem

2003-11-23 Thread Jesse Guardiani
fbsd_user wrote:

> Read the FBSD handbook.
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht

Also, you might want to try kppp from the KDE project. It's a graphical
front end to Kernal PPP (pppd), and I find that it's much easier to use
than the CLI when I need to connect in a hurry on my laptop.

I think it's probably a good idea to get user ppp (FreeBSD Handbook)
working before switching to kppp though. That way you'll be able to
debug easier.

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


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


Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-23 Thread Bob Collins
At 07:30 PM 11/21/2003, you wrote:
>[Format recovered--see http://www.lemis.com/email/email-format.html]
>
>Quotation broken.
>
>On Friday, 21 November 2003 at  9:25:58 -0500, Bob Collins wrote:
>> At 08:41 PM 11/19/2003, Greg 'groggy' Lehey wrote:
>>> [Format recovered--see http://www.lemis.com/email/email-format.html]
>>>
>>> Quotation broken.
>>>
>>> On Wednesday, 19 November 2003 at  9:13:43 -0500, Bob Collins wrote:
 At 10:46 PM 11/17/2003, Greg 'groggy' Lehey wrote:
>
> Do you have device nodes for da4?  Has it been labelled at all?

 I did not have `all' the nodes for da4 in /dev. So, I ran #sh MAKEDEV da4
 in the /dev directory. After that, there were what appeared to be all the
 device nodes for da4.

 I was able to label the drive and use it with vinum under
 5.0-RELEASE FWIW.  Under 4.9-RELEASE (which is what I now run) it
 will not label through /stand/sysinstall.

 I can now newfs the drive and mount it and copy files to and fro,
 however I cannot use it with vinum. I did umount the drive and
 then disklabel -e da4 and changed the e: to h: and the filesystem
 type to vinum. It was da4s1e.

 When I create the vinum configuration, I either get that drive d
 (da4s1h) is referenced and in the down state while the other three
 drives are up, or the other three drives a b c are referenced and
 in the down state while drive d is up.
>>>
>>> I need the information I ask for in
>>> http://www.vinumvm.org/vinum/how-to-debug.html.
>>
>> FreeBSD 4.9 RELEASE
>>
>> No changes to sources
>>
>> vinum -> list
>> 4 drives:
>> D d State: up   Device /dev/da1s1h  Avail: 0/8747 MB 
>> (0%)
>> D c State: up   Device /dev/da2s1h  Avail: 0/8747 MB 
>> (0%)
>> D b State: up   Device /dev/da3s1h  Avail: 0/8747 MB 
>> (0%)
>> D a State: up   Device /dev/da4s1h  Avail: 0/8747 MB 
>> (0%)
>>
>> 1 volumes:
>> V raid  State: down Plexes:   1 Size: 25 GB
>>
>> 1 plexes:
>> P raid.p0R5 State: init Subdisks: 4 Size: 25 GB
>>
>> 4 subdisks:
>> S raid.p0.s0State: emptyPO:0  B Size:   8747 MB
>> S raid.p0.s1State: emptyPO:  512 kB Size:   8747 MB
>> S raid.p0.s2State: emptyPO: 1024 kB Size:   8747 MB
>> S raid.p0.s3State: emptyPO: 1536 kB Size:   8747 MB
>
>This doesn't agree with what you say above.  It also looks fine to
>me.
>
>Greg
>--


My apologies, Greg. Quite right. I was messing with the system right before the 
response about sa4 device nodes in /dev. Once I made the da4 devices, then the 
disklabel worked. My mistake jumping the gun.

One follow-up question if I may.

I assume that the init process for a RAID5 takes quite some time, no? This has been in 
the init stage for 3 days. The vinum daemon is running as I can see it listed in ps 
-ax.

Thank you
Bob 

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


Re: FreeBSD 5.1 on a Laptop

2003-11-23 Thread Jesse Guardiani
D Velez wrote:

> Hi, I was wondering if FreeBSD 5.1 can be
> install on a laptop?

I've been running 5.1-RELEASE on my IBM Thinkpad A30p
for 4 or 5 months now. I like it a lot. It's was a bit
trickier to get installed than 4.8-RELEASE, but once
it's installed it works well.

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


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


Re: Modem problems

2003-11-23 Thread Jesse Guardiani
Shaun Alcaster (ECI Support) wrote:

> We have a lease line directly connected to out internet survice provider.
> Both have 56k lease line modems, but can only connect at about 33.3Kbs how
> do we change this.

Most likely the problem is with your phone lines, not FreeBSD or your ISP.

I work at an ISP. I can connect at 48,000 bps with my FreeBSD laptop from downtown
- at work. If I take my laptop home, I can only connect at 24,600 bps. My house
is on the outskirts of town and I think we have more than our fair share of analog
to digital conversions between my house and the central office.

Same story with my Win98 box. But FreeBSD with my PCMCIA hardware modem actually
transfers data faster than my win98 box w/software modem.

If you really want to connect at 56k or higher, you generally have three options:

1.) ISDN. Full digital line ensures 64k connection speeds, and dual channels
with bonding means that you can get a 128k connection. Usually you won't
spend too much more for ISDN than you would for dual 56k connections, but
since ISDN actually connects at 64k, it'll be a lot faster.

2.) DSL. If available, it's always on, and generally the same price or cheaper
than ISDN. Just make sure you get a DSL router with an ethernet jack instead
of a USB DSL "modem". AFAIK, DSL dongles aren't supported by FreeBSD.

3.) Partial or Full T1. Absolute fastest connection of the three, but also the
most expensive. This is total overkill for most small businesses.

Hope that helps.

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


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


Re: advice needed on creating hmtl docs?

2003-11-23 Thread Matthew Seaman
On Sun, Nov 23, 2003 at 12:22:34PM -0500, fbsd_user wrote:
> I would really like to use the ms/word docs as source input to some
> FBSD hmtl generator to build original hmtl source that apache can
> serve up natively.  Can any body suggest how to do this?

http://wvware.sourceforge.net in ports as textproc/wv or textproc/wv2

These are Unix style programs suitable for scripting/automation. 
Otherwise, you can convert most MS formats to HTML using OpenOffice

All of these will aim to produce output that looks almost exactly
like the .doc input, rather than neat, tidy, minimal HTML.

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: dmesg.today->dmesg.yesterday

2003-11-23 Thread Jesse Guardiani
Lowell Gilbert wrote:

> Jesse Guardiani <[EMAIL PROTECTED]> writes:
> 
>> How does dmesg.today get rotated to dmesg.yesterday?
>> 
>> I suspect my dmesg.today of being corrupted by old info.
>> I have gotten the following message in my security output
>> for the last four days:
>> 
>> pid 4062 (clamd), uid 3848: exited on signal 11
>> 
>> It appears in different places, but what are the chances of
>> clamd acquiring pid 4062 four days in a row?
> 
> That diff is taken as part of the periodic/security checks.
> I don't think it uses dmesg.today, though; I think it takes output
> directly from dmesg(8)...

>From /etc/periodic/security/security.functions:


---
# Usage: COMMAND | check_diff [new_only] LABEL - MSG
#COMMAND > TMPFILE; check_diff [new_only] LABEL TMPFILE MSG
#   if $1 is new_only, show only the 'new' part of the diff.
#   LABEL is the base name of the ${LOG}/${label}.{today,yesterday} files.

check_diff() {
---

It would appear that it does indeed use .today and .yesterday.

And I think I just answered my own question. check_diff is the
function that creates the dmesg.today and dmesg.yesterday files,
and is in charge of rotating them.

Thanks.

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


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


advice needed on creating hmtl docs?

2003-11-23 Thread fbsd_user
My shop has been writing internal standards & tutorials in
MS/windows word. They now want to make these available online over
the internet as web pages. We use FBSD as our gateway and apache as
our web server. I know I can install apache with ms/FrontPage
extensions added and then use FrontPage to read the word docs to
build the FrontPage hmtl code automatically.

I would really like to use the ms/word docs as source input to some
FBSD hmtl generator to build original hmtl source that apache can
serve up natively.  Can any body suggest how to do this?

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


Mozilla and long time in resolving Hostnames

2003-11-23 Thread tullio pellicano


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


Re: FreeBSD 5.1 on a Laptop

2003-11-23 Thread Daniela
On Sunday 23 November 2003 16:21, D Velez wrote:
> Hi, I was wondering if FreeBSD 5.1 can be
> install on a laptop?

I installed 5.0 once, without any problems.
There will surely not be a great difference between them.

For more info:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/article.html
[EMAIL PROTECTED]

Daniela


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


Re: Monitoring a file?

2003-11-23 Thread Cordula's Web
> > > >  A file, let's say, /path/to/a/file, is being modified by
> > > >  an unknown process P(u) at random times. Unfortunately,
> > > >  the name of the program ran by P(u) is unknown.
> Not a lock as such, but:
> 
> # chflags schg /path/to/a/file
> 
> should achieve the effect you desire.  Although this will cause any
> write on the file to just fail, rather than causing P(u) to block
> waiting for a lock.  You could try replacing /path/to/a/file with a
> fifo (see mkfifo(1)), and maybe hang another process on the other end
> of the fifo which can run ps(1) or fstat(1) when a write is detected.

Interesting, but the results were not conclusive.

I've finally found the culprit with a traditional method:
  * md5 (binary from an uncompromised machine) on all files
  * reinstalling from scratch (not buildworld, but really
installing from FTP)
  * md5 again and diff.

/bin/sh and cvsup (!!) were compromised on that machine.

The malicious code was in /usr/src/bin/sh/exec.c:shellexec()
Additionally, cvsup (and perhaps other programs) must have
been corrupt too, because code in /usr/src/bin/sh was never
updated.

Ugh... system clean again at last. :)

Thank you for all your help!

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


FreeBSD 5.1 on a Laptop

2003-11-23 Thread D Velez
Hi, I was wondering if FreeBSD 5.1 can be
install on a laptop?

I appreciate any comments

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


Re: FreeBSD, FHS, and /mnt/cdrom

2003-11-23 Thread Frank Murphy
On Saturday 22 November 2003 8:18, Charles Swiger wrote:
> /mnt should be reserved as a default temporary mount point-- it's silly
> to risk breaking existing tools or procedures.  Anyway, I suggest you
> solicit feedback from Solaris users and possibly MacOS X people as
> well.  Solaris features vold (implied by wanting to use /vol), and the
> latter OS places temporary removable mountpoints under /Volumes.

The point that /mnt should be left alone is pretty clear, but I'm glad to be 
able to say "Folks on the FreeBSD questions list agree."

As for Mac OS X, they have no intention of being FHS-compliant, so while we 
may learn some lessons from them, they won't worrz about what we have to say.

> I happen to think that OS X handles things well from a user interface
> standpoint-- the Finder in Panther with Miller column display and an
> eject symbol next to the volume name, but I'm not sure how relevant
> that is.  Frank, is your group's standard concerned about physical
> volume names, logical volume names intended for human
> identification/access, or both?
>
> Physical device names ought to have unit numbers or even be part of a
> tree-like device hierarchy-- for instance, what does /cdrom refer to in
> a machine with two CD-ROM devices?

In the current version of the standard (2.2), nothing. But in the next 
revision, /foo/cdrom will be a symlink to /foo/cdrom0, and /foo/cdrom1 won't 
have a link. Managing these links is not the scope of the standard (yet). The 
priority for the next revision is to define what "/foo" should be.

> Human-readable names also run the risk of two removable devices having
> the same name; people are happy seeing a list containing duplicate
> names (eg, particularly if one name has a CDROM icon next to it, and
> the other has a floppy or USB pen icon :-), but that doesn't tell you
> what to do with your filesystem hierarchy layout.

The actual names of the directories will be undefined, but there will be some 
suggestions (cdrom, floppy, etc.)

> Obviously, a standard that says "place mount points anywhere you want"
> isn't very useful.  But if you did come up with a standard, who should
> follow it and what would they gain?

As for who should follow it, Linux distributions (Debian, Red Hat, SuSE) as 
well as the *BSDs (though I'm not sure exaclty what that means in the BSD 
world). What would be gained is more for application support. Basically, xmms 
and xcdroast could configure a /foo/cdrom as a default location, and it will 
be correct for all FHS-compliant systems.

Frank

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


RE: Modem

2003-11-23 Thread fbsd_user
Read the FBSD handbook.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.ht
ml

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danny louis
Sent: Sunday, November 23, 2003 9:28 AM
To: [EMAIL PROTECTED]
Subject: Modem

Hi,

I recently Installed FreeBSD on my IBM THinkpad
600x. How do I configure the 56K internal modem for
dial up and internet services from scratch?


Thanks,
Daniel Lewis
561-547-6647

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


  1   2   >