Re: FreeBSD Performance

2011-03-02 Thread Henrik Hudson
On Wed, 02 Mar 2011, David wrote:

 
 On Feb 27, 2011, at 4:43 PM, Robert Bonomi wrote:
 
  From owner-freebsd-questi...@freebsd.org  Sun Feb 27 14:54:09 2011
  From: David cyber...@gmail.com
  Date: Sun, 27 Feb 2011 15:46:03 -0500
  To: freebsd-questions@freebsd.org
  Subject: FreeBSD Performance
  
  Hello All:
  
  I am curious... does anyone know of a reasonably priced commodity server 
  capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE 
  network interfaces? Any ideas on how hard this would be to do with 
  FreeBSD?
  
  I know of a proprietary linux-based system, but looking for open-source 
  FreeBSD based system.

I know it's not FreeBSD, but check out a Nexenta (NexentaStor
Community Edition). As long as you're willing to spend some money on
the hardware you should be able to reach the performance you're
looking for. Basically, ZFS raidZ vols with some high-end SSDs setup
as memory caching disks and then JBOD controllers with 10K rpm SAS drives
should get you 12TB without issue.

Also, FreeBSD 9 with it's updated ZFS version should get you to
the same spot assuming you can find a well supported NIC stack, JBOD
controller and SSDs and SAS drives you should be fine. However,
you're probably talking $10K-$30k of hardware depending on what you
want to spend / need. However, that would mean running CURRENT which may or
may not be what you want.

ZFS with the right JBOD controller and memory caches really does it
just as well as a hardware RAID card if not better and it's much
more flexible.

We've got a 20TB HA setup with Nexenta right now with a high-end
DDR3 memory SSD, a raidZ SSD set and sets of 4 disk raidZ 250GB
SAS drives on JBOD controllers spread over 2 shelves and we
outperform a similar sized NetApp setup by a good margin.


 
 Thanks for the comments Robert...
 
  A lot depends on what you need to do with the data.
 
 At the moment, I'm just looking to see if anyone has tried anything similar.
 I have a detailed set of requirements/results, but wanted to keep things 
 simple initially.
 For now, let's just say there are two use cases:
 
 1. Record 10 Gbps of data received from 2 10xGE cards onto hard disk array
 2. Playback 10 Gbps of data out over 2 10xGE cards onto network.
 
   Do you need just the 'contents' of the network packets -- i.e. are you
   trying to send/recieve a single stream of data -- or do you need 
   complete headers, augmented with timestamps, such that you can re-
   construct/replay what was 'seen on the wire'?
 
 Just contents is fine.
 
   Is the box 'dedicated' to receiving (or sending), and does -nothing-else-
   while that operation is in process? or do you need to sample the data in
   real-time as well?
 
 Dedicated.
 
   Another question is _how_long_ you need to handle the 2x10gbit/sec of 
   data. a few seconds? a few tens of seconds?  minutes? hours?
 
 One hour (for now).
 
   If you need to 'go to disk' in real-time, you're looking at needing
   at least 3-4 gigabyte/sec of bandwith to disk.  No commodity drives 
   provide that kind of capacity, so you're looking at multiple drives 
   'in parallel' -- the logical equivalent of a 'striped' RAID array.  
   Probably 12-16 spindles paralleled.  Best handled with _hardware_ 
   raid, directly in the disk controller, but I don't know of a commodity 
 
 Yes.
 
   controller that supports enough spindles to give that bandwidth.
   This means one is best off doing it in the application softwre itself,
   rather than trusting the O/S to get it right.
 
 Yes.
 
You're also looking at a _big_ disk array. Around 200 gigs for ONE 
   MINUTE of data.  Need 'only' an hour?  That's merely 12 terabytes.
 
 Yes :)
 
  The O/S is -relatively- unimportant. wry grin
 
 OK. As a recent convert to FreeBSD, I was hoping you would tell me 
 that the clean architecture and efficient implementation of FreeBSD would 
 solve
 all of my problems :)
 
  You need _good_ network cards, with good drivers -- preferably ones where
  most of the network stack can be off-loaded onto the card itself.
 
 Yes. Something like TOE, batched interrupts, etc.
 
  You also need good disk controllers, ideally semi-autonomous (like SCSI),
  with fairly large data buffers.
 
 Yes.
 
 OK. Thanks for the comments, that is helpful. I would be very interested
 to hear if anyone has had experience implementing a system like
 this (or close to it). I'm trying to decide whether I should try this myself
 or proceed with the current linux-based system.
 
 
 
 
 
 
 ___
 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

-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman

Re: Best Laptop to buy for Freebsd Without OS?

2011-02-18 Thread Henrik Hudson
On Thu, 17 Feb 2011, Jorge Biquez wrote:

 Hello all.
 
 I am evaluating to buy a new laptop for using it only with Freebsd.
 I know in the website mention some options. Thing is that here the
 most powerful ones (I3, I5 I7) are sold ONLY with Windows installed
 and that increase the value of the equipment. I want the best option
 at a nice price (could be Intel or AMD) the ide is to have it as my
 main machine and when I need Linux or Windows have them there
 running under VirtualBox. The use will be mainly for web
 development.

Any of the i3 / i5 systems will be using Optimus, even if they
don't state as much, and this is not supported under FreeBSD or
Linux, neither proprietary or FOSS drivers. Some of the higher-end laptops 
(Lenovo) you can switch off
optimus either in BIOS or a hardware switch, but a lot of those
details are hidden behind marketing. It doesn't matter if it's ATI
or Nvidia, they still route through the Intel HD stack. Some of the
i7 machines don't do this, but they're also space heaters for the
most part.

Basically, the current state of laptop support for non-Windows is
fubarred for probably 6 month to a year or more on the Intel side
and finding AMD laptops that have working graphics drivers under
FreeBSD is hard as well.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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 bootloader / boot0cfg and multiple disks?

2010-12-19 Thread Henrik Hudson
I'm trying to get the FreeBSD boot loader to to boot off multiple
disks, but I can't seem to get it to see my 3rd disk.

FreeBSD 8.2-PRE amd64; stock kernel with sound card, ahci and PF added

disk layout:
ada0: freebsd main install (/, /tmp, /var, /usr, /home, swap)
ada1: freebsd data disk
ada2: win7 with ada2s1 being the boot 100MB, ada2s2 and ada2s3
being partitions

How can I get boot0cfg to try and boot the 3rd disk, ada2s1? I added the 3rd
disk after already having the first 2 setup and installed. Normally,
I install Windows first and boot0cfg picks it up fine, but not this
time :)

The man page shows how to install a boot MBR on a disk and to
reference the slices, but I can't seem to see how to reference a 2nd
or 3rd disk. The default install picks up the 2nd disk (FreeBSD
data), but obviously can't boot from that. So, it does seem to be
able to redirect to other disks.

I tried doing a boot0cfg -Bv -s 1 ada2, but that seems to just
install a MBR on ada2 and it never gets picked up on ada0 boot menu.

grub isn't supported on amd64 and grub2 seems to be all wizards
and secondary config files :(

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: looking for a buildable version of OpenOffice.org

2010-08-05 Thread Henrik Hudson
On Wed, 04 Aug 2010, Scott Bennett wrote:

  I have tried all of the versions of OpenOffice.org that are currently
 in the ports tree on a 7.3-STABLE system, and all of them fail to build to
 completion.  Is there somewhere that I can find one that actually works?
 Or at least some alternative package that will build and work on a FreeBSD
 7.3-STABLE system?  No packages appear to be available for these ports.
 (Transcripts of the failed builds are available on request.)
  And what would be available if I were to upgrade my system to 8.1-STABLE?
  Thanks in advance for any help!

Following the links of the porting.openoffice.org/freebsd/ page will
get you here:
ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/

Look in the packages-8-amd64 or -i386 folders for packages for pretty much
any versions. I've been running the weeky builds of 3.3 without
issue.

I think the versions in the 3.2.1 folders are for 7.X, but I'm not
100% certain. Personally, for a desktop system I see no reason to
still be running 7.X, but that's just me :)

henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Playing AAC+ streams with XMMS

2010-08-05 Thread Henrik Hudson
On Wed, 04 Aug 2010, paul wrote:

 Hy
 I've been trying to play AAC+ streams with XMMS, but it keeps pre-buffering 
 over and over again. faad2 is installed. Anyone knows a way to solve this?

You probably already know, but XMMS is depracated and really no
longer supported. Personally, I switched a few years back to using
MOC / MOCP and it works great. It is curses based, but is very
simple, clean and easy to use and has been able to play everything
I've thrown at it. Sorry, not the exact answer you were looking for.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: what to do when FreeBSD cannot do something?

2010-07-07 Thread Henrik Hudson
On Wed, 07 Jul 2010, Iv Ray wrote:

  What virtulization system to use? Personnally I use ESXi from vmware
 
 This was a great tip, thank you. I wasn't aware that ESXi is a bare metal and 
 free.
 
  What OS to use instead of FreeBSD? It depends on what is recommended
  for your application, what resources you have available around you,
  etc. For a similar problem I choosed Ubuntu because Ubuntu was well
  supported by the application and some colleagues had a decent
  knwoledge of ubuntu.
 
 I am not fanatic about FreeBSD, but I feel very comfortable with it and I 
 resist change. However your ESXi tip would allow me to run ESXi on bare metal 
 and virtualize simple installations of the unpleasant legacy OSes without 
 making my fingers too dirty.
 
 Thank you very much,

One caveat is that ESX / ESXi are very picky about their hardware
and pretty much won't run on anything but server class devices
(mobo, NICs and CPU are the big ones). VMware still has their VMware
Server (software) solution, but it's slowly being phased out. Also,
it's against the EULA to use ESXi for commercial / reseller
purposes and ESX isn't cheap.

henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: /boot is full after running make installkernel on FreeBSD 8.0

2010-07-01 Thread Henrik Hudson
On Thu, 01 Jul 2010, Lowell Gilbert wrote:

 Chip Camden sterl...@camdensoftware.com writes:
 
  On Jul 01 12:07, Ed Flecko wrote:
  Thanks guys.
  
  :-)
  
  Doesn't that seem odd that the default partition size for root
  (512M) isn't quite big enough?
  
  Should I make the partition size slightly larger (on future installs)
  to eliminate this problem?
  
  Ed
 
  I know *I* will.
 
 *Considerably* larger, I would say.  The number of different kernel
  modules is growing all the time, and that's where the expansion is
  mostly coming from.
 
 Or just make one large partition.  Not on a server, but I don't see much
 reason for using multiple partitions on a laptop.

