A question about /tmp

2004-08-09 Thread roland Mathieu

Hello,

I want to install FreeBSD with a small root partition. It's
possible to use a different partition for /tmp, but /tmp can also be a
symbolic link pointing, for example, /var/tmp. Is it a good idea ? If not
what sort of problem will I encounter ?

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


Re: A question about /tmp

2004-08-09 Thread cpghost
On Mon, Aug 09, 2004 at 10:32:50AM +0200, roland Mathieu wrote:
> 
> Hello,
> 
> I want to install FreeBSD with a small root partition. It's
> possible to use a different partition for /tmp, but /tmp can also be a
> symbolic link pointing, for example, /var/tmp. Is it a good idea ? If not
> what sort of problem will I encounter ?

There's nothing wrong with a symlink. I have /tmp -> /var/tmp on
all my servers and never noticed the difference to a dedicated
/tmp partition. Theoretically, you'd experience a small performance
hit, but only if you open(2) many /tmp files very very often. 
Even with a make buildworld, or a portupgrade -aRrkf, I didn't
notice any difference in speed. Of course, YMMV.

-cpghost.

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


How to disable UDMA for HDD?

2004-08-09 Thread Stevan Tiefert
Hello,

when I try to install FreeBSD 5.2.1 on my computer with HDD on ata0-master and 
CD-ROM on ata0-slave I got five interessting messages during the 
boot-process:

...
ad0: 4124MB  [8938/15/63] at ata0-master UDMA33
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=8446347
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=8446347
ad0: WARNING - READ_DMA interrupt was seen but taskqueue stalled LBA=8446347

then the computer stops and he resists in this state till now...
OpenBSD "downgrades" this DMA-thing automaticly and the CD-ROM seems not 
supporting UDMA and I assume to set at bootphase 3 a device.hint but I don't 
know which one?

With regards
Mr.
Stevan Tiefert

-- 
deltree /y c:\windows
My suggestion to solve all your problems!

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


Bandwidth shaping for different flows

2004-08-09 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I want to do bandwidth shaping using dummynet. I want the box to act as
a bridge only and no layer-3 filtering. To that effect, I have the
following parameters in /etc/sysctl.conf:
net.link.ether.bridge_cfg=ed0,rl0
net.link.ether.bridge=1
net.link.ether.bridge_ipfw=1
net.link.ether.ipfw=1
net.inet.ip.fw.one_pass=1
net.inet.ip.fw.enable=0
My first question is that does this ensure that packets are processed at
the bridge level and not at layer-3? I am a bit confused between these
two parameters:
net.link.ether.bridge_ipfw, and
net.link.ether.ipfw
What is the effect of each specifically?
Two is that I am trying to allocate different bandwidth limits for:
1. Internet to home-network-A (in and out) - 128Kbps
2. Home-network-B to Home-Network-A (in and out) - 1Mbps
So I do:
ipfw -f flush
ipfw add pipe 1 ip from any to Network-A
ipfw add pipe 2 ip from Network-B to Network-A
ipfw pipe 1 config bw 128Kbit/s queue 10
ipfw pipe 2 config bw 1000Kbit/s queue 10
But I find that the effective limit is 128Kbps only for all transfers!!
Why isn't the traffic between Network-A and B put in pipe-2?
Also, if someone can point me to a document with lots of examples of
dummynet usage. I found Luigi Rizzo's page a bit lacking examples of
various scenarios.
Thanks,
Siddhartha
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBF1wYOGaxOP7knVwRAlThAJ940oz3Lgpqm46bbb2K0QoomV8GWwCfRs/p
Z1QXCajpDaw+txXbBfFSCHQ=
=zByh
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel compilation gives error

2004-08-09 Thread Dino Vliet
Hi there,

on my laptop I get the following error when doing
"make buildkernel KERNCONF=MYKERNEL"

The last part of the error message is:
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
echo "#define INET 1" > opt_inet.h
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE
-I- -I. -I@ -I@/../include
-I/usr/obj/usr/src/i386/usr/include 
/usr/src/sys/modules/if_tun/../../net/if_tun.c
===> if_vlan
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
echo "#define INET 1" > opt_inet.h
rm -f .depend
mkdep -f .depend -a   -nostdinc -DNVLAN=0 -D_KERNEL
-DKLD_MODULE -I- -I. -I@ -I@/../include
-I/usr/obj/usr/src/i386/usr/include 
/usr/src/sys/modules/if_vlan/../../net/if_vlan.c
===> iir
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
touch opt_scsi.h
touch opt_cam.h
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE
-I- -I. -I@ -I@/../include
-I/usr/obj/usr/src/i386/usr/include 
/usr/src/sys/modules/iir/../../dev/iir/iir.c
/usr/src/sys/modules/iir/../../dev/iir/iir_ctrl.c
/usr/src/sys/modules/iir/../../dev/iir/iir_pci.c
*** Error code 1

Stop in /usr/src/sys/modules/iir.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




My Kernel configuration file MYKERNEL is:

# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.59
2004/04/07 20:29:01 vkashyap Exp $

machine i386
cpu I686_CPU
ident   MYKERNEL
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug
symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big
directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS
required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660
required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before
probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time
extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
#To hide firewall from traceroute
options IPSTEALTH
options IPFIREWALL_FORWARD
options RANDOM_IP_ID
#To add web server support
options ACCEPT_FILTER_DATA
options ACCEPT_FILTER_HTTP
options KBD_INSTALL_CDEV# install a CDEV entry in
/dev
options AHC_REG_PRETTY_PRINT# Print register
bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register
bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data
PCMCIA floppy,
# don't use the above line for fdc0 but the following
one:
#device fdc0

# ATA and ATAPI devices
#device ata0at isa? port IO_WD1 irq 14
#device ata1at isa? port IO_WD2 irq 15
device  ata
device

MUSIC SERVER.

2004-08-09 Thread vincent kihumba
Dear Sir/Madam

I am a university student and i wanted to know from you that is it possible to store 
music in a server? To be more precise, Is it possible that  you have a server that is 
only desighned for storage of music only?

I hope that my request will be consindered as soon as possible.

Yours
Vincent


-- 
___
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

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


RE: MUSIC SERVER.

2004-08-09 Thread JJB
Sure a FreeBSD server can store music files.
FreeBSD does not care what is contained in a file, its just another
file.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of vincent
kihumba
Sent: Sunday, August 08, 2004 8:54 AM
To: [EMAIL PROTECTED]
Subject: MUSIC SERVER.
Importance: High

Dear Sir/Madam

I am a university student and i wanted to know from you that is it
possible to store music in a server? To be more precise, Is it
possible that  you have a server that is only desighned for storage
of music only?

I hope that my request will be consindered as soon as possible.

Yours
Vincent


--
___
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/def
ault.asp?SRC=lycos10

