Re: nfe0 startup

2010-05-01 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/05/2010 01:15:13, Robert Jenssen wrote:

 Many thanks to those who responded to my question. It seems that
 waiting for the network to start up is a common problem. Recently
 Jeremy Chadwick proprosed adding a /usr/local/etc/rc.d/waitnetwork
 script. In response others have suggested the more radical step of
 replacing /etc/rc.d with launchd. See Message-ID
 20100418213727.ga98...@icarus.home.lan etc. I will await
 developments.

launchd(8) is a very interesting proposition, but it replaces a lot more
than just the RC framework.  It also covers cron(8), devd(8), inetd(8),
init(8)/getty(8).  Unlike RC scripts, launchd does /not/ expect the
programs it manages to daemonise.  In that respect, it's a lot more like
daemontools or the sysV-ish inittab.  While this has advantages (eg. in
being able to restart crashed daemons promptly), it's a very different
way of doing things, and there would have to be concomitant changes all
over /usr/src.  Not forgetting all of the available ported software.

By my estimation, if FreeBSD were to commit to using launchd(8), the
work required would absorb the majority of the available developer time
running up to a major release.  ie. if the decision was taken to go
ahead, as soon as 9.0-RELEASE was branched, work on launchd in
10-CURRENT would have to start immediately, and take priority over many
other development efforts in order to have the following 10.0-RELEASE
up to the quality expected from the FreeBSD project.

I don't think that's going to happen.  I can see a launchd-esque system
being introduced, but it would have to be radically rewritten compared
to what MacOS X uses, offer compatibility shims for all of the systems
it was intended to supplant, and it would take many years of gradual
developent and change to get it to the desired state.

In other words, keep up your RC script-writing skills for the
foreseeable future.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvb6IYACgkQ8Mjk52CukIy8KwCglf3zwHd0G28UOUgHcUi0lSz4
eGgAni89VMuk6zknVBJRDcqzfPzHbkfB
=7+ik
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread Gary Kline
yo; it's late here [even i've wimped out:: no-ooo-ooo!]
so i'll reply come morning.  ('sall ready 'tomorrow':)

-g


On Sat, May 01, 2010 at 05:20:55AM +0200, Polytropon wrote:
 On Fri, 30 Apr 2010 20:03:50 -0700, Gary Kline kl...@thought.org wrote:
  On Sat, May 01, 2010 at 04:19:13AM +0200, Polytropon wrote:
   On Fri, 30 Apr 2010 18:57:08 -0700, Gary Kline kl...@thought.org wrote:
i've never been anything near the extreme-green movement.  i
figured that newer computers/cpus/etc would be more efficient
than what came before. 
   
   Oh, you mean that a modern desktop PC consumes as much power
   as my old AS/400e with 10 hard disk drives - as loud a a common
   PC, 2 times as big and 4 times as heavy? :-)
   
  
  Yeah, gee-whiz :)
 
 Incorrect values: 4 times as big and 8 times as heavy - but
 the same power consumption. :-)
 
 
 
  i've thought about this for at Least ten years why not
  have 4 CRT's or xterminals hanging off one very beefy
  machine?  but do they have anything with graphics and
  keyboard + mouse that can work via one USB port/jack? 
 
 Don't confuse my use of network terminal with classic serial
 terminals. Look, for example, at the devices AXEL builds, or
 already present for many years: Sun Ray terminals. They also
 have audio I/O, card reader, and USB connectors (where the
 keyboard and mouse usually are connected). A regular monitor
 (maybe with speakers) makes it a full-featured workstation.
 But no data users can mess around with, and its power requirements
 are really low.
 
 Our university's library had many of them, and I liked them
 because they were completely silent (in difference to the
 boring beige PC boxes they scattered around the library).
 
 You can find specs of an AXEL terminal as exemple here:
 
   http://www.axel.com/usa2/prod_ax3.html?mv2_pos=1
 
 They're calling it thin client, but it's terminal. A box
 where you plug in a screen and a keyboard and connect it
 to a network IS a terminal. :-)
 
 
 
  i'm
  sure my wasted cycles could be put to very good use. 
 
 Today's average users are treating their high-end HPC PCs
 as worse typewriters, so there are enough cycles to use. :-)
 
 
 
  but it 
  would mean haning off a second display/kybd/mouse.  
 
 Which is no problem using network terminals, everything you need
 is a LAN (or maybe even WLAN) connection.
 
 Still, multiple GPUs is possible, but results in a major raise
 of power consumption (because you have to use a modern GPU).
 Multiple input devices is no problem via USB.
 
 
 
  the ARM/A-9 chip looks great.  its a RISC chip that is super
  efficient.  gang four A9's in one package:: low power and at
  least 2GHZ   the only drawback is that the a9 is only
  32bits.  So we cannot try to calcale the 7th root of
  infinity, :-) 
 
 ARM is an efficient platform in terms of energy, and I think
 it will be more and more important in the future, especially
 if you consider the mobile devices market. And when it's good
 at running on battery, it's good on running on AC power. When
 the industry comes up with extra new energy efficient PC
 hardware, we already know that it existed for years. :-)
 
 
 
  i mean, come-on-people, get real.  4G of ram
  ought to be Plenty!!  
 
 Hey, 640 kB should be enough for everyone. :-)
 
 
 
  i'm trying to// or i'm =thinking about= getting rid of my
  pfSense machine.  i used ifp for *yesrs* with no breakins.
  So NOBODY got into my poetry!!
 
 That's what they want to make you believe. :-)
 
 
 
  according to my /var/log/foo.log files, the only crackins
  were from kiddie-scripters.  i squashed them.   
 
 By using means of blocking for known script-kiddie sources, you
 can get rid of a lot of useless traffic - and possible trouble.
 
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Solved - Atheros AR9285 on FreeBSD-8 [WAS: Re: Wireless networking question]