Multiple partitions still isn't a bad idea if you ever have to fsck
and even on a desktop / laptop I usually mount /tmp as noexec. (note:
installworld requires exec in /tmp, so you will have to remount /tmp
if you use that). Also, it's easier to recover if you can boot
single user mode and run a quick fsck on / when it's small. It
doesn't happen often, but when it does it's easier.

One thing I didn't see is a /home. Is your /home under /usr or /? I
have a 8-STABLE system with both kernel and kernel.old and they only
take up 520MB or so. I normally make my / 2-4GB and then mount a
separate /var (2-10GB depending), /tmp (2-10GB depending) and
/usr (15-50gb depending) and /home (the rest)  . A separate /home is very nice
if you're rebuilding or re-installing you can just not format that
partition and all your stuff will still be there. Of course, have
backups as well :)

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Recommended supported SATA Cards?

2010-07-01 Thread Henrik Hudson
/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
  Actually 3ware seems to have very good FreeBSD support is that beyond your
  budget?
 
 
 3ware as in LSI?  I did a google search for 3ware and found a PCI card, 
 but the link to their PCI-E stuff sent me to a different LSI website. 
 Their website is a about as useful when it comes to technical 
 documentation as Adaptec's, and all their cards are RAID level cards. 
 The LSI cards I see are about as expensive as the RocketRAID cards and 
 look to be similar in functionality.  How well supported are the LSI 
 'Host Bug Adpaters' (LSI website's name)?  Are they the same as the 
 3ware cards you mentioned before (by looking, I'm guessing no).

Personally, if this is for a server I would still use a higher level
RAID card even it will be used only in JBOD. Personally, I love
3ware. Their support is awesome, their drivers are decent and their
web based remote management interface is really nice. I believe some
cards eeek them out in raw perfomance, but as a whole package
they're pretty nice and they seem to get OSS, drivers and support.

http://www.newegg.com/Product/Product.aspx?Item=N82E16816116042

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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


what does boot in safe mode enable / disable?

2010-04-12 Thread Henrik Hudson
I emailed a few days back, to -stable,  about having issues running 8-STABLE in 
a
Xen environment. I solved this, sort of. However, I didn't get any
bites over there.

I have a XEN HVM environment and it was given to me running 8-REL-p2
and it was working fine. I moved up to -STABLE and GENERIC wouldn't
boot. After some fiddling, etc.. I tried booting it in safe mode
and viola it boots fine.

The system doesn't show any errors it just stops on trying to mount
disk: /dev/. Enabling logging mode doesn't show any
difference between the stable kernel and the rel kernel when
booting.

So, I'm guessing there was some sort of regression, but I'm trying
to isolate this. What does booting in safe mode enable / disable
that would allow the system to boot successfully?

Thanks.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: RootBSD?

2010-04-06 Thread Henrik Hudson
On Tue, 06 Apr 2010, Tom Ierna wrote:

 Hi,
 
 Anyone have any experience with RootBSD.net?
 
 I'm looking to move an office-hosted machine's services to the cloud, and 
 they seem to be one of the only VPS companies centered around BSD support 
 instead of Linux.
I just setup a small VPS with rootbsd and have one with
arpnetworks.com as well. Both seem to work fine for my needs so far
and both have been responsive to my couple of small support issues.

henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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


network card issue; constantly up / down

2010-04-04 Thread Henrik Hudson
Hey List,

I just re-installed FreeBSD 8-stable on my laptop and everytime I
have network traffic, even something as innocuous as a ssh shell
with a large section of scrolling text, the interface keeps
flapping up and down. I've had FreeBSD 8 installed on here before
and I don't remember it doing that, but I could be mistaken.
However, I just noticed it again. I was running Gentoo and it had no
issue.

os install: freebsd8-stable i386 (from 4/2/2010)
kernel: generic with snd_hda, pf sections and atapicam added

/var/log/message shows:
Apr  3 23:45:23 kern.notice alucard kernel: ed0: link state
changed to DOWN
Apr  3 23:45:25 kern.notice alucard kernel: ed0: link state
changed to UP
Apr  3 23:45:28 kern.notice alucard kernel: ed0: link state
changed to DOWN
Apr  3 23:45:30 kern.notice alucard kernel: ed0: link state
changed to UP
Apr  3 23:45:36 kern.notice alucard kernel: ed0: link state
changed to DOWN
Apr  3 23:45:38 kern.notice alucard kernel: ed0: link state
changed to UP
. ad nauseum

It's using a PCMCIA PC-card because I jacked the pins on my
built-in ethernet device.

pciconf -v:
c...@pci0:8:6:0:class=0x060700 card=0x30a5103c chip=0x8039104c rev=0x00 
hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCIxx12 Cardbus Controller'
class  = bridge
subclass   = PCI-CardBus

dmesg for the ethernet device:
ed0: Linksys EtherFast 10/100 Integrated PC Card (PCM100) at port 0x100-0x11f 
irq 18 function 0 config 16 on pccard0
ed0: WARNING: using obsoleted if_watchdog interface
ed0: Ethernet address: 00:04:5a:a1:59:c3
miibus1: MII bus on ed0
nsphyter0: DP83815 10/100 media interface PHY 5 on miibus1
nsphyter0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ed0: [ITHREAD]


Is the using obsoleted if_watchdog interface something that should
really be worried about? Is this a driver issue with the card or the
cardbus controller? Any tweaks to sysctly or anything else specific
I could try? Any more info needed?


Thanks.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: 8.0 amd64 - Royally screwed up MBR (My own fault)

2010-03-24 Thread Henrik Hudson
On Wed, 24 Mar 2010, Gene wrote:

 Greetings - (not a draft notice)
 
 First thanks to those who responded to my previous question.
 
 Next...
 
 I was attempting to install 8.0 amd64 w/ZFS. I used instructions from the wiki
 and when I had trouble, I decided to beat a strategic retreat and just do a
 vanilla install. Problem was that either fdisk didn't recognize the mbr
 after all the 'gpart create'-ing or simply couldn't start newfs. (Something
 about not being able to find an initial inode.) I figured 'gpart destroy ad0'
 might fix things but no such luck. fdisk -I ad0 also errors out saying unable
 to locate class.
 
 Does anyone know of a simple (brute force?) way to restore simple. standard
 MBRs without having to resort to a hex editor? (I will if I have to, but I'd
 rather not.)

This will wipe the MBR: dd if=/dev/zero of=/dev/sdb bs=446 count=1

replace of=/dev/sdb  without whatever /dev/sd? you need.

henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Free BSD Licensing

2010-03-23 Thread Henrik Hudson
On Tue, 23 Mar 2010, jegue...@rockwellcollins.com wrote:

 Free BSD representative,
 
 I am inquiring if Free BSD is installable under the The GNU General Public 
 License (short: GNU GPL or simply GPL)?  Need to verify that for the 
 requester of this software as coming through our subcontracts division.

How do you install something under a license? FreeBSD is developed
and distributed using the BSD license. More information is available
at www.freebsd.org  

If you're wondering whether or not FreeBSD is freely available and
can be installed in a commerical environment then the short answer would
be yes. However, I encourage you to read the licensing clauses
available on www.freebsd.org, specifically here:
http://www.freebsd.org/copyright/freebsd-license.html

This wiki gives a decent overview of the differences:
http://en.wikipedia.org/wiki/Free_software_licence


Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Anybody uses VMWare on FreeBSD?

2010-03-17 Thread Henrik Hudson
,
 
  
  from 
 /sys/vm/vm.h:64,  
 
  
  from 
 /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:338:

  
 ./machine/specialreg.h:166:1: error: CPUID_FAMILY 
 redefined 
   
  
 In file included from 
 /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.h:27,
 
  
  from 
 /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/hostif.h:19,

  
  from 
 /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common/vmx86.c:19:
  
 
 ___
 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

-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Measuring Free memory

2010-03-17 Thread Henrik Hudson
On Wed, 17 Mar 2010, Mario Lobo wrote:

 On Wednesday 17 March 2010 19:51:33 Brandon Gooch wrote:
  I'm also seeing something similar although perhaps not related to
  (lack of) free memory. Are you able to enable debugging in the kernel
  and maybe get a (text)dump?
 
 I can't ! The machine freezes completely !! NOTHING works when the freeze 
 happens. I even tried with SSH from another machine to it and its screen also 
 freezes.
  
  I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs
  but haven't heard back just yet.

See the known issues at the bottom of the VirtualBox wiki.
http://wiki.freebsd.org/VirtualBox

Are you running a 8-STABLE kernel newer then Jan. 29th? Did
you pull in VirtualBox 3.1.4 outside of the ports freeze?

I'm running Virtual Box 3.1.4 ontop of a amd64 and nvidia binary
blob as I type this.

henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Anybody uses VMWare on FreeBSD?

2010-03-17 Thread Henrik Hudson
On Wed, 17 Mar 2010, Yuri wrote:

 Henrik Hudson wrote:
  There is currently a bug in the FreeBSD-stable kernel (newer then
  Jan 29th) or so which caused the current VirtualBox install to
  freeze. Just follow the intructions on the VirtualBox FreeBSD wiki
  to pull the latest 3.1.4 VirtualBox and you should be good.
 
  http://wiki.freebsd.org/VirtualBox
  (see the notes under know issues at the bottom for update your
  ports outside of the current ports freeze.
 
  My $.02.

 
 I have the latest, 3.1.4, and still get system freezes.
 I looked over the instructions in http://wiki.freebsd.org/VirtualBox and 
 couldn't find anythings I did that would be out of sync with the 
 instructions.
 Anything particular I should look for there that I could have missed?
 I am trying to install the Linux guest.

I've only ever installed Windows guests. Is the FreeBSD host system
freezing up or the Linux guest install?

I've installed various versions since VirtualBox hit ports and I've
never had an issue, so I've never tried to troubleshoot anything, so
I wouldn't know where to point you specifically.

Is the host still accessable via SSH, ie: the X system is freezing,
or the whole system frozen? Anything in /var/log/messages ?

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: recovering data from this disk

2009-12-04 Thread Henrik Hudson
On Fri, 04 Dec 2009, Tom Worster wrote:

 any suggestions how to recover data from either of the mirrored disks that i
 can't get to boot? the situation is described below.

If they were indeed mirrored then try a FreeBSD live distro boot CD
and boot into that then just mount one of the disk partitions that
you need.

Henrik


 
 (i'm assuming, given the silence on this, that making the system work after
 the freebsd-update is a lost cause.)
 
 
 On 12/3/09 11:14 AM, Tom Worster f...@thefsb.org wrote:
 
  after running freebsd-update -r 8.0-RELEASE upgrade my system won't boot. it
  gets stuck on mountroot and i can't find the magic word it wants.
  
  the system used to have two sata drives /dev/ad4 and ad6. they were
  partitioned and sliced using the deafaults that sysinstall suggested.
  
  at the boot prompt, lsdev says:
  
  disk devices
disk0: BIOS drive C:
  disk0s1a: FFS
  disk0s1b: swap
  disk0s1d: FFS
  disk0s1e: FFS
  disk0s1f: FFS
 disk1: BIOS drive D:
  disk1s1a: FFS
  disk1s1b: swap
  disk1s1d: FFS
  disk1s1e: FFS
  disk1s1f: FFS
  
  which looks right, although i'm not familiar with the disk nomenclature.
  
  entering ? at mountroot mentions ad4 and ad6.
  
  geom_mirror was being used.
  
  i've tried saying load geom_mirror and/or enable-module geom_mirror at 
  the
  boot prompt. neither made any difference.
  
  nothing i've said to mountroot works:
  
  ufs:/dev/ad4s1a
  ufs:/dev/ad6s1a
  ufs:/dev/mirror/gm0s1a
  ufs:/dev/disk0s1a
  ufs:/dev/disk1s1a
  
  does anyone know the magic word? i'd be very grateful.
  
  tom
 
 
 ___
 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

-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: rTorrent + FreeBSD + pf = freeze?

2009-10-22 Thread Henrik Hudson
On Wed, 21 Oct 2009, cpghost wrote:

 Hi,
 
 could a resource leak or bug in pf(4) crash a RELENG_7 router (as of
 Oct 6th)?
 
 I'm experiencing frequent crashes on my soekris net4801 home router
 for some months now, and I'm wondering if it could be some kind of
 pf-related bug similar to this on OpenBSD:
 
   http://www.mail-archive.com/m...@openbsd.org/msg58042.html
 
 More precisely, when I fire up rtorrent-devel on some *other* machine
 (not the router!), everything runs fine at first.  It could also run
 very fine for many days. BUT should I start a torrent with a large
 number of seeders which could saturate my link for an extended period
 of time, the soekris router would suddenly freeze... but not
 immediately: more like a few hours (3 to 6) or so of relatively heavy
 traffic. Only a hard reboot of the router would help.  Please note
 that rtorrent is NOT running on the router, only its traffic is being
 redirected through the router.
 
 So I'm suspecting some bug / resource leak in pf that would bring the
 kernel down somehow. What kind of resources should I monitor (and
 how)? Maybe that could bring some clues?
 
 Oh, before anybody asks: I have no crashdumps, the router freezes
 totally without panicking. And it doesn't recover automatically
 even after many hours.

Possibly a heat issue? I've seen many a little dlink style or
similar router work fine until it has to churn through a lot of
packets and then it just can't handle it, starts getting warm
doing all the computation and then eventually freezes. I'm not
ruling out a memory leak or similar, but I'm currently doing the
same with a little atom ITX board and it handles all the torrents
for myself and the roomies without issue. I'm using rtorrent myself with
pf and 8.0-RC1-stable.  I believe the pf code is backported to 7.

Also, if it was just a memory leak it will still happen with
non-torrent traffic, just most likely slower. Have you tried
throttling back the amount of connections and speed that rtorrent
makes?


henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Salvage files from harddrive

2009-10-06 Thread Henrik Hudson
On Fri, 07 Oct 2011, jeffry killen wrote:

 Hello;
 I have a hard drive that contains the /var file system in a system that
 will not boot.
 In single user mode I can mount  /var.
 
 I want to take this disk and put it in another FreeBSD system and
 try to copy the files I need off of it to a safe place.
 
 The system I will plug it into will also have a separate disk with
 /var.
 
 Is there going to be a conflict with the labels and how would I
 best go about this?
 
 system is FreeBSD v6.2
 
 Thank you in advance for guidance, suggestions.

It shouldn't be a problem. If you stick the broken drive in a new
system it will show up as a new device to the 2nd system.

You will then manually mount the 1st system via the device node to
wherever you want. It will not auto-mount that to /var .

So, for example your 2nd system has /dev/ad4s1  as its main disk.
When you plig the 2nd disk (from the old box) it will show up as
/dev/ad5s1 or similar. YOu would then just mount the /var/ slice to
wherever you want. 

For example:
mount /dev/ad5sa6 /mnt/oldvar

or similar. Please note that your device nodes and slice numbers
will most likely be different.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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


src.conf and cleaning up of base?

2009-08-25 Thread Henrik Hudson
Hello List,

I enabled a few WITHOUT_ options in src.conf. However, the
binaries for that still exists after a installworld. Is there an
automatic way to clean up the base install?

For example, I did a minimal install of 8.0-BETA2, csup'ed down
-CURRENT and set WITHOUT_RCMDS in src.conf . However, rsh is still
installed in /usr/bin  . However, the timestamp is from the original
install BETA2 build and not from my buildworld. For smaller items
like NTP this is fine, but for stuff like WITHOUT_SENDMAIL or
WITHOUT_LPR those binaries can get in the way of their replacements,
ie: Postfix and CUPS.

Anyway to to autoclean the base system?

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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


intel atom mobo support; ASUS AT3GC ?

2009-07-24 Thread Henrik Hudson
Hey List,

I'm looking into running on of these:
ASUS AT3GC
http://usa.asus.com/products.aspx?modelmenu=2model=3129l1=3l2=192l3=0l4=0

Now it seems to differ from the stock intel Atom setup in that it's
using a Realtek 8112 NIC and I can't seem to find any documentation
showing support for that NIC. Anyone have any luck with that board
or know if it will work? From some forum posts it seems to be
similar to the 8111 series, but one never knows.

I'm picking this board because of the heatsink / fan setup over the
stock intel one.

I'd be using either 7-STABLE or if I have to 8-CURRENT. One will be
a dual-homed box, so I need both the onboard and the single PCI slot.


Thanks.

Henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
God, root, what is difference? Pitr; UF 

___
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: Upgrade to 7.1 and upgrade of ports broke Xorg

2009-02-10 Thread Henrik Hudson
 textures
 (II) RADEON(0): Memory manager initialized to (0,0) (1408,8191)
 (II) RADEON(0): Reserved area from (0,1200) to (1408,1202)
 (II) RADEON(0): Largest offscreen area available: 1408 x 6989
 (II) RADEON(0): Will use front buffer at offset 0x0
 (II) RADEON(0): Will use back buffer at offset 0x1b12000
 (II) RADEON(0): Will use depth buffer at offset 0x2184000
 (II) RADEON(0): Will use 32 kb for PCI GART table at offset 0xfff8000
 (II) RADEON(0): Will use 221184 kb for textures at offset 0x27f6000
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 10, (OK)
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 10, (OK)
 drmOpenByBusid: Searching for BusID pci::01:00.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 10, (OK)
 drmOpenByBusid: drmOpenMinor returns 10
 drmOpenByBusid: drmGetBusid reports pci::01:00.0
 (II) [drm] DRM interface version 1.2
 (II) [drm] DRM open master succeeded.
 (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
 (II) RADEON(0): [drm] framebuffer handle = 0xe000
 (II) RADEON(0): [drm] added 1 reserved context for kernel
 (II) RADEON(0): X context handle = 0x1
 (II) RADEON(0): [drm] installed DRM signal handler
 (II) RADEON(0): [pci] 32768 kB allocated with handle 0xc82ee000
 (II) RADEON(0): [pci] ring handle = 0xc82ee000
 (II) RADEON(0): [pci] Ring mapped at 0x38a4f000
 (II) RADEON(0): [pci] Ring contents 0x
 (II) RADEON(0): [pci] ring read ptr handle = 0xc83ef000
 (II) RADEON(0): [pci] Ring read ptr mapped at 0x286dc000
 (II) RADEON(0): [pci] Ring read ptr contents 0x
 (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xc83f
 (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x38b5
 (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x
 (II) RADEON(0): [pci] GART texture map handle = 0xc85f
 (II) RADEON(0): [pci] GART Texture map mapped at 0x38d5
 (II) RADEON(0): [drm] register handle = 0xfe9e
 (II) RADEON(0): [dri] Visual configs initialized
 (II) RADEON(0): RADEONRestoreMemMapRegisters() :
 (II) RADEON(0):   MC_FB_LOCATION   : 0xefffe000 0x1fff
 (II) RADEON(0):   MC_AGP_LOCATION  : 0xffc0
 (==) RADEON(0): Backing store disabled
 (II) RADEON(0): [DRI] installation complete
 (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
 (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
 (II) RADEON(0): [drm] dma control initialized, using IRQ 16
 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416
 (WW) RADEON(0): DRI init changed memory map, adjusting ...
 (WW) RADEON(0):   MC_FB_LOCATION  was: 0xefffe000 is: 0xefffe000
 (WW) RADEON(0):   MC_AGP_LOCATION was: 0xffc0 is: 0xffc0
 (II) RADEON(0): RADEONRestoreMemMapRegisters() :
 (II) RADEON(0):   MC_FB_LOCATION   : 0xefffe000 0xefffe000
 (II) RADEON(0):   MC_AGP_LOCATION  : 0xffc0
 (II) RADEON(0): Direct rendering enabled
 (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 
 and newer. Please use EXA instead.
 (II) RADEON(0): Render acceleration disabled
 (WW) RADEON(0): Failed to determine num pipes from DRM, falling back to 
 manual look-up!
 (II) RADEON(0): num quad-pipes is 1
 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
 (II) RADEON(0): Acceleration enabled
 (II) RADEON(0): DPMS enabled
 (==) RADEON(0): Silken mouse enabled
 (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00674c00
 (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00678e00
 (II) RADEON(0): Largest offscreen area available: 1408 x 6983
 (II) RADEON(0): No video input capabilities detected and no information 
 is provided - disabling multimedia i2c
 (II) Loading sub module theatre_detect
 (II) LoadModule: theatre_detect

 (II) Loading /usr/local/lib/xorg/modules/multimedia//theatre_detect_drv.so
 (II) Module theatre_detect: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.0.0
ABI class: X.Org Video Driver, version 4.1
 (II) RADEON(0): no multimedia table present, disabling Rage Theatre.
 (II) RADEON(0): Set up overlay video
 (II) RADEON(0): Set up textured video

 -- 
 Paul Schmehl, Senior Infosec Analyst
 As if it wasn't already obvious, my opinions
 are my own and not those of my employer.
 ***
 Check the headers before clicking on Reply.

 ___
 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

-- 
Henrik

Re: new install sunfire v100

2008-10-15 Thread Henrik Hudson
On Wednesday 15 October 2008, Davenport, Steve M [EMAIL PROTECTED] 
sent a missive stating: 
 I'm installing 7.0-RELEASE on a Sun Sunfire v100 server. I was able to
 boot the cd, and install through cd one. There is no framebuffer on the
 v100 (vt100 serial console interface only) so the install would not
 proceed past the first disk. I want to use this system as a nameserver
 and was able to download Bind 9.3.5-P2, compile, and run. My questions
 are:

 1) Can I manually complete the install process for items on CDs 23?

You only need CD1 for a basic server. Bind is part of the base system, so you 
don't need to download it. You can remove it (see src.conf and build world) 
and use the ports system to install Bind from ports.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)

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


Re: Can an Account be Locked out for ssh but allow su?

2008-10-08 Thread Henrik Hudson
On Wednesday 08 October 2008, Martin McCormick [EMAIL PROTECTED] 
sent a missive stating: 
   Is there a way to configure an account such that one can
 su - this-account from another login on the system, but not ssh
 directly in to it from the outside, similar to the way root
 works if you set the terminal type in /etc/ttys to insecure?

Check the sshd_config man page for AllowUsers and DenyUsers directives. THis 
should do what you want.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)

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


Re: Questions drivers for VGA and NIC

2008-10-01 Thread Henrik Hudson
On Wednesday 01 October 2008, Mungyung Ryu [EMAIL PROTECTED] sent a missive 
stating: 
 Hi BSD folks!

 I installed FreeBSD 7 Release - amd64.
 I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting
 driver for Linux or FreeBSD!
 So, I'm considering to replace the dam ATI card with NVIDIA Geforce.
 I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be
 enough,
 but it should support 1920x1200 resolution.
 I wonder if what Geforce model is supported by the FreeBSD 7R - amd64.
 Anybody can recommend?

The nVidia binary drivery doesn't support amd64 if you were thinking of using 
that. Personally, if it's in the cards I would look for a intel board with 
the onboard video.

 The driver issue is killing me on FreeBSD.

Call the vendors and tell them you want drivers.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions drivers for VGA and NIC

2008-10-01 Thread Henrik Hudson
On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: 
 On Wed, 1 Oct 2008 15:24:33 -0400
 Robert Huff [EMAIL PROTECTED] wrote:

 [snip]

  nVidia, at least, is aware of the issue and has offered to
 write and maintain drivers ... provided certain capabilities are
 added to the kernel.  (See previous discussion in this mailing list.)
  This has - obviously - not happened, and I do not know of work
 in progress.
  I do agree that the first vendor to provide working drivers
 will make quite a few sales.  (Me among them.)

 In all likelihood, the probability of any vendor creating FBSD
 specific drivers is directly proportionate to the expenditure of funds
 to create and maintain the driver versus the expected revenue from such
 an expenditure.

 Unfortunately, doing a quick search, I was not able to locate the
 article(s) you referenced above. I would like to see exactly what
 NVIDIA is requesting.

Digg through the nVidia forum. They've posted the specs / story there with a 
few links off to FreeBSD forum / lists as well.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions drivers for VGA and NIC

2008-10-01 Thread Henrik Hudson
On Wednesday 01 October 2008, Jerry [EMAIL PROTECTED] sent a missive stating: 
 On Wed, 1 Oct 2008 23:25:19 +0200 (CEST)

 Wojciech Puchar [EMAIL PROTECTED] wrote:
  In all likelihood, the probability of any vendor creating FBSD
  specific drivers is directly proportionate to the expenditure of
  funds to create and maintain the driver versus the expected revenue
  from such an expenditure.
 
 giving out a specs will be the simplest way.

 Any entity, or corporation, has a right to expect a return on their
 investment. To expect a corporation to simply give away something,
 thereby depriving their shareholders, partners or whatever, of their
 rightfully expected monetary reward is foolish. It certainly is not a
 well thought out  business model.

There is a difference between open sourcing the binary blob and possibly 
giving away optimizations, trade secrets, etc... and allowing easier access 
to either hardware register specs or specs to write a wrapper around a 
universal blob.

Personally, I think they see it as a quality control issue, though the 
quality of their own code is sometimes circumspect. The card companies sell 
hardware and this is where their money is made and/or a better experience 
with the software drivers. Open the hardware spec, add a support clause that 
any open source drivers aren't officially supported and you're good to go.

Opening the hardware spec will do nothing except sell more hardware.

a) the average joe will continue to buy systems with the supported hardware / 
drivers, most likely Windows, OS X or a major Linux distro. Probably wouldn't 
even know the open source ones exist.

b) the geeks of the world will start running the open source driver if it's 
better or not if it's worse for their applications. Either way, it will only 
sell more hardware.

c) The FOSS only crowd will start using the hardware since it has a fully open 
source drivers.

The open source driver doesn't need to be able to run Doom5 at incredible 
speeds, it just needs high quality 2d and the ability to handle some 3d 
compositing, etc... for desktop effects.

My .02$

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rss-glx screen saver compilation fails?

2008-09-09 Thread Henrik Hudson
Hey List,

running FreeBSD-7-stable (from April or so) i386
binary nVidia drivers

Has anybody successfully got rss-glx  (really slick screensavers; 
http://rss-glx.sourceforge.net/ ) to compile for them?

It isn't in ports and I was trying to compile it. I think I got all of the 
dependencies, etc... as ./configure completes without issue.

I'm getting the following error when running make or gmake:

spirographx.c: In function 'getAll':
spirographx.c:99: warning: implicit declaration of function 'sincosf'
spirographx.c:99: warning: incompatible implicit declaration of built-in 
function 'sincosf'
/usr/local/bin/bash ../libtool --tag=CC --mode=link 
gcc  -O2 -Wall  -I/usr/local/include   -o spirographx  driver.o 
spirographx.o  -lGLU -lGL  -L/usr/local/lib -R/usr/local/lib  -lSM -lICE -lX11  
-lm 
gcc -O2 -Wall -I/usr/local/include -o spirographx driver.o 
spirographx.o  -lGLU -lGL -L/usr/local/lib /usr/local/lib/libSM.so 
/usr/local/lib/libICE.so /usr/local/lib/libX11.so /usr/local/lib/libXau.so 
/usr/local/lib/libXdmcp.so -lrpcsvc -lm   -Wl,--rpath -Wl,/usr/local/lib 
-Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may 
conflict with libm.so.5
spirographx.o(.text+0x30f): In function `getAll':
: undefined reference to `sincosf'

Any ideas?

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


qt 3 install error

2007-03-21 Thread Henrik Hudson
Afternoon List-

I'm running 6.2-STABLE x86. The system was a fresh install of 6.2 that was 
upgraded to STABLE. The initial install of qt went fine a few months back, but 
now the upgrade is having issues. When I initially installed, I had (still 
have) X11BASE=/usr/local  in my make.conf.

I've tried both doing a portinstall and just plain old make install and make 
reinstall and neither works.

It seems that it totally loses it's QMAKESPEC path. However, looking at the 
output of the actual compile, etc... it has the correct one figured out 
(freebsd-g++) and the path is correct. The mkspec directory does exist.

I've tried pkg_deleting both qt and qmake. qmake installs fine, but the latest 
version of qt gives the following error when it actually tries to install the 
compiled package:

cd plugins/src  make
cd accessible  make -f Makefile
cd codecs  make -f Makefile
cd imageformats  make -f Makefile
cd sqldrivers  make -f Makefile
cd styles  make -f Makefile
cd tools  make
cd assistant/lib  make -f Makefile
/usr/local/bin/qmake -spec  -o Makefile lib.pro
Could not find mkspecs for your QMAKESPEC after trying:
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/mkspecs
/usr/local/share/qt/mkspecs
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8
/usr/local/share/qt
Error processing project file: 
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/assistant/lib/Makefile
Could not find mkspecs for your QMAKESPEC after trying:
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/mkspecs
/usr/local/share/qt/mkspecs
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8
/usr/local/share/qt
Error processing project file: 
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/assistant/lib/lib.pro
*** Error code 2

Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools/assistant/lib.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/tools.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33.
*** Error code 1


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


Re: php5-session-5.2.0 is already installed

2007-02-05 Thread Henrik Hudson
On Tuesday 06 February 2007 00:43, Noah [EMAIL PROTECTED] sent a missive 
stating: 
 Hi there,

 FreeBSD-6.2

 I am attempting to build gallery2
 but the build fails because a dependency php5-session-5.2.0 is already
 built.  okay fine.  how do I get around that

 here is the original command:

 portinstall www/gallery2

 here are snippets from the output:


I would do as the error suggested and make deinstall the php5-session and then 
either do a portinstall again or just let the portinstall gallery dependancy 
handle the install of the session.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about BSD time

2007-02-05 Thread Henrik Hudson
On Monday 05 February 2007 08:11, Alaa Alomari [EMAIL PROTECTED] sent a 
missive stating: 
 Dear sir;
   I have a Unix BSD server, and i want to adjust the time of the server so
 i have used the following command: $ sudo date 0702050402
   and the output is:
   Mon Feb 5 04:02:00 EET 2007
   and when typing date command again, i have got the following output:
   Mon Feb 5 09:38::51 EET 2007
   so would you please, tell me how can i fix the time (note: i am using the
 root) Thank you for your attention.


Is it really off by 30 some minutes as well? or did you just run date 30 
minutes later?

As the other poster mentioned you either have a faulty time server in your 
network and the NTP daemon is picking it or your hardware clock is really 
messed up in which case you may wish to install NTP and have it auto-set your 
clock for you.

Henrik

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Henrik Hudson
On Tuesday 06 February 2007 00:43, Noah [EMAIL PROTECTED] sent a missive 
stating: 
 Hi,

 Any clues how to clean up a reported missing key: categories: Cannot
 read the portsdb!


portupgrade portupgrade fixes things.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems during installing FreeBSD

2006-09-23 Thread Henrik Hudson
On Friday 22 September 2006 23:03, Sunil Kumar [EMAIL PROTECTED] sent a 
missive stating: 
 Hi:

 I downloaded three *.iso images from the  www.freebsd.org website and
 burnt in on 3 CDs and used the first CD which just contains the
 /boot directory for starting the installation. My question is:
 1) Why doesn't it ask me to load the next CD in to the CDRom Drive
 during the installation, which I presume contains all the required
 packages and binaries?

If you have a decent internet connection, just use the bootonly ISO and then 
grab the packages / files via an FTP or FTP Passive connection during 
install. Otherwise, just use the 2nd disc. The handbook has some good info: 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html

should answer your questions.

 2) Will I be able to still boot Linux if I allow FreeBSD to overwrite
 the MBR with its own boot loader, which it asks during installation?

If you want a nicer looking boot loader then don't install anything into the 
MBR and configure LILO or GRUB to boot FreeBSD. There are docs in the 
handbook about this. Just do a search for LILO on the FreeBSD site.

 Can somebody please help me with this issue?

Check the handbook. It's very good.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keepassX and FreeBSD?

2006-09-22 Thread Henrik Hudson
Hey List-

anyone had luck compiling keepassX on their box?

I know it required QT 4,1 and I compiled and installed the QT 4.1.1 in it's 
own directory (/usr/local/qt-4.1) and then I wrote a quick script to set the 
following environment variables:

setenv QTDIR /usr/local/qt-4.1
setenv PATH ${PATH}:${QTDIR}/bin
setenv LD_LIBRARY_PATH ${QTDIR}/lib
setenv QMAKESPEC freebsd-g++

is there anything else I need to set / do?

When I run qmake in the keepassX src tree I get a permanent loop of:

QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified
QFile::open: No file name specified


I'm a total newb when it comes to QT. Where to start or what to do?


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


samba and localhost?

2006-09-11 Thread Henrik Hudson
Hey List-

running: 6.1-stable
samba: 3.0.23b

Question about the loopback interface for sambaI've got a dual-homed host 
and when I set this in my smb.cnf

bind interfaces only = yes
interfaces = em0 lo0
hosts deny = ALL
hosts allow = 10.0.0.0/24 127.

I get errors when running samab tests stating:

querying ECW on 127.255.255.255
Sending a packet of len 50 to (127.255.255.255) on port 137
Packet send failed to 127.255.255.255(137) ERRNO=Can't assign requested 
address
name_query failed to find name ECW#1d

I do have PF filter running, but I don't see any blocks on the pf logs.  When 
I'm actually trying to do anything with samba I just get can't find login 
server errors. When I modify this to:  interfaces = em0   then most of my 
services work fine, but I can't use net commands, etc.. since they try and 
connect on the localhost.

How can I fix this?


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
Hey List-

I tried the Samba lists...but didn't get any tips there..so possibly a freebsd 
issue? Dunno, anyways

I have a Samba PDC and a Samba Member Server.

The Samba PDC works fine, but the problem is that the Member Server can't 
authenticate users and let me browse file shares and i always get the error:  
NT_STATUS_NO_LOGON_SERVERS

the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
will work and list my shares. However, the first time I actually try to 
authenticate a user to browse a share the whole shebang stops and I get the 
above error. I'm using Konqueror and smb://ecwtest/sharename to connect.

I don't need to make any PAM changes to allow just file / share authentication 
do I?

One thing, the member server is a new rebuild of a machine with the same name 
and the PDC is a upgrade using the TDBs, etc.. from backup. I did remove the 
machine account from the PDC and then re-added it using net join and that 
worked fine.

I ran through the test at the back of the offical book and all of them work 
except the  actual sharing and the nmblookup -d 2 '*' on the member server 
and of course the smbclient specific ones.

wbinfo -u and wbinfo -g work on the member server and i can chown files to 
users only in the PDC in the samba users file. I just can't authenticate.

the only error I'm seeing is in log.wb-ECW and its:
[2006/09/03 12:54:12, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \lsarpc fnum 0x70a8!
[2006/09/03 13:17:04, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \NETLOGON fnum 0x7549!
[2006/09/03 13:38:05, 0] nsswitch/winbindd_dual.c:child_read_request(49)
  Got invalid request length: 0
[2006/09/03 13:38:12, 1] 
rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
  cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR 
received from remote machine ECWSERVER pipe \lsarpc fnum 0x7104!



Here is my setup:

PDC: ECWSERVER ; FreeBSD 6-stable and samba-3.0.23b,1
member: ECWTEST ; freeBSD 6-stable and samba-3.0.23b,1

Both servers are on the same network and have static IPs. i am able to ping, 
etc.. using the netbios names

my /etc/nssswitch.conf is the same on both:
group: files winbind
group_compat: nis
hosts: files dns
networks: files
passwd: files winbind
passwd_compat: nis
shells: files

PDC smb.conf:
# Global parameters
[global]
workgroup = ECW
netbios name = ECWSERVER
passdb backend = tdbsam:/usr/local/etc/samba/private/passwd.tdb
os level = 65
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
wins support = yes
#server string = Samba %v on %L
server string =
security = USER
encrypt passwords = yes 
disable spoolss = Yes
guest ok = yes
follow symlinks = no
case sensitive = no
idmap uid = 15000-2
idmap gid = 15000-2
username map = /usr/local/etc/samba/smbusers

name resolve order = hosts wins bcast
time server = Yes

#printing options
#printing = cups
#printcap name = cups
#load printers = yes
#show add printer wizard = Yes
#printer admin = @ecwadmins,@wheel

#user scripts
add user script = /usr/sbin/pw useradd -n %u -g 
ecwusers -s /usr/sbin/nologin -c 
delete user script = /usr/sbin/pw userdel -n %u
add group script = /usr/sbin/pw groupadd -n %g
delete group script = /usr/sbin/pw groupdel -n %g
add user to group script = /usr/sbin/pw usermod -n %u -g %g
#add machine script = /usr/sbin/pw useradd -n %u -g 
100 -s /usr/sbin/nologin -d /dev/null

#user directories
logon home = \\%N\%U\
logon drive = H:

#roaming profiles
logon path =

#


the member server smb.conf:

# Global parameters
[global]
workgroup = ECW
netbios name = ECWTEST
#server string = Samba %v on %L
server string =
security = domain
password server = ECWSERVER
wins server = 10.0.0.6
encrypt passwords = yes 
idmap uid = 15000-2
idmap gid = 15000-2
winbind use default domain = yes
guest ok = yes
follow symlinks = no
case sensitive = no
os level = 33

preferred master = no
domain master = no

#bind interfaces only = yes
#interfaces = fxp0 lo0
#hosts deny = ALL
#hosts allow = 10.0.0.0/24 127.

name resolve order = hosts wins bcast



Thanks.

henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
There are 10 kinds of people in the world: Those who
 understand binary and those who don't...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
On Sunday 03 September 2006 13:59, Atom Powers [EMAIL PROTECTED] sent 
a missive stating: 
 On 9/3/06, Henrik Hudson [EMAIL PROTECTED] wrote:
  I have a Samba PDC and a Samba Member Server.
 
  The Samba PDC works fine, but the problem is that the Member Server can't
  authenticate users and let me browse file shares and i always get the
  error: NT_STATUS_NO_LOGON_SERVERS

 Sounds like your member server can't contact the pdc's logon service.


Yeap :) 

  the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
  will work and list my shares. However, the first time I actually try to
  authenticate a user to browse a share the whole shebang stops and I get
  the above error. I'm using Konqueror and smb://ecwtest/sharename to
  connect.

 Try to always use FQDN (ecwtest.domain.blah); or be very careful and
 complete in the way you set up your name resolution (WINS, DNS).
 Especially if you have hosts on different subnets.

I've tried it both ways. Some people say to use the FQDN and some the other 
way around.

 nmblookup is a WINS resolution tool. If your WINS server is not
 configured and functioning and your computers are on different subnets
 (or have blocking firewalls) you will have problems. If you don't use
 FQDN samba will, probably, be using WINS to resolve your host names.

My firewalls are 100% off until I get this working.

henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
There are 10 kinds of people in the world: Those who
 understand binary and those who don't...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samba problem; member server can't authenticate

2006-09-03 Thread Henrik Hudson
FYI: It seems the winbind use default domain = yes   was getting the member 
server all messed up in the head. I removed that and suddenly it became just 
a problem of changing my permissions to include the ECW domain in the allowed 
users.

Thanks for the responses.

henrik

On Sunday 03 September 2006 13:46, Henrik Hudson [EMAIL PROTECTED] sent a 
missive stating: 
 Hey List-

 I tried the Samba lists...but didn't get any tips there..so possibly a
 freebsd issue? Dunno, anyways

 I have a Samba PDC and a Samba Member Server.

 The Samba PDC works fine, but the problem is that the Member Server can't
 authenticate users and let me browse file shares and i always get the
 error: NT_STATUS_NO_LOGON_SERVERS

 the wierd thing is that sometimes:  SMBCLIENT -L ECWTEST
 will work and list my shares. However, the first time I actually try to
 authenticate a user to browse a share the whole shebang stops and I get the
 above error. I'm using Konqueror and smb://ecwtest/sharename to connect.

 I don't need to make any PAM changes to allow just file / share
 authentication do I?

 One thing, the member server is a new rebuild of a machine with the same
 name and the PDC is a upgrade using the TDBs, etc.. from backup. I did
 remove the machine account from the PDC and then re-added it using net join
 and that worked fine.

 I ran through the test at the back of the offical book and all of them
 work except the  actual sharing and the nmblookup -d 2 '*' on the member
 server and of course the smbclient specific ones.

 wbinfo -u and wbinfo -g work on the member server and i can chown files to
 users only in the PDC in the samba users file. I just can't authenticate.

 the only error I'm seeing is in log.wb-ECW and its:
 [2006/09/03 12:54:12, 1]
 rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
 received from remote machine ECWSERVER pipe \lsarpc fnum 0x70a8!
 [2006/09/03 13:17:04, 1]
 rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
 received from remote machine ECWSERVER pipe \NETLOGON fnum 0x7549!
 [2006/09/03 13:38:05, 0] nsswitch/winbindd_dual.c:child_read_request(49)
   Got invalid request length: 0
 [2006/09/03 13:38:12, 1]
 rpc_client/cli_pipe.c:cli_pipe_validate_current_pdu(625)
   cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR
 received from remote machine ECWSERVER pipe \lsarpc fnum 0x7104!



 Here is my setup:

 PDC: ECWSERVER ; FreeBSD 6-stable and samba-3.0.23b,1
 member: ECWTEST ; freeBSD 6-stable and samba-3.0.23b,1

 Both servers are on the same network and have static IPs. i am able to
 ping, etc.. using the netbios names

 my /etc/nssswitch.conf is the same on both:
 group: files winbind
 group_compat: nis
 hosts: files dns
 networks: files
 passwd: files winbind
 passwd_compat: nis
 shells: files

 PDC smb.conf:
 # Global parameters
 [global]
 workgroup = ECW
 netbios name = ECWSERVER
 passdb backend = tdbsam:/usr/local/etc/samba/private/passwd.tdb
 os level = 65
 preferred master = yes
 domain master = yes
 local master = yes
 domain logons = yes
 wins support = yes
 #server string = Samba %v on %L
 server string =
 security = USER
 encrypt passwords = yes
 disable spoolss = Yes
 guest ok = yes
 follow symlinks = no
 case sensitive = no
 idmap uid = 15000-2
 idmap gid = 15000-2
 username map = /usr/local/etc/samba/smbusers

 name resolve order = hosts wins bcast
 time server = Yes

 #printing options
 #printing = cups
 #printcap name = cups
 #load printers = yes
 #show add printer wizard = Yes
 #printer admin = @ecwadmins,@wheel

 #user scripts
 add user script = /usr/sbin/pw useradd -n %u -g
 ecwusers -s /usr/sbin/nologin -c 
 delete user script = /usr/sbin/pw userdel -n %u
 add group script = /usr/sbin/pw groupadd -n %g
 delete group script = /usr/sbin/pw groupdel -n %g
 add user to group script = /usr/sbin/pw usermod -n %u -g %g
 #add machine script = /usr/sbin/pw useradd -n %u -g
 100 -s /usr/sbin/nologin -d /dev/null

 #user directories
 logon home = \\%N\%U\
 logon drive = H:

 #roaming profiles
 logon path =

 #


 the member server smb.conf:

 # Global parameters
 [global]
 workgroup = ECW
 netbios name = ECWTEST
 #server string = Samba %v on %L
 server string =
 security = domain
 password server = ECWSERVER
 wins server = 10.0.0.6
 encrypt passwords = yes
 idmap uid = 15000-2
 idmap gid = 15000-2
 winbind use default domain = yes
 guest ok = yes
 follow symlinks = no
 case sensitive = no
 os level = 33

 preferred master = no
 domain master = no

 #bind interfaces only = yes
 #interfaces = fxp0 lo0
 #hosts deny = ALL
 #hosts allow = 10.0.0.0/24 127.

 name resolve order = hosts wins bcast



 Thanks.

 henrik

-- 
Henrik Hudson
[EMAIL PROTECTED]
--
There are 10 kinds of people in the world: Those who
 understand binary

kde konqueror and sftp links?

2006-05-02 Thread Henrik Hudson
Hey List-

On my Gentoo box I can do  sftp://[EMAIL PROTECTED]  in the Konqueror URL and 
it prompts me for a password. On my BSD box (6.1-RC1) running KDE 3.5.2 from 
ports it just keeps throwing a authentication failed error. Any clue on how 
to get this working? It's a nice feature :)

sftp from the command line works fine.

Outside of the kmailrc, kontactrc and kwallet files the .kde dir is a clean 
install / config.

Thoughts?

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't sftp in konqueror

2006-04-27 Thread Henrik Hudson
Hey List-

Running KDE 3.5.2 fresh install and I'm having issues using sftp in a 
konqueror window. In the address bar I'm putting:
sftp://[EMAIL PROTECTED]

and all I keep getting is Authentication Failed

This works great on my Gentoo box. Is there a setting somewhere?

I don't see any errors in logs anywhere.

Using sftp from the shell works fine to the same host.

Thanks.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]
--
God, root, what is difference? Pitr; UF (http://www.userfriendly.org/)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


driver problem or HD dying /dead?

2006-04-26 Thread Henrik Hudson
Hey List-

running: FreeBSD 6.1-pre
hardware: 3ware 9550SX using the pre- twa driver in a RAID5 (3 drives + 1 
standby)

My logs starting filling up with this and I noticed the server rebooted itelf 
a few days back. Is this a driver issue or is one of the drives going south?

It looks to me to be the da0 drive (ie: the first one in the array), but I 
just wanted to make sure I'm reading this correctly.  It spits a group of 
these out about every 20 seconds.  

Thanks :)

Apr 26 23:34:37 kern.crit skie kernel: twa0: ERROR: (0x03: 0x0202): Drive 
ECC error: port=0
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): WRITE(10). CDB: 2a 
0 9 2e 4f 5f 0 0 40 0 
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): CAM Status: SCSI 
Status Error
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): SCSI Status: Check 
Condition
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): MEDIUM ERROR 
asc:11,0
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): Unrecovered read 
error
Apr 26 23:34:37 kern.crit skie kernel: (da0:twa0:0:0:0): Retrying Command 
(per Sense Data)
Apr 26 23:34:54 kern.crit skie kernel: twa0: ERROR: (0x03: 0x0202): Drive 
ECC error: port=0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): WRITE(10). CDB: 2a 
0 9 2e 4f 5f 0 0 40 0 
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): CAM Status: SCSI 
Status Error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): SCSI Status: Check 
Condition
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): MEDIUM ERROR 
asc:11,0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Unrecovered read 
error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Retrying Command 
(per Sense Data)
Apr 26 23:34:54 kern.crit skie kernel: twa0: ERROR: (0x03: 0x0202): Drive 
ECC error: port=0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): WRITE(10). CDB: 2a 
0 9 2e 4f 5f 0 0 40 0 
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): CAM Status: SCSI 
Status Error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): SCSI Status: Check 
Condition
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): MEDIUM ERROR 
asc:11,0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Unrecovered read 
error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Retrying Command 
(per Sense Data)
Apr 26 23:34:54 kern.crit skie kernel: twa0: ERROR: (0x03: 0x0202): Drive 
ECC error: port=0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): WRITE(10). CDB: 2a 
0 9 2e 4f 5f 0 0 40 0 
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): CAM Status: SCSI 
Status Error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): SCSI Status: Check 
Condition
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): MEDIUM ERROR 
asc:11,0
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Unrecovered read 
error
Apr 26 23:34:54 kern.crit skie kernel: (da0:twa0:0:0:0): Retrying Command 
(per Sense Data)

