can't launch inkscape in freebsd 7.0-rc1

2008-01-21 Thread lveax
$ inkscape

   [Mon 4:16:03pm]
Duplicate large block deallocation of 0x86a1000
Duplicate large block deallocation

Emergency save activated!





then i must use pkill -9 inkscape to kill it


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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Wojciech Puchar


I have toyed a bit with the dev.cpu.0.freq sysctl setting, and tried to lower 
it automatically when the system load goes down. For some reason it don't 
seem to work, even though the script works for simple debug output.


Anyone have tried to do something similar?


no but anyway - freebsd halts CPU when unused, even at full frequency it 
uses very little power wne unused.

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


Re: gnumeric fails to install, 6.3-PRERELEASE

2008-01-21 Thread Laszlo Nagy

Laszlo Nagy wrote:

Enviroment:

cassiopeia# uname -a
FreeBSD cassiopeia.ronet 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2: Tue 
Jan 15 04:41:41 EST 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CASSIOPEIA  amd64

cassiopeia# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
cassiopeia# portsnap update
Ports tree is already up to date.

The problem itself:

portupgrade -a fails to install gnumeric. I tried to do this:

cd /usr/ports/math/gnumeric
make distclean
make
make install

It starts to install gnumeric and stops with this:

gmake[4]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C/figures'
gmake[3]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C/figures'
gmake[3]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'
gmake[4]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnumeric/C
for file in about-authors.xml about-history.xml about-license.xml 
analysis-complexNumbers.xml analysis-goalseek.xml 
analysis-overview.xml analysis-scenarios.xml analysis-simulation.xml 
analysis-solver.xml analysis-statistical.xml appendix-glossary.xml 
appendix-keybindings.xml bugs.xml compiling.xml 
configuration-localization.xml configuration-overview.xml 
configuration-plugins.xml configuration-preferences.xml 
configuration-toolbars.xml data-commentNlink.xml data-delete.xml 
data-entry-advanced.xml data-entry-external.xml data-entry.xml 
data-format.xml data-generate.xml data-insert.xml data-modify.xml 
data-filter.xml data-move-copy.xml data-overview.xml 
data-selections.xml data-types.xml documenting.xml 
extending-functions.xml extending-overview.xml extending-plugins.xml 
extending-python.xml files-formats.xml files-email.xml 
files-opening.xml files-overview.xml files-saving.xml 
files-ssconvert.xml files-textopen.xml files-textsave.xml 
getting-involved.xml graphics-drawings.xml graphics-images.xml 
graphics-overview.xml graphics-plots.xml graphics-widgets.xml 
gui-menus.xml gui-mouse.xml gui-other-elements.xml gui-overview.xml 
gui-toolbars.xml installing.xml legal.xml manual-usage.xml 
morehelp.xml printing.xml quick-start.xml welcome.xml workbooks.xml 
worksheets.xml functions.xml gnumeric.xml; do \

 cp ./$file /usr/local/share/gnome/help/gnumeric/C; \
   done
if test figures; then \
 /bin/sh ../../mkinstalldirs 
/usr/local/share/gnome/help/gnumeric/C/figures; \

 for file in ./figures/*.png; do \
   basefile=`echo $file | sed -e  's,^.*/,,'`; \
   install  -o root -g wheel -m 444 $file 
/usr/local/share/gnome/help/gnumeric/C/figures/$basefile; \

 done \
   fi
test -z /usr/local/man/man1 || /usr/local/bin/gmkdir -p 
/usr/local/man/man1
install  -o root -g wheel -m 444 'gnumeric.1' 
'/usr/local/man/man1/gnumeric.1'
install  -o root -g wheel -m 444 'ssconvert.1' 
'/usr/local/man/man1/ssconvert.1'
install  -o root -g wheel -m 444 'ssindex.1' 
'/usr/local/man/man1/ssindex.1'

gmake  install-data-hook
gmake[5]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

/bin/sh ../../mkinstalldirs /usr/local/share/omf/gnumeric
for file in gnumeric-C.omf; do \
   install  -o root -g wheel -m 444 $file.out 
/usr/local/share/omf/gnumeric/$file; \

   done
install: gnumeric-C.omf.out: No such file or directory
gmake[5]: *** [install-data-hook-omf] Error 71
gmake[5]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[4]: *** [install-data-am] Error 2
gmake[4]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc'

gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/math/gnumeric.
*** Error code 1

Stop in /usr/ports/math/gnumeric.


Is this a known bug? Should I post a PR?
Apparently knowbody knows the answer here. I'm going to wait for another 
day and then post a PR. Thanks,


  Laszlo

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


help

2008-01-21 Thread Enovation Technologies
hello. i am newbie on freebsd and i have a problem with 2 nics

i have 2 nics   re0 and re1

on re0 i have installing this ip

# -- sysinstall generated deltas -- # Thu Dec  6 15:26:31 2007
ifconfig_re0=inet 10.200.1.37  netmask 255.255.255.0
defaultrouter=10.200.1.1
hostname=zeus.local


i want to install on re1 another ip10.200.1.40

i configure with sysinstall my second nic , but when i restart my box  i have 
this message


arp: 10.200.1.1 is on re0 but got reply from 00:50:7f:b0:a0:f8 on re1


my question is how to configure  2 nics with different ip on same box  in the 
same subnet.

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


Re: help

2008-01-21 Thread Heiko Wundram (Beenic)
Am Montag, 21. Januar 2008 10:16:40 schrieb Enovation Technologies:
 my question is how to configure  2 nics with different ip on same box  in
 the same subnet.

You know that this makes no sense? At least not in 99.99% of the cases? Maybe 
you can describe a little more clearly _why_ you want to do this, then 
somebody might be able to help you more appropriately than me helping you 
now.

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


update /dev files with slices

2008-01-21 Thread Martin Laabs

Hi,

I created a dvd with two slices a and b. (Don't ask for the
reason - it is a test for my backup system)
This slices are ufs formated and gbde encrypted. However -
if I insert the DVD the device nodes acd0a and acd0b are not
created automaticly. But if the DVD is inserted *before*
boot this two nodes are there and stay even if I insert a
normal DVD without slices.

An other way to update the device nodes is to detach an
attach the ata channel with atacontrol while the sliced DVD
is beeing inserted. But this is not very smart. (In particular
if there is i.e. a second device at this channel)
A similar way it to reload the atapicam modul. In this case
the cd0* device nodes are updated. The problems are the same
as with atacontroll de-/attach.

So I'am searching for a better way to tell the kernel/devfs
to update the device node list of the atapi devices.

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


Re: update /dev files with slices

2008-01-21 Thread Wojciech Puchar

reason - it is a test for my backup system)
This slices are ufs formated and gbde encrypted. However -
if I insert the DVD the device nodes acd0a and acd0b are not


FreeBSD doesn't know that you inserted DVD until you will read it
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help

2008-01-21 Thread Wojciech Puchar

on re0 i have installing this ip

# -- sysinstall generated deltas -- # Thu Dec  6 15:26:31 2007
ifconfig_re0=inet 10.200.1.37  netmask 255.255.255.0
defaultrouter=10.200.1.1
hostname=zeus.local


i want to install on re1 another ip10.200.1.40


it won't work this way, 2 cards on same subnet.

what do you need - more speed that 100Mbit/s or what exactly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: update /dev files with slices

2008-01-21 Thread Martin Laabs
On Mon, 21 Jan 2008 13:26:42 +0100, Wojciech Puchar  
[EMAIL PROTECTED] wrote:



reason - it is a test for my backup system)
This slices are ufs formated and gbde encrypted. However -
if I insert the DVD the device nodes acd0a and acd0b are not


FreeBSD doesn't know that you inserted DVD until you will read it


Yes - you are right. I forgot to mention that I actually
made a read access i.e. with 'dd if=/dev/acd0 of=/dev/null bs=2k'
But this didn't solved the problem with the missing device
nodes.

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


Re: boot problems / redirection unexpected

2008-01-21 Thread Manolis Kiagias



Zbigniew Szalbot wrote:

hello,

Trying to boot 6.3. There seems to be some problem with /etc/rc.subr
it gives me some message about redirection unexpected. I am trying to
copy this file form a back-up to /etc but when I do that it says:
read-only file system.

I should add that I am operating as root (could not go into multiuser).

What are my options now? How do I make files in /etc writeable so that
I can copy the file from backup?

Many thanks!

Zbigniew Szalbot
__
  
So it seems your problems were far more than not getting a GENERIC 
kernel...

I guess this is the machine where you merged the changes of the conf files?

If you do have a backup, reboot into single user mode and do something 
like:


mount -o rw /

This will remount you root partition read-write and you will be able to 
copy the backup back.



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


Re: boot problems / redirection unexpected

2008-01-21 Thread Zbigniew Szalbot
Hello,

2008/1/21, Manolis Kiagias [EMAIL PROTECTED]:
 Zbigniew Szalbot wrote:
  hello,
 
  Trying to boot 6.3. There seems to be some problem with /etc/rc.subr
  it gives me some message about redirection unexpected. I am trying to
  copy this file form a back-up to /etc but when I do that it says:
  read-only file system.
 
  I should add that I am operating as root (could not go into multiuser).
 
  What are my options now? How do I make files in /etc writeable so that
  I can copy the file from backup?
 
  Many thanks!
 
  Zbigniew Szalbot
 
 
 So it seems your problems where far more than not getting a GENERIC
 kernel...
 I guess this is the machine where you merged the changes of the conf files?

 If you do have a backup, reboot into single user mode and do something like:

 mount -o rw /

 This will remount you root partition read-write and you will be able to
 copy the backup back.

Yes, thanks I was able to do that. However, there seem to be some
other problems so I am right now looking at what mess I have and
praying I can revert it somehow :)

Thanks!

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Tijl Coosemans
On Monday 21 January 2008 09:45:26 Wojciech Puchar wrote:
 I have toyed a bit with the dev.cpu.0.freq sysctl setting, and tried
 to lower it automatically when the system load goes down. For some
 reason it don't seem to work, even though the script works for
 simple debug output.

 Anyone have tried to do something similar?
 
 no but anyway - freebsd halts CPU when unused, even at full frequency it 
 uses very little power wne unused.

Throttling still made a huge difference on my systems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: check processes started by inetd