___
[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: Bandwidth shaping for different flows

2004-08-09 Thread Siddhartha Jain
Siddhartha Jain wrote:
Hello,
I want to do bandwidth shaping using dummynet. I want the box to act as
a bridge only and no layer-3 filtering. To that effect, I have the
following parameters in /etc/sysctl.conf:
net.link.ether.bridge_cfg=ed0,rl0
net.link.ether.bridge=1
net.link.ether.bridge_ipfw=1
net.link.ether.ipfw=1
net.inet.ip.fw.one_pass=1
net.inet.ip.fw.enable=0
My first question is that does this ensure that packets are processed at
the bridge level and not at layer-3? I am a bit confused between these
two parameters:
net.link.ether.bridge_ipfw, and
net.link.ether.ipfw
What is the effect of each specifically?
Still need to know this.
Two is that I am trying to allocate different bandwidth limits for:
1. Internet to home-network-A (in and out) - 128Kbps
2. Home-network-B to Home-Network-A (in and out) - 1Mbps
So I do:
ipfw -f flush
ipfw add pipe 1 ip from any to Network-A
ipfw add pipe 2 ip from Network-B to Network-A
ipfw pipe 1 config bw 128Kbit/s queue 10
ipfw pipe 2 config bw 1000Kbit/s queue 10
But I find that the effective limit is 128Kbps only for all transfers!!
Why isn't the traffic between Network-A and B put in pipe-2?
Sorry, stupid question. I realised that the packets enters a pipe as 
soon as one matches it profile and does not go thru the whole rule-base 
before entering a pipe. So just changed precedence. Works now.

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


Swappable Hard drives?

2004-08-09 Thread Robert Huff

Speaking of "swappable": I considering building a machine with
one or more hot-swappable SCSI drives.  Can I do this under FreeBSD
(5.x)?
If so, what manufacturers and vendors do people recommend?


Robert Huff


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


Re: Swappable Hard drives?

2004-08-09 Thread Siddhartha Jain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
We've been buying Compaqs (DL-380s and 580s) for four years now and are
happy. Also, IBM's boxes are good. We have a customer who bought Dell
and IBM and found that Dell performed about 25% less than the IBM's for
the same config.
HTH,
Siddhartha
Robert Huff wrote:
|   Speaking of "swappable": I considering building a machine with
| one or more hot-swappable SCSI drives.  Can I do this under FreeBSD
| (5.x)?
|   If so, what manufacturers and vendors do people recommend?
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBF3vTOGaxOP7knVwRAueeAKCY1qFHd31hpjYYbz70Dc7v6fBkNgCeJbL0
LBSdkZqYcoRor8s1sztk+lg=
=b6p4
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MUSIC SERVER.

2004-08-09 Thread Vulpes Velox
On Sun, 08 Aug 2004 07:54:11 -0500
"vincent kihumba" <[EMAIL PROTECTED]> wrote:

> Dear Sir/Madam
> 
> I am a university student and i wanted to know from you that is it
> possible to store music in a server? To be more precise, Is it
> possible that  you have a server that is only desighned for storage
> of music only?

Why not just export the dir with music in it usinf nfs, smb, or cfs?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel Compile Error

2004-08-09 Thread Ryan
bash-2.05b# make buildkernel KERNCONF=POTL

--
>>> Kernel build for POTL started on Mon Aug  9 09:07:24 EST 2004
--
===> POTL

Skiping To The End

cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include 
opt_global.h  -mpreferred-stack-boundary=2  setdef1.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh POTL 
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include 
opt_global.h  -mpreferred-stack-boundary=2  vers.c
linking kernel
kbd.o: In function `kbd_register':
kbd.o(.text+0x314): undefined reference to `kbddriver_set'
kbd.o(.text+0x31b): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x429): undefined reference to `kbddriver_set'
kbd.o(.text+0x42e): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x6b3): undefined reference to `kbddriver_set'
kbd.o(.text+0x6b8): more undefined references to `kbddriver_set' follow
*** Error code 1

Stop in /usr/obj/usr/src/sys/POTL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




(Kernel Config

machine i386
cpu I686_CPU
ident   POTL
maxusers0

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options CD9660  #ISO 9660 Filesystem   
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem  
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.

device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID   #Static device numbering

device  stg # TMC 18C30/18C50
device  scbus   # SCSI bus (required)
device  vga0at isa?
pseudo-device   splash
device  sc0 at isa? flags 0x100
device  agp # support several AGP chipsets
device  npx0at nexus? port IO_NPX irq 13
device  apm0at nexus? disable flags 0x20 # Advanced Power Management
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  miibus  # MII bus support
device  vr  # VIA Rhine, Rhine II
pseudo-device   loop# Network loopback
pseudo-device   ether   # Ethernet support
pseudo-device   tun # Packet tunnel.
pseudo-device   pty # Pseudo-ttys (telnet etc)
pseudo-device   md  # Memory "disks"
options MAXDSIZ="(256*1024*1024)"
options MAXSSIZ="(256*1024*1024)"
options DFLDSIZ="(256*1024*102

Re: Swappable Hard drives?

2004-08-09 Thread Jerry McAllister
> 
> Soon I will have two identical 120GB IDE HDs in my FBSD 4.10 
> system. One is to be basically a backup drive. Can I write a 
> MBR to the second HD and then swap cables when I want to 
> boot/run the system from the backup HD, assuming I've used pax 
> or dump to make the file systems identical? The "normal" 
> configuration will be both drives installed, but I would like 
> to be able to swap the cables (or change the boot sequence in 
> the BIOS) and boot off of the second HD.

If you will not want to boot any other than the first drive that is 
marked bootable, (eg if you want to boot the second drive you will 
swap cables to do it) then you can easily do what  you want.

You should fdisk the second drive and make is bootable and create
the identical partitions with disklabel ( you can use /stand/sysinstall
to run fdisk and disklabel for you if you want, though fdisk and
disklabel are not nearly as difficult as their reputations seem
to have them - especially now that some more work has been done
on their man pages)

Then, use dump(8) piped to restore(8) for each partition to make
the duplicate copies - don't attempt to duplicate the swap partition.
And probably don't bother to duplicate /tmp unles, for some reason
you are keeping something more than immediate temporary stuff there - 
you shouldn't if you can avoid it.  dump/restore is probably better 
than dd for such a thing and definitely better than tar for this type 
of thing.
Don't forget to fsck the new partitions before (and maybe after)
writing them.

jerry

> 
> Both drives will be "masters" on different IDE controllers.
> 
> There will be no other operating system on the computer, but 
> in the future I hope to use samba to copy files in and out to 
> Windows XP Pro computers on my LAN.
> 
> Jay O'Brien
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel Compile Error

2004-08-09 Thread Bill Moran

Not 100% sure, but you don't have a keyboard device in your kernel
(device atkbdc0).  I figure if you're compiling in a console (sc0),
that you'll need at least atkbdc0.

Ryan <[EMAIL PROTECTED]> wrote:

> bash-2.05b# make buildkernel KERNCONF=POTL
> 
> --
> >>> Kernel build for POTL started on Mon Aug  9 09:07:24 EST 2004
> --
> ===> POTL
> 
> Skiping To The End
> 
> cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
> -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
> -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica 
> -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h  
> -mpreferred-stack-boundary=2  setdef1.c
> touch hack.c
> cc -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh /usr/src/sys/conf/newvers.sh POTL 
> cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
> -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
> -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica 
> -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h  
> -mpreferred-stack-boundary=2  vers.c
> linking kernel
> kbd.o: In function `kbd_register':
> kbd.o(.text+0x314): undefined reference to `kbddriver_set'
> kbd.o(.text+0x31b): undefined reference to `kbddriver_set'
> kbd.o: In function `kbd_get_switch':
> kbd.o(.text+0x429): undefined reference to `kbddriver_set'
> kbd.o(.text+0x42e): undefined reference to `kbddriver_set'
> kbd.o: In function `kbd_configure':
> kbd.o(.text+0x6b3): undefined reference to `kbddriver_set'
> kbd.o(.text+0x6b8): more undefined references to `kbddriver_set' follow
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/POTL.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> 
> 
> 
> (Kernel Config
> 
> machine i386
> cpu I686_CPU
> ident   POTL
> maxusers0
> 
> options INET#InterNETworking
> options FFS #Berkeley Fast Filesystem
> options FFS_ROOT#FFS usable as root device [keep this!]
> options SOFTUPDATES #Enable FFS soft updates support
> options UFS_DIRHASH #Improve performance on big directories
> options MFS #Memory Filesystem
> options MD_ROOT #MD is a potential root device
> options CD9660  #ISO 9660 Filesystem   
> options CD9660_ROOT #CD-ROM usable as root, CD9660 required
> options PROCFS  #Process filesystem  
> options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
> options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
> options USERCONFIG  #boot -c editor
> options VISUAL_USERCONFIG   #visual boot -c editor
> options KTRACE  #ktrace(1) support
> options SYSVSHM #SYSV-style shared memory
> options SYSVMSG #SYSV-style message queues
> options SYSVSEM #SYSV-style semaphores
> options P1003_1B#Posix P1003_1B real-time extensions
> options _KPOSIX_PRIORITY_SCHEDULING
> options ICMP_BANDLIM#Rate limit bad replies
> options KBD_INSTALL_CDEV# install a CDEV entry in /dev
> options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
> # output.  Adds ~128k to driver.
> options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
> # output.  Adds ~215k to driver.
> 
> device  ata
> device  atadisk # ATA disk drives
> device  atapicd # ATAPI CDROM drives
> device  atapifd # ATAPI floppy drives
> options ATA_STATIC_ID   #Static device numbering
> 
> device  stg # TMC 18C30/18C50
> device  scbus   # SCSI bus (required)
> device  vga0at isa?
> pseudo-device   splash
> device  sc0 at isa? flags 0x100
> device  agp # support several AGP chipsets
> device  npx0at nexus? port IO_NPX irq 13
> device  apm0at nexus? disable flags 0x20 # Advanced Power Management
> device  sio0at isa? port IO_COM1 flags 0x10 irq 4
> device  sio1at isa? port IO_COM2 irq 3
> device  miibus  # MII bus support
> device  vr  

usb wireless support?

2004-08-09 Thread Dick Davies

have we got any?

I'm drooling over a Travla c134 mini-itx case, but at present the box needs 
a pci slot for the wireless NIC

-- 
Try not to have a good time ... This is supposed to be educational.
-- Charles Schulz
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting environmental variable for Netbeans

2004-08-09 Thread Kevin D. Kinsey, DaleCo, S.P.
Peter Ryan wrote:
I am treading more unknown ground trying
to get NetBeans to run on 4.10.
I installed jdk 1.4.2 (thanks to help from 
here), and have installed this Netbeans 
via the ports collection.

Now when i try to run it, it wants an
environmental variable called JDK_HOME to
be set.
Using tips from searching the net, I am
under the impression I have to change a 
a file called csh.cshrc or maybe .cshrc
Then I did a find files on .cshrc, and 
found 2 copies - one under
root/ and the other under usr/home/peter.

I am logged in under root, so I am not sure
which file I should change, or even if this
is the correct file.
Could someone point me in the right
direction before I fiddle enough to have
to resinstall again :)
Thanks,
Peter
 