-- 
Henrik Hudson
[EMAIL PROTECTED]
--
There are 10 kinds of people in the world: Those who
 understand binary and those who don't...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD trashed after installing Win98SE in lower partition - what to do?

2005-01-07 Thread Henrik Hudson
 The questions I'm going to get to and need answers for, based on the
 details to follow are
 1) What did I do wrong(other than using an MS-operating system, that's
just a series of unfortunate events which are unavoidable)?

As a rule of thumb don't install Windows AFTER a BSD / Linux. It really could 
care less about boot partitions. Windows2000 and XP you can modify the 
bootloader to load BSD, but I don't know about Win98. It's been a LONG 
time :)

 2) Do I have any viable options other than just reinstalling at
this point (in which case, I might as well just go with 5.3
and be done with it)?

Probably your partition is still there, it just doesn't know how to get to it. 
I don't remember the specifics, but you should be able to just rebuild the 
boot MBR.

 3) Will this happen again if I need to reinstall Win98se?  What if
I install XP?  Do I need to make any adjustments to my fdisk
partitions ward off problems in the future?

In this day an age if you HAVE to have Windows, then XP is the only way to go.

 4) Is there any action I can take to help prevent others from
experiencing the pain I have just unwittingly inflicted on myself?

Install Windows first and then BSD. If you have to install afterwards, the XP 
bootloader is pretty painless if you want to have a option to boot FreeBSD 
from it.


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

