CAM errors with 7.0-RELEASE and USB hard drive

2008-03-15 Thread Doug Reynolds

Hello,

I've just hooked up my Western Digital MyBook 750G external usb hard 
drive to my server in order to make some backups.  The drive is formated 
UFS, and it seems to work well.


However, when doing large file transfers (ie, using DUMP or gzip'ing 
files) I keep getting these errors every so often:


Mar 10 20:08:34 hive kernel: umass0: BBB reset failed, TIMEOUT
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 
0 46 de 70 cf 0 0 80 0
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition

Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:24,1
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
Mar 10 20:08:34 hive kernel: (da0:umass-sim0:0:0:0): Retrying Command 
(per Sense Data)
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 
0 46 e4 d1 6f 0 0 80 0
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI 
Status Error
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition

Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:24,1
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
Mar 10 20:09:49 hive kernel: (da0:umass-sim0:0:0:0): Retrying Command 
(per Sense Data)



Every thing *seems* to be working ok, but I really would like to know if 
my backups are actually worth while.


I am running this on a P4-2.5ghz system with 1.5G of ram.  I am using an 
add-in USB 2.0 card (the mb doesn't support 2.0).  The main drive is a 
120G WD.  The onboard controller is also disabled in the BIOS.


my dmesg and uname -a:

FreeBSD hive.wg.local 7.0-RELEASE FreeBSD 7.0-RELEASE #7: Sun Mar  2 
13:46:07 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE  i386


Copyright (c) 1992-2008 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 7.0-RELEASE #7: Sun Mar  2 13:46:07 EST 2008
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.50GHz (2500.11-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 
Features=0xbfebf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

 Features2=0x4400CNXT-ID,xTPR
real memory  = 1610547200 (1535 MB)
avail memory = 1568702464 (1496 MB)
kbd1 at kbdmux0
acpi0: VIAP4X AWRDACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
p4tcc0: CPU Frequency Thermal Control on cpu0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 8753 (P4X266) host to PCI bridge on hostb0
agp0: aperture size is 256M
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display port 0xc000-0xc0ff mem 
0xd000-0xd7ff,0xd900-0xd907 irq 11 at device 0.0 on pci1
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xd000-0xd03f irq 12 at 
device 9.0 on pci0

miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface PHY 24 on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:bd:eb:bd
xl0: [ITHREAD]
xl1: 3Com 3c905-TX Fast Etherlink XL port 0xd400-0xd43f irq 10 at 
device 10.0 on pci0

miibus1: MII bus on xl1
nsphy1: DP83840 10/100 media interface PHY 24 on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:7e
xl1: [ITHREAD]
ohci0: NEC uPD 9210 USB controller mem 0xdb00-0xdb000fff irq 5 at 
device 11.0 on pci0

ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0
usb0: NEC uPD 9210 USB controller on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 3 ports with 3 removable, self powered
ohci1: NEC uPD 9210 USB controller mem 0xdb001000-0xdb001fff irq 11 at 
device 11.1 on pci0

ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1: NEC uPD 9210 USB controller on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
ehci0: NEC uPD 720100 USB 2.0 controller mem 0xdb002000-0xdb0020ff irq 
12 at device 11.2 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb2: EHCI version 1.0
usb2: companion controllers, 3 ports each: usb0 usb1
usb2: NEC uPD 720100 USB 2.0 controller on ehci0
usb2: USB revision 2.0
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb2
uhub2: 5 ports with 5 removable, self powered

Promise PDC20267 UDMA100 controller channel attaching trouble

2005-02-22 Thread doug reynolds
I've having a bit of trouble with my promise ATA100 controller card on
my server computer.  I used to use it fine with my older system (k6-450
with freebsd 4.xx).  I've built this newer box (with FreeBSD 5.3 and
also 5.3-STABLE, running a K7-650 now) and swapped a lot of  things
over.  The problem is I keep getting this:
device_attach: ata2 attach returned 6
when I boot up.  I've juggled IRQs, turned off the onboard controller,
but it just won't attach.  The only way it'll work is if I run the
drives on the secondary port.  When I do this, everything boots.  When
the drives are on the primary port, it won't even acknowledge I have any
drives hooked up.
The card's bios detects all drives upon bootup (primary/secondary), so I
don't think the controller is messed..
atacontrol list:
ATA channel 0:
   Master:  ad0 Maxtor 53073H6/DAC10SC0 ATA/ATAPI revision 6
   Slave:   no device present
ATA channel 1:
   Master: acd0 HITACHI CDR-8430/0024 ATA/ATAPI revision 0
   Slave:  ast0 Seagate STT2A/8N43 ATA/ATAPI revision 0
ATA channel 3:
   Master:  ad6 WDC WD1200JB-00GVA0/08.02D08 ATA/ATAPI revision 6
   Slave:   ad7 QUANTUM FIREBALLP AS40.0/A1Y.1500 ATA/ATAPI revision 5
dmesg
Copyright (c) 1992-2005 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 5.3-STABLE #3: Sun Feb 20 19:31:02 EST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (656.47-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x642  Stepping = 2
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 402587648 (383 MB)
avail memory = 388460544 (370 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT  on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: AMD 751 host to AGP bridge port 0xd000-0xd003 mem
0xeedff000-0xeedf,0xec00-0xedff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: AMD 756 UDMA66 controller port
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
ohci0: AMD-756 USB Controller mem 0xeffaf000-0xeffa irq 10 at
device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: AMD-756 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xd200-0xd23f irq 11 at
device 9.0 on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:bd:eb:7e
xl1: 3Com 3c905-TX Fast Etherlink XL port 0xd400-0xd43f irq 12 at
device 10.0 on pci0
miibus1: MII bus on xl1
nsphy1: DP83840 10/100 media interface on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:bd
atapci1: Promise PDC20267 UDMA100 controller port
0xd600-0xd63f,0xd800-0xd803,0xda00-0xda07,0xdc00-0xdc03,0xde00-0xde07
mem 0xeffe-0xefff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci1
device_attach: ata2 attach returned 6
ata3: channel #1 on atapci1
acpi_tz0: Thermal Zone on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: floppy drive controller port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6
drq 2 on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq
3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROMs at iomem 0xcc000-0xc,0xc-0xcbfff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 656465381 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert 

Promise PDC20267 UDMA100 controller channel attaching trouble

2005-02-20 Thread doug reynolds
I've having a bit of trouble with my promise ATA100 controller card on 
my server computer.  I used to use it fine with my older system (k6-450 
with freebsd 4.xx).  I've built this newer box (with FreeBSD 5.3 and 
also 5.3-STABLE, running a K7-650 now) and swapped a lot of  things 
over.  The problem is I keep getting this:

device_attach: ata2 attach returned 6
when I boot up.  I've juggled IRQs, turned off the onboard controller, 
but it just won't attach.  The only way it'll work is if I run the 
drives on the secondary port.  When I do this, everything boots.  When 
the drives are on the primary port, it won't even acknowledge I have any 
drives hooked up. 

The card's bios detects all drives upon bootup (primary/secondary), so I 
don't think the controller is messed..

atacontrol list:
ATA channel 0:
   Master:  ad0 Maxtor 53073H6/DAC10SC0 ATA/ATAPI revision 6
   Slave:   no device present
ATA channel 1:
   Master: acd0 HITACHI CDR-8430/0024 ATA/ATAPI revision 0
   Slave:  ast0 Seagate STT2A/8N43 ATA/ATAPI revision 0
ATA channel 3:
   Master:  ad6 WDC WD1200JB-00GVA0/08.02D08 ATA/ATAPI revision 6
   Slave:   ad7 QUANTUM FIREBALLP AS40.0/A1Y.1500 ATA/ATAPI revision 5
dmesg
Copyright (c) 1992-2005 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 5.3-STABLE #3: Sun Feb 20 19:31:02 EST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HIVE
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (656.47-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x642  Stepping = 2
 
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
 AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 402587648 (383 MB)
avail memory = 388460544 (370 MB)
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT  on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: AMD 751 host to AGP bridge port 0xd000-0xd003 mem 
0xeedff000-0xeedf,0xec00-0xedff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: AMD 756 UDMA66 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
ohci0: AMD-756 USB Controller mem 0xeffaf000-0xeffa irq 10 at 
device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: AMD-756 USB Controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xd200-0xd23f irq 11 at 
device 9.0 on pci0
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:bd:eb:7e
xl1: 3Com 3c905-TX Fast Etherlink XL port 0xd400-0xd43f irq 12 at 
device 10.0 on pci0
miibus1: MII bus on xl1
nsphy1: DP83840 10/100 media interface on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: Ethernet address: 00:60:08:bd:eb:bd
atapci1: Promise PDC20267 UDMA100 controller port 
0xd600-0xd63f,0xd800-0xd803,0xda00-0xda07,0xdc00-0xdc03,0xde00-0xde07 
mem 0xeffe-0xefff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci1
device_attach: ata2 attach returned 6
ata3: channel #1 on atapci1
acpi_tz0: Thermal Zone on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: floppy drive controller port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 
drq 2 on acpi0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 drq 
3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
orm0: ISA Option ROMs at iomem 0xcc000-0xc,0xc-0xcbfff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 656465381 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 

dump/restore indexing question

2004-10-23 Thread doug reynolds
I have freebsd 4.10 on one of my production servers. 

I have been using the dump/restore combo to backup my drive, and I run a 
nightly dump -9 on the /home partition, and most of the dump -9s are 
dumped to a single tape since I don't have daily acs to swap the tapes 
more than once a month or so.

I'm wondering if there is a utility that can index the dumps on a tape 
and list the time/date for each dump on the tape.  I looked through the 
dump/restore/mt  man pages, google'd, and looked though the ports 
without much luck. 

please CC this to my email, as I am not subscribed to the list anymore.. 

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


SpamAssassin

2003-12-23 Thread Doug Reynolds
Just wanted to thank all the people who replied about setting up
Spamassassin w/ Freebsd.  I've got it working, and have cut my spam by
much over half.  I got it working with procmail.

Thanks to all, and Merry Christmas, and Happy new Year.
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


spamassassin

2003-12-20 Thread Doug Reynolds
I've been trying to setup spamassassin on my freebsd box with postfix. 
I was reading the other thread about spamassassin.  What i couldn't
figure out, was how it got the mail from the mail system.  I looked at
spamd but it didn't look like the program.  I googled and still
couldn't find a good tutorial.  If someone knows of a good tutorial and
could give me a quick explaination, i'd be greatful.  Oh, I am running
5.1-RELEASE.  thanx

please CC me if you can
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: Binary Upgrade Problems 4.3 --- 4.9

2003-12-08 Thread Doug Reynolds
On Mon, 8 Dec 2003 16:44:19 -0800, Cal Cornils wrote:

I'm having trouble doing a binary upgrade from 4.3 to 4.9.

Existing 4.3 was installed with 'all' distributions selected, and takes up
about 636M on an old Pentium.

When I tried the upgrade to 4.9 the first time (selecting 'all' again) the
process bombed, and complained about unwillingness to upgrade /src,
suggesting CTM or CVSup - which was fair enough, since this was supposed to
be a 'binary' upgrade.  (Does this always happen??)

Re-installed 4.3 again and re-tried the upgrade - this time with all
distributions chosen (except sources).  Bombed out again, complaining about
'unable to extract stuff into /usr/X11R6 directory'.  However, even with
this outcome, the system seems to be working (almost) OK.  Boots OK with 4.9
kernel and 'uname -a' shows Version 4.9.  All of the files seem to be there
(now takes up 822M), and all of the files I've checked have dates of Oct 27
(which I assume is when 4.9 was built).

However, all of my old configuration files are still stuck in /usr/tmp/etc
and have not been copied back into /etc - only 'new' unmodified versions of
the files are there, also with dates of Oct 27.  And, I assume, there are
troubles in the X11R6 directory, since that's where it was when it bombed.

So, it appears that the upgrade went almost to completion, but ran into
trouble towards the end.

Any suggestions??  I'm beginning to believe that binary upgrades are more
trouble than a 'real' one - even though it 'appears' to be easier.

to be honest with you, I've _never_ had good luck with binary upgrade. 
I've never got one to work.  If you can, patch everything up, install
cvsup, and follow the build world tuturiol on the main website
(www.freebsd.org).  It will take a little time on an old pentium to
recompile the SRC, but on my K6-450, I can build the entire 5.1 src in
under a few hrs (like 2-3), the 4.x series is a lot faster.
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


swap_pager with Freebsd 5.1

2003-09-04 Thread Doug Reynolds
I running FreeBSD 5.1-p2 (I sup'd the src about 2-3weeks ago), and
since I've installed it, I've gotten some weird crashes.  about once
every 7-8 day i'll get the msg:

swap_pager: indefinite wait for swap device: /dev/ad0s1b, buf xxx block
4096

something to that effect, I can't capture the text.  the machine just
keeps looping away, saying that message.  I was googling, and it said
that it could be a bad drive and/or controller/hardware, which i intend
to run maxtor's powermax to test the drive. (any problems with that?  i
have a DD partition).  However, none of this happened until I went to
5.1.   (i was running 5.0 without any problems).  I had like 85 days of
uptime. (and that was only because I sup'd the security fixes).

anyone have any clues?

please CC me, as sometime i can't watch the list..


thanx
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: My computer asks me to run a Manual FSCK

2003-03-30 Thread Doug Reynolds
On Sat, 29 Mar 2003 23:59:56 +, Lee Harr wrote:

/dev/ad4s1a: CAN'T CHECK FILE SYSTEM.
/dev/ad4s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Automatic file system check failed... help!

I find this tends to happen when the disk is on its way out.

I recommend that you back up any important information on
this disk. You can mount a filesystem read-only even without
going through the fsck.

Hardly.

that is what happens when your file system gets corrupted..  I had that
happen when my ups run out on my server.  you just have to FSCK
manually in single user mode.  
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: Attempting to 'make buildworld' (Makefile problem)

2003-03-26 Thread Doug Reynolds
On Wed, 26 Mar 2003 23:24:30 +1100, Adam Carmichael wrote:

I'm new to CVS, and I've only upgraded FreeBSD a few times via CVS, but each
time without many hiccups (well no problems this far into the piece).

But I have to upgrade a machine running FreeBSD 4.6.1-RELEASE-p10 #5 - and I
have a feeling that the last person to upgrade it may have left something
out, or failled to do something. Needless to say, I upgraded an exact same
clone of the box (hardware) from FreeBSD 4.7-RELEASE, and it worked without
a hitch.

Now when I run make buildworld I get the following:

make buildworld
Makefile:137: *** missing separator.  Stop.
*** Error code 2

Stop in /usr/src.

The same goes for make upgrade_checks and make clean (and having almost
no usable c experience, I opened the Makefile in vi, and went to line 137,
but couldn't understand it), but I decided to compare that Makefile with the
Makefile on the computer world did build (and install) successfully on -
there was no difference.

Does anyone have any ideas I could try? How would I find out if the make
utility is broken because other applications (like PHP and Apache) compile

this might be extreme, but, myself, personaly, would rm -rf /usr/src
and redownload the whole src and then try.  However, I would first try
removing the OBJ directory (/usr/obj/usr/src)  and try it again 
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: Make failure

2003-03-17 Thread Doug Reynolds
On Mon, 17 Mar 2003 16:43:07 -0500, David Markle wrote:

Can someone help me with a kernel rebuild make problem ??

I have the source tree in place and modified my CUSTOM kernel in
/usr/src/sys/i386/conf.  When I run make buildkernel it fails with the
following error:

make: don't know how to make buildkernel. Stop

I know I have missed something stupid, but can't find it on the site.
Thanks in advance.

Maybe I am wrong, but unless you've 'make buildworld', you can't 'make
buildkernel'.  you have to do it the 'old-fashoned way'

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: MBR screwed up

2003-03-16 Thread Doug Reynolds
On Wed, 12 Mar 2003 20:29:26 +0100 (CET), Dirk-Willem van Gulik wrote:

On Wed, 12 Mar 2003, dick hoogendijk wrote:

 master drive, but what do I do to get rid of the old fbsd loader on the
 second and get a good windows-xp one?

On older windozes one would boot from floppy and do a

   format.exe c: /mbr

I don't know if that will do it.  I've always used 'fdisk /mbr'. 
afaik, you can only put a mbr on drive 0
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: minimum memory [was: A simple question about FreeBSD]

2003-03-16 Thread Doug Reynolds
On Sun, 16 Mar 2003 07:17:51 +1100, Sue Blake wrote:

On Fri, Mar 14, 2003 at 09:28:14PM -0500, taxman wrote:
 On Friday 14 March 2003 08:23 pm, Wizard of Wor wrote:
  I was unable to find the minimum requirements on x86 platform. Can I
  run FreeBSD on mz 486dx2 8Mb laptop smoothly?
 
 The install documentation or the FAQ does have this answer, but yes you should 
 be able to run fine on this machine.  Just don't try to install X windows, 
 unless you set up a *lot* of swap.  It also depends a little bit on if there 
 is any noncooperative hardware on the machine.  Laptops tend to have some of 
 that.  Best bet is to try it.  4.x will probably work the best for you.


This memory question comes up a lot, and I'm not sure how up to date
that part of the documentation is. Has anyone _definitely_ run an
install on a machine with only 8MB in the last couple of years?

Twice I have failed to install (boot floppy with CD) to machines with
only 8MB RAM. It could have been FreeBSD 4.4, but I think it was
FreeBSD 3.3. I'd love to discover that I'm wrong here.

Of course the alternative is to put the disk in another machine to do
the install, then it should run OK back in the 8MB machine. As for X,
forget trying it. If it was installed it would run but not usably,
no matter how much swap. Without X and with plenty of swap you can do
a lot with your 8MB in text mode if you can get an installation going.
I had a 386 with 8MB running FreeBSD 2.x (without X) that ran much
faster than the NT4 pentium beside it. The 486 CPU should be fine.

AFAIK, you need 12meg to install, but only 8 to run.

I wouldnt run it will less than 16 or 24.  I had 28 megs in a old
486-133, and 4.3-release ran great.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Hot-Swapable Drives and FreeBSD

2003-03-11 Thread Doug Reynolds
On Mon, 10 Mar 2003 13:35:46 -0600, Martin McCormick wrote:

   Is there a safe way short of rebooting to let FreeBSD
know that a hot-pluggable drive has been added?

   I recently added one to a FreeBSD4.7 system.  When the
connector made contact, a console message that Channel A had just
reset popped up so the hardware knew it was there.  The system
continued to work properly as expected, but it only knew about
/dev/da0.

   As soon as I rebooted, it then knew about both drives.

   I wanted to add a new drive to a running system and keep
the reboots down to a minimum.  Thank you.

this might sounds like a dumb question, but did you try to mount the
file system, and do you have made the device node with MAKEDEV?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: monochrome monitor

2003-02-13 Thread Doug Reynolds
On Thu, 13 Feb 2003 14:56:52 -0500, Walter wrote:

I have no manual for this (used) Acer Pentium 120.
The Acer web site does not appear to have schematics
or other MB information (that I could find).  And
looking at the MB I see nothing that leads me (a
non-tech) to think there's a VGA/MGA selector.
Anything particular writing or abbreviations I
might look for?  (Good thought.)
 
 sometimes they say vid video vga/mono color/mono
 
 but since it is a brand name that has been mass produced (ie designed
 to log into AOL and play solitare), it probably doesn't have one, or it
 is labeled something obscure like JP34 or something like that. :(

Nothing like that I saw on the Acer..  BUT!
I also have an (old) HP 486, and on its MB
there's a VGADIS set of pins.  So moving the
jumper over allowed the monochrome monitor
to work (disabled the VGA)!  THANKS!!

cool.  I run my home mail/firewall/natd/etc on a 486dx4/133 so you
should be in good shape

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: bash

2003-02-12 Thread Doug Reynolds
On Wed, 12 Feb 2003 10:23:56 -0500, Kliment Andreev wrote:

 I just installed bash from the ports and changed my shell with the chsh
command.
 I created a .bashrc file with a few settings and put it in my home
directory.
 When i log out and log back in the .bashrc is not being executed. Is there
 something that i need to do before that will work?
 thanks,

# ls -la .bashrc

Check the permissions. Hope this helps.

i put my commands in .bash_login

I dont think bash does .bashrc by default..  look at the manpage .

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: monochrome monitor

2003-02-12 Thread Doug Reynolds
On Fri, 07 Feb 2003 20:05:46 -0500, Walter wrote:

I have no manual for this (used) Acer Pentium 120.
The Acer web site does not appear to have schematics
or other MB information (that I could find).  And
looking at the MB I see nothing that leads me (a
non-tech) to think there's a VGA/MGA selector.
Anything particular writing or abbreviations I
might look for?  (Good thought.)

sometimes they say vid video vga/mono color/mono

but since it is a brand name that has been mass produced (ie designed
to log into AOL and play solitare), it probably doesn't have one, or it
is labeled something obscure like JP34 or something like that. :(

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.25 Floppy

2003-02-12 Thread Doug Reynolds
On Fri, 7 Feb 2003 18:40:24 + (GMT), William Palfreman wrote:

On Fri, 7 Feb 2003, northern snowfall wrote:

  Morning, all;
  I'm trying to get a Mitsumi D509V3 1.2MB 5.25 floppy drive
  to work on FreeBSD 4.2.6.

Cool.  My father still has a 5.25 drive in production use - he has
large numbers of 5.25 disks containing old work, and maybe once a
year needs something off one of them.  Works fine on his W2k box.

 The operating system reports the drive
  is available and definitely makes contact with the drive (visual
  confirmation: LED). The issue is during read/write from the
  drive. Error message:
  fd0c: hard error reading fsbn 0 (No status)
  I have the proper drive type set in the BIOS. FreeBSD seems to
  agree according to the dmesg:
  fd0: 1200-KB 5.25 drive on fdc0 drive 0
  I've been doing simple read tests using:
  dd if=/dev/fd0 count=1 bs=512 | hexdump ;
  Any suggestions?

Drive might be broken, disk might be broken, disk might not be
formated, and finally make sure you know what kind of 5.25 both the
drive and the disk are. 8088/86 machines stated off with single sided 8
sector one @160k, then double sided 8 sector (320k), then single sided 9
sector (180k), then double sided 9 sector (360k).  That was the
standard.  AT machines (i.e. 286s and later 386s  486s) used 1.2Mb
5.25 disks.  These AT drives could read 360k PC disks (PC = 8086/88,
BTW) but if you wrote to one there was a very good chance it would never
be readable by a PC again, because the 1.2Mb AT drive had a read/write
head 1/3 of the size of the 360Kb PC drive, and often the mark it left
was too small to be read by larger PC heads.  For that reason I always
treated 360k disks as read-only media on 1.2Mb drives.

correct; however, you can also format a 360K disk as a 360K High
Density, so you could read or write to it from a 1.2M, and still read
it from a 360k (but not write).

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: No Subject

2003-02-12 Thread Doug Reynolds
On Sat, 08 Feb 2003 00:47:12 -0500, Bill Moran wrote:

Andr‚ Ramos wrote:
 On Sat, 2003-02-08 at 05:33, Mike Meyer wrote:
 
In [EMAIL PROTECTED], [EMAIL PROTECTED] typed:

what are the bbest three languages to learn?

English, Chinese, and Latin.

Of course, that does depend on what you're going to use them for.

 mike
 
 
 Why would anyone want to learn latin?
 Go for portuguese english and french or german!

My goodness but we're all a bunch of smartasses ...

I think the most important are C, perl, and php.

Although I've always wanted to learn Swahili.

everyone should know BASICA.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Determining Ram

2003-02-03 Thread Doug Reynolds
On Sun, 2 Feb 2003 20:02:30 -0600, Mike Meyer wrote:

In [EMAIL PROTECTED], David Larkin [EMAIL PROTECTED] typed:
 Dragoncrest wrote:
  I've got a rather odd question, but I'm looking for the easiest way to
  determin how much ram I have on a given system without rebooting it.  I'm
  sure that there is some kind of console command that tells me that info,
  but I have no idea where to begin looking to find out.  Does anybody
  know?  Thanks.
 use the command dmesg

It may no longer be available there. The dmesg at boot time is
preserved in /var/run/dmesg.boot. The information should be there,
even if it's gone from dmesg.

thats is kinda of odd, is that with 5.0-release?

any clues on why?



---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Changing the FreeBSD boot loader options

2003-02-03 Thread Doug Reynolds
On Mon, 3 Feb 2003 11:30:23 +0100, Anand Buddhdev wrote:

I have installed FreeBSD 4.7 on my desktop, which already had windows
2000 on it in a partition. I also have a second IDE disk in the computer.

Upon boot, I get the following menu:

F1 FreeBSD (default)
F2 DOS
F5 Disk 1

How do I rename the label for F2 from DOS to Windows, and how do I
eliminate F5, since it is not needed? I read the manpage for boot0cfg,
but I couldn't figure out how to do it. Or do I need another boot manager
like grub?

you can't really. 

from what people have posted before, there isn't enough space in the
MBR to do that.

You would probably need to go with grub, although I have never used it,
I think you'd be a lot better off.  my freebsd machine is seperate from
my win machine, so i have my drive DD'd

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD-5.0 xl0 problem

2003-02-02 Thread Doug Reynolds
On Mon, 27 Jan 2003 03:21:45 -0500, Roman wrote:

I currently installed FreeBSD-5.0 and having problem configuring xl 
card. Dmesg shows that kernel picks it up:

xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xe400-0xe47f mem 
0xe000-0xe07f irq 11 at device 9.0 on pci0
xl0: Ethernet address: 00:50:da:7d:f1:c3

after i do ifconfig xl0 up it seems like the card shuts down, the 
link indicator on the hub as well as on the card itself goes blank...

Here is ifconfig before i do anything:

xl0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 options=3RXCSUM,TXCSUM
 ether 00:50:da:7d:f1:c3
 media: Ethernet 100baseTX hw-loopback (100baseTX 
full-duplex)
 status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet 127.0.0.1 netmask 0xff00

ifconfig after ifconfig xl0 up:

  xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=3RXCSUM,TXCSUM
 inet6 fe80::250:daff:fe7d:f1c3%xl0 prefixlen 64 scopeid 0x1
 ether 00:50:da:7d:f1:c3
 media: Ethernet 100baseTX hw-loopback (none)
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
 inet 127.0.0.1 netmask 0xff00


With 4.7 there is no such problem. Is there is a way to load old 
(4.7) xl driver?
Thank you.
roman.

running 5.0-RELEASE without any problems, what does your rc.conf look
like?

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::260:8ff:febd:eb7e%xl0 prefixlen 64 scopeid 0x1 
ether 00:60:08:bd:eb:7e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
xl1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::260:8ff:febd:ebbd%xl1 prefixlen 64 scopeid 0x2 
inet outside IP addr netmask 0xff00 broadcast
255.255.255.255
ether 00:60:08:bd:eb:bd
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet 127.0.0.1 netmask 0xff00 
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: WebSSL

2003-02-02 Thread Doug Reynolds
On Fri, 31 Jan 2003 20:18:20 +0100 (CET), Gannater J nos wrote:

I would like to set up ssl for my webserver.
Altohught I want to use my non-secure webserve as well.
How can I do this?
Is it better to install Apche 2.0 then 1.3?

IMHO, it is still better to use 1.3.  I tried to setup 2.0 about a
month ago; a lot of add ons for apache dont quite work with 2.0 yet.

Also, I think you need to have to an official security certificate to
run SSL.  they run about $300-500.  unless, I am missing something
important about SSL

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Samba and XP?

2003-02-02 Thread Doug Reynolds
On Fri, 31 Jan 2003 16:08:44 -0500, John Wilson wrote:

I am currently seeking advice in regard to allowing an XP Home Edition
machine to have access to a FreeBSD mount.  I've looked over Samba, and not
only have I seen references to XP's inability to join a 'domain
based-network', but also don't really like the idea of installing Samba as
it's a rather large package (relatively speaking) for what it simply does.

My only other alternative, if I am correct, is trying to obtain an NFS
client for the XP machine and simply serve NFS mounts on the FBSD host.  The
downside to this is the cost of the NFS clients for the XP machine. :)

Are there any other alternatives available here?  If not, which of the above
two 'solutions' would be best?  I only have one BSD machine and one XP
machine, and I'd like to allow read/write access to a FBSD mount from the XP
machine.

I have SAMBA 2.2.6 and Windows XP working great.  I have Samba setup as
a PDC.  the worst you have to do is run the SignOrSeal.reg fix from
microsoft to login.  you have to do that with NT 5.0 as well.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Verizon DSL+PPPoE

2003-02-01 Thread Doug Reynolds
On Fri, 31 Jan 2003 08:54:55 -0500, Matthew Emmerton wrote:

 I remember seeing this posted about a year ago, but I couldn't google
 it

 one my business server, I run Verizon DSL and PPPoE.  I setup it up
 like with the example they used on Freebsddairy.

 the problem I ran into, after about 1 week is that the connection just
 died.  everything is lit up, no log entries in the ppp.log.  the only
 solution was a 'killall ppp' and restarting in about a minute later,
 and everything is fine...

 however, after i did that, I noticed my IP changed.  whereas i've
 closed the connection b4 and reopened it and got the same IP.  Does
 this have something to do with ppp not accepting a renewed DHCP IP
 address?

PPP doesn't use DHCP; you're confusing two technologies.

Whether or not you get the same IP after dropping your connection depends
entirely upon your provider.  Some providers will keep recently-dropped IPs
around for some period of time so that you can get the same IP back when you
reconnect, but others won't.

In most cases, PPPoE service with dynamic IPs are not designed for hosting
servers (which is the only case where you'd need a static IP).  If this is
allowable by your AUP, I'd look into using a commercial DNS service that can
let you auto-update your IPs when they change.  My personal choice is
ZoneEdit (http://www.zoneedit.com).

sorry, I guess i wasnt clear enough; i do not mind that, what I mind,
is that PPP keeps locking up.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Verizon DSL+PPPoE

2003-01-31 Thread Doug Reynolds
I remember seeing this posted about a year ago, but I couldn't google
it

one my business server, I run Verizon DSL and PPPoE.  I setup it up
like with the example they used on Freebsddairy.  

the problem I ran into, after about 1 week is that the connection just
died.  everything is lit up, no log entries in the ppp.log.  the only
solution was a 'killall ppp' and restarting in about a minute later,
and everything is fine...

however, after i did that, I noticed my IP changed.  whereas i've
closed the connection b4 and reopened it and got the same IP.  Does
this have something to do with ppp not accepting a renewed DHCP IP
address?

is there anyway to fix this, except to used cron to kill it everynight?

please CC me,
thanx

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Unfortunate...

2003-01-24 Thread Doug Reynolds
On Wed, 22 Jan 2003 15:24:26 -0700, Bill Nolastname wrote:

It is unfortunate that one of the developers with freebsd.org also supports 
companies that hijack web browsers.

I had respect for freebsd before learning this, now, I do not.

dude, i'm sure any operating system out you use supports web site
hacking, phreaking, killing, stealing, cracking, and etc.  

You didn't have to pay for it, so get over it, or try to find a 'good'
OS, like Windows XP.  I am sure Bill Gates doesn't authorize any 'web
browser hijacking'

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Starting DHCPD

2003-01-24 Thread Doug Reynolds
On Fri, 24 Jan 2003 10:10:41 - (GMT), Danny Horne wrote:

Hi all,

I'm making changes to my network which will require using my own DHCP server.
 It's all set up  ready to go, but I can't find any way of getting it to
start on boot up.

There's nothing that I can find in /etc/defaults/rc.conf or /etc/rc.conf, 
no startup scripts in /usr/local/etc/rc.d

I've used this DHCP server before (have recently been using a different one
on the network) so I know it can work, but just can't find any way of
starting it automatically.

if you installed it via the ports, it should install:

-r-xr-xr-x  1 root  wheel  1662 Apr 14  2002 isc-dhcpd.sh.sample

look for that, if not, i can email you mine

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



questions about space and RAID

2003-01-24 Thread Doug Reynolds
Couple quick questions:

At work, I just bought a new P4 Dell Server with an 80G mirrored IDE
RAID.

I went with IDE since it doesn't have to be a totally failsafe system
(not handling a 100,000+ hit website, just interoffice file sharing 
etc). 

Supposed, it is configured (I haven't had a chance to play with it yet)
to have the drives hardware mirrored.  Will I need to setup FreeBSD to
recognize this, aside from just loading the RAID card in the kernel?

the other thing is with the 80GIG size.  what kind of filesystem
settings should I use?  (like block size etc)

and would these slice settings be good enough, mainly, it'll handle
mail and some websites, along with SAMBA sharing and backups:

swap:2G (1G of ram)
/:1G (allow for 5.x-RELEASE when it's production ready)
/var:5G
/home:35G
/usr:the rest

??

thanx for your insights


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.0-RELEASE and mount_msdos

2003-01-23 Thread Doug Reynolds
On Wed, 22 Jan 2003 17:12:30 -0500, Bill Moran wrote:

Doug Reynolds wrote:
 On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote:
 
 
Not a critical question, but ...

Working on my spiffy test machine, I noticed that 5.0-RELEASE does
not have a mount_msdos command.
It's no biggie, I just used 'mount -t msdos' and got what I wanted,
but I was wondering why this was missing?  Is there a reason why
it was removed, or is it some oversight?  I doubt it's an oversight,
as the man page is missing as well.

Mostly curious, but I thought I'd point it out in case it was a
mistake.
 
 
 afaik:
 
 [root@/usr/bin]uname -a
 FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20
 20:21:37 EST 2003
 
 [root@/usr/bin]mount_msdos
 usage: mount_msdos [-o options] [-u user] [-g group] [-m mask]
[-s] [-l] [-9] [-L locale] [-W table] bdev dir
 
 and man mount_msdos brings up the manpage.

Hmmm ... did you upgrade this machine from 4.X?  The machine in question
is a clean 5.0-RELEASE install.

yes, more reseach shows that:

-r-xr-xr-x  1 root  wheel  184776 Dec 24 12:05 mount_msdos*
-r-xr-xr-x  1 root  wheel  394716 Jan 20 19:26 mount_msdosfs*

seems that mount_msdosfs has replaced mount_msdos

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.0-RELEASE and mount_msdos

2003-01-23 Thread Doug Reynolds
On Thu, 23 Jan 2003 00:12:40 +0200, Giorgos Keramidas wrote:

On 2003-01-22 16:52, Doug Reynolds [EMAIL PROTECTED] wrote:
 On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote:
 Working on my spiffy test machine, I noticed that 5.0-RELEASE does
 not have a mount_msdos command.  It's no biggie, I just used 'mount
 -t msdos' and got what I wanted, but I was wondering why this was
 missing?  Is there a reason why it was removed, or is it some
 oversight?  I doubt it's an oversight, as the man page is missing
 as well.

 afaik:

 [root@/usr/bin]uname -a
 FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20
 20:21:37 EST 2003

 [root@/usr/bin]mount_msdos
 usage: mount_msdos [-o options] [-u user] [-g group] [-m mask]
[-s] [-l] [-9] [-L locale] [-W table] bdev dir

 and man mount_msdos brings up the manpage.

Strange.  This has been changed a while ago:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount_msdosfs/Makefile.diff?r1=1.17r2=1.18

and the only mount_msdos binary that I have in my system is a rather
stale copy from Oct 9 2002 (boy, I need to clean up this installation
one of these days):

seems so.  is there any automated way to prune the old stuff?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.0-RELEASE and mount_msdos

2003-01-23 Thread Doug Reynolds
On Thu, 23 Jan 2003 01:42:47 +0200, Giorgos Keramidas wrote:

On 2003-01-23 00:12, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 Strange.  This has been changed a while ago:
 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount_msdosfs/Makefile.diff?r1=1.17r2=1.18

 and the only mount_msdos binary that I have in my system is a rather
 stale copy from Oct 9 2002 (boy, I need to clean up this installation
 one of these days):

 giorgos@gothmog[00:11]/home/giorgos$ ls -lT /sbin/mount_msdos*
 -r-xr-xr-x  1 root  wheel  - 183776 Oct  9 15:45:24 2002 /sbin/mount_msdos
 -r-xr-xr-x  1 root  wheel  - 378172 Jan 22 18:47:00 2003 /sbin/mount_msdosfs

Which was the date that I installed a 4.4-RELEASE copy and tried to
upgrade using the source to 5.0-CURRENT.  Sorry for forgetting to
mention that.  Reading the commit log reference above and the date of
the binary someone could have thought that somehow mount_msdos was
still there in Oct 19 2002 in the 5.X branch.  It wasn't...

kinda weird though, the date on my file was Dec 24 2002, the date of my
last 4.7-STABLE buildworld.. hmmm

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: mod_perl: how to compile static ?

2003-01-23 Thread doug reynolds


On Fri, 24 Jan 2003, [koi8-r] éÌØÑ ûÉÐÉÃÉÎ wrote:

 Dear Sirs,

 I asked how to compile mod_perl statically on apache's mailing list, there
 was no answer.

 Anyone can tell me how to do that ?

cd /usr/ports/www/mod_perl
make install
make clean



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)

2003-01-22 Thread Doug Reynolds
On Tue, 21 Jan 2003 21:34:08 -0800, Elden Fenison wrote:

* Doug Reynolds [01/21/2003 22:22]:
 according to /usr/src/UPDATING, multiuser updating from 4.7 to 5.0 is
 slim to impossible.

Sorry, I should have clarified... it was the first part of his question
that interested me... and that isn't answered in UPDATING... about
getting rid of the old perl/uucp stuff.

AFAIK, when i did it, I had to install perl from the ports again.  it
seems like the only things it left from the old perl was:

/usr/libdata/perl/5.00503/

this, at least, after i installed the new perl

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Error compiling kernel

2003-01-22 Thread Doug Reynolds
On Wed, 22 Jan 2003 18:27:02 +0100, Ernest Hammerschmidt wrote:

Hello,

I just installed FreeBSD 4.7 yesterday and tried to install a new kernel
following the instructions from the handbook. Unfortunately I ran into
the following problem when executing
'make buildkernel KERNCONF=MYKERNEL':


   === crypto
   @ - /usr/src/sys
   machine - /usr/src/sys/i386/include
   make: don't know how to make bf_enc.c. Stop
   *** Error code 2

if you haven't used buildworld, you have to 

cd /sys/i386/conf
config YOURKERNELNAME
cd  ../compile/YOURKERNLNAME
make depend
make 

and then
make install

(been a long time since i've done it that way, hopefully I didn't
forget anything)

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: PPP strangeness - hosed my /etc/hosts file

2003-01-22 Thread Doug Reynolds
On Wed, 22 Jan 2003 12:49:12 -0500, Louis LeBlanc wrote:

Hey all.  I've been with Verizon DSL for 3 or 4 months now, and just
when I think I'm getting things right, I start seeing some really
screwy behavior.  ifconfig shows the following for the PPP interface
(tun0)
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet6 fe80::2a0:c9ff:fe74:12a3%tun0 prefixlen 64 scopeid 0x8 
inet 68.160.2.89 -- 10.9.64.1 netmask 0xff00 
inet 68.160.25.67 -- 10.9.76.1 netmask 0xff00 
Opened by PID 67

The weird thing is that the first IP is not valid.  I'm sure this is
not supposed to be the case, but I don't know how I should fix it.  My
/etc/hosts and httpd.conf files were hosed because of it, so I'm going
to have to figure out how to spot this problem in the scripts, and at
least warn about it, if not fix it on the fly.

sounds like your being assigned a new ip address and not getting the
routing cleared.  on dialup, i add this:

/etc/ppp/ppp.linkup
/etc/ppp/ppp.linkdown

and add

CONNECTIONNAME:   -- change to your connection name
  iface clear


and that does the trick for me..  with dialup, ez-ipupdate would grab
the first one (which was the previous IP) and send it in wrong

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 5.0-RELEASE and mount_msdos

2003-01-22 Thread Doug Reynolds
On Wed, 22 Jan 2003 12:21:08 -0500, Bill Moran wrote:

Not a critical question, but ...

Working on my spiffy test machine, I noticed that 5.0-RELEASE does
not have a mount_msdos command.
It's no biggie, I just used 'mount -t msdos' and got what I wanted,
but I was wondering why this was missing?  Is there a reason why
it was removed, or is it some oversight?  I doubt it's an oversight,
as the man page is missing as well.

Mostly curious, but I thought I'd point it out in case it was a
mistake.

afaik:

[root@/usr/bin]uname -a
FreeBSD ## 5.0-RELEASE FreeBSD 5.0-RELEASE #30: Mon Jan 20
20:21:37 EST 2003

[root@/usr/bin]mount_msdos
usage: mount_msdos [-o options] [-u user] [-g group] [-m mask]
   [-s] [-l] [-9] [-L locale] [-W table] bdev dir

and man mount_msdos brings up the manpage.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD 4.7 - 5.0 (Removing Perl/UUCP safly?)

2003-01-21 Thread Doug Reynolds
On Tue, 21 Jan 2003 16:06:11 -0800, Elden Fenison wrote:

* Alex [01/21/2003 21:01]:
  How to safly and completely  remove Perl / UUCP and maybe others which 
  have been removed from the source tree. UPDATING doesnt mention anything 
  about it.
 
  Furthermore there is need for doing installworld on some boxes far away 
  in multi user mode. any chance this works?
 
 Are you looking for the Early Adopter's Guide? (its on the main
 webpage)

This seems a little ironic. The Early Adopter's Guide simply points you
to /usr/src/UPDATING... and the original poster said he'd already looked
there... and now you're pointing him back to the Early Adopter's Guide.

I would also like an answer to the original poster's question, but it's
doesn't exist in the Early Adopter's Guide... nor does it seem to exist
in UPDATING.

according to /usr/src/UPDATING, multiuser updating from 4.7 to 5.0 is
slim to impossible.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: TX underrun

2003-01-19 Thread Doug Reynolds
On Sat, 18 Jan 2003 03:17:01 +0100 (CET), Marc Schneiders wrote:

On Thu, 16 Jan 2003, at 22:27 [=GMT-0500], Doug Reynolds wrote:

 On 17 Jan 2003 00:08:11 +, Stacey Roberts wrote:

 does anyone know of a way to automatically increase the buffers to say
 like 256 bytes?

Mine automatically DEcreases at an underrun.

It's a 3Com 3c905C-TX Fast Etherlink XL.

 xl1: tx underrun, increasing tx start threshold to 180 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 240 bytes

does that mean it is increasing or decreasing?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



adduser question

2003-01-17 Thread Doug Reynolds
I am trying to add some samba machine names to my system.  you have to
add a dollar sign to the username.  ie, hostname$.  what would be the
pattern i'd have to enter into the adduser prompt.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Apache_fp Port install problem

2003-01-16 Thread Doug Reynolds
On Sat, 11 Jan 2003 11:31:22 -0600, Jack L. Stone wrote:

I just updated from FBSD-4.5 to 4.7 on a server running apache_fp.1.26. The
update somehow has broken the FP extensions (ugh!). I have tried a number
of fixes, including portupgrade, but get a checksum error there. Have tried
to rerun the present install of FP using fp_install.sh, but get this error:
Who should own web root web on port 80 [www]:  
What should the group for web root web on port 80 be [www]:  
/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol __stderrp
ERROR: Unable to chown web root web in port 80
Hit enter to continue

I'm also seeing the __stderrp error in my httpd-error.log whenever I try
to login to FP. So, something has changed in the FBSD-4.5-4.7 update and
I've never seen this error, so don't know what needs to be fixed. I have
another server running apache_fp.1.27 on FBSD.4.7 just fine.

It's looking like an uninstall/reinstall completely for apache+fp
didn't want to have to do that on a box with a bunch of virtual hosts.

Has anyone seen the above problem on similar installs...???

yeah, you need to have COMPAT3X=TRUE in your /etc/make.conf

took me three day to figure that one out

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: apache 2 and /usr/ports/www/frontpage

2003-01-16 Thread Doug Reynolds
On Tue, 14 Jan 2003 11:20:34 +1100, BSD Freak wrote:

Anyone know if the /usr/ports/www/frontpage port works with the apache 2
port?

i never got it to work, i think they are working on it though.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Apache_fp Port install problem

2003-01-16 Thread Doug Reynolds
On Thu, 16 Jan 2003 19:52:33 -0600, Jack L. Stone wrote:

I'm also seeing the __stderrp error in my httpd-error.log whenever I try
to login to FP. So, something has changed in the FBSD-4.5-4.7 update and
I've never seen this error, so don't know what needs to be fixed. I have
another server running apache_fp.1.27 on FBSD.4.7 just fine.

It's looking like an uninstall/reinstall completely for apache+fp
didn't want to have to do that on a box with a bunch of virtual hosts.

Has anyone seen the above problem on similar installs...???

yeah, you need to have COMPAT3X=TRUE in your /etc/make.conf

took me three day to figure that one out

---
doug reynolds | the maverick | [EMAIL PROTECTED]

Hi, Doug: You say COMPAT3X=TRUE

...but the /etc/defaults/make.conf says:
COMPAT3X= yes(note the spacing too)

Will you double-check this syntax?? I thought it had to be the same as
the default statement, but my first attempts using COMPAT3X= yes didn't
do any good. Then someone (Gordon) suggested deleting /usr/scr and adding
the statement as well. Did you do that too...??? ..or just the add to the
make.conf I'd rather not delete /usr/src if not necessary and the
question boils down to:
COMPAT3X=TRUE vs COMPAT3X= yes (I guess)

...sorry for all the nit-pick questions, but I know the problems lies here
and something simple.

I know for sure i did not delete my /usr/src; I don't think i even did
a make clean, but i might have.  i don't normally do that.  I know it
works, frontpage works everytime.

this is what my make.conf say (in full)

CPUTYPE=k6-2
NO_SENDMAIL=true
COMPAT3X=true

according to man make.conf


 The following list provides a name and short description for
variables
 that are used during the world build:

 COMPAT1X  (bool) Set to install the FreeBSD 1 compatibility
   libraries.

 COMPAT20  (bool) Set to install the FreeBSD 2.0 compatibility
   libraries.

 COMPAT21  (bool) Set to install the FreeBSD 2.1 compatibility
   libraries.

 COMPAT22  (bool) Set to install the FreeBSD 2.2 compatibility
   libraries.

 COMPAT3X  (bool) Set to install the FreeBSD 3 compatibility
   libraries.

 COMPAT4X  (bool) Set to install the FreeBSD 4 compatibility
   libraries.

boolean should mean true or false, but in most cases, it means yes  no
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD 4.7 cannot fit to 200MB disk!!

2003-01-16 Thread Doug Reynolds
On Mon, 13 Jan 2003 16:28:28 -, Petr Slansky wrote:

Hello!

I tried to install FreBSD 4.7 on i486@133 with 16MB of Ram and 200MB disk. W95
worked nice on that machine. I failed to install a minimal configuration of
FreeBSD on such hardware!! Is it ok? I wanted only basic console...

I noticed that many source files (*.h) were instaled to my disk. Is it ok??
From my point of view, instalation could be more scalable, minimal could be
more minimal.

This is not a big problem for me, I will run W95 on my old pc as I did. I was
only suprised how big modern FreeBSD is. Is it necessary? I like new programs,
more options, but I would like to have an option to add them only when I need
them.

if you need something that minimal, look for picobsd or minux.  the
smallest hd i've ever used freebsd 4.x on was an 850meg on a 486/133.. 
i'd get a p1-100 with a little more ram.  people throw them away
everyday

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: TX underrun

2003-01-16 Thread Doug Reynolds
On 17 Jan 2003 00:08:11 +, Stacey Roberts wrote:

 I only had one message like this, so I think it would be best to wait and
 see if i get message mor often. I think my cables are OK.

Is this a Linksys nic? I only ask because the only occasion that *I*
have heard of this becoming a problem (causing a kernel panic) had to do
with a Linksys nic repeatedly putting out those messages over a period
of time, with the box resetting itself some time after messages
appeared.

I feel its only fair to mention this. But if, as you say, that this is
only the one message then I would imagine that there's less of a chance
that a problem exists, but on the other hand, it wouldn't hurt to
monitor for a few days..,

my 3com 905s do that about 50% of the time; however, I haven't noticed
more than about 3 or 4 over a month's amount of time.

does anyone know of a way to automatically increase the buffers to say
like 256 bytes?

I always thought 3com had a decent NIC; I guess I was wrong.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ICQ?

2003-01-13 Thread Doug Reynolds
On Mon, 13 Jan 2003 14:44:12 -0500, Brian T. Schellenberger wrote:


I tried a couple of FreeBSD ICQ clients but they wanted me to tell them 
my ICQ ID.

Well, I don't have one yet..

How do you get one in the first place?

you probably can't unless you use the windows client.  However, I am
pretty sure you can obtain one if you goto http://www.icq.com/

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Setting Permissions For /etc and /etc/mail

2003-01-10 Thread Doug Reynolds
On Fri, 10 Jan 2003 11:34:08 -0800 (PST), Yeah! wrote:


Can someone tell me the chmod commands I need to type
to get the permissions to match those below:

drwxr-xr-x  16 root  wheel  2560 Jan  6 10:01 /etc/
drwxr-xr-x   2 root  wheel  1024 Dec 25 18:47
/etc/mail/

man chmod


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Bios not recognizing correct HD size

2003-01-09 Thread Doug Reynolds
On Wed, 8 Jan 2003 18:18:18 -0600, Mike Loiterman wrote:

 
 
On Wednesday, January 08, 2003 5:54 PM Stephen Hovey mailto:[EMAIL PROTECTED] 
wrote:

 I think you're right.  So should I just define the drive correctlt in
 fdisk?  If so, what would be the proper settings.
 
 
 usually a drive has em on the drive on something - a sticker/label
 sorta thing with head, cyl, sect, etc

Ok I found out the proper numbers:
39704  cyls, 16 heads, 63 sectors. 

I defined it that way in the BIOS.

When I get to the fdisk part of the install I did 'G'.  I then set the geometry 
according to those numbers and told it to use the entire drive.  When I go to define 
the slices, though, it still thinks the drive is only 2 gigs.  What am I doing wrong?

I had the same trouble with a maxtor driver b4, couldn't figure it out.
 

sometimes they come with a jumper enabled so you only see like 2 gig of
a 20 gig drive, _even_ if you tell freebsd the whole geometry.
i removed the jumper, and all was well

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sound card question

2003-01-06 Thread Doug Reynolds
On Wed, 01 Jan 2003 18:36:05 -0500, Tom Parquette wrote:

I'm starting to look at adding a basic sound card to my machine.
I'm looking at Sound Blaster since it seems to be the least common 
denominator.

The motherboard does not have any ISA slots.  (PCI only).
The man page on the web site indicates the sound blaster support is for 
ISA.  
The hardware support web page for 4.7-RELEASE really does not say much 
of anything about ISA vs. PCI.
Is a PCI sound blaster card supported?  
TIA...

I'm using a Sound Blaster LIVE PCI with 4.7 without trouble

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: (OT) non-keyboard ascii characters

2003-01-04 Thread Doug Reynolds
On Tue, 31 Dec 2002 16:51:29 -0500 (EST), John Bleichert wrote:

Hello All

Is there anyway to get e.g. a u with an umlaught over it (ASCII 159 I 
think) in a text emailer like pine or mutt, if your keyboard doesn's have 
said character? How about text editors like nedit?

Hopefully not too, too offtopic.

back in the olden days with DOS, you'd hold down the alt key and punch
in the ASCII code into the numeric keypad.  it still works with winXP,
but never tried it on freebsd.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 2 networks, six NICs, 3 Servers, 1 switch.

2002-12-30 Thread Doug Reynolds
On Sun, 29 Dec 2002 19:26:36 -0500, Grant Peel wrote:

Hi all,

I am about to move our 2 servers, and add a third, to a new colo.

On each of the three servers there will be two NICs.

1 NIC on each box is to be dedicated to the internet.

1 1 NIC in each box is to be dedicated to local. (192.168.0.1-3).

Can I plug all three NIC s into one switch (the switch will also be
connectoed to our providered swtch, for Inet connection) and expect both
networks to work OK?

I think it would work, however, by doing that you could possibly open
up your local network for attack.


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Squirrel Mail on freebsd

2002-12-30 Thread Doug Reynolds
On Mon, 30 Dec 2002 09:42:54 +0200, Luke Kyohere wrote:

hello,
Anyone know of any bugs when running (or trying to run) squirrelmail off a
freebsd box? Coz I have been trying to do this for a while now with appaling
results timeouts, php related errors like maximum execution time
exceeded, very slow response, and it seems that it cannot handle loads like
lots of mail in the mailbox etc.

If someone has used squirrelmail successfully on freebsd, I'd please like to
know what configuration you are using, eg what imap server, what mail
formats etc, Thanx in advance.

I had 1.2.8 running fine with apache 1.3 + mod_PHP4 + courier-imap.

I use Postfix with /Maildir.  

I, however, now use IMP3

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to get the current modem speed ?

2002-12-28 Thread Doug Reynolds
On Sat, 28 Dec 2002 10:15:21 +0700, dodi agusri wrote:

I use USER PPP to connect to internet . what is the 
command to  display  the current 
Speed of my modem ?
Thank fo reply.

cat /var/log/ppp.log | grep CONNECT

and look at the last one

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: dos2unix? rmcr?

2002-12-28 Thread Doug Reynolds
On Sat, 28 Dec 2002 22:54:53 -0800 (PST), Chris P wrote:


Hello,
  Anyone know of any similar commands that will strip out the DOS
control-M's that show up in files?  dos2unix in solaris... rmcr in SCO..
how about FreeBSD?

there is a dos2unix in the ports...

cd /usr/ports
make search key=dos2unix

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: MSN Messenger

2002-12-23 Thread Doug Reynolds
On Mon, 23 Dec 2002 09:32:02 +0200 (SAST), Wayne Swart wrote:

Lo everyone

Is there an equivalant for msn messenger on X ?

there is everybuddy, a program that supports (i think) all IM type
networks

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Low level formating for IDE

2002-12-23 Thread Doug Reynolds
On Mon, 23 Dec 2002 18:43:52 +0200 (EET), Dmitry Ternovoy wrote:

Hallo! Help me please. How can I do low level format IDE disk on FreeBSD 4.7?

I am sure you can, but you are better off to goto the manufacture's
website, and download their diagnostic utility for that purpose


---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



IMP3 webmail + apache

2002-12-13 Thread Doug Reynolds
Does anyone know of any really good faqs to setup imp3 webmail with
apache?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Hubs and switches (was: uninformed qstn...)

2002-12-13 Thread Doug Reynolds
On Fri, 13 Dec 2002 23:05:57 -0500, Scott Robbins wrote:

On Fri, Dec 13, 2002 at 09:48:50PM -0600, Tillman wrote:
 On Sat, Dec 14, 2002 at 02:11:31PM +1030, Greg 'groggy' Lehey wrote:
  I've seen little difference.  But DONT BUY A HUB!  Buy a switch
  instead.  They'll give you better performance, and they hardly cost
  any more.
=20
 Great advice. It looks like Cisco has even stopped listing hubs for sale
 - layer two switching seems to firmly in control these days :-)

The price difference has really become almost non-existent--one thing
that we've found to happen with some cheap switches (a year or so old,
hasn't happened with newer cheap switches) is that if one moves a computer
from one location to another, the switch seems to take its time flushing
its tables and the box won't immediately be able to get an address.
It's only happened once or twice with a VERY cheap Linksys (again, the
switch is probably 1-2 years old, and this problem might be fixed by
now).

I should also add that we never fully determined that was the
problem--it was usually a matter of trying this and that and eventually
the box would get an address and only afterwards did we think of the
switch as the culprit.

I just picked up two Dell PowerConnect 2016 (16 port 10/100
autosensing) for $99 a piece on sale from dell.  they are
rack-mountable and seem to work well, and has uplink autosensing.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD-Stable + apache13 + mod_frontpage

2002-12-09 Thread Doug Reynolds
On Mon, 9 Dec 2002 00:48:31 -0500, David Banning wrote:

 Will chown web to www as part of install.
 Will chgrp web to www as part of install.
 /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol

Does /usr/lib/libm.so.2 exist?

seems to:

[root@/]dir /usr/lib/libm.so*
lrwxr-xr-x  1 root  wheel   9 Nov 17 14:21 /usr/lib/libm.so@ -
libm.so.2
-r--r--r--  1 root  wheel  117024 Nov 17 14:21 /usr/lib/libm.so.2
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: need help setting up a transparent proxy

2002-12-08 Thread Doug Reynolds
On Sat, 7 Dec 2002 13:35:26 -0600, Glenn Johnson wrote:

I am trying to set up a transparent squid proxy with ipfw.  I am using
FreeBSD 4.7-STABLE (current as of today), version 2.5_1 of squid.  I
have read the relevant information on the squid Web site and searched
the FreeBSD mail archive.  I am pretty sure I have everything set up
right but it just does not work.

I have the following in my kernel config:

options IPFIREWALL  #firewall
options IPFIREWALL_FORWARD  #enable transparent proxy support
options IPDIVERT#divert sockets
options IPSTEALTH   #support for stealth forwarding

I have the following in my squid.conf file:

http_port 3128
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

I am using the SIMPLE firewall setup I have the following in my
rc.firewall file

   # Allow setup of any other TCP connection
${fwcmd} add pass tcp from any to any setup

# Try this to get a transparent proxy
${fwcmd} add fwd 127.0.0.1,3128 tcp from any to any 80

I have also tried setting the first rule above to ...any to any 80 but
that did not help.

did you run squid -z to create the swap directories?
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



FreeBSD-Stable + apache13 + mod_frontpage

2002-12-08 Thread Doug Reynolds
I am having a problem with the frontpage 5 extentions.

everytime i run the fp_install.sh script I get:

Creating and modifying new
/usr/local/frontpage/version5.0/frontpage.cnf...

  Note: Local version of Apache must use the FrontPage Apache patch.
  See http://www.microsoft.com/frontpage/ for more details.

Note: If you have not installed the root web then you need to do it
now.

Do you want to install a root web (y/n) [Y]?  
 
Installing the root web...
 
Server config filename:  [/usr/local/etc/apache/httpd.conf] 
FrontPage Administrator's user name:  [fpadmin] 

Getting User from /usr/local/etc/apache/httpd.conf
Unix user name of the owner of this new web: [www]  

Getting Group from /usr/local/etc/apache/httpd.conf
Unix group of this new web: [www]  
Installing root web into port 80...


installing server  /  on port  80

Will chown web to www as part of install.
Will chgrp web to www as part of install.
/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol
__stderrp
ERROR:  / installation failed.
Hit enter to continue


and I get this when running bin/owsadm.exe:

[root@/usr/local/frontpage/version5.0]bin/owsadm.exe
/usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol
__stderrp
[root@/usr/local/frontpage/version5.0]

any clues?  i am running FreeBSD :

FreeBSD xx 4.7-STABLE FreeBSD 4.7-STABLE #24: Sun Nov 17
19:58:02 EST 2002 

thanx

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD-Stable + apache13 + mod_frontpage

2002-12-08 Thread Doug Reynolds
On Sun, 08 Dec 2002 23:37:35 -0500, Doug Reynolds wrote:

I am having a problem with the frontpage 5 extentions.

everytime i run the fp_install.sh script I get:

oh - wantd to mention i've been google'n for the last 2 hrs looking for
an answer :(

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: can't open /dev/ad7s1e: Device not configured

2002-12-07 Thread Doug Reynolds
On Fri, 6 Dec 2002 14:24:39 -0600, Bill McMilleon wrote:


I am not a FreeBSD expert by any means, but I amd getting this
unfortunate error with a Maxtor 160g ATA/133 drive I have hooked
up to a Promise Ultra 133 controller.  The system was fine and
ran on FreeBSD 4.6.2 RELEASE, and I tried moving the controller and
drive over to another box after installing 4.7 RELEASE on it.

I did nothing to the drive through software.

I could not see the drive on the 4.7 system.

I moved it back to the 4.6.2 box and this is the error I'm getting
and I'm dumped into the single-user shell.

some might have already said this, but you need to do MAKEDEV the
drive..

ie:

cd /dev

./MAKEDEV ad7

you might have to do that for ad4 ad5 ad6 as well.

and i believe the drive needs to be plugged in when you boot up.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Doug Reynolds
On Tue, 03 Dec 2002 20:12:47 -0800, Mike Hogsett wrote:


Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

I know i did that when i installed a promise ATA66100 addon card..  I
had to make ad4 5 6 7

although i only had 1 drive and two cdroms on the mobo controller

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: More then 4 IDE devices in one FreeBSD server.

2002-12-04 Thread Doug Reynolds
On Wed, 04 Dec 2002 11:11:32 -0600, Jack L. Stone wrote:

At 11:49 AM 12.4.2002 -0500, Doug Reynolds wrote:
On Tue, 03 Dec 2002 20:12:47 -0800, Mike Hogsett wrote:


Can't you just go down into /dev and do :


./MAKEDEV ad4 ad5 ad6 ad7

and gain access to the 4 drives on a second (supported) IDE controller?

I know i did that when i installed a promise ATA66100 addon card..  I
had to make ad4 5 6 7

although i only had 1 drive and two cdroms on the mobo controller

---
doug reynolds | the maverick | [EMAIL PROTECTED]


Yes, with RAID enabled on the MB, then it wants ad4 as first device and up
as far as FBSD is concerned. Using the ATA enable only (and not the RAID)
then it is not activated... at least on my MB with a Promise ATA100/RAID.
The MB uses jumpers for each of these.

mine wasn't RAID.  it jumps to ad4 because the mb has ad0 - ad3
---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mail Server Advice

2002-11-30 Thread Doug Reynolds
On Sat, 30 Nov 2002 12:09:28 +0100, Cliff Sarginson wrote:

On Fri, Nov 29, 2002 at 09:15:35AM -0500, Dave [Hawk-Systems] wrote:
 postfix on freebsd is apparently more efficient than qmail, though.
 
 no comment on that (lest we revive deep rooted animosity between the two
 camps)...
 
Hey, no animosity here. I use Postfix, but having never used qmail I
don't have any feelings about it at all. Postfix works for me (and
without really starting a flame war ... hee hee ... I would rather use a
postage stamp for my mail than sendmail .. joke guys, joke !).

I've used both, I now use postfix..  I can't say which is more
configurable, but postfix has almost everything built in, where as
qmail needs a lot of addon stuff to do relays and such

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How to enable telnet with root?

2002-11-28 Thread Doug Reynolds
On Thu, 28 Nov 2002 08:27:49 +0100 (CET), Konrad Heuer wrote:


On Thu, 28 Nov 2002, Giorgos Keramidas wrote:

 On 2002-11-27 19:00, Alvaro Rosales R. [EMAIL PROTECTED] wrote:
  Hi friends. I would like to enable root access to telnet (I know
  that it is not secure, but I need to make some tests and I don't
  want to su  to root because I loose root variables.

 What 'root variables' are you referring to?

 Oh, and by the way, logging in as root over TELNET is not a good idea.
 You shouldn't do it, unless you really know that you are safe.

Isn't

  su -

what you really need to get a root login shell with all startup files
executed?

I use su -l any it is the same as logging in as I know

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: DUMP to disk over 2GB

2002-11-26 Thread Doug Reynolds
On Tue, 26 Nov 2002 08:41:24 -0500, Dave [Hawk-Systems] wrote:

 ran into the file size limitation of 2GB when doing a L0 dump of the /usr
 partition.

 Hmm.  I think the trick is to not be aware that there *is* a 2GB limit!

 Could be it there...  using 4.3 stable with security patches and
 selected port upgrades only...

I didn't think there was any change in behaviour during this time.

 Assumption from responses being upgrading to a more recent stable
 version is required to eliminate the problem?

I think it would be better if you showed more detail about what you've
done and what happened.  Of course, if you want to upgrade to 4.7
anyway, that might be instructive, but don't expect it to fix your
problems.

backed up then deleted the entire backup mount, redid a fresh L0 dump and it
worked just fine.  Not sure what the problem was, or why it would choose to halt
almost exactly around the 2GB mark...  a quick search in google brough some 2GB
limit conversation so I figured Id better run it by the list.  Appreciate the
comments.

perhaps your mount was corrupted, or perhaps it died because there some
FS errors that didnt get fsck out.

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: samba port errors

2002-09-17 Thread Doug Reynolds

On Tue, 17 Sep 2002 08:44:02 +0200, Roman Neuhauser wrote:

# [EMAIL PROTECTED] / 2002-09-16 23:47:33 -0400:
 has anyone tried compiling the samba 2.2.6.p2 port from -stable?
 
 i keep coming up with this error:
 
 ===  Configuring for samba-2.2.6.p2
 /usr/bin/sed -i.bak -e
 's/DYNEXP=-Wl,-Bdynamic/DYNEXP=-Wl,--export-dynamic/'
 /usr/ports/net/samba/work/samba-2.2.6pre2/source/configure.in
 sed: illegal option -- i
 usage: sed script [-Ean] [file ...]
sed [-an] [-e script] ... [-f script_file] ... [file ...]

 is there a problem with the port, or just something weird going on? 
 thanx

the port is ok. grep /usr/ports/Mk/bsd.port.mk for REINPLACE,
and try to figure out why the check failed (iow, how come you run
-STABLE but your sed doesn't know the -i switch).

ok- thats why- i haven't had time to rebuild my world.  actually, I've
rebuilt my world, but never get to install it... 
thanx

---
doug reynolds | the maverick | [EMAIL PROTECTED]

PGP Public Key Fingerprint: 7FEC 10AA 056B F8DE  AC1E 6965 FBBE 9601



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message