Re: XDMCP working?

2008-01-11 Thread Anders Troback
I never got any response from x11@ so I just repost it here!

\\troback

On Wed, 28 Nov 2007 13:24:21 +
Anders Trobäck [EMAIL PROTECTED] wrote:

 Hi,
 
 are XDMCP working all right? I'm having problems to connect with:
 
 Xnest -query server25 :2
 
 All I got are a grey window without a greeter!
 
 I'm running 7.0 but have the same on 6.2!
 
 I did place a ! on the last row in xdm-config and I did remove the #
 from row 49 and 67 in Xaccess and I can logon on the local terminal.
 
 Thanks!!!
 
 
 \\troback
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-x11
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Anders Trobäck
http://www.troback.com/

Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?

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


Re: Unable to unmount idle filesystem on 6.2

2008-01-11 Thread Marc Silver
Hi there,

Strange problem.  The only thing I could possibly think of is to try and
install lsof from the ports tree and see if that can identify what may
be using this particular mount.  

Short of that, dropping to single user mode/rebooting may be your only
other option as far as I am aware.

Cheers,
Marc

On Thu, Jan 10, 2008 at 11:18:46PM -0800, Darren Pilgrim wrote:
 I'm unable to unmount an idle filesystem (or even drop it to
 read-only):
 
 # mount
 /dev/da0s1a on / (ufs, local, noatime)
 devfs on /dev (devfs, local)
 /dev/da0s1d on /var (ufs, local, noatime, soft-updates)
 /dev/da0s1e on /usr (ufs, local, noatime, soft-updates)
 /dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime)
 /dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates)
 /dev/da0s1fp3 on /usr/src (ufs, local, soft-updates)
 /dev/da0s2d on /data (ufs, local, noatime, soft-updates)
 
 # fstat -f /usr/ports
 USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
 
 # umount /usr/ports
 umount: unmount of /usr/ports failed: Device busy
 
 # umount -f /usr/ports
 umount: unmount of /usr/ports failed: Device busy
 
 # mount -o ro /usr/ports
 mount: /dev/da0s1fp2: Operation not permitted
 
 # uname -r
 6.2-RELEASE-p8
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Light up the Darkness.
  - Bob Marley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BACKUP: multiple DVDs, burning from pipe

2008-01-11 Thread sebosik
Hi all

is there any way how to backup filesystem with ACL's and permissions
directly from stdin to multiple DVDs?