There is a fine line between
fishing and just standing on 
the shore like an idiot.
  -Unknown
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel panics and reboo

2004-10-22 Thread Henrik Hudson
Morning List-

For the last 5 days or so I've been getting pernel panics, almost like 
clockwork at 3:05am with one exception at 6L20am. The message showing up in 
the syslogs is:
  panic: pmap_enter: invalid page directory pdir=0x357063, va=0xffc0

The pdir and va addresses change.  The one crash at 6am didn't have a syslog 
entry and had a different console message which I neglected to write down.

I thought perhaps some faulty memory, but this isn't the case as I replaced it 
last night and had the same problem. Okay, so I thought cron job..but the 
only running is the daily job at 3:01 and newsyslog.  The box has been up for 
about 3 months now without a hiccup. It's our SPAM  / MAIL gateway and it 
doesn't always recover nicely.

System info:
 FreeBSD 4.10 -REL
 intel Celeron chipset with 1 GB RAM
 
Open ports:
 SSH (22), Postfix (25), Bind 9.2.3 (53)

It doesn't seem like a hard drive going, but possibly the mobo? I just can't 
think of anything else besides hardware failure which would cause that to 
just start popping up???

Thanks list.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

RTFM: Not just an acronym, it's the LAW!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Linux Mozilla and Java Error?

