Re: Makefile question... please help...

2006-12-06 Thread VeeJay

Thanks

Where can I make above mentioned required changes... can you please give me
a little hint... since I am novice to Unix

Thanks...

VJ
On 12/6/06, VeeJay [EMAIL PROTECTED] wrote:


Hi there,

Is it possible to make configuration changes in Makefile to install a port
as per one's requirments?

I want to accomplish two tasks

1. I want to configure mysql port before installation with following
parameters: Could someone tell me that where in the Makefile, I need to put
these paramenters in order to get my required results? Makefile is at the
end of my message.
Required Configuration paramenters:

--prefix=/usr/local/mysql
--with-mysqld-user=mysql
--with-unix-socket-path=/tmp/mysql.sock
--with-mysqld-ldflags=-all-static


2. I want to install mysql at my given path, so I could be able to assign
the path to mysql user and chroot it PLEASE HELP!!!

Becuase, with default Makefile configuration, mysql installs all scripts
under /usr/local/sbin folder which other deamons also access for example
apache. so, if I alow the access only for mysql ... then other deamons will
not have any access...

chown -R root /usr/local/bin/mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql




# New ports collection makefile for:MySQL-server
# Date created: Fri Apr 11 10:06:26 CET 2003
# Whom: Alex Dupre [EMAIL PROTECTED]

#
# $FreeBSD: ports/databases/mysql50-server/Makefile,v 1.188 2005/03/21
14:08:49 pav Exp $
#

PORTNAME?=  mysql
PORTVERSION=5.0.2
PORTREVISION?=  0
CATEGORIES= databases
MASTER_SITES=   ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-5.0
PKGNAMESUFFIX?= -server
DISTNAME=   ${PORTNAME}-${PORTVERSION}-alpha

MAINTAINER= [EMAIL PROTECTED]
COMMENT?=   Multithreaded SQL database (server)

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
SLAVEDIRS=  databases/mysql50-client
PKGINSTALL?=${WRKDIR}/pkg-install
DB_DIR?=/var/db/mysql
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
USE_RC_SUBR=yes

CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
--without-debug \
--without-readline \
--without-libedit \
--without-bench \
--without-extra-tools \
--with-libwrap \
--with-mysqlfs \
--with-vio \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
--enable-thread-safe-client