2010-05-01 Thread S Roberts
Hello Chip,

On Fri, 30 Apr 2010 18:03:21 -0700
Chip Camden sterl...@camdensoftware.com wrote:

 On Apr 30 2010 13:39, S Roberts wrote:
  Hello Chip,
Good to hear from you..,
  
  On Thu, 29 Apr 2010 15:52:13 -0700
  Chip Camden sterl...@camdensoftware.com wrote:
  
   On Apr 26 2010 22:00, Carl Chave wrote:
 More info:  I found the following in the output of pciconf
 -vl:


 no...@pci0:2:0:0:       class=0x028000 card=0x10891a3b
 chip=0x002b168c rev=0x01 hdr=0x00 vendor     = 'Atheros
 Communications Inc.' class      = network

From here:
http://www.pcidatabase.com/vendor_details.php?id=174

   
   It looks like someone has already patched 8.0-STABLE:
   
   http://forums.freebsd.org/showthread.php?t=6310highlight=Atheros+AR9285
   
   The link to the .diff file 404's now, though.  How can I get a
   copy?
   
   Or maybe I should just upgrade to STABLE?
   
  
  Well.., personally, I'd ping the patch author to confirm, but Yes,
  bumping to next STABLE would be the preferred option myself..,
  
  Regards,
  
  S Roberts
 
 Just for closure:  upgrading to 8.0-STABLE went smoothly, and the
 wireless device works!
 

Excellent - good to hear you got it all working.

For posterity, I've updated the Subject Line so that others may benefit
from this..,

Regards,

S Roberts

 Thanks for the help.
 

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


Re: ziz a dumb question?

2010-05-01 Thread Chris Whitehouse

Polytropon wrote:

On Fri, 30 Apr 2010 20:03:50 -0700, Gary Kline kl...@thought.org wrote:

On Sat, May 01, 2010 at 04:19:13AM +0200, Polytropon wrote:

On Fri, 30 Apr 2010 18:57:08 -0700, Gary Kline kl...@thought.org wrote:

i've never been anything near the extreme-green movement.  i
figured that newer computers/cpus/etc would be more efficient
than what came before. 

Oh, you mean that a modern desktop PC consumes as much power
as my old AS/400e with 10 hard disk drives - as loud a a common
PC, 2 times as big and 4 times as heavy? :-)


Yeah, gee-whiz :)


Incorrect values: 4 times as big and 8 times as heavy - but
the same power consumption. :-)


Seriously? Or joking? How did you measure it? My 2 year old desktop uses 
60-100 watts depending on how hard it's working. 10 disks and lots of 
noise must use a few watts, though size and weight wouldn't have that 
much influence per se :)


Chris

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


USB mount delay

2010-05-01 Thread Anselm Strauss
Hi,

I have the problem that on my ALIX system USB is first powered up when
the FreeBSD kernel is loading. When local filesystems are mounted the
USB disk is not yet ready and booting fails giving me a shell prompt.
Shortly after I see the kernel message for the recognized /dev/da0 USB
disk, mount it manually and booting can continue. Unfortunately I have
to do this manual step every time I boot. The root filesystem is not
mounted from USB. The USB disk has non-system relevant data.

Is there any way to either tell the kernel to wait some time before
mounting local filesystems from USB disks, or to mount filesystems later
during boot?

I already tried the following sysctl variables in /boot/loader.conf with
values of 3000-5000 ms, they did not help:

kern.cam.scsi_delay: Delay to allow devices to settle after a SCSI bus
reset (ms)
hw.usb.ss_delay: USB status stage delay in ms
hw.usb.pr_recovery_delay: USB port reset recovery delay in ms

hw.usb.no_boot_wait is set to 0.


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


Re: ziz a dumb question?

2010-05-01 Thread Polytropon
On Sat, 01 May 2010 11:59:52 +0100, Chris Whitehouse cwhi...@onetel.com wrote:
 Seriously? Or joking? How did you measure it?

Well... erm... in fact... I didn't measure anything, I just
utilized the numbers. :-) Modern PCs come with a 700 W power
supply (and more), and the specs for my AS/400e 9406-170 say
654 W with expansion unit (326 W without), measured kVA values
(according to manual) are similar. Weight is 70.5 kg, and
size is two big towers side by side.



 My 2 year old desktop uses 
 60-100 watts depending on how hard it's working.

Sounds like a notebook / laptop class computer.



 10 disks and lots of 
 noise must use a few watts, though size and weight wouldn't have that 
 much influence per se :)

But it's more than 10 years old, too old to seriously
measure something! :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread Erik Trulsson
On Sat, May 01, 2010 at 03:55:43PM +0200, Polytropon wrote:
 On Sat, 01 May 2010 11:59:52 +0100, Chris Whitehouse cwhi...@onetel.com 
 wrote:
  Seriously? Or joking? How did you measure it?
 
 Well... erm... in fact... I didn't measure anything, I just
 utilized the numbers. :-) Modern PCs come with a 700 W power
 supply (and more)

Some modern PCs come with such hefty power supplies.  Most come with
far more modest power supplies.
A typical modern PC (not one equipped with the absolutely fastest CPU
and graphics card, but rather one intended for office use) normally
draw less than 200W under load.

If you take a modern PC optimized for low power consumption (such as a
laptop) it will draw less than 50W under load.  (For really low-power
computers it will be less than 30W.)


, and the specs for my AS/400e 9406-170 say
 654 W with expansion unit (326 W without), measured kVA values
 (according to manual) are similar. Weight is 70.5 kg, and
 size is two big towers side by side.
 
 
 
  My 2 year old desktop uses 
  60-100 watts depending on how hard it's working.
 
 Sounds like a notebook / laptop class computer.
 
 
 
  10 disks and lots of 
  noise must use a few watts, though size and weight wouldn't have that 
  much influence per se :)
 
 But it's more than 10 years old, too old to seriously
 measure something! :-)
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread David Rawling