Reinstall?  I don't think it'll get that severe just from
this.  BSD and XP rhyme ... that's about it.
Very simply, the file ".cshrc" is the C-shell's
"resource" file.  It is read after login by the
shell as the shell is starting up.  So, if you
are logging in as "peter", it will read
/usr/home/peter/.cshrc and set up things like
your shell prompt, some aliases, and environment
variables...
The same is true for a root login; root's shell
reads "/root/.cshrc" (assuming, of course, that
root's shell is csh or tcsh ...)
The line could appear anywhere in .cshrc, and the
syntax for the var would be:
setenv JDK_HOME /somedir/here
That's assuming, of course, that Netbeans
is looking for a path, and not a boolean or
other data type.
While I'm mentioning stuff, it might be a
Good Thing(tm) to mention that root logins
are *not* considered a Good Thing(tm) [1]
HTH,
Kevin Kinsey
DaleCo, S.P.
[1] www.freebsd.org/handbook/users-superuser.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The FreeBSD Diary: 2004-07-18 - 2004-08-07

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


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

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


Re: How to disable UDMA for HDD?

2004-08-09 Thread Nathan Kinkade
On Mon, Aug 09, 2004 at 11:10:40AM +0200, Stevan Tiefert wrote:
> Hello,
> 
> when I try to install FreeBSD 5.2.1 on my computer with HDD on ata0-master and 
> CD-ROM on ata0-slave I got five interessting messages during the 
> boot-process:
> 
> ...
> ad0: 4124MB  [8938/15/63] at ata0-master UDMA33
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=8446347
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
> ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=8446347
> ad0: WARNING - READ_DMA interrupt was seen but taskqueue stalled LBA=8446347
> 
> then the computer stops and he resists in this state till now...
> OpenBSD "downgrades" this DMA-thing automaticly and the CD-ROM seems not 
> supporting UDMA and I assume to set at bootphase 3 a device.hint but I don't 
> know which one?
> 
> With regards
> Mr.
> Stevan Tiefert

Here are the two pertinent sysctl variables for your ATA hard disk and
CDROM, respectively:

hw.ata.ata_dma: 1
hw.ata.atapi_dma: 0

These variables are read only once the kernel has been booted, so if you
want to try setting them manually you'll have to put them into
/boot/loader.conf as something like:

hw.ata.ata_dma=0

Nathan
-- 
PGP Public Key: pgp.mit.edu:11371/pks/lookup?op=get&search=0xD8527E49


pgpYhBXqPCvyD.pgp
Description: PGP signature


5.3 stable release tentatively scheduled for Oct 3

2004-08-09 Thread fbsd_user
5.3 stable release tentatively scheduled for Oct 3

The FreeBSD Release Engineering team has published the schedule for
the FreeBSD 5.3 stable release. It spans 7 weeks and includes weekly
BETA/RC snapshots for testing. The theme for this release is
"testing testing testing!" since it is going to be the first
5-STABLE release. The stable 5.3-RELEASE date is tentatively
scheduled for Oct 3 if no show stopper problems arise like last
time.


See   http://www.freebsd.org/releases/5.3R/schedule.html


Release 5.3-BETA1 scheduled for Aug 20 at which time the 5.3-BETA1
tier-1 platform images are released and uploaded to
ftp-master.FreeBSD.org server. This is the start of the 7 weekly
install process and disk performance testing cycles.

People needed to install from downloaded iso image from
ftp-master.FreeBSD.org to do install process testing to find and
report install config problems. This is your opportunity to beat on
the cdrom install process to verify all the previous 5.2.1 install
problems with disk geometry have been corrected. Only cdrom installs
default to using the new UFS2 file access method on the disk storage
system, so heavy disk i/o users are also needed to beat on UFS2 disk
drives to verify the system freeze up problems have been fixed.

Please submit your bug reports using send-pr command as soon as you
find problems so they can be address and fixed by the next weekly
BETA/RC cycle.



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


Re: MUSIC SERVER.

2004-08-09 Thread Jerry McAllister
> 
> Dear Sir/Madam
> 
> I am a university student and i wanted to know from you that is it possible to store 
> music in a server? To be more precise, Is it possible that  you have a server that 
> is only desighned for storage of music only?

You can do pretty much anything you want with your own server.
You may need to read some manuals and other documentation to
find out how to do it the way that you want.Also, be careful
about legal problems of letting people download copyrighted materials.
You could get in to more trouble than you expected.

jerry

> 
> I hope that my request will be consindered as soon as possible.
> 
> Yours
> Vincent
> 
> 
> -- 
> ___
> Find what you are looking for with the Lycos Yellow Pages
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> 
> ___
> [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: 4.10-STABLE

2004-08-09 Thread mark rowlands
>-Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Ryan
> Sent: Sunday, August 08, 2004 6:58 PM
> To: [EMAIL PROTECTED]
> Subject: 4.10-STABLE

> Needing some help here,

> I'm experincing compatibility issues with Perl and trying
> to reinstall ports/src 

what you want is probably cvsup

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

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


Re: DHCP help

2004-08-09 Thread Peter Barton
No, I am sure of it because I used my rl0 to connect to the LAN and download 
all kinds of stuff from the Internet. At that point my FreeBSD was a just 
box behind a Linksys router connected to the Comcast cable modem and it 
worked just fine. Then I added IP filtering, rebuilt the kernel, and changed 
rc.conf along with some other files according to the info I found on the 
Internet. Now neither of my card works. I got it working some time ago for 
awhile though - I ran sysinstall/Config/Networking and asked for DHCP 
search. I actually got the IP address, host name and DNS server IP address 
from Comcast but then something changed and I never saw it again. I am 
really dissapointed by how much time I have spent on it without any decent 
result.

Peter

From: Josh Paetzel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: Peter Barton <[EMAIL PROTECTED]>
Subject: Re: DHCP help
Date: Sun, 8 Aug 2004 18:33:47 -0500
On Sunday 08 August 2004 18:10, Peter Barton wrote:
> Hello -
>
> I have been struggling with my DHCP connection for quite some time
> and even though my interent search yielded some information that I
> used, the whole thing still won't work. My problem is that my
> dhclient never finds any DHCP servers on the Comcast network. The
> default dhclient that came with the installation simply times out,
> the other one that I 'make installed' according to the info posted
> at
> http://networking.ringofsaturn.com.Unix/ipnatdfirewall.php keeps
> complaining about my subnet(s). I would greatly appreciate any
> help, I have spent a lot of time on this without any luck.
>
> Thanks,
> Peter
>
>
> Here's my rc.conf
>
> # -- sysinstall generated deltas -- # Sat Jul 17 06:31:46 2004
> # Created: Sat Jul 17 06:31:46 2004
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to
> /etc/defaults/rc.conf. # This file now contains just the overrides
> from /etc/defaults/rc.conf.
>
> linux_enable="YES"
> moused_enable="YES"
> usbd_enable="YES"
> natd_enable="YES"
> natd_flags="-s -u -m"
> firewall_enable="YES"
> firewall_quiet="NO"
> firewall_logging_enable="YES"
> firewal_type="open"
> gateway_enable="YES"
>
> ifconfig_rl0="inet 192.168.254.1 up netmask 255.255.255.0"
> ifconfig_rl1="DHCP"
>
> #defaultrouter="192.168.1.1"
> hostname="bsd.peterbohm.com"
>
Perhaps you have the cables for rl0 and rl1 reversed?
Thanks,
Josh Paetzel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


CD and DVD sets FreeBSD

2004-08-09 Thread Dirk Bajohr
Dear Sirs,
We have a new online shop and sell FreeBSD CD sets to (German)  
customers. Is it possible to get an entry with a hyperlink at your  
website  
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
mirrors.html#MIRRORS-CDROM)? I could send you all the shop details  
(contact information and URL). Are there any requirements to get an  
entry?

Thanks in advance,
Dirk Bajohr
--
Dirk Bajohr
iSOLUTION - Individuelle Software fuer moderne Kommunikation
Hauptstr. 50
53757 Sankt Augustin
T +49 2241 921567-0
F +49 2241 921567-89
http://www.isolution.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MUSIC SERVER.

2004-08-09 Thread Kevin D. Kinsey, DaleCo, S.P.
vincent kihumba wrote:
Dear Sir/Madam
I am a university student and i wanted to know from you that is it possible to store 
music in a server? To be more precise, Is it possible that  you have a server that is 
only desighned for storage of music only?
I hope that my request will be consindered as soon as possible.
Yours
Vincent
 

Hi, Vincent:
I attempted this once:  there wasn't much room inside the case,
especially when I got into the Baroque stuff; my multi-volume
editions of Bach's "Well Tempered Clavier" got stuck in the
CPU fan, and I darned near burned up a nice Athlon chip.
Since I already had one burned out Athlon as a coaster,
I decided it would be better to store *recordings* of much
on my server, rather than the *printed music* itself. :-D
All joking aside, your questions begs for "more detail".
If you simply want file storage, lots has already been said.
If you are looking for a server to "stream" audio to the
network, there are several programs for that, also,
including gnump3d, icecast, DarwinStreamingServer,
xbms, gini, and even an Apache webserver module that
will do "streaming".
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: MUSIC SERVER.

2004-08-09 Thread Miguel Cardenas
> I am a university student and i wanted to know from you that is it possible
> to store music in a server? To be more precise, Is it possible that  you
> have a server that is only desighned for storage of music only?
>
> I hope that my request will be consindered as soon as possible.

Do you want to store music only? or maybe a stream-on-demand server? this 
topic covers too many posibilities, please be more specific... if you want to 
share mp3 files by a network filesystem you can use NFS or SMB... Oh, I've 
noticed that playing music from a remote computer may have dropouts maybe 
'cos a slow remote HDD or processor, network traffic, etc etc...

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


Re: CD and DVD sets FreeBSD

2004-08-09 Thread Marc Fonvieille
On Mon, Aug 09, 2004 at 05:44:38PM +0200, Dirk Bajohr wrote:
> Dear Sirs,
> We have a new online shop and sell FreeBSD CD sets to (German)  
> customers. Is it possible to get an entry with a hyperlink at your  
> website  
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
> mirrors.html#MIRRORS-CDROM)? I could send you all the shop details  
> (contact information and URL). Are there any requirements to get an  
> entry?
> 

We need the same informations you can see on the mentioned page for
other retailers.  And of course a link to check you really sell FreeBSD
CDs sets.

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


Re: Wait 15 seconds for SCSI to settle

2004-08-09 Thread Miguel Cardenas
> I have installed FreeBSD5.2.1-RELEASE on Vmware.
> When booting I am seeing the message "Wait 15 seconds for SCSI to settle".
> The problem is I am not using any SCSI device on my virtual machine. I
> tried "sysctl kern.cam.scsi_delay=100" but no improvement.
> ...
> I want to squeeze maximum performance out of this setting. So, any pointer
> to the right direction will be appreciated.

I use FreeBSD in the same way as you... never have tried to do what you want, 
but I remember (not 100% sure) that when you create the new virtual machine 
it tells you that will use:

IDE Adapter: ATAPI

SCSI  Adapter: BusLogic /LSI Logic

I guess it uses *both* interfaces although you only use an IDE 
virtual/physical disk/partition and the kernel tries to access it... it is 
like if you have a SCSI card without a CDROM/HDD connected to???

It does not let you choose to use or not SCSI, just select the type... I think 
the goal could be to *disable* the SCSI support on the virtual machine, not 
to configure the freebsd... The best option could be contact VMware tech 
support or forums to ask how to disable SCSI...

Regards.


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


RE: IPFW/NATD Transparent Proxy

2004-08-09 Thread Incoming Mail List

>Your ipfw rules are invalid.

They seem to work perfectly.  My only gripe is that static rule
#15100 is required to succeed with redirect_port from 1.2.3.4:80 to 
192.168.2.250:80 when 192.168.1.247 requests a web page using the domain
name for 1.2.3.4.  I'm looking for a solution that doesn't require rule
#15100.

>This causes the dynamic
>internal state table to cross match packets in error because it does
>not keep track of which interface the packet is from. This has been
>a long time bug in stateful rules for NATed interfaces. Technically
>your whole stateful environment is being forced to look like its
>working when in fact its all most useless.

How can that be?  If I'm on 192.168.2.100, I can make a request to
www.cnn.com and it works fine.  Yet I have no rule that allows any
packets to be accepted IN via my outside nic (de0), and no rule that
allows any port 80 OUT to my private lan on de2.  That sounds to me
like the dynamic rules are working.  How else are the packets getting
into de0 and out to de2?

>That is why the stateful + nated rule example from the new firewall
>rewrite uses skipto rules to work around this problem.

I'm using skipto's as well, just not using the keep-state parameter
on the skipto rule.  I don't believe the transparent proxy problem
I'm having is a result of skipto.  It's a chicken/egg issue when 
using stateful rules because either NATD or the original nic "remembers"
that the packet changed when it got redirected.

If I allow the stateful rule first, it gets created as
192.168.1.247 <-> 1.2.3.4
and immediately starts communicating with the outside interface due
to the dynamic rule bypassing the rest of the firewall.  So the
packets never get to go through the divert rule to be redirected
to 192.168.2.250.

If I go through divert first (as in my firewall example), the packet
matches rule 100, the destination gets changed to 192.168.2.250, and
the packet continues down through the firewall.  Great!  Next, it
matches on 300 and gets passed to 15000 where a the dynamic rule
192.168.1.247 <-> 192.168.2.250 gets created.  More greatness!  When
192.168.2.250 replies to 192.168.1.247, that packet also matches rule
100, gets diverted and NATD rewrites the source to the original IP
address so the packet is now configured as 1.2.3.4 -> 192.168.1.247.
Continued greatness!  But now, the packet gets denied at 15200 (remember
15100 does not exist in this example) because there's no rule to allow
1.2.3.4 to communicate with 192.168.1.247.  Hence, I have to add in
#15100 to explicitly allow 1.2.3.4 to communicate with 192.168.1.247.
In my example ruleset I simply allowed anything to go out via de1.


>Basically the unpublished rule of thumb
>is ipfw keep-state rules can not be used on the internal interface
>and external interface in same rule set. Keep-state rules can only
>be used on the external interface. There are no error messages to
>enforce this.

Actually, the only problem I've run into is the combination of
external/internal with NATD doing a redirect_port or redirect_address.
I've not run into any problems with external/internal and normal NATD
address translations.


J



IPFW RULES
==
00100 divert 9000 log ip from any to any
00200 allow log ip from any to any out via de0 keep-state
00300 skipto 15000 log ip from any to any via de1
00400 skipto 2 log ip from any to any via de2
00500 deny log ip from any to any
15000 allow log ip from any to any in via de1 keep-state
15100 allow log ip from any to any out via de1
15200 deny log ip from any to any
2 allow log ip from any to any in via de2 keep-state
20100 allow log ip from any to any dst-port 80 out via de2
keep-state
20200 deny log ip from any to any
20300 deny log ip from any to any


NATD Config File (/etc/natd.conf)
redirect_port tcp 192.168.2.250:80 1.2.3.4:80

NATD Command
/sbin/natd -dynamic -n de0 -p 9000 -f /etc/natd.conf

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


custom bootdisk for installation?

2004-08-09 Thread Steve Tremblett
I'm trying to install 5.2.1 on my Thinkpad T30, but it completely
freezes when the kernel is booted, specifically at the cardbus driver.
I guess there is no kernel configuration before booting as it was in
4.X?

Does anyone have any suggestions on how to alter the bootdisk?  I
believe I might be able to workaround this issue by changing the hint.*
sysctls for cbb, but otherwise I will need a kernel without the
driver.  I have a 4.X installation at my disposal, but I haven't had a
chance to check out the bootdisk contents yet.

thanks

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


rsync(1) and the -l(inks) option

2004-08-09 Thread Steve Bertrand
I am confused as to the -l option with rsync.

If I am to not use this option, does this mean that any symlinks will
be followed, and the entire directory structure of the location
pointed to by the link will be copied? eg...

# rsync -acr /home/steve [EMAIL PROTECTED]:/home/steve/backup

If /home/steve had a symlink: /home/steve/tmp -> /var/tmp

would all the contents of /var/tmp be copied to the destination?

Now, what would be the best set of options to use if I want to
``clone'' one server onto another server so that everything is exactly
the same?

Tks,

Steve

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


Accidentally truncated crontab

2004-08-09 Thread Daniela
Hi all!

I just emptied the system crontab, and don't know how I can recover it.
I know that the contents are still somewhere on the drive, as I didn't write 
anything on that partition.
The size of the file must be stored somewhere in the inode, or maybe in the 
directory, so I could just load the raw partition into my hexeditor and 
change that field to the original length. But I thought I'd better not touch 
it without consulting the experts first, because I don't have much experience 
with file systems.
In the ports I couldn't find an undelete utility, and the -w option to rm 
doesn't work here.

Please help me, or at least tell me that there's nothing else I can do, so I 
can use the method mentioned above.

Regards,
Daniela

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


Re: Accidentally truncated crontab

2004-08-09 Thread Bill Moran
Daniela <[EMAIL PROTECTED]> wrote:

> Hi all!
> 
> I just emptied the system crontab, and don't know how I can recover it.
> I know that the contents are still somewhere on the drive, as I didn't write 
> anything on that partition.
> The size of the file must be stored somewhere in the inode, or maybe in the 
> directory, so I could just load the raw partition into my hexeditor and 
> change that field to the original length. But I thought I'd better not touch 
> it without consulting the experts first, because I don't have much experience 
> with file systems.
> In the ports I couldn't find an undelete utility, and the -w option to rm 
> doesn't work here.
> 
> Please help me, or at least tell me that there's nothing else I can do, so I 
> can use the method mentioned above.

Well ... there are some undelete utilities out there (I'm surprised there are
none in the ports) and I've seen a number of tutorials on how to recover
deleted files from UFS filesytems ... but I think you're _seriously_
overcomplicating things!

If you haven't customized the crontab, and you have sources installed, then
"cd /usr/src; mergemaster" will give you an opportunity to re-install the
default system crontab.  You could also download it directly from CVS.

If you did customize it and are foolish enough not to have backups, then
do some google searches on "undeleting from UFS" or something like that.
I've seen a few articles on how to do it in the past.  And start making
backups.  Putting your /etc directory under revision control is a decent
idea!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about /tmp

2004-08-09 Thread Gary Mulder
Of course having /tmp -> /var/tmp means that you have no valid /tmp in 
single user mode where /var is not mounted. That is unless you created 
/var/tmp in single user mode, but that would mean /var would be mounted 
over the root partition's /var/tmp dir in multi-user mode, which can be 
non-intuitive to say the least.

The net result of not having a valid /tmp is that some commands issued in 
single-user mode may fail non-obviously as they might (reasonably?) assume 
/tmp is available.

Gary
At 04:50 AM 8/9/2004 , [EMAIL PROTECTED] wrote:
On Mon, Aug 09, 2004 at 10:32:50AM +0200, roland Mathieu wrote:
>
> Hello,
>
> I want to install FreeBSD with a small root partition. It's
> possible to use a different partition for /tmp, but /tmp can also be a
> symbolic link pointing, for example, /var/tmp. Is it a good idea ? If not
> what sort of problem will I encounter ?
There's nothing wrong with a symlink. I have /tmp -> /var/tmp on
all my servers and never noticed the difference to a dedicated
/tmp partition. Theoretically, you'd experience a small performance
hit, but only if you open(2) many /tmp files very very often.
Even with a make buildworld, or a portupgrade -aRrkf, I didn't
notice any difference in speed. Of course, YMMV.
-cpghost.
--
Gary Mulder   
Info Tech, Inc.
5700 SW 34th Street, Suite 1235 Phone: (352) 381-4400
Gainesville, FL 32608 Fax: (352) 381-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about /tmp

2004-08-09 Thread Chuck Swiger
Gary Mulder wrote:
Of course having /tmp -> /var/tmp means that you have no valid /tmp in 
single user mode where /var is not mounted. That is unless you created 
/var/tmp in single user mode, but that would mean /var would be mounted 
over the root partition's /var/tmp dir in multi-user mode, which can be 
non-intuitive to say the least.
Excellent point.  I think one is much safer having /tmp as a directory on the 
root filesystem, and using something like md(4) to mount a RAMdisk over that 
location when going into multiuser mode (or mount a real /tmp partition if you 
prefer).

The net result of not having a valid /tmp is that some commands issued 
in single-user mode may fail non-obviously as they might (reasonably?) 
assume /tmp is available.
In particular, editors like vi.  :-)
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about /tmp

2004-08-09 Thread Jerry McAllister
> 
> Gary Mulder wrote:
> > Of course having /tmp -> /var/tmp means that you have no valid /tmp in 
> > single user mode where /var is not mounted. That is unless you created 
> > /var/tmp in single user mode, but that would mean /var would be mounted 
> > over the root partition's /var/tmp dir in multi-user mode, which can be 
> > non-intuitive to say the least.
> 
> Excellent point.  I think one is much safer having /tmp as a directory on the 
> root filesystem, and using something like md(4) to mount a RAMdisk over that 
> location when going into multiuser mode (or mount a real /tmp partition if you
> prefer).

Well, that is debateable.   The safest is for /tmp to be its own 
partition/filesystem.  If you have it in root, and some runaway process 
fills it up, it can bring the system to a grinding halt.   So, unless I
am making one of those setups where it is all one big filesystem - that
being root (/), I protect root by putting things that can grow in an 
unplanned manner in separate filesystems/partitions.Things such 
as /tmp, /var/log, /var/spool, /var/db, /usr/src and user's own home
directory space if you have users on your system.   Some of these I 
put in a big catch all filesystem such as /home and make sym links, but
since /tmp can be needed under inconvenient circumstances such as 
when you are trying to fix something in single user, I make it its
own partition.

jerry

> 
> > The net result of not having a valid /tmp is that some commands issued 
> > in single-user mode may fail non-obviously as they might (reasonably?) 
> > assume /tmp is available.
> 
> In particular, editors like vi.  :-)
> 
> -- 
> -Chuck
> 
> ___
> [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]"