.ifdef USE_MYSQL
.error You have `USE_MYSQL' variable defined either in environment or in
make(1) arguments. Please undefine and try again.
.endif

.if defined(WITH_CHARSET)  ${WITH_CHARSET} != 
CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET}
.endif
.if defined(WITH_XCHARSET)  ${WITH_XCHARSET} != 
CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET}
.endif
.if defined(WITH_OPENSSL)
USE_OPENSSL=yes
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
.endif
.if defined(BUILD_STATIC)
CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.endif
.if defined(WITHOUT_INNODB)
CONFIGURE_ARGS+=--without-innodb
.endif
.if defined(WITH_NDB)
CONFIGURE_ARGS+=--with-ndbcluster
.endif
.if defined(WITH_COLLATION)  ${WITH_COLLATION} != 
CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION}
.endif

.include bsd.port.pre.mk

.if ${ARCH} == i386
CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db
.endif
.if defined(WITH_LINUXTHREADS)

CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CFLAGS+=-D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+=-I${LOCALBASE}/include/pthread/linuxthreads
.if ${OSVERSION}  50
LIB_DEPENDS+=   lthread.[35]:${PORTSDIR}/devel/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++'

.else
LIB_DEPENDS+=   lthread.[24]:${PORTSDIR}/devel/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
.endif
.else
CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS}
CFLAGS+=${PTHREAD_CFLAGS}
.endif

.if ${OSVERSION}  50
CXX=${CC}
.endif
.if defined(BUILD_OPTIMIZED)
CFLAGS+=-O3 -fno-omit-frame-pointer
.if ${OSVERSION}  50 || (defined(USE_GCC)  (${USE_GCC} == 3.0 ||
${USE_GCC} == 3.1 || ${USE_GCC} == 3.2 || ${USE_GCC} == 3.3))
CFLAGS+=-fno-gcse
.endif
.endif
CXXFLAGS+=  ${CFLAGS} -felide-constructors -fno-rtti
.if ${OSVERSION} = 42
CXXFLAGS+=  -fno-exceptions
.endif

# MySQL-Server part
.if !defined(CLIENT_ONLY)  !defined(SCRIPTS_ONLY)
USE_MYSQL=  yes
WANT_MYSQL_VER= 50

LATEST_LINK=mysql50-server

CONFLICTS=  mysql-server-3.* mysql-server-4.*

PLIST_SUB=  DB_DIR=${DB_DIR} \
VER=${PORTVERSION}-alpha
.if defined(WITH_NDB)
PLIST_SUB+= NDB=
.else
PLIST_SUB+= NDB=@comment 
.endif

MAN1=   isamchk.1 isamlog.1 mysqld.1 

Re: SiS SATA controllers that work with FreeBSD

2006-12-06 Thread Garrett Cooper

Garrett Cooper wrote:

Hello,
Just upgraded my server system from a 1.2 GHz Celeron to a 3.0 GHz 
and I'm running into an issue with the SATA RAID controller. Every time 
I have the controller enabled with the drive connected, the system locks 
up, possibly due to IRQ conflict, etc, but I'm not 100% sure. Also, I'm 
not sure what the exact model is for the controller, but it  possibly 
could be SiS 964 based on the schematics given in page 13 of the 
manual-available here: 
http://dlsvr01.asus.com/pub/ASUS/mb/sock478/p4s800d-x/e1753_p4s800d-x.pdf. 


So, I was wondering..
1. If anyone has this motherboard on the list and have been successful 
with getting the SATA RAID controller to work.


..or...

2. If anyone has a motherboard with a similar chipset that they got the 
SATA controller to work with.


I tried googling a bit, but all I came up with is an possible lead that 
turned into a dead end (empty PR), and the supported hardware list isn't 
turning up anything helpful :(..


Here's my pciconf output (please note SATA controller is turned off in 
BIOS, but SiS964 is listed as a probed device--the LPC):


[EMAIL PROTECTED] /home/gcooper]# pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x80aa1043 chip=0x06551039 
rev=0x50 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS655 Host-to-PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x00031039 rev=0x00 
hdr=0x01

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS648FX Virtual PCI to PCI Bridge (AGP)'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:2:0: class=0x060100 card=0x chip=0x09641039 rev=0x36 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS964 LPC Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:2:5:   class=0x01018a card=0x810e1043 chip=0x55131039 
rev=0x01 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5513 EIDE Controller (A,B step)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:2:7: class=0x040100 card=0x810d1043 chip=0x70121039 rev=0xa0 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7013 PCI Audio Accelerator'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:3:0: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:1: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:2: class=0x0c0310 card=0x810e1043 chip=0x70011039 rev=0x0f 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:3: class=0x0c0320 card=0x810e1043 chip=0x70021039 rev=0x00 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7002 USB 2.0 Enhanced Host Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:4:0:  class=0x02 card=0x80a71043 chip=0x09001039 rev=0x91 
hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS900 Fast Ethernet/Home Networking Ctrlr'
class= network
subclass = ethernet
[EMAIL PROTECTED]:9:0:  class=0x01 card=0xa1809005 chip=0x00109005 rev=0x00 
hdr=0x00

vendor   = 'Adaptec Inc'
device   = 'AHA-2940U2W/U2B AHA-2950U2W Ultra2 SCSI Controller'
class= mass storage
subclass = SCSI
[EMAIL PROTECTED] /home/gcooper]#

TIA,
-Garrett


	I just grepped a few directories and found ataraid--something I had 
removed from my kernel a while back since I didn't have RAID. Would this 
by chance be what I need to enable the SATA RAID support for my motherboard?

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


Which version to use ( Xeon 64 bits )

2006-12-06 Thread Frank Bonnet

Hello

I just receive a new IBM X3650 server bi-proc XEON and
I wonder which version of FreeBSD to use with it I386 or AMD64 ?
Of course it is a 64 bits machine
infos, links welcome

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


memory limit in cron

2006-12-06 Thread Alexey Sveshnikov
Hi!!


I have some problems with running perl script from cron. 
My script works with huge log files and it's size grows up to 300-1500Mb. It's 
necessity and can't be done in other ways than collecting data into hashes. 
When memory usage reaches 256Mb, error happens:

Out of memory during request for 4084 bytes, total sbrk() is 264271872 bytes!
Callback called exit, LOG line 5635900.
END failed--call queue aborted, LOG line 5635900. 


Same script with same data works fine when running from console, and it's size 
grows up to 290Mb.
Also, very same script successfully works in cron on another server, it 
processes 4Gb files. 

IMHO, one thing that can be reason, is the version of FreeBSD. Script fails on 
FreeBSD 6.x and works fine on FreeBSD 4.x

How can I make it work on FreeBSD 6.2? 


Hardware (almost same on every servers)

CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf41  Stepping = 1
  
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
  Hyperthreading: 2 logical CPUs
real memory  = 2147352576 (2097024K bytes)
avail memory = 2087211008 (2038292K bytes)

OS: FreeBSD 4.11-RELEASE, FreeBSD 6.2-PRERELEASE

#ulimit
unlimited


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


Re: Makefile question... please help...

2006-12-06 Thread Koushik Narayanan
On Wed, Dec 06, 2006 at 12:38:49AM +0100, VeeJay wrote:
 Hi there,
 
 Is it possible to make configuration changes in Makefile to install a port
 as per one's requirments?

It is possible. But it is better to avoid as it gets overwritten when you cvsup 
or portsnap.

 
 I want to accomplish two tasks
 
 1. I want to configure mysql port before installation with following
 parameters: Could someone tell me that where in the Makefile, I need to put
 these paramenters in order to get my required results? Makefile is at the
 end of my message.

For each of these options there are usually knobs to set at the command line. 
You can easily find out these knobs from the MakeFile.

If there are no knobs for a particular option then AFAIK you have to change the 
Makefile. CONFIGURE_ARGS is the variable that holds all arguments that will be 
passed. You can add to it as you requre.
  
 Required Configuration paramenters:
 
 --prefix=/usr/local/mysql
 --with-mysqld-user=mysql
 --with-unix-socket-path=/tmp/mysql.sock

These three donot have any knobs AFAIK. So you have to change your Makefile.

 --with-mysqld-ldflags=-all-static

This one has a knob named BUILD_STATIC. So you could do make -DBUILD_STATIC 
install to add this configuration alone.

snip

 CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
--without-debug \
--without-readline \
--without-libedit \
--without-bench \
--without-extra-tools \
--with-libwrap \
--with-mysqlfs \
--with-vio \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
--enable-thread-safe-client

This is the CONFIGURE_ARGS variable. Modify it as you like. Donot forget the 
'\'at the end of each non terminating line.

snip

 .if defined(BUILD_STATIC)
 CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
 .endif

This is what I meant by a knob. If you pass -DBUILD_STATIC to make, this 'if' 
returns true and the extra option to CONFIGURE_ARGS is concatenated. You could 
also define BUILD_STATIC in your shell from which you run make. It has the same 
effect.

When you change your Makefile, make sure to rename it to so that it survives a 
cvsup.

HTH

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


python 2.3 binary package bug

2006-12-06 Thread Robin Becker

I installed this binary package

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/python23-2.3.5_1.tbz

on my freebsd 6.1 system and while testing had a problem related to 
/usr/local/lib/python2.3/lib-dynload/_socket.so (it didn't appear to be there).


When I build from the source of the package it seems OK. Is this a bug? The 
binary install mentioned certain bits might be missing, but socket wasn't one of 
them. If it is a bug what's the reporting mechanism?

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


Re: python 2.3 binary package bug

2006-12-06 Thread Gerard Seibert
On Wednesday December 06, 2006 at 07:40:57 (AM) Robin Becker wrote:


 I installed this binary package
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/python23-2.3.5_1.tbz
 
 on my freebsd 6.1 system and while testing had a problem related to 
 /usr/local/lib/python2.3/lib-dynload/_socket.so (it didn't appear to be 
 there).
 
 When I build from the source of the package it seems OK. Is this a bug? The 
 binary install mentioned certain bits might be missing, but socket wasn't one 
 of 
 them. If it is a bug what's the reporting mechanism?

man send-pr

-- 
Gerard

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


Re: BSDStats Report for December 1st, 2006

2006-12-06 Thread Ian Smith
On Tue, 5 Dec 2006, 09:50:20 -0400 Marc G. Fournier [EMAIL PROTECTED] 
wrote: 

  - --On Wednesday, December 06, 2006 00:31:49 +1100 Ian Smith 
  [EMAIL PROTECTED] wrote:
  
   On Mon, 4 Dec 2006 Marc G. Fournier [EMAIL PROTECTED] wrote:
  
   [..]
  
 report_devices sends the output of pciconf -l | grep -v none (active
   devices)
  
   Marc, I've wondered for a while why you're excluding 'none' devices, eg
   on my Compaq Armada 1500c (recent 5.5-STABLE) 'pciconf -lv' includes
  
   [EMAIL PROTECTED]:8:0: class=0x03 card=0xb1010e11 chip=0x00c0102c 
   rev=0x64
   hdr=0x00 vendor   = 'Asiliant (Chips And Technologies)'
   device   = '69000 AGP/PCI Flat Panel/CRT VGA Accelerator'
   class= display
   subclass = VGA
  
   which is not exactly an inactive device here?
  
  'k, my question back at you is why is there no driver associated with it? 
  Shouldn't there be ... ?

It's a very good question :) but not one to which I know the answer.
dmesg, since 5.4-RELEASE through 5.5-STABLE reports:

  pci0: display, VGA at device 8.0 (no driver attached)

I couldn't find a pciconf saved from those days, but on 4.5-RELEASE
dmesg always reported it as:

  pci0: Chips  Technologies 69000 SVGA controller at 8.0

with no difference in functionality.  Xorg recognises it fine either
way, as does VESA (which now only reports itself on a verbose dmesg)

  But, that said ... I've removed the none driver, since all it will do i make 
  the list longer, but it doesn't hurt anything ...

I notice tonight that all of the 'none' devices reported there all seem
also to be display adapters.  On my Thinkpad T23 (not yet reporting) I
see the pciconf 'none' devices are an Intel 82801CA/CAM SMBus Controller
and a Lucent LT Winmodem (shrug?)

   Perhaps they'd be more useful summarised by OS, or at least prefaced
   with 'f' or 'o', 'n', 'd' or something else indicative?  Just an idea ..
  
  Click on the FreeBSD icon, and you'll get FreeBSD specific stats ... but, 
  good 
  point about the front page ones, will look at adding a label for there ...

Ah yes, and I see you're still working on things now.  Good stuff.

Ahem, could it be someone from (this time) Australia is gaming the
system?  We've gone up from 425 a little earlier to (just now) 555
FreeBSD systems, and while we're never sorry to be beating the Yanks,
especially at their own game, I doubt that it's fair dinkum, mate :) 

Cheers, Ian

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


Re: cant able to telnet the freebsd system

2006-12-06 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 Hi Team
 
 I put entry in  /etc/rc.conf  as
 
 inetd_enable=YES
 
 and after that  /etc/inetd.conf  I  uncomment the telnet line to activate 
 the telnet server
 
 then restarted the telnet service
 
 /etc/rc.d/inetd restart
 
 and it get restarted
 
 but I couldnt able to telnet  the server both locally or remote

sockstat -4 will show you whether it's listening or not.

The actual error messages would be more helpful than a generic it
doesn't work

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


Re: BSDStats Report for December 1st, 2006

2006-12-06 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Thursday, December 07, 2006 00:26:19 +1100 Ian Smith 
[EMAIL PROTECTED] wrote:


 I notice tonight that all of the 'none' devices reported there all seem
 also to be display adapters.  On my Thinkpad T23 (not yet reporting) I
 see the pciconf 'none' devices are an Intel 82801CA/CAM SMBus Controller
 and a Lucent LT Winmodem (shrug?)

Actually, check the list now ... Audio controllers, SCSI controllers, Modems, 
etc ... 85 devices so far ...

 Ahem, could it be someone from (this time) Australia is gaming the
 system?  We've gone up from 425 a little earlier to (just now) 555
 FreeBSD systems, and while we're never sorry to be beating the Yanks,
 especially at their own game, I doubt that it's fair dinkum, mate :)

nope, Antony finally got permission to add their client servers to the mix, and 
has been working on getting it deployed to all 800+ of them :)  Anyone else out 
there with similar deployments to offset him? :)

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFds264QvfyHIvDvMRAvwEAJ4///GDLKvhzULlhpx8gxzHUq+ohACgxGgm
zNb77KoPf5LlVdHmQFfR8S8=
=xjp9
-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]


Re: The Opera browser on FreeBSD

2006-12-06 Thread Arjan van Leeuwen

Hi Henry, others,

As of the latest weekly development release of Opera (see  
http://my.opera.com/desktopteam/blog/), it's now possible to use any Linux  
plugin in the native Opera for FreeBSD version, including Flash and  
Acrobat Reader. The feature will be included in the upcoming Opera 9.1.


For now, it'll require some actions to get it to work, but if you'd like  
to experiment with this, this might help:

0) Make sure you have the x11/linux-xorg-libs port installed.

1) Download and extract the latest weekly release for both FreeBSD and  
Linux:

http://snapshot.opera.com/unix/Weekly-507/intel-freebsd/opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507.tar.bz2
http://snapshot.opera.com/unix/Weekly-507/intel-linux/opera-9.10-20061205.1-static-qt.i386-en-507.tar.bz2
(FreeBSD package is for FreeBSD 6.x and requires Qt installed)

2) Copy operapluginwrapper from the Linux package over to the FreeBSD  
package:

$ cd opera-9.10-20061205.4-shared-qt.i386.freebsd-en-507
$ cp  
../opera-9.10-20061205.1-static-qt.i386-en-507/plugins/operapluginwrapper  
plugins/


Now, if you want to run the Opera weekly directly from the package without  
installing (will use a fresh, empty profile, recommended):


3) Copy libnpp.so within the FreeBSD package to a new location:
$ cp plugins/libnpp.so bin/libnpp.so

4) Run Opera
$ ./opera

If instead you want to install Opera for all users (will overwrite  
existing installations and use your default profile, not recommended with  
development releases like this):


3) Run install
$ ./install.sh

4) Copy libnpp.so manually to the Opera binary directory
$ cp plugins/libnpp.so /usr/local/share/opera/bin/

5) Run Opera
$ /usr/local/bin/opera

The actions described here do not affect Java; you'll still be able to run  
Java applets with the native version of Java (such as diablo-jdk or  
diablo-jre).


We appreciate any reports on whether this feature works as expected (or  
doesn't at all).


On Tue, 21 Nov 2006 15:31:30 +0100, Henry Lenzi [EMAIL PROTECTED]  
wrote:



 Thanks for you support. I have posted on the forum, on ocasion.
 The main issues, for me, are
 1) Java (idiablo-jdk - it doesn't work, even though the path is right);


I'm using it here - the path to use is  
/usr/local/diablo-jdk1.5.0/jre/lib/i386/. You can post on the forum if you  
have more problems with this. It could be that you're using a package  
that's compiled for a different version of FreeBSD; use the .4 package if  
you're on FreeBSD 6.



 2)  the Flash plugin. Is there a way to use the Linux emulation layer
in order to get the plug-in working?


See above :)


 3) Cyrillic fonts look small, and you can't make them bigger.


I don't know about that, but you could file a bug at  
http://bugs.opera.com/.


Best regards,

Arjan van Leeuwen
Opera Software

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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


NIC problems

2006-12-06 Thread Matthew Edwards
Hi,

I have a Intel Desktop Board D946GZIS and im using FreeBSD 6.2
Pre-release.  I can't get the NIC to work.  Please can someone help me
as this is urgent.

__
Matthew Edwards
Clarotech Consulting (Pty) Ltd.
  Tel:  +27 21 762-2928
  Fax:  +27 21 762-7654
  Cell: +27 82 471-3443
  Web:  www.clarotech.co.za

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


Re: mod_perl update issue

2006-12-06 Thread Philip M. Gollucci

Eric wrote:

CPUTYPE?=athlon64

either way, its installed now. i have never seen that happen before. 
thanks!


We all just found this when I submitted the 2.0.3 update.
A patch will be added to the ports tree and I've committed a fix to mp2 
svn upstream so 2.0.4 will not need it.


Patch below (which should also work with 2.0.2 until 2.0.3 catches up)

root% cat files/patch-xs-APR-APR-Makefile.PL
--- xs/APR/APR/Makefile.PL.orig Sat Dec  2 03:52:51 2006
+++ xs/APR/APR/Makefile.PL  Sat Dec  2 03:52:59 2006
@@ -15,7 +15,7 @@

 my %args;

-%args = map { split /=/, $_ } @ARGV;
+%args = map { split /=/, $_, 2 } @ARGV;

 $args{NAME} = 'APR';
 $args{VERSION_FROM} = 'APR.pm';
--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-06 Thread Wayne

Wasp King wrote:

there must be a way to enable only local mail
delivery...but I am not sure how..


Someone already posted the rc.conf switches to disable sendmail.  Use 
those, esp sendmail_enable=NONE to get rid of it.  Then install an 
alternate.  I use SSMTP from the ports.


  -Wayne

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


Re: NIC problems

2006-12-06 Thread Lane
On Wednesday 06 December 2006 08:38, Matthew Edwards wrote:
 Hi,

 I have a Intel Desktop Board D946GZIS and im using FreeBSD 6.2
 Pre-release.  I can't get the NIC to work.  Please can someone help me
 as this is urgent.

 __
 Matthew Edwards
 Clarotech Consulting (Pty) Ltd.
   Tel:+27 21 762-2928
   Fax:+27 21 762-7654
   Cell:   +27 82 471-3443
   Web:www.clarotech.co.za

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

What are some of the symptoms?  Has the nic worked before?  If so, are there 
any error messages in /var/log/messages?

What does

ifconfig -a 

show?

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


Re: installing from a harddisk prepared in a functional system

2006-12-06 Thread Roger 'Rocky' Vetterberg
Steve Franks wrote:
 How does one make a 'boot' disk - be it cdrom, harddrive or flash
 (presuming your bios will boot from all those devices, of course)?
 
 1.The handbook specifies you need to minimally copy the /bin folder to
 the destination.
 2. Obviously you want a valid ufs2 partition.
 3. I've repeatedly tried setting the 'bootable' option in fdisk, and
 the 'A' appears next to the slice, but everytime I reboot it
 dissappears, even after a 'W' command, so I'm going to try to get this
 to go without using sysinstall by a manual copy, if I can.
 4. Windows partitions need some special files, i.e. ntldr, at a
 special location on the boot partiton - equivalent in bsd? Or does the
 loader just look for /bin and load the kernel from there?
 5. bootloader seems to work when I put the disk in the new computer -
 get F1 and F2, but nothing else happens.
 
 Basically I'm trying to make an 'image' - put a fresh disk in my
 working system, format it, make it boot, at least to sysinstall, so I
 can put it in my other system that has no floppy or cdrom to install
 from, and get things rolling over the network card.  I was thinking I
 could just do this with a single partition on the target disk, like
 the install cdrom's do.  I want to turn a harddisk into an install
 cdrom, and then have it install to itself, a dangerous idea, no doubt,
 but it appears that it could work, I just can't get the new disk to
 boot in the new system.
 
 Thanks,
 Steve
 

Is there a reason why you can't finish the installation on your
working system, and then move the disk to the new machine and just
boot your newly installed system?

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


Re: installing from a harddisk prepared in a functional system

2006-12-06 Thread Jerry McAllister
On Tue, Dec 05, 2006 at 08:03:56PM -0700, Steve Franks wrote:

 How does one make a 'boot' disk - be it cdrom, harddrive or flash
 (presuming your bios will boot from all those devices, of course)?
 
 1.The handbook specifies you need to minimally copy the /bin folder to
 the destination.
 2. Obviously you want a valid ufs2 partition.
 3. I've repeatedly tried setting the 'bootable' option in fdisk, and
 the 'A' appears next to the slice, but everytime I reboot it
 dissappears, even after a 'W' command, so I'm going to try to get this
 to go without using sysinstall by a manual copy, if I can.
 4. Windows partitions need some special files, i.e. ntldr, at a
 special location on the boot partiton - equivalent in bsd? Or does the
 loader just look for /bin and load the kernel from there?
 5. bootloader seems to work when I put the disk in the new computer -
 get F1 and F2, but nothing else happens.
 
 Basically I'm trying to make an 'image' - put a fresh disk in my
 working system, format it, make it boot, at least to sysinstall, so I
 can put it in my other system that has no floppy or cdrom to install
 from, and get things rolling over the network card.  I was thinking I
 could just do this with a single partition on the target disk, like
 the install cdrom's do.  I want to turn a harddisk into an install
 cdrom, and then have it install to itself, a dangerous idea, no doubt,
 but it appears that it could work, I just can't get the new disk to
 boot in the new system.

If I understand you, you are trying to install enough of FreeBSD on a disk
that you will then move to another machine to finish the install???

First of all, why don't you just do the complete install on the
disk rather than just a part of it.

Second, did you write the MBR to the disk?  I would suggest this:
   dd if=/dev/zero of=/dev/da1 bs=512 count=32
   fdisk -BI da1
That first dd just makes sure no previous junk on the disk gets in the way.

The fdisk command writes two main things:  The primary slice table
and the MBR.   But, it does not put the boot sector there.   That
is done with bsdlabel.

   bsdlabel -w -B da1s1 will do it

Then, you have to divide that slice you made in the fdisk command
into at least one partition - probably several.
FreeBSD doesn't boot to the slice, but rather needs a real partition
that has been made in to a file system and had needed files written on it.
 
For that you again use bsdlabel.  The easiest is to use it in edit mode:

   bsdlabel -e da0s1

That puts you in an edit session to edit the partition table for the slice.
Edit it as you prefer.   I posted a long response yesterday that gives
a good example.   

Then, you should install all of what goes in root and preferably also
what goes in /usr before trying to boot.

You can do all this through sysinstall and if you really must only
partially install, then just get really selective on what you tell
it to install rather than just take the general/normal installation.

But, as I said above, just do the whole install at this time.
The only thing you might come out funny on are the device names
it puts in /etc/fstab.In might name them da1 or ad1 instead of
the da0 or ad0 you need when you move the disk over to the other 
machine.  So, mount up the newroot (on the new disk) and check out
the /newroot/etc/fstab file and edit if necessary before moving
the disk over.

jerry


 
 Thanks,
 Steve
 
 -- 
 Steve Franks, KE7BTE
 Staff Engineer
 La Palma Devices, LLC
 http://www.lapalmadevices.com
 (520) 312-0089
 ___
 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: custom rc.d script not working

2006-12-06 Thread Jerry McAllister
On Wed, Dec 06, 2006 at 08:56:37AM +0530, Gobbledegeek wrote:

 My script is in /etc/rc.d and it executes - only when I login and find
 no zebra process... executing it manually starts zebra allright.
 
 Why should I put it in /usr/local/etc/rc.d ?

Because that is where the system expects to find scripts to 
start up at boot time.

jerry

 
 I think I see a 0.99.5 version in freshports.org. I'll just use that 
 instead.
 
 Thanks ye all for the help...
 
 Rgrds
 
 On 12/5/06, Jerry McAllister [EMAIL PROTECTED] wrote:
 On Tue, Dec 05, 2006 at 11:30:41AM +, Tom Judge wrote:
 
  Gobbledegeek wrote:
  I  compiled quagga 0.99.5  from source (not  freebsd port) and  wrote  
 this
  little  script in the /etc/rc.d/zebra  file.
  ---
  #!/bin/sh
  
  # PROVIDE: zebra
  # REQUIRE: NETWORKING
  
  . /etc/rc.subr
  
  name=zebra
  rcvar=${name}_enable
  required_files=/usr/local/etc/${name}.conf
  command=/usr/local/sbin/${name}
  command_args=-d
  pidfile=/var/run/${name}.pid
  load_rc_config $name
  run_rc_command $1
  --
  
  /etc/rc.conf has  zebra_enable=yes
  
  However it only starts zebra  when  I execute  it manually from
  command  line.  When I boot  freebsd, it  executes   and I see
  message  in boot screen  that zebra  is starting, but on login I find
  zebra isn't running.
  all files in /usr/local/sbin/   for  zebra  executables are  owned  by
  quagga/quagga user/group.
  
  Once I  get this working, I  will ofcourse  add scripts for ospfd  and
  bgpd and isisd..  but it beats me why this isn't  working...
  
  This is  on  freebsd 6.2  RC1  i386.
  
  Thanks very much in advance  for  your help...
  
  PS:  Please  CC  me as I am not subscribed.
  
 
 First, I presume you mean to say that you put the script
 in the  '/usr/local/etc/rc.d/'  directory and not just /etc/rc.d
 
 Secondly, my most frequent error is error with these is to forget
 to make them executable.  If the script does not have execute
 permission, it is ignored.
 
 jerry
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
 -- 
 Rgrds
 GobbledeGeek
 [Everything but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: python 2.3 binary package bug

2006-12-06 Thread Robin Becker

Gerard Seibert wrote:
..

them. If it is a bug what's the reporting mechanism?


man send-pr

what an awful interface that was ;( made me grumpy using it. Perhaps I've grown 
too used to these new fangled web applications :)


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


Re: python 2.3 binary package bug

2006-12-06 Thread Alex Zbyslaw

Robin Becker wrote:


Gerard Seibert wrote:
..


them. If it is a bug what's the reporting mechanism?



man send-pr

what an awful interface that was ;( made me grumpy using it. Perhaps 
I've grown too used to these new fangled web applications :)



http://www.freebsd.org/send-pr.html

--Alex


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


Re: Which version to use ( Xeon 64 bits )

2006-12-06 Thread Peter A. Giessel
On 2006/12/06 0:36, Frank Bonnet seems to have typed:
 Hello
 
 I just receive a new IBM X3650 server bi-proc XEON and
 I wonder which version of FreeBSD to use with it I386 or AMD64 ?
 Of course it is a 64 bits machine
 infos, links welcome
 
 thanks

It depends on what you are going to do with it.  This question has been
asked many times on this e-mail list, so you might want to start by
searching the archives.

If you are running desktop applications on it (such as X11), you might
be better off running the i386 version as some ports don't support AMD64,
however, if you have more than 4GB of RAM and/or are running all ports
that support AMD64, you'd probably be better off running AMD64.  I'm
running AMD64 with Apache22, PHP5, MySQL40, Dovecot, Sendmail, SASL2,
Horde-IMP, and some other things and it works great (Opteron 246 x2,
4GB RAM, 3Ware raid card), but YMMV.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which version to use ( Xeon 64 bits )

2006-12-06 Thread Josh Carroll

I just receive a new IBM X3650 server bi-proc XEON and
I wonder which version of FreeBSD to use with it I386 or AMD64 ?


Do you have more than 4GB of RAM? If not, I'd recommend sticking with
i386. There are very few things that will actually run any faster with
the AMD64 version (notably, media encoding/decoding and anything else
that can take advantage of the 64-bit registers for math operations).

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


Thunderbird extension problem

2006-12-06 Thread Kay Abendroth


Hello,

I have problems installing extensions to Thunderbird on my FreeBSD 
system. After installing an extension and a restart of the application, 
the extension simply isn't available.
  I already build a debug version of Thunderbird, but that didn't help 
to give some useful explanations.


Has someone experienced this before? And what can I do?


Any help would be appreciated.
Kay


--
GnuPG-Key-ID: 0x4CCBF36C
Fingerprint:  7098 E6AA 4706 1CB5 62D9  CCD3 6CD4 777D 4CCB F36C

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


Re: Thunderbird extension problem

2006-12-06 Thread Michael Johnson

On 12/6/06, Kay Abendroth [EMAIL PROTECTED] wrote:


Hello,

I have problems installing extensions to Thunderbird on my FreeBSD
system. After installing an extension and a restart of the application,
the extension simply isn't available.
   I already build a debug version of Thunderbird, but that didn't help
to give some useful explanations.

Has someone experienced this before? And what can I do?



How are you installing the extension? what extension is it?



Any help would be appreciated.
Kay


--
GnuPG-Key-ID: 0x4CCBF36C
Fingerprint:  7098 E6AA 4706 1CB5 62D9  CCD3 6CD4 777D 4CCB F36C

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


display power

2006-12-06 Thread abc
can someone tell me how to stop FreeBSD (4.11) from
turning off my monitor (after whatever preset timeout
there is)?

it's messing my monitor up because it takes my monitor
about an hour to stabilize the display after being
turned off - and i can't afford a new monitor right now.
until it is warmed up, it squiggles all over to the
point where nothing can be seen or read on the display.

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


Re: Thunderbird extension problem

2006-12-06 Thread Kay Abendroth

Michael Johnson wrote:

On 12/6/06, Kay Abendroth [EMAIL PROTECTED] wrote:


Hello,

I have problems installing extensions to Thunderbird on my FreeBSD
system. After installing an extension and a restart of the application,
the extension simply isn't available.
   I already build a debug version of Thunderbird, but that didn't help
to give some useful explanations.

Has someone experienced this before? And what can I do?



How are you installing the extension? what extension is it?


First extension I tried was enigmail from ports. I successfully build 
it. After that, I tried AutoMsgSelect, which I downloaded from the net. 
Both extensions were ment to be installed locally into my profile. After 
installation-attempt, the extension also gets there, but isn't installed 
properly.


I'm using TB 1.5.0.8 and a recent RELENG_6_2.


--
GnuPG-Key-ID: 0x4CCBF36C
Fingerprint:  7098 E6AA 4706 1CB5 62D9  CCD3 6CD4 777D 4CCB F36C

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


Xorg 7.2 ante portas

2006-12-06 Thread O. Hartmann

Hello.
Xorg 7.2 is about to be released - with nice new features an, more 
important, bugfixes, upgraded drivers etc.
Are there any plans of supporting this version via the ports collection? 
It seems that the ports still have the outdated monolithical Xorg 6.9 
version.


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


Re: display power

2006-12-06 Thread Warren Block

On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:


can someone tell me how to stop FreeBSD (4.11) from
turning off my monitor (after whatever preset timeout
there is)?


vidcontrol -t off

Unless you're running X, in which case I know it can be done, but can't 
remember how.


Incidentally, a monitor like that can be a fire hazard.  Replace as soon 
as possible.  It shouldn't be hard, because people are giving away used 
CRTs now.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg 7.2 ante portas

2006-12-06 Thread John Nielsen
On Wednesday 06 December 2006 12:42, O. Hartmann wrote:
 Hello.
 Xorg 7.2 is about to be released - with nice new features an, more
 important, bugfixes, upgraded drivers etc.
 Are there any plans of supporting this version via the ports collection?

Yes. See the freebsd-x11 mailing list archives for more details, but basically 
the team doing the porting is just waiting for the actual release of 7.2 
before they merge the new versions into the ports tree. I'm sure there will 
still be some testing and other tasks to be completed after that, but 
hopefully most things should be working.

 It seems that the ports still have the outdated monolithical Xorg 6.9
 version.

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


Re: Xorg 7.2 ante portas

2006-12-06 Thread Kövesdán Gábor

O. Hartmann schrieb:

Hello.
Xorg 7.2 is about to be released - with nice new features an, more 
important, bugfixes, upgraded drivers etc.
Are there any plans of supporting this version via the ports 
collection? It seems that the ports still have the outdated 
monolithical Xorg 6.9 version.

Yes, Florent has been working on this. See this blog entry:

http://blog.xbsd.org/2006/11/27/xorg-72-rc2-experimental-build-will-start-soonish/

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


Re: The Opera browser on FreeBSD

2006-12-06 Thread Scott Mitchell
On Wed, Dec 06, 2006 at 02:51:16PM +0100, Arjan van Leeuwen wrote:
 Hi Henry, others,
 
 As of the latest weekly development release of Opera (see  
 http://my.opera.com/desktopteam/blog/), it's now possible to use any Linux  
 plugin in the native Opera for FreeBSD version, including Flash and  
 Acrobat Reader. The feature will be included in the upcoming Opera 9.1.

Hi Arjan,

Followed your instructions, put my linux-flashplugin and acroread plugin
directories on Opera's plugin search path  and... wow! everything suddenly
started working.

I tried a bunch of Flash sites and widgets, all of which worked except for
the last.fm widget (the plugin seemed to start, but never displayed
anything).  Even audio worked, and it seemed fast too, probably better even
than, say, Linux Firefox on this machine.

Acrobat happily opened various PDFs I had lying around.  The only issue I
had there is when I tried to open a different PDF file in a tab that was
already displaying a PDF - that seemed to lock up the whole Acrobat
plugin.  I got messages like this on the console when this happened:

opera: Plug-in 2783 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked 
plug-ins.

(I haven't tried defining the environment variable as it suggests yet)

If you're ever here in Cambridge let me know - you just made my week for
me, so I guess I owe you beverage of your choice if we ever meet :-)

So when is 9.10 going to be released?

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Which live CD for recovery

2006-12-06 Thread Erik Norgaard

Hi:

Which live CD is recommended for recovery? What I'd like is to have as 
many disk analysis tools at hand just in case.


The case is that I am not recovering a FBSD system but Windows XP 
(*sigh*). After trying to help a friend clean her pc for virus it won't 
boot, even in safe mode... ps.


I believe one of two things has happened: the anti virus placed a system 
file in the vault, or running windows update the genuine windows 
disadvantage tool disabled the system because it may have been pirate 
(don't know).


So, I need to recover data to some other machine, and then see if I can 
recover the system file without a full reinstall.


Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: python 2.3 binary package bug

2006-12-06 Thread Gerard Seibert
On Wednesday December 06, 2006 at 11:34:40 (AM) Alex Zbyslaw wrote:


 Robin Becker wrote:
 
  Gerard Seibert wrote:
  ..
 
  them. If it is a bug what's the reporting mechanism?
 
 
  man send-pr
 
  what an awful interface that was ;( made me grumpy using it. Perhaps 
  I've grown too used to these new fangled web applications :)
 
 http://www.freebsd.org/send-pr.html

You are right Alex. I had forgotten about that never having used it
personally. I have a question though. The PC based send-pr captures
certain system attributes. Does the web based one function similarly? I
don't believe it does. 

-- 
Gerard

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


Re: Xorg 7.2 ante portas

2006-12-06 Thread Micah

O. Hartmann wrote:

Hello.
Xorg 7.2 is about to be released - with nice new features an, more 
important, bugfixes, upgraded drivers etc.
Are there any plans of supporting this version via the ports collection? 
It seems that the ports still have the outdated monolithical Xorg 6.9 
version.


regards,
Oliver


Soon. It's possible to test it now if you need it.

See:
http://wikitest.freebsd.org/ModularXorg
http://blog.xbsd.org/
http://lists.freebsd.org/pipermail/freebsd-x11/

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


Disk I/O DEAD slow after upgrade from 5.5 - 6.1

2006-12-06 Thread Rob Connon

Hi All,



We recently upgraded a mail server from FreeBSD 5.5 to 6.1 and also 
moved the /home partition from a shared RAID 1 Volume with the

system disk to a 3 x 300GB RAID 5 volume.

Upon users returning the complaints starting to roll in about IMAP 
(squirrelmail / MUA's) access being incredibly slow and mail clients 
timing out.. all the daemons have been rebuilt.
Another colleague of mine posted and received feedback saying that you 
will take a performance hit moving from a RAID 1 to RAID 5 volume which 
is understood. Thinking it was maybe an issue with 6.1 we moved to 6.2 
RC1 to see if that would help and it has not.. so last night we moved 
all the mail back to a single 146GB disk to see if it was the RAID 5 
volume and the problems persisted, same behavior HIGH iops for barely 
any server activity resulting is sluggish.


Could this be related to FreeBSD 6 and the RAID card? below is dmesg 
plus some other info.  The Server is a HP DL380G4
Dual Xeon, 2GB mem, RAID 1 Volume (system Disk) RAID 5 Volume (homedir 
mail delivery)



Thanks in advance!

Rob.

vmstat output

mail# vmstat 4
procs  memory  pagedisks faults  cpu
r b w avmfre  flt  re  pi  po  fr  sr da0 da1   in   sy  cs us 
sy id
3 9 0 1394696  78324 1532   0   0   0 1142  99   0   0  583 4832 1636  
9  2 89
0 17 0 1342264  85972 1382   0   0   0 2559   0  42   0  968 16504 3108 
13  5 82
0 20 0 1291744 127668 4158   0   0   1 4468 3289   5   0  820 9305 2785 
10  5 85
0 18 0 1292056 114240 1149   0   0   0 961   0   3   0  873 7531 2482  
6  2 92
0 13 0 1437268  70104 3101   0   0   0 2212   0   2   0  952 10561 2624 
16  3 80
1 15 0 1429296 111668 1119   0   0   0 2092 3384  11   0 1007 10564 
3093  6  3 91
0 12 0 1351700  92228  881   0   0   0 1930   0  15   0  902 11177 2644 
13  3 84
1 11 0 1261692 124004 1046   0   0   0 3890   0   3   0  752 6718 2107 
10  2 88
0 10 0 1261176 116220  766   0   0   0 710   0  26   0  916 8603 2489  
4  2 93
0 14 0 1264976 103120  449   0   0   0 291   0   9   0  735 6775 2248  
3  2 94
1 12 0 1265988  90356  642   0   0   0 425   0   2   0  874 7657 2679 
14  3 83
0 10 0 1400440 68 5349  13   0   1 3549 3279   4   0  950 11753 
2657 22  5 73
1 19 0 1395484  76816 2443  13   0   0 3101   0   3   0  877 9711 2718 
17  4 80


Systat -vmstat output

   2 usersLoad  1.84  2.47  1.84  Dec  6 10:11

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
   Tot   Share  TotShareFree in  out in  out
Act  796644   11224  126166423804  180164 count
All 1965316   87552873999692   237848 pages
 997 zfod   Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt   1155 cow8351 total
 14265  2403 2377 4948  825   27 2261 199080 wire1: 
atkb
  840156 act 6: 
fdc0
1.9%Sys   0.4%Intr  8.7%User  0.0%Nice 89.0%Idl   831232 inact   
14: ata
|||||||||| 100760 cache   138 
29: bge
=   79404 free208 
30: cis
 daefr 1 
31: bge
Namei Name-cacheDir-cache 342 prcfr  2001 
cpu0: time
   Calls hits% hits% react  2001 
cpu3: time
   2582924848   96   pdwak  2001 
cpu1: time
 pdpgs  2001 
cpu2: time

Disks   da0   da1   da2 pass0 pass1 pass2 intrn
KB/t  16.91  0.00  9.86  0.00  0.00  0.00  114464 buf
tps   7 0   207 0 0 0 182 dirtybuf
MB/s   0.11  0.00  1.99  0.00  0.00  0.00  10 desiredvnodes
% busy4 0   100 0 0 0   53711 numvnodes
   24867 freevnodes


These tests below were ran at 1AM while barely any users were connected..

Diskinfo test run on single 146GB disk while generating I/O 



mail# diskinfo -t /dev/da1
/dev/da1
   512 # sectorsize
   146807930880# mediasize in bytes (137G)
   286734240   # mediasize in sectors
   35139   # Cylinders according to firmware.
   255 # Heads according to firmware.
   32  # Sectors according to firmware.

Seek times:
   Full stroke:  250 iter in  12.477037 sec =   49.908 msec
   Half stroke:  250 iter in   7.018588 sec =   28.074 msec
   Quarter stroke:   500 iter in   9.455907 sec =   18.912 msec
   Short forward:400 iter in   1.788364 sec =4.471 msec
   Short backward:   400 iter in   1.821630 sec =4.554 msec
   Seq outer:   2048 iter in   0.361632 sec =0.177 msec
   Seq inner:   2048 iter in   0.353460 sec = 

Re: python 2.3 binary package bug

2006-12-06 Thread Robin Becker

Gerard Seibert wrote:

On Wednesday December 06, 2006 at 11:34:40 (AM) Alex Zbyslaw wrote:



Robin Becker wrote:


Gerard Seibert wrote:
..


them. If it is a bug what's the reporting mechanism?


man send-pr

what an awful interface that was ;( made me grumpy using it. Perhaps 
I've grown too used to these new fangled web applications :)



http://www.freebsd.org/send-pr.html


You are right Alex. I had forgotten about that never having used it
personally. I have a question though. The PC based send-pr captures
certain system attributes. Does the web based one function similarly? I
don't believe it does. 

you're right; part of the cli version has bits already filled in with the 
release version and (I believe) output from uname -a.

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


Re: Which live CD for recovery

2006-12-06 Thread Kay Abendroth

Erik Norgaard wrote:

Hi:

Which live CD is recommended for recovery? What I'd like is to have as 
many disk analysis tools at hand just in case.


The case is that I am not recovering a FBSD system but Windows XP 
(*sigh*). After trying to help a friend clean her pc for virus it won't 
boot, even in safe mode... ps.


I believe one of two things has happened: the anti virus placed a system 
file in the vault, or running windows update the genuine windows 
disadvantage tool disabled the system because it may have been pirate 
(don't know).


So, I need to recover data to some other machine, and then see if I can 
recover the system file without a full reinstall.


I would give Knoppix [ www.knoppix.org ] a try. You should be able to 
read-only mount the NTFS/FAT-32 partition and copy it to a safe place.


After that try booting from the Windows-CD and repair the installation 
(without reformatting first). If that won't help, you have to make a 
fresh install.



Kay

--
GnuPG-Key-ID: 0x4CCBF36C
Fingerprint:  7098 E6AA 4706 1CB5 62D9  CCD3 6CD4 777D 4CCB F36C

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


Re: display power

2006-12-06 Thread Frank Shute
On Wed, Dec 06, 2006 at 10:48:06AM -0700, Warren Block wrote:

 On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:
 
 can someone tell me how to stop FreeBSD (4.11) from
 turning off my monitor (after whatever preset timeout
 there is)?
 
 vidcontrol -t off
 
 Unless you're running X, in which case I know it can be done, but can't 
 remember how.

xset(1) is worth reading in that case. Something like:

xset -dpms

in .xinitrc should do it.

 
 Incidentally, a monitor like that can be a fire hazard.  Replace as soon 
 as possible.  It shouldn't be hard, because people are giving away used 
 CRTs now.

I've got a houseful of CRTs that I want to get rid of :/

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: python 2.3 binary package bug

2006-12-06 Thread Alex Zbyslaw

Robin Becker wrote:



more relaxing somehow even though it's really the same info. Perhaps 
it was the fact that send-pr uses vi rather than my normal vim. All 
those nice colours would have helped. Thanks for the pointers.


If you set $VISUAL in your environment to /usr/local/bin/vim (assuming 
that's where it lives) then send-pr ought to use that for your editor.  
The same is true for many other utilities which use an editor such as 
less, cvs etc.  Only need to be careful that in single-user mode you may 
not have /usr/local available in which case a quick unset VISUAL or 
unsetenv VISUAL ((t)csh) is all you need.


(If VISUAL is not set most utilities then look for $EDITOR.  
Traditionally EDITOR was expected to be a line-editor which would work 
on a teletype, but not much call for that these days :-)).


--Alex


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


Re: display power

2006-12-06 Thread Alex Zbyslaw

Warren Block wrote:


On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:


can someone tell me how to stop FreeBSD (4.11) from
turning off my monitor (after whatever preset timeout
there is)?



vidcontrol -t off

Unless you're running X, in which case I know it can be done, but 
can't remember how.



This works for me.

xset -dpms; xset s off

And back on with the reverse:

xset +dpms; xset s on

--Alex


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


Re: python 2.3 binary package bug

2006-12-06 Thread Alex Zbyslaw

Gerard Seibert wrote:


http://www.freebsd.org/send-pr.html
   



You are right Alex. I had forgotten about that never having used it
personally. I have a question though. The PC based send-pr captures
certain system attributes. Does the web based one function similarly? I
don't believe it does. 

 

Probably not - been a while since I used it though :-).  A quick check 
indicates no.   Also, web-based version is trickier for patches IIRC 
since simple cut-and-paste into a web form can end up translating tabs 
to spaces.  Easy enough to just attach a patch though.


Over all I remember finding the web form easier - release info and uname 
-a not too hard to cut-and-paste.  In the end, it's a matter of personal 
preference, I guess :-)


--Alex




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


system bootup console setup

2006-12-06 Thread J. W. Ballantine

Ok,  I should be able to find this somewhere
in the documentation, but I can't (must be looking
for the wrong key words).

When the system boots, the consoles need to be initialized
and defined somewhere.  I want to change the definition, but
I can't find the startup script that init's them.  Which one
is it?

Thanks

Jim


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


Any way to tell what the RAM configuration is?

2006-12-06 Thread patrick

I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
the RAM configuration in the system is? ie. Can it show me if I have
four 256MB modules versus two 512MB's? Obviously it would be possible
to just open up the computer and see for my self, I'm hoping I can
save myself a trip and wrecking an uptime of 670 days. :)

Thanks,

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


Any advantages xinetd has over inetd anymore?

2006-12-06 Thread Jamie




   I was considering installing xinetd on my FreeBSD server, but reading
the man page for inetd, I see the traditional inetd offers all kinds of
rate limiting by service, ip, etc, that I was going to upgrade to xinetd
for.

   Many people I've talked to claim xinetd is so superior in function, but
to me it appears that inetd will do pretty much everything that xinetd
will do now. Or, am I missing something?



- Jamie





The Moon is Waning Gibbous (97% of Full)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


** SICK SERVER **

2006-12-06 Thread ~ Evaldo
Hello there!
 How did you solved this trouble?
 I´m experiencing this right now, since two days ago.
 Any help will welcome. Please
 
 Sincerely.
 
 Evaldo
 at
 fcm.unicamp.br
 or
 tio_evaldo
 at 
 yahoo.com.br

~ Evaldo

-
 Você quer respostas para suas perguntas? Ou você sabe muito e quer 
compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: display power

2006-12-06 Thread Peter A. Giessel
On 2006/12/06 9:37, Frank Shute seems to have typed:
 On Wed, Dec 06, 2006 at 10:48:06AM -0700, Warren Block wrote:
 Incidentally, a monitor like that can be a fire hazard.  Replace as soon 
 as possible.  It shouldn't be hard, because people are giving away used 
 CRTs now.
 
 I've got a houseful of CRTs that I want to get rid of :/
 

State Surplus in Juneau was getting rid of 17-19 CRTs that work great
for $5 each (since I notice that the OP is in Anchorage and figure they
have a similar deal there).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SICK SERVER

2006-12-06 Thread Evaldo Silva

Hello there!
How did you solved this trouble?
I´m experiencing this right now, since two days ago.
Any help will welcome. Please

Sincerely.

Evaldo
at
fcm.unicamp.br
or
tio_evaldo
at
yahoo.com.br
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port Question

2006-12-06 Thread Julian D. Seifert
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow.html#SLOW-WORK

maybe this will help you in finding the distribution.

ciao,

 Julian D. `alamar` Seifert

-- 
This is Unix and Netware country, on a quiet night you can hear NT
Reboot.

gpg fingerprint: 
435D DDDA 251B 9D70 2F72 78E0 AA5F 11F4 A4ED 451E


pgpCFP7inZ5UQ.pgp
Description: PGP signature


Re: ** SICK SERVER **

2006-12-06 Thread Jerry McAllister
On Wed, Dec 06, 2006 at 03:44:30PM +, ~ Evaldo wrote:

 Hello there!
  How did you solved this trouble?
  I?m experiencing this right now, since two days ago.
  Any help will welcome. Please

What problem?
You haven't given any information about any problem.

jerry

  
  Sincerely.
  
  Evaldo
  at
  fcm.unicamp.br
  or
  tio_evaldo
  at 
  yahoo.com.br
 
 ~ Evaldo
   
 -
  Voc? quer respostas para suas perguntas? Ou voc? sabe muito e quer 
 compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
 ___
 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: Any way to tell what the RAM configuration is?

2006-12-06 Thread Chuck Swiger

On Dec 6, 2006, at 11:00 AM, patrick wrote:

I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
the RAM configuration in the system is? ie. Can it show me if I have
four 256MB modules versus two 512MB's? Obviously it would be possible
to just open up the computer and see for my self, I'm hoping I can
save myself a trip and wrecking an uptime of 670 days. :)


Sure.  Install the dmidecode port (from /usr/ports/sysutils/ 
dmidecode), and run:


  dmidecode -t memory


# dmidecode 2.8
SMBIOS 2.3 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 4 GB
Error Information Handle: No Error
Number Of Devices: 4

Handle 0x1100, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x1000
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 128 MB
Form Factor: DIMM
Set: 1
Locator: DIMM_A
Bank Locator: BANK_1
Type: SDRAM
Type Detail: Synchronous
Speed: 133 MHz (7.5 ns)
[ ... ]


--
-Chuck

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


Re: system bootup console setup

2006-12-06 Thread Pieter de Goeje
On Wednesday 06 December 2006 20:00, J. W. Ballantine wrote:
 Ok,  I should be able to find this somewhere
 in the documentation, but I can't (must be looking
 for the wrong key words).

 When the system boots, the consoles need to be initialized
 and defined somewhere.  I want to change the definition, but
 I can't find the startup script that init's them.  Which one
 is it?
/etc/ttys
and
allscreens_* in rc.conf

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


Re: Any way to tell what the RAM configuration is?

2006-12-06 Thread Vince Hoffman

patrick wrote:

I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
the RAM configuration in the system is? ie. Can it show me if I have
four 256MB modules versus two 512MB's? Obviously it would be possible
to just open up the computer and see for my self, I'm hoping I can
save myself a trip and wrecking an uptime of 670 days. :)


I think 
http://freebsd.rambler.ru/bsdmail/freebsd-questions_2005/msg18034.html

has an answer you can use.

(basicly try usr/ports/sysutils/dmidecode) this dumps the bios info in a 
readable form, just look for the memory module information. worked for me


Handle 0x0007, DMI type 5, 20 bytes
Memory Controller Information
   Error Detecting Method: None
   Error Correcting Capabilities:
   None
   Supported Interleave: One-way Interleave
   Current Interleave: One-way Interleave
   Maximum Memory Module Size: 4096 MB
   Maximum Total Memory Size: 8192 MB
   Supported Speeds:
   70 ns
   60 ns
   50 ns
   Supported Memory Types:
   DIMM
   SDRAM
   Memory Module Voltage: 2.9 V
   Associated Memory Slots: 2
   0x0008
   0x0009
   Enabled Error Correcting Capabilities:
   None

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
   Socket Designation: DIMM0
   Bank Connections: 0 1
   Current Speed: 75 ns
   Type: DIMM
   Installed Size: 512 MB (Double-bank Connection)
   Enabled Size: 512 MB (Double-bank Connection)
   Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
   Socket Designation: DIMM1
   Bank Connections: 2 3
   Current Speed: 75 ns
   Type: DIMM
   Installed Size: 512 MB (Double-bank Connection)
   Enabled Size: 512 MB (Double-bank Connection)
   Error Status: OK





Thanks,

Patrick
___
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: SICK SERVER

2006-12-06 Thread Nathan Vidican

Evaldo Silva wrote:

Hello there!
How did you solved this trouble?
I´m experiencing this right now, since two days ago.
Any help will welcome. Please

Sincerely.

Evaldo
at
fcm.unicamp.br
or
tio_evaldo
at
yahoo.com.br
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




PLEASE READ: 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/


Your subject is inadequate, you post no problem, example, or potential 
solution and your question is far too vague for anyone to really answer. 
Please read the page noted above and re-post your inquiry.


--
Nathan Vidican
[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: SICK SERVER

2006-12-06 Thread Jerry McAllister
On Wed, Dec 06, 2006 at 03:17:51PM -0500, Nathan Vidican wrote:

 Evaldo Silva wrote:
 Hello there!
 How did you solved this trouble?
 I?m experiencing this right now, since two days ago.
 Any help will welcome. Please
 
 Sincerely.
 
 Evaldo
 at
 fcm.unicamp.br
 or
 tio_evaldo
 at
 yahoo.com.br
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 
 PLEASE READ: 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
 
 Your subject is inadequate, you post no problem, example, or potential 
 solution and your question is far too vague for anyone to really answer. 
 Please read the page noted above and re-post your inquiry.

I think by another message he sent that he was trying to add something
to another post and depending on only those cryptic subject words to
make the connect.   Of course, that doesn't work and he needs to 
include full information for anyone to make a reasonable effort to
answering his question.

jerry

 --
 Nathan Vidican
 [EMAIL PROTECTED]
 ___
 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: Any way to tell what the RAM configuration is?

2006-12-06 Thread Josh Carroll

Sure.  Install the dmidecode port (from /usr/ports/sysutils/
dmidecode), and run:

   dmidecode -t memory


Of course, this relies on the BIOS reporting the memory properly. In
my case, on an Asus P5B motherboard, it reports the RAM at 533 MHz
(DDR2-533), even though it's set in the BIOS to run at DDR2-800.

So, your mileage may vary, but as long as the BIOS is reporting it
accurately, dmidecode is the way to go.

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


Re: Xorg 7.2 ante portas

2006-12-06 Thread Kris Kennaway
On Wed, Dec 06, 2006 at 12:47:27PM -0500, John Nielsen wrote:
 On Wednesday 06 December 2006 12:42, O. Hartmann wrote:
  Hello.
  Xorg 7.2 is about to be released - with nice new features an, more
  important, bugfixes, upgraded drivers etc.
  Are there any plans of supporting this version via the ports collection?
 
 Yes. See the freebsd-x11 mailing list archives for more details, but 
 basically 
 the team doing the porting is just waiting for the actual release of 7.2 
 before they merge the new versions into the ports tree. I'm sure there will 
 still be some testing and other tasks to be completed after that, but 
 hopefully most things should be working.

Actually it's much more complicated than that since xorg 7.x is
fundamentally different than older versions.  It's taking a *lot* of
effort to get it beaten into the shape of the ports collection, but
hopefully it will be ready and integrated some time around the end of
the year.

As someone else pointed out, you can use it already if you don't mind
rough edges, lots of code churn, and getting your hands dirty.

Kris


pgpcfKyEhY85I.pgp
Description: PGP signature


Re: BSDStats Report for December 1st, 2006

2006-12-06 Thread Antony Mawer

On 7/12/2006 12:26 AM, Ian Smith wrote:

Ahem, could it be someone from (this time) Australia is gaming the
system?  We've gone up from 425 a little earlier to (just now) 555
FreeBSD systems, and while we're never sorry to be beating the Yanks,
especially at their own game, I doubt that it's fair dinkum, mate :) 


As Marc said, that would be my doing... there's still a few more to come 
too! Besides, it's good to see Australia on top (where it belongs)... ;-)


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


Re: The Opera browser on FreeBSD

2006-12-06 Thread Scott Mitchell
On Wed, Dec 06, 2006 at 05:51:59PM +, Scott Mitchell wrote:
 
 Followed your instructions, put my linux-flashplugin and acroread plugin
 directories on Opera's plugin search path  and... wow! everything suddenly
 started working.

I was asked off-list how I set up the plugin search path to get this stuff
working.  Copying my reply here in case it's useful to anyone else:

First you'll need to have the www/linux-flashplugin7 and print/acroread7
ports installed - these obviously require the Linux emulation layer to be
installed (emulators/linux_base-fc4 port) and enabled (linux_enable=YES
in /etc/rc.conf).

Then all I did in Opera was:
- Open the Tools - Preferences dialog
- Switch to the Advanced tab then pick Content from the left-hand menu
- Make sure plugins are enabled
- Open the Plug-in options dialog
- Click on Change path... and add these two paths to the list:
/usr/local/lib/npapi/linux-flashplugin
/local/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
  Those are the locations of the libflashplayer.so and nppdf.so plugin
  libraries - I expect the paths will be the same on your machine
- Click OK to get out of the plug-in path dialog
- Click Find new on the Plugins dialog - you should get the Adobe Reader
  7.0 and Shockwave Flash plugins listed now.
- OK out of all the dialogs and try browsing some sites with Flash or PDF
  documents on them...

I did have both Flash and Acrobat already working with the Linux Firefox
port and partly working with native Firefox, so I wouldn't guarantee that
some of the stuff I have in /etc/libmap.conf (essentially whatever the
linuxpluginwrapper port told me to use) isn't important.  I also have a
Linux /proc filesystem mounted on /compat/linux/proc - that may or may not
be important for these plugins to run, but it shouldn't hurt to have it
mounted.

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which live CD for recovery

2006-12-06 Thread David Robillard

Which live CD is recommended for recovery? What I'd like is to have as
many disk analysis tools at hand just in case.


There are a lot to choose from, as you can see from this list:
http://www.frozentech.com/content/livecd.php


I believe one of two things has happened: the anti virus placed a system
file in the vault, or running windows update the genuine windows
disadvantage tool disabled the system because it may have been pirate
(don't know).


AFAIK the Windows Genuine Advantage never prevents you from booting
your machine. It will annoy you with pop-ups about your license (or
lack of it). Fortunately, you can disable the pop-ups. Keep in mind
that a non-legit Windows machine can only perform the Security
updates, but cannot perform the other Windows Updates. This can be
confusing for a technologically challenged user.


So, I need to recover data to some other machine, and then see if I can
recover the system file without a full reinstall.


Do you have a USB drive? Can you mount it on the crippled Windows Box?
If so, then I would suggest that you backup the user's data, format
the crippled box's disk drive and do a clean Windows install. After
all, there probably was a virus on this box. Are you sure you want to
take chances?

Good luck,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which live CD for recovery

2006-12-06 Thread Erik Norgaard

David Robillard wrote:


So, I need to recover data to some other machine, and then see if I can
recover the system file without a full reinstall.


Do you have a USB drive? Can you mount it on the crippled Windows Box?
If so, then I would suggest that you backup the user's data, format
the crippled box's disk drive and do a clean Windows install. After
all, there probably was a virus on this box. Are you sure you want to
take chances?


Well, the system won't boot, not even in safemode, so there is no such 
alternative. I hope this is just some systemfile in the vault of AVG 
anti virus.


Take the chance... well it can't get much worse. If at least the system 
gets back working then I can try other ways to clean it.


Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Which live CD for recovery

2006-12-06 Thread David Robillard

On 12/6/06, Erik Norgaard [EMAIL PROTECTED] wrote:

 Do you have a USB drive? Can you mount it on the crippled Windows Box?
 If so, then I would suggest that you backup the user's data, format
 the crippled box's disk drive and do a clean Windows install. After
 all, there probably was a virus on this box. Are you sure you want to
 take chances?

Well, the system won't boot, not even in safemode, so there is no such
alternative. I hope this is just some systemfile in the vault of AVG
anti virus.

Take the chance... well it can't get much worse. If at least the system
gets back working then I can try other ways to clean it.


If you can get the machine to mount the USB drive or have it's network
connection online, you can simply backup the contents of
C:\Documents and Settings\All Users
C:\Documents and Settings\${username} (replace ${username} with the
various usernames configured on the crippled box).

Once you backup the content of those two directories, you should have
all of your user's data. Therefore you should be ok to wipe the disk
and perform a clean Windows install.

I suggest, however, that you upload those backup onto another Windows
machine and have your user double-check to see if you have everything.
Better be safe than sorry.

Cheers,

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The Opera browser on FreeBSD

2006-12-06 Thread Svein Halvor Halvorsen
Arjan van Leeuwen wrote:
 As of the latest weekly development release of Opera (see  
 http://my.opera.com/desktopteam/blog/), it's now possible to use any Linux  
 plugin in the native Opera for FreeBSD version, including Flash and  
 Acrobat Reader. The feature will be included in the upcoming Opera 9.1.

Nice! Thanks for the *great* work!

Btw, sound in flash is lagging (this is nothing new, though, it was
always the case). Has this something to do with the
Opera/Flash-combo, or is it due to the Linuxulator-stuff? Does
anyone else see this?

This really bites, when you try to watch flix on youtube et.al.



Svein Halvor Halvorsen
(Opera user since 3.-something [BeOS])



signature.asc
Description: OpenPGP digital signature


Re: The Opera browser on FreeBSD

2006-12-06 Thread Arjan van Leeuwen
Op Wed, 06 Dec 2006 21:46:12 +0100 schreef Scott Mitchell  
[EMAIL PROTECTED]:



On Wed, Dec 06, 2006 at 05:51:59PM +, Scott Mitchell wrote:


Followed your instructions, put my linux-flashplugin and acroread plugin
directories on Opera's plugin search path  and... wow! everything  
suddenly

started working.


I was asked off-list how I set up the plugin search path to get this  
stuff

working.  Copying my reply here in case it's useful to anyone else:

First you'll need to have the www/linux-flashplugin7 and print/acroread7
ports installed - these obviously require the Linux emulation layer to be
installed (emulators/linux_base-fc4 port) and enabled (linux_enable=YES
in /etc/rc.conf).

Then all I did in Opera was:
- Open the Tools - Preferences dialog
- Switch to the Advanced tab then pick Content from the left-hand  
menu

- Make sure plugins are enabled
- Open the Plug-in options dialog
- Click on Change path... and add these two paths to the list:
/usr/local/lib/npapi/linux-flashplugin
/local/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux
  Those are the locations of the libflashplayer.so and nppdf.so plugin
  libraries - I expect the paths will be the same on your machine
- Click OK to get out of the plug-in path dialog
- Click Find new on the Plugins dialog - you should get the Adobe  
Reader

  7.0 and Shockwave Flash plugins listed now.
- OK out of all the dialogs and try browsing some sites with Flash or PDF
  documents on them...

I did have both Flash and Acrobat already working with the Linux Firefox
port and partly working with native Firefox, so I wouldn't guarantee that
some of the stuff I have in /etc/libmap.conf (essentially whatever the
linuxpluginwrapper port told me to use) isn't important.


I can guarantee it isn't important :). Since Opera forks off a Linux  
process to run the actual plugin, the libmap.conf entries are ignored (and  
unnecessary). For all the plugin knows, it's running in the Linux version  
of Opera.


Arjan

--
Gemaakt met Opera's revolutionaire e-mailprogramma:  
http://www.opera.com/mail/


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


Re: The Opera browser on FreeBSD

2006-12-06 Thread Robert Huff

[maintainer CCed]

Scott Mitchell writes:

  First you'll need to have the www/linux-flashplugin7 and
  print/acroread7 ports installed

There may be a problem here:

= install_flash_player_7_linux.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/flashplugin/7.0r68.
= Attempting to fetch from 
http://fpdownload.macromedia.com/get/flashplayer/current/.
fetch: 
http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz:
 size mismatch: expected 1021264, actual 1017790
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/flashplugin/7.0r68/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/flashplugin/7.0r68/install_flash_player_7_linux.tar.gz:
 File unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/flashplugin/7.0r68 and try again.
*** Error code 1



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


Re: Re: Any way to tell what the RAM configuration is?

2006-12-06 Thread patrick

Awesome, that works like a charm!

Thanks,

Patrick

On 12/6/06, Chuck Swiger [EMAIL PROTECTED] wrote:

On Dec 6, 2006, at 11:00 AM, patrick wrote:
 I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
 the RAM configuration in the system is? ie. Can it show me if I have
 four 256MB modules versus two 512MB's? Obviously it would be possible
 to just open up the computer and see for my self, I'm hoping I can
 save myself a trip and wrecking an uptime of 670 days. :)

Sure.  Install the dmidecode port (from /usr/ports/sysutils/
dmidecode), and run:

   dmidecode -t memory

 # dmidecode 2.8
 SMBIOS 2.3 present.

 Handle 0x1000, DMI type 16, 15 bytes
 Physical Memory Array
 Location: System Board Or Motherboard
 Use: System Memory
 Error Correction Type: Single-bit ECC
 Maximum Capacity: 4 GB
 Error Information Handle: No Error
 Number Of Devices: 4

 Handle 0x1100, DMI type 17, 23 bytes
 Memory Device
 Array Handle: 0x1000
 Error Information Handle: No Error
 Total Width: 72 bits
 Data Width: 64 bits
 Size: 128 MB
 Form Factor: DIMM
 Set: 1
 Locator: DIMM_A
 Bank Locator: BANK_1
 Type: SDRAM
 Type Detail: Synchronous
 Speed: 133 MHz (7.5 ns)
 [ ... ]

--
-Chuck



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


Re: The Opera browser on FreeBSD

2006-12-06 Thread Christian Walther

On 06/12/06, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote:
[...]

This really bites, when you try to watch flix on youtube et.al.


I personally favor VideoDownloader instead of the native flash
stuff. VideoDownloader is an extension for Firefox that allows
embedded media to be picked from many websites, including youtube and
co. It installs a small icon on the status bar. open a page containing
a movie and click on the icon. It'll display another windows that'll
allow you to download the content.

Watch with mplayer. :-)

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


Multihomed router with NAT

2006-12-06 Thread Christopher Cowart
Hello,

I'm working on a router that acts as a captive portal and transparent
http proxy for unregistered or disabled hosts that plug in to our
network.

The router has a public administrative interface on em0, 
192.168.100.10/24. The router has a physically seperate interface, 
192.168.200.10/24 on vlan200 using em1, for the NAT clients. The router
also has the interface vlan100 on em1 with the address 10.100.0.1/16.
The captured machines are assigned addresses on the 10.100/16 subnet.
The router's firewall allows certain http traffic through the NAT, such
as windows updates. All other http requests are forwarded through an
instance of squid to an apache instance.

The system's default route is configured on the administrative
interface, via 192.168.100.1. My firewall includes the rule:
  $cmd 0013 divert natd ip from not me to any via vlan200

The NAT does not work. From a captured machine, I am able to ping both
192.168.200.10 and the gateway 192.168.200.1, but nothing off-subnet. We
suspect the packets leaving the NAT, tagged with source-address
192.168.200.10 are being routed via the system's default route at
192.168.100.1. The router is dropping these packets on the floor,
because the source address doesn't match the subnet it's routing.

Is it possible to tell the system to use a different default route based
on the source address of the packet? We want to keep the administrative
interface on a separate subnet from the client traffic.

I tried using an ipfw fwd rule:
  $cmd 0014 fwd 192.168.200.1 ip from 192.168.200.10 to not \
  192.168.200.10/24

But this had no effect. Any suggestions would be greatly appreciated.

Thanks,

-- 
Chris Cowart
Unix Systems Administrator
Residential Computing, UC Berkeley
May all your pushes be popped


signature.asc
Description: Digital signature


Re: TCP parameters and interpreting tcpdump output

2006-12-06 Thread Dieter
I found a couple more things that don't look right.

17 IP bsd.63743  src.65001: . ack 52 win 65535
000107 IP bsd.63743  src.65001: . ack 52 win 65535
12 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
05 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
000172 IP src.65001  bsd.63743: . ack 53 win 4096
04 IP src.65001  bsd.63743: F 52:52(0) ack 53 win 4096
03 IP src.65001  bsd.63743: . ack 53 win 4096
16 IP bsd.63743  src.65001: . ack 52 win 65535
11 IP bsd.63743  src.65001: . ack 53 win 112   -- why does the 
window suddenly shrink?
002366 IP src.rfe  bsd.12340: P 1:1317(1316) ack 1 win 4096
099554 IP bsd.12340  src.rfe: . ack 1317 win 65535 -- why does it 
take 99.5 millisec to ack?

The ack time is normally 12 or 13 microseconds, which seems to be okay.
But 99.5 milliseconds is *way* too slow, data will be lost.

Is TCP sitting around waiting for a second packet, so that
it can be efficient and ack two packets at once?

What can I do to fix this?  Is there a knob I can turn to say
ack every packet, or only wait xxx microseconds for a 2nd packet ?

Data is generated in real-time, and the src box only has a small buffer.
The bsd box is more than fast enough overall, but I keep finding
cases where the latency to ack a packet is way too long. 
The process reading port 12340 has a very large circular buffer.
The process is running at rtprio 5.  Other processes are running
at normal default priority.  Machine is basically idle.

Suggestions on how to lower the worst case latency welcome.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP parameters and interpreting tcpdump output

2006-12-06 Thread Chuck Swiger

On Dec 6, 2006, at 6:46 AM, Dieter wrote:

I found a couple more things that don't look right.

17 IP bsd.63743  src.65001: . ack 52 win 65535
000107 IP bsd.63743  src.65001: . ack 52 win 65535
12 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
05 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
000172 IP src.65001  bsd.63743: . ack 53 win 4096
04 IP src.65001  bsd.63743: F 52:52(0) ack 53 win 4096
03 IP src.65001  bsd.63743: . ack 53 win 4096
16 IP bsd.63743  src.65001: . ack 52 win 65535
11 IP bsd.63743  src.65001: . ack 53 win 112	-- why does  
the window suddenly shrink?


I'd guess because both sides have requested that the connection  
close...it's a bit hard to say because you're not including complete  
data over the life of a connection, or even the sequence numbers.


(tcpdump -nttt or tcpdump -ntttv would be more informative.)


002366 IP src.rfe  bsd.12340: P 1:1317(1316) ack 1 win 4096
099554 IP bsd.12340  src.rfe: . ack 1317 win 65535 -- why  
does it take 99.5 millisec to ack?


The ack time is normally 12 or 13 microseconds, which seems to be  
okay.

But 99.5 milliseconds is *way* too slow, data will be lost.

Is TCP sitting around waiting for a second packet, so that
it can be efficient and ack two packets at once?


Yup.  Coalescing data before sending it results in less overhead.


What can I do to fix this?  Is there a knob I can turn to say
ack every packet, or only wait xxx microseconds for a 2nd packet ?


You can turn on TCP_NODELAY via setsockopt() to disable the Nagle  
algorithm.  There are probably sysctl's you can tweak, also...


--
-Chuck

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


Re: TCP parameters and interpreting tcpdump output

2006-12-06 Thread Bill Moran
Dieter [EMAIL PROTECTED] wrote:

 I found a couple more things that don't look right.
 
 17 IP bsd.63743  src.65001: . ack 52 win 65535
 000107 IP bsd.63743  src.65001: . ack 52 win 65535
 12 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
 05 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
 000172 IP src.65001  bsd.63743: . ack 53 win 4096
 04 IP src.65001  bsd.63743: F 52:52(0) ack 53 win 4096
 03 IP src.65001  bsd.63743: . ack 53 win 4096
 16 IP bsd.63743  src.65001: . ack 52 win 65535
 11 IP bsd.63743  src.65001: . ack 53 win 112 -- why does the 
 window suddenly shrink?
 002366 IP src.rfe  bsd.12340: P 1:1317(1316) ack 1 win 4096
 099554 IP bsd.12340  src.rfe: . ack 1317 win 65535 -- why does it 
 take 99.5 millisec to ack?
 
 The ack time is normally 12 or 13 microseconds, which seems to be okay.
 But 99.5 milliseconds is *way* too slow, data will be lost.
 
 Is TCP sitting around waiting for a second packet, so that
 it can be efficient and ack two packets at once?

sysctl -d net.inet.tcp.delayed_ack
net.inet.tcp.delayed_ack: Delay ACK to try and piggyback it onto a data packet

That sysctl will turn it off for all network connections on the system.  You
can also set it on a per-socket basis using setsockopt and the TCP_NODELAY
option.  Some google searches on TCP_NODELAY will provide interesting
technical details.

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-06 Thread Kris Kennaway
On Wed, Dec 06, 2006 at 10:55:40PM +0100, martinko wrote:
 Hello,
 
 According to freshports.org the newest multimedia/win32-codecs port
 (3.1.0.r1,1) is not vulnerable.  I'm trying to upgrade version
 win32-codecs-3.1.0.p8,1 on my system but portupgrade + portaudit refuse
 me to do so:
 
 ** Port marked as IGNORE: multimedia/win32-codecs:
 is forbidden: Remote code execution:
 http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
 
 Isn't this behaviour flawed ??  Or am I missing something ?

Did you update your portaudit database?

Kris


pgpdbITuY9SZN.pgp
Description: PGP signature


Have a problem install 6.1 Release to ZFx86 processor

2006-12-06 Thread Sung Park

Hi,

I'm trying to install 6.1 Release to ZFx86 processor but I couldn't get boot
up from install CD.  Does anyone try to install 6.1 to ZFx86?  If you did
it, how did you do it.  I could install 4.5 Release to this processor from
install CD but from upper version of freebsd.

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-06 Thread martinko
Kris Kennaway wrote:
 On Wed, Dec 06, 2006 at 10:55:40PM +0100, martinko wrote:
 Hello,

 According to freshports.org the newest multimedia/win32-codecs port
 (3.1.0.r1,1) is not vulnerable.  I'm trying to upgrade version
 win32-codecs-3.1.0.p8,1 on my system but portupgrade + portaudit refuse
 me to do so:

 ** Port marked as IGNORE: multimedia/win32-codecs:
 is forbidden: Remote code execution:
 http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html

 Isn't this behaviour flawed ??  Or am I missing something ?
 
 Did you update your portaudit database?
 
 Kris

Sure thing:

mb-aw1n-bsd[/root]# portaudit -Fda
New database installed.
Database created: Thu Dec  7 01:10:04 CET 2006
Affected package: win32-codecs-3.1.0.p8,1
Type of problem: win32-codecs -- multiple vulnerabilities.
Reference:
http://www.FreeBSD.org/ports/portaudit/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html

1 problem(s) in your installed packages found.

You are advised to update or deinstall the affected package(s) immediately.
mb-aw1n-bsd[/root]# portupgrade -if win32-codecs
---  Session started at: Thu, 07 Dec 2006 01:24:42 +0100
** Port marked as IGNORE: multimedia/win32-codecs:
is forbidden: Remote code execution:
http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
---  ** Upgrade tasks 1: 0 done, 1 ignored, 0 skipped and 0 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
- multimedia/win32-codecs (win32-codecs-3.1.0.p8,1)
---  Packages processed: 0 done, 1 ignored, 0 skipped and 0 failed
---  Session ended at: Thu, 07 Dec 2006 01:24:43 +0100 (consumed 00:00:01)

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


mount/umount UFS2 on DVD+RW

2006-12-06 Thread Frans-Jan v. Steenbeek
Hi folks!

I have a small problem that bugged me the last days: I made a UFS2 filesystem 
on a DVD+RW (which can act like a RAM-disk). After some troubles it worked. I 
used the following commands to achieve this:

# dvd+rw-format /dev/cd0
# bsdlabel -w acd0
# newfs -n /dev/acd0
# mount -o noatime /dev/acd0 /mnt/ufs

I gathered that atapicam can get nasty with UFS2 on DVDs, so that is why I 
resorted to use /dev/acd0. The symptoms where the same, but it proved handy 
with regards to /etc/fstab and fsck.

Problem one: between each step I have to reload the DVD (eject and close the 
drive). Otherwise it gives IO errors. 'camcontrol eject cd0' refuses (Error 
received from stop unit command), 'cdcontrol eject' does nothing (no errors). 
It has to be done by hand.

Second problem: when I unmount the disk and mount it again later, it refuses 
to do so since the filesystem isn't marked clean. So to mount it I have to go 
through:

# fsck /dev/acd0
#mount -o noatime /dev/acd0 /mnt/ufs

Again, I need to reload it between these steps.

The reloading bugs me a bit, but that might be the devices firmware, or maybe 
atapicam having a hold on the drive (it keeps in spinning state for a few 
minutes after activity, while it relatively spins down soon after mount).
What really bugs me is that the umount seems not to mark it as clean. Why is 
that? I noted that the lights on the drive don't come on when umount is busy, 
allthough the drive does spin up.

What I also would like to ask, is there a way to further minimize the amounts 
of writes on the disk? I gathered that turning on softupdates can trigger 
panics, which might also have something to do with atapicam. Any other 
techniques?

Short summary of oddities / questions:

1. Drive-reloading between actions: device not freed?
2. FS not marked clean on umount.
3. How to reduce writes?

Thanks in advance. I'm not subscribed, so please CC me.

-- 
Frans-Jan v. Steenbeek
[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: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-06 Thread Josh Carroll

 ** Port marked as IGNORE: multimedia/win32-codecs:
 is forbidden: Remote code execution:
 http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html

 Isn't this behaviour flawed ??  Or am I missing something ?


You need to make config in /usr/ports/multimedia/win32-codecs, and
unselect quicktime. Then the port should install. This is assuming, of
course, that you can live without the QT codec(s).

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


freebsd jails

2006-12-06 Thread Denzil Kelly

I need to implement web content filtering using squidguard and/or
dansguardian for several locations. Each site has different filtering
requirements. I want to know if it is possible to do this using a jail for
each site(provided that I have sufficiently powerful hardware). I want to
have a different IP address for each jail. If this is possible do I need to
have a different NIC for each jail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


su to root denied?

2006-12-06 Thread john Mish III
I get this error message when I try to su to anything, either from root or 
to root, and I don't know why.

$ su
su: not running setuid

Is there a config file that should be set..or what. This is preventing me 
from starting up some applications, even as root!


ext57# /usr/local/etc/rc.d/mysql-server forcestart
Starting mysql.
su: not running setuid

Please help me as fast as you possibly can. Thanks!

_
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo005001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail


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


Re: su to root denied?

2006-12-06 Thread Kris Kennaway
On Wed, Dec 06, 2006 at 07:52:50PM -0600, john Mish III wrote:
 I get this error message when I try to su to anything, either from root or 
 to root, and I don't know why.
 $ su
 su: not running setuid

Somehow your su application lost its setuid bit.  Instead of blinding
chmodding it you may want to be careful and replace it with a known
good binary in case someone overwrote it somehow.

Kris


pgpcYXMufPMZZ.pgp
Description: PGP signature


Re: The Opera browser on FreeBSD

2006-12-06 Thread Jamie Jones
   There may be a problem here:

 = install_flash_player_7_linux.tar.gz doesn't seem to exist in 
 /usr/ports/distfiles/flashplugin/7.0r68.
 = Attempting to fetch from 
 http://fpdownload.macromedia.com/get/flashplayer/current/.
 fetch: 
 http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz:
  size mismatch: expected 1021264, actual 1017790

Thanks for the heads-up.

I checked this only last week, but it seems a new release was made only 
yesterday!

I've submitted an updated port - resync your ports tree when the update gets 
applied.

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

Cheers! Jamie

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


Re: su to root denied?

2006-12-06 Thread Paul Schmehl
--On December 6, 2006 9:42:41 PM -0500 Kris Kennaway [EMAIL PROTECTED] 
wrote:



On Wed, Dec 06, 2006 at 07:52:50PM -0600, john Mish III wrote:

I get this error message when I try to su to anything, either from root
or  to root, and I don't know why.
$ su
su: not running setuid


Somehow your su application lost its setuid bit.  Instead of blinding
chmodding it you may want to be careful and replace it with a known
good binary in case someone overwrote it somehow.


Or he's been hacked, and he needs to proceed very cautiously

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: su to root denied?

2006-12-06 Thread Kris Kennaway
On Wed, Dec 06, 2006 at 09:08:18PM -0600, Paul Schmehl wrote:
 --On December 6, 2006 9:42:41 PM -0500 Kris Kennaway [EMAIL PROTECTED] 
 wrote:
 
 On Wed, Dec 06, 2006 at 07:52:50PM -0600, john Mish III wrote:
 I get this error message when I try to su to anything, either from root
 or  to root, and I don't know why.
 $ su
 su: not running setuid
 
 Somehow your su application lost its setuid bit.  Instead of blinding
 chmodding it you may want to be careful and replace it with a known
 good binary in case someone overwrote it somehow.
 
 Or he's been hacked, and he needs to proceed very cautiously

That's what I was alluding to, yes.  Files don't randomly lose setuid
bits unless *something* is going on, although there are mundane
explanations also.

Kris


pgpmyrlwgKmRb.pgp
Description: PGP signature


Re: The Opera browser on FreeBSD

2006-12-06 Thread Robert Huff
Jamie Jones writes:


   = Attempting to fetch from 
 http://fpdownload.macromedia.com/get/flashplayer/current/.
   fetch: 
 http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz:
  size mismatch: expected 1021264, actual 1017790
  
  Thanks for the heads-up.
  
  I checked this only last week, but it seems a new release was
  made only yesterday!

In fact, Flash 9 was announced in June. (See:
http://www.adobe.com/aboutadobe/pressroom/pressreleases/200606/062806Flash9.html;)



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


Re: SiS SATA controllers that work with FreeBSD

2006-12-06 Thread Garrett Cooper

Garrett Cooper wrote:

Garrett Cooper wrote:

Hello,
Just upgraded my server system from a 1.2 GHz Celeron to a 3.0 GHz 
and I'm running into an issue with the SATA RAID controller. Every 
time I have the controller enabled with the drive connected, the 
system locks up, possibly due to IRQ conflict, etc, but I'm not 100% 
sure. Also, I'm not sure what the exact model is for the controller, 
but it  possibly could be SiS 964 based on the schematics given in 
page 13 of the manual-available here: 
http://dlsvr01.asus.com/pub/ASUS/mb/sock478/p4s800d-x/e1753_p4s800d-x.pdf. 


So, I was wondering..
1. If anyone has this motherboard on the list and have been successful 
with getting the SATA RAID controller to work.


..or...

2. If anyone has a motherboard with a similar chipset that they got 
the SATA controller to work with.


I tried googling a bit, but all I came up with is an possible lead 
that turned into a dead end (empty PR), and the supported hardware 
list isn't turning up anything helpful :(..


Here's my pciconf output (please note SATA controller is turned off in 
BIOS, but SiS964 is listed as a probed device--the LPC):


[EMAIL PROTECTED] /home/gcooper]# pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x80aa1043 chip=0x06551039 
rev=0x50 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS655 Host-to-PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x chip=0x00031039 
rev=0x00 hdr=0x01

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS648FX Virtual PCI to PCI Bridge (AGP)'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:2:0: class=0x060100 card=0x chip=0x09641039 
rev=0x36 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS964 LPC Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:2:5:   class=0x01018a card=0x810e1043 chip=0x55131039 
rev=0x01 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5513 EIDE Controller (A,B step)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:2:7: class=0x040100 card=0x810d1043 chip=0x70121039 
rev=0xa0 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7013 PCI Audio Accelerator'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:3:0: class=0x0c0310 card=0x810e1043 chip=0x70011039 
rev=0x0f hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:1: class=0x0c0310 card=0x810e1043 chip=0x70011039 
rev=0x0f hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:2: class=0x0c0310 card=0x810e1043 chip=0x70011039 
rev=0x0f hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS5597/8 Universal Serial Bus Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:3:3: class=0x0c0320 card=0x810e1043 chip=0x70021039 
rev=0x00 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7002 USB 2.0 Enhanced Host Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:4:0:  class=0x02 card=0x80a71043 chip=0x09001039 
rev=0x91 hdr=0x00

vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS900 Fast Ethernet/Home Networking Ctrlr'
class= network
subclass = ethernet
[EMAIL PROTECTED]:9:0:  class=0x01 card=0xa1809005 chip=0x00109005 
rev=0x00 hdr=0x00

vendor   = 'Adaptec Inc'
device   = 'AHA-2940U2W/U2B AHA-2950U2W Ultra2 SCSI Controller'
class= mass storage
subclass = SCSI
[EMAIL PROTECTED] /home/gcooper]#

TIA,
-Garrett


I just grepped a few directories and found ataraid--something I had 
removed from my kernel a while back since I didn't have RAID. Would this 
by chance be what I need to enable the SATA RAID support for my 
motherboard?

-Garrett


Enabling this feature doesn't help. Booting halts here still, if I have 
the controller enabled in the BIOS:


snip
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding 
disabled, default to deny, logging unlimited

ad0: 9768MB Seagate ST310014A 3.09 at ata0-master UDMA100
acd0: DVDROM SAMSUNG DVD-ROM SD-616T/F308 at ata0-slave UDMA33
ad2: 76293MB IC35L080AVVA07 0 VA4OA51A at ata1-master UDMA100
/snip

Shall I post a link to my current kernel config?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The Opera browser on FreeBSD

2006-12-06 Thread Jamie Jones
   In fact, Flash 9 was announced in June. (See:
 http://www.adobe.com/aboutadobe/pressroom/pressreleases/200606/062806Flash9.html;)

I've looked at that. The Linux version was only released (in Beta) last month, 
and also,
it doesn't currently work with the linuxplugin wrapper code.

Further more, since the FreeBSD-linux base was upgraded from rh9 to fc, my 
system core dumps
on EVERY linux binary I try to run, so I've not even been able to test the 
flash9 beta
in a linux binary-browser!

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


How to use ulpt driver?

2006-12-06 Thread a
I get USB printer Canon PIXMA iP 2000 and attached it to my computer.

The kernel was compiled with:

# USB support
device  uhci# UHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  umass   # Disks/Mass storage - Requires scbus and da

and sees the printer:


$ dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #14: Thu Dec  7 07:15:51 EET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
ACPI APIC Table: MSISYS AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1511.68-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2
  
Features=0x3febfbffFPU,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
real memory  = 805240832 (767 MB)
avail memory = 782880768 (746 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
acpi0: MSISYS MSI ACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
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-0x40f7 on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xd800-0xdbff 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 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
rl0: RealTek 8139 10/100BaseTX port 0xc000-0xc0ff mem 0xde00-0xdeff 
irq 17 at device 1.0 on pci2
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:44:92:18:75
pci2: mass storage, SCSI at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 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
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xd000-0xd01f irq 
19 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801BA/BAM (ICH2) 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
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xd800-0xd81f irq 
23 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801BA/BAM (ICH2) 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
pcm0: Intel ICH2 (82801BA) port 0xdc00-0xdcff,0xe000-0xe03f irq 17 at device 
31.5 on pci0
pcm0: Analog Devices AD1885 AC97 Codec
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
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
ugen0: Canon iP2000, rev 1.10/1.05, addr 2
Timecounter TSC frequency 1511681224 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38204MB SAMSUNG SV4002H QP100-12 at ata0-master UDMA100
acd0: CDROM SAMSUNG CD-ROM SC-152L/C100 at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP


Now I loaded ulpt dinamically:


$ kldstat
Id Refs AddressSize Name
 1   14 0xc040 33dc1c   kernel
 21 0xc073e000 58554acpi.ko
.
121 0xc45f1000 3000 ulpt.ko


But no ulpt in /dev appeared:


$ ls /dev
acd0bpsm0   kbd0random  ttyv9
acpiconsole klogsndstat ttyva
ad0 consolectl  kmem 

Re: The Opera browser on FreeBSD

2006-12-06 Thread Garrett Cooper

Jamie Jones wrote:

In fact, Flash 9 was announced in June. (See:
http://www.adobe.com/aboutadobe/pressroom/pressreleases/200606/062806Flash9.html;)


I've looked at that. The Linux version was only released (in Beta) last month, 
and also,
it doesn't currently work with the linuxplugin wrapper code.

Further more, since the FreeBSD-linux base was upgraded from rh9 to fc, my 
system core dumps
on EVERY linux binary I try to run, so I've not even been able to test the 
flash9 beta
in a linux binary-browser!

Cheers,
Jamie


	What FC core are they using as the Linux base now? Just curious.. Quite 
a few changes were made to the kernel and base system in the FC series IIRC.
	Might be better to stick with a Gentoo or Debian linux base, if 
possible because the FC series is always changing up stuff in each 
release. Also, RH9 - FC[1-5] is a move from a 2.4 kernel to a 2.6 
kernel, so that may have something to play with your Linux base issues.

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


Re: How to use ulpt driver?

2006-12-06 Thread Garrett Cooper

[EMAIL PROTECTED] wrote:

I get USB printer Canon PIXMA iP 2000 and attached it to my computer.

The kernel was compiled with:

# USB support
device  uhci# UHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  umass   # Disks/Mass storage - Requires scbus and da

and sees the printer:


$ dmesg
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #14: Thu Dec  7 07:15:51 EET 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
ACPI APIC Table: MSISYS AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1511.68-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf12  Stepping = 2
  
Features=0x3febfbffFPU,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
real memory  = 805240832 (767 MB)
avail memory = 782880768 (746 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
acpi0: MSISYS MSI ACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
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-0x40f7 on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xd800-0xdbff 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 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
rl0: RealTek 8139 10/100BaseTX port 0xc000-0xc0ff mem 0xde00-0xdeff 
irq 17 at device 1.0 on pci2
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:44:92:18:75
pci2: mass storage, SCSI at device 5.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 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
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xd000-0xd01f irq 
19 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801BA/BAM (ICH2) 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
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xd800-0xd81f irq 
23 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801BA/BAM (ICH2) 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
pcm0: Intel ICH2 (82801BA) port 0xdc00-0xdcff,0xe000-0xe03f irq 17 at device 
31.5 on pci0
pcm0: Analog Devices AD1885 AC97 Codec
acpi_tz0: Thermal Zone on acpi0
fdc0: floppy drive controller port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
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
ugen0: Canon iP2000, rev 1.10/1.05, addr 2
Timecounter TSC frequency 1511681224 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38204MB SAMSUNG SV4002H QP100-12 at ata0-master UDMA100
acd0: CDROM SAMSUNG CD-ROM SC-152L/C100 at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP


Now I loaded ulpt dinamically:


$ kldstat
Id Refs AddressSize Name
 1   14 0xc040 33dc1c   kernel
 21 0xc073e000 58554acpi.ko
.
121 0xc45f1000 3000 ulpt.ko


But no ulpt in /dev appeared:


$ ls /dev
acd0bpsm0   kbd0random  ttyv9
acpiconsole klogsndstat ttyva
ad0   

urxvt arrow keys do not work in ncurse?

2006-12-06 Thread 张韡武
Hello. I am running urxvt and I have this problem:
 I. run sysinstall;
II. press down arrow key on my keyboard;
   III. sysinstall quits;

urxvt send escape sequence to applications run inside it, is it true
that some application like sysinstall in freebsd are configured to
ignore escape sequence?

sysinstall probably think it received an ESC and decide to quit, for
normal ncurse application they usually quit after received ESC for one
second but no other keystroke are following. Can I configure FreeBSD to
act this way too?

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