2008-01-21 Thread Agus
2008/1/20, Warren Block [EMAIL PROTECTED]:

 On Sun, 20 Jan 2008, Jonathan Horne wrote:

  how can i check to see the processes that have been started by inetd?  i
 mean
  other than reading the inetd.conf file... but something like top or
 something
  that shows me the processes that are actually running?

 Kind of depends on what you're looking for, but ps ax, or enable inetd
 logging, or maybe sockstat.  If you're new to FreeBSD, remember that
 inetd isn't enabled by default, and a lot of the daemons it's used to
 start on other systems can be run on their own.

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



Try netstat. That way you will see which ports are listenning...Acording to
that you will see if inetd is actually running..And as Warren says, it is
disabled by default

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


ipfw(8) doc bug?

2008-01-21 Thread Ian Smith
I was just browsing various versions of ipfw(8) such as:

http://www.freebsd.org/cgi/man.cgi?query=ipfwapropos=0sektion=0manpath=FreeBSD+6.3-stableformat=html

and noticed that (and 6.3-RELEASE) manuals sport 'FreeBSD 7.0' footers,
however the proper FreeBSD 7 manual includes the new 'ipfw nat' section,
so is different in at least that respect.

Worthy of a docs? or www? PR, or maybe just a transient release glitch?

cheers, Ian

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


RLT8139d drivers?

2008-01-21 Thread Sdävtaker
Hello.
Im running FBSD 6.2release.
I got an old RLT 8139 1/10m working in my ia32 pc, used it for long
time and wanted to buy a second one for routing, couldnt find one of
those, and bought a 10/100/1000 rlt8139d, FBSD is not detecting it, i
was googling  and found out that 8139c+ drivers are not compatible
with the old drivers.
Is there any way to make it work?
Thanks for any help.
Sdav
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Erich Dollansky

Hi,

Andreas Davour wrote:

On Mon, 21 Jan 2008, Erich Dollansky wrote:


Hi,

why don't you use powerd?


Now I know a reason. It made my whole computer freeze and C-ALT-DEL or 
C-ALT-BS didn't even work. Maybe it's not that stable yet.


I use it with the -v option without any problems.

I do not start it while booting the machine but start it later after 
loggin on as root.


This way I can always switch back and see how fast the CPU currently runs.

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Erich Dollansky

Hi,

Andreas Davour wrote:

On Mon, 21 Jan 2008, Wojciech Puchar wrote:



I have toyed a bit with the dev.cpu.0.freq sysctl setting, and tried 
to lower it automatically when the system load goes down. For some 
reason it don't seem to work, even though the script works for simple 
debug output.


Anyone have tried to do something similar?


no but anyway - freebsd halts CPU when unused, even at full frequency 
it uses very little power wne unused.


Really? Good to know. I was wondering if I could make this laptop of 
mine a bit cooler, but then I guess not.


I also believe that the CPU is actually halted when idle but using 
powerd brings the temperatures on my machine still down. As powerd can 
be adjusted in which interval it adjusts the CPU frequency, short tasks 
run actually at the minimum frequency if the CPU was idle.


The negative side effect is, that a click takes some time before the 
machine really starts to react if the expected action results in more 
computing.


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


Re: gnumeric fails to install, 6.3-PRERELEASE

2008-01-21 Thread Warren Block

On Mon, 21 Jan 2008, Laszlo Nagy wrote:


portupgrade -a fails to install gnumeric. I tried to do this:

cd /usr/ports/math/gnumeric
make distclean
make
make install

It starts to install gnumeric and stops with this:


...

gmake  install-data-hook
gmake[5]: Entering directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

/bin/sh ../../mkinstalldirs /usr/local/share/omf/gnumeric
for file in gnumeric-C.omf; do \
   install  -o root -g wheel -m 444 $file.out 
/usr/local/share/omf/gnumeric/$file; \

   done
install: gnumeric-C.omf.out: No such file or directory
gmake[5]: *** [install-data-hook-omf] Error 71
gmake[5]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[4]: *** [install-data-am] Error 2
gmake[4]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[3]: *** [install-am] Error 2
gmake[3]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc/C'

gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/math/gnumeric/work/gnumeric-1.8.0/doc'

gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/math/gnumeric.
*** Error code 1

Stop in /usr/ports/math/gnumeric.


Just tried here, installed without problems:

FreeBSD speedy.wonkity.com 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Jan  1 14:16:24 MST 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SPEEDY  i386


Ports tree updated with csup, GNOMEDB option enabled in the gnumeric 
config.


-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: RLT8139d drivers?

2008-01-21 Thread Erik Trulsson
On Mon, Jan 21, 2008 at 11:57:24AM -0300, Sdävtaker wrote:
 Hello.
 Im running FBSD 6.2release.
 I got an old RLT 8139 1/10m working in my ia32 pc, used it for long
 time and wanted to buy a second one for routing, couldnt find one of
 those, and bought a 10/100/1000 rlt8139d, FBSD is not detecting it, i
 was googling  and found out that 8139c+ drivers are not compatible
 with the old drivers.
 Is there any way to make it work?
 Thanks for any help.
 Sdav

The RTL8139D is a 10/100Mbit chip that is supported by the rl(4) driver and
can be found on the majority of really cheap NICs these days,
The RTL8169/8169S is a 10/100/1000Mbit chip that is supported by the re(4) 
driver
and is quite common on cheap gigabit-NICs.
The RTL8139C+ (which is not the same as the RTL8139C or RTL8139D) is a
10/100M chip which is also supported by the re(4) driver.

If FreeBSD cannot detect your NIC then you will have to send more
information to help people figure out what exact hardware you have
and what would be needed to make it work.

The output of 'pciconf -lv' should be a good start.  (Include the full
output, not just the lines you think are important.)






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


Re: GELI key from a USB disk

2008-01-21 Thread Josh Paetzel
On Sunday 20 January 2008 09:02:14 pm Rakhesh Sasidharan wrote:
  I tried the obvious like mounting the USB disk in /etc/fstab and giving
  it a lower pass no. than the encrypted partitions. But turns out that
  doesn't work.
 
  The pass number in /etc/fstab only affects the fsck order.

 Thanks. I guess I'll have to write a script or something then ...

 Regards,

   - Rakhesh
  http://rakhesh.net/

If you are using /etc/rc.d/geli or geli2 what about fiddling with it's REQUIRE 
so that it runs later.like after all your filesystems are mounted?  This 
would seem to be an ok solution provided you aren't using geli on your OS 
partitions.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


ZFS for production.

2008-01-21 Thread Albert Shih
Hi all.

I would like to known if the ZFS can be use in production ? Are there
here anyone to use ZFS in production server ? 

Lots of thanks.

Regards.

NB: I'm going to use 7.0 in production, but for the FS it's more complexe,
if I lost some connexion because the 7.0 freeze is very different if I lost
all data.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Lun 21 jan 2008 17:12:24 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS for production.

2008-01-21 Thread Wojciech Puchar


I would like to known if the ZFS can be use in production ? Are there


of course can - as everything. what about the results... that's other 
questions.


it WILL put a load of load on your machine...
___
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 install KDE4 on FreeBSD?

2008-01-21 Thread doug

Yes its only been ten days. First notice may appear on http:freebsd.kde.org.

On Mon, 21 Jan 2008, Rico Secada wrote:


On Sun, 20 Jan 2008 16:26:20 -0800 (PST)
uutorok [EMAIL PROTECTED] wrote:



I find that there is no KDE 4 in ports. The only instruction I get is
 http://techbase.kde.org/index.php?title ... E4/FreeBSD

 But there is not much information. Anyone who know how to build KDE
4 on FreeBSD?


Wait patiently until it reaches the ports, or build it manually from
source.


--
View this message in context:
http://www.nabble.com/How-to-install-KDE4-on-FreeBSD--tp14989042p14989042.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 08:59:30AM +0400, Rakhesh Sasidharan wrote:
 
 Colin Brace wrote:
 
 I use udev rules to do this. See:
 
 
 http://www.linuxquestions.org/questions/linux-general-1/make-removable-usb-hdd-mount-at-fixed-mount-point-511917/
 
 
 That doesn't work on FreeBSD, does it? Udev's a Linux thing last I heard of 
 ...

You might be able to do that with devd(8). I don't know if you'll get
attach events on disk devices, you'll  have to try.

Keep in mind that you cannot use devd to unmount! You'll have to unmount
_before_ the device is detached/destroyed, or you might get a panic.

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


pgp3nKhvXcW1O.pgp
Description: PGP signature


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Tijl Coosemans
On Monday 21 January 2008 16:13:36 Andreas Davour wrote:
 On Mon, 21 Jan 2008, Tijl Coosemans wrote:
 Throttling still made a huge difference on my systems.
 
 Many different opionions here. How did you do it then?

In /etc/sysctl.conf:
debug.cpufreq.lowest=400