FreeBSD's problem?

2004-08-09 Thread Vlad Tudorache
Hello!
I've been using Linux for 2 years and I know how to configure this system (not using 
GUI tools!). I'm now trying FreeBSD. My problems are:
1) If I enable ACPI, my floppy disk controller is not seen by the kernel!
2) My USB controller tells me that "Error: Restarting port 1/2".
3) If I'm using kdm, log into GNOME as root and select "Shut Down" when exiting 
directly from the GNOME session's logout menu, my system hangs untill I press Ctrl-C 
or Ctrl-Alt-Del. This was not happenning on Linux.
Is there anyone who had these problems and knew how to manage them?

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


Re: FreeBSD's problem?

2004-08-09 Thread Skylar Thompson
On Mon, Aug 09, 2004 at 11:37:50PM +0300, Vlad Tudorache wrote:
> Hello!
> I've been using Linux for 2 years and I know how to configure this system (not using 
> GUI tools!). I'm now trying FreeBSD. My problems are:
> 1) If I enable ACPI, my floppy disk controller is not seen by the kernel!

What kind of floppy controller is it? Is it an NEC, or something else?

> 2) My USB controller tells me that "Error: Restarting port 1/2".

What kind of USB controller is it? UHCI? OHCI? EHCI?

> 3) If I'm using kdm, log into GNOME as root and select "Shut Down" when exiting 
> directly from the GNOME session's logout menu, my system hangs untill I press Ctrl-C 
> or Ctrl-Alt-Del. This was not happenning on Linux.

What version of GNOME are you using? 2.2? 2.4? 2.6?

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpcljhoQ46qr.pgp
Description: PGP signature


Re: kernel preemption in 5.2.x

2004-08-09 Thread Kris Kennaway
On Sun, Aug 08, 2004 at 11:58:31PM -0500, Marc Cabanatuan wrote:
> Hi,
> 
> Just curious about kernel preemption on a single CPU x86
> machine...Wondering if it's usable/worth it and how to enable it
> at the kernel config level. Is it included in as part of SMP?

It's enabled by default, i.e. non-optional.

Kris


pgpnhSK3mcHHa.pgp
Description: PGP signature


Re: file system setup for new system - recommendations?

2004-08-09 Thread Gary Mulder
Just my $0.02NZ on this question:
First off partitions -
The first thing I do in single user mode in FreeBSD is mount /usr to access 
basic commands such as more, etc., so what is the point of having / and 
/usr on separate partitions? Thus I usually allocate 4 to 8GB to / and 
don't have a separate /usr partition. Can anyone posit a problem with 
combining / and /usr?