2004-06-28 Thread Henrik Hudson
Hey List-

I'm trying to get linux Mozilla to work the linux Java SDK. Linux Mozilla 
itself works fine and have Flash plugins working, but when I symlink to the 
Java JRE (the ns610-gcc3.2 one) I get an error on starting Mozilla.

[libgcc_s.so.1: cannot open shared object file: No such file or directory]

Now indeed, said file is no where to be found on the system. Am I missing a 
port / package? Do I need a RPM from somewhere?

System Info:
4.10 REL
linux-base (rh 7) and various other dependent rpm are installed.

Both Moz and Linux Moz work just fine, I would just like to have the Java 
applets for the occasional foray onto Yahoo games :)  I could just compile 
the native Java..but thought if I'm having the problem, so might others and 
see if we can fix it.

Thanks list.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

RTFM: Not just an acronym, it's the LAW!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


socket resource / vm.zone question?

2004-05-29 Thread Henrik Hudson
Hey List-

I just installed Bind9 from ports (9.2.3) and I'm running into, I'm guessing, 
a resource issue.

i'm setting up a slave server for a master of about 770 zones. When I pull in 
all the zones for the init of the slave I start getting socket.c errors and 
48/Address already in use and failed setting up socket.

Checking the Bind9 list I found one guy who was having issues and thought it 
was a TCP_WAIT issue and he was running out of sockets. His solution was to 
lower the MSL. (sysctl shows 3 on my box..which is 30seconds???)