In /etc/rc.conf:
economy_cx_lowest=LOW
performance_cx_lowest=LOW
powerd_enable=YES
powerd_flags=-i 92 -r 65 -p 200
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
 
 What I'd like to know is whether there's any way for me to ensure that the
 da0 disk always appears as da0. I don't want it that tomm I plug in another
 disk (or change the order of disks, though I'll be more careful with that)
 and suddenly da0 is no longer at da0! That would hamper the boot process
 ... not nice.
 
 It is possible, but not as daX. Use the glabel(8) utility to label your
 disks. They will show up as /dev/label/yourlabel
 
 The daX devices are created as the device is plugged in, so AFAIK it's
 impossible to permanently assign them a certain daX device.
 
 Just mentioning this for archival purposes.
 
 If you are mounting a device as /dev/label/yourlabel at boot time, it 
 will fail unless you add a ''geom_label_load=YES'' to your 
 /boot/loader.conf file. Had me stumped for a while. This loads the geom 
 label module at boot time and so labels are recognized.

On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
kernel, so it shouldn't be necessary there.

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


pgpLQR4Mu6Xk5.pgp
Description: PGP signature


Re: ZFS for production.

2008-01-21 Thread Kimi
On 21/01/2008, Albert Shih [EMAIL PROTECTED] wrote:
 Hi all.

 I would like to known if the ZFS can be use in production ?

you need to test if it is suitable for your needs with stability, some
people are using in production - I am no such a person.

 Are there
 here anyone to use ZFS in production server ?


you might want to check the archives for the CURRENT mailing list for
clues/hints/tips. there was a big discussion not so far back as to
what settings depend on what load etc you are doing, also i386 is not
recommended, you are better off with amd64 and a 1GB of memory, but
memory's cheap at the moment.

 Lots of thanks.

 Regards.

 NB: I'm going to use 7.0 in production, but for the FS it's more complexe,
 if I lost some connexion because the 7.0 freeze is very different if I lost
 all data.
 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Téléphone : 01 45 07 76 26
 Heure local/Local time:
 Lun 21 jan 2008 17:12:24 CET
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mike Bristow
On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
 On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
  
  It is possible, but not as daX. Use the glabel(8) utility to label your
  disks. They will show up as /dev/label/yourlabel
 
 On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
 kernel, so it shouldn't be necessary there.

Note that you can use UFS (and other filesystems labeling) too:  for example.
'newfs -L bobs_disk' will cause the device containing it to appear as 
/dev/ufs/bobs_disk.

This approach may be better for removable disks; it'll play better with
other OSs, for example.

-- 
Shenanigans!  Shenanigans!Best of 3!
-- Flash 

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
 On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
  On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
   It is possible, but not as daX. Use the glabel(8) utility to label
   your disks. They will show up as /dev/label/yourlabel
 
  On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
  kernel, so it shouldn't be necessary there.

 Note that you can use UFS (and other filesystems labeling) too:  for
 example. 'newfs -L bobs_disk' will cause the device containing it to appear
 as /dev/ufs/bobs_disk.

 This approach may be better for removable disks; it'll play better with
 other OSs, for example.

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
 On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
  On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
   It is possible, but not as daX. Use the glabel(8) utility to label
   your disks. They will show up as /dev/label/yourlabel
 
  On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
  kernel, so it shouldn't be necessary there.

 Note that you can use UFS (and other filesystems labeling) too:  for
 example. 'newfs -L bobs_disk' will cause the device containing it to appear
 as /dev/ufs/bobs_disk.

 This approach may be better for removable disks; it'll play better with
 other OSs, for example.

I simply put;

/dev/da0s1  /PenDrive   msdosfs rw,noauto   0   0

in fstab. After pluging it in, i type 

mount /PenDrive

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
 On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
  On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
   It is possible, but not as daX. Use the glabel(8) utility to label
   your disks. They will show up as /dev/label/yourlabel
 
  On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
  kernel, so it shouldn't be necessary there.

 Note that you can use UFS (and other filesystems labeling) too:  for
 example. 'newfs -L bobs_disk' will cause the device containing it to appear
 as /dev/ufs/bobs_disk.

 This approach may be better for removable disks; it'll play better with
 other OSs, for example.

I simply put:

/dev/da0s1  /PenDrive   msdosfs rw,noauto   0   0

in my fstab. After pluging it in, i type mount /PenDrive
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
 On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
  On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
   It is possible, but not as daX. Use the glabel(8) utility to label
   your disks. They will show up as /dev/label/yourlabel
 
  On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
  kernel, so it shouldn't be necessary there.

 Note that you can use UFS (and other filesystems labeling) too:  for
 example. 'newfs -L bobs_disk' will cause the device containing it to appear
 as /dev/ufs/bobs_disk.

 This approach may be better for removable disks; it'll play better with
 other OSs, for example.

I simply put

/dev/da0s1  /PenDrive   msdosfs rw,noauto   0   0

on fstab. After I plug it in, I type

mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:14:56 Mario Lobo wrote:
 On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
  On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
   On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/yourlabel
  
   On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
   kernel, so it shouldn't be necessary there.
 
  Note that you can use UFS (and other filesystems labeling) too:  for
  example. 'newfs -L bobs_disk' will cause the device containing it to
  appear as /dev/ufs/bobs_disk.
 
  This approach may be better for removable disks; it'll play better with
  other OSs, for example.

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

Sorry :(

I simply put:

/dev/da0s1  /PenDrive   msdosfs rw,noauto   0   0

on fstab.  After pluging in, I type mount /PenDrive.

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Mario Lobo
On Monday 21 January 2008 14:19:54 Mario Lobo wrote:
 On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
  On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
   On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/yourlabel
  
   On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
   kernel, so it shouldn't be necessary there.
 
  Note that you can use UFS (and other filesystems labeling) too:  for
  example. 'newfs -L bobs_disk' will cause the device containing it to
  appear as /dev/ufs/bobs_disk.
 
  This approach may be better for removable disks; it'll play better with
  other OSs, for example.

 I simply put

 /dev/da0s1/PenDrive   msdosfs rw,noauto   0   0

 on fstab. After I plug it in, I type

 mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.

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

Sorry for the multiple posts. I have just installed FBSD 7 here on my desktop 
and I am struggling a bit to recover my kmail configs from my previous 6.2.

By the way, I've been using it for 3 days and I must say right way how 
incredibly improved and smooth multitasking is on 7 !! 

Mario Lobo
___
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 install KDE4 on FreeBSD?

2008-01-21 Thread uutorok

Thanks a lot.



doug-28 wrote:
 
 Yes its only been ten days. First notice may appear on
 http:freebsd.kde.org.
 
 On Mon, 21 Jan 2008, Rico Secada wrote:
 
 On Sun, 20 Jan 2008 16:26:20 -0800 (PST)
 uutorok [EMAIL PROTECTED] wrote:


 I find that there is no KDE 4 in ports. The only instruction I get is
  http://techbase.kde.org/index.php?title ... E4/FreeBSD

  But there is not much information. Anyone who know how to build KDE
 4 on FreeBSD?

 Wait patiently until it reaches the ports, or build it manually from
 source.

 --
 View this message in context:
 http://www.nabble.com/How-to-install-KDE4-on-FreeBSD--tp14989042p14989042.html
 Sent from the freebsd-questions mailing list archive at Nabble.com.

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

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

-- 
View this message in context: 
http://www.nabble.com/How-to-install-KDE4-on-FreeBSD--tp14989042p15002202.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Ghirai
On Mon, 21 Jan 2008 16:41:41 +0100 (CET)
Andreas Davour [EMAIL PROTECTED] wrote:

 
 H. This actually works, without any hangups. I wonder if I managed 
 to hit upon a odd bug yesterday?
 
 /andreas
 

I've been using it since 6.2 on 4 intel boxes (one of them a notebook)
without any problems.

You can check the available freq. steps with sysctl dev.cpu.0.freq_levels
and see the current speed with sysctl dev.cpu.0.freq.

Do make sure you set the debug.cpufreq.lowest to a sensible value, otherwise
things will be somewhat sluggish.

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


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Roland Smith
On Mon, Jan 21, 2008 at 02:16:50PM -0300, Mario Lobo wrote:
 On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
  On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
   On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/yourlabel
  
   On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
   kernel, so it shouldn't be necessary there.
 
  Note that you can use UFS (and other filesystems labeling) too:  for
  example. 'newfs -L bobs_disk' will cause the device containing it to appear
  as /dev/ufs/bobs_disk.
 
  This approach may be better for removable disks; it'll play better with
  other OSs, for example.
 
 I simply put;
 
 /dev/da0s1/PenDrive   msdosfs rw,noauto   0   0
 
 in fstab. After pluging it in, i type 
 
 mount /PenDrive


Keep in mind that this only works for _one_ drive. As soon as you have
two, this won't work correctly.

If you have multiple drives, you should label them (with newfs_msdos or
mtools) e.g. 'diskA' and 'diskB'.

With GEOM_LABEL you'll then get /dev/msdosfs/diskA and /dev/msdosfs/diskB,
which you can then put in your /etc/fstab;

/dev/msdosfs/diskA  /mnt/diskA  msdosfs rw,noauto   0   0
/dev/msdosfs/diskB  /mnt/diskB  msdosfs rw,noauto   0   0

Of course you need to own /mnt/diskX if you want to mount it as a normal user.

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


pgpsar1UxP9JI.pgp
Description: PGP signature


boot loader anomaly

2008-01-21 Thread Steven Friedrich

I'm getting an error message zpool_cache...failed! during boot.
You have to disable beastie to see it...

Here's the output that I wrote down:
BTX loader 1.00  BTX version is 1.01
Consoles: internal video/kerboard
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS drive E: is disk2
BIOS 637kB/522176kB available memory

FreeBSD/i386 bootstrap loader, Revision 1.1
([EMAIL PROTECTED], Mon Jan 21 10:12:31 EST 2008)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel text=0x6ed4ac data=0xadb60+0x5ac20 
syms=[0x4+0x710d0+0x4+0x90f05]

zpool_cache...failed!
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds...


Here's the uname output
uname -a
FreeBSD freeBSD.StevenFriedrich.org 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Jan 
21 11:03:28 EST 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



And my /boot/loader.conf
verbose_loading=YES # Set to YES for verbose loader output
beastie_disable=YES # Turn the beastie boot menu on and off

Is this a bug, or am I missing some configuration bit?
--

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


Re: ipfw(8) doc bug?

2008-01-21 Thread Daniel Gerzo
Hello Ian,

Monday, January 21, 2008, 2:42:53 PM, you wrote:

 I was just browsing various versions of ipfw(8) such as:

 http://www.freebsd.org/cgi/man.cgi?query=ipfwapropos=0sektion=0manpath=FreeBSD+6.3-stableformat=html

 and noticed that (and 6.3-RELEASE) manuals sport 'FreeBSD 7.0' footers,
 however the proper FreeBSD 7 manual includes the new 'ipfw nat' section,
 so is different in at least that respect.

As far as I know, this isn't a bug. The reason why you see FreeBSD
7.0 in the footer is that the machine, which is serving the online
manuals is running 7.0, but the real content of the man page is the
same as you will find in the 6.3-RELEASE.

-- 
Best regards,
 Danielmailto:[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: RLT8139d drivers?

2008-01-21 Thread Sdävtaker
It doesnt appear in pciconf (output is pasted below). I removed it and
tryed make it work in a winxp machine and it was successfully working,
so is not hardware problem (at least not in the nic).
Any idea why is not working?, the card chip says 8139d, my kernel is
release generic.
Is it the none0?
thanks for reply me :-)

pciconf -lv
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x31231106 rev=0x00 
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8623 Apollo CLE266 CastleRock CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0911106 rev=0x00 
hdr=0x01
vendor   = 'VIA Technologies Inc'
device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:8:0: class=0x02 card=0x chip=0x81391904 rev=0x01 
hdr=0x00
class= network
subclass = ethernet
[EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x30381106 chip=0x30381106
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x30381106 chip=0x30381106
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x30381106 chip=0x30381106
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x31041106 chip=0x31041106
rev=0x82 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT6202 USB 2.0 Enhanced Host Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
rev=0x00 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8235 PCI to ISA Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:17:1:  class=0x01018a card=0x05711106 chip=0x05711106
rev=0x06 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82 EIDE Controller (All VIA Chipsets)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:17:5:class=0x040100 card=0x41611106 chip=0x30591106
rev=0x50 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:17:6:class=0x078000 card=0x4c211543 chip=0x30681106
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82C686/A/B,VT8233/A Modem Codec'
class= simple comms
[EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
rev=0x74 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
class= network
subclass = ethernet
[EMAIL PROTECTED]:0:0: class=0x03 card=0x31221106 chip=0x31221106 rev=0x03 
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8623 Apollo CLE266 CastleRock AGP 8X Controller'
class= display
subclass = VGA

On Jan 21, 2008 12:59 PM, Erik Trulsson [EMAIL PROTECTED] wrote:

 On Mon, Jan 21, 2008 at 11:57:24AM -0300, Sdävtaker wrote:
  Hello.
  Im running FBSD 6.2release.
  I got an old RLT 8139 1/10m working in my ia32 pc, used it for long
  time and wanted to buy a second one for routing, couldnt find one of
  those, and bought a 10/100/1000 rlt8139d, FBSD is not detecting it, i
  was googling  and found out that 8139c+ drivers are not compatible
  with the old drivers.
  Is there any way to make it work?
  Thanks for any help.
  Sdav

 The RTL8139D is a 10/100Mbit chip that is supported by the rl(4) driver and
 can be found on the majority of really cheap NICs these days,
 The RTL8169/8169S is a 10/100/1000Mbit chip that is supported by the re(4) 
 driver
 and is quite common on cheap gigabit-NICs.
 The RTL8139C+ (which is not the same as the RTL8139C or RTL8139D) is a
 10/100M chip which is also supported by the re(4) driver.

 If FreeBSD cannot detect your NIC then you will have to send more
 information to help people figure out what exact hardware you have
 and what would be needed to make it work.

 The output of 'pciconf -lv' should be a good start.  (Include the full
 output, not just the lines you think are important.)






 --
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]




-- 
Sdävtaker prays to Rikku goddess for a good treasure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Boot Loader Broken?

2008-01-21 Thread Schiz0
On Jan 9, 2008 1:38 PM, Schiz0 [EMAIL PROTECTED] wrote:
 Hey,

 I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
 problem with the ports, but I got that taken care of.

 Now I'm having another very odd problem.

 I originally noticed something odd when I tried to shutdown from
 multiuser mode into single user mode. I ran shutdown now as root in
 multiuser. It said it was shutting down, etc. But then, it gave me the
 normal multiuser login prompt. So then I tried rebooting completely,
 and that's where the big error came up:

 -
 FreeBSD/i386 bootstrap loader, Revision 1.1
 ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
  \
 \: unknown command
 -
 /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
 syms=[0x4+0x34c10+0x4+0x43ef1]
 Hit [Enter] to boot immediately, or any other key for a command prompt.
 Booting [/boot/kernel/kernel] in 4 seconds ...
 -

 Why it trying to run the command \ ? Right before I did this, I
 rebuilt world, including the kernel. I installed the new kernel, and
 was moving down to single user to install world.

 Is my bootloader corrupt somehow?

 Thanks.


I'm still having this problem. I installed from the 7.0-RC1 Boot Only
iso. It worked fine. I csuped RELENG_7 and built world, and now it's
giving me the same error.

There's nothign weird in /etc/fstab. I didn't change any files in
/boot. I put the 7.0-RC1 CD in the drive, and diff'ed the /boot from
MY system and the /boot from the CD. Nothing was different. I ran diff
on the loader.conf, loader.rc, and all the .4th files.

Note, I can still boot up fine. I just hit enter at that error prompt
and it boots ok.

Now, I'm even in a bigger hole. My power died this weekend, and I
guess the / partition has some errors on it, so it is being mounted
read-only. But I'm unable to get into single user mode. I tried
shutdown now and init 1 and they both brought me back to the
multi-user login prompt. And there's no menu to reboot and select
single user mode from.

Can someone help me either solve the bootloader problem, or just how
to get into single user mode?

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


make installworld failed

2008-01-21 Thread Joe Demeny
After building world and kernel, installed kernel, but got an error when I 
tried make installworld:

# make installworld
mkdir -p /tmp/install.uV1yfKEs
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test 
true uname wc zic; do  cp `which $prog` /tmp/install.uV1yfKEs;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs
 /usr/obj/usr/src/make.i386/make -f 
Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: 
warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print 
$3 }'  /usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

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

Stop in /usr/src.

This is FreeBSD 6.3-PRERELEASE (just installed new kernel...)

I'm wondering why do I get this error?

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


Re: compiling kernel with PAE

2008-01-21 Thread David Robillard
 Getting an error when trying to compile a kernel on 5.4 and 6.2 with the
 PAE option. I've tried NO_MODULES in make.conf as well...

 se2 -ffreestanding -Werror  /usr/src/sys/dev/advansys/advansys.c
 /usr/src/sys/dev/advansys/advansys.c: In function `adv_action':
 /usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to 
 integer of different size
 *** Error code 1

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

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

 Stop in /usr/src.

 This is a custom kernel build with the QUOTA option, I take out the PAE
 option and all makes fine. I did a src-all update with RELENG_VER tag
 prior to building. I assume this is a driver issue compatible with PAE?

 Also, can I run amd64 release on this Intel Xeon dual proc with 6GB RAM?
 Thinking about loading 6.3 amd64 if possible. Excuse my ignorance, I am
 not a hardware guy, I am a programmer.

 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-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,C
 MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
   AMD Features=0x2010NX,LM
   Logical CPUs per core: 2

According to http://www.freebsd.org/platforms/amd64.html the Intel
Xeon (3000-sequence, 5000-sequence, and 7000-sequence) processors use
the Intel(R)64 architecture.
Therefore if your Intel Xeon is in the 3000-sequence, 5000-sequence or
7000-sequence, then you can use FreeBSD/amd64 and use the memory above
4Gb. IMHO it should be more simple and efficient than compiling a
kernel with PAE support.

HTH,

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: make installworld failed

2008-01-21 Thread Paul Procacci
Do you have any partitions mounted with noexec?

I just got a very similar problem and it was due to me having /tmp mounted
with noexec.

On Mon, Jan 21, 2008 at 01:49:11PM -0500, Joe Demeny wrote:
 After building world and kernel, installed kernel, but got an error when I 
 tried make installworld:
 
 # make installworld
 mkdir -p /tmp/install.uV1yfKEs
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
 install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test 
 true uname wc zic; do  cp `which $prog` /tmp/install.uV1yfKEs;  done
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs
  /usr/obj/usr/src/make.i386/make -f 
 Makefile.inc1 reinstall
 awk: Permission denied
 /usr/src/Makefile.inc1, line 101: 
 warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print 
 $3 }'  /usr/include/osreldate.h returned non-zero status
 echo:Permission denied
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 This is FreeBSD 6.3-PRERELEASE (just installed new kernel...)
 
 I'm wondering why do I get this error?
 
 -- 
 Joe Demeny
 ___
 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]


xorg-drivers-7.3

2008-01-21 Thread Bob Hall
I'm trying to update xorg-drivers-7.3 on an old machine. I didn't know
that the i810 drivers do the job of the i740 drivers, so I selected i740
in the config screen when I ran portmanager. Unfortunately, this
conflicts with i810, and unfortunately, this choice I made is preserved
in some configuration data hidden somewhere. When I try to redo it, it
picks up my previous choice instead of giving me the option of making a
new choice. 

Found saved configuration for xorg-drivers-7.3_1

portupgrade and Make distclean followed by Make both give this
message.

I've tried searching, but the key words I use aren't getting me any
information. What do I do to deselect i740, or to force portmanager to
let me reselect my options?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg-drivers-7.3

2008-01-21 Thread Peter Boosten

Bob Hall wrote:

I'm trying to update xorg-drivers-7.3 on an old machine. I didn't know
that the i810 drivers do the job of the i740 drivers, so I selected i740
in the config screen when I ran portmanager. Unfortunately, this
conflicts with i810, and unfortunately, this choice I made is preserved
in some configuration data hidden somewhere. When I try to redo it, it
picks up my previous choice instead of giving me the option of making a
new choice. 


Found saved configuration for xorg-drivers-7.3_1

portupgrade and Make distclean followed by Make both give this
message.

I've tried searching, but the key words I use aren't getting me any
information. What do I do to deselect i740, or to force portmanager to
let me reselect my options?


make config :-)

Greetings,

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


bind: Can't assign requested address using ssh (or anything else)

2008-01-21 Thread perlcat
Trying to access a vpn using ssh on 6.2 - STABLE. Haven't found an answer 
anywhere, and so I must be totally missing the right questions to ask or 
configurations to look at.

This problem is consistent regardless of port chosen or access method. I can 
duplicate at will with ssh. Here's the command that fails:

$ ssh -X -N -L 127.0.0.3:13390:192.168.1.44:3390 [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
bind: Can't assign requested address
channel_setup_fwd_listener: cannot listen to port: 13390
Could not request local forwarding.

I know that it can be done -- the guy next to me is working using Linux, but 
his answer to this issue was to edit the /etc/network/interfaces file. He 
figures that I didn't  have one or don't have the loopback started.
(his interfaces file):
~$ more /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0


Here's my config info:
==
ifconfig output:
smedley# ifconfig
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether 02:e0:b8:02:9c:8e
ch 1 dma -1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 72.37.126.77 netmask 0xff00 broadcast 72.37.126.255
ether 00:13:f7:35:39:5e
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/18Mbps)
status: associated
ssid UPRR_X channel 8 bssid 00:0f:90:7b:60:00
authmode OPEN privacy OFF txpowmax 36 bmiss 7 protmode CTS burst
bintval 100
==
rc.conf:
hostname=smedley.alltel.net
ifconfig_ath0=DHCP
inetd_enable=YES
keymap=us.iso
moused_enable=YES
linux_enable=YES
sshd_enable=YES
tcp_extensions=YES
usbd_enable=YES
nfs_client_enable=YES
cupsd_enable=YES
smartd_enable=YES
==

Maybe I need to get rid if the inet6 for the loopback?

Thanks!

Tyson
___
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: Fixing a USB disk to a specific device name

2008-01-21 Thread Jerry McAllister
On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote:

 On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
  On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
   On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/yourlabel
  
   On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
   kernel, so it shouldn't be necessary there.
 
  Note that you can use UFS (and other filesystems labeling) too:  for
  example. 'newfs -L bobs_disk' will cause the device containing it to appear
  as /dev/ufs/bobs_disk.
 
  This approach may be better for removable disks; it'll play better with
  other OSs, for example.
 
 I simply put
 
 /dev/da0s1/PenDrive   msdosfs rw,noauto   0   0
 
 on fstab. After I plug it in, I type
 
 mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.

Maybe I am missing something, but I don't think that is what the OP
was asking - just a mount moiunt.   I think the OP wants the
/dev/da0s1 to always be /dev/da0s1 even if he switches the drives
around in physical drive slots.

jerry

 
 Mario Lobo
 ___
 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: xorg-drivers-7.3

2008-01-21 Thread Chess Griffin

Bob Hall wrote:

I'm trying to update xorg-drivers-7.3 on an old machine. I didn't know
that the i810 drivers do the job of the i740 drivers, so I selected i740
in the config screen when I ran portmanager. Unfortunately, this
conflicts with i810, and unfortunately, this choice I made is preserved
in some configuration data hidden somewhere. When I try to redo it, it
picks up my previous choice instead of giving me the option of making a
new choice. 


Found saved configuration for xorg-drivers-7.3_1

portupgrade and Make distclean followed by Make both give this
message.

I've tried searching, but the key words I use aren't getting me any
information. What do I do to deselect i740, or to force portmanager to
let me reselect my options?


See section 4.5.2.3 of the Handbook.

HTH-

Chess

--
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com



signature.asc
Description: OpenPGP digital signature


Re: RLT8139d drivers?

2008-01-21 Thread Erik Trulsson
On Mon, Jan 21, 2008 at 03:08:03PM -0300, Sdävtaker wrote:
 It doesnt appear in pciconf (output is pasted below). I removed it and
 tryed make it work in a winxp machine and it was successfully working,
 so is not hardware problem (at least not in the nic).
 Any idea why is not working?, the card chip says 8139d, my kernel is
 release generic.
 Is it the none0?
 thanks for reply me :-)

Yes, it looks very much like the none0 entry is your NIC.
That particular chip-id (0x81391904) is not one that is currently recognized
by the rl(4) driver, which is why the driver is not attaching to the card.

Most likely all that is needed to make work is to add that id to the list
of chips the rl(4) driver is supposed to attach to, but this requires
modifying the kernel source code and rebuilding the kernel.

Most likely the following quick, dirty, and ugly patch would suffice to make
it work, but since I do not have such a card I cannot test that it works:


Index: sys/pci/if_rl.c
===
RCS file: /ncvs/src/sys/pci/if_rl.c,v
retrieving revision 1.152.2.8
diff -u -r1.152.2.8 if_rl.c
--- sys/pci/if_rl.c 2 Dec 2007 08:54:59 -   1.152.2.8
+++ sys/pci/if_rl.c 21 Jan 2008 20:55:24 -
@@ -176,6 +176,8 @@
LevelOne FPC-0106TX },
{ EDIMAX_VENDORID, EDIMAX_DEVICEID_EP4103DL, RL_8139,
Edimax EP-4103DL CardBus },
+   { 0x1904, RT_DEVICEID_8139, RL_8139,
+   Unknown 8139 10/100BaseTX },
{ 0, 0, 0, NULL }
 };
 
 




 
 pciconf -lv
 [EMAIL PROTECTED]:0:0:  class=0x06 card=0x1106 chip=0x31231106 
 rev=0x00 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT8623 Apollo CLE266 CastleRock CPU to PCI Bridge'
 class= bridge
 subclass = HOST-PCI
 [EMAIL PROTECTED]:1:0: class=0x060400 card=0x0080 chip=0xb0911106 
 rev=0x00 hdr=0x01
 vendor   = 'VIA Technologies Inc'
 device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
 class= bridge
 subclass = PCI-PCI
 [EMAIL PROTECTED]:8:0: class=0x02 card=0x chip=0x81391904 
 rev=0x01 hdr=0x00
 class= network
 subclass = ethernet
 [EMAIL PROTECTED]:16:0:class=0x0c0300 card=0x30381106 chip=0x30381106
 rev=0x80 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
 class= serial bus
 subclass = USB
 [EMAIL PROTECTED]:16:1:class=0x0c0300 card=0x30381106 chip=0x30381106
 rev=0x80 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
 class= serial bus
 subclass = USB
 [EMAIL PROTECTED]:16:2:class=0x0c0300 card=0x30381106 chip=0x30381106
 rev=0x80 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
 class= serial bus
 subclass = USB
 [EMAIL PROTECTED]:16:3:class=0x0c0320 card=0x31041106 chip=0x31041106
 rev=0x82 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT6202 USB 2.0 Enhanced Host Controller'
 class= serial bus
 subclass = USB
 [EMAIL PROTECTED]:17:0:class=0x060100 card=0x1106 chip=0x31771106
 rev=0x00 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT8235 PCI to ISA Bridge'
 class= bridge
 subclass = PCI-ISA
 [EMAIL PROTECTED]:17:1:  class=0x01018a card=0x05711106 chip=0x05711106
 rev=0x06 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT82 EIDE Controller (All VIA Chipsets)'
 class= mass storage
 subclass = ATA
 [EMAIL PROTECTED]:17:5:class=0x040100 card=0x41611106 chip=0x30591106
 rev=0x50 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
 class= multimedia
 subclass = audio
 [EMAIL PROTECTED]:17:6:class=0x078000 card=0x4c211543 chip=0x30681106
 rev=0x80 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT82C686/A/B,VT8233/A Modem Codec'
 class= simple comms
 [EMAIL PROTECTED]:18:0:  class=0x02 card=0x01021106 chip=0x30651106 
 rev=0x74 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
 class= network
 subclass = ethernet
 [EMAIL PROTECTED]:0:0: class=0x03 card=0x31221106 chip=0x31221106 
 rev=0x03 hdr=0x00
 vendor   = 'VIA Technologies Inc'
 device   = 'VT8623 Apollo CLE266 CastleRock AGP 8X Controller'
 class= display
 subclass = VGA
 
 On Jan 21, 2008 12:59 PM, Erik Trulsson [EMAIL PROTECTED] wrote:
 
  On Mon, Jan 21, 2008 at 11:57:24AM -0300, Sdävtaker wrote:
   Hello.
   Im running FBSD 6.2release.
   I got an old RLT 8139 1/10m working in my ia32 pc, used it for long
   time and wanted to buy a second one for routing, couldnt find one of
   those, and bought a 10/100/1000 rlt8139d, 

License Question

2008-01-21 Thread Free BSD
Hello, i have a question about licensing FreeBSD: i would be like install 
freebsd in corporation on workstation (don't servers). Its free ? Or FreeBSD 
free for individual using ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mail server questions

2008-01-21 Thread Zachary Welch
Hello to all,

 

BSD newbie here, running 6.2 on a core 2 quad system I built. 

 

I'm Trying to get a secure mail server going and running into some snags:

 

First things first - After installing postfix (which seems to work when
testing) and cyrus-sasl2, I opted for the Maildir/ config option in my
main.cf but no ~/user/Maildir/ was every created. I also installed Dovecot
IMAP and Procmail as I continued in the process thinking they might pick up
the slack. Still no generated Maildir/. When I try to check /var/spool/mail,
there are also no user folders present. Was there a step in the process I
missed? Everything was installed from a freshly cvsup'd and portsnap'd ports
tree with no compile errors to speak of.

 

 

Zachary J Welch

President

Tech N' Taboodle

2081 E. Henrietta Rd

Rochester NY 14623

 http://www.techntaboodle.com/ www.techntaboodle.com

585-732-1952

 

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


Re: License Question

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

Free BSD wrote:
 Hello, i have a question about licensing FreeBSD: i would be like
 install freebsd in corporation on workstation (don't servers). Its
 free ? Or FreeBSD free for individual using ?

Yes
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHlQr1Qi2hk2LEXBARAv2zAJ4t+ELEXWBG96O1A+3MnUUF3SGmLgCggDEC
Yarj3kpD8R1qweFtiFdhrIQ=
=Gv5K
-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: License Question

2008-01-21 Thread Zbigniew Szalbot
Hello,

2008/1/21, Aryeh M. Friedman [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Free BSD wrote:
  Hello, i have a question about licensing FreeBSD: i would be like
  install freebsd in corporation on workstation (don't servers). Its
  free ? Or FreeBSD free for individual using ?

 Yes

Funny but this answer may not be helpful :)
Yes meaning free for corporate environment or free for individuals?

Kind regards,

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


Re: FBSD or PCBSD?

2008-01-21 Thread Chad Perrin
On Fri, Jan 18, 2008 at 10:57:16AM +0100, Frank Staals wrote:
 Zbigniew Szalbot wrote:
 Hello,
 
 I have a basic Acer Aspire with Vista on it but I am very unhappy
 about the speed of work on it. I do not want to wipe out MS system (at
 least not yet) but would like to give FreeBSD or PCBSD a try.
 
 1. Am I safe by installing FreeBSD alongside Vista? Will the
 installation not destroy MS system?
   
 Just make sure you have free space and go. You probably want to use the 
 FreeBSD Bootmanager but I'm not 100% sure about that ( Only running a 
 dualboot system with FreeBSD and WinXP for which the FreeBSD bootmanager 
 is required )

This should be emphasized more:

Make absolutely certain you already have free space on your drive before
trying to install a FreeBSD or PC-BSD OS on the system to dual-boot with
an already existing MS Windows OS.  This can be accomplished in a number
of ways -- you'll probably want to use a LiveCD with partition resizing
software (like QtParted, for instance).  Knoppix comes with this
software.  Before resizing partitions, though, make sure you defrag your
MS Windows drive so the data on it will be packed toward the beginning of
the drive rather than spread across the end of it.  If you cut into data
on the partition when resizing, you could lose the data.  If the data's
important to the OS, this could hose the OS.

Once you have the free space, though, installing into that free space is
a cake walk.


 2. I have installed FreeBSD a few times but only with console access,
 never with X windows. Would it be better to install PCBSD on the Acer
 machine? I have never configured X windows and not sure how long it
 could take with FreeBSD (actually I mean things like Gnome or KDE).
   
 Depends on your needs. If you are planning on running an other WM/DE 
 than KDE (Or at least I thought PCBSD came with KDE by default ) and you 
 are familliar with the ports system you are better off choosing 
 FreeBSD.  Setting up X is a piece of cake nowadays. In most cases Xorg 
 wil generate it's own configfile at start and you don't realy have to 
 worry about it. If something doesn't work or you want to configure it 
 somehow you can just run 'Xorg --configure' which wil generate a 
 configfile you can edit by hand. On the other hand if you are completely 
 new to FreeBSD, the portsystem etc than I guess you're better off 
 installing PCBSD.

Someone else in this discussion said something about it taking days to
set up a complete GUI environment if installing from source.  For me, it
took less than an hour.  Of course, I didn't install KDE, either -- it
all depends on how much junk you have to install to consider it a
complete GUI environment.

PC-BSD is a very straightforward install, generally.  So is DesktopBSD
for that matter.  Part of the reason for this is that you don't have to
make any decisions at all.  The downside is that you don't get to make
any decisions at all.

FreeBSD has a quick-install port for GUI/desktop environments.  Once
you've got the FreeBSD base system installed, just do this:

  cd /usr/ports/misc/instant-workstation
  make install clean

Among other things, it installs emacs, xmms, and KDE.  I don't use it,
though, because I'm not much of a fan of any of those three.  If you like
KDE, though, that could be a quick way to get from zero to a usable
workstation for you.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Marvin Minsky: It's just incredible that a trillion-synapse computer could
actually spend Saturday afternoon watching a football game.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail server questions

2008-01-21 Thread Chess Griffin

Zachary Welch wrote:

Hello to all,

 

BSD newbie here, running 6.2 on a core 2 quad system I built. 

 


I'm Trying to get a secure mail server going and running into some snags:

 


First things first - After installing postfix (which seems to work when
testing) and cyrus-sasl2, I opted for the Maildir/ config option in my
main.cf but no ~/user/Maildir/ was every created. I also installed Dovecot
IMAP and Procmail as I continued in the process thinking they might pick up
the slack. Still no generated Maildir/. When I try to check /var/spool/mail,
there are also no user folders present. Was there a step in the process I
missed? Everything was installed from a freshly cvsup'd and portsnap'd ports
tree with no compile errors to speak of.


IIRC, I believe you have to create the Maildir directory using 
/usr/local/bin/maildirmake.



--
Chess Griffin
GPG Key:  0x0C7558C3
http://www.chessgriffin.com



signature.asc
Description: OpenPGP digital signature


Re: License Question

2008-01-21 Thread David Kelly
On Mon, Jan 21, 2008 at 11:09:07PM +0300, Free BSD wrote:
 Hello, i have a question about licensing FreeBSD: i would be like
 install freebsd in corporation on workstation (don't servers). Its
 free ? Or FreeBSD free for individual using ?

http://www.freebsd.org/copyright/freebsd-license.html doesn't
distinguish between individuals, corporations, hobby use, etc.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

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


Re: License Question

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

Zbigniew Szalbot wrote:
 Hello,

 2008/1/21, Aryeh M. Friedman [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 Free BSD wrote:
 Hello, i have a question about licensing FreeBSD: i would be
 like install freebsd in corporation on workstation (don't
 servers). Its free ? Or FreeBSD free for individual using ?
 Yes

 Funny but this answer may not be helpful :) Yes meaning free for
 corporate environment or free for individuals?


The (Free)BSD license specifically allows you to use FreeBSD how ever
you see fit along you don't impede someone else's right to do the
same.   Since FreeBSD it is self is a free download you never have to
pay for it i.e. it is 100% free beer... ironically there is
nothing that prevents you from repacking and selling the repacking...
if you really want to know the good, bad and ugly of the BSD license
vs. other ones read the recent thread freebsd problems as I see them
in -current (and the continuation of the licensing sub-thread in my
private inbx if you really want to)... please note I think the BSD
license under rates the true value of the work being done but since it
is clear from the above sub-thread that I am in the minority I will
not debate it.

- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com
 
Free software != Free beer
 
Blog:

http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHlQ34Qi2hk2LEXBARApIZAJ96bGRI0HzvFtD9Ds+a6KS68SZFsQCfUflM
6/3ZriQHnJFMnmNXtQiWVis=
=6Dx+
-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: Fixing a USB disk to a specific device name

2008-01-21 Thread RW
On Mon, 21 Jan 2008 17:05:04 +
Mike Bristow [EMAIL PROTECTED] wrote:

 
 Note that you can use UFS (and other filesystems labeling) too:  for
 example. 'newfs -L bobs_disk' will cause the device containing it to
 appear as /dev/ufs/bobs_disk.

For an existing filesystem you'll need to use tunefs instead of newfs.

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


Re: Mail server questions

2008-01-21 Thread Gerard
On Mon, 21 Jan 2008 15:42:21 -0500
Zachary Welch [EMAIL PROTECTED] wrote:

 BSD newbie here, running 6.2 on a core 2 quad system I built. 
 
 I'm Trying to get a secure mail server going and running into some
 snags:
 
 First things first - After installing postfix (which seems to work
 when testing) and cyrus-sasl2, I opted for the Maildir/ config option
 in my main.cf but no ~/user/Maildir/ was every created. I also
 installed Dovecot IMAP and Procmail as I continued in the process
 thinking they might pick up the slack. Still no generated Maildir/.
 When I try to check /var/spool/mail, there are also no user folders
 present. Was there a step in the process I missed? Everything was
 installed from a freshly cvsup'd and portsnap'd ports tree with no
 compile errors to speak of.

You might be better served posting your questions regarding Postfix and
Dovecot on their respective forums. You supply no configuration
documentation and since my crystal ball is out for repairs,
assisting you is mostly guesswork. You should start off by supplying
the output of:

postconf -n
dovecot -n

I would hold off on using Procmail until you get the rest of the system
up and running. In fact, IMHO, I would hold off on using Procmail
totally.

Tip: Use Postfix as your delivery agent for starters. Once the mail is
getting delivered properly, integrate Dovecot into the mix.


-- 

Gerard
[EMAIL PROTECTED]

Winter is nature's way of saying, Up yours.

Robert Byrne



signature.asc
Description: PGP signature


Re: xorg-drivers-7.3

2008-01-21 Thread Bob Hall
On Mon, Jan 21, 2008 at 03:15:19PM -0500, Chess Griffin wrote:
 Bob Hall wrote:
 I'm trying to update xorg-drivers-7.3 on an old machine. I didn't know
 that the i810 drivers do the job of the i740 drivers, so I selected i740
 in the config screen when I ran portmanager. Unfortunately, this
 conflicts with i810, and unfortunately, this choice I made is preserved
 in some configuration data hidden somewhere. When I try to redo it, it
 picks up my previous choice instead of giving me the option of making a
 new choice. 
 
  Found saved configuration for xorg-drivers-7.3_1
 
 portupgrade and Make distclean followed by Make both give this
 message.
 
 I've tried searching, but the key words I use aren't getting me any
 information. What do I do to deselect i740, or to force portmanager to
 let me reselect my options?
 
 See section 4.5.2.3 of the Handbook.

Thank you. Very informative.

And thanks Peter Boosten for giving me the precise answer. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rsync and the mail spool?

2008-01-21 Thread Chris Maness
If I am cutting over a server, that has been created from a dump image 
of another server.  Can I just rsync the mail spool to sync the mail at 
the time of cut over?  Or will this cause problems?


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


gmirror challenge

2008-01-21 Thread Jeff Pflueger
I have a server and am using gmirror to mirror two disks.

The intent was to double my security...but my experience has been that
it has generally doubled the amount of time that the server goes down!

gm0s1 is the name of the mirror. The mirror is Freebsd's boot source.
ad4s1 is one provider
ad6s1 is another provider

problems arose after a power outage.
gmirror would work furiously at rebuilding ad4s1 to no avail and
eventually I'd get an error like GMIRROR provider gm0s1 destroyed and
the server would go down. I could reboot and do a little from within the
system before this would happen again.

So I booted FreeBSD from disk, went into FixIt mode from sysinstall,
then selected the cd/dvd option and then:
chroot /dist
mount_devfs devfs /dev
kldload geom_mirror

and then gmirror clear ad4s1
(no problem, that worked) - but, unfortunately I am unable to boot off
of ad4 when ad6 has its SATA cable unplugged - I think that the drive is
hosed/corrupted.

but, here's another problem:
gmirror clear ad6s1 gives me this error:
Can't clear metadata on ad6s1: Invalid argument. Not fully done.

So without the metadata cleared on ad6s1, I can't boot from it
and I can't boot from ad4s1 because I suspect that it is hosed...

anybody have any suggestions on how to clear the metadata of ad6s1 so I
can boot from it without it going into gmirror and being unhappy?

Thanks for any help!

Jeff

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


Re: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 03:41:16PM -0800, Jeff Pflueger wrote:
 I have a server and am using gmirror to mirror two disks.
 
 The intent was to double my security...but my experience has been that
 it has generally doubled the amount of time that the server goes down!
 
 gm0s1 is the name of the mirror. The mirror is Freebsd's boot source.
 ad4s1 is one provider
 ad6s1 is another provider
 
 problems arose after a power outage.
 gmirror would work furiously at rebuilding ad4s1 to no avail and
 eventually I'd get an error like GMIRROR provider gm0s1 destroyed and
 the server would go down. I could reboot and do a little from within the
 system before this would happen again.
 
 So I booted FreeBSD from disk, went into FixIt mode from sysinstall,
 then selected the cd/dvd option and then:
 chroot /dist
 mount_devfs devfs /dev
 kldload geom_mirror
 
 and then gmirror clear ad4s1
 (no problem, that worked) - but, unfortunately I am unable to boot off
 of ad4 when ad6 has its SATA cable unplugged - I think that the drive is
 hosed/corrupted.
 
 but, here's another problem:
 gmirror clear ad6s1 gives me this error:
 Can't clear metadata on ad6s1: Invalid argument. Not fully done.
 
 So without the metadata cleared on ad6s1, I can't boot from it
 and I can't boot from ad4s1 because I suspect that it is hosed...
 
 anybody have any suggestions on how to clear the metadata of ad6s1 so I
 can boot from it without it going into gmirror and being unhappy?
 
 Thanks for any help!
 
 Jeff

Hey Jeff,

Try:

gmirror forget ad6s1

From gmirror(8):

remove  Remove the given component(s) from the mirror and clear meta-
data on it.

and futher on:

One disk failed.  Replace it with a brand new one:

   gmirror forget data
   gmirror insert data da1


I had a drive do something similar --- the system wouldn't crash, but
a drive just refused to be rebuilt. I used `forget' and it worked like
a charm.

~Jason


 
 ___
 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: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 05:35:46PM -0800, Jeff Pflueger wrote:
 
  Hey Jeff,
 
  Try:
 
  gmirror forget ad6s1
 
  From gmirror(8):
 
  remove  Remove the given component(s) from the mirror and clear meta-
  data on it.
 
  and futher on:
 
  One disk failed.  Replace it with a brand new one:
 
 gmirror forget data
 gmirror insert data da1
 
 
  I had a drive do something similar --- the system wouldn't crash, but
  a drive just refused to be rebuilt. I used `forget' and it worked like
  a charm.
 
  ~Jason

 Thanks for that!
 turns out that if I rebuild a mirror once booted from cd via:
 gmirror label -v -b load gm0s1 /dev/ad4s1
 mount /dev/mirror/gm0s1 /mnt
 
 then I disconnected ad6 and booted from ad4. Once booted, the disk was
 very busy for a long time and now it seems to be working fine.
 
 However, ad6...
 when I have booted from CD I can't gmirror clean ad6 without getting the
 message about
 
 Can't clear metadata on ad6s1: Invalid argument. Not fully done.
 
 I suspect that something is either mechanically wrong (less likely) or 
 somehow corrupted on ad6...
 
 How can I wipe ad6 so that I can now try to insert it into the new mirror?

To completely wipe the drive? Try:

# dd if=/dev/zero of=/dev/ad6 bs=512

That will zero out the *whole* drive, nothing will be left. You will
also need to make sure you do

# gmirror forget ad6

first; otherwise, I think gmirror will expect to find metadata on the
drive. Read the man page carefully to make sure you are taking the
steps in the right order.

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


Re: compiling kernel with PAE

2008-01-21 Thread Pieter de Goeje
On Monday 21 January 2008, David Robillard wrote:
  Getting an error when trying to compile a kernel on 5.4 and 6.2 with the
  PAE option. I've tried NO_MODULES in make.conf as well...
 
  se2 -ffreestanding -Werror  /usr/src/sys/dev/advansys/advansys.c
  /usr/src/sys/dev/advansys/advansys.c: In function `adv_action':
  /usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to
  integer of different size *** Error code 1
 
  Stop in /usr/obj/usr/src/sys/WEBTENT.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
  This is a custom kernel build with the QUOTA option, I take out the PAE
  option and all makes fine. I did a src-all update with RELENG_VER tag
  prior to building. I assume this is a driver issue compatible with PAE?
 
  Also, can I run amd64 release on this Intel Xeon dual proc with 6GB RAM?
  Thinking about loading 6.3 amd64 if possible. Excuse my ignorance, I am
  not a hardware guy, I am a programmer.
 
  CPU: Intel(R) Xeon(TM) CPU 3.00GHz (3000.12-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,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0x641dSSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,b14
AMD Features=0x2010NX,LM
Note the LM feature here:^^
This means the CPU supports Long Mode, which basically means the cpu 
supports the 64bit extensions needed for FreeBSD/amd64.

Logical CPUs per core: 2

 According to http://www.freebsd.org/platforms/amd64.html the Intel
 Xeon (3000-sequence, 5000-sequence, and 7000-sequence) processors use
 the Intel(R)64 architecture.
 Therefore if your Intel Xeon is in the 3000-sequence, 5000-sequence or
 7000-sequence, then you can use FreeBSD/amd64 and use the memory above
 4Gb. IMHO it should be more simple and efficient than compiling a
 kernel with PAE support.

 HTH,

 David

- 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: Boot Loader Broken?

2008-01-21 Thread Bob Johnson
On 1/21/08, Schiz0 [EMAIL PROTECTED] wrote:
 On Jan 9, 2008 1:38 PM, Schiz0 [EMAIL PROTECTED] wrote:
[...]

 Now, I'm even in a bigger hole. My power died this weekend, and I
 guess the / partition has some errors on it, so it is being mounted
 read-only. But I'm unable to get into single user mode. I tried
 shutdown now and init 1 and they both brought me back to the
 multi-user login prompt. And there's no menu to reboot and select
 single user mode from.

What do you mean by multi-user login prompt?


 Can someone help me either solve the bootloader problem, or just how
 to get into single user mode?

When you reboot the system (e.g. press ctrl-alt-delete or issued the
shutdown -r now command), it should present a boot menu with
numbered choices. What happens if you select the one corresponding to
boot in single user mode. Or do you never get to the menu? If you
never got that menu, you are almost certainly in single-user mode.

Is there anything in /boot/loader.conf ?

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


Postfix quota per virtual domain

2008-01-21 Thread Olivier Nicole
Hello,

I am working on a Postfix email server for virtual domain. I was
requested to implement quota per domain, not per user, have you ever
seen something like that?

Best regards,

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Ian Smith
On Mon, 21 Jan 2008 17:54:44 +0100 Tijl Coosemans [EMAIL PROTECTED] wrote:
  On Monday 21 January 2008 16:13:36 Andreas Davour wrote:
   On Mon, 21 Jan 2008, Tijl Coosemans wrote:
   Throttling still made a huge difference on my systems.

On my old two-speed Thinkpad, powerd nearly halves total power drawn!

   Many different opionions here. How did you do it then?
  
  In /etc/sysctl.conf:
  debug.cpufreq.lowest=400
  
  In /etc/rc.conf:
  economy_cx_lowest=LOW
  performance_cx_lowest=LOW
  powerd_enable=YES
  powerd_flags=-i 92 -r 65 -p 200

The documentation on all of this could use a little expansion for those
unable to locate/read the code.  The BUGS section of powerd(8) states:

  If powerd is used with power_profile, they may override each other.

without saying what might be done about that.  /etc/rc.d/power_profile
is called by default (on ACPI laptops) in /etc/devd.conf like so:

  # Switch power profiles when the AC line state changes.
  notify 10 {
  match system  ACPI;
  match subsystem   ACAD;
  action /etc/rc.d/power_profile $notify;
  };

A browse of power_profile shows that using the below /etc/rc.conf
values will prevent it from messing with dev.cpu.0.freq when using
powerd (with notes from rc.conf on my Thinkpad T23 at 6.1-RELEASE):

  # 27/9/6 powerd manages cpu freq nicely, but not (yet?) CX states
  powerd_enable=YES # default flags seem ok for T23
  # disable power_profile management of cpu freq (fights w/ powerd)
  performance_cpu_freq=NONE # Online CPU frequency
  economy_cpu_freq=NONE # Offline CPU frequency

  # 24/9/6 power_profile still manages on/offline lowest CX state
  # 13/10/6 LOW value C2|C3 depends on whether booted on or offline?
  performance_cx_lowest=HIGH# Online CPU idle state
  economy_cx_lowest=LOW # Offline CPU idle state

Andreas: Tijl's value of -p 200 (ie poll online status and idle
percentage every 200ms instead of default 500ms) should help with
concerns about how fast powerd ramps up frequency when load occurs.

Copying Wojciech as well, as he seemed to be possibly? unaware of the
difference using cx_lowest values (ie which method of halting the CPU)
other than C1 can make to power consumption, and thus CPU temperature.

HTH, Ian

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


packaging a metaport

2008-01-21 Thread Dave

Hello,
   I'd like to compile and install xorg and gnome via metaports on a 
machine, making packages out of the entire process, including dependencies. 
My goal is to have a tarball that i can take to other machines, extract it 
and do a pkg_add * and have xorg and gnome installed via packages vs. 
recompiling the port. I tried a make package but that doesn't work with 
metaports, and make package-recursive doesn't happen either.

Thanks.
Dave.

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


Re: Postfix quota per virtual domain

2008-01-21 Thread Olivier Nicole
Hello,

I am working on a Postfix email server for virtual domain. I was
requested to implement quota per domain, not per user: the sum of
mailboxes of all the users in the domain must not exceed the quota set
for the domain. 

(All I could find was example where all users of the domain had a same
quota amount, fixed for the domain, but each individual mailbox counts
for its own quota.)

Have you ever seen something like that?

Best regards,

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


how to restore /usr/src

2008-01-21 Thread ivan dimitrov
Hi guys

how can i reinstall the original /usr/src tree?


thanks in advance
I.

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


ACPI Thermal Zone Error

2008-01-21 Thread Jason C. Wells
I just built a new 6.3 kernel with device acpi.  I am now getting this 
error:


acpi_tz0: _TMP value is absurd, ignored (-127.0C)

Does FreeBSD ACPI functionality override the system BIOS?  I am 
concerned about overheating my system.


How can I fix this error?  How can I silence it if it is really a no-op?

Thanks,
Jason C. Wells
___
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 restore /usr/src

2008-01-21 Thread Nerius Landys
how can i reinstall the original /usr/src

 Oh that's really easy.  Don't fret.  I delete it all the time and get it
back in the following way.

In the handbook, there's a section about synchronizing your source:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html

Use 'cvsup' or 'csup'; if your system is newer 'csup' will be part of the
system.  Find your 'standard-supfile' file (probably in
/usr/share/examples/cvsup/standard-supfile), copy it to your home directory
and modify it by changing the lines

*default host=CHANGE_THIS.FreeBSD.org (change 'CHANGE_THIS' to 'cvsup11.us'
for example)
*default release=cvs tag=CVS TAG (see below)

and then run 'csup standard-supfile' or 'cvsup standard-supfile'.

'cvsup' is in /usr/ports/net/cvsup-without-gui if you need to install it.
CVS TAGs are explained in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How do port Makefiles work

2008-01-21 Thread Nerius Landys
I'm trying to figure out how a port makefile configures, makes, makes
install from a source tarball.

The port I'm interested in in particular is /usr/ports/x11/Terminal; I have
it built and installed just fine using the ports system.  Now I'm trying to
tweak the source code, build, and install locally in a home directory, all
without using the ports system.  So, I've taken the archive
Terminal-0.2.6.tar.bz2, unpacked it, and ran './configure
--prefix=PREFIXDIR'.  Then I run 'make', and I get this error:

sylvester# make
make  all-recursive
Making all in doc
Making all in C
Making all in images
Making all in ja
Making all in images
Making all in helpers
make: don't know how to make balsa.desktop. Stop
*** Error code 1

Stop in /usr/home/nlandys/Terminal-0.2.6.
*** Error code 1

Stop in /usr/home/nlandys/Terminal-0.2.6.



But like I said earlier, the ports system was able to build and install
successfully.

So the ports build system is probably passing some arguments to 'configure',
and maybe some arguments to 'make', and maybe doing some other things and
calling other targets.  How can I figure out how the ports system is
building this package so that I can mimic it to successfully configure and
make this package manually?  Or, if that is not an elegant thing to do, how
can I correct this make problem?  In the end, I just want to build this
package manually.

Thanks
- A newb in need of help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fixing a USB disk to a specific device name

2008-01-21 Thread Rakhesh Sasidharan


Jerry McAllister wrote:


On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote:


On Monday 21 January 2008 14:05:04 Mike Bristow wrote:

On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:

On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:

It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/yourlabel


On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
kernel, so it shouldn't be necessary there.


Note that you can use UFS (and other filesystems labeling) too:  for
example. 'newfs -L bobs_disk' will cause the device containing it to appear
as /dev/ufs/bobs_disk.

This approach may be better for removable disks; it'll play better with
other OSs, for example.


I simply put

/dev/da0s1  /PenDrive   msdosfs rw,noauto   0   0

on fstab. After I plug it in, I type

mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.


Maybe I am missing something, but I don't think that is what the OP
was asking - just a mount moiunt.   I think the OP wants the
/dev/da0s1 to always be /dev/da0s1 even if he switches the drives
around in physical drive slots.



Yup, that's what I wanted. For the drive to always appear as /dev/da0 (or 
anything similar). The glabel feature (and newfs labelling feature too) 
are exactly what I was looking for.


Thanks a ton for all the replies. Much appreciated. :)