It was (as far as I know) an old rule of thumb to have swap twice your 
physical memory size. This was in the good ole days when memory was 
expensive and disk was comparatively cheap. These days if you are having to 
use two times your memory's worth of swap in normal activity it is time to 
buy more memory. However, since crash dumps are stored in the swap 
partition (note that they're not by default, you need to define dumpdev in 
/etc/rc.conf, see rc.conf(5) for more details) you'll want your swap as 
large as the maximum memory you expect to have on the system.

/tmp should be on a separate partition to prevent overflow of the / 
partition. A few GB of disk here is nice, dependent on the nature of 
programs you plan to run.

/var should be sized appropriate to what will be logged/stored in /var. For 
a Desktop, a few GB is probably sufficient. For a server with mail, web, 
ftp, etc. services 4-8GB is nice.

The remainder is traditionally allocated to /home.
Next Vinum and backups -
Vinum provides a number of configurations (RAID 0, 1, 1+0, 0+1, 5, etc.) 
for data redundancy. It requires two or more disks (depending on which RAID 
level), typically of the same type and size on separate controllers. It is 
somewhat complex to setup but provides a lot of flexibility in configuration.

It is important to note that using RAID for data redundancy is NOT data 
backup. A redundant RAID configuration will happy mirror file system 
corruption, inadvertent user file deletions, etc.

Backup however implies a secure and independent copy of the primary system 
data. Ideally this copy is not just kept on the same disk as the primary 
data. How useful are your backups if you lose the drive that has both your 
system and its backups?


Here is a proposed setup for a small to medium sized Unix server with say a 
120GB and 80GB ATA disks:

Set up the 80GB disk as the master on the first controller. Set up the 
120GB drive as master on the second controller and the CDROM drive as slave.

Side Note: Accessing the CDROM drive with this configuration may then 
greatly impact performance of the 120GB drive and you may instead want to 
put the 120GB drive as the slave on controller 1. However there is then the 
chance that if either hard drive goes bad it will hang controller 1 (a 
known problem with ATA controllers) and thus the system. If you use the 
CDROM infrequently I feel it is best to have the second hard drive on 
controller 2 as master and CDROM as slave. YMMV.

Partition map:
/   -  8GB
swap-  1GB
/tmp-  4GB
/var-  4GB
/home   - 63GB (ie. the rest of the disk).
Next use the following instructions to set up vinum to mirror the 80GB 
drive to the first 80GB of the 120GB drive. You have to be VERY careful 
with setting the partition types, calculating the disklabel offsets and 
corresponding vinum offsets and making sure the disk labels are written 
correctly:

http://devel.reinikainen.net/docs/how-to/Vinum/
The remaining 40GB of the 120GB drive can then be mounted as an unmirrored 
/backup partition. Alternatively, if you have two identical drives (or a 
third smaller drive) configure a mirrored /backup partition (or dedicate 
the third drive) for even more backup redundancy.

There are then a number of methods to perform backup, such as dump/restore, 
tar, cpio, Amanda, rsync-backup. My preference is GNU tar due to its 
portability among Unixes and other OSes. An example of creating a 
compressed full backup would be:

nice tar --exclude "/backup" --totals -cj -f /backup/`date +%s``.tar.bz2 /
This could be run out of cron say every night or weekend. With some 
scripting it could be made more space efficient by using the 
"--listed-incremental" option of GNU tar to say to full backups each 
weekend and incremental backups each day.

One program I have recently looked into is rdiff-backup. It uses rsync 
libraries to make an uncompressed mirror (as in copy, not RAID 1) of the 
entire system and then keep backward diffs of changes to the system so that 
it is very easy and fast to do point-in-time restores (or even use the 
mirror directly with chroot in extremis).

The only issue with rdiff-backup that I can see is that unlike traditional 
full image plus incremental backups, rdiff uses current mirror image minus 
incremental diffs, which means if you lose your mirror image you can no 
longer do point-in-time restores of the entire system. You can however 
restore files that have changed from the diffs.

Gary
--
Gary Mulder   
Info Tech, Inc.
5700 

Only WDMA2?

2004-08-09 Thread Mark
Dear Sirs:

In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system. However, it
only runs at "WDMA2":

Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB  [79656/16/63] at ata0-master WDMA2

WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133 MB/s. The
question is, is there a reason FreeBSD only uses WDMA2 for this device? (it
contains two MAXTOR 40G ATA133 disks, connected to an ATA133 IDE port as
single master).

Second question, subsidiary, can I force a higher mode than WDMA2? (like
UDMA 133).

Much obliged,

- Mark

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


Re: freebsd-questions Digest, Vol 72, Issue 2

2004-08-09 Thread Ara Avvali
Is this considered to be stable? I mean as stable as 4.10?
Message: 13
Date: Mon, 9 Aug 2004 11:27:04 -0400
From: "fbsd_user" <[EMAIL PROTECTED]>
Subject: 5.3 stable release tentatively scheduled for Oct 3
To: "[EMAIL PROTECTED] ORG" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="iso-8859-1"
5.3 stable release tentatively scheduled for Oct 3
The FreeBSD Release Engineering team has published the schedule for
the FreeBSD 5.3 stable release. It spans 7 weeks and includes weekly
BETA/RC snapshots for testing. The theme for this release is
"testing testing testing!" since it is going to be the first
5-STABLE release. The stable 5.3-RELEASE date is tentatively
scheduled for Oct 3 if no show stopper problems arise like last
time.
See   http://www.freebsd.org/releases/5.3R/schedule.html
Release 5.3-BETA1 scheduled for Aug 20 at which time the 5.3-BETA1
tier-1 platform images are released and uploaded to
ftp-master.FreeBSD.org server. This is the start of the 7 weekly
install process and disk performance testing cycles.
People needed to install from downloaded iso image from
ftp-master.FreeBSD.org to do install process testing to find and
report install config problems. This is your opportunity to beat on
the cdrom install process to verify all the previous 5.2.1 install
problems with disk geometry have been corrected. Only cdrom installs
default to using the new UFS2 file access method on the disk storage
system, so heavy disk i/o users are also needed to beat on UFS2 disk
drives to verify the system freeze up problems have been fixed.
Please submit your bug reports using send-pr command as soon as you
find problems so they can be address and fixed by the next weekly
BETA/RC cycle.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD's problem?

2004-08-09 Thread Kevin D. Kinsey, DaleCo, S.P.
Skylar Thompson wrote:
On Mon, Aug 09, 2004 at 11:37:50PM +0300, Vlad Tudorache wrote:
 

Hello!
I've been using Linux for 2 years and I know how to configure this system (not using GUI tools!). I'm now trying FreeBSD. My problems are:
1) If I enable ACPI, my floppy disk controller is not seen by the kernel!
   

What kind of floppy controller is it? Is it an NEC, or something else?
 

2) My USB controller tells me that "Error: Restarting port 1/2".
   

What kind of USB controller is it? UHCI? OHCI? EHCI?
 

3) If I'm using kdm, log into GNOME as root and select "Shut Down" when exiting directly from the GNOME session's logout menu, my system hangs untill I press Ctrl-C or Ctrl-Alt-Del. This was not happenning on Linux.
   

What version of GNOME are you using? 2.2? 2.4? 2.6?
 

And, perhaps even more importantly, what version of FreeBSD?
[ in other words ... what does 'uname -a' say ... as in the statement
   "If you still have a question or problem, please take
   the output of `uname -a', along with any relevant
   error messages, and email it as a question to the
   [EMAIL PROTECTED] mailing list. "

  ?? ]

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


Re: Accidentally truncated crontab

2004-08-09 Thread Daniela
On Monday 09 August 2004 18:38, Bill Moran wrote:
> Daniela <[EMAIL PROTECTED]> wrote:
> > Hi all!
> >
> > I just emptied the system crontab, and don't know how I can recover it.
> > I know that the contents are still somewhere on the drive, as I didn't
> > write anything on that partition.
> > The size of the file must be stored somewhere in the inode, or maybe in
> > the directory, so I could just load the raw partition into my hexeditor
> > and change that field to the original length. But I thought I'd better
> > not touch it without consulting the experts first, because I don't have
> > much experience with file systems.
> > In the ports I couldn't find an undelete utility, and the -w option to rm
> > doesn't work here.
> >
> > Please help me, or at least tell me that there's nothing else I can do,
> > so I can use the method mentioned above.
>
> Well ... there are some undelete utilities out there (I'm surprised there
> are none in the ports) and I've seen a number of tutorials on how to
> recover deleted files from UFS filesytems ... but I think you're
> _seriously_ overcomplicating things!

It was really not as complicated as I thought. After searching the web and 
finding no undelete tools, but a tutorial on UFS layout, I pulled out the 
binary editor and recovered the file myself. It was much easier than I 
expected! Well, I had to make a copy of that file system, since it's root, so 
I can't simply unmount it. But that was pretty much the only complication.
I think that low-level stuff starts to grow on me! Maybe I should start 
writing device drivers, kernel modules and so on.

> If you haven't customized the crontab, and you have sources installed, then
> "cd /usr/src; mergemaster" will give you an opportunity to re-install the
> default system crontab.  You could also download it directly from CVS.

No, the file was heavily customized.

> If you did customize it and are foolish enough not to have backups, then
> do some google searches on "undeleting from UFS" or something like that.
> I've seen a few articles on how to do it in the past.  And start making
> backups.  Putting your /etc directory under revision control is a decent
> idea!

Yes, you're right, I was an idiot. I had a backup, but it was not recent 
enough. I'm really too lazy and irresponsible to be root. I'm young and I 
have much to learn. Revision control is great, and I'll install tripwire, 
which I should have done a long time ago.

Thanks for your answer.
Daniela

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


PHP4 port broken?

2004-08-09 Thread Chris Boyd
So what's going on with the php4 port?

It used to present a menu of choices for the compilation options, but
does not anymore on the 4.3.8_2 version I have now.  I'm trying to get
curl and gettext support compiled in, but having no luck, even if I try
hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti
and --with-curl and removing the --disable-all.  I'm still not getting
the php_gettext.so that I used to have.

FreeBSD 4.10, Apache2.

LARTs appreciated and gratefully received with thanks,

--Chris

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


Re: PHP4 port broken?

2004-08-09 Thread Paul Schmehl
--On Monday, August 09, 2004 04:50:08 PM -0500 Chris Boyd 
<[EMAIL PROTECTED]> wrote:

So what's going on with the php4 port?
It used to present a menu of choices for the compilation options, but
does not anymore on the 4.3.8_2 version I have now.  I'm trying to get
curl and gettext support compiled in, but having no luck, even if I try
hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti
and --with-curl and removing the --disable-all.  I'm still not getting
the php_gettext.so that I used to have.
The extensions have been separated out from the base install.  Look in 
/usr/ports/lang/php4-extensions/