On 1/05/2010 11:55 PM, Polytropon wrote:

On Sat, 01 May 2010 11:59:52 +0100, Chris Whitehousecwhi...@onetel.com  wrote:
   

Seriously? Or joking? How did you measure it?
 

Well... erm... in fact... I didn't measure anything, I just
utilized the numbers. :-) Modern PCs come with a 700 W power
supply (and more), and the specs for my AS/400e 9406-170 say
654 W with expansion unit (326 W without), measured kVA values
(according to manual) are similar. Weight is 70.5 kg, and
size is two big towers side by side.
   
You seem to be assuming that a desktop PC draws 100% of its rated 
current all the time, which I'm happy to say is not the case. Unlike the 
AS400, where the PSU is sized specifically for the system, a PC power 
supply is sized for a specific output. Vendors and assemblers are free 
to choose whatever PSU they wish. Also, CPUs and GPUs now lower their 
core voltage and clock speed if the extra performance is not required. 
The 45W (or 65W, 73W, 90W, 125W) quoted by CPU vendors is the amount of 
power they are reasonably expected to draw under heavy load, not the 
idle or average draw.

My 2 year old desktop uses
60-100 watts depending on how hard it's working.
 

Sounds like a notebook / laptop class computer.
   

I can assure you it is not. I can show the following examples:

Core 2 Duo E7400 (about 3GHz), single 7200rpm disk, embedded graphics 
and network - 44W to 60W depending on what's happening at the time. 
Adding a discrete GPU (I don't recall the model, but knowing me it's 
probably a low-end ATI 3000 series) adds 10-30W, again depending on load.


Another Core 2 system, an E5200 I think, with 2 x 7200rpm notebook 
disks, 4GB, embedded graphics and network is also measured at around 45W.


I have an overclocked E6300 (running at 2.66GHz, so a 25% overclock), 
3GB of RAM, 2 x 7200rpm desktop drives, and a GeForce 7600 that pulls 
140W. Note that overclocking generally disables power saving features 
and increases power use (linear with clock, square with voltage).


Servers tend to be worse - I have a matched pair of Acer servers with 
single 3GHz P4 class Xeons, 2GB of RAM, 3 x 7200rpm disks and dual NICs. 
Those systems pull 220W and they're the next ones I'm ditching for 
something that uses less power!


All the numbers above are measurements before the PSU input (using the 
Australian version of the Kill-A-Watt) so include the losses due to 
the PSU itself.


To go back to Gary's question, however, I would suggest that the new 
Core i3 series of processors, along with a new board, will use 
substantially less power than is marked on the PSU, especially if he is 
not continually encoding video, rendering animation or designing the 
next Sydney Harbour Bridge (replace with your own national monument if 
desired). I use this in my HTPC, and it's quite capable of supporting 
two XBox media extenders and encoding 576p video in close enough to real 
time, all simultaneously; while doing so it's probably using less than 
110W of electricity.


Dave.

--
David Rawling
Principal Consultant

PD Consulting And Security
Mob: +61 412 135 513
Email: d...@pdconsec.net

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


Firefox3 - can't deinstall

2010-05-01 Thread John Pollock
Hi,

Am running FreeBSD 8.0 p2, and had installed Firefox3.
Since it keeps crashing when viewing some web pages, I wanted to
deinstall it.

When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
message that port is not installed.

Which brings up a question, when installing using ports I normally run
make install clean.

Does this prevent then at later date make deinstall?

I was hoping to use the package version of firefox3 to see if it worked
any better.. any suggestions tips would be most appreciative.

JP

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


Re: Firefox3 - can't deinstall

2010-05-01 Thread Bruce Cran
On Saturday 01 May 2010 19:14:28 John Pollock wrote:

 When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
 message that port is not installed.

You should use pkg_delete instead: running make deinstall could fail if the 
port has been updated since installing it.

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


Re: Firefox3 - can't deinstall

2010-05-01 Thread John Pollock
On Sat, 2010-05-01 at 19:15 +0100, Bruce Cran wrote:
 On Saturday 01 May 2010 19:14:28 John Pollock wrote:
 
  When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
  message that port is not installed.
 
 You should use pkg_delete instead: running make deinstall could fail if the 
 port has been updated since installing it.
 

Thank you,

pkg_delete firefox\*

The above command worked great, wasn't sure the version number installed
but the wildcard worked great, now am utilizing: pkg_add -r firefox3 to
get the latest package of firefox3.

Many thanks,

JP



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


Re: Firefox3 - can't deinstall

2010-05-01 Thread Beat Gaetzi
John Pollock wrote:
 On Sat, 2010-05-01 at 19:15 +0100, Bruce Cran wrote:
 On Saturday 01 May 2010 19:14:28 John Pollock wrote:

 When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
 message that port is not installed.
 You should use pkg_delete instead: running make deinstall could fail if 
 the 
 port has been updated since installing it.

 
 Thank you,
 
 pkg_delete firefox\*
 
 The above command worked great, wasn't sure the version number installed
 but the wildcard worked great, now am utilizing: pkg_add -r firefox3 to
 get the latest package of firefox3.

Please consider using www/firefox or www/firefox35 instead of firefox3
as Firefox 3.0 is deprecated and will be removed from ports tree soon.

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


Re: freebsd-questions Digest, Vol 308, Issue 10

2010-05-01 Thread Winston Weinert



Yes probably, but for now I can play urban terror as well. Which
features are missing ?

--
Demelier David
 


What would be awesome is Enemy Territory Quake Wars using the linux 
compat! The issue is it requires emulation of a later kernel.


I also play Urban Terror. Join up on fsk405 Superman!

--
Winston Weinert

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


Re: More than 8 partitions