Regards,

- Rakhesh
http://rakhesh.net/
___
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 restore /usr/src

2008-01-21 Thread Rakhesh Sasidharan

Nerius Landys wrote:


how can i reinstall the original /usr/src


If you have the install CD, you can even extract the sources from 
there.


I don't recollect the exact location (am in office, don't have a CD with 
me) but its in a directory named src and has many files in it. These 
files are split archives of the original /usr/src tree. There's also a 
shell script called ''install.sh'' which can be run to combine all these 
files and extract to a specific location.


By default the extracted to location is $DESTDIR/usr/src. Since you want 
to install to /usr/src, set $DESTDIR to /.


So in effect, the following commands should extract the sources to 
/usr/src for you. (I assume you've inserted the FreeBSD and its mounted at 
some path).


# cd /path/on/cd/where/sources/are
# DESTDIR=/ ./install.sh all

Hope that helps.



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


Re: GELI key from a USB disk

2008-01-21 Thread Rakhesh Sasidharan



If you are using /etc/rc.d/geli or geli2 what about fiddling with it's REQUIRE
so that it runs later.like after all your filesystems are mounted?  This
would seem to be an ok solution provided you aren't using geli on your OS
partitions.


Yup. That seems like a possible solution. Will have a look. Thanks Josh.

Regards,

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