You can now add extensions any time without having to recompile the base 
php4.

Also see /usr/ports/UPDATING
Caught me by surprise as well. :-)
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PHP4 port broken?

2004-08-09 Thread Bill Moran
Chris Boyd <[EMAIL PROTECTED]> wrote:

> So what's going on with the php4 port?
> 
> It used to present a menu of choices for the compilation options, but
> does not anymore on the 4.3.8_2 version I have now.  I'm trying to get
> curl and gettext support compiled in, but having no luck, even if I try
> hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti
> and --with-curl and removing the --disable-all.  I'm still not getting
> the php_gettext.so that I used to have.
> 
> FreeBSD 4.10, Apache2.
> 
> LARTs appreciated and gratefully received with thanks,

The PHP port has been divvied up into a number of ports, so other ports
can specify only what parts of PHP they need.  For example, after you
install php4, you can then install lang/php4-gettext to add gettext
support to it.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Accidentally truncated crontab

2004-08-09 Thread Bill Moran
Daniela <[EMAIL PROTECTED]> wrote:
> On Monday 09 August 2004 18:38, Bill Moran wrote:
> > Daniela <[EMAIL PROTECTED]> wrote:
> > > Hi all!
> > >
> > > I just emptied the system crontab, and don't know how I can recover it.
> > > I know that the contents are still somewhere on the drive, as I didn't
> > > write anything on that partition.
> > > The size of the file must be stored somewhere in the inode, or maybe in
> > > the directory, so I could just load the raw partition into my hexeditor
> > > and change that field to the original length. But I thought I'd better
> > > not touch it without consulting the experts first, because I don't have
> > > much experience with file systems.
> > > In the ports I couldn't find an undelete utility, and the -w option to rm
> > > doesn't work here.
> > >
> > > Please help me, or at least tell me that there's nothing else I can do,
> > > so I can use the method mentioned above.
> >
> > Well ... there are some undelete utilities out there (I'm surprised there
> > are none in the ports) and I've seen a number of tutorials on how to
> > recover deleted files from UFS filesytems ... but I think you're
> > _seriously_ overcomplicating things!
> 
> It was really not as complicated as I thought. After searching the web and 
> finding no undelete tools, but a tutorial on UFS layout, I pulled out the 
> binary editor and recovered the file myself. It was much easier than I 
> expected! Well, I had to make a copy of that file system, since it's root, so 
> I can't simply unmount it. But that was pretty much the only complication.
> I think that low-level stuff starts to grow on me! Maybe I should start 
> writing device drivers, kernel modules and so on.

Well, I'm glad you were able to figure it out.  Yes, you should definately
start writing device drivers and kernel modules and the like ... the team
can never have too many enthusiastic hackers!

> > If you haven't customized the crontab, and you have sources installed, then
> > "cd /usr/src; mergemaster" will give you an opportunity to re-install the
> > default system crontab.  You could also download it directly from CVS.
> 
> No, the file was heavily customized.

Ahh ...

> > If you did customize it and are foolish enough not to have backups, then
> > do some google searches on "undeleting from UFS" or something like that.
> > I've seen a few articles on how to do it in the past.  And start making
> > backups.  Putting your /etc directory under revision control is a decent
> > idea!
> 
> Yes, you're right, I was an idiot.

I said foolish, I didn't call you an idiot ... there's a big difference.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Swappable Hard drives?

2004-08-09 Thread Jay O'Brien
Wojciech Puchar wrote:

> with identical drive make copy with dd
> 
> dd if=/dev/ad0 of=/dev/ad1 bs=64k

Jerry McAllister wrote:
> 
> You should fdisk the second drive and make is bootable and create
> the identical partitions with disklabel ( you can use /stand/sysinstall
> to run fdisk and disklabel for you if you want, though fdisk and
> disklabel are not nearly as difficult as their reputations seem
> to have them - especially now that some more work has been done
> on their man pages)
> 
> Then, use dump(8) piped to restore(8) for each partition to make
> the duplicate copies - don't attempt to duplicate the swap partition.
> And probably don't bother to duplicate /tmp unles, for some reason
> you are keeping something more than immediate temporary stuff there - 
> you shouldn't if you can avoid it.  dump/restore is probably better 
> than dd for such a thing and definitely better than tar for this type 
> of thing.
> Don't forget to fsck the new partitions before (and maybe after)
> writing them.

Wojciech, Jerry: 

Thanks for all the input. Now to read up on dd and dump; my second 
HD will be here Thursday, I want to be ready. 

This FreeBSD is like people. There are many ways to make things work;
there isn't just one "right way". It makes sense to rely on other's 
experience, and then apply it. Based on what I am learning from 
everyone here, I think there's a story to tell. So, I will carefully 
document my actions. Maybe someday I can repay the help and advice 
I'm getting now.

Jay 
Rio Linda, CA USA






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


D-Link DWL-520 won't initialize

2004-08-09 Thread David Kelly
Copied from dmesg:
FreeBSD 5.2.1-RELEASE-p9
wi0:  mem 0xfc00-0xfc000fff irq 21 at device 0.0 
on pci2
wi0: timeout in wi_cmd 0x; event status 0x
wi0: wi_cmd: busy bit won't clear.
: init failed
device_probe_and_attach: wi0 attach returned 6

Brand new DWL-520 fresh off the shelf. Not to be confused with a 
DWL-520+ which is not a Prism. Already made that mistake (have DWL-520+ 
which needs a new home).

Searched the archives and others with problems apparently got much 
farther into initialization than shown above. For example, others got 
output showing firmware revision.

System is a Dell PowerEdge 400SC P4-2.8G.
--
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: A question about /tmp

2004-08-09 Thread cpghost
On Mon, Aug 09, 2004 at 03:00:59PM -0400, Gary Mulder wrote:
> Of course having /tmp -> /var/tmp means that you have no valid /tmp in 
> single user mode where /var is not mounted. That is unless you created 
> /var/tmp in single user mode, but that would mean /var would be mounted 
> over the root partition's /var/tmp dir in multi-user mode, which can be 
> non-intuitive to say the least.
> 
> The net result of not having a valid /tmp is that some commands issued in 
> single-user mode may fail non-obviously as they might (reasonably?) assume 
> /tmp is available.

YES! Thanks for pointing this out! I've forgot to say that my /var
mount point on the root partition instead of being empty, contains
a tmp subdir /var/tmp (just as you've said). That's the reason why
the symlink works even in single-user mode. After going multi-user,
the real /var masks all single-user tempfiles, but THAT was never
a problem, at least not for me. 

I admit that this setup is quite fragile.

Thanks,
-cpghost.

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


vinum does not remember config across boots

2004-08-09 Thread David Kelly
Mentioned in the past week or so that I have two 160G SATA drives with 
one slice each, each slice has 1G reserved (not currently used) for 
swap, the remainder s1d is for vinum. The two are striped with "vinum 
stripe -v /dev/ad4s1d /dev/ad6s1d".

At boot vinum often does not remember these drives should be striped. 
Booting (usually, but not always as sometimes vinum works) drops me 
into single user where I have to manually run the above vinum command 
again which finally creates /dev/vinum/vinum0. At that point my fs will 
mount cleanly. I don't believe the config is being written to the disks 
and not sure that I'm not the one doing something wrong:

[EMAIL PROTECTED] [72] uname -a
FreeBSD Opus.home 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Mon Aug 
 9 14:42:06 CDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/OPUS  
i386
[EMAIL PROTECTED] [73] vinum list
2 drives:
D vinumdrive1   State: up   /dev/ad6s1d A: 0/156041 MB 
(0%)
D vinumdrive0   State: up   /dev/ad4s1d A: 0/156041 MB 
(0%)

1 volumes:
V vinum0State: up   Plexes:   1 Size:
304 GB

1 plexes:
P vinum0.p0   S State: up   Subdisks: 2 Size:
304 GB

2 subdisks:
S vinum0.p0.s0  State: up   D: vinumdrive0  Size:
152 GB
S vinum0.p0.s1  State: up   D: vinumdrive1  Size:
152 GB
[EMAIL PROTECTED] [74] vinum saveconfig
[EMAIL PROTECTED] [75] vinum setdaemon
Options mask: 0
[EMAIL PROTECTED] [76] vinum dumpconfig
[EMAIL PROTECTED] [77]

If I'm not mistaken "dumpconfig" should have produced results similar 
to "list" but while "list" displays running information from kernel 
space, "dumpconfig" should go direct to the media for its answer? And 
dumpconfig is finding nothing?

Have tried putting vinum_load="YES" in /boot/loader.conf in addition to 
start_vinum="YES" in /etc/rc.conf. Vinum_load only seems to cause the 
rc scripts to say, "vinum already loaded" or similar.

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


ACPI and rebooting, not.

2004-08-09 Thread David Kelly
Today I've already mentioned wi0 and vinum problems with this machine, 
a Dell PowerEdge 400SC. Originally it didn't have this problem (its 
first week) but after exchanging a disk drive it fails to reboot from 
FreeBSD. Seems to fail where the kernel hands things back to the BIOS. 
Last message on the console should be "rebooting" in bright text but 
never gets there unless I disable ACPI in FreeBSD with 
hint.acpi.0.disabled="1" in /boot/loader.conf or use the boottime menu.

Have I tweaked something wrong in the BIOS without knowing it?
FreeBSD 5.2.1-RELEASE-p9, but doesn't matter if its pure FreeBSD 
5.2.1-RELEASE off the 5.2.1 install CDROM or not.

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: Only WDMA2?

2004-08-09 Thread Kris Kennaway
On Mon, Aug 09, 2004 at 09:06:18PM +, Mark wrote:
> Dear Sirs:
> 
> In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system. However, it
> only runs at "WDMA2":
> 
> Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB  2.5> [79656/16/63] at ata0-master WDMA2
> 
> WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133 MB/s. The
> question is, is there a reason FreeBSD only uses WDMA2 for this device? (it
> contains two MAXTOR 40G ATA133 disks, connected to an ATA133 IDE port as
> single master).
> 
> Second question, subsidiary, can I force a higher mode than WDMA2? (like
> UDMA 133).
> 
> Much obliged,

Check the cable..perhaps you only have a 40-pin cable instead of the
80-pin cable you need for higher speeds.

Kris


pgpqYh4uWmdpU.pgp
Description: PGP signature


Re: Only WDMA2?