2010-05-01 Thread Christopher Key
Jon Theil Nielsen wrote:
 Hi

 I'm running 8.0-Release on an external usb hard drive. and have dual-boot
 with FreeBSD on da0s2 and Windows XP on da0s1. I made a setup via Sysinstall
 with 7 partitions:

 /dev/da0s2a on / (ufs, local)
 /dev/da0s2b (swap)
 /dev/da0s2d on /var (ufs, local, soft-updates)
 /dev/da0s2e on /tmp (ufs, local, soft-updates)
 /dev/da0s2f on /usr (ufs, local, soft-updates)
 /dev/da0s2h on /var/log (ufs, local, soft-updates)
 /dev/da0s2g on /home (ufs, local, soft-updates)

 I have about 660 GB left unused on da0s2 that I would like to use for
 backups. But I can't figure out how to create one more partition.
 If i create a file for bsdlabel like

 #   sizeoffset  fstype
 i:  *   0   4.2BSD

 I get the following error message: line 2: partition name out of range a-h:
 i
 I have also tried with gpart:

 gpart add -s 500G -t freebsd -f x da0s2

 I get something like gpart: index '9': No space left on device

 I thought that 8.0 should support more than 8 partitions. Maybe it does, but
 then I don't know how to do.
 Any ideas?

   
I believe that FreeBSD does support more than 8 partitions on a disk
(apparently up to 20 using gpart), but that you need sufficient entries
for these partitions to be created in the disklabel, viz.

gpart create -n 20 ...

Some testing seems to indicate that you can manually override this by
changing by byte 0x28a of the disk from 0x08 to 0x14, and that bsdlabel
/ gpart will then allow you to create further partitions on the disk.



Kind regards,

Christopher Key

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


Re: Firefox3 - can't deinstall

2010-05-01 Thread John Pollock
On Sat, 2010-05-01 at 20:36 +0200, Beat Gaetzi wrote:
 John Pollock wrote:
  On Sat, 2010-05-01 at 19:15 +0100, Bruce Cran wrote:
  On Saturday 01 May 2010 19:14:28 John Pollock wrote:
 
  When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
  message that port is not installed.
  You should use pkg_delete instead: running make deinstall could fail if 
  the 
  port has been updated since installing it.
 
  
  Thank you,
  
  pkg_delete firefox\*
  
  The above command worked great, wasn't sure the version number installed
  but the wildcard worked great, now am utilizing: pkg_add -r firefox3 to
  get the latest package of firefox3.
 
 Please consider using www/firefox or www/firefox35 instead of firefox3
 as Firefox 3.0 is deprecated and will be removed from ports tree soon.
 
 Beat

Good suggestion. Adding firefox35.
;-)

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


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


Re: I am new to BSD

2010-05-01 Thread Chad Perrin
On Fri, Apr 30, 2010 at 10:34:52AM +, o...@aloha.com wrote:
 
 cd /usr/ports/net/asterisk
 make
 (get a snack)
 make install
 make clean

Once you're in the appropriate directory, all the make commands can be
kicked off at once:

make install clean


 
 I prefer to use portinstall and portupgrade. 

So do I, generally, but knowing how to use make directly to install ports
is still a good skill to have, so it's good you brought it up.


 
 Be sure to use portsnap to freshen up your ports tree and when you add a
 new port to an existing system do a portupgrade -a first so what you
 already have is up to date.
 
 Be sure to read /usr/ports/UPDATING before you update anything.

The importance of this cannot very easily be overstated.  It's better to
deal with any special handling the upgrading of specific ports need in
advance than to have things break and need to go back and fix them
afterward.  The /usr/ports/UPDATING file gives the guidance we need to
ensure that things get handled right the first time.

In fact, I basically never use portupgrade -a, because I want to make
sure I don't overlook something.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpGjA1O0WAkv.pgp
Description: PGP signature


Re: Firefox3 - can't deinstall

2010-05-01 Thread Warren Block

On Sat, 1 May 2010, John Pollock wrote:


Am running FreeBSD 8.0 p2, and had installed Firefox3.
Since it keeps crashing when viewing some web pages, I wanted to
deinstall it.

When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
message that port is not installed.


What message, exactly?  The Firefox ports have moved around, and you may 
be trying to uninstall one that isn't actually installed.



Which brings up a question, when installing using ports I normally run
make install clean.

Does this prevent then at later date make deinstall?


No.

-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 freebsd-questions-unsubscr...@freebsd.org


Re: More than 8 partitions

2010-05-01 Thread Da Rock
On Fri, 2010-04-30 at 19:44 +0200, Jon Theil Nielsen wrote:
 Hi
 
 I'm running 8.0-Release on an external usb hard drive. and have dual-boot
 with FreeBSD on da0s2 and Windows XP on da0s1. I made a setup via Sysinstall
 with 7 partitions:
 
 /dev/da0s2a on / (ufs, local)
 /dev/da0s2b (swap)
 /dev/da0s2d on /var (ufs, local, soft-updates)
 /dev/da0s2e on /tmp (ufs, local, soft-updates)
 /dev/da0s2f on /usr (ufs, local, soft-updates)
 /dev/da0s2h on /var/log (ufs, local, soft-updates)
 /dev/da0s2g on /home (ufs, local, soft-updates)
 
 I have about 660 GB left unused on da0s2 that I would like to use for
 backups. But I can't figure out how to create one more partition.
 If i create a file for bsdlabel like
 
 #   sizeoffset  fstype
 i:  *   0   4.2BSD
 
 I get the following error message: line 2: partition name out of range a-h:
 i
 I have also tried with gpart:
 
 gpart add -s 500G -t freebsd -f x da0s2
 
 I get something like gpart: index '9': No space left on device
 
 I thought that 8.0 should support more than 8 partitions. Maybe it does, but
 then I don't know how to do.
 Any ideas?

Use vinum - thats what I needed to do. Mind I had around 15 partitions
to work out so it is effective...

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