Need to re-generate the passwords in /etc/passwd

2008-01-21 Thread Tek Bahadur Limbu

Hi all,

Due to some security purposes, I need to re-generate all the passwords 
for my users from the file /etc/passwd.


There are about 500 users residing in /etc/passwd. I need a way to 
quickly generate new random passwords for the users using the 
/etc/passwd to a text file.


The text file after sorting will be used to distribute the new passwords 
to the users.


Thanking you...




--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

System Administrator

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np

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


Re: Need to re-generate the passwords in /etc/passwd

2008-01-21 Thread Olivier Nicole
 Due to some security purposes, I need to re-generate all the passwords 
 for my users from the file /etc/passwd.

I use the following script to generate passwords:

   http://www.cs.ait.ac.th/cgi-bin/phi-soft/gen-multipasswd

I could send it to you as Perl script, so you could generate 500
passwords in one run, or you call the web page enough number of times.

The password is generated as a psuedo Markov chain on probability
based on some pieces of English text (FreeBSD man pages). It adds at
least 2 numbers, one non alpha-numerical sign and turns some letters
into uppercase.

At first the passwords were very English like words, now it is more
confusing.

non-alpha-numerical characters are choosen to avoid conflicts with the
softwares I am using it: samba, FreeBSD login, MySQL...