2004-08-09 Thread Mark
> > In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system. However,
> > it only runs at "WDMA2":
> >
> > Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB  > 2.5> [79656/16/63] at ata0-master WDMA2
>
> > WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133 MB/s.
The
> > question is, is there a reason FreeBSD only uses WDMA2 for this device?
> > (it contains two MAXTOR 40G ATA133 disks, connected to an ATA133 IDE
port
> > as single master).
> >
> > Second question, subsidiary, can I force a higher mode than WDMA2? (like
> > UDMA 133).
> >
> > Much obliged,
>
> Check the cable..perhaps you only have a 40-pin cable instead of the
> 80-pin cable you need for higher speeds.

I used an 80-pin cable, alright; and I even switched it out; still, only
WDMA2.

I tried: "/sbin/atacontrol mode 0 UDMA6 XXX"

But to no avail. A speed-test confirms the disasterous throughput:

% dd if=/dev/ad0s1e of=/dev/null bs=64k count=100
100+0 records in
100+0 records out
6553600 bytes transferred in 0.638866 secs (10258177 bytes/sec)

Something is fishy.

- Mark

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


Outbound SMTP filtering

2004-08-09 Thread Nick Rogness
I am looking for an Outbound SMTP filtering solution to prevent SPAM and 
Virii from being sent through our SMTP relay machine (FreeBSD running 
sendmail).

A plugin module for sendmail or maybe some external appliance?  Just 
outbound SMTP traffic only.  Any suggestions?

Nick Rogness <[EMAIL PROTECTED]>
-
  How many people here have telekenetic powers? Raise my hand.
-Emo Philips
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Outbound SMTP filtering

2004-08-09 Thread Chris
Nick Rogness wrote:
I am looking for an Outbound SMTP filtering solution to prevent SPAM and 
Virii from being sent through our SMTP relay machine (FreeBSD running 
sendmail).

A plugin module for sendmail or maybe some external appliance?  Just 
outbound SMTP traffic only.  Any suggestions?

Nick Rogness <[EMAIL PROTECTED]>
-
  How many people here have telekenetic powers? Raise my hand.
  -Emo Philips
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


Mailscanner works will with Sendmail/SA/and clamav.
Otherwise - consider something like Postfix w/Amavis/SA etc.
I guess it all depends on how deep you want to go and how much work you 
wanna do.

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


Re: Only WDMA2?

2004-08-09 Thread Mark
Mark wrote:

>>> In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system.
>>> However, it only runs at "WDMA2":
>>>
>>> Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB >> 1000 Rev 2.5> [79656/16/63] at ata0-master WDMA2
>>
>>> WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133
>>> MB/s. The question is, is there a reason FreeBSD only uses WDMA2
>>> for this device? (it contains two MAXTOR 40G ATA133 disks,
>>> connected to an ATA133 IDE port as single master).
>>>
>>> Second question, subsidiary, can I force a higher mode than WDMA2?
>>> (like UDMA 133).


Allow me to give some additional info:

/var/log/dmesg.today:ad0: 39205MB  [79656/16/63]
at ata0-master WDMA2
/var/log/dmesg.today:ad4: 78167MB  [158816/16/63] at
ata2-master UDMA133
/var/log/dmesg.today:acd0: CDROM  at ata1-master PIO4
/var/log/dmesg.today:atapci0:  port
0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem
0xfde0-0xfde03fff irq 10 at device 12.0 on pci0
/var/log/dmesg.today:ata2: at 0xb400 on atapci0
/var/log/dmesg.today:ata3: at 0xa800 on atapci0
/var/log/dmesg.today:atapci1:  port 0xfc00-0xfc0f
at device 15.1 on pci0
/var/log/dmesg.today:ata0: at 0x1f0 irq 14 on atapci1
/var/log/dmesg.today:ata1: at 0x170 irq 15 on atapci1

This is on a ASUS K8V Deluxe board.

Thanks,

- Mark

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


Authentication Problem/Login problem

2004-08-09 Thread Mattias Björk
Hi,
I have setup qmail with vpopmail+courier-imap and are using a virtual 
domain. Its named "mail.birch.se". Im running it on FreeBSD 5.2.1.

I have used this guide to accomplish this:
"http://www.stevenfettig.com/mythoughts/archives/cat_qmail.php";
(Qmail HOWTO 1 thru chapter 3.)
I have also read some of the comments and did the change of
AUTHMODULES="authvchkpw" in "/usr/local/etc/courier-imap/authdaemonrc" 
from AUTHMODULES="authdaemon".

And my /var/qmail/control/virtualdomains does have this line:
"mail.birch.se:mail.birch.se"
Im using thunderbird as my MUA. My user name is "kladd"
Almost everything works fine, I can auth/login via imap-ssl and all. I 
get the certificate and accept it. However when I look in 
/var/log/maillog it says:

Aug 10 01:50:18 mail imapd-ssl: LOGIN FAILED, ip=[:::192.168.10.201]
Aug 10 01:50:18 mail imapd-ssl: LOGOUT, ip=[:::192.168.10.201]
(There are more but just the same thing but other date/time stamps)
And I can't see/list my mails, And If I send a mail to my self, with the 
option "Place mail in sent folder" set. I get an error message saying 
that it can't do it. I have tried to change the password several times 
but that does not seem to make any diffrance.

I have listed and there are the mail that I have sent to my self in 
"/usr/local/vpopmail/domains/mail.birch.se/kladd/Maildir/new"

I hope have not forgotten to do something, I can't think of anything 
that I have forgotten. Perhaps I have missed something but I have also 
checked   the logs in "/var/log". I have checked "/var/messages" and 
/var/log/qmail/current with tail -f. And there is not more that I can 
think of that is wrong.

Does anybody have a clue on what might be wrong? This has something to 
do with the auth. I don't know but it might be something to with the 
open_relay fix/addon in the guide as well.

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


Re: A question about /tmp

2004-08-09 Thread cpghost
On Mon, Aug 09, 2004 at 03:51:15PM -0400, Jerry McAllister wrote:
> Well, that is debateable.   The safest is for /tmp to be its own 
> partition/filesystem.  If you have it in root, and some runaway process 
> fills it up, it can bring the system to a grinding halt.   So, unless I