Now, I'm guessing I'm just running out of resources, but I can't figure out 
what one. Here is the output and some info of stuff I think is relevant :)

I'm not seeing any errors on the master.

Box: 4.10 rel with 1GB RAM connecting to the master via a cable modem 
internet.

kernel config:
maxusers 512
NMBCLUSTERS=81920

netstat -am:
67/368/327680 mbufs in use (current/peak/max):
65 mbufs allocated to data
2 mbufs allocated to packet headers
64/160/81920 mbuf clusters in use (current/peak/max)
412 Kbytes allocated to network (0% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

netstat -an | grep TIME_WAIT | wc -l:
first error at  70
max: 266

sysctl vm.zone:
ITEMSIZE LIMITUSEDFREE  REQUESTS

PIPE:160,0,  6, 96, 8444
SWAPMETA:160,   126419,  0,  0,0
unpcb:   160,0,  9, 41, 1386
ripcb:   192,81920,  0, 42,   24
syncache:160,15359,  0, 51,   63
tcpcb:   576,81920,279, 19, 7395
udpcb:   192,81920,  7, 35,  158
socket:  224,81920,295, 34, 8965
KNOTE:64,0,  1,127,   62
DIRHASH:1024,0,222,  6,  244
NFSNODE: 352,0,  0,  0,0
NFSMOUNT:544,0,  0,  0,0
VNODE:   192,0,  17855, 59,17855
NAMEI:  1024,0,  0, 16,   304455
VMSPACE: 192,0, 28,100,11434
PROC:416,0, 34, 64,11455
DP fakepg:64,0,  0,  0,0
PV ENTRY: 28,  2158060,  13370, 244460,  2488400
MAP ENTRY:48,0,514,294,   251353
KMAP ENTRY:   48,64580,140,158,12462
MAP: 108,0,  7,  3,7
VM OBJECT:92,0,   9252,   2268,   156118


The socket line is about the only one I can see that seems to approach 0 free. 

/etc/sysctl.conf:
#maxfiles open
kern.maxfiles=32768
kern.maxfilesperproc=32768

#number of listening network conns (default 128)
kern.ipc.somaxconn=1024

#keeps connections open and checks them for disconnects
net.inet.tcp.always_keepalive=1  note: i tried 0 here too)

