Re: virtualbox with FreeBSD as host

2012-11-16 Thread Derrick Ryalls
On Fri, Nov 16, 2012 at 1:18 PM, Fbsd8  wrote:

>
> Section 23.3 of the handbook speaks about FreeBSD as a host.
> No where in that section does it say anything about virtualbox
> running from the FreeBSD host command line or from A Desktop.
>
> Do I need a Desktop for virtualbox to run under?
>

 NOPE !!

 VBoxHeadless -startvm  "vm name"

  Issueing VirtualBox from host command line gets this msg.
>>> Failed to open the x11 display
>>>
>>> VBoxHeadless -startvm  "vm name" assumes that there a vb guest
>>> all ready configured which is not my case.
>>>
>>>
>> Right! I assumed you already had the VM ready. Sorry.
>>
>>
>>  There is no man page for VBoxHeadless command.
>>>
>>
>> There are those:
>>
>> http://download.virtualbox.**org/virtualbox/UserManual.pdf
>>
>> and
>>
>> http://www.virtualbox.org/**manual/ 
>>
>> VBoxHeadless is covered on both.
>>
>>  How do a configure a vb guest from the host command line?
>>>
>>>
>> VBoxManage can do all that from command line. Check it out or follow my
>> previous e-mail.
>>
>>
> I read the UserManual and think I am barking up the wrong tree.
> So lets start over again with what the wanted desired result is.
> I have 9.0 installed on my 200gb hard drive, it's configured to use the
> first 100gb leaving the second 100gb free. I was going to install XP in
> the second half and have a duel boot config. Then I find out XP has to
> be install first on the HD meaning I have to install 9.0 from scratch
> again. I read a post on this list where it was suggested to run
> Virtualbox on my 9.0 host and then run XP as a guest. I want to boot the
> 9.0 host and login to the 9.0 host, start the Virtualbox XP guest and
> enter the XP guest [IE: be in the XP OS windows environment], can I do
> all that from the host command line? I do not run x11 or any desktop on
> my 9.0 host. I do not want to use an second PC to login to the VB XP
> guest over ssh.
>
>
>
I think I am misunderstanding your ask, so I will describe what I have
which sounds awfully similar.

I have a headless 9.0 box with plenty of CPU cycles and HDD/RAM to spare.
 I have installed virtualbox on it, as well as phpVirtualBox (might have
the wrong name there).

Using phpVirtualBox, I can start/stop/config virtual machines on the host.
 So I used my Win7 box to create a virtual Win7 (or in your case WinXP) and
got it all installed and setup using my laptop.  Once it was configured, I
copied the virtual hard drive to the fileserver, configured a new virtual
machine to use that hard drive and set the network to bridged.  After
starting the virtual machine on my FreeBSD box I was able to remote to the
virtual machine using terminal services (built into windows).

The installation of virtualbox on my fileserver did install x11 components,
but by using phpVirtualBox, it is all started headless.

Hope this helps.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: HDD READ/Timeout messages after 8.2 Upgrade

2010-12-31 Thread Derrick Ryalls
On Fri, Dec 31, 2010 at 1:52 PM, Vladislav V. Prodan wrote:

> 31.12.2010 4:10, Derrick Ryalls wrote:
> > Any pointers?
>
> Upgrade to an old build FreeBSD 8.1
> Similar problems with working HDD in 9.0-CURRENT
>
>
Adding ahci_load="YES" to loader.conf solved the problem.  Running a hdd
test now but the system seems stable now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


HDD READ/Timeout messages after 8.2 Upgrade

2010-12-30 Thread Derrick Ryalls
Greetings,

I replaced mobo/cpu/ram today and found the onboard nic not fully
recognized.  Since the kernel is just over a year old I decided to try a
system upgrade to see if the new hardware would get recognized.

I did a csup this afternoon, then a build world/kernel (kernel is default
but without debugging enabled).  After the reboot step, the system has
started spewing hdd errors such as:

ad6: TIMEOUT - READ retrying (1 retry left) LBA=575
Trying to mount root from ufs:/dev/label/rootfs
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3401887
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3403135
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3409375
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3775391
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388383
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388427
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388463
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388495
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388743
ad6: TIMEOUT - READ retrying (1 retry left) LBA=388795
ad6: TIMEOUT - READ retrying (1 retry left) LBA=389087
ad6: TIMEOUT - READ retrying (1 retry left) LBA=389015
ad6: TIMEOUT - READ retrying (1 retry left) LBA=389075
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3407999
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2660479
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2760223
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2742879
ZFS filesystem version 4
ZFS storage pool version 15
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2652351
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2633899
ad6: TIMEOUT - READ retrying (0 retries left) LBA=2633899
ad6: TIMEOUT - READ retrying (1 retry left) LBA=2652159
ad12: TIMEOUT - READ_MUL48 retrying (1 retry left) LBA=1704757232
ad14: TIMEOUT - READ_MUL48 retrying (1 retry left) LBA=637648115
ad14: TIMEOUT - READ_MUL48 retrying (0 retries left) LBA=637648115
ad8: TIMEOUT - READ_MUL48 retrying (1 retry left) LBA=637646968
ad12: TIMEOUT - READ_MUL48 retrying (1 retry left) LBA=637646967
ad14: TIMEOUT - READ_MUL48 retrying (1 retry left) LBA=1682297102
ad6: TIMEOUT - READ retrying (1 retry left) LBA=3400319



The hardware is a 30g SSD for the O/S and system, and a 4x 2TB RAIDZ array
for all else.  Reverting to the old kernel has gotten the system back to
normal operation, but I would like to move forward.  I found a message from
someone experiencing a similar issue, but it was geli related and had
hardware errors in the message.

Above ad6 is the UFS SSD, all other drives are SATA RAIDZ spinning disks
(ad16 is non-raid spinning disk ZFS).  I have attached the dmesg from the
8.2 PRE-RELEASE kernel.

The physical hardware seems fine, particularly since it works on the 8.0
system.  Not sure how to troubleshoot and isolate the issue.

Any pointers?

TIA
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.2-PRERELEASE #0: Thu Dec 30 17:05:48 PST 2010
u...@example.com:/spare/obj/spare/src/sys/FRODO amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) II X4 640 Processor (3010.07-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f53  Family = 10  Model = 5  Stepping = 3
  
Features=0x178bfbff
  Features2=0x802009
  AMD 
Features=0xee500800
  AMD 
Features2=0x37ff
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8251383808 (7869 MB)
ACPI APIC Table: <082410 APIC1853>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <082410 XSDT1853> on motherboard
acpi0: [ITHREAD]
ACPI Error: [PCI0] Namespace lookup failure, AE_NOT_FOUND (20101013/dswload-772)
ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20101013/psloop-326)
ACPI Error: Method parse/execution failed [\\] (Node 0x80c2e460), 
AE_NOT_FOUND (20101013/psparse-633)
acpi0: Power Button (fixed)
acpi0: reservation of fee0, 1000 (3) failed
acpi0: reservation of ffb8, 8 (3) failed
acpi0: reservation of fec1, 20 (3) failed
acpi0: reservation of fed8, 1000 (3) failed
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, dfe0 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
acpi_hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  irq 17 at device 9.0 on pci0
pci4:  on pcib1
atapci0:  port 
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe

Re: freebsd-questions Digest, Vol 340, Issue 15

2010-12-12 Thread Derrick Ryalls
On Sun, Dec 12, 2010 at 9:45 AM, Mark Terribile wrote:

> >
> > It's ok, that i can use this, when i want an incrementing
> > sequence, in a given way:
> >
> > # {START..END..INCREMENT}
> > $ for i in {0..10..2}; do echo "Welcome $i times"; done
> > Welcome 0 times
> > Welcome 2 times
> > Welcome 4 times
> > Welcome 6 times
> > Welcome 8 times
> > Welcome 10 times
> > $
> >
> > but what's the "magic" for this? :
> >
> > $ MAGIC; do echo "Welcome $i times"; done
> > Welcome 0 times
> > Welcome 1 times
> > Welcome 4 times
> > Welcome 5 times
> > Welcome 8 times
> > Welcome 9 times
> > $
>
> What's wrong with
>
> for i in 0 1 4 5 8 9 ; do echo "Welcome $i times"; done
>
>  ?
>
> Or is there some rule that you want followed?  If there is, it's not
> obvious to me.  (Sorry.)
>
>Mark Terribile
>
>
> +1, +3, +1, +3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


GEOM corrupt or invalid GPT detected on ZFS raid on Freebsd 8.0 x64

2010-01-08 Thread Derrick Ryalls
898281456854820018
vdev_tree
type='raidz'
id=0
guid=7378337929137643727
nparity=1
metaslab_array=23
metaslab_shift=36
ashift=9
asize=8001576501248
is_log=0
children[0]
type='disk'
id=0
guid=8898281456854820018
path='/dev/label/disk1'
whole_disk=0
DTL=122
children[1]
type='disk'
id=1
guid=1353516608832566
path='/dev/label/disk2'
whole_disk=0
DTL=126
children[2]
type='disk'
id=2
guid=2985688821708093695
path='/dev/label/disk3'
whole_disk=0
DTL=125
children[3]
type='disk'
id=3
guid=16498259053924061255
path='/dev/label/disk4'
whole_disk=0
DTL=124

LABEL 3

version=13
name='storage'
state=0
txg=509115
pool_guid=3832644769924830246
hostid=400837641
hostname='myhost'
top_guid=7378337929137643727
guid=8898281456854820018
vdev_tree
type='raidz'
id=0
guid=7378337929137643727
nparity=1
metaslab_array=23
metaslab_shift=36
ashift=9
asize=8001576501248
is_log=0
children[0]
type='disk'
id=0
guid=8898281456854820018
path='/dev/label/disk1'
whole_disk=0
DTL=122
children[1]
type='disk'
id=1
guid=1353516608832566
path='/dev/label/disk2'
whole_disk=0
DTL=126
children[2]
type='disk'
id=2
guid=2985688821708093695
path='/dev/label/disk3'
whole_disk=0
DTL=125
children[3]
type='disk'
id=3
guid=16498259053924061255
path='/dev/label/disk4'
whole_disk=0
DTL=124

Since this step differs from the linked thread above, I did not follow
the steps listed in that thread.

[r...@frodo ~]# uname -a
FreeBSD myhost 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec  6
11:23:52 PST 2009 ryal...@myhost:/usr/obj/usr/src/sys/FRODO  amd64

[r...@frodo ~]# kldstat
Id Refs AddressSize Name
 1   15 0x8010 d17da8   kernel
 21 0x81022000 f2a99zfs.ko
 31 0x81115000 199e opensolaris.ko
 41 0x81117000 a3a0 geom_eli.ko
 51 0x81122000 1ab9acrypto.ko
 61 0x8113d000 a49e zlib.ko


Did I somehow glabel incorrectly or something?  Is there any way to
fix this?  It seems to only be an issue on boot, but don't want to
find out my data is risk when it is too late.

TIA

Derrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


[Solved, mostly]: zpool status hangs zfs command, possibly related to spindown

2010-01-08 Thread Derrick Ryalls
On Thu, Jan 7, 2010 at 8:01 AM, Derrick Ryalls  wrote:
> Greetings,
>
> uname -a (64bit)
>
>  8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec  6 11:23:52 PST 2009
>
> I have a raidz setup with 4x 2TB drives, plus a UFS CF on the IDE
> channel I use to boot off of.  I have an 1TB ZFS (non-raid) drive in
> an attached docking station that I use for nightly backups.  Since the
> drive in the docking station has no fan on it, and is only used for
> about 2 minutes per day, I have a spindown script added to rc.d:
>
> #!/bin/sh
>
> DEV=ad12
>
> case "$1" in
> start)
>        echo "Spindown SATA disk $DEV after idle for 15 minutes."
>        atacontrol spindown $DEV 900 && dd if=/dev/$DEV of=/dev/null
> count=1 2> /dev/null &
>        ;;
> stop)
>        echo "Spindown of SATA disk $DEV disabled."
>        atacontrol spindown $DEV 0 && dd if=/dev/$DEV of=/dev/null
> count=1 2> /dev/null
>        ;;
> status)
>        atacontrol spindown $DEV
>        ;;
> *)
>        echo "Usage: `basename $0` {start|stop|status}" >&2
>        exit 64
>        ;;
> esac
>
>
> However after running a spindown stop twice within a couple minutes, I
> see this in /var/log/messages:
>
> Jan  7 07:36:54 frodo kernel: ad12: request while spun down, starting.
> Jan  7 07:36:55 frodo kernel: ad12: timeout waiting to issue command
> Jan  7 07:36:55 frodo kernel: ad12: error issuing READ_DMA command
>
> Jan  7 07:38:40 frodo kernel: ad12: timeout waiting to issue command
> Jan  7 07:38:40 frodo kernel: ad12: error issuing READ_DMA command
>
> If I issue a 'zpool status storage' command (main raidz) it returns
> normally.  If I issue 'zpool status' or 'zpool status backup' (backup
> is the drive in the docking station), the command hangs.  'zfs list'
> also does not return nor do zfs mounting commands associated with the
> backup drive.
>
> When I was using 7.x (without ZFS), I was able to use spindown and the
> drive would spin up when being used, then shut down after the
> requisite inactivity time.  Is this no longer recommended, or have I
> hit a bug/regression in the ata controller?
>
> I am remote to the machine right now, so I am hesitant to reboot it to
> get the spundown drive back up and running.  Does anyone know of a way
> to kick start a spundown drive so it is mountable (as a short term
> fix) and the proper way to spin up/down the drive for 8.x (for a long
> term fix).
>
> TIA,
>
> Derrick
>

Replying to my own thread.  Turned out to be a hardware problem - the
eSATA plug had become slightly dislodged from the docking station
explaining why FreeBSD couldn't properly talk to the drive.  Wonder if
this uncovers a hotswap issue with either the hardware or the
software.  It seems like the device should have been removed from /dev
when the cable came out rather than the ZFS tools hanging when trying
to read...  In any case, my backups are running again and I am once
again getting daily report mails, so the need for me to investigate
this further has dropped.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


zpool status hangs zfs command, possibly related to spindown

2010-01-07 Thread Derrick Ryalls
Greetings,

uname -a (64bit)

 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec  6 11:23:52 PST 2009

I have a raidz setup with 4x 2TB drives, plus a UFS CF on the IDE
channel I use to boot off of.  I have an 1TB ZFS (non-raid) drive in
an attached docking station that I use for nightly backups.  Since the
drive in the docking station has no fan on it, and is only used for
about 2 minutes per day, I have a spindown script added to rc.d:

#!/bin/sh

DEV=ad12

case "$1" in
start)
echo "Spindown SATA disk $DEV after idle for 15 minutes."
atacontrol spindown $DEV 900 && dd if=/dev/$DEV of=/dev/null
count=1 2> /dev/null &
;;
stop)
echo "Spindown of SATA disk $DEV disabled."
atacontrol spindown $DEV 0 && dd if=/dev/$DEV of=/dev/null
count=1 2> /dev/null
;;
status)
atacontrol spindown $DEV
;;
*)
echo "Usage: `basename $0` {start|stop|status}" >&2
exit 64
;;
esac


However after running a spindown stop twice within a couple minutes, I
see this in /var/log/messages:

Jan  7 07:36:54 frodo kernel: ad12: request while spun down, starting.
Jan  7 07:36:55 frodo kernel: ad12: timeout waiting to issue command
Jan  7 07:36:55 frodo kernel: ad12: error issuing READ_DMA command

Jan  7 07:38:40 frodo kernel: ad12: timeout waiting to issue command
Jan  7 07:38:40 frodo kernel: ad12: error issuing READ_DMA command

If I issue a 'zpool status storage' command (main raidz) it returns
normally.  If I issue 'zpool status' or 'zpool status backup' (backup
is the drive in the docking station), the command hangs.  'zfs list'
also does not return nor do zfs mounting commands associated with the
backup drive.

When I was using 7.x (without ZFS), I was able to use spindown and the
drive would spin up when being used, then shut down after the
requisite inactivity time.  Is this no longer recommended, or have I
hit a bug/regression in the ata controller?

I am remote to the machine right now, so I am hesitant to reboot it to
get the spundown drive back up and running.  Does anyone know of a way
to kick start a spundown drive so it is mountable (as a short term
fix) and the proper way to spin up/down the drive for 8.x (for a long
term fix).

TIA,

Derrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: named needs restart after a reboot

2009-12-09 Thread Derrick Ryalls
On Wed, Dec 9, 2009 at 3:39 PM, Derrick Ryalls  wrote:
> On Tue, Dec 8, 2009 at 12:24 PM, Warren Block  wrote:
>> On Tue, 8 Dec 2009, Derrick Ryalls wrote:
>>>
>>> uname:
>>>
>>> FreeBSD example.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec
>>> 6 11:23:52 PST 2009     ryal...@example.com:/usr/obj/usr/src/sys/FRODO
>>> amd64
>>>
>>> I have most things working, but I have noticed that every time I
>>> reboot the machine, I need to manually restart named to get it
>>> listening on the proper interfaces as by default it is listening on
>>> 127.0.0.1 interfaces only.  A simple /etc/rc.d/named restart fixes it
>>> which seems like it would be configured correctly, but I have had to
>>> do this on a install before.
>>>
>>> Anyone have a guess as to what could be wrong?
>>
>> Only a guess: network interface comes up too late.  If you're using DHCP to
>> configure that interface, you could try SYNCDHCP.  Or if it's an re(4)
>> interface, there are patches in 8-STABLE that make it come up faster.
>>
>> -Warren Block * Rapid City, South Dakota USA
>>
>
> ifconfig_nfe0="SYNCDHCP"
>
> Was the fix, thanks!
>

Spoke too soon.  On one reboot, the interface couldn't talk to DHCP
until I set it down then back up.  I have gone to statically setting
the IP.  Not ideal, but seems to be working (based on one clean
reboot).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: named needs restart after a reboot

2009-12-09 Thread Derrick Ryalls
On Tue, Dec 8, 2009 at 12:24 PM, Warren Block  wrote:
> On Tue, 8 Dec 2009, Derrick Ryalls wrote:
>>
>> uname:
>>
>> FreeBSD example.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec
>> 6 11:23:52 PST 2009     ryal...@example.com:/usr/obj/usr/src/sys/FRODO
>> amd64
>>
>> I have most things working, but I have noticed that every time I
>> reboot the machine, I need to manually restart named to get it
>> listening on the proper interfaces as by default it is listening on
>> 127.0.0.1 interfaces only.  A simple /etc/rc.d/named restart fixes it
>> which seems like it would be configured correctly, but I have had to
>> do this on a install before.
>>
>> Anyone have a guess as to what could be wrong?
>
> Only a guess: network interface comes up too late.  If you're using DHCP to
> configure that interface, you could try SYNCDHCP.  Or if it's an re(4)
> interface, there are patches in 8-STABLE that make it come up faster.
>
> -Warren Block * Rapid City, South Dakota USA
>

ifconfig_nfe0="SYNCDHCP"

Was the fix, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


named needs restart after a reboot

2009-12-08 Thread Derrick Ryalls
Greetings,

uname:

FreeBSD example.com 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec
6 11:23:52 PST 2009 ryal...@example.com:/usr/obj/usr/src/sys/FRODO
 amd64

I have most things working, but I have noticed that every time I
reboot the machine, I need to manually restart named to get it
listening on the proper interfaces as by default it is listening on
127.0.0.1 interfaces only.  A simple /etc/rc.d/named restart fixes it
which seems like it would be configured correctly, but I have had to
do this on a install before.

Anyone have a guess as to what could be wrong?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD 8.0 system setup with ZFS steps