Re: Firefox3 - can't deinstall

2010-05-01 Thread Warren Block

On Sat, 1 May 2010, Bruce Cran wrote:


On Saturday 01 May 2010 19:14:28 John Pollock wrote:


When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
message that port is not installed.


You should use pkg_delete instead: running make deinstall could fail if the
port has been updated since installing it.


Aren't pkg_delete -f and make deinstall the same thing, or effectively 
the same thing?


Also, the last part of that doesn't make sense to me.  There are error 
messages on make deinstall if the files have changed since the original 
install, but it shouldn't prevent the deinstall.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread Lowell Gilbert
Polytropon free...@edvax.de writes:

 On Sat, 01 May 2010 11:59:52 +0100, Chris Whitehouse cwhi...@onetel.com 
 wrote:
 Seriously? Or joking? How did you measure it?

 Well... erm... in fact... I didn't measure anything, I just
 utilized the numbers. :-) Modern PCs come with a 700 W power
 supply (and more), and the specs for my AS/400e 9406-170 say
 654 W with expansion unit (326 W without), measured kVA values
 (according to manual) are similar. Weight is 70.5 kg, and
 size is two big towers side by side.

Knowing the capacity of the power supply (in this case, 700 watts)
doesn't tell you any more about how much power it's using right now 
than knowing my car's top speed would tell you anything about how 
long it takes me to drive to work.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread Chad Perrin
On Sun, May 02, 2010 at 03:58:36AM +1000, David Rawling wrote:
 
 Servers tend to be worse - I have a matched pair of Acer servers with 
 single 3GHz P4 class Xeons, 2GB of RAM, 3 x 7200rpm disks and dual NICs. 
 Those systems pull 220W and they're the next ones I'm ditching for 
 something that uses less power!

. . . and they still draw significantly less power than an LCD television
plus DVR, even if you add in the power draw of an LCD monitor.

If you're really concerned about power consumption, make sure that you
look for the bottleneck, just as you would when trying to get better
performance out of your computer or your network.  Even if your computer
is drawing a whole lot of power, you might be better off replacing your
television and DVR unit with a computer than replacing the computer with
another computer that draws less power.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpKJqK5gsPcO.pgp
Description: PGP signature


Re: Firefox3 - can't deinstall

2010-05-01 Thread John Pollock
On Sat, 2010-05-01 at 13:13 -0600, Warren Block wrote:
 On Sat, 1 May 2010, John Pollock wrote:
 
  Am running FreeBSD 8.0 p2, and had installed Firefox3.
  Since it keeps crashing when viewing some web pages, I wanted to
  deinstall it.
 
  When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
  message that port is not installed.
 
 What message, exactly?  The Firefox ports have moved around, and you may 
 be trying to uninstall one that isn't actually installed.
 
  Which brings up a question, when installing using ports I normally run
  make install clean.
 
  Does this prevent then at later date make deinstall?
 
 No.
 
 -Warren Block * Rapid City, South Dakota USA

Hi Warren,

Although, I've closed the console that had the message. It basically
stated: Can't make deinstall, firefox3 not installed. -- something to
that effect.

However, the pkg_delete command was able to deinstall it.

Thank you, for the information about make clean part of the command.

I think the problem, was that I had installed FreeBSD 8.0 RELEASE, then
added the firefox3 port, then about a few weeks later upgraded to p2
version and ran portupgrade.

All is good right now. Have firefox35 now installed and working.

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


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


Re: ziz a dumb question?

2010-05-01 Thread Gary Kline
On Sat, May 01, 2010 at 05:20:55AM +0200, Polytropon wrote:
 On Fri, 30 Apr 2010 20:03:50 -0700, Gary Kline kl...@thought.org wrote:
  On Sat, May 01, 2010 at 04:19:13AM +0200, Polytropon wrote:
   On Fri, 30 Apr 2010 18:57:08 -0700, Gary Kline kl...@thought.org wrote:
i've never been anything near the extreme-green movement.  i
figured that newer computers/cpus/etc would be more efficient
than what came before. 
   
   Oh, you mean that a modern desktop PC consumes as much power
   as my old AS/400e with 10 hard disk drives - as loud a a common
   PC, 2 times as big and 4 times as heavy? :-)
   
  
  Yeah, gee-whiz :)
 
 Incorrect values: 4 times as big and 8 times as heavy - but
 the same power consumption. :-)
 
 
 
  i've thought about this for at Least ten years why not
  have 4 CRT's or xterminals hanging off one very beefy
  machine?  but do they have anything with graphics and
  keyboard + mouse that can work via one USB port/jack? 
 
 Don't confuse my use of network terminal with classic serial
 terminals. Look, for example, at the devices AXEL builds, or
 already present for many years: Sun Ray terminals. They also
 have audio I/O, card reader, and USB connectors (where the
 keyboard and mouse usually are connected). A regular monitor
 (maybe with speakers) makes it a full-featured workstation.
 But no data users can mess around with, and its power requirements
 are really low.
 
 Our university's library had many of them, and I liked them
 because they were completely silent (in difference to the
 boring beige PC boxes they scattered around the library).
 
 You can find specs of an AXEL terminal as exemple here:
 
   http://www.axel.com/usa2/prod_ax3.html?mv2_pos=1
 
 They're calling it thin client, but it's terminal. A box
 where you plug in a screen and a keyboard and connect it
 to a network IS a terminal. :-)
 

i'll check it out when i'm using evo or kmail.  i'm using my
olden mutt rt now.  with me, one issue is that i just bought
a 20 widescreen that i use [via KVA] for most of my
computers.  o/wise, i like the idea.  sure save on power;
maybe even help save the Earth, altho it may be too late.

 
 
  i'm
  sure my wasted cycles could be put to very good use. 
 
 Today's average users are treating their high-end HPC PCs
 as worse typewriters, so there are enough cycles to use. :-)
 