Got directory which has 12GB, and I want just to pipe output of star
utility to some program that will burn it to multiple DVDs. Also I don`t
want to split file on HDD, couse I`m low on disk space. I found cdbackup
utility, but it`s not in ports yet.


Best regards
---
Jan Sebosik, Slovakia
[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: FreeBSD 7.0-PRE/AMD64: missing f77/Fortran compiler ...

2008-01-11 Thread Kris Kennaway

Daniel Rucci wrote:

Kris Kennaway wrote:
No, it's not convenient.  There is a large maintenance cost for 
keeping the fortran compiler in the base system for little gain 
(nothing in FreeBSD uses it), and it is also only of use to a small 
subset of FreeBSD users, so this is a perfect situation where moving 
it to the ports collection made sense.
Does this mean i can take WITHOUT_FORTRAN out of my /etc/src.conf? If 
thats the case, src.conf(5) should be updated.


Probably, can you contact ru@ or file a PR?

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


Re: Unable to unmount idle filesystem on 6.2

2008-01-11 Thread Kris Kennaway

Darren Pilgrim wrote:

I'm unable to unmount an idle filesystem (or even drop it to
read-only):

# mount
/dev/da0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/da0s1d on /var (ufs, local, noatime, soft-updates)
/dev/da0s1e on /usr (ufs, local, noatime, soft-updates)
/dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime)
/dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates)
/dev/da0s1fp3 on /usr/src (ufs, local, soft-updates)
/dev/da0s2d on /data (ufs, local, noatime, soft-updates)

# fstat -f /usr/ports
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W

# umount /usr/ports
umount: unmount of /usr/ports failed: Device busy

# umount -f /usr/ports
umount: unmount of /usr/ports failed: Device busy

# mount -o ro /usr/ports
mount: /dev/da0s1fp2: Operation not permitted

# uname -r
6.2-RELEASE-p8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Strange, can you break to DDB and do 'show lockedvnods'?

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


visual php framework to handle FTP mail

2008-01-11 Thread bsd

Hello,

I am using Freebsd as a mail server since a long time as an ISP.
I have been configuring all my server using comand line and was very  
happy with that…


But some of my clients are asking for a good visual interface that  
will allow them to manage their mail accounts themself.

Of course I am using an up to date FreeBSD server.

My mail server is configured using these tools :

- postfix
- amavisd-new
- spamassassin
- dcc-dccifd
- p0f



If possible I would like to have a 100% compatible tool (with a port  
on the FreeBSD ports) that will allow each of my clients to:


- configure e-mail settings for it's own domain.
- configure filtering for it's domain.
- have a super admin that I will be using to create accounts and do  
high level admin…

- Ideally should be compatibel with PHP5  MySQL 5

- Product should be robust and steady.

The same should be true to administer FTP… ideally using ProFTPD … but  
I am more flexible on that issue.



Thanks for your answers.

Sincerly yours;



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: FreeBSD 7.0-PRE/AMD64: missing f77/Fortran compiler ...

2008-01-11 Thread Daniel Rucci

Kris Kennaway wrote:
No, it's not convenient.  There is a large maintenance cost for 
keeping the fortran compiler in the base system for little gain 
(nothing in FreeBSD uses it), and it is also only of use to a small 
subset of FreeBSD users, so this is a perfect situation where moving 
it to the ports collection made sense.
Does this mean i can take WITHOUT_FORTRAN out of my /etc/src.conf? If 
thats the case, src.conf(5) should be updated.


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


paravirtualized version of freebsd-kernel for amd64

2008-01-11 Thread Denis Maligin
Hello people,

I'd like to ask, whether there is, or will be a paravirtualized
version of freebsd for amd64?

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


Re: How backup huge pgsql ?

2008-01-11 Thread Daniel Bye
On Thu, Jan 10, 2008 at 11:10:58PM +0100, Albert Shih wrote:
 Hi all
 
 I want to known how can I make backup of huge postgresql database (huge
 mean ~ 2To). 
 
 I can stop the access of the database during N1 hours.
 
 Any idea about this ? 

Take a look at the PostgreSQL web site - they have a section in the 
docs dedicated to this subject, detailing several different strategies.
I'm sure one of them will fit!

http://www.postgresql.org/docs/8.2/static/backup.html

(If you're running a diffrent version of PostgreSQL, check out the
relevant section of the docs - accessible from 
http://www.postgresql.org/docs/manuals/) 

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpFFxdXeXc0q.pgp
Description: PGP signature


RE: FreeBsd-Q

2008-01-11 Thread Marcin Nowicki
Ok., maybe in other way,

I've desktop:

Processor: Core2Duo 4600 2,4GHz
Motherboard: Chipset Intel 965
RAM: 4x2GB/800MHz  Kingston

FB should work perfectly with this config. ??

Marcin Nowicki
Technical Support 
OPTIMUS S.A
LABORATORIUM 
[EMAIL PROTECTED], [EMAIL PROTECTED]
 
OPTIMUS S.A. z siedzibą w Warszawie
ul. Bokserska 66 
02-690 Warszawa
Tel. +48 22 375-77-00
Fax. +48 22 375-77-10

Sąd Rejonowy dla m.st. Warszawy w Warszawie
XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
REGON 492707333 KRS 006865 NIP 734-28-67-148
Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości
-Original Message-
From: Yuri Pankov [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 11, 2008 2:01 PM
To: Marcin Nowicki
Cc: freebsd-questions@FreeBSD.org; [EMAIL PROTECTED]
Subject: Re: FreeBsd-Q

On Fri, Jan 11, 2008 at 01:38:45PM +0100, Marcin Nowicki wrote:
 Hi,
 
 I've a question about FreeBsd OS, 
 
 mainly FB is 64-bit system ??

http://www.freebsd.org/platforms/

 
 FB support up to 8GB RAM ??

Depends.

 
  
 
 Regards, 
 
  
 
 Marcin Nowicki
 Technical Support 
 OPTIMUS S.A
 LABORATORIUM 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] 
 
  
 
 OPTIMUS S.A. z siedzibą w Warszawie
 ul. Bokserska 66 
 02-690 Warszawa
 Tel. +48 22 375-77-00
 Fax. +48 22 375-77-10
 
 Sąd Rejonowy dla m.st. Warszawy w Warszawie
 XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
 REGON 492707333 KRS 006865 NIP 734-28-67-148
 Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości

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


Re: FreeBSD 6.2 complete freeze

2008-01-11 Thread Kris Kennaway

Tommy Scheunemann wrote:


Any help would be welcome


Take a look at


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

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


FreeBSD 6.2 complete freeze

2008-01-11 Thread Tommy Scheunemann

Hello everyone,

I'm running a server with FreeBSD 6.2 installed. Since some time the  
machine freezes completely, following the replies by the hoster even  
the keyboard won't react so a hard reset is required. There're no  
error messages like a Kernel Panic on the screen, just a freeze.
Once the machine is up again, there's also nothing in the logs which  
points to a failure.

A dmesg dump:

Copyright (c) 1992-2007 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 6.2-RELEASE-p9 #3: Fri Jan 11 13:35:14 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ANGELWINGS
ACPI APIC Table: GBTAWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2813.53-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Features2=0x4400CNTX-ID,b14
real memory  = 1072627712 (1022 MB)
avail memory = 1040654336 (992 MB)
Security auditing service present
BSM auditing present
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: GBT AWRDACPI on motherboard
acpi0: Power Button (fixed)
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff,0x4000-0x40bf on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845G (845G GMCH) SVGA controller mem  
0xe000-0xe7ff,0xe810-0xe817 irq 16 at device 2.0 on pci0

agp0: detected 892k stolen memory
agp0: aperture size is 128M
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0xd800-0xd81f  
irq 16 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0xd000-0xd01f  
irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0xd400-0xd41f  
irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem  
0xe818-0xe81803ff irq 23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801DB/L/M (ICH4) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
rl0: RealTek 8139 10/100BaseTX port 0xc000-0xc0ff mem  
0xe800-0xe8ff irq 21 at device 5.0 on pci1

miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0d:61:18:38:3e
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH4 UDMA100 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
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
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
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
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter TSC frequency 2813534500 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 152627MB WDC WD1600BB-22GUC0 08.02D08 at ata0-master UDMA100
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP
arplookup xxx.xxx.xxx.xxx failed: host is not on local network

The arplookup problem was 

Re: FreeBsd-Q

2008-01-11 Thread Yuri Pankov
On Fri, Jan 11, 2008 at 01:38:45PM +0100, Marcin Nowicki wrote:
 Hi,
 
 I've a question about FreeBsd OS, 
 
 mainly FB is 64-bit system ??

http://www.freebsd.org/platforms/

 
 FB support up to 8GB RAM ??

Depends.

 
  
 
 Regards, 
 
  
 
 Marcin Nowicki
 Technical Support 
 OPTIMUS S.A
 LABORATORIUM 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] 
 
  
 
 OPTIMUS S.A. z siedzibą w Warszawie
 ul. Bokserska 66 
 02-690 Warszawa
 Tel. +48 22 375-77-00
 Fax. +48 22 375-77-10
 
 Sąd Rejonowy dla m.st. Warszawy w Warszawie
 XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
 REGON 492707333 KRS 006865 NIP 734-28-67-148
 Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości

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


FreeBsd-Q

2008-01-11 Thread Marcin Nowicki
Hi,

I've a question about FreeBsd OS, 

mainly FB is 64-bit system ??

FB support up to 8GB RAM ??

 

Regards, 

 

Marcin Nowicki
Technical Support 
OPTIMUS S.A
LABORATORIUM 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] , [EMAIL PROTECTED] mailto:[EMAIL 
PROTECTED] 

 

OPTIMUS S.A. z siedzibą w Warszawie
ul. Bokserska 66 
02-690 Warszawa
Tel. +48 22 375-77-00
Fax. +48 22 375-77-10

Sąd Rejonowy dla m.st. Warszawy w Warszawie
XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
REGON 492707333 KRS 006865 NIP 734-28-67-148
Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości

 

___
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 Derek Ragona

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Error in compiling gdb-6.7.1

2008-01-11 Thread Arun Paneri
Hi All,

When i am doing make CFLAGS=-g in gdb-6.7.1 folder after executing 
./configure to comlile a gdb on FreeBSD machine, getting following error:

config.status: creating shlib/Makefile
config.status: creating config.h
config.status: executing default commands
ar: readline.o: No such file or directory
make[2]: *** [libreadline.a] Error 1
make[1]: *** [all-readline] Error 2
make: *** [all] Error 2


And if after that i give make command then getting following error.

$ make
Making info in doc
Making info in po
Making all in doc
Making all in po
Making all in po
ar: readline.o: No such file or directory
make[2]: *** [libreadline.a] Error 1
make[1]: *** [all-readline] Error 2
make: *** [all] Error 2
$ 

Regards.


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error building OpenEXR

2008-01-11 Thread Bob Johnson
/usr/ports/UPDATING (entry 20071008) might help.

The solution there isn't exactly what I ended up having to do (I don't
actually remember exactly what I did), but it pointed me in the right
direction.

- Bob


On 1/9/08, Gary Schenk [EMAIL PROTECTED] wrote:
 Attempting to upgrade the ports on my machine, and following (or trying to
 follow) UPDATING, an error accurs on the upgrade of OpenEXR. This made a lot
 of KDE ports fail.

 gmake[1]: *** [imfexamples] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop in /usr/ports/graphics/OpenEXR.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade.69205.29
 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.2.2_1
 UPGRADE_PORT_VER=1.2.2_1 make
 ** Fix the problem and try again.

 I then tried deleting OpenEXR and reinstalling it, but that did not work
 out.
 This shows up:


 b44ExpLogTable.cpp:52:18: half.h: No such file or directory
 b44ExpLogTable.cpp: In function `int main()':
 b44ExpLogTable.cpp:85: error: `half' was not declared in this scope
 b44ExpLogTable.cpp:85: error: expected `;' before h
 b44ExpLogTable.cpp:86: error: `h' was not declared in this scope
 b44ExpLogTable.cpp:90: error: `HALF_MAX' was not declared in this scope
 b44ExpLogTable.cpp:114: error: `half' was not declared in this scope
 b44ExpLogTable.cpp:114: error: expected `;' before h
 b44ExpLogTable.cpp:115: error: `h' was not declared in this scope
 gmake[1]: *** [b44ExpLogTable.o] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 Stop in /usr/ports/graphics/OpenEXR.

 I'm at a real lost. If someone could give me a nudge in the right direction,
 I
 would appreciate it.

  uname -a
 FreeBSD babo.hbfun.org 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Fri Feb 16
 13:25:14
 PST 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BABO  i386

 Gary
 ___
 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: FreeBsd-Q

2008-01-11 Thread Erik Trulsson
On Fri, Jan 11, 2008 at 02:23:59PM +0100, Marcin Nowicki wrote:
 Ok., maybe in other way,
 
 I've desktop:
 
 Processor: Core2Duo 4600 2,4GHz
 Motherboard: Chipset Intel 965
 RAM: 4x2GB/800MHz  Kingston
 
 FB should work perfectly with this config. ??

Should work fine.  If you want to actually use all that memory you should
use the amd64 version of FreeBSD (which does run on the latest Intel CPUs,
including all the Core2Duo ones.)



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


syslogd not reading messages from a remote machine

2008-01-11 Thread Andy Greenwood
I have recently set up a Fortigate-60 to run as a firewall/vpn on my 
home network. I have a FreeBSD 7.0-prerelease machine sitting behind it 
in the DMZ which is running ssh/web/etc. I'm trying to get the FG to log 
to the BSD box's syslog. I have set up the necessary stuff on the FG, 
and can send test logs from there to the bsd box. Running tcpdump on the 
bsd box gives me this when sending those test logs:


[EMAIL PROTECTED] ports]$ tcpdump -n -e -ttt -vv -i dc0 port 514
tcpdump: listening on dc0, link-type EN10MB (Ethernet), capture size 96 
bytes
00 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 468: (tos 0x0, ttl 64, id 53661, offset 0, flags [none], proto 
UDP (17), length 454) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 426

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000196 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 337: (tos 0x0, ttl 64, id 53662, offset 0, flags [none], proto 
UDP (17), length 323) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 295

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000227 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 337: (tos 0x0, ttl 64, id 53663, offset 0, flags [none], proto 
UDP (17), length 323) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 295

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000292 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 447: (tos 0x0, ttl 64, id 53664, offset 0, flags [none], proto 
UDP (17), length 433) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 405

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000230 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 324: (tos 0x0, ttl 64, id 53665, offset 0, flags [none], proto 
UDP (17), length 310) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 282

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000143 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 247: (tos 0x0, ttl 64, id 53666, offset 0, flags [none], proto 
UDP (17), length 233) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 205

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000152 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 279: (tos 0x0, ttl 64, id 53667, offset 0, flags [none], proto 
UDP (17), length 265) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 237

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
000152 00:09:0f:12:11:41  00:00:e8:13:b3:5c, ethertype IPv4 (0x0800), 
length 299: (tos 0x0, ttl 64, id 53668, offset 0, flags [none], proto 
UDP (17), length 285) 10.10.10.1.3023  10.10.10.2.514: SYSLOG, length: 257

   Facility local7 (23), Severity warning (4)
   Msg: date=2008-01-11 time=18:37:10 devname=Fortigate-6[|syslog]
^C


So I know that the packets are getting to the machine. I've set up 
syslogd to accept packets from 10.10.10.1/32 in rc.conf, and confirmed 
that the FG's IP should be accepted by syslogd

[EMAIL PROTECTED] ports]$ grep syslogd /etc/rc.conf
syslogd_flags=-a 10.10.10.1/32
[EMAIL PROTECTED] ports]$ ps auxww | grep syslogd
root 8538  0.0  0.1  3156  1088  ??  Ss   10:44AM   0:00.02 
/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -a 10.10.10.1/32


the FG is set to log via local7, and I've set that up too.
[EMAIL PROTECTED] ports]$ grep local7 /etc/syslog.conf
local7.*/var/log/fortigate

and the log file exists also.
[EMAIL PROTECTED] ports]$ ls -l /var/log/fortigate
-rw-r-  1 root  wheel  0 Jan 11 07:22 /var/log/fortigate

In desperation I even added this to my /etc/syslog.conf, trying to get 
the messages to appear anywhere, but they aren't showing up in all.log 
either.

*.*   /var/log/all.log

I've restarted syslogd after every change I've made, but no dice. Can 
anyone shed some light on why these messages aren't logging and what I 
need to do to fix it?



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


How to get best results from FreeBSD-questions

2008-01-11 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

RE: FreeBsd-Q

2008-01-11 Thread Marcin Nowicki
Ok., thanks a lot, I'll test config with amd64 version of FB...

Regards,

Marcin Nowicki
Technical Support 
OPTIMUS S.A
LABORATORIUM 
[EMAIL PROTECTED], [EMAIL PROTECTED]
 
OPTIMUS S.A. z siedzibą w Warszawie
ul. Bokserska 66 
02-690 Warszawa
Tel. +48 22 375-77-00
Fax. +48 22 375-77-10

Sąd Rejonowy dla m.st. Warszawy w Warszawie
XII Wydział Gospodarczy Krajowego Rejestru Sądowego 
REGON 492707333 KRS 006865 NIP 734-28-67-148
Kapitał zakładowy: 9 384 108,00 zł - opłacony w całości

-Original Message-
From: Erik Trulsson [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 11, 2008 2:36 PM
To: Marcin Nowicki
Cc: Yuri Pankov; [EMAIL PROTECTED]; freebsd-questions@FreeBSD.org
Subject: Re: FreeBsd-Q

On Fri, Jan 11, 2008 at 02:23:59PM +0100, Marcin Nowicki wrote:
 Ok., maybe in other way,
 
 I've desktop:
 
 Processor: Core2Duo 4600 2,4GHz
 Motherboard: Chipset Intel 965
 RAM: 4x2GB/800MHz  Kingston
 
 FB should work perfectly with this config. ??

Should work fine.  If you want to actually use all that memory you should
use the amd64 version of FreeBSD (which does run on the latest Intel CPUs,
including all the Core2Duo ones.)



-- 
Insert your favourite quote here.
Erik Trulsson
[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: Problem with Groups

2008-01-11 Thread Jerry McAllister
On Thu, Jan 10, 2008 at 11:28:17PM +, Andrew Stevens wrote:

 
 Hi everybody 
 
 Freebsd 6.2 
 sorry this question is a bit thick I know but after getting the usb and cdrom 
 open as root I tried as user and got the following message
 
  A security policy in place prevents this sender from sending this 
  message to this recipient, see message bus configuration file (rejected 
  message had interface org.freedesktop.Hal.Device.Volume member Mount 
  error name (unset) destination org.freedesktop.Hal)
 
 a suggested work around was to add user to storage group
 
 would somebody be kind enough to tell me how to add user to storage group

First, you need to create a 'storage' group (if it doesn't already exist).
Then you add ids to it.

Both can be done by editing the file  /etc/group
When you create the group, pick a unique id number above those
used by the system.   Make the rest of the entry look like the others.

Then add the ids in a comma separated list at the end.   There may be
a maximum of ids you can add to any group, but I don't know what it is.

There are also various utilities that will do this for you, but it
is so easy just to edit /etc/group that I never bother with them.

jerry

 
 Thanks 
 
 Andrew 
 _
 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: BACKUP: multiple DVDs, burning from pipe

2008-01-11 Thread Roland Smith
On Fri, Jan 11, 2008 at 10:15:32AM +0100, [EMAIL PROTECTED] wrote:
 Hi all
 
 is there any way how to backup filesystem with ACL's and permissions
 directly from stdin to multiple DVDs?

With a little work, yes.

The only way to backup UFS filesystems with ACLs etc is dump. Make sure
that you have a filesystem with 4GB free space. Add a directory on this
fs, and set the nodump flag.

Have a look at the 'dodumps' script on my FreeBSD page;
http://www.xs4all.nl/~rsmith/freebsd/index.html#backups 

If you use dump like I do in dodumps, it splits the output in DVD-sized
chunks. After every chunk, it waits for you to type 'yes' to proceed. 

So what you can do is burn the first dumpfile to a DVD (don't bother
wrapping a cd9660 fs around it), delete it, and then continue with the dump.

Alternatively, you could buy an external USB harddisk which will have
room to spare and save you dumps on that. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpscheVAwUFn.pgp
Description: PGP signature


Re: BACKUP: multiple DVDs, burning from pipe

2008-01-11 Thread Jan Sebosik

Roland Smith wrote:

On Fri, Jan 11, 2008 at 10:15:32AM +0100, [EMAIL PROTECTED] wrote:

Hi all

is there any way how to backup filesystem with ACL's and permissions
directly from stdin to multiple DVDs?


With a little work, yes.

The only way to backup UFS filesystems with ACLs etc is dump. Make sure
that you have a filesystem with 4GB free space. Add a directory on this
fs, and set the nodump flag.

Have a look at the 'dodumps' script on my FreeBSD page;
http://www.xs4all.nl/~rsmith/freebsd/index.html#backups 


If you use dump like I do in dodumps, it splits the output in DVD-sized
chunks. After every chunk, it waits for you to type 'yes' to proceed. 


So what you can do is burn the first dumpfile to a DVD (don't bother
wrapping a cd9660 fs around it), delete it, and then continue with the dump.

Alternatively, you could buy an external USB harddisk which will have
room to spare and save you dumps on that. :-)

Roland



Hi

I just wanted to do backup of some machines (Linux  FreeBSD mixed 
env.). Every machine has DVD burner and directory that is bigger than 
media size (4GB). I thought about some universal solution for both OSs.
I found project called cdbackup, but it is only avaliable for Linux. 
Combined with star I think it should be enough for my needs.


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


Re: Error building OpenEXR

2008-01-11 Thread gwschenk
 Bob Johnson [EMAIL PROTECTED] wrote: 
 /usr/ports/UPDATING (entry 20071008) might help.
 
 The solution there isn't exactly what I ended up having to do (I don't
 actually remember exactly what I did), but it pointed me in the right
 direction.
 
 - Bob


The solution in UPDATING worked for me. I must apologize for wasting everyone's 
bandwidth. After posting this question (I admit, I panicked!) reading UPDATE 
more closely fixed this problem.

What with OpenEXR, kdelibs and the Xorg upgrade, it's been quite a week.

Gary

 
 
 On 1/9/08, Gary Schenk [EMAIL PROTECTED] wrote:
  Attempting to upgrade the ports on my machine, and following (or trying to
  follow) UPDATING, an error accurs on the upgrade of OpenEXR. This made a lot
  of KDE ports fail.
 
  gmake[1]: *** [imfexamples] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImfExamples'
  gmake: *** [all-recursive] Error 1
  *** Error code 2
 
  Stop in /usr/ports/graphics/OpenEXR.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade.69205.29
  env UPGRADE_TOOL=portupgrade UPGRADE_PORT=OpenEXR-1.2.2_1
  UPGRADE_PORT_VER=1.2.2_1 make
  ** Fix the problem and try again.
 
  I then tried deleting OpenEXR and reinstalling it, but that did not work
  out.
  This shows up:
 
 
  b44ExpLogTable.cpp:52:18: half.h: No such file or directory
  b44ExpLogTable.cpp: In function `int main()':
  b44ExpLogTable.cpp:85: error: `half' was not declared in this scope
  b44ExpLogTable.cpp:85: error: expected `;' before h
  b44ExpLogTable.cpp:86: error: `h' was not declared in this scope
  b44ExpLogTable.cpp:90: error: `HALF_MAX' was not declared in this scope
  b44ExpLogTable.cpp:114: error: `half' was not declared in this scope
  b44ExpLogTable.cpp:114: error: expected `;' before h
  b44ExpLogTable.cpp:115: error: `h' was not declared in this scope
  gmake[1]: *** [b44ExpLogTable.o] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/graphics/OpenEXR/work/openexr-1.6.0/IlmImf'
  gmake: *** [all-recursive] Error 1
  *** Error code 2
 
  Stop in /usr/ports/graphics/OpenEXR.
 
  I'm at a real lost. If someone could give me a nudge in the right direction,
  I
  would appreciate it.
 
   uname -a
  FreeBSD babo.hbfun.org 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Fri Feb 16
  13:25:14
  PST 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/BABO  i386
 
  Gary
  ___
  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]


Offre avec bon d'achat valable jusqu'au 15 Janvier 2008 minuit.

2008-01-11 Thread Dell Computer
Pour visualiser la version en ligne cliquez ici 
http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQS3000957NT







http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQ8000957NT 



http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQ9000957NT 


http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQA000957NT 


http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQB000957NT 





http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQC000957NT 






http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQD000957NT 



http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQE000957NT 






http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQF000957NT 

http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQG000957NT 

http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQH000957NT 

http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQI000957NT 

http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQJ000957NT 

http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQK000957NT 


* Cérdit Classique : Offre de crédit accessoire a une vente, valable a partir 
de 150 Euro d'achat au Taux Effectif Global fixe hors assurance facultative de 
11,46% l'an au 01.08.2005. Exemple pour un achat de 200 Euro. Montant du crédit 
: 200 Euro, remboursable en 4 mensualités de 51.14 Euro hors assurance 
facultative, dure du crédit : 4 mois, coût total du crédit : 4.56 Euro, coût 
total de l'achat à crédit : 204.56 Euro Sous réserve d'acceptation du dossier 
par Cetelem, 5 avenue Klber 75116 Paris, Société Anonyme au capital de 340 125 
660 Euro, 542 097 902 RCS Paris. 

Les configurations Dell Dimension et Dell Inspiron et Dell Vostro qui figurent 
dans cette publicité incluent la garantie de base Dell : 90 jours ou 1 an 
Aller et Retour Atelier, en fonction des produits. 

Tous les prix et réductions indiqués dans cette publicité sont TTC et hors 
frais de livraison. 

Offres réservées aux particuliers, jusqu'au 11.12.07. Offres soumises aux 
conditions Générales de Vente et de service Dell, offres valables dans la 
limite des pièces et composants disponibles. Dell se réserve le droit de 
changer prix et caractristiques techniques selon la situation du marché sans 
avis préalable. Les produits de substitution seront de fonctionnalités et 
performances au moins équivalentes. Conditions et détails de l'offre sur 
www.Dell.fr. Les frais de port sont de 30 euros ttc pour les dimensions, 30 
euros ttc pour les Inspiron, et de 24 euros ttc pour les imprimantes. Les 
batteries de portables sont garanties 1 an. Les ordinateurs Dell Dimension et 
Dell Inspiron sont fournis en standard avec la version Works 8.0 de Microsoft, 
sauf autrement indiqué. Microsoft XP, MS et Windows sont des marques déposées 
de Microsoft Corporation. Intel, Intel logo, Intel Inside, Intel Inside logo, 
Intel Centrino, Intel Centrino logo, Celeron, Intel XScale, Intel Xeon, Intel 
SpeedStep, Itanium et Pentium sont des marques déposées ou enregistrées d'Intel 
Corporation ou de ses filiales, aux Etats-Unis et dans d'autres pays. Dell, le 
logo Dell, Dimension, Inspiron PowerEdge sont des marques déposées de Dell 
Corporation. AMD, le logo AMD avec la flêche, AMD Opteron, AMD Athlon, AMD 
Turion, AMD Sempron, AMD PowerNow!, AMD Cool n Quiet et toutes les combinaisons 
de ces derniers sont des marques déposées de Advanced Micro Devices, Inc. La 
garantie des produits tiers est assure par les fabricants de ces produits. 
Malgr notre vigilance, des erreurs de prix et/ou spcifications peuvent s'etre 
glisses dans ce document. Dell vous prie de l'en excuser et vous prviendra le 
plus tôt possible. Les disques gravés avec un lecteur de DVD+RW ne sont pas 
compatibles avec certains lecteurs de DVD. 

Les fonctionnalités de Windows Vista ne sont pas toutes disponibles sur tous 
les PC capables d exécuter Windows Vista. Tous les PC capables d exécuter 
Windows Vista exécuteront Windows Vista édition familiale basique avec les 
fonctions minimales. Les fonctionnalités supplémentaires -- telles que la 
nouvelle interface utilisateur Windows Aero - disponibles dans d autres 
éditions Windows Vista, nécessitent un matériel avanc ou supplémentaire. Pour 
plus d informations, reportez-vous au site. 

Dell se réserve le droit de mettre fin à ces offres sans avis préalable. Dell 
SA reconnait n' avoir aucun titre de propriété sur les marques de commerce et 
les noms de marques autres que les siens. 

Dell S.A. 1 rond point Benjamin Franklin 34938 Montpellier Cedex 9. RCS 351 528 
229. Copyright 2001 - 2002 DELL Computer Corporation. 


En vertu de la loi n78-17 du 6 janvier 1978, vous disposez d'un droit d'accès 
et de rectification des données vous concernant ainsi qu'un droit d'opposition 
que vous pouvez faire valoir à tout moment. Pour cela Si vous ne souhaitez plus 
recevoir de mails de notre part veuillez : 
http://tr1.bp13.net/r5.aspx?GV1=ASP104Z0082W0009J5000GQQL000957NTfguidv5=000190
 
Cliquez ici

The Complete FreeBSD: errata and addenda

2008-01-11 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: Cannot get multiport serial card working with puc driver

2008-01-11 Thread Boris Samorodov
On Thu, 10 Jan 2008 22:20:09 -0800 (PST) Barry Mishler wrote:

 I have a 4-port serial card (REX-PCI64) made by RATOC Systems that is
 apparently only available in Japan.  It's based on the EXAR XR17C154
 chip.  I'd like to use it with tip(1) to support console access to
 various Cisco devices.

 I've seen posts indicating that the card works natively on NetBSD
 because it's already defined in their /sys/dev/pci/pucdata.c file.  Yet
 I've been completely unable to get it working with any version of
 FreeBSD, even after adding an entry to FreeBSD's /sys/dev/puc/pucdata.c
 (shown below).  I'm currently working with 7.0-RC1.

 First of all, it's not clear to me whether I want the uart or sio
 driver.  I thought sio was the standard but I can only get uart to
 attach itself to the device... though I've failed to get anything but
 garbage out of a tip session.


 I've recompiled the kernel and rebooted countless times in an effort to
 understand the process.  And so far, this is what I've found:

   o  The card is probed by the ppc, uart, and sio drivers.  Both the
 uart and sio drivers fail to enable port mapping, yet the uart driver
 succeeds in enabling memory mapping (sio doesn't attempt memory
 mapping).

   o  The pci_enable_io_method (in /sys/dev/pci/pci.c) uses
 pci_set_command_bit to enable port mapping by setting the
 PCIM_CMD_PORTEN bit, but the following call to PCI_READ_CONFIG says that
 the PCIM_CMD_MEMEN bit is instead set, indicating (I suppose) a failure.

   o  In /sys/dev/uart/uart_dev_ns8250.c, the ns8250_probe function
 checks the modem control register (REG_MCR) against a mask of 0xe0.  But
 this card is (incorrectly?) setting bit 6 of the MCR causing the check
 to fail and resulting in the uart driver's decision to not bid on the
 device.  The docs for the card claim that bit 6 will be 0 so I'm not
 sure what to make of this.


 If I change ns8250_probe to ignore the fact that bit 6 of the MCR is
 set, then I can get the uart driver to attach which provides me with my
 /dev/cuau[0-3] entries.  But using tip with a real Cisco router just
 displays a few hundred 0xff characters on the terminal.


 I'm using a GENERIC kernel to which I only added the following two
 lines:
   options COM_MULTIPORT
   device puc

 This is what I added to the puc_pci_devices array definition in
 pucdata.c:
 {   0x13a8, 0x0154, 0x, 0,
 Exar 4-port-PCI XR17C154,
 DEFAULT_RCLK,
 PUC_PORT_4S, 0x10, 0, -1,
 .config_function = puc_config_exar
 },
 The numbers are derived from NetBSD's data.
 The puc_config_exar function appears to be necessary in order to
 generate the port offsets.  It's identical to the puc_config_cronyx
 function and only includes the following code:
 if (cmd == PUC_CFG_GET_OFS) {
 *res = port * 0x200;
 return (0);
 }


 I'm not sure the full dmesg would provide much useful information, but
 at least here's snippet of a verbose boot that looks interesting:

 pci4: ACPI PCI bus on pcib4
 pci4: domain=0, physical bus=4
 found- vendor=0x13a8, dev=0x0154, revid=0x04
 domain=0, bus=4, slot=0, func=0
 class=07-00-02, hdrtype=0x00, mfdev=0
 cmdreg=0x0102, statreg=0x0080, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 intpin=a, irq=11
 map[10]: type Memory, range 32, base 0xfe6ff800, size 11, enabled
 pcib4: requested memory range 0xfe6ff800-0xfe6f: good
 pcib4: matched entry for 4.0.INTA
 pcib4: slot 0 INTA hardwired to IRQ 16
 puc0: Exar 4-port-PCI XR17C154 mem 0xfe6ff800-0xfe6f irq 16 at device 
 0.0 on pci4
 puc0: failed to enable port mapping!

You didn't show an ARCH you are using (is it amd64?). I've seen
the same message (failed to enable port mapping) only once. The
hardware was an AMD64 processor/motherboard using an i386-FreeBSD-7
(just fine). But when I tried to install and amd64-FreeBSD-7, then it
failed with this diagnostic message (though it was a disc controller
which failed). After some investigation I found a suspiciuos BIOS
option (don't remember for sure, but something like) enable memory
remapping. That was it -- after enabling, amd64-FreeBSD-7 was
installed.

 puc0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xfe6ff800
 puc0: [FILTER]

 My main questions at this point are:

 1.  Do I need the sio driver?  Am I wasting my time on the uart driver?

I had to disable sio driver at the kernel config (and add
puc_load=YES to /boot/loader.conf) to get my card (NetMos 9845 6-x
serial ports) working.

 2.  Is port mapping necessary?  Will memory mapping not give me what I
 need?


 Any help or hints would be greatly appreciated.  I've already spent an
 embarrassing amount of time on this and I don't plan on giving up.


HTH and WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___

Re: SATA DVD Drive Install Problem

2008-01-11 Thread Bob Johnson
On 1/9/08, Sean Murphy [EMAIL PROTECTED] wrote:
 Is anyone successful in installing FreeBSD from a SATA DVD Drive?

 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.

Do you get an error message when it fails?

I just installed AMD64 7.0-RC1 using the internal SATA DVD on an Acer
Aspire M5630. During the boot of the install CD, it paused for a while
with several READ_BIG errors, then that apparently timed out and and
changed modes, then it continued to boot without problem. I have not
yet tried to do anything with the DVD drive now that I have the system
up and running.

BTW, the video card uses the RADEONHD driver which does not yet
support hardware video acceleration, so I don't really recommend
running out and buying a new Aspire just yet.

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


OpenOffice.org Base: Java errors (libz.so.3)

2008-01-11 Thread Hartmut Obst

diablo-jdk-1.5.0.07.01_8 installed and added for use.

After importing a csv file and trying to close the new database file,
OpenOffice.org crashes, and leaves a log like this:

---
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x29425299, pid=21738, tid=0x8097000
#
# Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_07-b01 mixed mode)
# Problematic frame:
# C  [libz.so.3+0x8299]  deflateCopy+0x94d
#

---  T H R E A D  ---

Current thread (0x08a92e00):  JavaThread Thread-2168 [_thread_in_native,
id=134836224]

siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x

Registers:
EAX=0x, EBX=0x2942d384, ECX=0x, EDX=0x08b27000
ESP=0xbfbfd460, EBP=0xbfbfd478, ESI=0x, EDI=0x08a87000
EIP=0x29425299, EFLAGS=0x00010246

Top of Stack: (sp=0xbfbfd460)
0xbfbfd460:   08a92ec0 3c78b5d8  2942d384
0xbfbfd470:   08886d00 0090 bfbfd4b8 29423a3e
0xbfbfd480:   08a87000 0004 08a92e00 29423919
0xbfbfd490:   08a92e00 3775f9d8  377c2d28
0xbfbfd4a0:   40b84b40 08a87000  377c2d28
0xbfbfd4b0:   40b84b40 08a92e00 bfbfd518 377bebb9
0xbfbfd4c0:   08886d00 0004 00a6 377be7d8
0xbfbfd4d0:   40b85028   bfbfd4e0

Instructions: (pc=0x29425299)
0x29425289:   38 8a 14 30 8b 8f a0 16 00 00 8b 87 a4 16 00 00
0x29425299:   66 c7 04 48 00 00 8b 87 a0 16 00 00 8b 8f 98 16

Stack: [0xbfa0,0xbfc0),  sp=0xbfbfd460,  free space=2037k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)

C  [libz.so.3+0x8299]  deflateCopy+0x94d
C  [libz.so.3+0x6a3e]  deflate+0x136
C  [libzip.so+0x3bb9]  Java_java_util_zip_Deflater_deflateBytes+0x3ed
j  java.util.zip.Deflater.deflateBytes([BII)I+0
j  java.util.zip.Deflater.deflate([BII)I+40
j  java.util.zip.DeflaterOutputStream.deflate()V+14
j  java.util.zip.DeflaterOutputStream.finish()V+28
j
org.hsqldb.lib.ZipUnzipFile.compressFile(Ljava/lang/String;Ljava/lang/String;Lorg/hsqldb/lib/FileAccess;)V+110
j  org.hsqldb.persist.DataFileCache.backupFile()V+49
j  org.hsqldb.persist.Log.checkpoint(Z)V+76
j  org.hsqldb.persist.Logger.checkpoint(Z)V+34
j  org.hsqldb.DatabaseCommandInterpreter.processCheckpoint()V+74
j
org.hsqldb.DatabaseCommandInterpreter.executePart(ILjava/lang/String;)Lorg/hsqldb/Result;+755
j
org.hsqldb.DatabaseCommandInterpreter.execute(Ljava/lang/String;)Lorg/hsqldb/Result;+84
j
org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Ljava/lang/String;)Lorg/hsqldb/Result;+12
j  org.hsqldb.Session.execute(Lorg/hsqldb/Result;)Lorg/hsqldb/Result;+221
j  org.hsqldb.jdbc.jdbcStatement.fetchResult(Ljava/lang/String;)V+52
j  org.hsqldb.jdbc.jdbcStatement.execute(Ljava/lang/String;)Z+13
v  ~StubRoutines::call_stub
V  [libjvm.so+0x272008]
V  [libjvm.so+0x386c18]
V  [libjvm.so+0x27211f]
V  [libjvm.so+0x27e12b]
V  [libjvm.so+0x28000b]
C  [libjdbc2.so+0x1524b]  +0x4feb
C  [libjdbc2.so+0x2a38e]  +0x1a12e
C  [libhsqldb2.so+0x1fbb8]
Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_writeInt+0x82b6
C  [libgcc3_uno.so+0x52e4]  +0x2eb0
C  [libgcc3_uno.so+0x564e]  +0x321a
C  [libgcc3_uno.so+0x5aa1]  +0x366d
C  [proxyfac.uno.so+0x407d]  component_writeInfo+0x80b
C  [proxyfac.uno.so+0x39bc]  component_writeInfo+0x14a
C  [proxyfac.uno.so+0x407d]  component_writeInfo+0x80b
C  [proxyfac.uno.so+0x39bc]  component_writeInfo+0x14a
C  [libgcc3_uno.so+0x4c1f]  +0x27eb
C  [libgcc3_uno.so+0x50a5]  +0x2c71
C  [libgcc3_uno.so+0x5b86]  +0x3752
C  [libdbu680fi.so+0x1a8785]
_ZN5dbaui9ODataViewC1EP6WindowPNS_11IControllerERKN3com3sun4star3uno9ReferenceINS7_4lang20XMultiServiceFactoryEEEx+0x2958d
C  [libdbu680fi.so+0x17e4bd]
_ZN5dbaui21OGenericUnoController20removeStatusListenerERKN3com3sun4star3uno9ReferenceINS3_5frame15XStatusListenerEEERKNS3_4util3URLE+0x5de1
C  [libdbu680fi.so+0x1af616]
_ZN5dbaui9ODataViewC1EP6WindowPNS_11IControllerERKN3com3sun4star3uno9ReferenceINS7_4lang20XMultiServiceFactoryEEEx+0x3041e
C  [libuno_cppuhelpergcc3.so.3+0x29075]
_ZN4cppu27WeakComponentImplHelperBase7disposeEv+0x7d
C  [libdbu680fi.so+0x7bef4]  GetVersionInfo+0x8fd4
C  [libfwk680fi.so+0x4fd59]  +0x15ff1
C  [libfwk680fi.so+0x4f716]  +0x159ae
C  [libfwk680fi.so+0x6ec70]  component_writeInfo+0x676a
C  [libfwk680fi.so+0x6e000]  component_writeInfo+0x5afa
C  [libfwk680fi.so+0x6e360]  component_writeInfo+0x5e5a
C  [libfwk680fi.so+0x6e5db]  component_writeInfo+0x60d5
C  [libvcl680fi.so+0x84c93]  _ZN9HelpEventC1ERK5Pointt+0x5cb
C  [libvcl680fi.so+0x24d8b7]  _ZN3vcl11EventPosterD2Ev+0x4d
C  [libvcl680fi.so+0x84c93]  _ZN9HelpEventC1ERK5Pointt+0x5cb
C  [libvcl680fi.so+0x1ffd35]  _ZN3vcl11LazyDeletorI6WindowED0Ev+0x3a13
C  [libvclplug_gen680fi.so+0x24515] 
_ZN11X11SalFrame8DispatchEP7_XEvent+0x613
C  [libvclplug_gen680fi.so+0x4ace7] 
_ZN10SalDisplay21DispatchInternalEventEv+0x8b

C  [libvclplug_gen680fi.so+0x4ad17]  _ZN13SalX11Display5YieldEv+0x1d
C  [libvclplug_gen680fi.so+0x4a327]  

Re: Unable to unmount idle filesystem on 6.2

2008-01-11 Thread Darren Pilgrim

Kris Kennaway wrote:

Darren Pilgrim wrote:

I'm unable to unmount an idle filesystem (or even drop it to
read-only):

# mount
/dev/da0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/da0s1d on /var (ufs, local, noatime, soft-updates)
/dev/da0s1e on /usr (ufs, local, noatime, soft-updates)
/dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime)
/dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates)
/dev/da0s1fp3 on /usr/src (ufs, local, soft-updates)
/dev/da0s2d on /data (ufs, local, noatime, soft-updates)

# fstat -f /usr/ports
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W

# umount /usr/ports
umount: unmount of /usr/ports failed: Device busy

# umount -f /usr/ports
umount: unmount of /usr/ports failed: Device busy

# mount -o ro /usr/ports
mount: /dev/da0s1fp2: Operation not permitted

# uname -r
6.2-RELEASE-p8


Strange, can you break to DDB and do 'show lockedvnods'?


I don't have the necessary options compiled into the kernel.  I'll 
build a kernel with the KDB and DDB options and hope the problem 
recurs.

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


FreeBSD on macbook baclight

2008-01-11 Thread michel Junger
Hello,

The wiki page about FreeBSD on MacBook explains that it's possible to
build a module to control backlight. A link points a depot where to
download backlight.c and backlightvar.h but there's no README.

I've tried to create a directory /usr/src/sys/dev/backlight put files in
it, add a line device backlight in /usr/src/sys/i386/conf/GENERIC
but make buildkernel ends with:
config: Error: device backlight is unknown
config: 1 errors
*** Error code 1

Is there someone who knows where to put these files under /usr/src and
compile a new kernel ? 
Thanks for any help.

Michel. 

 



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


Re: Cannot get multiport serial card working with puc driver

2008-01-11 Thread Boris Samorodov
On Fri, 11 Jan 2008 19:25:48 +0300 Boris Samorodov wrote:

  1.  Do I need the sio driver?  Am I wasting my time on the uart driver?

 I had to disable sio driver at the kernel config (and add
 puc_load=YES to /boot/loader.conf) to get my card (NetMos 9845 6-x

Uh, sorry, my memory has faulted here. Loading a module did't help
me. Only did defining puc at a kernel config.

 serial ports) working.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to unmount idle filesystem on 6.2

2008-01-11 Thread Bill Campbell
On Fri, Jan 11, 2008, Darren Pilgrim wrote:
Kris Kennaway wrote:
Darren Pilgrim wrote:
I'm unable to unmount an idle filesystem (or even drop it to
read-only):
...
# umount -f /usr/ports
umount: unmount of /usr/ports failed: Device busy

# mount -o ro /usr/ports
mount: /dev/da0s1fp2: Operation not permitted

# uname -r
6.2-RELEASE-p8

Strange, can you break to DDB and do 'show lockedvnods'?

I don't have the necessary options compiled into the kernel.  I'll 
build a kernel with the KDB and DDB options and hope the problem 
recurs.

Have you tried ``lsof /usr/ports''? to see what process(es)
are using that device?

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

If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.
Lysander Spooner, 1852
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


For your Next Bridal Show

2008-01-11 Thread Jimmye Bolte

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

Re: Unable to unmount idle filesystem on 6.2

2008-01-11 Thread Darren Pilgrim

Kris Kennaway wrote:

Darren Pilgrim wrote:

I'm unable to unmount an idle filesystem (or even drop it to
read-only):

# mount
/dev/da0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/da0s1d on /var (ufs, local, noatime, soft-updates)
/dev/da0s1e on /usr (ufs, local, noatime, soft-updates)
/dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime)
/dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates)
/dev/da0s1fp3 on /usr/src (ufs, local, soft-updates)
/dev/da0s2d on /data (ufs, local, noatime, soft-updates)

# fstat -f /usr/ports
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W

# umount /usr/ports
umount: unmount of /usr/ports failed: Device busy

# umount -f /usr/ports
umount: unmount of /usr/ports failed: Device busy

# mount -o ro /usr/ports
mount: /dev/da0s1fp2: Operation not permitted

# uname -r
6.2-RELEASE-p8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Strange, can you break to DDB and do 'show lockedvnods'?


I haven't done that yet; however, I did find 12 instances of the 
following in the log:


softdep_waitidle: Failed to flush worklist for 0xc66e5298

A quick check and that message gets spit out whenever I issue any 
of the following commands:


# mount -uo ro /usr/ports
# umount /usr/ports
# umount -f /usr/ports

A bit of searching on that error message tells me I've hit some 
kind of a corner case with soft-updates.  The filesystem was 
mounted read-only, then upgraded to rw so I could update the ports 
tree.  After cvsup was done, I tried to take the filesystem back 
down to read-only.  The common case seems to be that the mount 
change is followed too quickly after the large number of writes and 
it somehow wedges soft-updates.


Unfortunately, I haven't been able to find a fix other than 
rebooting the machine.  The problem is that the search results[1] 
also tell me the filesystem may well be hosed and the reboot won't 
be clean.  Luckily for me, I can just drop the FS from /etc/fstab 
and newfs the partition after the box comes back up.


[1]: 
http://lists.freebsd.org/pipermail/freebsd-current/2007-February/069178.html

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


Re: Boot Loader Broken?

2008-01-11 Thread Schiz0
On 1/10/08, Lowell Gilbert [EMAIL PROTECTED] wrote:
 Schiz0 [EMAIL PROTECTED] writes:

  I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
  problem with the ports, but I got that taken care of.
 
  Now I'm having another very odd problem.
 
  I originally noticed something odd when I tried to shutdown from
  multiuser mode into single user mode. I ran shutdown now as root in
  multiuser. It said it was shutting down, etc. But then, it gave me the
  normal multiuser login prompt. So then I tried rebooting completely,
  and that's where the big error came up:

 Note that rebooting completely *is* the normal procedure, so that you
 know your kernel boots before you overwrite anything that depends on it.

 
  -
  FreeBSD/i386 bootstrap loader, Revision 1.1
  ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
  \
  \: unknown command
  -
  /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
  syms=[0x4+0x34c10+0x4+0x43ef1]
  Hit [Enter] to boot immediately, or any other key for a command prompt.
  Booting [/boot/kernel/kernel] in 4 seconds ...
  -
 
  Why it trying to run the command \ ? Right before I did this, I
  rebuilt world, including the kernel. I installed the new kernel, and
  was moving down to single user to install world.
 
  Is my bootloader corrupt somehow?

 I would suspect something more like some extra text in loader.conf.


I just did a fresh install from the iso for 7.0-RC1. It worked fine. I
csup'ed the RELENG_7 src, and compiled and installed world and a
kernel. All of this with no error. I rebooted into the new kernel, and
it was fine. Then I rebooted after make installworld and I'm getting
that same error. I did not modify any file at all. Looks like there's
a typo in the bootloader config for 7.0-RC1?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Request for a package or port...

2008-01-11 Thread rpj911
Hello,

I've been using Linux for  a few years and just switched to DesktopBSD, very 
nice. If it's not too much trouble, could you guys port or create a package 
for the Mnemosyne Project. It's a flashcard program...

Thanks.

Bob
Cincinnati, Ohio

http://mnemosyne-proj.sourceforge.net/principles.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Request for a package or port...

2008-01-11 Thread David J Brooks
On Saturday 12 January 2008 12:40:02 am rpj911 wrote:
 Hello,

 I've been using Linux for  a few years and just switched to DesktopBSD,
 very nice. If it's not too much trouble, could you guys port or create a
 package for the Mnemosyne Project. It's a flashcard program...

 Thanks.

 Bob
 Cincinnati, Ohio

I just checked it out. Being a python program mnemosyne installs and runs just 
fine without any porting really needed. Just extract the tar.gz file from 
sourceforge.net into something like /usr/ports/local and follow the 
instructions included in the README.  You should be able to install all the 
dependencies listed there from ports.

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


G5 Install

2008-01-11 Thread Stephen Dill

According to grehan:
FreeBSD/PPC 6.0-RELEASE install.iso
 
 Please note! This is a very preliminary so all caveats apply.  
Adventurous users only!

1. Supported h/w
 G5 - nope.
Is this still true and does it also apply to the new 7.0 release?
Thanks, Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Request for a package or port...

2008-01-11 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David J Brooks wrote:
 On Saturday 12 January 2008 12:40:02 am rpj911 wrote:
 Hello,

 I've been using Linux for  a few years and just switched to
 DesktopBSD, very nice. If it's not too much trouble, could you
 guys port or create a package for the Mnemosyne Project. It's a
 flashcard program...

 Thanks.

 Bob Cincinnati, Ohio

 I just checked it out. Being a python program mnemosyne installs
 and runs just fine without any porting really needed. Just extract
 the tar.gz file from sourceforge.net into something like
 /usr/ports/local and follow the instructions included in the
 README.  You should be able to install all the dependencies listed
 there from ports.


If your feeling adventurous you could make a port for it even.


- --
Aryeh M. Friedman
FloSoft Systems, Java Developer Tools.
http://www.flosoft-systems.com
Developer, not business, friendly.

Free software != Free beer

Blog:
 
http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiHIBjRvRjGmHRgQRAmsoAJ9eJotl3+VrVzUYQh6J3J6a2YCxfgCgh94d
g11SdfGZXA5r3yuKhcOMRcU=
=GXkb
-END PGP SIGNATURE-

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