Best regards,

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


Re: Need to re-generate the passwords in /etc/passwd

2008-01-21 Thread Tek Bahadur Limbu

Hi Oliver,

Olivier Nicole wrote:
Due to some security purposes, I need to re-generate all the passwords 
for my users from the file /etc/passwd.


I use the following script to generate passwords:

   http://www.cs.ait.ac.th/cgi-bin/phi-soft/gen-multipasswd


How do I use the above script for my machine which I access remotely by SSH.




I could send it to you as Perl script, so you could generate 500
passwords in one run, or you call the web page enough number of times.


That will be great! So I just run the script against /etc/passwd and 
presto, all the users in that file will be generated new passwords.


I will need a way to pass the newly generated passwords to individuals 
users.





The password is generated as a psuedo Markov chain on probability
based on some pieces of English text (FreeBSD man pages). It adds at
least 2 numbers, one non alpha-numerical sign and turns some letters
into uppercase.

At first the passwords were very English like words, now it is more
confusing.

non-alpha-numerical characters are choosen to avoid conflicts with the
softwares I am using it: samba, FreeBSD login, MySQL...


Sounds great!

Thanks alot




Best regards,

Olivier







--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

System Administrator

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np

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


Re: Need to re-generate the passwords in /etc/passwd

2008-01-21 Thread Olivier Nicole
  Due to some security purposes, I need to re-generate all the passwords 
  for my users from the file /etc/passwd.
 
 I use the following script to generate passwords:
 