#last open port to be used by the system
net.inet.ip.portrange.last=1  (note: tried this too)


I'm kind of stumped :)

Thanks for any pointers or ideas.


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

RTFM: Not just an acronym, it's the LAW!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Router question

2003-12-03 Thread Henrik Hudson
On Wednesday 03 December 2003 18:21,
Bryan Cassidy [EMAIL PROTECTED] sent a missive stating:

 Hello everyone. Hows everyone doing tongith/today? Well, I'm taking a
 week off of work and thought I would read up on Security/Networking and
 anything else to do with making my system/webserver secure. I am going
 to Best Buy (ya i know, but it's the only computer related store in this
 shitty town so.) to buy a router and was just wanting to see what people
 could recommend on which ones are good. I've nver really gotten into
 this kinda thing before but want to learn. Will there be anything extra
 that I should get while I'm at the store? Cables etc? I only have one pc
 is there any point in having a router with one pc? Any links to how to
 set this up on FreeBSD? Thanks in advance.

If you're really in a learning mood...hit up some friends for an old PII or 
junker lying around, throw 2 NICs in it and viola.. a router :) Probably a 
little harder to config then a Linksys you would find at BestBuy..but 
infinitely better :) Throw some big HD's in there and you have yourself a 
nice file server / backup server

You'll realy be able to tweak it and learn much more about security, etc... 
plus nmapping your own boxes is always fun and won't get you in trouble :)

My .02

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: Questions about updating...

2003-12-03 Thread Henrik Hudson
On Wednesday 03 December 2003 17:39,
rotten rottie [EMAIL PROTECTED] sent a missive stating:

 1) if there are two trees(lack of better words) why would ssh exist in
 both
 the system tree and the ports tree ? Wouldnt it be better to have it in
 the
 ports tree ?

Ports are not installed by default and SSH is somewhat necessary to a system 
these days so it's in the base system or so my opinion lies. As for it being 
duplicated in the ports system..some people need to run different versions, 
etc... so that's why they're there.

 2) I have used gentoo in the past and am curious if there is something
 simular to emerge -up world/system -- I would like to cvs the ports/sys
 and
 then be able to see if anything need upgrading .. is this possible ?

Yes, CVS your src tree (/usr/src) and them run the make world, etc.. stuff. 
See the handbook for details:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

is a good place to start.

 3) Say there was a update to openssh .. which would be the proper way to

 update .. sync the sys tree and then just update ssh .. or sync the tree
 and
 recompile the system ? or remove the sys version and install the port
 version and update the port ?

The proper way, I don't know. You can syn the source tree and rebuild or 
just patch your current source tree. Either way should work. Yes, you can 
just upgrade the port as well if you're already running a ports version.

 I am very happy with freebsd .. Im still in the exploring stage .. The
 reasons for my questions is that I am a little weary of using freebsd in
 production if I dont easily know when updates are avail, having to
 recompile
 the system everytime I need a patch for a service.

Keep on top of freebsd-security and freebsd-security-advisories lists and you 
will be aware of all kernel type security holes and other vulns. Keep an eye 
on other mailing lists to see holes for more userland apps, etc... Gentoo 
does it pretty slick with their emerge sync; emerge -u world  ..but sometimes 
it updates stuff you don't really need or want to upgrade at the moment.

Probably missed a few things :)

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: Windows XP

2003-11-11 Thread Henrik Hudson
On Tuesday 11 November 2003 15:34,
Eric Greene [EMAIL PROTECTED] sent a missive stating:

 Hello.  I would like to learn to use FreeBSD.  I would also like to have
 the ability to choose between either Win XP Pro and FreeBSD upon starting
 up my system.  I do have 2 40GB hard drives, plus Partition Magic if I
 need.  My plan at the moment is to simply have Win XP Pro on one hdd, and
 FBSD on the other.

 Ok what I would like to know is this:  should I install FreeBSD first?  Or
 Win XP first?  I am thinking I better not install FreeBSD first because I
 doubt that WinXP's setup would recognize FreeBSD as a 2nd. O.S. on my
 system when installing (thereby not providing the ability to choose an O.S.
 on startup).

 Any suggestions?  My hardware should all be compatible to use FreeBSD.

Yeah, install XP first and then stick BSD on there. The boot manager from BSD, 
although not very elegant, will let you choose XP or BSD on startup. You can 
setup XP's to boot another OS as well, but it's more difficult.

One OS per drive should work fine as well. Have fun.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: Booting without keyboard.

2003-10-06 Thread Henrik Hudson
On Monday 06 October 2003 08:16, Mike Jackson wrote:
 ext [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
  Hi,
 
  I have recently installed FreeBSD 4.8-RELEASE-p10 on a Intel SE7501WV2
  board. I am using a PS2 keyboard without mouse. It works fine. However,
  when i boot without the keyboard plugged into the system, it is not able
  to accept the keyboard when i plug in later.
 
  Is there a way to turn the keyboard always 'on' so that i can get it to
  work whenever i plug it in after the system is up and running.

Yes, there is. In your kernel, find the line:
device  atkbd0  at atkbdc? irq 1

the default kernel has a flag x or something after the 'irq 1' . Delete the 
flag portion and its argument, recompile and reboot and then the ps2 keyboard 
will always load.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: PPP, LAN and Newbie Frustration.

2003-09-02 Thread Henrik Hudson
On Tuesday 02 September 2003 07:37, Michael Vondung wrote:
 Hello!

Morning :)

 - I get a dynamic IP address whenever I connect to the ISP and I don't know
 this address before I connect.

This is fine, unless of course you were planning on running a 
mailserver/webserver/someserver for the outside world to see and then you can 
either play with some of the dynamic DNS services available or your S.O.L.

 - I do not have a local DNS/nameserver. I understand that I can set one up
 locally, but that I would need my ISPs nameserver IP for this.

Yes, you can setone up and you don't need the ISP nameservers since your DNS 
server will query down to the root level for you, but it is more polite to 
ask your ISP nameservers first for info. For starters, since you're running 
only 2 machines I would just use your ISP nameservers on both boxes and not 
run a DNS server locally.

 Also, how
 would this help me if the host configuration is done before a PPP
 connection is established? Ideally, in addition, I'd like to use different
 ISPs.


Different ISPs all the time or just switching now and again?

 - I am uncertain if it is all right that the host names of these two
 machines are fictive. With the old setup, both use system.mshome.net
 (something Windows assigns, I didn't choose this.) Is it acceptable to use
 something made up? (Let's say I own example.org and name the boxes
 freebsd.example.org and xp.example.org, would this be all right even though
 the machines have 192.x.x.x IP addresses and don't really exist as far as
 the outside world is concerned?)

I prefer setting up something like:  boxname.int.domain.com   (int = internal) 
and yes, you can name them anything you like since you aren't broadcasting to 
the world and are in private space. The 2 machines should have different 
names however. Another issue, unless you are running an internal DNS server 
or add the info to the hosts file (yes, XP has a hosts file as well..just a 
well hidden one) you won't be able to actually use the names to get from one 
box to another. IPs only.


 - I noticed that after setting up PPP, FreeBSD will automatically establish
 a PPP connection at boot time. It will only use the papchap
 configuration, and fail if I rename this entry. The problem is that the
 only change I made to anything but /etc/ppp/ppp.conf is that I added
 ppp_enable=YES to /etc/rc.conf. Where does it get the idea from to use the
 papchap entry in ppp.conf?

My PPP is really rusty..sorry. Check the ppp man page and/or the ppp.conf man 
page. or look in /etc/defaults/rc.conf for any default settings related to 
ppp.conf

 - I am in the dark when it comes to configuring the XP side. This is
 off-topic here, but if anyone has an idea, I'd be grateful for the
 assistance. The wizard allows for two modes: XP being the machine
 connecting to the 'net, and XP using another machine's connection. It
 doesn't actually ask for any IP addresses, or lets me assign any IP
 addresses (it picks 169.x.x.x for itself when I make it a client). How
 does one configure this manually? (I never thought I'd see the day where I
 actually *want* textual configuration files -- but three months with
 FreeBSD changed this fundamentally.)

Don't use the wizard :) Right-Click on Network Neihborhood and select 
Properties (or go through to Network via the Control Panel) and then click 
around in there. I don't use Windows and don't have access to an XP box at 
all, so I'm a little fuzzy. I would assign IPs manually at first.

Not a lot of detailed help..sorry...I haven't setup a PPP connection in a LONG 
time.


Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: Can not rmdir

2003-08-22 Thread Henrik Hudson
On Friday 22 August 2003 14:00, Edouard Saksonov wrote:
 Hi,
 I've just installed FreeBSD 5.1, everything is fine, but when I wanted to
 remove a directory(with only one file in it), the system do not want to do
 that: When I type

 rmdir -p dir_name,  it gives me as an output :
 rmdir: dir_name: Directory not empty

 When I try

 rmdir -rf dir_name,  it gives me as an output :
 rmdir: illegal option --r
 usage: rmdir [-p] directory ...


And if you don't want it to prompt you, do:
rm -rf dir_name

Be careful though..this can and will wipe your whole system if you 
accidentally type:
rm -rf /   and then tap the enter key :) and yes, I've done it both on 
purpose to see what happens and not on purpose. The former is kinda cool, the 
latter makes you say a few choice words.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: POP3 user configuration

2003-08-19 Thread Henrik Hudson
On Tuesday 19 August 2003 10:45, yo _ wrote:
 I'm setting up a POP3/SMTP server (going to use qpopper/sendmail) for my
 community computer access center and i have little experience setting up a
 pop3 server (i have more experience setting up a private smtp relay
 server).

 My primary question is how can i set up user accounts strictly for POP3
 access without shell access, or even without the home directory set up. I
 was wondering if maybe (luckily and convieniently) adduser had an option
 for easy pop3 user set-up, but i didn't find any, then i thought that maybe
 i'd make a shell script to do all the restrictions automatically.

 I was also wondering if anyone knew how to do that check first/send after
 bit where users must first check their pop3 mailboxes before using the SMTP
 server to send mail out (i want to prevent just anyone from the internet
 from using the SMTP server). Any more comments/suggestions would also be
 greatly appreciated. Thank all of you in advance!

 -Rian Hunter