The problem here is that the number of partitions per slice is
extremely limited in FreeBSD. There was a discussion a while ago
[sorry, I've lost the reference] to bump the number of partitions
to 16 or even 32, but AFAIK, this has not been implemented (is it
still so?). One of OpenBSD or NetBSD supports this, but not FreeBSD :(
Perhaps in the upcoming 5.3-RELEASE?

And no, vinum is not the solution so early in the boot process.

-cpghost.

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


BuildWorld Compile Error

2004-08-09 Thread Ryan
===> gnu/usr.bin/binutils
===> gnu/usr.bin/binutils/libiberty
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I. 
-I/usr/src/gnu/usr.bin/binutils/libiberty 
-I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386 
-I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/include 
-DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -Werror  -c 
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/argv.c 
-o argv.o
cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I. 
-I/usr/src/gnu/usr.bin/binutils/libiberty 
-I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386 
-I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/include 
-DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -Werror  -c 
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c
 -o choose-temp.o
cc1: warnings being treated as errors
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:
 In function `choose_temp_base':
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:68:
 warning: implicit declaration of function `mktemp'
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/libiberty.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

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


MIDI? (Was: 5.3 stable release tentatively scheduled for Oct 3)

2004-08-09 Thread cpghost
On Mon, Aug 09, 2004 at 11:27:04AM -0400, fbsd_user wrote:
> 5.3 stable release tentatively scheduled for Oct 3
[snip]
> See   http://www.freebsd.org/releases/5.3R/schedule.html

What's the status of MIDI? Any chance to get it back in 5.3R?

-cpghost.

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


USB HD support in 4.9?

2004-08-09 Thread Michael Sharp
I've considered purchasing a external harddrive, preferably USB, and
installing freebsd on it and use it as a rsync backup server for my
production system.

I'm using 4.9-RELEASE, anyone out there using a external USB HD
successfully and which manufacturer?


Michael

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


Re: D-Link DWL-520 won't initialize

2004-08-09 Thread David Kelly
On Aug 9, 2004, at 5:40 PM, David Kelly wrote:
wi0:  mem 0xfc00-0xfc000fff irq 21 at device 
0.0 on pci2
wi0: timeout in wi_cmd 0x; event status 0x
wi0: wi_cmd: busy bit won't clear.
: init failed
device_probe_and_attach: wi0 attach returned 6
Update: exact same card on an Asus P2B PII-400 MHz machine with FreeBSD 
4.8-p-something produced much the same results above when I did 
"kldload if_wi". Difference was "attach returned 5" and the system 
locked hard.

Studying D-Link's site I now know I have a "version E" card, if that 
means anything. NT4 is the newest Microsoft product I have, and isn't 
supported by D-Link. The D-Link instructions say their software is to 
be installed before the hardware so I'm wondering if it has to be 
FLASH'ed or something?

--
David Kelly N4HHE, [EMAIL PROTECTED]

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


Fw: Only WDMA2?

2004-08-09 Thread Mark
> Mark wrote:
>
 In my FreeBSD 4.9R server, I use an ARAID99 1000L RAID system.
 However, it only runs at "WDMA2":

 Aug  9 21:08:36 asarian-host /kernel: ad0: 39205MB >>> 1000 Rev 2.5> [79656/16/63] at ata0-master WDMA2
>>>
 WDMA2 only offers 16 MB/s, whereas ATA133 of course, offers 133
 MB/s. The question is, is there a reason FreeBSD only uses WDMA2
 for this device? (it contains two MAXTOR 40G ATA133 disks,
 connected to an ATA133 IDE port as single master).

 Second question, subsidiary, can I force a higher mode than WDMA2?
 (like UDMA 133).
>
>
> Allow me to give some additional info:
>
> /var/log/dmesg.today:ad0: 39205MB 
> [79656/16/63] at ata0-master WDMA2
> /var/log/dmesg.today:ad4: 78167MB  [158816/16/63] at
> ata2-master UDMA133
> /var/log/dmesg.today:acd0: CDROM  at ata1-master PIO4
> /var/log/dmesg.today:atapci0:  port
> 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407
> mem 0xfde0-0xfde03fff irq 10 at device 12.0 on pci0
> /var/log/dmesg.today:ata2: at 0xb400 on atapci0
> /var/log/dmesg.today:ata3: at 0xa800 on atapci0
> /var/log/dmesg.today:atapci1:  port
> 0xfc00-0xfc0f at device 15.1 on pci0
> /var/log/dmesg.today:ata0: at 0x1f0 irq 14 on atapci1
> /var/log/dmesg.today:ata1: at 0x170 irq 15 on atapci1
>
> This is on a ASUS K8V Deluxe board.

It may be the case that FreeBSD 4.9R cannot use ATA 133 on the VIA 8237. I
saw 8.10 *does* support the via 8237. I'm unclear as to whether it also
supports the ATA 133 modes (hardware notes say: VIA 8237 SATA150).

Is there a way I can just upgrade the ata driver, without going all the way
to 8.10? I really cannot continue with using WDMA2 on 16 MB/s. That is about
ten times as slow as it can be!

I appreciate the help,

- Mark

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


freebsd 4.10 ATA problem

2004-08-09 Thread Roger 'Rocky' Vetterberg
Hi list.
I recently installed FreeBSD 4.9 on a Dell Poweredge 1500SC with dual 
PIII 1.3GHz, a SCSI drive for the OS and some IDE's for storage. I 
experienced crashes that seemed to be related to the IDE controller so 
I cvsuped to latest 4.10, but the problem is still there.

Here are the last lines from the log/console:
Aug 10 02:46:54 rambo /kernel: ad0: READ command timeout tag=0 serv=0 
- resetting
Aug 10 02:46:54 rambo /kernel: ata0: resetting devices .. ad0: DMA 
limited to UDMA33, non-ATA66 cable or device
Aug 10 02:46:54 rambo /kernel: ad1: ATA identify retries exceeded
Aug 10 02:46:54 rambo /kernel: ad1: timeout waiting for cmd=c6 s=00 e=00
Aug 10 02:46:54 rambo /kernel: ad1: timeout waiting for cmd=ef s=00 e=00
Aug 10 02:46:54 rambo last message repeated 4 times
Aug 10 02:46:54 rambo /kernel: done
Aug 10 02:58:07 rambo /kernel: ad0: READ command timeout tag=0 serv=0 
- resetting
Aug 10 02:58:07 rambo /kernel: ata0: resetting devices ..
Aug 10 02:58:07 rambo /kernel: ad1: removed from configuration
Aug 10 02:58:07 rambo /kernel: ad0: DMA limited to UDMA33, non-ATA66 
cable or device
Aug 10 02:58:07 rambo /kernel: done

After this, the box freezes, it totally locks up. Its not a panic, it 
just stops responding. Only way to recover is hard reboot. This seems 
to happen randomly within 1-5 days uptime, and its not related to 
heavy loads. I have tried to really put some stress on the IDE drives 
to force a lockup, but so far they have managed to survive all the 
torture tests Ive been able to think of. Still, the box has so far 
never managed more then 5 days without a crash.
Do I have a f*cked up IDE controller on this motherboard or is there 
some setting I can try?

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


Re: PHP4 port broken?

2004-08-09 Thread Chris Boyd
On Aug 9, 2004, at 5:00 PM, Bill Moran wrote:
The PHP port has been divvied up into a number of ports, so other ports
can specify only what parts of PHP they need.  For example, after you
install php4, you can then install lang/php4-gettext to add gettext
support to it.

OK, thanks to Bill, Paul, and Dan.
Looks like everything is going along well.  Would have been nice if 
they had modified the old makefile to put up a note that said something 
like "We're moving stuff around.  If you want to build extensions, go 
to /usr/ports/lang/php4-extensions."

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


USB KVM Keyboard Drop Work-Around (almost, need help!!)

2004-08-09 Thread Dean E. Weimer
Bear with on this one, it is a little long, but I wanted to describe
problem with as much detail as possible.

I recently purchased a USB KVM to switch between my Windows XP Box and
FreeBSD (5.2.1-RELEASE) file/web development server.  I was able to use
the USB keyboard after a boot, but as soon as I switched to the XP Box and
back to the FreeBSD machine it would no longer recognize the USB keyboard.

Search the mailing lists, Google, and Yahoo, showed that I wasn't the only
one with this problem, but I could not find a fix or work around.

After some searching I discovered that by using the command
"usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/console" that I could then see
the USB keyboard again.  Furthermore I discovered that when I switched
back and fourth with the KVM these messages showed up in the
"/var/log/messages" syslog.

When Leaving:
ukbd0: at uhub1 port 1 (addr 3) disconnected
ukbd0: detached
uhid0: at uhub1 port 1 (addr 3) disconnected
uhid0: detached
ums0: at uhub1 port 2 (addr 4) disconnected
ums0: detached

When Returning:
ukbd0: CHESEN USB Keyboard, rev 1.10/1.10, addr 3, iclass 3/1
kbd1 at ukbd0
uhid0: CHESEN USB Keyboard, rev 1.10/1.10, addr 3, iclass 3/0
ums0: Cypress Sem PS2/USB Browser Combo Mouse, rev 1.00/0.00, addr 4,
iclass 3/1
ums0: 5 buttons and Z dir.

So logic told me that if I could figure out a way to execute the
"usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/console" command based on the log
I would have a functional work around.

I used Swatch (/usr/ports/security/swatch) form the ports tree to attempt
to solve this program.

My configuration for swatch contains the following:
watchfor /kbd1 at ukbd0/
bell 3
exec /usr/sbin/kbdcontrol -k /dev/kbd1 < /dev/console

I am starting swatch at startup as a Daemon from a script in the
"/usr/local/etc/rc.d/ directory" simply passing it the --config-file,
--tail, and --daemon options.

At first all works great, can switch frequently between machines, the only
catch is it takes a few seconds for the mouse and keyboard to be detected,
but no longer than it takes XP.

But every few days the swatch daemon seems to hang.  I can ssh into the
box from my freebsd machine, kill the swatch process and relaunch the
daemon, and again it works for a few days and then hangs??

Anybody have any ideas??

Please Copy my email -- [EMAIL PROTECTED] with any replies...

--
Thanks,
  Dean E. Weimer
  [EMAIL PROTECTED]
  http://www.myhostinghome.net/

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


advertising on your site....

2004-08-09 Thread Teeceo
Here is what I would like to offerI will pay the site own of "FreeBSD.org" $2,000 
a month in exchange for making 10 sub domain names of "FreeBSD.org" with the words 
that i need and also, linking to these url's from your site (site wide). If you have 
any interest at all please give me a call or send me a email back. thanks for your 
time.



Barry Tubwell.
1-415-724-2938

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


Re: advertising on your site....

2004-08-09 Thread Ryan
This is FreeBsd OS Questions mailing list mate.


- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 10:51 PM
Subject: advertising on your site


> Here is what I would like to offerI will pay the site own of
"FreeBSD.org" $2,000 a month in exchange for making 10 sub domain names of
"FreeBSD.org" with the words that i need and also, linking to these url's
from your site (site wide). If you have any interest at all please give me a
call or send me a email back. thanks for your time.
>
>
>
> Barry Tubwell.
> 1-415-724-2938
>
> ___
> [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: advertising on your site....

2004-08-09 Thread Ryan
I'd try one of the email addresses listed at
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Ryan" <[EMAIL PROTECTED]>
Sent: Monday, August 09, 2004 11:00 PM
Subject: Re: advertising on your site


> Thank you Ryan. Could you please point me in the right direction then? A
email address that i can send to or a phone number I can call would be
great.
>
>
> Barry Tubwell.
>
>


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


Re: PHP4 port broken?

2004-08-09 Thread Peter Ulrich Kruppa
On Mon, 9 Aug 2004, Chris Boyd wrote:
On Aug 9, 2004, at 5:00 PM, Bill Moran wrote:
The PHP port has been divvied up into a number of ports, so other ports
can specify only what parts of PHP they need.  For example, after you
install php4, you can then install lang/php4-gettext to add gettext
support to it.

OK, thanks to Bill, Paul, and Dan.
Looks like everything is going along well.  Would have been nice if they had 
modified the old makefile to put up a note that said something like "We're 
moving stuff around.  If you want to build extensions, go to 
/usr/ports/lang/php4-extensions."
Have a look at /usr/ports/UPDATING and /usr/src/UPDATING after 
cvsup. You will find notes about these things there.

Regards,
Uli.

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


RE: Outbound SMTP filtering

2004-08-09 Thread Brad Tarver
MIMEDefang

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Rogness
Sent: Monday, August 09, 2004 06:49 PM
To: [EMAIL PROTECTED]
Subject: Outbound SMTP filtering



I am looking for an Outbound SMTP filtering solution to prevent SPAM and 
Virii from being sent through our SMTP relay machine (FreeBSD running 
sendmail).

A plugin module for sendmail or maybe some external appliance?  Just 
outbound SMTP traffic only.  Any suggestions?

Nick Rogness <[EMAIL PROTECTED]>
-
   How many people here have telekenetic powers? Raise my hand.
-Emo Philips

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


Important Confidentiality And Limited Liability Notice

This email and any attachments may be confidential and protected by law. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution or use 
of the email or any attachment is prohibited. If you have received this email in 
error, please notify us immediately by replying to the sender and deleting this copy 
and the reply from your system. Please note that any views or opinions expressed in 
this email are solely those of the author and do not necessarily represent those of 
Forman Perry Watkins Krutz & Tardy LLP. (FPWK&T). The recipient should check this 
email and any attachments for the presence of viruses. FPWK&T accepts no liability for 
any damage caused by any virus transmitted by this email. Thank you for your 
cooperation.



smime.p7s
Description: S/MIME cryptographic signature
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


does a working driver exist for the nForce2 MCP nic?

2004-08-09 Thread stheg olloydson
Hello,

Out of general principle, I would like to get the
onboard NIC working on an MSI K7N2 Delta-L mobo. I
have checked the archives and googled this issue. I
found A LOT of discussion. To sum up, Bill Paul was
trying to get nVidia to cooperate, but they were
having none of it. According to
http://www.onthenet.com.au/~q/nvnet/ a driver is
available via ports/net/nvnet, but my fresh install of
5.2.1-Release doesn't have that port. I can pull it
from the site, but before I needlessly mung my system,
does anyone know if it works? If it was in ports
before, why is it gone now?

Thanks,

Stheg 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


log reader

2004-08-09 Thread Ara Avvali
Hi
does anybody know a good looking log reader for firewall and access? I 
mean something which gets the log and formats in tables like excel file, 
organized and easy to read. I have to read a lot and makes me tired, so 
I was wondering if there is anyway to make it look better and easy on eye
Thank you
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Replacing Bind8x with Bind9

2004-08-09 Thread Joshua Lewis
How to I totaly replace Bind8x on my 5.2.1 system?

Is there a command to run to replace bind8 durring install?

Do I need to make changes to my startup files?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


how to resolve openldap version conflict

2004-08-09 Thread Peter Ryan
Hi,

I am trying to install Samba3 from the ports
collection onto freeBSD 4.10.

The Make terminated because there was an
earlier version of openldap already 
installed, and the new one wanted to store
files in the same directory.

When i tried to pkg_delete the old version,
it refused, saying that several KDE related 
items were using it.

I am confused about what to do about this.

(I dont have the version numbers.. after this
i decided to try and install samba 2, and a
blue options screen came up that seems to 
have wiped out the error messages that 
appeared at the end of the samba 3 make)

Thanks in advance for any pointers.

Peter

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