http://www.cs.ait.ac.th/cgi-bin/phi-soft/gen-multipasswd

Or use:

 http://www.cs.ait.ac.th/cgi-bin/phi-soft/gen-multipasswd2 

that will give you 500 passwords.

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


Re: Throttle the CPU when the system is idle

2008-01-21 Thread Christian Walther
On 21/01/2008, Erich Dollansky [EMAIL PROTECTED] wrote:
 Hi,

 Andreas Davour wrote:
  On Mon, 21 Jan 2008, Wojciech Puchar wrote:
 
 
  I have toyed a bit with the dev.cpu.0.freq sysctl setting, and tried
  to lower it automatically when the system load goes down. For some
  reason it don't seem to work, even though the script works for simple
  debug output.
 
  Anyone have tried to do something similar?
 
  no but anyway - freebsd halts CPU when unused, even at full frequency
  it uses very little power wne unused.
 
  Really? Good to know. I was wondering if I could make this laptop of
  mine a bit cooler, but then I guess not.

 I also believe that the CPU is actually halted when idle but using
 powerd brings the temperatures on my machine still down. As powerd can
 be adjusted in which interval it adjusts the CPU frequency, short tasks
 run actually at the minimum frequency if the CPU was idle.
[...]
Roughly speaking the CPU is halted, but the duration of this sleep
state depends on the speed the CPU is working at. Since the CPU has to
wake up regularly to see if there are things to be done it does so
more often at 2000MHz than at 200MHz, for example. Of course the sleep
time is longer at 200MHz, which makes a system to appear sluggish. But
on the other hand power savings are at max.

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