Hey Rian-

IN order to not have system accounts, you should look into virtual mailboxes. 
I would personally recommend going with this setup:

PostFix as the SMTP agent
Courier IMAP as the IMAP, plus POP server
MySQL as the virtual information store

some docs I got from Google:
http://www.high5.net/howto/
http://www.postfix.org/docs.html  also has some good stuff

The POP before send is a SASL setup, although I have never tried setting that 
up since I only mail from my internal network and don't need that.

Hopefully that's gets you going in the right directions.

Henrik
-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy

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


Re: FreeBSD and GRUB?

2003-07-02 Thread Henrik Hudson
On Wednesday 02 July 2003 03:49, Christian Laursen wrote:
 Henrik Hudson [EMAIL PROTECTED] writes:
  I installed Grub from ports (cvsup'ed from tonight) and can't quite get
  her working.
 
  I am running 4.8rel.
 
  I copied in the various *stage file into /boot/grub . I created a
  grub.conf and sym-linked menu.lst to it and made everything 444.

 Try having the real file be /boot/grub/menu.lst and make /etc/grub.conf a
 symlink to that.

 Personally I don't have any grub.conf and it works fine without it.

 Grub has very little chance to follow a symlink to another partition in the
 boot environment.

Yup. That worked. On my Gentoo box it has the symlink, so didn't think that 
would hurt here :) Thanks.

-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Downloading FreeBSD 4.7

2003-07-02 Thread Henrik Hudson
On Wednesday 02 July 2003 11:55, Nowman wrote:
 Hello,
 Will you please let me know any website to download the FreeBSD version
 4.7. I really appreciate your response. I went to the freebsd.org to
 download but it asks for the password for ftp. I tried USA and UK sites.

Any reason you aren't using 4.8? That's the current release.

What are you using for an FTP client?  ftp.freebsd.orgshould let you in
using the anonymous user.  You can also order a CD set if you want from
www.freebsdmall.com


Henrik
--
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.'
--Hitchhikers Guide to the Galaxy


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


Re: Converting Linux passwd to FreeBSD

2003-06-09 Thread Henrik Hudson
Depending on the hash algorithm used you might not have to do anything except 
change some UIDs. Is 5.1 still using MD5 as default? and is your Linux using 
MD5 as default in the shadow file?

Henrik

On Monday 09 June 2003 19:37, Scott St. John wrote:
 After spending a year converting my ISP to Linux I have had enough and am
 ready to come back home to FreeBSD.  The ips driver in 5.1 also helps
 since I am running IBM Netfinity's.

 Is anyone familiar with a tool to convert my Linux passwd files to FreeBSD
 so I don't have to manually recreate the accounts?

 Thank you,

 -Scott

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

-- 
Henrik Hudson
[EMAIL PROTECTED]

`If there's anything more important than my ego
around, I want it caught and shot now.' 
--Hitchhikers Guide to the Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW firewall rules not complete

2003-03-20 Thread Henrik Hudson
On Thursday 20 March 2003 13:38, W. J. Williams wrote:
 I am experimenting with IPFW firewalls and have hit a roadblock.  I am
 trying to allow ssh, mail, dns requests, pings and traceroutes out, but
 not in.  I am hitting a roadblock on mail and pings out

Assuming that 192.168.0.0/29 is your internal block you've got the rules 
backwords.

  add 2000 allow tcp from any to 192.168.0.0/29 22,25,1 setup

This will let anything come in and establish a connection to a service running 
on 22, 25, 1 but says nothing about outgoing. I think you want:

add 2000 allow tcp from 192.168.0.0/29 to any 22,25,1 setup


Henrik
-- 

Henrik Hudson
[EMAIL PROTECTED]

You know, Hobbes, some days even my lucky
rocket ship underpants don't help.  Calvin

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


Re: IPFW firewall rules not complete

2003-03-20 Thread Henrik Hudson

 I am experimenting with IPFW firewalls and have hit a roadblock.  I am
 trying to allow ssh, mail, dns requests, pings and traceroutes out, but
 not in and webmin (port 1).  I am hitting a roadblock on mail and
 pings out.  Hope someone can help me...I am new to this and don´t
 understand firewall rules syntax fully.  I have funded my own lab to
 experiment with this fun and powerful stuff...


Did you setup NAT and IPDIVERT in your kernel?

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

Even though you have 2 private networks, you still need to run NAT accross 
those subnets or add static routes to your DSL modem, otherwise any traffic 
coming back in from the DSL modem won't know where to go to find the fxp1 
network.

Check out the handbook, it should work for you.

-- 

Henrik Hudson
[EMAIL PROTECTED]

You know, Hobbes, some days even my lucky
rocket ship underpants don't help.  Calvin

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


Re: I Need Details To Dual Boot Windows XP and FreeBSD

2003-03-18 Thread Henrik Hudson
On Tuesday 18 March 2003 02:34, Makaveli The Don wrote:
 How do I dual boot windows xp and FreeBSD? Can someone give me a detailed
 explanation of steps to take?

 I have a 40gig hard drive. I don't want to destroy my current installation
 until I have the details down.  I eventually don't mind destroying my
 current installation of windows XP.

 So far, this is what I have figured out:
 1. Fdisk the hard drive to destroy current installation.
 2. Install windows XP on a 20gig hard drive (or however much I choose).
 3. Install FreeBSD...

 That's all I know.

 I need the details for the rest, such as:  when I get to the FreeBSD
 bootloader options what do I choose?

 Basically, as much information (details) as you can provide I would greatly
 appreciate.

 Thank you very much.

 -Bishop

 _
 Add photos to your messages with MSN 8. Get 2 months FREE*.
 http://join.msn.com/?page=features/featuredemail


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

Hey Bishop-

For the most part, if you can install them seperately on the system it's the 
same thing to do a dual-boot. You have them in the correct order as well, XP 
first and then BSD. You can use XP's installer to wipe the drive to, just 
make sure to set your size right and not use the whole drive, ie: 20GB like 
you said.

I always do a Custom BSD install, so I don't know the steps in the other 
screens at all :) The only biggy is that when you are done setting up your 
partitions you want to pick install Boot Manager . BSD is pretty good at 
noticing other partitions and then upon a reboot you will get displayed a 
list of choices:

F1  ???  for the first partition
F2  FreeBSD to go into your BSD installation

It will remember the last one you picked and set that to the default.

Hope that helped.

Henrik
-- 

Henrik Hudson
[EMAIL PROTECTED]

You know, Hobbes, some days even my lucky
rocket ship underpants don't help.  Calvin

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


Re: FreeBSD 5.0 and GeForce MX400

2003-03-18 Thread Henrik Hudson
On Tuesday 18 March 2003 18:26, art Miod wrote:
 Hi!
 I have GeForce MX400 video card...
 And I can't run X under FreeBSD 5.0 ...
 (I thing that it is problem which driver)
 What can I do in thid situaction to have X ???
 Thank you.

Are you trying to install the nvidia drivers or using the stock X drivers? 
What errors are you getting?


Henrik
-- 

Henrik Hudson
[EMAIL PROTECTED]

You know, Hobbes, some days even my lucky
rocket ship underpants don't help.  Calvin

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


boot0cfg?

2003-03-18 Thread Henrik Hudson
Hey List-

Somewhat in reference to the previous dual-boot question..I'm trying to figure 
out how to modify the boot0  to I can change the 

F1  

to something like:

F1  Windows

or whatever :)

I read the man page for boot0cfg and although that seems to be able to install 
boot0 into various places, it doesn't seem to let one modify what boot0 
displays???

Thanks.


Henrik
-- 

Henrik Hudson
[EMAIL PROTECTED]

You know, Hobbes, some days even my lucky
rocket ship underpants don't help.  Calvin

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


Re: Newbie question about apache

2002-07-25 Thread Henrik Hudson

Userland startup scripts (ie: the ones created by the admin) go in:
/usr/local/etc/rc.d

Create a shell script, for this example: apache.sh  and then chmod 755 it.

Note: The files HAVE to be called something.sh and they HAVE to be chmod 755   
otherwise they don't work.

Note: Use the apachectl script to start and stop apache. Just had a thought.. 
I haven't used Apache 2 yet..so don't know if this will work..but I do the 
below for Apache 1.3 ... so it should be something similar

In the file do something like this:
START SCRIPT EXAMPLE

#!/bin/sh
#Script for starting and stapping apache
#Grab our command
mode=$1# start or stop

case $mode in  
  'start')
# Start daemon
/path/to/apachectlscript/apachectl start  
;;  

  'stop')
#Stop daemon
/path/to/apachectlscript/apachectl stop

;;   

  *)

# usage
echo usage: $0 start|stop
exit 1
;;
esac


END SCRIPT EXAMPLE

Hope that helps :)

Henrik

On Thursday 25 July 2002 03:27, Erik Mattsson wrote:
 Hi

 I've just installed the apache2 from /usr/ports/www, and I want this to run
 everytime when I reboot the machine. How do I do it?

 Ive also installed tomcat4.0 and want it to run at boot time as well, BUT
 how do i force it to run as the www user?

 //erik
 -
 Erik Mattsson

 imBridge AB
 Vasaplatsen 8
 SE-411 34 Göteborg

 Phone: +46-31-138310
 Mobile: +46-733-174116
 www.imbridge.com


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

-- 

Henrik Hudson
[EMAIL PROTECTED]

Note:  Beware of Dragons - Thou art crunchy and taste good with ketchup.


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



Re: GNUtella client for FreeBSD?

2002-07-23 Thread Henrik Hudson

I use GTK-Gnutella myself. Works great and doesn't crash. I tried using qtella 
as well which looks nicer, has a few more config options but it crashed on me 
now and again

On Tuesday 23 July 2002 12:22, Jason Porter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I know there's a few of them in the ports collection, but which one
 works best?  I tried installing Limewire from the website and it
 requires a bit more configuring than I care to do right now.  Thanks guys.

 - --
 - -Jason Porter

 Real programmers are secure enough to write
 readable code, which they then self-righteously
 refuse to explain.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQE9PZDwYV2rputn/eARAkXTAJ9aYUednqAwH+iAHU4bTydBvdzPvQCgv+9Q
 5B5g6wMoUwLIEung3eTjA58=
 =XDNg
 -END PGP SIGNATURE-



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

-- 

Henrik Hudson
[EMAIL PROTECTED]

Note:  Beware of Dragons - Thou art crunchy and taste good with ketchup.


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