yeah, you can put that in a do-loop ...   i do more
reading/research theses days, so not even a fancy
typewriter!!

 
 
  but it 
  would mean haning off a second display/kybd/mouse.  
 
 Which is no problem using network terminals, everything you need
 is a LAN (or maybe even WLAN) connection.


i do have a [TINY] LAN.  i use ssh mostly, but kvm too.

 
 Still, multiple GPUs is possible, but results in a major raise
 of power consumption (because you have to use a modern GPU).
 Multiple input devices is no problem via USB.
 
 
 
  the ARM/A-9 chip looks great.  its a RISC chip that is super
  efficient.  gang four A9's in one package:: low power and at
  least 2GHZ   the only drawback is that the a9 is only
  32bits.  So we cannot try to calcale the 7th root of
  infinity, :-) 
 
 ARM is an efficient platform in terms of energy, and I think
 it will be more and more important in the future, especially
 if you consider the mobile devices market. And when it's good
 at running on battery, it's good on running on AC power. When
 the industry comes up with extra new energy efficient PC
 hardware, we already know that it existed for years. :-)
 


at the linux meeting last month someone mentioned that the
ARM chip might be a good place for the linux/free-OS types to
do major work.  the parts for the A9 are already available.
or almost.  it wouldn't take much to build a very effivirnt 
pc-class box.  max it out with 4g of ram, and maybe 64g of
SSD.  linux, bsd, save-the-earth lowpower?   it is coming;
just a matter of who wants to be a zillionaire... .


 
 
  i mean, come-on-people, get real.  4G of ram
  ought to be Plenty!!  
 
 Hey, 640 kB should be enough for everyone. :-)
 

lolololol.  (best laugh this week)


 
 
  i'm trying to// or i'm =thinking about= getting rid of my
  pfSense machine.  i used ifp for *yesrs* with no breakins.
  So NOBODY got into my poetry!!
 
 That's what they want to make you believe. :-)
 
 
 
  according to my /var/log/foo.log files, the only crackins
  were from kiddie-scripters.  i squashed them.   
 
 By using means of blocking for known script-kiddie sources, you
 can get rid of a lot of useless traffic - and possible trouble.
 
 

i ran my script every few hours for 6, 8 months, then finally
had no more hits.  there is a finite number of those
kiddies:)

gary


 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user 

Re: ziz a dumb question?

2010-05-01 Thread Gary Kline
On Sun, May 02, 2010 at 03:58:36AM +1000, David Rawling wrote:
 On 1/05/2010 11:55 PM, Polytropon wrote:
 On Sat, 01 May 2010 11:59:52 +0100, Chris Whitehousecwhi...@onetel.com  
 wrote:


[[  ]]

 
 Core 2 Duo E7400 (about 3GHz), single 7200rpm disk, embedded graphics 
 and network - 44W to 60W depending on what's happening at the time. 
 Adding a discrete GPU (I don't recall the model, but knowing me it's 
 probably a low-end ATI 3000 series) adds 10-30W, again depending on load.


interesting that a 2-core is about what my ibm thinkpad
3.08ghz is rated at.  it's from '05, used, natch, and i had
ram and a harddrive upgrade.  just my 0.02cents' worth.

 
 Another Core 2 system, an E5200 I think, with 2 x 7200rpm notebook 
 disks, 4GB, embedded graphics and network is also measured at around 45W.
 
 I have an overclocked E6300 (running at 2.66GHz, so a 25% overclock), 
 3GB of RAM, 2 x 7200rpm desktop drives, and a GeForce 7600 that pulls 
 140W. Note that overclocking generally disables power saving features 
 and increases power use (linear with clock, square with voltage).
 
 Servers tend to be worse - I have a matched pair of Acer servers with 
 single 3GHz P4 class Xeons, 2GB of RAM, 3 x 7200rpm disks and dual NICs. 
 Those systems pull 220W and they're the next ones I'm ditching for 
 something that uses less power!


i leave most of my boxen running 24/7, so it adds up.  when
my new 2005 custom-built 2.8ghz box died last fall, i hauled
it out.  i did have to buy the new Dell Core Duo (or
whatever); that was months of head banging and begging
favors.  and because my kvm wires are not plugged in
correctly, i can't get to the server to (1) add X11 + KDE and
(2) do anything graphic with ~kline on that system.  

so waiting for somebody i can ask to come over and figure out
what's going on.  THEN, i'll add my backup 2- or 4-core box
as a server backup and to run pc-bsd on.  

 
 All the numbers above are measurements before the PSU input (using the 
 Australian version of the Kill-A-Watt) so include the losses due to 
 the PSU itself.
 
 To go back to Gary's question, however, I would suggest that the new 
 Core i3 series of processors, along with a new board, will use 
 substantially less power than is marked on the PSU, especially if he is 
 not continually encoding video, rendering animation or designing the 
 next Sydney Harbour Bridge (replace with your own national monument if 
 desired). I use this in my HTPC, and it's quite capable of supporting 
 two XBox media extenders and encoding 576p video in close enough to real 
 time, all simultaneously; while doing so it's probably using less than 
 110W of electricity.
 

:-) more decoding than ecoding since i watch a lot of public
tv streams.  because the house is only around 15meter above
sea level, i'm keep an eye out for how how the sound rises
here in seattle.  i'm thinking of planting some palm trees
and retiring to Nome eventually... .  (do you hear these
idjots who still believe the earth if flat and that global
warming is a commie plot || whatever?  ...i just snap off the
radio!)

thanks for the core i3 series advice, dave. i'll surf around.

gary



:wq

 Dave.
 
 -- 
 David Rawling
 Principal Consultant
 
 PD Consulting And Security
 Mob: +61 412 135 513
 Email: d...@pdconsec.net
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: Firefox3 - can't deinstall

2010-05-01 Thread Warren Block