2009-11-29 Thread Derrick Ryalls
Greetings,

I created the following guide when I was trying out ZFS in VirtualBox
on my windows machine.  I created 5 hard drives: 1 to represent a
flash drive to boot off of, 4 to represent the large hard drives I
would be using in raid.  It seemed to work to get a running system,
but wanted to make sure I wasn't doing anything stupid or missing a
good step.

FreeBSD 8.0 with ZFS


*Setup
   Use a 2gig Flash device.  1 gig is enough space though.  512M will be tight.
   Collect the 4 other SATA drives.
*Start FreeBSD normal install.
   Select the flash device as the device to install to.
   Use the entire device
   Install the bootMgr
   Create a single slice taking up the entire device, mount to /
   Select distribution minimal
   Run install
   Normal post install answers
   Reboot
*Activate ZFS 
(http://www.freebsd.org/doc/en/books/handbook/filesystems-zfs.html)
   Follow instructions for RaidZ
   Be sure to add the instructions for daily raid mails
*Create mount points in pool
   home
   local
   obj
   ports
   src
   var
   share
   tmp
*One at a time, copy existing data from / to new mount points.
Instructions are in the link above
*Reboot (make sure nothing is broken)
*Swap
   zfs create -V 4g storage/swap
   geli onetime -s 4096 /dev/zvol/storage/swap (encryption, might not be needed)
   swapon /dev/zvol/storage/swap.eli
*pkg_add -r bash
*Add users
*Normal setup at this point.



My goal is to not burn out the flash drive with a bunch of writes, so
it should primarily be read only, with the occasional edit to a config
file or installworld.  I tried putting /etc in a ZFS pool to take
advantage of snapshots and such, but the machine couldn't find the
boot drive as that information is stored in /etc and ZFS is not loaded
at that point.

Am I doing something stupid that may burn out the flash drive or cause
the system to be rather slow?

Thanks,

Derrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ZFS disk replacement questions

2009-11-03 Thread Derrick Ryalls
On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack  wrote:
> Derrick Ryalls wrote:
>>
>> 1) In the event of a disk failure, how do I trace back the name such
>> as adX to a physical drive in the enclosure?  Is there a way to take
>> the drive offline then use atacontrol to spin it down or something so
>> it is easy to identify?
>>
>
> In my opinion you are best off using glabel(8) to give names to the disks.
>  This way you can name them in a way that makes sense to you.  Additionally,
> when you create the ZFS pool you will use the glabel'd names.  This means
> that the pool will still come up properly if something causes your devices
> to be numbered differently (i.e. a drive dies and you happen to reboot the
> system).

I believe ZFS does this automatically.  Supposedly, if you take a
working set of RAIDZ drives from one machine and put it in another,
ZFS will figure out the drives since they get labelled by ZFS
internally.  My question concerns how to identify the physical disk in
question based on the adX or glabel name?  Different name in software
is fine, but if the drive fails I want to make sure I pull the correct
drive.

>
> Depending on your controller it is also probably worth it to use one of the
> SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and
> siis(4).  While the generic ata(4) driver will work for pretty much
> everything, the updated AHCI drivers can take advantage of some more
> features.  Enable the modules at boot to use them.

I will look into it, thanks.  The machine in question is 2 year old
hardware currently with a 3ware raid card.  I will be going software
raid only, but FreeBSD already recognizes the eSATA drive I have
attached as a backup device so I know the O/S can at least talk to
sata drives attached to the mobo.

>>
>> Any tips would be greatly appreciated.
>>
>>
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ZFS disk replacement questions

2009-11-03 Thread Derrick Ryalls
Hello list,

I plan on rebuilding my home fileserver next month with FreeBSD 8.0
x64 and will be using 4x 2TB drives in an external eSATA hotswap
enclosure using RAIDZ.  I have played around with FreeBSD in
VirtualBox just to see how easy it is to deal with ZFS, but a few
questions have come up for this configuration.

1) In the event of a disk failure, how do I trace back the name such
as adX to a physical drive in the enclosure?  Is there a way to take
the drive offline then use atacontrol to spin it down or something so
it is easy to identify?

2) In the event that I do experience a failure and manage to replace a
working disk instead of the failed disk, am I now completely hosed or
can I put the working disk back in and try pulling another drive which
is hopefully the bad drive?

3) Finally, does the extra load of resilvering the replaced drive
'age' the good drives causing them to fail quicker?


Any tips would be greatly appreciated.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (no subject)

2009-08-10 Thread Derrick MacPherson
As soon as you send these, you find an answer. Loaded geom_stripe and I was 
able to see the array



--Original Message--
From: Derrick MacPherson
Sender: owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org
Subject: (no subject)
Sent: Aug 10, 2009 14:40


I had a ssd drive in a system to use as temp backup server, it has 6 1tb
drives in it that i created a raid0 (i'm pretty sure that's what I
created) and used as a backup, to rebuild our file server. the ssd drive
was taken back after a couple weeks as the box was no longer being used.
At this point I need to check whats on that array due to some data
corruption. The drives in the array are probably not plugged in as they
were when used before. Is it possible, and if so how, to recover that
array? I've popped in a different system drive and have got the box back
up, I thought there'd be a way to read the labels on the drives and
recreate the raid set.. am i wrong?


-- 

Derrick MacPherson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Sent from my BlackBerry. ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

(no subject)

2009-08-10 Thread Derrick MacPherson

I had a ssd drive in a system to use as temp backup server, it has 6 1tb
drives in it that i created a raid0 (i'm pretty sure that's what I
created) and used as a backup, to rebuild our file server. the ssd drive
was taken back after a couple weeks as the box was no longer being used.
At this point I need to check whats on that array due to some data
corruption. The drives in the array are probably not plugged in as they
were when used before. Is it possible, and if so how, to recover that
array? I've popped in a different system drive and have got the box back
up, I thought there'd be a way to read the labels on the drives and
recreate the raid set.. am i wrong?


-- 

Derrick MacPherson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD as a router

2009-06-11 Thread Derrick Ryalls
You might also check out monowall.  It is a stripped down version of FreeBSD
that can run off a small flash card and has a web interface.

On Jun 11, 2009 6:05 AM, "Wojciech Puchar" 
wrote:

>> powerful. > > > > Hmm, PF would be better (not IPF) but I hear ipfw ha
smore features .
basicly - if you think ipfw can't do something - read manual again ;)

exaggerated, but not very much...

___
freebsd-questions@freebsd.org mailing list http://l...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sendmail not authenticating with smart host

2008-09-05 Thread Derrick Ryalls
Greetings,

Due to port 25 restrictions, I am trying to get my brother's email
server to authenticate out on port 587.  I have sendmail talking via
port 587, but it is not properly authenticating.  To help narrow
things down, I am having his machine route all mail to my machine with
authentication.  His machine is a running version 7:   7.0-RELEASE
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008

Here are some relevant parts of the hostname.mc file:

define(`SMART_HOST', `myserver.com')
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash /etc/mail/auth/client-info.db')dnl

auth/client-info has this:

AuthInfo:myserver.com "U:hisuser" "I:hisuser" "P:password" "M:PLAIN"

And I have created client-info.db hash.  I have copied the config file
workflow from my server which uses smtp auth to talk to my ISP on port
587.

On myserver.com, I do see that his machine connects to me, but I see
this error in maillog:

Relaying denied. Proper authentication required.

When I was trying to go through his ISP, I got this error message in
his error log:  stat=Service unavailable.  We share ISP (from
different states though) and I am still able to send via my ISP.  I
even tried to directly copying my auth info for the ISP from my box to
his (so he would be sending as me) and I got this same error.

Have I missed a configuration setting somewhere?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Supported External SATA to USB Hard Drive Enclosures

2008-08-24 Thread Derrick Ryalls
On Fri, Aug 22, 2008 at 6:32 AM, Doug Poland <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Can anyone recommend a manufacturer and/or model of external SATA to
> USB external hard drive enclosures?  I've not had luck with the
> devices I pick up off-the-shelf at my local big-box consumer
> electronics stores.
>
> BTW, I'm running FreeBSD i386 7.x.
>

Perhaps I am tired and therefore misunderstanding...

I just recently bought a seagate TB SATA drive and Roswell enclosure
that has SATA internal and USB/eSATA as external interface.  USB
worked with no difficulty and so did the eSATA when I plugged the
bracked into an existing SATA port on my mobo.  I also had good luck
with Addonics being recognized, until the enclosure itself started
failing, that is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
On Tue, Aug 19, 2008 at 12:21 PM, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> On Aug 19, 2008, at 12:01 PM, Derrick Ryalls wrote:
>>
>> NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
>> configuration line "relay_port_587, P=[IPC], F=mDFMuXa,
>> S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r"
>> Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
>> /etc/mail/sendmail.cf: line 1721: unknown configuration line "\\n,
>> L=990,\nT=DNS/RFC822/SMTP,\nA=TCP
>> \001h 587"
>>
>> Guess I have messed something up here, see anything obvious?
>
> A mailer definition needs to start with a capital M, as in:
>
> Mrelay, P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP, R=MasqSMTP,
> E=\r\n, L=2040,
>T=DNS/RFC822/SMTP,
>A=TCP $h
>
> ...from sendmail.cf.  You could just copy this and rename it to
> relay_port_587, and add the 587 after the $h
>

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


Re: sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
On Tue, Aug 19, 2008 at 10:56 AM, Chuck Swiger <[EMAIL PROTECTED]> wrote:
> On Aug 19, 2008, at 10:16 AM, Derrick Ryalls wrote:
>>
>> For example, if I was relaying for example.org on port 2345, I would
>> specify
>> example.org:2345 and that is the port it would use to talk to
>> example.org.
>>
>> Now that I have switched to sendmail, I don't see a way to set the
>> destination port on a per domain basis, only on an all or nothing
>> basis.  Am I missing some piece of the documentation or is this an
>> actual limitation of sendmail?
>
> You can do this with /etc/mail/mailertable:
>
>   example.org  relay:example.org
>
> ...and change to the relay mailer flags with this in your sendmail.mc
>
>  define(`RELAY_MAILER_ARGS', `TCP $h 2345')
>
> Note that you might want to define a new mailer called "relay2345" instead
> of changing the default relay mailer.
>
> Regards,
> --
> -Chuck
>

Thanks for the tip.  I have added this to .mc:

dnl alternate relay port
MAILER_DEFINITIONS
relay_port_587, P=[IPC], F=mDFMuXa, S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP, E=\r
\n, L=990,
T=DNS/RFC822/SMTP,
A=TCP $h 587


Created a mailer table:

example.com   relay_port_587:example.com

And when I send to this domain, I get this in the maillog:

NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
configuration line "relay_port_587, P=[IPC], F=mDFMuXa,
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r"
Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
/etc/mail/sendmail.cf: line 1721: unknown configuration line "\\n,
L=990,\nT=DNS/RFC822/SMTP,\nA=TCP
\001h 587"

Guess I have messed something up here, see anything obvious?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sendmail secondary server routing to alternate port

2008-08-19 Thread Derrick Ryalls
Greetings,

I recently had to rebuild my brother's all in one box to get a SATA
controller working.  It is now running 7.0 release and was previously
using courier and the mail system.  With this rebuild, I have switched
him over to sendmail and most things are working, but I discovered a
small issue with sendmail that I am having trouble working out.  As
well as being his own primary email server, he acts as secondary for a
couple of my domains, the tricky part is my ISP shut off port 25
access to me (no, I am not a spammer) so I use port 587 for handling
mail.  With courier, I was able to specify specific ports to
communicate with on a per domain basis.  For example, if I was
relaying for example.org on port 2345, I would specify
example.org:2345 and that is the port it would use to talk to
example.org.

Now that I have switched to sendmail, I don't see a way to set the
destination port on a per domain basis, only on an all or nothing
basis.  Am I missing some piece of the documentation or is this an
actual limitation of sendmail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nut and RAID on FreeBSD 7.0

2008-01-11 Thread Derrick Ryalls
On Jan 11, 2008 7:19 AM, Derek Ragona <[EMAIL PROTECTED]> wrote:
>
>
>  At 01:43 AM 1/11/2008, Derrick Ryalls wrote:
>
> On Jan 10, 2008 3:52 PM, Kurt Buff <[EMAIL PROTECTED]> wrote:
>  >
>  > On Jan 10, 2008 3:14 PM, Bob Johnson <[EMAIL PROTECTED]> wrote:
>  > > On 1/10/08, Derrick Ryalls <[EMAIL PROTECTED]> wrote:
>  > >
>  > > >
>  > > > Perhaps I need to re-evaluate my line of thinking.  Light sometime
>  > > > flicker, but power almost never goes out.  When it does it is either
>  > > > back on in less than 1 minute, or out for hours.  If the UPS detects
>  > > > critical correctly and gives me at least a minute before death, then
>  > > > that should be plenty of time for the system to auto-shutdown.  Guess
>  > > > I will have to do some experimentation tonight.
>  > >
>  > > While you experiment, keep in mind the following sequence of events:
>  > >
>  > > -- Power fails
>  > > -- UPS signals low battery
>  > > -- System shuts down
>  > > -- Power returns before UPS shuts itself down
>  > > --> System never reboots, because it never lost power.
>  > >
>  > > Getting around this is the tricky part. I haven't used NUT in about
>  > > seven years, but back then the recommendation was to shut down to
>  > > single user mode and run a script that delayed for some time longer
>  > > than the remaining battery life of the UPS, then rebooted the system.
>  > > There didn't seem to be an easy hook for running a script after
>  > > shutting down to single user mode (maybe there is now).
>  > >
>  > > I haven't looked at NUT recently, but I expect the various flags that
>  > > you are supposed to test are another way around this problem.
>  >
>
>  Trying to test out the scripts, I ran into a road block.  I see that
>  upsmon is working and detecting the events I wanted to detect from
>  these sorts of entries in /var/log/messages:
>
>  Jan 10 23:28:57 frodo upsmon[80983]: UPS [EMAIL PROTECTED] on line power
>
>  Plus a similar message for going to battery power.  However, the
>  notify executable is having issues and is dumping dozens of lines like
>  this in /var/log/messages:
>
>  Jan 10 23:28:09 frodo kernel: pid 81029 (upssched), uid 1005: exited
>  on signal 11
>  Jan 10 23:28:09 frodo kernel: pid 81031 (upssched), uid 1005: exited
>  on signal 11
>  Jan 10 23:28:10 frodo kernel: pid 81032 (upssched), uid 1005: exited
>  on signal 11
>  Jan 10 23:28:10 frodo kernel: pid 81033 (upssched), uid 1005: exited
>  on signal 11
>  Jan 10 23:28:11 frodo kernel: pid 81034 (upssched), uid 1005: exited
>  on signal 11
>  Jan 10 23:28:11 frodo kernel: pid 81035 (upssched), uid 1005: exited
>  on signal 11
>
>  I tried giving the user the user in question (nutmon) a shell of
>  /bin/sh instead of /sbin/nologin but that didn't help.  Any clues on
>  how to fix this?  Executing upssched from the command line it tells me
>  not to execute directly (similar to what the man page states), and
>  manually executing the upsched-cmd shell script does work and the
>  script itself uses full paths for commands.
>
>  What is in your notify command?
>
>  I set my NOTIFYCMD in upsmon.conf to a simple shell script I created to
> send the message via sendmail, here is my script if that helps:
>
>  
>  #!/usr/local/bin/ksh
>  #set -x
>  SENDMAIL=/usr/sbin/sendmail
>  MAIL=/usr/bin/mail
>  HOSTNAME=/bin/hostname
>
>  MYHOSTNAME=`$HOSTNAME -s`
>
>  echo $* | $MAIL -s "UPS Alert from $MYHOSTNAME"
> [EMAIL PROTECTED]
>
>  
>
>  -Derek
>

I was previously pointing it at the provided upssched process which is
supposed to handle timers and such and fire off upsshed-cmd which is a
provided shell script that I had modified.  This is the 'documented'
way of doing it and gives the extra benefit of being able to add
timers so if the power goes out for 3 seconds, I won't be notified.
Using your script directly did work for lost/gained power events so I
guess I can go that route.  I won't be able to do timers or anything,
but I will at least be notified when the power goes out.  I'll be
checking the safe power down this weekend.  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nut and RAID on FreeBSD 7.0

2008-01-10 Thread Derrick Ryalls
On Jan 10, 2008 3:52 PM, Kurt Buff <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2008 3:14 PM, Bob Johnson <[EMAIL PROTECTED]> wrote:
> > On 1/10/08, Derrick Ryalls <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Perhaps I need to re-evaluate my line of thinking.  Light sometime
> > > flicker, but power almost never goes out.  When it does it is either
> > > back on in less than 1 minute, or out for hours.  If the UPS detects
> > > critical correctly and gives me at least a minute before death, then
> > > that should be plenty of time for the system to auto-shutdown.  Guess
> > > I will have to do some experimentation tonight.
> >
> > While you experiment, keep in mind the following sequence of events:
> >
> > -- Power fails
> > -- UPS signals low battery
> > -- System shuts down
> > -- Power returns before UPS shuts itself down
> > --> System never reboots, because it never lost power.
> >
> > Getting around this is the tricky part. I haven't used NUT in about
> > seven years, but back then the recommendation was to shut down to
> > single user mode and run a script that delayed for some time longer
> > than the remaining battery life of the UPS, then rebooted the system.
> > There didn't seem to be an easy hook for running a script after
> > shutting down to single user mode (maybe there is now).
> >
> > I haven't looked at NUT recently, but I expect the various flags that
> > you are supposed to test are another way around this problem.
>

Trying to test out the scripts, I ran into a road block.  I see that
upsmon is working and detecting the events I wanted to detect from
these sorts of entries in /var/log/messages:

Jan 10 23:28:57 frodo upsmon[80983]: UPS [EMAIL PROTECTED] on line power

Plus a similar message for going to battery power.  However, the
notify executable is having issues and is dumping dozens of lines like
this in /var/log/messages:

Jan 10 23:28:09 frodo kernel: pid 81029 (upssched), uid 1005: exited
on signal 11
Jan 10 23:28:09 frodo kernel: pid 81031 (upssched), uid 1005: exited
on signal 11
Jan 10 23:28:10 frodo kernel: pid 81032 (upssched), uid 1005: exited
on signal 11
Jan 10 23:28:10 frodo kernel: pid 81033 (upssched), uid 1005: exited
on signal 11
Jan 10 23:28:11 frodo kernel: pid 81034 (upssched), uid 1005: exited
on signal 11
Jan 10 23:28:11 frodo kernel: pid 81035 (upssched), uid 1005: exited
on signal 11

I tried giving the user the user in question (nutmon) a shell of
/bin/sh instead of /sbin/nologin but that didn't help.  Any clues on
how to fix this?  Executing upssched from the command line it tells me
not to execute directly (similar to what the man page states), and
manually executing the upsched-cmd shell script does work and the
script itself uses full paths for commands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nut and RAID on FreeBSD 7.0

2008-01-10 Thread Derrick Ryalls
> >
>  > Greetings,
>  >
>  >  I have a RAID fileserver plugged into a UPS and nut is able to
>  >  communicate with it successfully.  With the winds making the lights
>  >  flicker, I started looking into having the computer shut down when
>  >  power goes out for more than say 5 minutes or so.  Looking at the
>  >  documentation, I found that the 'true' solution is more like the
>  >  system goes into a safe state when the battery gets low, then the ups
>  >  eventually dies.  When power is restored, the UPS and computer are
>  >  supposed to both come back to life.  This would be a great system to
>  >  have in place, but it does sound a bit risky and so may not be worth
>  >  doing just to save my home fileserver.
>  >
>  >  The instructions and the conf file have the shutdown command of
>  >  'shutdown -h +0' which will halt the system.  The man page for halt
>  >  says the the disk cache will be flushed, but doesn't mention anything
>  >  about going to read-only or anything.  I suppose my first question is
>  >  whether or not flushing the cache is sufficient to save the RAID (5)
>  >  array, or if I need to find a way to get the file systems into read
>  >  only mode?
>  >
>  >  The second question has to do with a rc.d script that nut recommends
>  >  creating.  The script does a 'upsdrvctl shutdown' and then a sleep
>  >  120, basically waiting for the machine to die while in the script.
>  >  Won't this block the other rc.d scripts?  Also, is this the magic part
>  >  that enables the machine to auto power up when power is restored?
>  >
>  >  Changing the shutdown command in nut to 'shutdown -p +0' looks like
>  >  the sure fire way to get the system down clean before the power is
>  >  lost, but if my concerns are not valid, then I could be missing out on
>  >  some nice functionality for no reason.
>  >
>  >  Does anyone have experience with this?
>  >  I have my servers all using nut to safely shutdown.  My configuration is
>  > the servers are set up with one as master for nut, that master connected
> to
>  > the UPS.  The other servers are slaves and get their nut information from
>  > the master.
>  >
>  >  My setup has the servers wait until the UPS is on low battery, then they
>  > all shutdown.
>  >
>  >  As a separate part of the setup, the servers are set in their BIOS to
> power
>  > on, after a power failure.  This is in the BIOS power setup.
>  >
>  >  So if there is a minor power problem, the servers run from battery.  In
> a
>  > larger power outage, they are shutdown cleanly once the battery level is
>  > low, and power up automatically once power is restored.
>  >
>  >  In my upsmon.conf file I have this:
>  >  SHUTDOWNCMD "/sbin/shutdown -h +0"
>  >
>  >  If you want more specifics, I can look through the configuration files
> and
>  > email you relevant settings.
>  >
>
>  After doing more reading, I am confident that a shutdown -h would be
>  sufficient, but am a bit concern on the order of operations.  The nut
>  documentation has a recommendation to add a kill script as such:
>
>
>  #!/bin/sh
>
>  if [ "$1" == "stop" ]
>  then
>
>  if [ -f /etc/killpower ]
>  then
>  echo "Killing the power, bye!"
> /usr/local/libexec/nut/upsdrvctl shutdown
>
>  sleep 120
>  fi
>  fi
>
>  
>
>  Even if I name this zz_killpower.sh to make it run last, depending on
>  how long it takes FreeBSD to flush the cash after all rc.d scripts are
>  run, I could end up doing a dirty power down, right?  Without this, if
>  the power does come back while before the battery finally dies, the
>  system won't restart since the power was never fully interrupted at
>  the computer side?
>  You are reading the old documentation.  The current nut, 2.2, has complete
> rc scripts that are installed in /usr/local/etc/rc.d
>
>  You need only define the flag file you want to use in upsmon.conf
>
>  Also define what actions you want in that file as well.  You need to use
> the sample files installed in /usr/local/etc/nut and be sure to read the
> comments.
>

I have 2.2 installed and am using the existing scripts.  In the
comments in uspmon.conf, there is this part:

# --
# POWERDOWNFLAG - Flag file for forcing UPS shutdown on the master system
#
# upsmon will create a file with this name in master mode when it's time
# to shut down the load.  You should check for this file's existence in
# your shutdown scripts and run 'upsdrvctl shutdown' if it exists.
#
# See the shutdown.txt file in the docs subdirectory for more information.

POWERDOWNFLAG /etc/killpower

Which in the related documentation means I need the custom shutdown
script mentioned above which checks for the existence of the
/etc/killpower file before doing the upsdrvctl shutdown command to
kill the UPS before the battery is completely dead.  I suppose in your
situation you won't need this extra script as you r

Re: Nut and RAID on FreeBSD 7.0

2008-01-10 Thread Derrick Ryalls
>
> Greetings,
>
>  I have a RAID fileserver plugged into a UPS and nut is able to
>  communicate with it successfully.  With the winds making the lights
>  flicker, I started looking into having the computer shut down when
>  power goes out for more than say 5 minutes or so.  Looking at the
>  documentation, I found that the 'true' solution is more like the
>  system goes into a safe state when the battery gets low, then the ups
>  eventually dies.  When power is restored, the UPS and computer are
>  supposed to both come back to life.  This would be a great system to
>  have in place, but it does sound a bit risky and so may not be worth
>  doing just to save my home fileserver.
>
>  The instructions and the conf file have the shutdown command of
>  'shutdown -h +0' which will halt the system.  The man page for halt
>  says the the disk cache will be flushed, but doesn't mention anything
>  about going to read-only or anything.  I suppose my first question is
>  whether or not flushing the cache is sufficient to save the RAID (5)
>  array, or if I need to find a way to get the file systems into read
>  only mode?
>
>  The second question has to do with a rc.d script that nut recommends
>  creating.  The script does a 'upsdrvctl shutdown' and then a sleep
>  120, basically waiting for the machine to die while in the script.
>  Won't this block the other rc.d scripts?  Also, is this the magic part
>  that enables the machine to auto power up when power is restored?
>
>  Changing the shutdown command in nut to 'shutdown -p +0' looks like
>  the sure fire way to get the system down clean before the power is
>  lost, but if my concerns are not valid, then I could be missing out on
>  some nice functionality for no reason.
>
>  Does anyone have experience with this?
>  I have my servers all using nut to safely shutdown.  My configuration is
> the servers are set up with one as master for nut, that master connected to
> the UPS.  The other servers are slaves and get their nut information from
> the master.
>
>  My setup has the servers wait until the UPS is on low battery, then they
> all shutdown.
>
>  As a separate part of the setup, the servers are set in their BIOS to power
> on, after a power failure.  This is in the BIOS power setup.
>
>  So if there is a minor power problem, the servers run from battery.  In a
> larger power outage, they are shutdown cleanly once the battery level is
> low, and power up automatically once power is restored.
>
>  In my upsmon.conf file I have this:
>  SHUTDOWNCMD "/sbin/shutdown -h +0"
>
>  If you want more specifics, I can look through the configuration files and
> email you relevant settings.
>

After doing more reading, I am confident that a shutdown -h would be
sufficient, but am a bit concern on the order of operations.  The nut
documentation has a recommendation to add a kill script as such:


#!/bin/sh

if [ "$1" == "stop" ]
then

if [ -f /etc/killpower ]
then
echo "Killing the power, bye!"
   /usr/local/libexec/nut/upsdrvctl shutdown

sleep 120
fi
fi



Even if I name this zz_killpower.sh to make it run last, depending on
how long it takes FreeBSD to flush the cash after all rc.d scripts are
run, I could end up doing a dirty power down, right?  Without this, if
the power does come back while before the battery finally dies, the
system won't restart since the power was never fully interrupted at
the computer side?

>  As far as my experiences using nut with RAID and different setups if the
> shutdown command works from a command line, it will work the same from nut.
>
>  I would also suggest you test your setup.  Pull the plug on your UPS and
> watch what happens.

I absolutely will do a full test as such before I put full faith in
the setup, but I want to first minimize the chance of me destroying
the file system during the test.

>
>  Also you should employ other monitoring systems and scripts, should a
> system not reboot correctly, you do want to know that quickly.
>
>  -Derek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Nut and RAID on FreeBSD 7.0

2008-01-09 Thread Derrick Ryalls
Greetings,

I have a RAID fileserver plugged into a UPS and nut is able to
communicate with it successfully.  With the winds making the lights
flicker, I started looking into having the computer shut down when
power goes out for more than say 5 minutes or so.  Looking at the
documentation, I found that the 'true' solution is more like the
system goes into a safe state when the battery gets low, then the ups
eventually dies.  When power is restored, the UPS and computer are
supposed to both come back to life.  This would be a great system to
have in place, but it does sound a bit risky and so may not be worth
doing just to save my home fileserver.

The instructions and the conf file have the shutdown command of
'shutdown -h +0' which will halt the system.  The man page for halt
says the the disk cache will be flushed, but doesn't mention anything
about going to read-only or anything.  I suppose my first question is
whether or not flushing the cache is sufficient to save the RAID (5)
array, or if I need to find a way to get the file systems into read
only mode?

The second question has to do with a rc.d script that nut recommends
creating.  The script does a 'upsdrvctl shutdown' and then a sleep
120, basically waiting for the machine to die while in the script.
Won't this block the other rc.d scripts?  Also, is this the magic part
that enables the machine to auto power up when power is restored?

Changing the shutdown command in nut to 'shutdown -p +0' looks like
the sure fire way to get the system down clean before the power is
lost, but if my concerns are not valid, then I could be missing out on
some nice functionality for no reason.

Does anyone have experience with this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SATA DVD Drive Install Problem

2008-01-09 Thread Derrick Ryalls
On Jan 9, 2008 3:08 PM, Sean Murphy <[EMAIL PROTECTED]> wrote:
> Is anyone successful in installing FreeBSD from a SATA DVD Drive?
>

Did it last month with a machine that has only SATA (DVD and
SATA-RAID), so it is possible at least on 7.0.

> I am having trouble as it boots from the CD of 6.3 RC2 but at the
> beginning of the install it fails.  The CD I then tried in another
> computer and it installs fine.  I was wondering if it was the SATA DVD
> drive or the motherboard.
>
> Thanks
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anyone know of complete hardware solution IDE Raid Controllers?

2008-01-09 Thread Derrick Ryalls
On Jan 9, 2008 2:42 PM, Brett Davidson <[EMAIL PROTECTED]> wrote:
> Years ago Accusys made IDE Raid Controllers that presented themselves as
> one drive in the BIOS, making themselves completely OS agnostic.
> Anything like that out there anymore?
>

3ware 9650SE-4LPML PCI Express Lanes, currently just over $300 at newegg

That is what I have in my fileserver and it works beautifully.  Even
has support for easy checking raid status periodically.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: amd64 HP SA6i RAID5 no boot

2007-11-30 Thread Derrick Ryalls
> 
>  7-Beta3 vanilla install from CD, I let sysinstall do "automatic"
>  partitions and slices, then stops at "F1 FreeBSD" prompt and beeps.
>  Obviously it cannot find anything to boot from.
> 
>  System is a SA6i RAID5-array with 6x300GB disks. Possibly I need to
>  enter drive geometry manually but have no idea where to get that
>  info from, perhaps somebody knows where to look?
> >>>
> >>> i386 does not boot either - same
> >>> A RAID1+0 array with 4x36GB disks boots fine both amd64 and i386.
> >>
> >> Right. If I create two slices, one 50G and one 1.3T and use the first
> >> for /, /var etc. then the system will boot.
> >>
> >> I would assume from the above that I could perhaps use some other
> >> utility to create a big single slice.
>
> > Is the 2TB max implied here still true?
> >
> > http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095504.html
>
> Could be but I have *less* than 2TB...
> ___

I have a RAID-5 setup with 3 - 750GB drives.  I was able to install,
though I did get a couple of warnings in the setup screen about bad
geometry (that I did nothing about).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ls -l takes a forever to finish.

2007-11-29 Thread Derrick Ryalls
>
> it is for sure.
>
> the fix would be
>
> mv /usr/home /usr/oldhome;mkdir /usr/home;mv /usr/oldhome/* /usr/home
>
> and after successfull move - rm -rf /usr/home

I really hope you meant: rm -rf /usr/oldhome

Also, mv just moves pointers around, wouldn't a cp -Rp be needed instead?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cups web browser access...

2007-11-15 Thread Derrick Ryalls
On 11/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>   Dear Sirs
>
>
>   I use FreeBSD-6.1-R amd64 and I installed cups. When I type in
> "http://localhost:631"; I got the message "server not found".
> Suggestions...
> ___

Going from memory...

Check to see if cupsd is running:

#ps auxww| grep cupsd

if something other than 'grep cupsd' is listed, I don't know why you
can't access the site.  If nothing comes back:

Start the cupsd daemon:

#/usr/local/etc/rc.d/cupsd.sh start

(Might be a bit off, can't recall)

You might need to modify /etc/rc.conf first:

#echo "cupsd_enable="YES" >> /etc/rc.conf

The above script to start cups should tell you want variable you need
in rc.conf to get cupsd working.

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


Re: Problem with PHP cli core dumping (SOLVED)

2007-09-25 Thread Derrick

On Wed, 26 Sep 2007, Mel wrote:


On Tuesday 25 September 2007 18:50:39 Derrick wrote:

On Tue, 25 Sep 2007, Eric wrote:

Derrick wrote:

so it's sessions.so
I've tried rebuilding it, but still has the same issue.


PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 15 2007 12:57:59)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
  with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by
eAccelerator
  with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project

heres how my file looks

extension=zip.so
extension=fileinfo.so
extension=suhosin.so
extension=pdf.so
extension=bz2.so
extension=ctype.so
extension=pcre.so
extension=simplexml.so
extension=spl.so
extension=dom.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=iconv.so
extension=imap.so
extension=ldap.so
extension=mbstring.so
extension=mcrypt.so
extension=mhash.so
extension=mysql.so
extension=openssl.so
extension=session.so
extension=pspell.so
extension=sockets.so
extension=xml.so
extension=zlib.so
extension=pdo.so
extension=sqlite.so


mine:
extension=json.so
extension=filter.so
extension=imagick.so
extension=hash.so
extension=tokenizer.so
extension=simplexml.so
extension=posix.so
extension=mbstring.so
extension=ctype.so
extension=xmlwriter.so
extension=openssl.so
extension=zlib.so
extension=iconv.so
extension=mhash.so
extension=pdo.so
extension=imap.so
extension=ftp.so
extension=pdo_sqlite.so
extension=gettext.so
extension=spl.so
extension=dom.so
extension=xmlreader.so

HERE

extension=mysql.so
extension=sqlite.so
extension=gd.so
extension=pcre.so
extension=xml.so
extension=session.so


Move session to indicated spot, then try php -v again. If it still coredumps,
move above spl. If it still coredumps, move it up one spot and rerun, till it
stops coredumping.

The bug is in the general extension destructor and changing the order till it
works is the only remedy.



Thanks to all those that input some output.

I moved extension=session.so to the start of the file after trying the 
first couple suggestions, and all is working now..


Thank you.

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


Re: Problem with PHP cli core dumping

2007-09-25 Thread Derrick

On Tue, 25 Sep 2007, Maxim Khitrov wrote:


On 9/25/07, Derrick <[EMAIL PROTECTED]> wrote:

6.2 release (waiting till I can reboot the machine and will update to
RELENG - nobody in the office yet)

all ports are updated to current.

php -v
PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 24 2007 18:31:21)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Segmentation fault (core dumped)

I get that core dump everytime; I'm not sure where to go with this.


Do you have APC installed? That might do this. Are you running PHP in
a jail? I suggest you comment out all installed extensions from
extensions.ini, then enable them one by one.


APC = pear-APC ?

No, no jail.

It's sessions.so, and I've rebuilt all of php and extenstions from 
scratch, still the same problem.

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


Re: Problem with PHP cli core dumping

2007-09-25 Thread Derrick

On Tue, 25 Sep 2007, Eric wrote:


Derrick wrote:


so it's sessions.so
I've tried rebuilding it, but still has the same issue.

PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 15 2007 12:57:59)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
  with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by 
eAccelerator

  with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project

heres how my file looks

extension=zip.so
extension=fileinfo.so
extension=suhosin.so
extension=pdf.so
extension=bz2.so
extension=ctype.so
extension=pcre.so
extension=simplexml.so
extension=spl.so
extension=dom.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=iconv.so
extension=imap.so
extension=ldap.so
extension=mbstring.so
extension=mcrypt.so
extension=mhash.so
extension=mysql.so
extension=openssl.so
extension=session.so
extension=pspell.so
extension=sockets.so
extension=xml.so
extension=zlib.so
extension=pdo.so
extension=sqlite.so



mine:
extension=json.so
extension=filter.so
extension=imagick.so
extension=hash.so
extension=tokenizer.so
extension=simplexml.so
extension=posix.so
extension=mbstring.so
extension=ctype.so
extension=xmlwriter.so
extension=openssl.so
extension=zlib.so
extension=iconv.so
extension=mhash.so
extension=pdo.so
extension=imap.so
extension=ftp.so
extension=pdo_sqlite.so
extension=gettext.so
extension=spl.so
extension=dom.so
extension=xmlreader.so
extension=mysql.so
extension=sqlite.so
extension=gd.so
extension=pcre.so
extension=xml.so
extension=session.so


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


Re: Problem with PHP cli core dumping

2007-09-25 Thread Derrick

On Tue, 25 Sep 2007, Eric wrote:


Derrick wrote:
6.2 release (waiting till I can reboot the machine and will update to 
RELENG - nobody in the office yet)


all ports are updated to current.

php -v
PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 24 2007 18:31:21)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Segmentation fault (core dumped)

I get that core dump everytime; I'm not sure where to go with this.


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


Start playing with the order of extensions in your extensions.ini file, which 
is located at /usr/local/etc/php


thats usually what does this.



so it's sessions.so
I've tried rebuilding it, but still has the same issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with PHP cli core dumping

2007-09-25 Thread Derrick
6.2 release (waiting till I can reboot the machine and will update to 
RELENG - nobody in the office yet)


all ports are updated to current.

php -v
PHP 5.2.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 24 2007 18:31:21)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Segmentation fault (core dumped)

I get that core dump everytime; I'm not sure where to go with this.


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


Problem with Pear-Auth

2007-09-21 Thread Derrick

On FreeBSD 6.2
php-5.2.4


make install clean
===>  Installing for pear-Auth-1.5.4
===>   pear-Auth-1.5.4 depends on file: /usr/local/share/pear/PEAR.php - 
found

===>   pear-Auth-1.5.4 depends on executable: pear - found
===>   Generating packing list
===>   Generating temporary packing list
===>  Checking if security/pear-Auth already installed
===> Installing documentation in /usr/local/share/doc/pear/Auth.
===> Installing tests in /usr/local/share/pear/tests/Auth.
===> Installing examples in /usr/local/share/examples/pear/Auth.
pear/Auth can optionally use package "pear/Log" (version >= 1.9.10)
pear/Auth can optionally use package "pear/File_Passwd" (version >= 1.1.0)
pear/Auth can optionally use package "pear/Net_POP3" (version >= 1.3.0)
pear/Auth can optionally use package "pear/DB" (version >= 1.6.0)
pear/Auth can optionally use package "pear/MDB"
pear/Auth can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
pear/Auth can optionally use package "pear/Auth_RADIUS"
pear/Auth can optionally use package "pear/Crypt_CHAP" (version >= 1.0.0)
pear/Auth can optionally use package "pear/File_SMBPasswd" (version >= 
1.0.0)

pear/Auth can optionally use package "pear/HTTP_Client" (version >= 1.1.0)
pear/Auth can optionally use package "pear/SOAP" (version >= 0.9.0)
pear/Auth can optionally use package "pecl/vpopmail" (version >= 0.2)
pear/Auth can optionally use package "pecl/kadm5" (version >= 0.2.3)
pear/Auth can optionally use PHP extension "saprfc"
pear/Auth can optionally use PHP extension "soap"
install ok: channel://pear.php.net/Auth-1.5.4
Segmentation fault (core dumped)
*** Error code 139

It seems to be less with Pear-Auth, but I'm not sure where to go with 
this.


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


Re: QEMU and tap problems

2007-09-20 Thread Derrick Ryalls
On 9/20/07, Doug Poland <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've been following the various instructions I've found on the web in an
> attempt to get tap networking with qemu-devel-0.9.0s.20070802 and
> kqemu-kmod-1.3.0.p11_2 on 6.2-STABLE.
>
> qemu was compiled with:
>_OPTIONS_READ=qemu-devel-0.9.0s.20070802
>WITH_KQEMU=true
>WITHOUT_HACKS_CIRRUS=true
>WITHOUT_RTL8139_TIMER=true
>WITHOUT_SAMBA=true
>WITH_SDL=true
>WITH_CDROM_DMA=true
>
> The kernel modules are loaded:
>if_tap, bridge, aio, kqemu
>
> The sysctls are changed:
>sysctl net.link.ether.bridge_cfg=ath0,tap0
>sysctl net.link.ether.bridge.enable=1
>
> The tap device exists:
>crw---  1 root  wheel0, 134 Sep 19 22:42 /dev/tap0
>
>tap0: flags=8843 mtu 1500
> inet 0.0.0.0 netmask 0xff00 broadcast 0.255.255.255
> ether 00:bd:01:3c:01:00
> Opened by PID 1317
>
> The qemu-ifup script exists:
>cat /etc/qemu-ifup
>  #!/bin/sh
>  ifconfig ${1} 0.0.0.0
>
> I launch qemu like this:
>qemu -m 512 -localtime -hda VMs/w2k3.img -net nic -net tap
>
>
> Windows Server 2003 comes up.  If I attempt to use DHCP to configure the
> interface in W2K3, I get a several minute pause while it attempts to
> contact a DHCP server, finally it fails with the message:
>"This connection has limited or no connectivity"
> and windows assigns itself the 169.254.244.101 address.
>
> If I try to manually configure the windows interface, i.e.,
>IP: 172.16.1.15
>NM: 255.255.255.0
>DG: 172.16.1.1
>NS: 172.16.1.17
>NS: 172.16.1.21
>
> Windows thinks it has connectivity, but I cannot ping the default
> gateway from the guest and I cannot ping the IP of the guest from the
> host.
>
> So at this point, I have no networking from the guest OS.  About the
> only thing that I haven't seen on the web is people using wireless NICs
> in the host.  In my case, I have an atheros chipset connected via WPA2
> to my WAP.
>
> All help is appreciated...
>

I just got tap working with an earlier build of qemu using clues from this site:

http://forums.bsdnexus.com/viewtopic.php?id=1563

Also, I can only get it working when I run it with sudo at the moment
and I have only tried with a wired nic.  I have read in some places
that encryption causes problems with tap, but I don't have a link to
where I read it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Desktop rebuild

2007-04-30 Thread Derrick Ryalls

On 4/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

On 27/04/07, Derrick Ryalls <[EMAIL PROTECTED]> wrote:
> I have a laptop that I am currently updating world to the latest from
> the v6 branch, once that is done I want to completely start fresh with
> the GUI.  Right now I have gnome in a mostly working state, a mostly
> out of date KDE and a bunch of other random crud I have installed over
> the last 16 months or so.  Instead of trying to use portupgrade and
> have it fail out/fix/restart, I was thinking life would be easier if I
> just removed anything graphical and start that from scratch.  This way
> all my settings/data remain intact and I can just do a pkg install the
> new stuff.
>
> Is anyone aware of a quick/safe way of blowing away nearly all
> installed apps as such to start from near scratch.  I do use bash and
> probably a couple other non-GUI installs, so I didn't necessarily want
> to kill _all_ installed ports/pkgs but I might be willing to do that
> if needed.
>
> Any thought on the best way to approach this?

The best method I have come up with is to first
gather a list of leaf packages with ports-mgmt/portmaster:
$ portmaster -l

and then (assuming you have ports-mgmt/portupgrade
installed):
$ pkg_deinstall -r 
or
$ pkg_delete -r 

ports-mgmt/pkg_cutleaves is a bit overly thorough
(and underly[1] conservative) for my tastes, but may
be more your style.

This shouldn't delete anything required by the stuff
you want to keep and should clean out most of the
kipple.  Multiple runs are suggested and deleting
root packages (as listed under portmaster -l) most
likely won't harm anything (though some of them
may be reinstalled when you upgrade).

pkg_deinstall has the advantage of being able to issue
$ pkg_deinstall -Rr kde*
, which will delete anything requiring kde and required by
kde (at least that is not required by some other package),
and the disadvantage of requiring that both perl and ruby
be installed.



I ended up just creating a new user with a /bin/sh shell, doing a
pkg_delete -a and reinstalling the apps.  I was very impressed with
how quickly pkg_add -r xorg and such (from the handbook) ran and got
me back to a working desktop.  Just need to selectively add any app I
really want reinstalled now.  Though I did run into an issue with
portupgrade and needed to delete its database, per the entry in
UPDATING.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Desktop rebuild

2007-04-27 Thread Derrick Ryalls

I have a laptop that I am currently updating world to the latest from
the v6 branch, once that is done I want to completely start fresh with
the GUI.  Right now I have gnome in a mostly working state, a mostly
out of date KDE and a bunch of other random crud I have installed over
the last 16 months or so.  Instead of trying to use portupgrade and
have it fail out/fix/restart, I was thinking life would be easier if I
just removed anything graphical and start that from scratch.  This way
all my settings/data remain intact and I can just do a pkg install the
new stuff.

Is anyone aware of a quick/safe way of blowing away nearly all
installed apps as such to start from near scratch.  I do use bash and
probably a couple other non-GUI installs, so I didn't necessarily want
to kill _all_ installed ports/pkgs but I might be willing to do that
if needed.

Any thought on the best way to approach this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SpamAssassin and the nonexistent home directory.

2007-02-21 Thread Derrick
On Wed, 21 Feb 2007, Kevin Kinsey wrote:

> Derrick wrote:
> > I'm confused as to why on box #1 I have in /etc/rc.conf:
> >
> > spamd_enable="YES"
> > spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"
> >
> > And spamd is writing to /var/spool/spamd/.spamassassin
> >
> > on box #2 and #3, I have the exact same settings yet I see:
> >
> > /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
> > Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
> > file failed: locker: safe_lock: cannot create tmp lockfile
> >
> > /nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
> > /nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
> > Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
> > tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
> > /nonexistent/.spamassassin/bayes.lock: No such file or directory
>
> Well, first I'd check that /var/spool/spamd does exist on both boxes.
> Probably then I would try `id` and `finger` perhaps, on the spamd user,
> and hope that the output might give me a clue.


Ya they are all identical in those regards.

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


SpamAssassin and the nonexistent home directory.

2007-02-21 Thread Derrick
I'm confused as to why on box #1 I have in /etc/rc.conf:

spamd_enable="YES"
spamd_flags="-c -u spamd -H /var/spool/spamd -m 10"

And spamd is writing to /var/spool/spamd/.spamassassin

on box #2 and #3, I have the exact same settings yet I see:

/nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
Feb 21 00:06:44 mail spamd[39002]: auto-whitelist: open of auto-whitelist
file failed: locker: safe_lock: cannot create tmp lockfile

/nonexistent/.spamassassin/auto-whitelist.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/auto-whitelist.lock : No such file or directory
Feb 21 00:06:44 mail spamd[39002]: bayes: locker: safe_lock: cannot create
tmp lockfile /nonexistent/.spamassassin/bayes.lock.xxx.xxx.xxx.39002 for
/nonexistent/.spamassassin/bayes.lock: No such file or directory



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


Sound Card Problem

2007-01-13 Thread Derrick Edwards
All,
I upgraded to the lastest version of RELENG_6 and now my onboard sound does 
not work. It worked on earlier versions of RELENG_6(3 Months Ago). Did 
something change that I should be aware of. I rebuilt system again just to 
verify. I am using an SOYO SY-P4I 845PE motherboard. It does not seem to see 
it now. Please help and thanks for your assistance.

v/r
Derrick

FreeBSD 6.2-PRERELEASE #0: Sat Jan 13 15:35:05 EST 2007

focus# pciconf -lv
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x25608086 chip=0x25608086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x25618086 rev=0x02 
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE Brookdale Host to AGP Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x24c28086 chip=0x24c28086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x24c28086 chip=0x24c48086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x24c28086 chip=0x24c78086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x24cd8086 chip=0x24cd8086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:30:0:class=0x060400 card=0x chip=0x244e8086 
rev=0x82 hdr=0x01
vendor   = 'Intel Corporation'
device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub 
Interface to PCI Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:31:0:class=0x060100 card=0x chip=0x24c08086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:31:1:  class=0x01018a card=0x24c28086 chip=0x24cb8086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x24c28086 chip=0x24c38086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
class= serial bus
subclass = SMBus
[EMAIL PROTECTED]:1:0:   class=0x03 card=0x chip=0x032210de 
rev=0xa1 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'GeForce FX 5200 [NV34.3]'
class= display
subclass = VGA
[EMAIL PROTECTED]:6:0:   class=0x010400 card=0x00011103 chip=0x00071103 
rev=0x01 hdr=0x00
vendor   = 'HighPoint Technologies Inc'
device   = 'HPT371/N UDMA/ATA133 EIDE Controller'
class= mass storage
subclass = RAID
[EMAIL PROTECTED]:7:0:   class=0x02 card=0x82120291 chip=0x91021282 
rev=0x40 
hdr=0x00
vendor   = 'Davicom Semiconductor Inc.'
device   = 'DM9102/A/AF Dell 4300S - CNET Pro200WL Ethernet Adapter'
class= network
subclass = ethernet
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nvidia Problems

2007-01-08 Thread Derrick Edwards
On Sunday 07 January 2007 16:21, [EMAIL PROTECTED] wrote:
I am using 6_STABLE(FreeBSD 6.2-PRERELEASE). I created another 
xorg.conf 
adding your suggested option. Below is what I get from /var/log/Xorg.0.log.

 (II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1600x1050"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mod
e
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 800 x 600
(WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
(WW) NVIDIA(0): from DFP-0's EDID.
(==) NVIDIA(0): DPI set to (75, 75); computed from built-in default

xorg.conf snippet:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
Option "UseEDID" "FALSE"
DefaultDepth24
SubSection "Display"
Depth   24
Modes  "1600x1050" "1280x1024" "1024x768"
EndSubSection
EndSection




> I know of a few EDID issues with the current nvidia driver. are you 
> using freebsd-7-CURRENT?
>
> Try adding Option "UseEDID" "FALSE" to the Screen section in your X
> configuration file. Hopefully future NVIDIA X driver versions should do
> a better job of detecting invalid EDIDs. Let me know if that solves the
> issues.
>
> -nawcom
>
> On Sunday 07 January 2007 12:34, Garrett Cooper wrote:
> > > Derrick Edwards wrote:
> >> > >Hi,
> >> > > I cant seem to get my new nvidia card to dispaly the correct
> >> > > resolution. Looking at /var/log/Xorg.0.log I see these entries. My
> >> > > max resolution is "1600x1050" but it is not letting me use it.
> >> > >
> >> > > (WW) NVIDIA(0): No valid modes for "1600x1050"; removing.
> >> > > (WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
> >> > > (II) NVIDIA(0): Validated modes:
> >> > > (II) NVIDIA(0): "1024x768"
> >> > > (II) NVIDIA(0): "800x600"
> >> > > (II) NVIDIA(0): "640x480"
> >> > > (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
> >> > >
> >> > > I configured Xorg using nvidia-settings.
> >> > >
> >> > > Section "ServerLayout"
> >> > > Identifier "Layout0"
> >> > > Screen  0  "Screen0" 0 0
> >> > > InputDevice"Keyboard0" "CoreKeyboard"
> >> > > InputDevice"Mouse0" "CorePointer"
> >> > > EndSection
> >> > >
> >> > > Section "Files"
> >> > > RgbPath "/usr/X11R6/lib/X11/rgb"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/misc/:unscaled"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/misc/"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/Type1/"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/100dpi/"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/75dpi/"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/cyrillic/"
> >> > > FontPath"/usr/X11R6/lib/X11/fonts/TTF/"
> >> > > EndSection
> >> > >
> >> > > Section "Module"
> >> > > Load   "dbe"
> >> > > Load   "extmod"
> >> > > Load   "type1"
> >> > > Load   "freetype"
> >> > > Load   "glx"
> >> > > EndSection
> >> > >
> >> > > Section "InputDevice"
> >> > >
> >> > > # generated from default
> >> > > Identifier "Mouse0"
> >> > > Driver "mouse"
> >> > > Option &

Re: Nvidia Problems

2007-01-07 Thread Derrick Edwards
On Sunday 07 January 2007 12:34, Garrett Cooper wrote:
> Derrick Edwards wrote:
> > Hi,
> > I cant seem to get my new nvidia card to dispaly the correct resolution.
> > Looking at /var/log/Xorg.0.log I see these entries. My max resolution
> > is "1600x1050" but it is not letting me use it.
> >
> > (WW) NVIDIA(0): No valid modes for "1600x1050"; removing.
> > (WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
> > (II) NVIDIA(0): Validated modes:
> > (II) NVIDIA(0): "1024x768"
> > (II) NVIDIA(0): "800x600"
> > (II) NVIDIA(0): "640x480"
> > (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
> >
> > I configured Xorg using nvidia-settings.
> >
> > Section "ServerLayout"
> > Identifier "Layout0"
> > Screen  0  "Screen0" 0 0
> > InputDevice"Keyboard0" "CoreKeyboard"
> > InputDevice"Mouse0" "CorePointer"
> > EndSection
> >
> > Section "Files"
> > RgbPath "/usr/X11R6/lib/X11/rgb"
> > FontPath"/usr/X11R6/lib/X11/fonts/misc/:unscaled"
> > FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> > FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> > FontPath"/usr/X11R6/lib/X11/fonts/misc/"
> > FontPath"/usr/X11R6/lib/X11/fonts/Type1/"
> > FontPath"/usr/X11R6/lib/X11/fonts/100dpi/"
> > FontPath"/usr/X11R6/lib/X11/fonts/75dpi/"
> > FontPath"/usr/X11R6/lib/X11/fonts/cyrillic/"
> > FontPath"/usr/X11R6/lib/X11/fonts/TTF/"
> > EndSection
> >
> > Section "Module"
> > Load   "dbe"
> > Load   "extmod"
> > Load   "type1"
> > Load   "freetype"
> > Load   "glx"
> > EndSection
> >
> > Section "InputDevice"
> >
> > # generated from default
> > Identifier "Mouse0"
> > Driver "mouse"
> > Option "Protocol" "auto"
> > Option "Device" "/dev/sysmouse"
> > Option "Emulate3Buttons" "no"
> > Option "ZAxisMapping" "4 5"
> > EndSection
> >
> > Section "InputDevice"
> >
> > # generated from default
> > Identifier "Keyboard0"
> > Driver     "keyboard"
> > EndSection
> >
> > Section "Monitor"
> > Identifier "Monitor0"
> > VendorName "Unknown"
> > ModelName  "Unknown"
> > HorizSync   30.0 - 110.0
> > VertRefresh 50.0 - 150.0
> > Option "DPMS"
> > EndSection
> >
> > Section "Device"
> > Identifier "Device0"
> > Driver "nvidia"
> > VendorName "NVIDIA Corporation"
> > EndSection
> >
> > Section "Screen"
> > Identifier "Screen0"
> > Device "Device0"
> > Monitor"Monitor0"
> > DefaultDepth24
> > SubSection "Display"
> > Depth   24
> > Modes  "1600x1050" "1280x1024" "1024x768" "800x600" "640x480"
> > EndSubSection
> > EndSection
> >
> > Please help
> > Thanks Derrick
>
> Monitor horizontal and vertical sync set correctly?
>
> That seems the only viable explanation other than your card doesn't
> support that resolution.
>
> -Garrett
> _
Thanks for the reply. My card supports up to 1600x1200 and the freqs 
are 
correct.

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


Nvidia Problems

2007-01-07 Thread Derrick Edwards
Hi,
I cant seem to get my new nvidia card to dispaly the correct resolution. 
Looking at /var/log/Xorg.0.log I see these entries. My max resolution 
is "1600x1050" but it is not letting me use it. 

(WW) NVIDIA(0): No valid modes for "1600x1050"; removing.
(WW) NVIDIA(0): No valid modes for "1280x1024"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "1024x768"
(II) NVIDIA(0): "800x600"
(II) NVIDIA(0): "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768

I configured Xorg using nvidia-settings.

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath"/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/misc/"
FontPath"/usr/X11R6/lib/X11/fonts/Type1/"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath"/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath"/usr/X11R6/lib/X11/fonts/TTF/"
EndSection

Section "Module"
Load   "dbe"
Load   "extmod"
Load   "type1"
Load   "freetype"
Load   "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Unknown"
HorizSync   30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
SubSection "Display"
Depth   24
Modes  "1600x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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


Is there a solution for 550 User Unknown mails

2007-01-03 Thread Derrick Ryalls

This is perhaps off topic, but all machines in question are running FreeBSD  :)

Every day I get dozens of failed email notifications in the form of:

UNDELIVERABLE MAIL Your message to the following recipients cannot be
delivered: <[EMAIL PROTECTED]>: webmail.hansenet.de
[213.191.73.2]:

   RCPT TO:<[EMAIL PROTECTED]>

<<< 550 RCPT TO:<[EMAIL PROTECTED]> User unknown

This user Unknown message is due to my server rejecting a mail to my
domain (my domain is not alicedsl.de) for an Unknown user.  Doing some
reading, it appears that in a perfect system where there is only 1
email server per domain, I won't recieve these messages since during
the whole email conversation I will tell the person talking to me that
I don't know of that account and no extra email is generated.

With secondary mail servers, I am accepting mail for other domains,
and then forwarding them on.  It is my belief that acting as a
secondary mail server is what is causing me to receive all these
errors.  What I believe is happening is that for whatever reason the
spammer is talking to my email server for a domain I am secondary on.
I accept the mail and finish the conversation.  I then talk to the
main email host to let them know of the email I got for them.  The
master host responds with 550 User Unknown as it should.  Being the
good little secondary email server I am, I try to respond to the
sender that they got the wrong address, which turns out to be fake.

Assuming that my guessing is correct, is there any way to stop this
flood of reject emails short of not being a secondary server for
anyone?

If my guesses are incorrect, then what is actually going on and how do
I stop the flow?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DGE-530T nic not found on 5.5 - Possibly solved

2006-12-04 Thread Derrick Ryalls

On 12/4/06, Derrick Ryalls <[EMAIL PROTECTED]> wrote:

[Resending with more info]

Greetings, I have a fileserver I installed this nic on but the device
fails to show in ifconfig

uname:
5.5-STABLE FreeBSD 5.5-STABLE #2: Sun Oct 29 14:12:46 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO

Except from FRODO kernel file (generic plus some):

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence
over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x & SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


dmesg except:

pci0:  at device 6.0 (no driver attached)
vr0:  port 0xdc00-0xdcff mem
0xdfffbe00-0xdfffbeff
 irq 23 at device 18.0 on pci0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: xx:xx:xx:xx:xx:xx

The reference to vr0 are for the onboard nic that it is currently
running off of.

ifconfig lists vr0, plip0, lo0

===[frodo][root] ~ # pciconf -l
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x30991106 rev=0x00 
hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0991106 rev=0x00 
hdr=0x01
[EMAIL PROTECTED]:6:0: class=0x02 card=0x4b011186 chip=0x4b011186 rev=0x11 
hdr=0x00
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x76401462 chip=0x31041106
rev=0x82 hdr=0x00
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
rev=0x00 hdr=0x00
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x76401462 chip=0x05711106
rev=0x06 hdr=0x00
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
rev=0x74 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x03 card=0x000da0a0 chip=0x002d10de rev=0x15 
hdr=0x00



Doing some searching, someone posted this part of dmesg on a 5.4
PRERELEASE system:

skc0:  port 0x7400-0x74ff mem
0xfb80-0xfb803fff irq 18 at device 10.0 on pci2
skc0: (null) rev. (0x1)
sk0:  on skc0
sk0: Ethernet address: 00:0f:3d:f2:45:0c
miibus0:  on sk0
e1000phy0:  on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

I did check the hardware notes before buying this nic, and according
to http://www.freebsd.org/releases/5.5R/hardware-i386.html it is
supported.  Have I missed a switch somewhere?

Thanks in advance.

-Derrick



I found this in an archive:

http://www.freebsd.org/cgi/query-pr.cgi?pr=99903

I tried manually editing if_sk.c and if_skreg.h build/install kernel
(patch didn't work, possibly wrong version of file?), and then got
this in dmesg:

skc0:  port 0xec00-0xecff mem 0xdfffc000-0xdff
f irq 17 at device 6.0 on pci0
skc0: unknown media type: 0x31
device_attach: skc0 attach returned 6

So then I did some searching for 0x31 and found this:

http://www.bsdforums.org/forums/archive/index.php/t-43153.html

I added the lines for 0x31 and now the nic shows up in ifconfig.  I am
not home so I can't plug in a patch cord to see if it is fully
functional.

If this does work, how would I create a patch file?  I saved the
original files before editing.  I definitely don't want to claim
ownership of the work that went into this, I was just hoping to get it
into the 5.x tree so if I happen to CVSup, I don't need to redo this.
__

Fwd: DGE-530T nic not found on 5.5

2006-12-04 Thread Derrick Ryalls

[Resending with more info]

Greetings, I have a fileserver I installed this nic on but the device
fails to show in ifconfig

uname:
5.5-STABLE FreeBSD 5.5-STABLE #2: Sun Oct 29 14:12:46 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO

Except from FRODO kernel file (generic plus some):

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence
over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x & SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


dmesg except:

pci0:  at device 6.0 (no driver attached)
vr0:  port 0xdc00-0xdcff mem
0xdfffbe00-0xdfffbeff
irq 23 at device 18.0 on pci0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: xx:xx:xx:xx:xx:xx

The reference to vr0 are for the onboard nic that it is currently
running off of.

ifconfig lists vr0, plip0, lo0

===[frodo][root] ~ # pciconf -l
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x30991106 rev=0x00 
hdr=0x00
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0991106 rev=0x00 
hdr=0x01
[EMAIL PROTECTED]:6:0: class=0x02 card=0x4b011186 chip=0x4b011186 rev=0x11 
hdr=0x00
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x76401462 chip=0x30381106
rev=0x80 hdr=0x00
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x76401462 chip=0x31041106
rev=0x82 hdr=0x00
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
rev=0x00 hdr=0x00
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x76401462 chip=0x05711106
rev=0x06 hdr=0x00
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
rev=0x74 hdr=0x00
[EMAIL PROTECTED]:0:0: class=0x03 card=0x000da0a0 chip=0x002d10de rev=0x15 
hdr=0x00



Doing some searching, someone posted this part of dmesg on a 5.4
PRERELEASE system:

skc0:  port 0x7400-0x74ff mem
0xfb80-0xfb803fff irq 18 at device 10.0 on pci2
skc0: (null) rev. (0x1)
sk0:  on skc0
sk0: Ethernet address: 00:0f:3d:f2:45:0c
miibus0:  on sk0
e1000phy0:  on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

I did check the hardware notes before buying this nic, and according
to http://www.freebsd.org/releases/5.5R/hardware-i386.html it is
supported.  Have I missed a switch somewhere?

Thanks in advance.

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


Re: VoIP behind NAT and FreeBSD

2006-12-02 Thread Derrick Edwards
On Saturday 02 December 2006 09:22, Joe Holden wrote:
> Kurt Dethier wrote:
> > Marwan Sultan wrote:
> >> Hello All,
> >>
> >>  Well, maybe the subject says all,
> >>  Im running 6.1R acting as NAT, gateway ofcourse, hotspot.
> >>  I have many clients trying to use Vonage, motorola, VoIP devices and
> >>  and few more products.
> >>
> >>  The problem is as its described in some websites..
> >>  They can call, receive a call, hear the dailtone but no one can hear
> >> the other party.
> >>
> >>   After researching i found out there is a problem iusing FreeBSD NAT
> >> with voip protocols.
> >>
> >>   i have been advised to use STUN servers, (Simple Traversal of UDP
> >> through NATs.)
> >>   I found out there is net/stund port and its installed successufly!
> >>   but still lost.
> >>
> >>   Can someone kindly and please shade a light on howto
> >>   make voip behind NAT works in my FreeBSD ? im in trouble because of
> >> this.
> >
> > Hi Marwan,
> > STUN will only work if you have the correct NAT implementation on
> > your gateway. If you are using pf, you get what the STUN RFC calls
> > a symmetric NAT. STUN will not help you in such an implementation.
> > I'm not sure how the other NAT solutions on FreeBSD are implemented.
> >
> > If you need a solution for a symmetric NAT, you need something that
> > understands the signaling protocol and can add fw/nat rules on demand
> > on your gateway, or a media proxy (like TURN).
> >
> > Kurt
>
> It is entirely possible to use voip behnd symmetric nat, but it also
> entirely depends on the setup, some more details will help.
>
> Ta,
> Joe

Hi, 
I am not sure of your setup either, but I have Vongae working behind a FreeBSD 
Firewall/Router using PF with NAT. 

Vonage Traffic viewed via PFTOP.

udpOut 172.16.1.1:10000  69.59.242.83:1   MULTIPLE:MULTIPLE
2688m48  18146  9967K

udpOut 172.16.1.1:10112  69.59.243.178:12044  MULTIPLE:MULTIPLE 
  
6133   3382 674816

udpOut 172.16.1.1:10113  69.59.243.178:12045SINGLE:NO_TRAFFIC   
  
56 2 14   2348

v/r
Derrick



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


RE: degraded RAID performance after OS upgrade, and drives added.

2006-11-30 Thread Derrick MacPherson
That seems like a pretty crazy drop in performance, more than one would expect. 
The machine is busy but not busy enough to warrant this.. Imo.. Is there a way 
to test to confirm?

-Original Message-
From: "Chuck Swiger" <[EMAIL PROTECTED]>
To: "Derrick MacPherson" <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: 11/30/06 10:39
Subject: Re: degraded RAID performance after OS upgrade, and drives added.

On Nov 29, 2006, at 6:18 PM, Derrick MacPherson wrote:
> We updated to 6.1 this weekend and added 3 300gb drives to the  
> external raid cabinet, they were to go on a seprate controller but  
> the server happens to have a few other boxes on top making it  
> impossible at that time, so we put the 3x300  (RAID5) , upgraded  
> the OS and  performance is very poor. When I run systat I see  
> upward of 300 tps on the problematic array (da2) and under systat - 
> vmstat :

It's normal for RAID-5 to perform worse than a single drive-- and  
sometimes it performs much worse, as in nearly an order of magnitude  
slower, for the case of very small writes.  If you value performance,  
choose another RAID level like RAID-0, RAID-1, or RAID-10.

-- 
-Chuck


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


degraded RAID performance after OS upgrade, and drives added.

2006-11-29 Thread Derrick MacPherson
We updated to 6.1 this weekend and added 3 300gb drives to the  
external raid cabinet, they were to go on a seprate controller but  
the server happens to have a few other boxes on top making it  
impossible at that time, so we put the 3x300  (RAID5) , upgraded the  
OS and  performance is very poor. When I run systat I see upward of  
300 tps on the problematic array (da2) and under systat -vmstat :


Disks   da0   da1   da2 pass0 pass1 pass2
KB/t 0.00  0.00 15.00  0.00  0.00  0.00
tps   0  0  341 0 0 0
MB/s   0.00  0.00  4.99  0.00  0.00  0.00
% busy0 095 0 0 0

the busy percentage is consistenly over 90% sometimes over 100%. I'm  
not sure where to go next with providing info for someone to look at  
or testing to run..


camcontrol devlist
 at scbus0 target 0 lun 0 (da0,pass0)
 at scbus0 target 1 lun 0 (da1,pass1)
 at scbus0 target 2 lun 0 (da2,pass2)

out of dmesg:

ciss0:  port 0x3000-0x30ff mem  
0xf05c-0xf05f,0xf04f-0xf04f3fff irq 30 at device 3.0 on

pci1
ciss0: [GIANT-LOCKED]


da0 at ciss0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 140006MB (286734240 512 byte sectors: 255H 32S/T 35139C)
da1 at ciss0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-0 device
da1: 135.168MB/s transfers
da1: 140006MB (286734240 512 byte sectors: 255H 32S/T 35139C)
da2 at ciss0 bus 0 target 2 lun 0
da2:  Fixed Direct Access SCSI-0 device
da2: 135.168MB/s transfers
da2: 572195MB (1171856412 512 byte sectors: 255H 63S/T 65535C)



dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD 6.1-RELEASE-p10 #0: Sat Nov 25 15:52:17 PST 2006
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2786.87-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
   
Features=0xbfebfbff,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

  Features2=0x4400>
  Logical CPUs per core: 2
real memory  = 2147459072 (2047 MB)
avail memory = 2096439296 (1999 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  6
cpu3 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
ioapic3  irqs 48-63 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  on acpi0
pci0:  on pcib0
pci0:  at device 3.0 (no driver attached)
pci0:  at device 4.0 (no driver attached)
pci0:  at device 4.2 (no driver attached)
isab0:  at device 15.0 on pci0
isa0:  on isab0
atapci0:  port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0

ata0:  on atapci0
ata1:  on atapci0
ohci0:  mem 0xeeef-0xeeef0fff irq  
7 at device 15.2 on pci0

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1:  on acpi0
pci1:  on pcib1
ciss0:  port 0x3000-0x30ff mem  
0xf05c-0xf05f,0xf04f-0xf04f3fff irq 30 at device 3.0 on pci1

ciss0: [GIANT-LOCKED]
pcib2:  on acpi0
pci2:  on pcib2
bge0:  mem  
0xf06f-0xf06f irq 29 at device 1.0 on pci2

miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto

bge0: Ethernet address: 00:11:0a:9e:2f:49
bge1:  mem  
0xf06e-0xf06e irq 31 at device 2.0 on pci2

miibus1:  on bge1
brgphy1:  on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto

bge1: Ethernet address: 00:11:0a:9e:2f:48
pcib3:  on acpi0
pci3:  on pcib3
pcib4:  on acpi0
pci6:  on pcib4
pci6:  at device 30.0 (no  
driver attached)

acpi_tz0:  on acpi0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
sio0:  port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
fdc0:  port 0x3f2-0x3f5 irq 6 drq 2 on  
acpi0

fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xcbfff, 
0xcc000-0xcd7ff,0xee000-0xe on isa0

ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be 

DGE-530T nic not found on 5.5

2006-11-27 Thread Derrick Ryalls

Greetings, I have a fileserver I installed this nic on but the device
fails to show in ifconfig

uname:
5.5-STABLE FreeBSD 5.5-STABLE #2: Sun Oct 29 14:12:46 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRODO

Except from FRODO kernel file (generic plus some):

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  bfe # Broadcom BCM440x 10/100 Ethernet
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  dc  # DEC/Intel 21143 and various workalikes
device  fxp # Intel EtherExpress PRO/100B (82557, 82558)
device  lge # Level 1 LXT1001 gigabit ethernet
device  nge # NatSemi DP83820 gigabit ethernet
device  pcn # AMD Am79C97x PCI 10/100 (precedence
over 'lnc')
device  re  # RealTek 8139C+/8169/8169S/8110S
device  rl  # RealTek 8129/8139
device  sf  # Adaptec AIC-6915 (``Starfire'')
device  sis # Silicon Integrated Systems SiS 900/SiS 7016
device  sk  # SysKonnect SK-984x & SK-982x gigabit Ethernet
device  ste # Sundance ST201 (D-Link DFE-550TX)
device  ti  # Alteon Networks Tigon I/II gigabit Ethernet
device  tl  # Texas Instruments ThunderLAN
device  tx  # SMC EtherPower II (83c170 ``EPIC'')
device  vge # VIA VT612x gigabit ethernet
device  vr  # VIA Rhine, Rhine II
device  wb  # Winbond W89C840F
device  xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')


dmesg except:

pci0:  at device 6.0 (no driver attached)
vr0:  port 0xdc00-0xdcff mem
0xdfffbe00-0xdfffbeff
irq 23 at device 18.0 on pci0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: xx:xx:xx:xx:xx:xx

The reference to vr0 are for the onboard nic that it is currently
running off of.

ifconfig lists vr0, plip0, lo0

Doing some searching, someone posted this part of dmesg on a 5.4
PRERELEASE system:

skc0:  port 0x7400-0x74ff mem
0xfb80-0xfb803fff irq 18 at device 10.0 on pci2
skc0: (null) rev. (0x1)
sk0:  on skc0
sk0: Ethernet address: 00:0f:3d:f2:45:0c
miibus0:  on sk0
e1000phy0:  on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

I did check the hardware notes before buying this nic, and according
to http://www.freebsd.org/releases/5.5R/hardware-i386.html it is
supported.  Have I missed a switch somewhere?

Thanks in advance.

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


Re: php 5.2.0... go boom!

2006-11-08 Thread Derrick Edwards
On Wednesday 08 November 2006 07:41, Riemer Palstra wrote:

> On Wed, Nov 08, 2006 at 01:07:31PM +0300, Andrew Pantyukhin wrote:
> > I have yet to see a problem. So far, so good.
>
> I haven't had any problems with PHP 5.2.0 and its own modules, I only
> can't get pecl-PDO (1.0.3) to build against it. It even seems to be a
> bit faster than 5.1.6, but I haven't fully benchmarked it yet.
Same here.. PHP5.2.0 works great here!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to Print from WIN XP to Samba

2006-10-29 Thread Derrick Edwards
On Sunday 29 October 2006 12:12, Jeremy Gransden wrote:
> On Sun, 2006-10-29 at 12:36 -0400, Derrick Edwards wrote:
> >I downloaded the Windows Driver for the printer (rw2_021_w02_enu.exe), and
> > printed fine from the XP box so I know that the driver is there and
> > works.
> >
> >When prompted for path of driver, I browse and select the executlable
> > (rw2_021_w02_enu.exe) however, it onlys wants the .inf file.
> >
> >I dont know that .inf file that XP wants. Can someone help me out on this.
> > Thanks in advance.
>
> Hi derrick,
>
> When you ran the .exe for the windows driver, It would have copied
> the .inf to the local hd. That .exe is probably just an archive, like a
> tar or a .zip. It seems to me that it should have created a HP directory
> off of c:\. but i am not sure on that.  You could re-run the installer
> and see where it is putting the .inf file.
>
> thanks,
> jeremy
I searched the HP directory where the files are stored and found several .inf 
files but none worked... 
v/r
Derrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to Print from WIN XP to Samba

2006-10-29 Thread Derrick Edwards
Hi, 
I am having problems setting up windows XP Pro to print to SAMBA Print Server. 
I have an HP PSC 2210, using the HPLIP CUPS driver.  I am printing fine from 
the FreeBSD box that it is attached to. I can browse to the printer however, 
once I connect to it, it says that the correct driver is not provided. I 
downloaded the Windows Driver for the printer (rw2_021_w02_enu.exe), and 
printed fine from the XP box so I know that the driver is there and works.  
When prompted for path of driver, I browse and select the executlable 
(rw2_021_w02_enu.exe) however, it onlys wants the .inf file. I dont know that 
.inf file that XP wants. Can someone help me out on this. Thanks in advance.
v/r
Derrick

snip smb.conf

# Global parameters
[global]

netbios name = WORKHORSE
server string = focus
security = share
log file = /var/log/samba/log.%m
max log size = 50
dns proxy = no
ldap ssl = No
#guest account = clamav
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
server signing = Auto
guest account = cyrus
printcap name = cups
disable spoolss = yes
show add printer wizard = no
acl compatibility = winnt

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
use client driver = yes
guest account =
printer name = HP_PSC_2200_Series_USB_MY2BLF50W60G_HPLIP
guest ok = yes

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


Re: Flash player 9 Beta is Live

2006-10-22 Thread Derrick Edwards
On Thursday 19 October 2006 13:34, Mark Kane wrote:
> On Thu, Oct 19, 2006, at 13:08:50 -0400, Jerry McAllister wrote:
> > On Thu, Oct 19, 2006 at 06:32:14PM +0300, Dimiter Ivanov wrote:
> > > http://blogs.adobe.com/penguin.swf/2006/10/beta_is_live.html
> > >
> > > I have downloaded the stand alone player and it works out of the
> > > box. Anyone having expirience with the browser plugin ?
> > >
> > > I'm using 6.1 Release and KDE 3.5.4
> >
> > OK.   That sounds promising.
> >
> > But, is this limited to KDE or how about plain Firefox running
> > on plain ole FreeBSD 6.1 with a fairly plain Windows manager?
> > Does it requite the Lunix compatibility stuff?
>
> Yes, the plugin would need the Linux compatibility and a Linux binary
> browser (such as linux-firefox or linux-opera).
>
> I tried the standalone version yesterday on FreeBSD 6.2-PRERELEASE
> [amd64] and I couldn't get the standalone version to play anything (it
> would just not do anything when opening files -- just sits at the
> white background of the window). I did try the Linux browser plugin
> along with linux-opera and it worked somewhat.
>
> It played the visual elements of Flash OK, however there is no sound
> since they're using ALSA for the sound in version 9. I also noticed
> that after playing Flash content, the area where the content was
> would turn a solid grey color and it seemed to lock the browser up a
> bit. If I closed out of that tab it seemed to be OK.
>
> Normally I have Flash disabled for all but a couple sites since it uses
> up tons of RAM and really slows down the browser after use (version 7
> at least), so I unloaded 9 and went back to 7 for now where sound at
> least works.
>
> Hopefully Adobe will add in alternate sound support methods so other
> platforms besides Linux can have sound like in version 7, and of course
> I hope they release a native FreeBSD binary sometime too so we can use
> native browsers.
>
> -Mark
  I am not able to get this to work. I downloaded, unpacked, changed the 
permissions of the flash player and executed it.  All I get is the adobe 
flashplayer dialog box. I tried to input an URL in the dialog box and it does 
nothing.
Any help would be appreciated... Also can this be used inside of kde konqueor?
v/r
Derrick 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: minimum requirements

2006-10-10 Thread Derrick Ryalls

On 10/9/06, Eric Schuele <[EMAIL PROTECTED]> wrote:

On 10/09/06 12:00, free bsd wrote:
> Thank you everyone for responding to my initial question.
>
>   In hindsight I realize I worded my original inquiry inaccurately.  What I 
am attempting to determine is how well or if ver 6.1 will work on a 4GB hard drive 
with a Pentium 4 - 3.06GHz cpu and 1GB ram?  The machine has a 232GB hard drive 
but I have another 4GB drive sitting around being unused that I was thinking of 
adding to the machine to configure in a dual boot setup with the 4GB drive being 
totally allocated to FreeBSD.

Well, as everyone has stated... It depends on what you are doing with
the machine.

I have a 512MB USB device running 5.3-RELEASE, Xorg, Fluxbox, nessus,
nmap, firefox, and a few other tidbits (no ports tree).  Its darn slow
off USB, but it works.  So yeah, 4GB is sufficient... for some amount of
functionality.

If *I* wanted to use a machine, say for a desktop, I'd want no less than
20GB.  I have a 20GB disk for a machine, yet I ran out of space while
trying to set it up the way I wanted.  I had most things setup, then
tried to compile OO.  I fell back to the package though.

Either way, everyones point is... It depends.  But I think most would
say to have a truly useful Desktop, 4GB is a bit slim.  My vote... 20GB+

HTH.

>
>   However, before attempting that task I am trying to determine whether or 
not it would be even feasible to use a 4GB drive to install v 6.1 or should I use 
a larger drive to install the many of FreeBSD's features?  And if a larger drive 
how large of a drive would I need to utilize many or any of its features without 
limiting myself to a bare bones setup?  Additionally, if the 4GB drive will work 
how limited would the install/capabilities/features be?
>
>   I am not at all opposed to using a larger drive but at the present time do 
not have a clue as to what size drive I should use for the most flexibility 
regarding type of installation options.
>
>   -art
>
>


I didn't see it mentioned (may have missed it), I just wanted to point
out one thing.  There is a bit of a speed difference between a 4gig
drive and a 200gig drive.  If you are using a 3gig CPU, it would be a
shame to have such a huge bottleneck with the hard drive.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mail server relaying spam, but how?

2006-09-19 Thread Derrick Ryalls

The problem is over and the machines in question have been rebuilt
from scratch, but I am still curious as to how it could have happened.

Many weeks ago I noticed that I my mail server was dealing with about
4x the amount of mail it normally does.  After much digging I was able
to trace it back to my brother's machine (different network, different
location) who happens to be my secondary DNS.  I mention the DNS part
since most of the spam being sent to my system was addressed to
domains I host.  In any case, the machine sending me all the spam was
not his mail server, but his router.

Since his actual mail server lives within his network, all port 25
traffic should have been diverted to his internal machine, so it
doesn't seem likely to have been a normal open relay issue.  His
router had qmail installed on it, and was running FreeBSD 4.5, but
aside from the huge amount of mail coming out of it I didn't see any
abnormal activity on the machine.

So the question becomes, how does a router with port 25/993 directed
to the internal network start relaying gobs of spam and why is all (?)
mail directed at my domains in particular?  I didn't see any new
accounts on the machine, nor any strange processes.  As soon as I shut
down all of qmail's processes the problem went away.

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


Re: freebsd-specific postfix antispam howto

2006-08-29 Thread Derrick Edwards
On Monday 28 August 2006 22:16, Dave wrote:
I> Hello,
> Does anyone have any information on this? I've googled and have found a
> lot of information for Linux and even an OpenBSD howto, but i am looking
> for something freebsd-specific, preferably fbsd6. I'm having issues getting
> all the services, amavisd-new configured/starting up properly and would
> like to read someone's all-integrated freebsd-specific solution if any, to
> get an idea as to what i'm doing wrong?
> Thanks.
> Dave.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
Dave,
http://www.postfix.org/docs.html has a bunch of how to and examples. It is 
what I used. If additional problems/questions, let me know.
v/r
Derrick 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which version of Flash to use

2006-08-24 Thread Derrick Ryalls

On 8/24/06, Gerard Seibert <[EMAIL PROTECTED]> wrote:

FreeBSD 6.1 STABLE

Using 'Firefox 1.5.0.6,1' is there any version of flash that I can
install that will work with it. I cannot seem to get anyone  of them to
work with it when running from with KDE. It makes it rather difficult to
watch any video's on Google or the other streaming video services.





From an little while back:


http://tinyurl.com/gxzof

It worked for me on 6.1 on Gnome, hopefully it'll work for you too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Needing a guide/tutorial please

2006-08-18 Thread Derrick Edwards
On Friday 18 August 2006 05:59, Helge Preuss wrote:
> >  Looking for a guide online somewhere that will walk me through
> > setting up a mail server with the following items on it.
> >
> > SpamAssassin
> > Postfix (pop3 and smtp setup)
> > MySQL (for database driven mail user administration)
> > MyPHPAdmin (to visually admin the database)
> > Squirrelmail (for webmail)
> > Apache (for squirrelmail)
> > Dovecot Imap (for squirrelmail)
> > Postfix Admin <- this is the reason for the need to have a mysql driven
> > mail user database.  It's apparently required for this to work.  Plus
> > database driven user management tends to be easier.  Of course, if you
> > know
> > of a better way to graphically admin mail users without using a database,
> > I'm all ears.  :)
> > And lastly, some kind of web based server admin page that's similar to
> > webmin, but more secure.
>
> Here is a guide for Gentoo Linux that addresses most, if not all of your
> requirements:
> http://www.gentoo.org/doc/en/virt-mail-howto.xml
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Hi, 
I dont think what you propose is over the top at all. I have all these 
elements running now. Using (http://www.postfix.org/docs.html), you can 
pretty much get everything running from there. In addition to the programs 
you already stated I would recommend using amavisd-new 
(http://www.ijs.si/software/amavisd). With that you get SpamAssassin and 
Primary/Secondary antivirus protection. Also, make sure you use TLS to secure 
your webmail traffic. If you have any questions let me know. Really, it is 
quite easy to get this stuff and running. I never used webmin, but apache 
maintenace should be minimal.
r/
Derrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Binding NICs

2006-08-16 Thread Derrick T. Woolworth

Is there currently any way to bind three network interfaces to a single IP
address?  With our NetApp (yeah, I realize its a whole different animal, but
still), we can use the vif interface or virtual interface to increase
bandwidth to the device.  I've looked at carp and bridging and I don't think
these are going to do what I'm wanting - just wondering if there's some
command I'm not familiar with to bind network interfaces so they
load-balance...

Thanks,

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


Sendmail FreeBSD 5.3 Issue

2006-08-09 Thread Derrick Schimcek
I have a machine that I have installed bind and
sendmail from the ports collection it is a mail
gateway.

When I do a nslookup from the box when it first boots
up I do an nslookup on the host name
mail2.memorialcare.org
It returns the correct ip address. But when I send an
email through sendmail on the box that sends to
memorialcare.org through mail2.memorialcare.org I get
this error
Jun 27 06:26:29 rdc-mailgw02 sm-mta[623]:
k5RBPtCM000608: [EMAIL PROTECTED],
delay=00:00:05, xdelay=00:00:00, mailer=esmtp,
pri=30005, relay=mail2.memorialcare.org., dsn=5.1.2,
stat=Host unknown (Name server:
mail2.memorialcare.org.: host not found)

And then if I do an nslookup from the box after that I
get a ** server can't find mail2.memorialcare.org:
NXDOMAIN

Has anyone ever seen anything like this?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: squid with antivirus

2006-08-05 Thread Derrick Edwards
On Saturday 05 August 2006 17:18, Imran Imtiaz wrote:


> I have a router for an internal LAN, i use squid for HTTP and FTP proxy
> cache and I want to setup an antivirus so when somebody download a file
> from the internet, the antivirus will scan the file and block it with an
> error message if the file is infected.
>
> I want to ask which is the best software for this ?
>
> Regards,
> Imran
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
Hi,
You may want to check out dansguardian-devel, 
(/usr/ports/www/dansguardian-devel). Supports several antivirus programs.

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


Re: any audio wizards know howto store *.smil files?

2006-07-26 Thread Derrick Ryalls

On 7/26/06, RW <[EMAIL PROTECTED]> wrote:

On Wednesday 26 July 2006 01:31, Gary Kline wrote:
>   Rats. Here's what happened whn I added the two switches to mplayer.
>   Anybody know why the streamm bmbed out??
>...
> Connecting to server real.npr.org[63.236.6.227]:80 ...
> Cache size set to 8192 KBytes
> Connected to server: real.npr.org
> Cache fill:  7.03% (589824 bytes)Stream EOF detected
> Cache fill:  7.08% (593920 bytes)REAL file format detected.
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-realaudio
> Core dumped ;)
>
> Exiting... (End of file)


In my experience it always does that when a stream has an ending - it doesn't
mean it's failed.

I see it when recording from the BBC's "listen again" which streams individual
programs, but not on the continuous live-streams.


For streams the redirect before playing, mplayer's playlist option as
been rather helpful in the past.  Basically, use the original url as
the playlist, then provide the dumpstream parameters and it will
automatically read the redirect.  Doesn't always work, but sometimes
does.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: a good www/picture management port?

2006-07-24 Thread Derrick Ryalls

On 7/22/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

anyone know of good picture management application that can be found within
ports, to manage and organize pics that i upload?

right now, my management system is to:
1) open my folder on my local KDE workstation.  create image gallery using the
built in tool.
2) upload the entire folder under a master folder on my web host.

im not looking for sometnig that i can try to complete with imageshack or
anything, but if there is something out there that can help me out with the
thumbnailing and organization of the tons of pics im accumulating these days,
i would appreciate anyones input.

thanks a bunch,
jonathan
___


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


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:

Derrick Ryalls wrote:
> On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:
>> Derrick Ryalls wrote:
>> > On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:
>> >> I just dropped a SoundBlaster Live! card into my box, and have
>> followed
>> >> the directions in the handbook and the man pages.
>> >>
>> >> The following lines are in the compiled kernel:
>> >> device sound
>> >> device snd_emu10k1
>> >>
>> >> I don't get the pcm0 lines that section 7.2.2 in the manual talks
>> >> about.  cat /dev/sndstat returns:
>> >> FreeBSD Audio Driver (newpcm)
>> >> Installed devices:
>> >> and nothing else.
>> >>
>> >> kldload snd_emu10k1 yields no output whatsoever.  When followed by
>> cat
>> >> /dev/sndstat it produces the same outputs as above.
>> >>
>> >> kld_load snd_driver yields:
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0x20
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >> ppc0: parallel port not found.
>> >> sio1: configured irq 3 not in bitmap of probed irqs 0
>> >> sio1: port may not be enabled
>> >>
>> >> I recompiled with the sound and emu10k1 drivers commented out, and
>> the
>> >> kldload and cat /dev/sndstat commands still yield the same.
>> >>
>> >> I need to get sound enabled on this box, so I can do some online
>> >> training provided through streaming video.  Please, please, please
>> tell
>> >> me I don't have to break down and install wankers on this thing ...
>> >>
>> >
>> > I would try this:
>> >
>> > kldload snd_driver
>> >
>> > then cat /dev/sndstat to see if perhaps a different driver is needed.
>> I tried that.  That's what got me all the ppc0 and sio1 errors.
>>
>>
>
> Sorry, missed that.  Record heat around here.  My only other
> suggestion would involve a different sound card or possibly try a live
> O/S disk to see if the hardware is good.
Where/how do I obtain one of those?  All I have are the install discs 1
and 2 that I downloaded the iso images for, and all I can get from those
is an "emergency holographic shell" that can't even find the ls command,
let alone kldload ...



I was referring to something Knoppix like (Freesbie?) so you can see
if a different version of the O/S helps.  I wouldn't know how to
diagnose sound issues in anything linux based though.  Can you drop
the card in a Windows box temporarily to see if it works there?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:

Derrick Ryalls wrote:
> On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:
>> I just dropped a SoundBlaster Live! card into my box, and have followed
>> the directions in the handbook and the man pages.
>>
>> The following lines are in the compiled kernel:
>> device sound
>> device snd_emu10k1
>>
>> I don't get the pcm0 lines that section 7.2.2 in the manual talks
>> about.  cat /dev/sndstat returns:
>> FreeBSD Audio Driver (newpcm)
>> Installed devices:
>> and nothing else.
>>
>> kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
>> /dev/sndstat it produces the same outputs as above.
>>
>> kld_load snd_driver yields:
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0x20
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> ppc0: parallel port not found.
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>>
>> I recompiled with the sound and emu10k1 drivers commented out, and the
>> kldload and cat /dev/sndstat commands still yield the same.
>>
>> I need to get sound enabled on this box, so I can do some online
>> training provided through streaming video.  Please, please, please tell
>> me I don't have to break down and install wankers on this thing ...
>>
>
> I would try this:
>
> kldload snd_driver
>
> then cat /dev/sndstat to see if perhaps a different driver is needed.
I tried that.  That's what got me all the ppc0 and sio1 errors.




Sorry, missed that.  Record heat around here.  My only other
suggestion would involve a different sound card or possibly try a live
O/S disk to see if the hardware is good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski <[EMAIL PROTECTED]> wrote:

I just dropped a SoundBlaster Live! card into my box, and have followed
the directions in the handbook and the man pages.

The following lines are in the compiled kernel:
device sound
device snd_emu10k1

I don't get the pcm0 lines that section 7.2.2 in the manual talks
about.  cat /dev/sndstat returns:
FreeBSD Audio Driver (newpcm)
Installed devices:
and nothing else.

kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
/dev/sndstat it produces the same outputs as above.

kld_load snd_driver yields:
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0x20
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

I recompiled with the sound and emu10k1 drivers commented out, and the
kldload and cat /dev/sndstat commands still yield the same.

I need to get sound enabled on this box, so I can do some online
training provided through streaming video.  Please, please, please tell
me I don't have to break down and install wankers on this thing ...



I would try this:

kldload snd_driver

then cat /dev/sndstat to see if perhaps a different driver is needed.
Also, you shouldn't need to recompile, just add the driver line to
/boot/loader.conf as described in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freevo on FreeBSD?

2006-07-18 Thread Derrick Ryalls

I am not sure if this is a FreeBSD specific question or a freevo
question, but here it goes.  I was wondering if anyone has been able
to get freevo working on FreeBSD 6.1 with a pvr-250 card?

I have the card working and can do 'mplayer /dev/cxm0' to watch tv
(including sound), but I can't seem to get freevo to play live tv let
alone record anything.

I did install freevo and the pvr250 driver, I can change channels on
the device and watch tv outside of freevo.  This might be a simple
configuration issue with freevo, but since their list didn't seem to
include much FreeBSD specific traffic, I thought I might ask if anyone
here has tried it out lately.

I can post my config file, but didn't want to spam the list with the
huge file if no one else has tried out the port lately.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SATA300 Controllers

2006-07-05 Thread Derrick T. Woolworth

Hello all,

Sorry for cross-posting, but these issues seem relevant for lists...

Has anyone had success with SATA300 controllers with FreeBSD 6.1?  I've been
trying Promise and nVidia nForce4 and I'm not having any luck.  Using a MSI
K8NGM2-L motherboard and others, but 6.1's installation hangs as soon as it
sees ad4.  I've also tried using an Adaptec 1210SA controller and had zero
results.  I've read that the chipset on this controller is not very good -
forces serialized access to the controller's channels???  Nevertheless, I've
got a K8N Diamond motherboard on a workstation and I was able to at least
"start" the 6.1 installation.  I have no idea if its stable.  At this point,
I'd settle for just knowing "which" SATA300 controller to use that will work
successfully and "well" with FreeBSD 6.0 OR 6.1.  Another question, would I
have more success installing 6.0 and then upgrading the kernel and
recompiling with a build-world?

I'm currently trying to build a moderate large system with 4 presentation
servers, 2 database servers and one large storage system using NFS mapped to
~1.2 terrabyte of SATA disks (4x Maxtor 500GB 7200 RPM disks w/RAID5
config).  Any suggestions?

Thanks,

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


Re: firefox with flash and java!

2006-07-03 Thread Derrick Ryalls

 -- Original message --
From: Gerard Seibert <[EMAIL PROTECTED]>
> Bob Middaugh wrote:
>
> > fwiw, I've followed these instructions on a few boxes, all 6.1-RELEASE, and
> have had no problems:
> >
> > http://www.unixlike.com.br/?p=%2081
>
>
> Is that available in English?
>
>
> --
> Gerard Seibert
> [EMAIL PROTECTED]
>
>
I don't think so.  I can't read the language it's written in, but I just follow 
the commands and it works. :-)



As mentioned about, google does have a translation service, though the
link got chopped for me.  I believe it is portugese(sp), but here is
the tinyurl version:

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


Sendmail Bind FreeBSD 5.3 Issue

2006-07-03 Thread Derrick Schimcek
I have a machine that I have installed bind and
sendmail from the ports collection it is a mail
gateway.

 

When I do a nslookup from the box when it first boots
up I do an nslookup on the host name
mail2.memorialcare.org

It returns the correct ip address. But when I send an
email through sendmail on the box that sends to
memorialcare.org through mail2.memorialcare.org I get
this error

Jun 27 06:26:29 rdc-mailgw02 sm-mta[623]:
k5RBPtCM000608: [EMAIL PROTECTED],
delay=00:00:05, xdelay=00:00:00, mailer=esmtp,
pri=30005, relay=mail2.memorialcare.org., dsn=5.1.2,
stat=Host unknown (Name server:
mail2.memorialcare.org.: host not found)

 

And then if I do an nslookup from the box after that I
get a ** server can't find mail2.memorialcare.org:
NXDOMAIN

 

Has anyone ever seen anything like this?

 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iwi-firmware

2006-06-29 Thread Derrick Ryalls

> >> Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
> >> iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
> >> cannot connect.  I did some searching and some people recommend
> >> installing iwi-firmware-kmod.  When I try to do so, it is marked as
> >> ignored and is uninstallable.  Another suggestion is to use code in
> >> /usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
> >> on what to do with that code anyway.
> >>
> >> Does anyone know what I need to do to get this nic working again?
> >>
> >> #uname -a
> >> 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006
> >
> > Can you be more precise about what goes wrong?
> > 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html
> >
> > I also suspect that you would have better luck installing the ports if
> > you updated your ports tree.  But that's just a guess.
>
> Are you using iwi-firmware from ports? there seems to be a perfectly
> working driver,
>
>   # kldload if_iwi
>
> That's what people suggest you to compile from sys/dev/iwi, but it's
> also a loadable as kernel module. If it is not installed in
> /boot/kernel, then it will also be built with the normal kernel build
> proceedure.
>

Sorry for the lack of details.  Sleep deprivation and hardware
troubleshooting shouldn't be mixed.

Previously, I was using the iwi-firmware port rather successfully,
based on this webpage

http://damien.bergamini.free.fr/ipw/iwi-freebsd.html

At the moment, I do have the device listed under ifconfig iwi0 but I
cannot associate with my AP.  When I go to do a "iwicontrol -i iwi0 -d
/boot/firmware/if_iwi -m bss" I currently get an error message in the
/var/log/messages (sorry, can't access the machine to get the message)
but I think it was something about the device timing out.  Checking
the help files for the error messages states the the error message
should not happen.

When I did the searching, several posts mentioned that iwi-firmware
didn't work for them on 6.1 when it had on previous versions.  Later I
can update my ports to see if iwi-firmware-kmod now has the ignore
setting removed, but according to
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/iwi-firmware-kmod/ the
port hasn't been touched in about 2 months (unless I am reading
something wrong).

To sorta summarize, these are example steps that I used to take to get
on wireless:

iwicontrol -i iwi0 -d /boot/firmware/if_iwi -m bss
ifconfig iwi0 up
wpa_supplicant (args)
dhclient iwi0

But now, the first step fails.  The device is still present under
ifconfig though.

My world/kernel is only a couple weeks old, perhaps I cvsup'ed at
exactly the wrong time (during some commit)?



I cvsup'ed this morning, did a full builld world/kernel and
reinstalled iwi-firmware and the adapter can associate again.  I
haven't yet tried to acquire an ip since I am remote and don't want to
lose my connection, but I don't think there will be a problem there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iwi-firmware

2006-06-26 Thread Derrick Ryalls

Lowell Gilbert wrote:
> "Derrick Ryalls" <[EMAIL PROTECTED]> writes:
>
>> Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
>> iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
>> cannot connect.  I did some searching and some people recommend
>> installing iwi-firmware-kmod.  When I try to do so, it is marked as
>> ignored and is uninstallable.  Another suggestion is to use code in
>> /usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
>> on what to do with that code anyway.
>>
>> Does anyone know what I need to do to get this nic working again?
>>
>> #uname -a
>> 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006
>
> Can you be more precise about what goes wrong?
> 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html
>
> I also suspect that you would have better luck installing the ports if
> you updated your ports tree.  But that's just a guess.

Are you using iwi-firmware from ports? there seems to be a perfectly
working driver,

  # kldload if_iwi

That's what people suggest you to compile from sys/dev/iwi, but it's
also a loadable as kernel module. If it is not installed in
/boot/kernel, then it will also be built with the normal kernel build
proceedure.



Sorry for the lack of details.  Sleep deprivation and hardware
troubleshooting shouldn't be mixed.

Previously, I was using the iwi-firmware port rather successfully,
based on this webpage

http://damien.bergamini.free.fr/ipw/iwi-freebsd.html

At the moment, I do have the device listed under ifconfig iwi0 but I
cannot associate with my AP.  When I go to do a "iwicontrol -i iwi0 -d
/boot/firmware/if_iwi -m bss" I currently get an error message in the
/var/log/messages (sorry, can't access the machine to get the message)
but I think it was something about the device timing out.  Checking
the help files for the error messages states the the error message
should not happen.

When I did the searching, several posts mentioned that iwi-firmware
didn't work for them on 6.1 when it had on previous versions.  Later I
can update my ports to see if iwi-firmware-kmod now has the ignore
setting removed, but according to
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/iwi-firmware-kmod/ the
port hasn't been touched in about 2 months (unless I am reading
something wrong).

To sorta summarize, these are example steps that I used to take to get
on wireless:

iwicontrol -i iwi0 -d /boot/firmware/if_iwi -m bss
ifconfig iwi0 up
wpa_supplicant (args)
dhclient iwi0

But now, the first step fails.  The device is still present under
ifconfig though.

My world/kernel is only a couple weeks old, perhaps I cvsup'ed at
exactly the wrong time (during some commit)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


iwi-firmware

2006-06-25 Thread Derrick Ryalls

Greetings,

Prior to updating to 6.1, my Intel 2200 BG worked fairly well using
iwi-firmware and wpa_supplicant.  Now, the firmware fails to load so I
cannot connect.  I did some searching and some people recommend
installing iwi-firmware-kmod.  When I try to do so, it is marked as
ignored and is uninstallable.  Another suggestion is to use code in
/usr/src/sys/dev/iwi but I don't see a make file and I haven't a clue
on what to do with that code anyway.

Does anyone know what I need to do to get this nic working again?

#uname -a
6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Jun  7 03:18:16 PDT 2006

Thanks,

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


Re: Creating DVD Movies

2006-06-20 Thread Derrick Ryalls

On 6/20/06, Mark Kane <[EMAIL PROTECTED]> wrote:

On Tue, Jun 20, 2006, at 17:48:39 -0700, Derrick Ryalls wrote:
> Greetings,
>
> i was wondering if anyone had a good tool recommendation for creating
> DVD movies with FreeBSD.  Since I have a child growing up, it is
> appealing to me to make a copy of their favorite DVD and burn it so
> they can handle the copy, not the original (legal to make backup
> copies).  I also was thinking it could be handy to author my own dvds,
> but that might not be for a while.
>
> So far, I can use mplayer to get the DVD to an avi file, but I can't
> find anything to get it back onto a dvd.  I have tried dvdauthor, but
> the app kept crashing.  Does anyone have any suggestions for this?

Hi.

I don't normally back up DVDs so I'm not sure the best software to do
that. I did a quick ports search and "multimedia/lxdvdrip" looks nice,
and may do exactly what you want all in one program.

As for dvdauthor crashing, I would guess it's because you're not giving
it the right format for a DVD. AVI files can't go to DVD, you need to
convert it to MPEG-2 PS and the proper specifications. For this, I use
a GTK+ program called Avidemux2 (it's in multimedia/avidemux2), although
ffmpeg or mencoder should work also. Here are my steps for an AVI file
to DVD:

1) Avidemux to video "DVD". Set aspect ratios in "Configure" and set
"DVD Res" in the "Filters" area. If the audio is not already AC3 (check
from the A/V information button on the toolbar), set audio to "FFM
AC3". Set output format at bottom to "MPEG PS A+V". Save the video
"filename.mpg". This one is the longest step, the other two are quite a
bit shorter.

2) Take outputted mpeg file and run it through dvdauthor:

dvdauthor --video=ntsc+16:9+720xfull -t -f filename.mpg -o output

3) Burn the authored DVD with dvd+rw tools:

growisofs -dvd-video -Z /dev/cd0 output

For a simple backup though I'd check out lxdvdrip or search through
ports to see if there is a faster solution. I don't see much sense in
going from DVD to AVI then back to DVD when you can just rip directly
from the DVD and burn it back. I provided that info for when you
want to author your own videos though. :)

Hope that helps.

-Mark



You know, I did try dvdrip (forgot to mention it) but I found it to be
geared toward VCD and burning to a CD-R instead of DVDs.  I didn't
even see lxdvdrip.  The pkg-descr does look like it could be the exact
thing I am looking for and will try it out.

If I were to follow your steps about for a DVD copy, I assume VOB copy
or something similar to produce the mpeg would be substituted in step
1, correct?  Though this would not handle DVD9 to single DVD5
(compressed video), I might need to rethink that scenario...

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


Creating DVD Movies

2006-06-20 Thread Derrick Ryalls

Greetings,

i was wondering if anyone had a good tool recommendation for creating
DVD movies with FreeBSD.  Since I have a child growing up, it is
appealing to me to make a copy of their favorite DVD and burn it so
they can handle the copy, not the original (legal to make backup
copies).  I also was thinking it could be handy to author my own dvds,
but that might not be for a while.

So far, I can use mplayer to get the DVD to an avi file, but I can't
find anything to get it back onto a dvd.  I have tried dvdauthor, but
the app kept crashing.  Does anyone have any suggestions for this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: natd not starting on boot-up

2006-06-07 Thread Derrick Ryalls

On 6/7/06, Nick Withers <[EMAIL PROTECTED]> wrote:

On Wed, 07 Jun 2006 15:23:18 +0700
Roger Merritt <[EMAIL PROTECTED]> wrote:

> At 04:35 PM 6/7/2006 +1000, you wrote:
> >On Wed, 07 Jun 2006 12:13:29 +0700
> >Roger Merritt <[EMAIL PROTECTED]> wrote:
> >
> > > I'm thoroughly puzzled. Over the weekend I transferred my FreeBSD
> > system to
> > > a new hard drive. Through laziness I didn't follow the instructions and
> > had
> > > to make a completely new install. Everything now seems to be working the
> > > way it should, Apache, MySQL, PHP, syslog, Samba -- except natd.
> > Everything
> > > starts on boot-up as it should -- except natd. I can start it manually
> > from
> > > the command line after booting up and logging in and it works fine, but I
> > > can't tell what's going on that it's failing to start.
> > >
> > > My /etc/rc.conf contains the following:
> > >
> > > # This file now contains just the overrides from /etc/defaults/rc.conf.
> > > defaultrouter="203.151.134.1"
> > > gateway_enable="YES"
> > > hostname="poppy.international.stjohn.ac.th"
> > > ifconfig_ed0="inet 10.3.16.125 netmask 255.255.255.0"
> > > ifconfig_ed1="inet 203.151.134.104  netmask 255.255.255.0"
> > > router_enable="YES"
> > > firewall_enable="YES"
> > > firewall_type="OPEN"
> > > firewall_quiet="YES"
> > > natd_enable="YES"
> > > natd_interface="ed1"
> > > ipv6_enable="YES"
> > > linux_enable="YES"
> > > moused_enable="YES"
> > > moused_port="/dev/sysmouse"
> > > moused_type="auto"
> > > screen="daemon"
> > > nfs_client_enable="YES"
> > > sshd_enable="YES"
> >
> >That looks alright to me...
> >
> > > What can I do to get some indication of where the problem is?
> >
> >Are there any error messages relating to IPFW / natd on boot?
>
> No, or at least none I could see. That's why I've asked for help.
>
> >What version of FreeBSD are you running?
>
> 6.1-STABLE

Perhaps there's something wrong in the branch at present...?
Doubtful, I guess.

> >What's the command
> >you're running that _does_ launch natd successfully?
>
> "/sbin/natd -n ed1". I hadn't thought about "/etc/rc.d/natd start" until
> someone suggested it, but that works too and reads the interface from
> /etc/rc.conf.
>
> >  What's the
> >output of "ls -l /etc/rc.d/natd"?
>
> [poppy] ~# ls -l /etc/rc.d/natd
> -r-xr-xr-x  1 root  wheel  978 May 31 09:52 /etc/rc.d/natd

Hmmm... Well that all seems OK, then.

The only other thing I can think of is that the
'router_enable'="YES"' line's creating dramas.

As I understand it, this'll cause /etc/rc.d/routed to attempt to
launch the routing daemon specified by a 'router="..."' line,
which you don't appear to have. I don't think this'd interfere
with natd anyway, but I don't really understand what the hell's
going on in /etc/rc.d/routed.

Sorry I can't be more helpful!
--


I don't run route(daemon) so I don't know about router_enable, but
here is what I have in my rc.conf to get natd working:

#router stuff
natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="rl0"
natd_flags="-dynamic -f /etc/natd.conf"
gateway_enable="YES"

So I use gateway_enable not router_enable.

I don't know if this applies to your problem completely, but might be
worth a shot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New folder permissions

2006-05-12 Thread Derrick Ryalls

On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Derrick Ryalls" <[EMAIL PROTECTED]> writes:

> On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

>> There are a lot of ways to do this, but the one I would recommend is
>> to change the main folder to be owned by a group that you, your wife,
>> and the uid running the thumbnail script all are members of --
>> probably by creating a new group for the purpose.  Then if you set
>> your wife's umask to 002, directories she creates will be available to
>> you and any other members of the group.
>>
>
> Would I change the umask on the webserver or on her desktop?  If on
> the desktop, then how does this work when she is booted into Windows?
> I do like the idea of this solution, but she doesn't even like shell
> access so .bashrc wouldn't be executed.  Is there a way to set umask
> functionality somewhere else?
>

I think you need to configure Samba directly for this.
I suspect "create mask = 0775" would do it.




Thanks, I didn't even know about that option.  I will try that out
when I get home.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New folder permissions

2006-05-12 Thread Derrick Ryalls

On 5/12/06, Lowell Gilbert <[EMAIL PROTECTED]> wrote:

"Derrick Ryalls" <[EMAIL PROTECTED]> writes:

> I am having issues getting correct permissions set for files in a
> common area on a web/file server.  I have webroot shared out via samba
> and under there I have an auto-thumbnail generation script that
> creates thumbnails in somefolder/.cache where somefolder is a newly
> created folder.  Example:
>
> autothumbs\
>  mypics1\
>image.jpg
>.cache
> image_thumb.jpg
>  mypics2\
>   .cache
> ...
>
> What needs to happen is when a new folder is created under this
> autothumb tree, the permissions need to be set correctly so that the
> .cache folder can be automatically generated by the thumbnail process.
> I have the main folder listed as root:wheel 777 but when new folders
> are created they have user:wheel 755 permissions and the thumbnail
> script fails as it cannot write to the location.
>
> Is there something I am missing to get this setup properly?  I know a
> workaround is the manually change the permissions of the folder when
> it is created, but since my wife will be wanting to add pictures, that
> isn't an option for her (very non-techy).  The machine in question a
> 5.4-Stable box.
>
> Any suggestions on what I need to do?

There are a lot of ways to do this, but the one I would recommend is
to change the main folder to be owned by a group that you, your wife,
and the uid running the thumbnail script all are members of --
probably by creating a new group for the purpose.  Then if you set
your wife's umask to 002, directories she creates will be available to
you and any other members of the group.



Would I change the umask on the webserver or on her desktop?  If on
the desktop, then how does this work when she is booted into Windows?
I do like the idea of this solution, but she doesn't even like shell
access so .bashrc wouldn't be executed.  Is there a way to set umask
functionality somewhere else?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


New folder permissions

2006-05-11 Thread Derrick Ryalls

Greetings,

I am having issues getting correct permissions set for files in a
common area on a web/file server.  I have webroot shared out via samba
and under there I have an auto-thumbnail generation script that
creates thumbnails in somefolder/.cache where somefolder is a newly
created folder.  Example:

autothumbs\
 mypics1\
   image.jpg
   .cache
image_thumb.jpg
 mypics2\
  .cache
...

What needs to happen is when a new folder is created under this
autothumb tree, the permissions need to be set correctly so that the
.cache folder can be automatically generated by the thumbnail process.
I have the main folder listed as root:wheel 777 but when new folders
are created they have user:wheel 755 permissions and the thumbnail
script fails as it cannot write to the location.

Is there something I am missing to get this setup properly?  I know a
workaround is the manually change the permissions of the folder when
it is created, but since my wife will be wanting to add pictures, that
isn't an option for her (very non-techy).  The machine in question a
5.4-Stable box.

Any suggestions on what I need to do?

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


Re: Small Laser Printers

2006-03-29 Thread Derrick Ryalls
On 3/29/06, Robert Uzzi <[EMAIL PROTECTED]> wrote:
>
> Any one using a current small laser printer that cost's in the 100 to 200
> dollar range. I've been looking at several to print Invoices on but I keep
> running in circles trying to figure out if they will work. If you got
> something in that range to work which one?
>
> ___
>

I couple months ago I bought a Samsung ML-2251N from newegg:

http://www.newegg.com/Product/Product.asp?Item=N82E16828112024

Looks like right now you can get a free 1Gig USB flash drive as a bonus.

The printer works great as a network printer, I installed it as a PCL6
printer and use it via cups.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: k3b incorrectly identifies scsi r/w drive as read-only -- how to change?

2006-03-24 Thread Derrick Ryalls
On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
>
> On Friday 24 March 2006 12:12, you wrote:
> > On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > > I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by
> adding
> > > ALL ALL = NOPASSWD: /sbin/camcontrol devlist
> > > to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea
> > > that
> > > this is read-only. In "Setup Devices" there is no way to remove a
> device
> > > from
> > > the "readonly" heading and place it under "writer drives," and none of
> > > the options except for the cdrao editor are editable. Attempting to
> > > change the driver crashes the program.
> > >
> > > k3b must be reading this from somewhere, but where? The drive is r,w
> is
> > > fstab.
> >
> > I don't have access to my laptop (where I recently dealt with this), but
> > /etc/devfs.conf (i think) has places where you can set the permission to
> > devices.  I believe I did 0666 (read/write to all) for acd0, cdrom0,
> pass0,
> > and perhaps 1 other.  After that (and manually setting perms to
> > /dev/) I was able to use k3b without being root.
>
> I had done that. I can access the drive, but it is still not being
> correctly
> recognized as a writer.
>
> Oliver
>

What happens when you run k3b as root (just to test)

Also, what are the permissions on
(assuming the writer is the first cd device)
/dev/cd0
/dev/acd0
/dev/pass0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: k3b incorrectly identifies scsi r/w drive as read-only -- how to change?

2006-03-24 Thread Derrick Ryalls
On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
>
> I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by adding
> ALL ALL = NOPASSWD: /sbin/camcontrol devlist
> to sudoers and starting k3b with sudo. Unfortunately, k3b has the idea
> that
> this is read-only. In "Setup Devices" there is no way to remove a device
> from
> the "readonly" heading and place it under "writer drives," and none of the
> options except for the cdrao editor are editable. Attempting to change the
> driver crashes the program.
>
> k3b must be reading this from somewhere, but where? The drive is r,w is
> fstab.
>
> Thanks,
>
> Oliver
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

I don't have access to my laptop (where I recently dealt with this), but
/etc/devfs.conf (i think) has places where you can set the permission to
devices.  I believe I did 0666 (read/write to all) for acd0, cdrom0, pass0,
and perhaps 1 other.  After that (and manually setting perms to /dev/)
I was able to use k3b without being root.

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


Re: Switching wired <-> wireless in a user-friendly manner, possible?

2006-03-22 Thread Derrick Ryalls
On 11/27/05, Hans Nieser <[EMAIL PROTECTED]> wrote:
>
> AT Matik wrote:
>
> > may be you like what I do
> >
> > i have DHCP for my nic in rc.conf
> >
> > when my eth is up (sis0 in my case)  nothing happens as getting the
> config
> > from the dhcp server
> >
> > else I call a script to configure my wireless connection
> (/etc/start-wif)
> >
> > so you may check running this in crontab as I understand you unplug the
> cable
> > and run around ;)
>
> Thanks for the replies everyone. I think I am going to try and do
> something with devd.conf first. I'm going through the /etc/rc.d/netif,
> /etc/network.subr scripts at the moment so I can get a clear picture of
> how exactly FreeBSD (6.0 is what I'm using) sets up interfaces at boot, to
> prevent myself from screwing anything up ;)
> ___
>

I recently got wireless working on my laptop and am interested in a script
to readily/automatically switch between wired and wireless connections.  I
was wondering if anyone in this thread had made any progress on that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mount_smbfs and NETSMBCRYPTO

2006-03-17 Thread Derrick Ryalls
Greetings,

I have recently run into a problem mounting windows shares on my 6.1 Beta 2
laptop.  smbfs is loaded via loader.conf, but I get an error message stating
that encryption support is not available.  According to this thread:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-02/msg00556.html

I now need to add

options NETSMBCRYPTO

To my kernel config to get encryption support added for mount_smbfs?

I am currently running a generic kernel and I have never needed to do this
in the past just to mount a windows share.  Has something changed recently
and I will need to do a buildworld to fix this?

I tried kldload netsmbcrypto but I guess the file does not exist.  Is there
any way for me to mount a windows share without doing a buildworld?  I did
not pull sources when I built the machine as I intended to just run generic
and load anything extra via loader.conf.

Thanks for any pointers on this.


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


bas 3.1 fails to build

2006-03-14 Thread Derrick MacPherson
On FreeBSD 5.4, not sure what this error means:

===>  Building for bash-3.1.10_1
rm -f bash
cc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob  -
L./lib/tilde  -L./lib/sh -L/usr/local/lib  -rdynamic  -O -pipe -o bash
shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o   dispose_cmd.o
execute_cmd.o variables.o copy_cmd.o error.o  expr.o flags.o jobs.o
subst.o hashcmd.o hashlib.o mailcheck.o  trap.o input.o unwind_prot.o
pathexp.o sig.o test.o version.o  alias.o array.o arrayfunc.o braces.o
bracecomp.o bashhist.o  bashline.o  list.o stringlib.o locale.o
findcmd.o redir.o  pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins
-lsh -lreadline -lhistory -ltermcap -lglob  -
ltilde  /usr/local/lib/libintl.so /usr/local/lib/libiconv.so
subst.o(.text+0x4f69): In function `remove_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x4fad): In function `remove_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x4fe6): In function `remove_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x5072): In function `remove_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x5107): In function `remove_pattern':
: undefined reference to `xdupmbstowcs'
subst.o(.text+0x5133): In function `remove_pattern':
: undefined reference to `xdupmbstowcs'
subst.o(.text+0x565a): In function `match_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x56fa): In function `match_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x576c): In function `match_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x57ad): In function `match_wpattern':
: undefined reference to `wcsmatch'
subst.o(.text+0x5878): In function `match_pattern':
: undefined reference to `xdupmbstowcs'
subst.o(.text+0x58a7): In function `match_pattern':
: undefined reference to `xdupmbstowcs'
*** Error code 1


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


Spamd keeps falling over

2006-03-11 Thread Derrick MacPherson
I have had spamd die about 3 times in the last couple days, this is what 
I saw in the logs this morning:


Mar 11 06:00:37 mail spamd[28178]: prefork: ordered child to accept, but 
child reported state '1' at 
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Spam

dForkScaling.pm line 390


What does it mean?

Can I get some suggestions on an application that will monitor this 
process and if it dies restart it?

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


Re: mysql install problems.

2006-03-06 Thread Derrick MacPherson

Derrick MacPherson wrote:

Trying to upgrade mysql from 40 to 50 on a 5.4 system. The client will 
update, but when I go to update the server, I get the following error. 
I was able to use pkg_add get 5.0.2 installed so at least it's 
functioning. I've tried to reinstall 40, and then deinstall, but it 
doesn't seem to help. What can I do?


===>  mysql-server-5.0.18_1 cannot install: the port wants 
mysql50-client and you try to install mysql40-client..

*** Error code 1

Stop in /usr/ports/databases/mysql50-server.

pkg_info |grep sql
bsdpan-DBD-mysql-2.9008 DBD::mysql - MySQL driver for the Perl5 
Database Interface
courier-authlib-mysql-0.57 MySQL support for the Courier 
authentication library

exim-mysql-4.60 High performance MTA for Unix systems on the Internet
mysql-client-5.0.18_1 Multithreaded SQL database (client)
mysql-server-5.0.2  Multithreaded SQL database (server)
php4-mysql-4.4.1_3  The mysql shared extension for php
proftpd-mysql-1.2.10_1 Highly configurable ftp daemon with MySQL support


I have done more digging and haven't gotten too far ahead. I did see 
someone had a similar problem a few weeks ago, but there was no posted 
solution. Anyone got some insight?

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


mysql install problems.

2006-03-05 Thread Derrick MacPherson
Trying to upgrade mysql from 40 to 50 on a 5.4 system. The client will 
update, but when I go to update the server, I get the following error. I 
was able to use pkg_add get 5.0.2 installed so at least it's 
functioning. I've tried to reinstall 40, and then deinstall, but it 
doesn't seem to help. What can I do?


===>  mysql-server-5.0.18_1 cannot install: the port wants 
mysql50-client and you try to install mysql40-client..

*** Error code 1

Stop in /usr/ports/databases/mysql50-server.

pkg_info |grep sql
bsdpan-DBD-mysql-2.9008 DBD::mysql - MySQL driver for the Perl5 Database 
Interface
courier-authlib-mysql-0.57 MySQL support for the Courier authentication 
library

exim-mysql-4.60 High performance MTA for Unix systems on the Internet
mysql-client-5.0.18_1 Multithreaded SQL database (client)
mysql-server-5.0.2  Multithreaded SQL database (server)
php4-mysql-4.4.1_3  The mysql shared extension for php
proftpd-mysql-1.2.10_1 Highly configurable ftp daemon with MySQL support

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


Re: virtual memory exhausted: Cannot allocate memory

2006-02-22 Thread Derrick Ryalls
On 2/22/06, Ken Williams <[EMAIL PROTECTED]> wrote:
>
>
> Hi FreeBSD folks,
>
>I'm having trouble compiling the java/jdk15 package.  I've downloaded
> the
> files from Sun and eyesbeyond, as per usual. When I go to the jdk15
> directory and do 'make' the compilation starts and runs for an hour or two
> and then grinds to a halt with the following error message;
>
> --
> gmake[3]: Leaving directory
>
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[3]: Entering directory
>
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> Compiling ../generated/adfiles/ad_i486.cpp
> virtual memory exhausted: Cannot allocate memory
> gmake[3]: *** [ad_i486.o] Error 1
> gmake[3]: Leaving directory
>
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[2]: *** [the_vm] Error 2
> gmake[2]: Leaving directory
>
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
> gmake[1]: *** [jvmg] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
> gmake: *** [jvmg] Error 2
> *** Error code 2
>
> Stop in /usr/ports/java/jdk15.
>
> --
>
>The PC I'm using has a 2.3GHz Pentium, with 128MB memory and 70GB free
> disk space
> running FreeBSD-6.1PRERELEASE. Interestingly, when I run 'make' and do
> 'top'
> the compilation process steadily grows to 128MB in size and then stays at
> that size until it grinds to a halt.
>
>   I was under the impression that FreeBSD imposed a default maximum
> process
> size of 512MB, maybe that's changed or I was wrong (anyone ??). After
> Googling, I found that the way to increase the maximum process size was to
> add the following entries to /boot/loader.conf and reboot;
>
> root$ more /boot/loader.conf
> kern.maxdsiz="1073741824" # 1GB
> kern.dfldsiz="1073741824" # 1GB
> kern.maxssiz="134217728" # 128MB
>
>   I did this and tried compiling jdk15 again but it made no difference.
>
>   So I had the idea that another way to increase the amount of virtual
> memory available is to increase the amount of swap memory available
> (correct
> ??) which I did (to 1GB) as described in the Handbook here
> (
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html
> ).
> This I did, and when I do 'top' it shows up as available swap memory but
> when I tried compiling jdk15 again it also made no difference.
>
>   I've also checked my resource limits (ulimit) but they look reasonable
> to
> me;
>
> root$ ulimit -SHacdflmnpstuv
> core file size(blocks, -c) unlimited
> data seg size (kbytes, -d) 524288
> file size (blocks, -f) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size   (kbytes, -m) unlimited
> open files(-n) 1735
> pipe size  (512 bytes, -p) 1
> stack size(kbytes, -s) 65536
> cpu time (seconds, -t) unlimited
> max user processes(-u) 867
> virtual memory(kbytes, -v) unlimited
>
>
>For info, I also have java/linux-sun-jdk14 installed with linprocfs
> mounted (to bootstrap the jdk15 installation) but I don't think this is
> related to my problem.
>
>   I'm at a bit of a loss what to do next. Do I need to buy some more
> memory
> for my PC (just to compile jdk15) or is there anything else I can try or
> change in FreeBSD which may help me ?
>
>  Any help is much appreciated.
>
> Ken
>
>
My video card has more memory than your system does.  Do you have any swap
space mounted/available?

/etc/fstab will tell you if you have a swap partition.  If you do (and it is
big) then I am not sure what the issue is, but is does sound like the system
is short on memory.  If you have no swap space partitioned, there is a way
to make a swapfile, but I have never done it myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Gnome's bottom panel doesn't display running programs

2006-01-31 Thread Derrick Ryalls
On 1/29/06, Eric Kjeldergaard <[EMAIL PROTECTED]> wrote:
>
> Sunday 29 January 2006 12:36、Derrick Ryalls さんは書きました:
> > Greetings,
> >
> > I did some searching, but didn't find anything so I was hoping someone
> > might have a clue on this.
> >
> > I just did the compile for gnome 2.12 on FreeBSD 6 and so far most
> > everything seems to work except the lower panel does not display the
> > current running programs or the other virtual desktops.  I can alt-tab
> to
> > the other programs in the same virtual terminal, and can use cntrl-alt
> > (left/right) to get to the other terminals, but none show the normal bar
> at
> > the bottom.  The top bar looks normal (has normal menus, clock, etc).  I
> > hope this is just dependancy that needs to be rebuilt, but am unsure of
> > which one do try.
> >
> > My install was something like this:
> >
> > Install Freebsd 6 using 6.0 release disc burned last month.
> > Install basic packages via sysinstall
> > At this point I tried portupgrade -NPPR x11/gnome2
> > After many weird issue on out of date dependancies, I used the
> > gnome2.12update script to fix the issues.
> > After update script was finished, I executed a normal install: cd
> > x11/gnome2; make install clean
> >
> > The final install did complete successfully and gnome has been running,
> but
> > the bottom panel isn't working.
> >
> > Thanks in advance for any clues.
>
> If I recall correctly (can't test at the moment due to hard disk failure)
> GNOME relies on DBUS working to get everything working proper.  I believe
> that the window list is part of that.  Try making sure that DBUS is in
> fact
> working.  You enable it by putting dbus_enable="YES" or similar (from
> memory,
> that hard disk thing) in /etc/rc.conf.  Since that only affects at boot
> time,
> either reboot or find the script (/usr/local/etc/rc.d/ somewhere, I should
> think) and start it.  Hope this does it for you,
>
> Eric
>
> --
> Emails appear more personalised with signatures.
>
>
>
I tried enabling and rebooting but I still have the issue.  I have never
noticed/needed that switch in rc.conf before though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Gnome's bottom panel doesn't display running programs

2006-01-28 Thread Derrick Ryalls
Greetings,

I did some searching, but didn't find anything so I was hoping someone might
have a clue on this.

I just did the compile for gnome 2.12 on FreeBSD 6 and so far most
everything seems to work except the lower panel does not display the current
running programs or the other virtual desktops.  I can alt-tab to the other
programs in the same virtual terminal, and can use cntrl-alt (left/right) to
get to the other terminals, but none show the normal bar at the bottom.  The
top bar looks normal (has normal menus, clock, etc).  I hope this is just
dependancy that needs to be rebuilt, but am unsure of which one do try.

My install was something like this:

Install Freebsd 6 using 6.0 release disc burned last month.
Install basic packages via sysinstall
At this point I tried portupgrade -NPPR x11/gnome2
After many weird issue on out of date dependancies, I used the
gnome2.12update script to fix the issues.
After update script was finished, I executed a normal install: cd
x11/gnome2; make install clean

The final install did complete successfully and gnome has been running, but
the bottom panel isn't working.

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


Re: Support for FreeBSD 4.10/4.9

2006-01-19 Thread Derrick Francis

Kris,
   Thank you for the quick response.  That is exactly what I was 
looking for.


Kris Kennaway wrote:

On Mon, Dec 19, 2005 at 02:28:09PM -0800, Derrick Francis wrote:
  
Have a simple question.  If someone to request support for version 4.10 
or 4.9 how would they be supported?  Please let me know.  I need to 
verify this version of FreeBSD is still supported.  Thank you.



Generally speaking these old versions are not supported at all.  They
might still be receiving security support (see
http://www.freebsd.org/security/), but if you e.g. try to report a bug
then you'll mostly get people telling you to upgrade to a supported
version first (since after all there's a good chance the bug is
already fixed).

At this point you really need to plan to upgrade to the 6.0 series,
since that's where the future lies.

Kris
  



--
Derrick Francis 
IT/Security Consultant
X-Feds, Inc.
(O) 619.222.4600
(C) 760.613.8892
(E) [EMAIL PROTECTED]

Important Notice: The contents of this email are intended solely for the named 
addressee and may contain proprietary data or information; any unauthorized use 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender. 
If you are the intended recipient you should not disclose all or any part of 
the contents except in accordance with applicable nondisclosure and 
confidentiality agreements. Thank You.

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


Support for FreeBSD 4.10/4.9

2006-01-19 Thread Derrick Francis
Have a simple question.  If someone to request support for version 4.10 
or 4.9 how would they be supported?  Please let me know.  I need to 
verify this version of FreeBSD is still supported.  Thank you.


--
Derrick Francis 
IT/Security Consultant
X-Feds, Inc.
(O) 619.222.4600
(C) 760.613.8892
(E) [EMAIL PROTECTED]

Important Notice: The contents of this email are intended solely for the named 
addressee and may contain proprietary data or information; any unauthorized use 
of the contents is expressly prohibited. If you have received this email in 
error, please delete it and any attachments immediately and advise the sender. 
If you are the intended recipient you should not disclose all or any part of 
the contents except in accordance with applicable nondisclosure and 
confidentiality agreements. Thank You.


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


Re: memory requirement

2006-01-11 Thread Derrick Ryalls
>
>
> > That's what I am thinking about. As a linux
> > user for such a long time,
> > its quite dissappointed to say that linux has
> > become a monster.
>
> Ah, but mp3s are nice and smooth!!! :-)
>
> If you don't need any of the newer features, I'd
> suggest FreeBSD 4.x rather than a newer version.
> It was designed to run on lower end system and
> its much more efficient.
>
> DT


Agreed, I maintain a 4.x system on a P-75 with probably 16M ram.  I think it
took about 25 hours to do a buildworld for router functionality.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Pavillion laptop can't boot FreeBSD

2005-12-22 Thread Derrick Ryalls
On 12/22/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>
>
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of Derrick Ryalls
> >Sent: Wednesday, December 21, 2005 10:26 AM
> >To: Ted Mittelstaedt
> >Cc: FreeBSD Questions
> >Subject: Re: HP Pavillion laptop can't boot FreeBSD
> >
> >
> >> >-Original Message-----
> >> >From: [EMAIL PROTECTED]
> >> >[mailto:[EMAIL PROTECTED] Behalf Of
> >Derrick Ryalls
> >> >Sent: Tuesday, December 20, 2005 9:02 PM
> >> >To: FreeBSD Questions
> >> >Subject: HP Pavillion laptop can't boot FreeBSD
> >> >
> >> >
> >> >Greetings,
> >> >
> >> >I recently purchased an HP Pavillion laptop (dv8000) that has
> >> >an AMD-64 CPU,
> >> >with the intent on running FreeBSD 6.0 (i386) as a dual boot
> >> >option.  I have
> >> >installed BSD numerous times on various desktops, but this
> >is my first
> >> >attempt on a laptop.
> >> >
> >> >When I boot off the CD, before the boot menu comes up, an
> >error message
> >> >comes up: elf32_lookup_symbol: corrupt symbol table.  Then the
> >> >normal boot
> >> >menu comes up, at which point selecting option 1 (normal) or option 2
> >> >(without ACPI) causes the BTX loader to halt after
> >displaying some hex
> >> >errors.  I even tried hitting option 6, unsettng acpi_load,
> >> >then booting,
> >> >but the same error comes up.
> >> >
> >> >I tried 6.0 AMD-64 and didn't get as far.  Before the boot menu
> >> >could come
> >> >up, it continually spews what appears to be the same/similar
> >> >hex errors and
> >> >didn't even respond to Cntrl-Alt-Delete.  Trying 5.4, I don't
> >> >get the elf32
> >> >error before the boot menu, but if I select option 1 it has
> >> >trouble loading
> >> >ACPI and then shuts down.  Selecting option 2 (with the 5.4
> >cd) does not
> >> >bring up an error, the system just shuts down.  Out of
> >> >curiousity, I tried a
> >> >Knoppix 4.0 CD and was able to fully boot and get a functioning
> >> >system up
> >> >(albeit running off the CD).
> >> >
> >> >My bios has painfully few options, such as boot order and
> >disabling the
> >> >onboard wireless nic, nothing else.
> >> >
> >> >Is there something else I should try, or do I have to wait
> >for the time
> >> >being?
> >> >
> >> >TIA for any suggestions.
> >> >
> >> >-Derrick
> >> On 12/21/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> >> >
> >> > boot off floppies and try a ftp install.  Or, boot windows
> >> > and burn the freebsd cd in the laptop (i assume the laptop has
> >> > a cd burner) sounds like a media error.
> >> >
> >> > Ted
> >>
> >>
> >I don't have a floppy drive to use, but in any case I used 3 different
> >FreeBSD CDs, all failed.  One of the CDs I had previously used
> >to install on
> >a desktop, so I doubt it is a media issue.
> >
>
> Try booting a 4.11 CD, I have systems which will boot 4.11 fine
> but will not boot 5.4 or later.  If an install works on that, I would
> send-pr the bug.
>
> Also, make sure to firmware/bios update the laptop.
>
> Ted
>
>
I tried 4.11 and got the hex errors even quicker, no chance to interrupt
boot sequence.  There isn't a bios update available for it either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Pavillion laptop can't boot FreeBSD

2005-12-21 Thread Derrick Ryalls
On 12/21/05, Derrick Ryalls <[EMAIL PROTECTED]> wrote:
> > > >-Original Message-
> > > >From: [EMAIL PROTECTED]
> > > >[mailto:[EMAIL PROTECTED] Behalf Of Derrick
> Ryalls
> > > >Sent: Tuesday, December 20, 2005 9:02 PM
> > > >To: FreeBSD Questions
> > > >Subject: HP Pavillion laptop can't boot FreeBSD
> > > >
> > > >
> > > >Greetings,
> > > >
> > > >I recently purchased an HP Pavillion laptop (dv8000) that has
> > > >an AMD-64 CPU,
> > > >with the intent on running FreeBSD 6.0 (i386) as a dual boot
> > > >option.  I have
> > > >installed BSD numerous times on various desktops, but this is my
> first
> > > >attempt on a laptop.
> > > >
> > > >When I boot off the CD, before the boot menu comes up, an error
> message
> > > >comes up: elf32_lookup_symbol: corrupt symbol table.  Then the
> > > >normal boot
> > > >menu comes up, at which point selecting option 1 (normal) or option 2
> > > >(without ACPI) causes the BTX loader to halt after displaying some
> hex
> > > >errors.  I even tried hitting option 6, unsettng acpi_load,
> > > >then booting,
> > > >but the same error comes up.
> > > >
> > > >I tried 6.0 AMD-64 and didn't get as far.  Before the boot menu
> > > >could come
> > > >up, it continually spews what appears to be the same/similar
> > > >hex errors and
> > > >didn't even respond to Cntrl-Alt-Delete.  Trying 5.4, I don't
> > > >get the elf32
> > > >error before the boot menu, but if I select option 1 it has
> > > >trouble loading
> > > >ACPI and then shuts down.  Selecting option 2 (with the 5.4 cd) does
> not
> > > >bring up an error, the system just shuts down.  Out of
> > > >curiousity, I tried a
> > > >Knoppix 4.0 CD and was able to fully boot and get a functioning
> > > >system up
> > > >(albeit running off the CD).
> > > >
> > > >My bios has painfully few options, such as boot order and disabling
> the
> > > >onboard wireless nic, nothing else.
> > > >
> > > >Is there something else I should try, or do I have to wait for the
> time
> > > >being?
> > > >
> > > >TIA for any suggestions.
> > > >
> > > >-Derrick
> > > On 12/21/05, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > > >
> > > > boot off floppies and try a ftp install.  Or, boot windows
> > > > and burn the freebsd cd in the laptop (i assume the laptop has
> > > > a cd burner) sounds like a media error.
> > > >
> > > > Ted
> > >
> > >
> > I don't have a floppy drive to use, but in any case I used 3 different
> > FreeBSD CDs, all failed.  One of the CDs I had previously used to
> install on
> > a desktop, so I doubt it is a media issue.
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
> >
>
> What you are getting is a keyboard lock error; I've got a Compaq
> Presario M2000 with an AMD Sepron processor, and no matter what
> FreeBSD distro or version I use, after 4.9, my install would always
> lock up. I've posted a thread on this issue to the message board, and
> a few gentlemen replied and had a solution for this; you must get into
> single-user mode, and set a few sysctls to bypass the keyboard and
> serial port confusion.
>
> Interrupt the kernel loading process, then:
>
> set hint.sio.0.disabled=1
> set hint.sio.1.disabled=1
> set hint.atkbd.0.flags=0x9
>
> And continue booting...This was my help from Ariff Abdullah and Nathan
> Vidican
>
>
I tried the above set of commands (after hitting option 6 on the boot menu -
escape to loader prompt) including unsetting acpi, then typing boot and the
same error came up.

I am unable to boot to single user mode directly as the above post suggest,
not does safe mode work.

I did notice one difference though.  If I cold boot the laptop, in place of
the elf32 error message, the system hangs.  If I first boot into windows
then reboot to install CD, I get the elf32 error and the option to choose my
boot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   4   >