Re: packaging a metaport

2008-01-21 Thread Frank Shute
On Mon, Jan 21, 2008 at 11:14:06PM -0500, Dave wrote:

 Hello,
  I'd like to compile and install xorg and gnome via metaports on a
  machine, making packages out of the entire process, including
  dependencies.  My goal is to have a tarball that i can take to
  other machines, extract it and do a pkg_add * and have xorg and
  gnome installed via packages vs.  recompiling the port. I tried a
  make package but that doesn't work with metaports, and make
  package-recursive doesn't happen either. 
  Thanks.
  Dave.

You could have a go with portupgrade using the p and r options. I
don't think it will work with the metaports but you could do something
like:

# portupgrade -Nvpr xf86-video-nv-2.1.6

A word of warning though:

$ pkg_info -r xf86-video-nv-2.1.6 | wc -l
  90

and gnome:

$ pkg_info -r gnome-icon-theme-2.20.0_1 | wc -l
  95

You could again use portupgrade with the PP option to install your
packages on the target machine.

The way I'd do it, is use portupgrade with the PP and r options to do
the original install and then just copy over the downloaded packages
to the target machines. It would save on compilation time.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: Need to re-generate the passwords in /etc/passwd

2008-01-21 Thread Olivier Nicole
 How do I use the above script for my machine which I access remotely by SSH.

Yuck. I could email you a list of 1000 random strings?

  I could send it to you as Perl script, so you could generate 500
  passwords in one run, or you call the web page enough number of times.
 
 That will be great! So I just run the script against /etc/passwd and 
 presto, all the users in that file will be generated new passwords.
 
 I will need a way to pass the newly generated passwords to individuals 
 users.

No, the script only generates random strings, you would have to apply
these strings to the accounts.

The idea would be to make a file with a list of user name and new
password, then use this file to feed to a script that force the new
password.

You have to keep that file in clear text, there is no way you can
retreive the new opassword after you have applied it to a user
account.


Bests,

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


Re: packaging a metaport

2008-01-21 Thread Philip M. Gollucci

Dave wrote:

Hello,
I'd like to compile and install xorg and gnome via metaports on a
machine, making packages out of the entire process, including dependencies.
My goal is to have a tarball that i can take to other machines, extract it
and do a pkg_add * and have xorg and gnome installed via packages vs.
recompiling the port. I tried a make package but that doesn't work with
metaports, and make package-recursive doesn't happen either.
Thanks.
Dave.


$ id ftp
uid=14(ftp) gid=14(ftp) groups=14(ftp)

In /etc/inetd.conf
ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -4 
-A -l -l -r M -s


In /etc/rc.conf
inetd_flags=-wW -l -R 1024 -C 60
inetd_enable=YES

$ sudo /etc/rc.d/inetd restart

In /etc/make.conf
DISTDIR=/home/ftp/pub/FreeBSD/ports/distfiles
PACKAGES=/home/ftp/pub/FreeBSD/ports/amd64/packages-7-current

(change the arch and os version to match yours)

$ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/distfiles
$ sudo mkdir -p /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current

$ cd /usr/ports/x11/xorg
$ make all install package-recursive

$ cd /usr/ports/x11-wm/gnome
$ make all install package-recursive

$ ls /home/ftp/pub/FreeBSD/ports/amd64/packages-7-current/Latest/

NOW, or REMOTE machines


$ export 
PACKAGESITE=ftp://ftp.tld/pub/FreeBSD/ports/amd64/packages-7-current/Latest/


$ sudo pkg_add -r xorg
$ sudo pkg_add -r gnome

You can probably just do this for gnome and dependencies will work, but
I've never used gnome, so I can't say.

I don't have the link handy, you can google for the above information.


--

Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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