On Sat, 1 May 2010, John Pollock wrote:


On Sat, 2010-05-01 at 13:13 -0600, Warren Block wrote:

On Sat, 1 May 2010, John Pollock wrote:


Am running FreeBSD 8.0 p2, and had installed Firefox3.
Since it keeps crashing when viewing some web pages, I wanted to
deinstall it.

When I cd /usr/ports/www/firefox3 then run make deinstall, I get a error
message that port is not installed.


What message, exactly?  The Firefox ports have moved around, and you may
be trying to uninstall one that isn't actually installed.


Which brings up a question, when installing using ports I normally run
make install clean.

Does this prevent then at later date make deinstall?


No.


Although, I've closed the console that had the message. It basically
stated: Can't make deinstall, firefox3 not installed. -- something to
that effect.

However, the pkg_delete command was able to deinstall it.


No, this is exactly what I meant.  Firefox ports changed names not too 
long ago.  The port you were in was not the one that was actually 
installed (or it had changed names).



Thank you, for the information about make clean part of the command.

I think the problem, was that I had installed FreeBSD 8.0 RELEASE, then
added the firefox3 port, then about a few weeks later upgraded to p2
version and ran portupgrade.


That's fine, should work with no problems.  As long as you don't change 
FreeBSD versions (like going from FreeBSD 8 to 9), you can continue to 
upgrade ports without problems.



All is good right now. Have firefox35 now installed and working.


Unfortunately, that's an obsolete port now.  www/firefox is the main 
one, currently at version 3.6.


-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 freebsd-questions-unsubscr...@freebsd.org


Re: ziz a dumb question?

2010-05-01 Thread Gary Kline
On Sat, May 01, 2010 at 12:32:49PM -0600, Chad Perrin wrote:
 On Sun, May 02, 2010 at 03:58:36AM +1000, David Rawling wrote:
  
  Servers tend to be worse - I have a matched pair of Acer servers with 
  single 3GHz P4 class Xeons, 2GB of RAM, 3 x 7200rpm disks and dual NICs. 
  Those systems pull 220W and they're the next ones I'm ditching for 
  something that uses less power!
 
 . . . and they still draw significantly less power than an LCD television
 plus DVR, even if you add in the power draw of an LCD monitor.
 
 If you're really concerned about power consumption, make sure that you
 look for the bottleneck, just as you would when trying to get better
 performance out of your computer or your network.  Even if your computer
 is drawing a whole lot of power, you might be better off replacing your
 television and DVR unit with a computer than replacing the computer with
 another computer that draws less power.



hmm.  a year++ ago i bought a hidef tv for around $1K.
(remember, guys, your wives are going to want [[order you]]
to buy a $zillion wood enclousure.  whatever it's called.  
20' long stand, cabinet+shelves.  plus this totally useless
But pricey thing on top that runs across the cabinets.  so
yeah, we got rid of our olden 400w tv set and vcr.)

in short, do it because it's thhe right thing, not
necessarily the most cost effective thing.  
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: ziz a dumb question?

2010-05-01 Thread Chad Perrin
On Sat, May 01, 2010 at 03:33:29PM -0700, Gary Kline wrote:
 
   hmm.  a year++ ago i bought a hidef tv for around $1K.
   (remember, guys, your wives are going to want [[order you]]
   to buy a $zillion wood enclousure.  whatever it's called.  
   20' long stand, cabinet+shelves.  plus this totally useless
   But pricey thing on top that runs across the cabinets.  so
   yeah, we got rid of our olden 400w tv set and vcr.)
 
   in short, do it because it's thhe right thing, not
   necessarily the most cost effective thing.  

Well, of course (and the wooden enclosure is usually an entertainment
center).  I was speaking of the most value per purchase in terms of
power consumption, not dollars spent.  How much you're actually spending
is for you to sort out.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp0EXmaaDsSY.pgp
Description: PGP signature


Re: More than 8 partitions

2010-05-01 Thread Jon Theil Nielsen
2010/5/1 Christopher Key cj...@cam.ac.uk

 Jon Theil Nielsen wrote:
  Hi
 
  I'm running 8.0-Release on an external usb hard drive. and have dual-boot
  with FreeBSD on da0s2 and Windows XP on da0s1. I made a setup via
 Sysinstall
  with 7 partitions:
 
  /dev/da0s2a on / (ufs, local)
  /dev/da0s2b (swap)
  /dev/da0s2d on /var (ufs, local, soft-updates)
  /dev/da0s2e on /tmp (ufs, local, soft-updates)
  /dev/da0s2f on /usr (ufs, local, soft-updates)
  /dev/da0s2h on /var/log (ufs, local, soft-updates)
  /dev/da0s2g on /home (ufs, local, soft-updates)
 
  I have about 660 GB left unused on da0s2 that I would like to use for
  backups. But I can't figure out how to create one more partition.
  If i create a file for bsdlabel like
 
  #   sizeoffset  fstype
  i:  *   0   4.2BSD
 
  I get the following error message: line 2: partition name out of range
 a-h:
  i
  I have also tried with gpart:
 
  gpart add -s 500G -t freebsd -f x da0s2
 
  I get something like gpart: index '9': No space left on device
 
  I thought that 8.0 should support more than 8 partitions. Maybe it does,
 but
  then I don't know how to do.
  Any ideas?
 
 
 I believe that FreeBSD does support more than 8 partitions on a disk
 (apparently up to 20 using gpart), but that you need sufficient entries
 for these partitions to be created in the disklabel, viz.

 gpart create -n 20 ...

 Some testing seems to indicate that you can manually override this by
 changing by byte 0x28a of the disk from 0x08 to 0x14, and that bsdlabel
 / gpart will then allow you to create further partitions on the disk.



 Kind regards,

 Christopher Key


Thanks Christopher

I am not sure if I understand all of if. And I wouldn't like to wipe the
drive to test if is possible to mass produce partitions like that. Could
be useful in another situation, though.

My knowlodge of GEOM and its utilities is very limited. Since I have
succeded in creating the two slices with fdisk and subsequently populate
them with bsdlabel, my only problem is how to create the last partition from
the unpartioned space on da0s2. As mentioned in the beginning of this post,
I have tried with both bsdlabel (from a file) and by issuing the gpart add
command. With no luck. Would it be any help to give more specific about the
drive/slice? The output of df -h | grep dev/da0 is:

/dev/da0s2a   3.9G   630M2.9G17%/
/dev/da0s2g97G   160K 89G 0%/home
/dev/da0s2e   3.9G   129M3.4G 4%/tmp
/dev/da0s2f48G   6.6G 38G15%/usr
/dev/da0s2d   9.7G   151M8.8G 2%/var
/dev/da0s2h   3.9G   1.5M3.6G 0%/var/log

and of gpart show da0:

= 0  1759551255  da0s2  BSD  (839G)
   0 1048576 - free -  (512M)
 1048576 8318064  2  freebsd-swap  (4.0G)
 9366640 7303168 - free -  (3.5G)
16669808 8388608  1  freebsd-ufs  (4.0G)
2505841620971520  4  freebsd-ufs  (10G)
46029936 8388608  5  freebsd-ufs  (4.0G)
54418544   104857600  6  freebsd-ufs  (50G)
   159276144   209715200  7  freebsd-ufs  (100G)
   936891344 8388608  8  freebsd-ufs  (4.0G)
   377379952  1382171303 - free -  (659G)

and, finaly, of bsdlabel da0s2:

# /dev/da0s2:
8 partitions:
#size offsetfstype   [fsize bsize bps/cpg]
a:8388608   166698084.2BSD0 0 0
b:83180641048576  swap
c: 1759551255  0unused0 0 # raw part,
don't edit
d:   20971520   250584164.2BSD0 0 0
e:8388608   460299364.2BSD0 0 0
f:  104857600   544185444.2BSD0 0 0
g:  209715200  1592761444.2BSD0 0 0
h:8388608  3689913444.2BSD0 0 0

In my desparate effort to understand these informations/data, i have put
them into a spreadsheet and rearranged them - including some of my own
calculations and assumptions.

bsdlabel output - sorted by sector offset:

#size   offset  (GB*)
c   1.759.551.2550839
b   8.318.0641.048.576  4
a   8.388.608   16.669.808  4
d  20.971.520   25.058.416 10
e   8.388.608   46.029.936  4
f 104.857.600   54.418.544 50
g 209.715.200  159.276.144100
h   8.388.608  368.991.344  4

gpart show output - sorted by sector offset:

(#) (size)(offset)   (GB)  (offset*)   (GiB*)(i)
1.048.57600,5  01   free
 b  8.318.0641.048.576  4  1.048.5764  2
7.303.1689.366.6403,5  9.366.6403   free
 a  8.388.608   16.669.808  4 16.669.8084  1
 d 20.971.520   25.058.416 10 25.058.416   10  4
 e  8.388.608   46.029.936  4 46.029.9364  5
 f104.857.600   54.418.544 50 46.029.936   50  6
 g209.715.200  

Can't compile devel/gobject-introspection under 7.2

2010-05-01 Thread bfls

I'm trying to install deskutils/calibre but it is failing when it
tries to compile gobject-introspection.  I get the errors below and
then it just hangs.

I'm running 7.2-RELEASE-p7 with a GENERIC i386 kernel and I updated my
ports tree yesterday (1 May).  Given the version bump to png I took
the belt-and-braces approach of then doing a pkg_delete -a and
cleaning out my /usr/local/lib directory before adding back in all my
ports one by one.  It all went smoothly until I tried adding calibre.

I've done a google search and found two other people who reported the same
problem (one under 7.2 and the other with 8.0) but no
workaround/fixes.  Has anything else seen this?  There is nothing in
UPDATING.  The must (please) be a solution because this port is used
by pretty much anything gnome-related so it would be widely used.


env LPATH=.libs  env PYTHONPATH=..:..:YTHONPATH 
UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. 
../tools/g-ir-scanner -v --add-include-path=../gir --add-include-path=. -v 
--add-include-path=../gir --add-include-path=. --namespace=GLib --nsversion=2.0 
--libtool=/bin/sh /usr/local/bin/libtool  --library=glib-2.0 --pkg=glib-2.0  
--noclosure --strip-prefix=g --c-include=glib.h -I/usr/local/include 
-I/usr/local/include/glib-2.0 -DGETTEXT_PACKAGE=Dummy -D__G_I18N_LIB_H__ 
/usr/local/include/glib-2.0/glibconfig.h /usr/local/include/glib-2.0/glib/*.h 
./glib-2.0.c --output GLib-2.0.gir
In file included from stdin:23:
/usr/local/include/glib-2.0/glib/ghostutils.h:21:2: error: #error Only 
glib.h can be included directly.
/usr/include/machine/endian.h:146: syntax error, unexpected '{' in ' return 
(__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r 
(__X)); __X; }));' at '{'
/usr/include/machine/endian.h:146: syntax error, unexpected ';' in ' return 
(__extension__ ({ register __uint32_t __X = (_x); __asm (bswap %0 : +r 
(__X)); __X; }));' at ';'
/usr/include/machine/endian.h:153: syntax error, unexpected '{' in ' return 
(__extension__ ({ register __uint16_t __X = (_x); __asm (xchgb %h0, %b0 : 
+q (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:153: syntax error, unexpected ';' in ' return 
(__extension__ ({ register __uint16_t __X = (_x); __asm (xchgb %h0, %b0 : 
+q (__X)); __X; }));' at ';'

Any help greatly appreciated.  

Barbara
-- 
b...@netspace.net.au
On a clear disk you can seek forever.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org