Why does CD ripping fail?

2013-08-19 Thread Ben Laurie
Using grip, trying to rip a CD, I get:

(cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB size to
10 bytes
(cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
(cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich3:0:0:0): SCSI status: Check Condition
(cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in
CDB)
(cd0:ahcich3:0:0:0): Command byte 2 is invalid

and no audio data is ripped. Unsure what changed, because this used to
work, which is a little frustrating. I think I updated ports since it last
worked.

TOC works, btw.

Running 9.0-RELEASE.
___
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: Why does CD ripping fail?

2013-08-19 Thread Ben Laurie
On 19 August 2013 09:15, Rares Aioanei bsdlis...@gmail.com wrote:

 On Mon, 19 Aug 2013 05:35:48 -0400
 Ben Laurie b...@links.org wrote:

  Using grip, trying to rip a CD, I get:
 
  (cd0:ahcich3:0:0:0): MODE_SENSE(6) failed, increasing minimum CDB
  size to 10 bytes
  (cd0:ahcich3:0:0:0): MODE SENSE(10). CDB: 5a 0 e 0 0 0 0 0 20 0
  (cd0:ahcich3:0:0:0): CAM status: SCSI Status Error
  (cd0:ahcich3:0:0:0): SCSI status: Check Condition
  (cd0:ahcich3:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid
  field in CDB)
  (cd0:ahcich3:0:0:0): Command byte 2 is invalid
 
  and no audio data is ripped. Unsure what changed, because this used to
  work, which is a little frustrating. I think I updated ports since it
  last worked.

 Those usually indicate hardware issues. I'd start by checking
 connectors, cables and the like and go on from there.


Even though I get the TOC? This seems a little unlikely...
___
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


Touch screen support in 9 Release

2013-07-06 Thread Ben Paley
Hello,

My employer is going to replace my aging laptop soon. We've always used Macs at 
work but I'd kinda like to get back to FreeBSD. His criteria are Windows 8 and 
a touch screen, mine is decent FreeBSD support.

So, what is the state of support for touch screens at the moment? Most if the 
information I can find is from four or five years ago, and I can't seem to find 
out what's going on now.

And, any recommendations for a machine? I'd be using it primarily for web 
development. 

Thanks for your help,
Ben
___
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: Installing 9.1 without re-partitioning hard drive

2013-03-14 Thread Ben Cottrell
Lee,

Are you using DOS-style or GPT partitions? I'm assuming DOS-style,
and the rest of this email is only correct if that's the case, so
correct me if I'm wrong.

There's actually two partition tables at work here -- the big one,
that lives at the start of the physical disk and divides up the
FreeBSD from the Windows.

Inside the FreeBSD slice (slice, partition, same thing, but just
to be clear, call it a slice) there's going to be *another* partition
table, to divide up the FreeBSD partitions amongst themselves. At a
bare minimum you're going to have two partitions (which are really
sub-partitions at this point), root and swap. Maybe even more.

So it seems to me like, if you can get to the point where the
FreeBSD installer recognizes the slice you've set aside for it, as
its own, then you can let it rewrite the partition table *inside
that slice* as much as it wants to. OK? Make sense?

You just don't want it to touch the *outer* one.

I honestly don't know enough about how the boot blocks work to
know if that's going to work, in the end. You might still end up
having to say yes to let it install FreeBSD boot blocks -- I don't
know.

But it seems to me like a prerequisite, in any case, is going to
be to set the FreeBSD partition to partition type 165, so that
the installer will recognize it as a FreeBSD slice. Is it already
partition type 165? If not, can you make it type 165 and see if
that changes anything?

~Ben
___
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: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 10:37, Fbsd8 fb...@a1poweruser.com wrote:
 day light saving time happened early sunday morning and the time shown by the 
 date command is still one hour behind. I just did a clean 9.1 install from 
 cdrom and selected the correct time zone for my location.

The DST change worked fine for me...!

I'm curious what it prints if you run the command:

find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
/etc/localtime`

It used to be that /etc/localtime was, by convention if
nothing else, a symlink so you could easily see what it pointed
to, but not anymore... the above is the easiest way I can think
of to figure out what time zone your system is *really* set to.

Yes, it should have happened automatically. There's no special
setting you have to enable. It should have just worked. So
my suspicion is that your /etc/localtime isn't pointing to
what you think it's pointing to...

~Ben
___
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: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 14:50, Fbsd8 fb...@a1poweruser.com wrote:
 # /root find /usr/share/zoneinfo -type f -print | xargs md5 | grep `md5 -q 
 /etc /localtime`
 MD5 (/usr/share/zoneinfo/America/New_York) = e4ca381035a34b7a852184cc0dd89baa

That's really, really odd. I'm confused.

If you run date does it show the time zone as EST or EDT? If you
have python installed, you might also try:

python -c 'import time; print time.localtime().tm_isdst'
(it should be 1)

Is the year correct? I mean, could it be thinking it's some different
year, where the time zone rules are different?

Now *I'm* curious. :-) I've honestly never seen a system do that
before. If you figure it out, I hope you'll let either me, or the
list, know what it was!

~Ben
___
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: [Bulk] Re: day light saving time happened today

2013-03-10 Thread Ben Cottrell
On Mar 10, 2013, at 19:18, Fbsd8 fb...@a1poweruser.com wrote:
 What is really needed is for the tzsetup program to state which east coast 
 selections have day light saving included. Maybe a pr is in order.

Nope, you pretty conclusively proved that you're using the right
time zone setting. Trust me. :-) That md5 you posted is the exact
same md5 that's on my own system. My own America/New_York is
doing just fine, thank you. ;-)

Something else is going on. *What*, I don't know. But you chose
the right time zone in tzsetup and that time zone description
file definitely does have DST rules in it.

I never use the wall_cmos_clock setting, because I don't trust
it -- at least with the traditional behavior (wall_cmos_clock=0)
I know *exactly* what's going on. I really don't know what is
happening under the hood when that's turned on, so I have no
idea if it could be related or not. But I'm curious what
it shows if you run:

sysctl machdep.wall_cmos_clock

~Ben
___
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: how to forbid a process to use swap?

2013-03-09 Thread Ben Cottrell
On Mar 9, 2013, at 15:55, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I run a program that uses large arrays.
 I don't want it to use swap, because it's
 too slow. I want the program to fail when
 there's not enough RAM, rather than using
 swap. How to do this?

If it were me I would start with mlockall() and work from there...
do you have source code to the program in question?

You could also play with resource limits, just from the shell
(ulimit in sh, limit in csh) -- but that's less of an exact
science, since you don't *know* for sure how much memory the
process will be able to use before swap starts being used.

~Ben
___
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: Confused by restore(8) man page example

2013-03-04 Thread Ben Cottrell
On Mar 4, 2013, at 01:47, Ronald F. Guilmette r...@tristatelogic.com wrote:
 All I see is a pre-existing BSD partition being explicitly newfs'ed and
 then mounted, followed by some stuff being restored to that (clean)
 BSD partition from whatever is currently sitting on the tape drive
 called /dev/sa0.
 
 So?  What possible problem could derive from merely that?  I don't see
 any.

I guess the same text in the man page could be read several
different ways! The way I read it (which may or may not be
correct) is that the example given is an example of how to
use it *correctly*. It sounds to me like it's warning against
deviating too far from the steps given in the example.

I can see as how the text might allow other interpretations,
though!

~Ben
(who is always careful to avoid using out-of-range values
 with mktime() when setting up lunch with promptness sticklers
 in Riyadh...)
___
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: Fat Fingered An 'rm -rf' of Important Files

2013-02-27 Thread Ben Cottrell
On Feb 27, 2013, at 19:08, Joseph A. Nagy, Jr jnagyjr1...@gmail.com wrote:
 If we can skip the finger wagging on that part I'd appreciate it.

No finger-wagging from this quarter at least!

Something I've sometimes done to retrieve text content is to run a
strings on the disk device (the thing in /dev). You obviously want
to redirect the strings output to someplace that's *not* on the same
filesystem, or it'll be overwriting what you're trying to recover!

It's usually possible, through searching for key words and phrases,
to get back any text content that you know was there.

Sorry! And... good luck!!

~Ben
___
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: using AWK

2012-12-17 Thread Ben Cottrell
Hi Jack,

On Dec 17, 2012, at 03:39, Jack Mc Lauren jack.mclau...@yahoo.com wrote:
 How can I read a file which contains a number and assign that number to
 a variable via awk programming? By the way, I want to use this awk program
 in a shell script.

I'm actually not sure what you're asking, exactly -- you want the number
to go into an awk variable? Or a shell variable?

Assuming you want it to go into an awk variable, I would try something
like this:

getline my_number  filename;
close filename;

That assumes the filename is stored in the variable named filename.
It puts the number in the awk variable named my_number.

To put that in context, let's say you're getting the filename from $0,
and you want to multiply the number by 2 and print it. You might do:

filename = $0;
getline my_number  filename;
close filename;
print my_number * 2;

Or if I completely misinterpreted your question, let me know :-)

~Ben
___
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: using AWK

2012-12-17 Thread Ben Cottrell
On Dec 17, 2012, at 04:22, Jack Mc Lauren jack.mclau...@yahoo.com wrote:
 This is what i wrote:

OK -- I'm adjusting my assumptions about what you're trying to do. :-)
Bear with me:

 #! /bin/sh
 
 filename=$0

So (a) there's only one input file, not multiple... and (b) it should
come from the command line of the shell script wrapper. Right?

 awk 'getline no  filename; print no'

If there's only one input file, then this is super easy and you
don't even need any of the getline or close stuff. Try:

filename=$1
awk '{no = $0; print no;}' $filename

In the shell script context (outside the awk), $1 refers to the first
command line parameter of the script. You don't want $0 there.

On the other hand, *inside* the awk part, dollar-sign variables have
a completely different meaning. $0 in *awk* (not sh) means the entire
contents of each line of the input file. So if your file had multiple
lines, that block would run multiple times. But since I'm guessing your
file only has one line (that being the number in question), the awk
block will only run once.

~Ben
___
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


Different take on old FAQ: multihoming and source-based routing

2012-09-01 Thread Ben Cottrell
Hi everyone,

I've been doing a lot of google searching recently for variants of
freebsd source-based routing to look for how to get a dual-homed
FreeBSD machine to send to the correct default gateway based on the
source address of the packets it's expecting that gateway to pass along.
You can't send a packet with a Comcast source address to the ATT
default gateway and expect it to actually make it out onto the public
internet, etc.

Universally, the posts I've been finding that discuss this always
recommend creating multiple routing tables with options ROUTETABLES=...
which I wasn't willing to do, because my wild youthful kernel-recompiling
days are over -- these days I like the advantages that come with using a
pure GENERIC kernel. :-)

So, today I tried the following /etc/pf.conf:

 if = bge0
 v4_addr_1 = 173.228.91.225
 v4_net_1 = 173.228.91.0/24
 v4_gw_1 = 173.228.91.1
 v4_addr_2 = 50.193.24.82
 v4_net_2 = 50.193.24.80/28
 v4_gw_2 = 50.193.24.94
 
 pass out quick on $if route-to ($if $v4_gw_1) inet from $v4_addr_1 to 
 !$v4_net_1 no state
 pass out quick on $if route-to ($if $v4_gw_2) inet from $v4_addr_2 to 
 !$v4_net_2 no state
 #pass out quick on $if route-to ($if $v6_gw_1) inet6 from $v6_addr_1 to 
 !$v6_net_1 no state
 
 pass all no state

I guess my setup is a bit simpler than the norm because I only have
one physical interface, that both networks are on. But... by Jove,
it seems to be working!

Is there something I'm missing? Is this going to break in some subtle
edge case that I'm just not seeing?

If it really is this simple, why does everyone keep recommending
the options ROUTETABLES approach?

Thanks,

~Ben___
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


Using kqueue with 2 threads

2012-04-10 Thread Ben Short
Hi,

I'm trying to use a kqueue to listen for VNODE events on a worker thread. I
want new events  to be registered with the kqueue by a separate thread.

I have been referring to this example [URL=
http://doc.geoffgarside.co.uk/kqueue/file.html;]
http://doc.geoffgarside.co.uk/kqueue/file.html[/URL]

Here are the relevant parts of code as it is at the moment.

In my worker thread:

[CODE]std::cerr  Started worker  std::endl;

struct kevent ke;
int i;

while ( !mStopRequested ) {

memset(ke, 0x00, sizeof(kevent));

i = kevent(kq, NULL, 0, ke, 1, NULL);
if ( i == -1 ) {
std::cerr  kqueue produced error:   strerror(i) 
std::endl;
continue; // todo is this the best thing todo?
}

std::cerr  Beep:   i  std::endl;

}

std::cerr  Shutting down worker  std::endl;[/CODE]

Other thread

[CODE]int fd = open(fileName.c_str(), O_RDONLY);
if ( fd == -1 ) {
std::cerr  Failed to open file:   fileName   Error:  
strerror(errno)  std::endl;
// todo throw exception
}

struct kevent ke;

EV_SET(ke, fd, EVFILT_VNODE, EV_ADD, NOTE_DELETE | NOTE_RENAME |
NOTE_EXTEND, 0, NULL);

if (kevent(kq, ke, 1, NULL, 0, NULL) == -1) {
std::cerr  kevent produced error:   strerror(errno) 
std::endl;
}[/CODE]


When I run my code the kevent call in the worker code doesn't block at all.
Any ideas what I'm missing? or if what I want to do is even possible?

Ben
___
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: Using kqueue with 2 threads

2012-04-10 Thread Ben Short
I have put together the following example and can still see the problem.
Once the file is written to extended is printed every second. If I remove
the sleep then it prints a whole lot more. So it seems that the call to
kevent in the worker_thread method blocks until the file is written to then
it returns the same event straight away on every call.

Is this expected? Am I meant to clear the event some how?

#include cstdlib

#include iostream

#include sys/stat.h
#include sys/errno.h
#include iostream
#include fstream
#include cstring
#include stdio.h

#include sys/types.h
#include sys/event.h
#include sys/time.h
#include stdio.h
#include fcntl.h

using namespace std;

struct wrapper {
int kq;
};

static void* worker_thread(void* obj) {

int kq = ((wrapper*)obj)-kq;

std::cerr  Started worker  std::endl;

struct kevent ke;
int i;

while ( 1 ) {

memset(ke, 0x00, sizeof(ke));

i = kevent(kq, NULL, 0, ke, 1, NULL);
if ( i == -1 ) {
std::cerr  kqueue produced error:   strerror(i) 
std::endl;
continue; // todo is this the best thing todo?
} else if ( i == 0 ) {
std::cerr  kqueue time limit expired  std::endl;
continue;
}

if ( ke.filter == EVFILT_VNODE ) {

if ( ke.fflags  NOTE_DELETE ) {
std::cerr  delete  std::endl;

break;
} else if ( ke.fflags  NOTE_RENAME ) {
std::cerr  rename  std::endl;
} else if ( ke.fflags  NOTE_EXTEND ) {
std::cerr  extended  std::endl;
} else {
std::cerr  some other fflags  std::endl;
}

} else {
std::cerr  some other filter  std::endl;
}


sleep(1);

}

std::cerr  Shutting down worker  std::endl;

return 0;
}

void writeToFile(std::string fileName, std::string key, std::string value) {

std::fstream registryEntry;

registryEntry.exceptions(std::ifstream::failbit |
std::ifstream::badbit);

try {

registryEntry.open(fileName.c_str(), std::ios::out |
std::ios::binary);

size_t keyLength = key.length();

registryEntry.write((char*)keyLength, sizeof(size_t));

registryEntry.write(key.c_str(), key.length());

size_t valueLength = value.length();

registryEntry.write((char*)valueLength, sizeof(size_t));

registryEntry.write(value.c_str(), value.length());

std::cout  Set entry with key:   key  std::endl;

} catch (std::ifstream::failure e) {
// todo throw exception
std::cerr  Failed to set registry entry. Error:   e.what() 
std::endl;
}

registryEntry.close();

}

void test2() {

int kq = kqueue();

if ( kq == -1 ) {
std::cerr  Failed to create kqueue. Error:   strerror(errno)
 std::endl;
return;
}

pthread_t worker;

wrapper wrap;
wrap.kq = kq;


if ( pthread_create(worker, 0, worker_thread, wrap) != 0 ) {
std::cerr  Failed to create listener thread. Error:  
strerror(errno)  std::endl;
}

int fd = open(/tmp/tt, O_RDONLY);
if ( fd == -1 ) {
std::cerr  Failed to open file:   /tmp/tt   Error:  
strerror(errno)  std::endl;
// todo throw exception
}

struct kevent ke;

EV_SET(ke, fd, EVFILT_VNODE, EV_ADD, NOTE_DELETE | NOTE_RENAME |
NOTE_EXTEND, 0, NULL);

if (kevent(kq, ke, 1, NULL, 0, NULL) == -1) {
std::cerr  kevent produced error:   strerror(errno) 
std::endl;
}

sleep(1);

writeToFile(/tmp/tt, key1, value1);

sleep(5);

}

/*
 *
 */
int main(int argc, char** argv) {

test2();


return 0;
}

On 10 April 2012 15:25, Ben Short b...@benshort.co.uk wrote:

 Hi,

 I'm trying to use a kqueue to listen for VNODE events on a worker thread.
 I want new events  to be registered with the kqueue by a separate thread.

 I have been referring to this example [URL=
 http://doc.geoffgarside.co.uk/kqueue/file.html;]
 http://doc.geoffgarside.co.uk/kqueue/file.html[/URL]

 Here are the relevant parts of code as it is at the moment.

 In my worker thread:

 [CODE]std::cerr  Started worker  std::endl;

 struct kevent ke;
 int i;

 while ( !mStopRequested ) {

 memset(ke, 0x00, sizeof(kevent));

  i = kevent(kq, NULL, 0, ke, 1, NULL);
 if ( i == -1 ) {
 std::cerr  kqueue produced error:   strerror(i) 
 std::endl;
 continue; // todo is this the best thing todo?
 }

 std::cerr  Beep:   i  std::endl;

 }

 std::cerr  Shutting down worker  std::endl;[/CODE]

 Other thread

 [CODE]int fd = open(fileName.c_str(), O_RDONLY);
 if ( fd == -1 ) {
 std::cerr  Failed to open file:   fileName   Error:  
 strerror(errno)  std::endl;
 // todo throw exception
 }

 struct kevent ke;

 EV_SET(ke, fd, EVFILT_VNODE, EV_ADD, NOTE_DELETE | NOTE_RENAME |
 NOTE_EXTEND, 0, NULL

Part-time Positions Available

2012-03-05 Thread Ben Rolland Fisheries Co Ltd

   INTERNATIONAL COMPANY SEEKS FOR REPRESENTATIVE IN TAIWAN
  
Part-time Positions Available.
  The job is based on administrative/customer service support.
  Immediate need for customer service representative seeking fun working
  environment, opportunity for advancement and hands on training provided.
  Will be responsible for supporting sales team, and resolving customer
  related issues for consumer product/services company.
  Great benefits. No money required (we are serious company located in United
  Kingdom,we will never ask our representatives any money in prior).
   Salary:
 - 6000 USD monthly income/part-time job
  Benefits:
  - No relocation required
  - Comprehensive life insurance
  - Professional, fun and highly motivated work environment
  - Outstanding benefits/compensation for full-time, permanent associates
  - Competitive base pay
  - TAX refund and all travel fees are repaid
  Please, contact our HR department at benrollan...@hotmail.co.uk if you are
  interested.
 
  With best regards,
  Ben Rolland.


___
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


Hardware support for Shuttle SX38P2 Pro

2010-11-21 Thread Ben Quick

 Hi all,
 This is the first question I've asked on here, hopefully I've got all 
the required detail in.


I'm thinking of buying a Shuttle SX38P2 Pro 
(http://www.shuttle.eu/products/mini-pc/sx38p2-pro/specification/) to 
run FreeBSD 8.1 onwards. I'll be using the machine as a desktop and home 
server. A bit of coding, nothing special, and running a few jails. But, 
before making the purchase I want to make sure the hardware is supported.


From the Shuttle spec sheet above, the sound card mentions ALC888DD and 
the FreeBSD supported hardware list states that ALC888 is supported 
under snd_hda. Is the 'DD' important? Would sound still work? My 
assumption is that sound would work, but I'd possibly lose the surround 
sound or something?


The NIC appears to be Marvell 88E8056, which seems to have full support 
using the msk driver. I've never heard of this manufacturer before, 
there aren't any gotchas I need to be aware of are there?


There are two things on the Shuttle spec sheet that I'm unsure of. They are:

* Intel X38 Express (MCH) + ICH9R (I/O Conroller Hub)
* Intel Matrix Storage Technology

I don't really know what either of them are. I'm assuming the Matrix 
Storage is the RAID controller. Is this supported? If not, I'll just use 
gmirror, but will obviously have to be able to access the disks in the 
first instance.


From the Shuttle spec sheet, I can't tell what video card is installed. 
Does anybody know? Is it supported? Initially, I'll be using only one 
monitor, but would intend to have both outputs in use in the longer term.


Sorry, I know there's a lot of questions in there, but I've been unable 
to find the answered for myself so far.


If anyone could shed any light on this, I'd really appreciate it.

Thanks!

Ben
___
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: Hardware support for Shuttle SX38P2 Pro

2010-11-21 Thread Ben Quick

 On 21/11/2010 17:25, Maciej Milewski wrote:

On Sunday 21 November 2010 17:19:05, Ben Quick wrote:

I don't really know what either of them are. I'm assuming the Matrix
Storage is the RAID controller. Is this supported? If not, I'll just use
gmirror, but will obviously have to be able to access the disks in the
first instance.

AFAIK this matrix storage is supported by ataraid driver.
I think using gmirror or zfs is better than ataraid.


Nice one, thank you


   From the Shuttle spec sheet, I can't tell what video card is installed.
Does anybody know? Is it supported? Initially, I'll be using only one
monitor, but would intend to have both outputs in use in the longer term.

 From the pic: http://www.shuttle.eu/press/image-resources/sx38p2-
pro/b5ebb3b485/?tx_chgallery_pi1%5Bsingle%5D=2
It looks there is no onboard graphics card. You need to buy it separately.


My mistake, sorry for the noise

Thanks
Ben


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


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


man.cgi

2010-09-21 Thread Ben GUILLER
Hello,

I am making an online man, and I would like to know where could I find the
man.cgi script, in order to use it.
Could you help me to find it ?

Regards
___
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: man.cgi

2010-09-21 Thread Ben GUILLER
Thank you very much, that was what I was looking for.

2010/9/21 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 Ben GUILLER freax.g...@gmail.com writes:

  I am making an online man, and I would like to know where could I find
 the
  man.cgi script, in order to use it.
  Could you help me to find it ?
 

 Try:

 http://www.freebsd.org/cgi/cvsweb.cgi/www/en/cgi/man.cgi

___
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


to KASSERT || !KASSERT

2010-02-18 Thread Ben Widawsky
I'm trying to decide whether or not to leave invariants turned on for
a production system. The target system will be an embedded device
where performance is already at a premium. I would have a mechanism to
remotely obtain panic information after an assertion failed.

I'm primarily interested in performance implications (has anyone done
any benchmarks?), and are invariants worth the cost?

Opinions on whether or not invariants should ever be left in
production code are also welcome.

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


Re: FreeBSD's UFS vs Ext4

2010-02-08 Thread Ben Schumacher
On Mon, Feb 8, 2010 at 12:58 PM, Chad Perrin per...@apotheon.com wrote:
 Can you provide a URL for some discussion of this?  I hadn't heard that
 FreeBSD was moving to Clang.

A quick search yielded these links:

http://wiki.freebsd.org/BuildingFreeBSDWithClang
http://www.linuxtoday.com/developer/2009051100335NWBD

Cheers,
Ben
___
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: Replacing base NTP with ports NTP

2010-01-30 Thread Ben Schumacher
On Sat, Jan 30, 2010 at 8:06 AM, David Rawling d...@pdconsec.net wrote:
 About 3 months ago I built myself a time server using 8.0-RC3, IIRC, and I
 upgraded to 8.0-RELEASE (and now -p2). Naturally, as I want this server to
 provide time services, I've installed the net/ntp port, among others.

 Recently, for reasons that have become lost in the mists of time, I noticed
 that I wasn't running the port version of NTP (/usr/local/sbin/ntpd), but
 the version installed with the base system (/usr/sbin/ntpd).

 For the immediate term, I've renamed the base versions of the files in
 /usr/sbin, and then symlinked to the port version (in /usr/local) - ntpd is
 now the ports version, as are most of the tools. This does, however, seem
 like a rather silly way of getting the most current NTPd running.

 I cannot, for the life of me, figure out how to get the Ports version of NTP
 to overwrite the base system's NTP. Yet I'm sure (since there *is* a port of
 NTP) there must be a better way to do this.

 Can anyone point me in the direction of some documentation?

David-

I'm not going to claim that this is the best way either, but if
you're doing source installs you could just set WITHOUT_NTP=true in
/etc/src.conf to disable the installation of the system one. You can
use man src.conf to find out more about this. I stop installations
of a bunch of standard services this way -- lpr, bind, nis, sendmail,
etc. make delete-old from your source build will clean up those
files that are no longer used.

Hope this helps,
Ben
___
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: denying spam hosts ssh access - good idea?

2010-01-11 Thread Ben Schumacher
On Mon, Jan 11, 2010 at 7:01 AM, Anton Shterenlikht me...@bristol.ac.uk wrote:
 I'm thinking of denying ssh access to host from which
 I get brute force ssh attacks.

 HOwever, I see in /etc/hosts.allow:

 # Wrapping sshd(8) is not normally a good idea, but if you
 # need to do it, here's how
 #sshd : .evil.cracker.example.com : deny

 Why is it not a good idea?

 Also, apparently in older ssh there was DenyHosts option,
 but no longer in the current version.
 Is there a replacement for DenyHOsts?
 Or is there a good reason for such option not to be used?

Anton-

In the general theme of this thread -- not answering your question,
but providing an alternate solution -- sshguard from ports work
fantastically for me. It interfaces with both ipfw and pf firewalls (I
use it with pf) and has builtin timeout.

I use syslog on several machine behind my firewall to forward SSH
authentication failures to my FreeBSD firewall that uses PF and it
quickly identifies and blocks bruteforce attacks. From my syslog.conf:

!sshd
auth.info   @wall

The handy thing here is that it has builtin timeout rules so if you do
something silly and block yourself out temporarily, it'll eventually
straighten itself out.

Cheers,
Ben
___
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


Odd behavior with volume labels and gmirror

2010-01-08 Thread Ben Schumacher
Hey-

I haven't search the list, so this could be covered already, but I've
seen odd behavior with volume labels and gmirror.

First some background.

Here's my uname:

$ uname -a
FreeBSD filer.sats.internal 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #1:
Mon Dec 21 10:21:37 MST 2009
b...@filer.sats.internal:/usr/obj/data/FreeBSD/RELENG_8_0/src/sys/FILER
 i386

I have a 4-way gmirror:

$ gmirror status
       Name    Status  Components
 mirror/root  COMPLETE  ad6s1
                       ad12s1
                       ad14s1
                       ad18s1

With multiple labeled slices:

$ tunefs -p /dev/mirror/roota
tunefs: ACLs: (-a)                                         disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 disabled
tunefs: gjournal: (-J)                                     disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 root

$ tunefs -p /dev/mirror/rootf
tunefs: ACLs: (-a)                                         disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 usr

And used these in my /etc/fstab for mounting:

$ cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/mirror/rootb.eli   none            swap    sw              0       0
/dev/da0b               none            swap    sw              1       0
/dev/ufs/root       /               ufs     rw              1       1
/dev/ufs/tmp       /tmp            ufs     rw,nosuid       2       2
/dev/ufs/usr       /usr            ufs     rw              2       2
/dev/ufr/var       /var            ufs     rw              2       2

The issue I experienced last night is that after a power outage, the
system detected the labelled filesystems names from some of the GEOM
providers of the mirror -- specifically they appear to all be mapped
to /dev/ad18s1[adef] and the machine never managed to fully boot
without some manual intervention to change /etc/fstab back to using
the mirror devices instead of the labels.

Insult to injury, I *may* have a drive going bad (ad18), but given
what was happening with the mounting, I'm not really sure. I used
recoverdisk to dup that disk to the others and it seemed to work fine,
but during the label problem I was getting some READ_DMA errors trying
to rebuild the mirror. I guess my question is, is using labels on
mirrors unreliable since the labels write through and apparently can
get detected from the devices before the mirror is loaded? Or is this
a bug that I should file a pr for?

Thanks for your attention.

Cheers,
Ben
___
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: pf headaches: why won' t it let me fetch from ftp servers?

2010-01-07 Thread Ben Schumacher
On Thu, Jan 7, 2010 at 2:38 PM, Dino Vliet dino_vl...@yahoo.com wrote:
 Dear freebsd list,
 I have the following pf.conf file:
 tcp_services = { ftp, ssh, domain, www, auth, https }
 udp_services = { ftp, domain, ntp }
 icmp_types   = echoreq
 block all
 pass inet proto icmp all icmp-type $icmp_types keep state
 #pass in proto tcp to any port 22 keep state
 pass out proto tcp to any port $tcp_services keep state
 #pass out proto tcp to any port 25 keep state
 #pass out proto tcp to any port 465 keep state
 #pass out proto tcp to any port 587 keep state
 pass out proto tcp to any port 5999 keep state
 #pass out all keep state
 #pass out proto tcp to any keep state
 pass out proto udp to any port $udp_services

 However,if I try to fetch a file from a ftp server as in the followining 
 example:fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bash/FAQ
 I get the result: Operation not permitted
 My first question is: What is causing this? If I stop pf, then I' m able to 
 fetch it.
 My second question is:Is my ruleset looking fine, as i want to block 
 everything and only let some specific services go out. Or need t be tightened 
 more?
 BrgdsDino

Dino-

Default behavior for FTP is that you open connection to server on port
20 and then server opens a connection back to you on another port,
basically. This means that when you have the firewall active your
blocking this inbound connection on the alternate port. The easiest
way to work around this and to get the security of having a firewall
running is to use PASSIVE mode in your FTP client, which basically
indicates that the client will open a second connection to the server:
$ fetch -p ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bash/FAQ

There's also an environment variable (FTP_PASSIVE_MODE) that you can
set to default to passive FTP. See fetch(3), but basically set it to
anything besides no to set the default.

Cheers,
Ben
___
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: SUIDDIR on ZFS?

2009-12-21 Thread Ben Schumacher
On Sun, Dec 20, 2009 at 4:19 PM, Emil Smolenski am...@raisa.eu.org wrote:
  In fact, you're right. I used only the g+s file mode and it worked for
 both UFS and ZFS. Sorry for the confusion.

 Any clues would be appreciated.

  Maybe ZVOL will be sufficient? It just works:

 # zfs create -V 1g tank/tmp/test1
 # newfs /dev/zvol/tank/tmp/test1
 # mkdir /tmp/test1
 # mount -o suiddir /dev/zvol/tank/tmp/test1 /tmp/test1
 # mkdir /tmp/test1/user1dir
 # chmod 4777 /tmp/test1/user1dir
 # chown user1:user1 /tmp/test1/user1dir
 # su - user2
 $ cd /tmp/test1/user1dir
 $ touch test
 $ ll test
 -rw---  1 user1  user1  - 0 Dec 21 00:14 test

Emil-

Yes. That works. I had that thought shortly after sending my last
email. I'm going to try it. I guess the downside is that it doesn't
give me the dyanmic size abilities of ZFS, but I can probably just
dedicate a large chunk of storage to the ZVOL.

Thanks,
Ben
___
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: SUIDDIR on ZFS?

2009-12-16 Thread Ben Schumacher
On Tue, Dec 15, 2009 at 7:52 PM, Emil Smolenski am...@raisa.eu.org wrote:
 On Tue, 15 Dec 2009 05:36:55 +0100, Ben Schumacher m...@benschumacher.com
 wrote:

 At any rate, I've been considering switching this to a ZFS RAIDZ now
 that FreeBSD 8 is released and it seems that folks think it's stable,
 but I'm curious if it can provide the SUIDDIR functionality I'm
 currently using.

  Yes, it can. From my point of view it works the same way as on UFS.

Emil-

Thanks for your response... I don't know that that's quite right.
SUIDDIR has to be enabled in the kernel as an option to enable the
functionality on UFS and my tests on ZFS haven't proved fruitful:

$ sudo zfs create zroot/shared
$ sudo zfs umount zroot/shared
$ sudo zfs mount -o suiddir zroot/shared
$ sudo chown sats:office /zroot/shared
$ sudo chmod 4770 /zroot/shared
$ touch /zroot/shared/file
$ ls -al /zroot/shared/
total 4
drwsrwx---  2 sats  office  3 Dec 16 23:26 ./
drwxr-xr-x  4 root  wheel   9 Dec 16 23:26 ../
-rw-r--r--  1 ben   office  0 Dec 16 23:26 file

With a drive mounted with the 'suiddir' option (and the kernel option
enabled) the above works with UFS. I was curious if maybe there was an
option in 'zfs set' that I was missing.

Any clues would be appreciated.

Ben
___
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 port to use for python / https?

2009-11-28 Thread Ben Bullock
I am trying to install Mercurial on FreeBSD in order to install Go
(programming language). I am running into a problem with Mercurial
which looks like this:

$ hg pull
abort: could not import module thread!
Exception AttributeError: 'httpsrepository' object has no attribute
'urlopener' in bound method httpsrepository.__del__ of
mercurial.httprepo.httpsrepository object at 0x2857882c ignored

Googling turns up very little except the following:

http://www.idimmu.net/2009/11/11/Python-support-for-SSL-and-HTTPS-is-not-installed

According to this, the answer is to install the python socket ssl
library from ports. However, this is for Apple Mac. I am trying to
find the relevant port for FreeBSD without success. Can anyone point
me in the right direction?
___
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: Problems with FreeBSD installation

2009-08-06 Thread Ben Fallon
Might want to take a look at this page as it may provide a bit more insight. 
The problem isn't with the Machine specifically but with the ATI Sata 
Controller/Chipset.  Not sure if this has been fixed yet.

http://www.mavetju.org/mail/view_message.php?list=freebsd-currentid=2740699



-Original Message-
From: Miguel [mailto:luis.hen...@gmail.com] 
Sent: Thursday, August 06, 2009 1:53 PM
To: Ben Fallon
Cc: freebsd-mob...@freebsd.org; freebsd-questions@freebsd.org
Subject: Re: Problems with FreeBSD installation

On Thu, Aug 6, 2009 at 2:25 PM, Ben Fallonbfal...@itbuildersinc.com wrote:
 What model of laptop is it?  I just subscribed to the list yesterday and may 
 have missed the beginning of this thread.
 You can also check here http://laptop.bsdgroup.de/freebsd/
 It provides details for a bunch of laptops and what the findings were for the 
 models they tested.
 On Linux, a simple dmesg will help on seeing what devices were found 
 by your os otherwise, like BSD, the lspci also works the same.  Sorry I can't 
 help more without a bit more information.


The complete thread can be read here:

http://lists.freebsd.org/pipermail/freebsd-questions/2009-August/203491.html

My laptop is a Toshiba Satellite A210-1CE, and I am attaching the information 
you requested:
the output from lspci -v and dmesg.  Hope it helps :-)

Regards,
Miguel

___
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


Help installing Hippo viewer...

2009-03-09 Thread Ben H.
Hello all... 

Thanks in advance for any assistance you may be able to provide.

I am trying to get source code built for an application called HIPPO Viewer

The source and instructions for building are written for Linux

You can see what I have attempted to do to get this installed at: 

http://daemonforums.org/showthread.php?p=21745

Please reply to the list AND my email address.  Any help will be greatly 
appreciated.  

Ben. 
-- -- -- 
http://inter-op.net
http://www.cbsnews.com/sections/i_video/main500251.shtml?id=1419445n
___
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: Wireshark

2008-09-11 Thread ben
Does the version in /usr/ports/net/wireshark require X11 to run, or can it be 
run from the command line with straight text output?


(I dont have/want X on the servers).

-Grant


You can use tcpdump and bring the dump file to your local machine where 
you can use wireshark.

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


usb disk mount troubles under freebsd4.9

2008-08-30 Thread ben
worked fine in tests on freebsd7, but the disk failed to mount on a 
production server running (ouch) 4.9 :(


Originally I simply ran newfs -L. later i tried many things like using 
another box (which actually had sysinstall unlike the 4.9) and slice and 
partition and label the disk over again. still, it would not mount on the 
4.9 box.


I began to suspect something's changed about disk labels between versions 
of freebsd, so I booted a 4.9 cd in the test server and redid the slice 
and partition and label -- but the newfs command had not returned after an 
hour, I quit.


I almost want to offer a bottle of scotch to whomever has the key to 
getting this disk mountable, is that terrible? This is what I 
had, Benjamin ::


# mount /dev/da0s4 /mnt/usbdisk/
mount: /dev/da0s4 on /mnt/usbdisk: incorrect super block


# fsck /dev/da0s1d
** /dev/da0s1d
BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/da0s1d: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, size
1465144002


# fdisk /dev/da0s1
*** Working on device /dev/da0s1 ***
parameters extracted from in-core disklabel are:
cylinders=91200 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=91200 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 5 (24 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63




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


Re: Turn off serial console on boot

2008-08-26 Thread ben
I have some servers with IPMI that allow me to have a serial console. I have 
setup a serial console config on my servers and it seems to work reasonably 
well in remote emergencies, but causes serious problems if I ever have to use 
the real console.


It means that I can't use single user mode from the real console and I can't 
see most boot errors.


Is there a way I can turn off the console redirection from the physical 
console interactively on startup?


http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html

We put -P in /boot.config so that if a keyboard is detected then the 
screen is the console. No keyboard means serial console.

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


Questions about coretemp

2008-08-07 Thread ben
the Questions about healthd and mprime thread lead me to try recompile 
and install a freebsd 7.0 kernel with device coretemp


on reboot i thought i would find a sysctl variable 
dev.cpu.%d.temperature but i don't. i don't even see anything in dmesg 
about coretemp


that is, exept for when i added coretemp_load=YES to loader.conf (as 
per the coretemp manpage) and then i got this in dmesg:


  module_register: module cpu/coretemp already exists!
  Module cpu/coretemp failed to register: 17

has anyone had success using this? i wonder if there is a dependency 
i'm not building into my kernel. . . this system has dual xeons.


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


сауна восточная

2008-02-19 Thread ben

- Kruglosutochnaya on-lajn konsul'taciya u professional'nyh vrachej,
po vsem interesuyuschim Vas voprosam
   - V udobnoj i legkoj forme, Vy smozhete poluchit' informaciyu o lyuboj
interesuyuschej Vas bolezni
- U nas sobrana polnaya informaciya o vseh suschestvuyuschih
  lekarstvennyh preparatah
  - Smozhete bystro opredelit' svoyu bolezn' po simptomam
   vsya interesuyuschaya Vas informaciya po zabolevaniyam i ih
 profilaktiki teper' sobrana na nashem [1]portale Zdorovaya Tema.

 [2]Zdorovaya Tema - `eto `enciklopediya zdorovogo obraza zhizni!

  [3]www.ztema.ru

References

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


Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Wojciech Puchar wrote:

fsck_msdosfs.

I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


but ulimit's defaults possibly limit memory...
check ulimit -a


[EMAIL PROTECTED] ~]$ ulimit -a
core file size  (blocks, -c) unlimited
data seg size   (kbytes, -d) 524288
file size   (blocks, -f) unlimited
max locked memory   (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files  (-n) 2656
pipe size(512 bytes, -p) 1
stack size  (kbytes, -s) 65536
cpu time   (seconds, -t) unlimited
max user processes  (-u) 1328
virtual memory  (kbytes, -v) unlimited
[EMAIL PROTECTED] ~]$

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


Re: fsck_msdosfs failing

2008-01-18 Thread Ben Williams

[EMAIL PROTECTED] wrote:

On 18/01/2008, Ben Williams [EMAIL PROTECTED] wrote:

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors
after a power-failure-induced reboot, and recommended that I run
fsck_msdosfs manually. However, fsck_msdosfs fails:

# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug
being mentioned/filed for netbsd which is obviously related, but no fix
was forthcoming.

Does anyone have any ideas how I can proceed?


Are you still in single user mode at this point?


Well, I was.

I have made a tiny bit of progress - I edited /etc/fstab and turned the 
fsck at boot time off for that drive, so I can boot normally now, just 
without that drive mounted. However, I still get the same error message 
from fsck_msdosfs.


I am able to run top at the same time, as as far as I can tell, it 
doesn't actually run out of memory - Mem has ~564k free, and Swap has 
158mb free at its lowest when fsck_msdosfs is running. It's an old 
machine, with 192mb ram, and 359mb swap.


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


fsck_msdosfs failing

2008-01-18 Thread Ben Williams

Hi all,

I've got a problem with fsck_msdosfs. My FAT32 drive came up with errors 
after a power-failure-induced reboot, and recommended that I run 
fsck_msdosfs manually. However, fsck_msdosfs fails:


# fsck_msdosfs /dev/ad3s1
** /dev/ad3s1
** Phase 1 - Read and Compare FATs
No space for FAT (Cannot allocate memory)#

I've tried googling for it and I can't find anything other than a bug 
being mentioned/filed for netbsd which is obviously related, but no fix 
was forthcoming.


Does anyone have any ideas how I can proceed?

Thanks,

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


mount vs mount_msdosfs - invalid file mode

2008-01-03 Thread Ben Williams

Hi all,

I'm trying to mount a fat32 drive with the permissions so the right 
users (in the group mine) can read  write to it.


[EMAIL PROTECTED] /mnt]# l
total 8
drwxrwxrwx  19 ben   mine   4.0K Jan  1 13:21 downloads/
drwxrwxr-x   2 ben   mine   512B Jan  1 17:31 drive/

The one I want to mount is drive. I can mount it properly with 
mount_msdosfs:


[EMAIL PROTECTED] /mnt]# mount_msdosfs -m 666 -M 777 /dev/ad3s1 /mnt/drive

But I'm not sure how to get mount to call mount_msdosfs with the right 
params:


[EMAIL PROTECTED] /mnt]# mount -t msdosfs -v -o '-m 666 -M 777' /dev/ad3s1 
/mnt/drive

mount_msdosfs: invalid file mode:  666 -M 777

I've tried various combinations of quoting around the -m and -M params 
with no luck.


The end result is that I need to work out what to put in /etc/fstab to 
achieve those mount permissions for that drive (and I'm guessing that 
getting mount to pass the right params across is a start).


This is on FreeBSD 6.2-RELEASE. I'm a bit of a newbie - this is my first 
FreeBSD install :)


 - Ben

--
Everybody generalizes from one example. At least, I do.
 - Steven Brust [dreamcafe.com]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wireless network using ndisgen

2007-11-03 Thread Ben Gould
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0c02 can't assign resources (memory)
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0c01 can't assign resources (memory)
unknown: PNP0303 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0400 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
cbb2: Cannot allocate I/O
Timecounter TSC frequency 298649932 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 3909MB FUJITSU MHC2040AT 0819 at ata0-master UDMA33
pccard0: unknown card (manufacturer=0x01bf, product=0x3302,
function_type=6) at function 0
pccard0:CIS info: Belkin, 11Mbps-Wireless-Notebook-Network-Adapter
acd0: DVDROM TOSHIBA DVD-ROM SD-C2102/1029 at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s2a


Kind regards

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


PCI-express Programming

2007-10-25 Thread Ben Popoola
Hi,

Where can I find information on writing device driver for PCI-express
hardware on FreeBSD?

 

 

Regards

Ben 

 

Ultra Electronics

Sonar and Communications Systems

Birdport Road

Greenford

Middlesex

UB6 8UA

England

 

Direct Line +44 (0)20 8813 4534

Switch Board +44 (0)20 8813 4567

Fax   +44 (0)20 8813 4568

 

 



This e-mail from Ultra Electronics Limited and any attachments to it are 
confidential to the intended recipient and may also be privileged.  If you have 
received it in error please notify the sender and delete it from your system.  
If you are not the intended recipient you must not copy it or use it for any 
purpose nor disclose or distribute its contents to any other person.  All 
communications may be subject to interception or monitoring for operational 
and/or security purposes.  Please rely on your own virus checking as the sender 
cannot accept any liability for any damage arising from any bug or virus 
infection.  Ultra Electronics Limited is a company registered in England and 
Wales, registration number 2830644.  The address of its registered office is 
417 Bridport Road, Greenford, Middlesex, UB6 8UA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GENERIC kernel build fails at ACPI

2007-06-23 Thread Ben Washington-Yule

6-STABLE. Here's the relative part from the script file.

Thanks.
===

cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc -I- 
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common -g 
-I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -Wno-uninitialized -c 
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_ec.c
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc -I- 
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common -g 
-I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -Wno-uninitialized -c 
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c: In 
function `acpi_hpet_table_probe':
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: `ACPI_TABLE_HPET' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: for each function it appears in.)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: 
error: `hpet' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: 
error: `ACPI_SIG_HPET' undeclared (first use in this function)
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: 
warning: passing arg 3 of `AcpiGetTable' from incompatible pointer type
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:104: 
error: syntax error before ')' token

*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

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

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

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

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


tcl84 on FreeBSD 6.2 make error (new user)

2007-04-08 Thread Ben Madin

G'day all,

I'm sorry but I am new to FreeBSD, and I am not sure what tcl84 is, but 
when I tried to install gdal, using portmanager after many hours it told 
me that tcl84 had an error, so that was that.


when I went to ports/lang/tcl84 and tried make install clean it didn't 
work either.


there were lots of errors like 
/usr/ports/lang/tcl84/work/tcl8.4.14/unix/libtcl84.so: undefined 
reference to 'sin' (or 'cos' or 'tan')


so I'm guessing that there is some mathematical thing that it needs, but 
nearly every package I have tried to build from ports seems to require 
this tcl at some point, so my first few days of FreeBSD are not going as 
well as I hoped... after much documentation searching and googling etc, 
I come to this point for help (at least on how to get more help)


cheers

Ben

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


FreeBSD/Samba issue

2007-03-20 Thread Ben House
I have a situation where we are using a samba file server 3.0.23d  with WINS
enabled on FreeBSD 5.4.  When the WINS is enabled in Samba the user
(Windows) PCs are having problems resolving other PCs on the network (using
NetBIOS), example: pinging user from a user PC is resolving to user.com
and returning the external IP.  Removing the reference to the WINS on the PC
fixes this.  Pinging user from the FreeBSD box (with Samba on or off)
returns the external address to user.com also.  Any other FreeBSD box (on
other LANs) doesn't seem to do this.  Can this be changed?

BH

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


Audio (Record) not functioning... (record interrupt timeout)

2007-01-23 Thread Ben Hacker Jr
Any help will be Greatly appreciated!  I currently believe this is a 
problem with the snd_t4dwave driver device


Please respond directly as well as to the list.  Thanks!

http://www.bsdforums.org/forums/showthread.php?t=45514 [HISTORY]
http://www.bsdforums.org/forums/showthread.php?p=242514 [More Detail]
http://lists.freebsd.org/pipermail/...rch/003877.html 
http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-March/003877.html 
[Related Links]
http://unix.derkeiler.com/Mailing-L...05-10/0446.html 
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-10/0446.html


I am trying to get Skype or Vonage softphone(via wine) working on my 
notebook.


My problem is getting the input from the mic to the application.

The mic is working because I can talk and hear the sound via the 
external speakers. If (on command line mixer) I turn the rec and 
igain to 0 the I CAN still hear any sound I make via the mic on the 
attached speakers. If I turn mic to 0 then I cannot hear any sound I 
make via the mic on the attached speakers.


Here is the error I am seeing on the system console:

pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

Here are my settings:

[EMAIL PROTECTED] uname -a
FreeBSD sony.family.hom 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Tue 
Dec 19 16:55:50 EST 2006 [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SONY01 i386


[EMAIL PROTECTED] cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Acer Labs M5451 at io 0x1800 irq 9 kld snd_t4dwave (4p/1r/4v 
channels duplex default)


[EMAIL PROTECTED] dmesg | grep pcm
pcm0: Acer Labs M5451 port 0x1800-0x18ff mem 0xe810-0xe8100fff at 
device 6.0 on pci0

pcm0: Yamaha YMF753 AC97 Codec
pcm0: [GIANT-LOCKED]
pcm0:record:0:dsp0.0: record interrupt timeout, channel dead
pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

[EMAIL PROTECTED] sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 1
hw.snd.maxautovchans: 4
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 4096
hw.snd.pcm0.vchans: 4

--
Ben
Network Systems Administrator
 strbenjr {at} yahoo.com
-- -- --
http://www.coeba.org
http://www.cbsnews.com/sections/i_video/main500251.shtml?id=1419445n

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


Audio (Record) not functioning... (record interrupt timeout)

2006-12-31 Thread Ben H.
Thanks in advance for any help you can provide...  On reply please cc my email 
address.

http://www.bsdforums.org/forums/showthread.php?t=45514  [HISTORY]


http://lists.freebsd.org/pipermail/...rch/003877.html [Related Link]



I am trying to get Skype  or Vonage softphone(via wine) working on my notebook.



My problem is getting the input from the mic to the application.



The mic is working because I can talk and hear the sound via the
external speakers. If (on command line mixer) I turn the rec and
igain to 0 the I CAN still hear any sound I make via the mic on the
attached speakers. If I turn mic to 0 then I cannot hear any sound I
make via the mic on the attached speakers. 



Here is the error I am seeing on the system console:



 pcm0:record:0:dsp0.0: record interrupt timeout, channel dead



Here are my settings:



[EMAIL PROTECTED] uname -a

FreeBSD sony.family.hom 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Tue Dec 19 
16:55:50 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SONY01  i386



[EMAIL PROTECTED] cat /dev/sndstat

FreeBSD Audio Driver (newpcm)

Installed devices:

pcm0: Acer Labs M5451 at io 0x1800 irq 9 kld snd_t4dwave (4p/1r/4v channels 
duplex default)



[EMAIL PROTECTED] dmesg | grep pcm

pcm0: Acer Labs M5451 port 0x1800-0x18ff mem 0xe810-0xe8100fff at device 
6.0 on pci0

pcm0: Yamaha YMF753 AC97 Codec

pcm0: [GIANT-LOCKED]

pcm0:record:0:dsp0.0: record interrupt timeout, channel dead

pcm0:record:0:dsp0.0: record interrupt timeout, channel dead



[EMAIL PROTECTED] sysctl hw.snd

hw.snd.report_soft_formats: 1

hw.snd.targetirqrate: 32

hw.snd.verbose: 1

hw.snd.maxautovchans: 4

hw.snd.unit: 0

hw.snd.pcm0.buffersize: 4096

hw.snd.pcm0.vchans: 4


More info at:  http://www.bsdforums.org/forums/showthread.php?t=46469


  STRBen
strbenjr{a}yahoo.com 
 ben_hacker{a}inter-op.net 
-- -- -- 
 http://www.coeba.org 
 http://www.inter-op.net



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


Configuring a CDROM (PCGA-CD51)

2006-11-25 Thread Ben Hacker Jr

Hello,

 Any help will be greatly appreciated!  I am not subscribed to this 
list so please reply directly in addition to replying to the list.


I am trying to configure a PCCard based CD-ROM device (PCGA-CD51).

Much detail on where I am with this can be found at:

  http://bsdforums.org/forums/showthread.php?t=45766

I am running:

   $ uname -a
   FreeBSD sony.family.hom 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0:
   Wed Nov 22 06:
   11:34 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SONY01 
   i386


   $ dmesg
   Copyright (c) 1992-2006 The FreeBSD Project.
   Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
   FreeBSD is a registered trademark of The FreeBSD Foundation.
   FreeBSD 6.2-PRERELEASE #0: Wed Nov 22 06:11:34 EST 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SONY01
   Timecounter i8254 frequency 1193182 Hz quality 0
   CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (860.17-MHz 586-class
   CPU)
 Origin = GenuineTMx86  Id = 0x543  Stepping = 3
 Features=0x84893fFPU,VME,DE,PSE,TSC,MSR,CX8,SEP,CMOV,PN,MMX
   real memory  = 117440512 (112 MB)
   avail memory = 105250816 (100 MB)
   Crusoe LongRun support enabled, current mode: 2 867MHz 1300mV 100%
   kbd1 at kbdmux0...

I found a few messages about this (a similar) drive but they were  back 
in 1999 . 


Any help to help to get this drive recognized will be greatly appreciated!!

--
Ben Hacker, Jr.
Network Systems Administrator
 strbenjr {at} yahoo.com
 ben_hacker {at} inter-op.net
 703.987.1816 (c)
-- -- --
http://www.coeba.org
http://www.inter-op.net
Lottery Video ( 
http://www.cbsnews.com/sections/i_video/main500251.shtml?id=1419445n )


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


libtool missing library?

2006-11-07 Thread Ben Paley
Hello,

I'm trying to compile kftpgrabber from source, and get this when I make:


/bin/bash ../../../../libtool --silent --tag=CXX --mode=link 
g++   -Wno-long-long -Wundef -Wall -W -Wpoi
nter-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQ   
T_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION-o 
libkftpinterfaces.la -rpath /usr/lo   
cal/lib -L/usr/local/lib -L/usr/X11R6/lib -version-info 0:0:0 -no-undefined  
kftpbookmarkimportplugin.lo-lkparts
libtool: link: cannot find the library `'
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src/misc/interfaces.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src/misc.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2.
[EMAIL PROTECTED]



I've tried moving the libtool which comes with the source and linking 
to /usr/local/bin/libtool instead, then doing make clean; then the error 
changes:




if 
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./..  -I./../engine  
-I./../misc/interfaces  -I/usr/local/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_THREAD_SAFE  -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT 
configbase.o -MD -MP -MF .deps/configbase.Tpo -c -o configbase.o 
configbase.cpp;  then mv -f .deps/configbase.Tpo .deps/configbase.Po; 
else rm -f .deps/configbase.Tpo; exit 1; fi
configbase.cpp: In member function `void KFTPCore::ConfigBase::postInit()':
configbase.cpp:65: error: `Config' has not been declared
configbase.cpp:65: error: `downloadActions' was not declared in this scope
configbase.cpp:68: error: `Config' has not been declared
configbase.cpp:68: error: `uploadActions' was not declared in this scope
configbase.cpp:71: error: `Config' has not been declared
configbase.cpp:71: error: `fxpActions' was not declared in this scope
configbase.cpp:65: warning: unused variable 'downloadActions'
configbase.cpp:68: warning: unused variable 'uploadActions'
configbase.cpp:71: warning: unused variable 'fxpActions'
configbase.cpp: In member function `void KFTPCore::ConfigBase::saveConfig()':
configbase.cpp:80: error: `Config' has not been declared
configbase.cpp:80: error: `setDownloadActions' was not declared in this scope
configbase.cpp:83: error: `Config' has not been declared
configbase.cpp:83: error: `setUploadActions' was not declared in this scope
configbase.cpp:86: error: `Config' has not been declared
configbase.cpp:86: error: `setFxpActions' was not declared in this scope
configbase.cpp:89: error: `Config' has not been declared
configbase.cpp:89: error: `setSize' was not declared in this scope
configbase.cpp:90: error: `Config' has not been declared
configbase.cpp:90: error: `setPosition' was not declared in this scope
configbase.cpp:80: warning: unused variable 'setDownloadActions'
configbase.cpp:83: warning: unused variable 'setUploadActions'
configbase.cpp:86: warning: unused variable 'setFxpActions'
configbase.cpp:89: warning: unused variable 'setSize'
configbase.cpp:90: warning: unused variable 'setPosition'
configbase.cpp: In member function `char KFTPCore::ConfigBase::ftpMode(const 
QString)':
configbase.cpp:116: error: `Config' has not been declared
configbase.cpp:116: error: `asciiList' was not declared in this scope
configbase.cpp:116: warning: unused variable 'asciiList'
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src/misc.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src/misc.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber/src.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2/kftpgrabber.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2.
*** Error code 1

Stop in /root/kftpgrabber-0.8.0-alpha2.
[EMAIL PROTECTED]






There's more, of course, but that's how it ends. Has anyone got a clue? I'm 
running FreeBSD 6.2-PRERELEASE

If anyone's got a reply, could they cc to me, as I get the digest and 
sometimes miss things in amongst all the other posts!

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


libtool can't find a library

2006-10-30 Thread Ben Paley
Hello,

I've googled this, but only manage to come up with the same question, never an 
answer!

I'm running FreeBSD 6.2-PRERELEASE, and trying to compile kftpgrabber (there 
seems to be a bug in the version that's in the ports) and I get this error:

libtool: link: cannot find the library `'

(That's the whole line, it really does end with a back-tick and a single 
quote).

I don't know where to begin with this since google has let me down, so I'd 
really appreciate some help!

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


RE: USB External harddrive

2006-06-24 Thread Ben House
Yes, I am using a GENERIC kernel with the related scsi modules.

Ben House

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew
Pantyukhin
Sent: Saturday, June 24, 2006 1:03 AM
To: Ben House
Cc: freebsd-questions@freebsd.org
Subject: Re: USB External harddrive


On 6/24/06, Ben House [EMAIL PROTECTED] wrote:
 Greetings,

 I have an issue with trying to hookup a USB hard drive to an IBM Netfinity
 3000 server.  The direct access (da) device does not appear in the /dev
 directory.  It appears that the Western Digital drive is being recognized.
 I am using a Generic kernel, 6.0 Release.

 dmesg:
 umass0: Western Digital External HDD, rev 2.00/6.02, addr 2
 uhid0: Western Digital External HDD, rev 2.00/6.02, addr 2, iclass 8/6
 umass0: at uhub0 port 1 (addr 2) disconnected
 umass0: detached
 uhid0: at uhub0 port 1 (addr 2) disconnected
 uhid0: detached
 umass0: Western Digital External HDD, rev 2.00/6.02, addr 2
 uhid0: Western Digital External HDD, rev 2.00/6.02, addr 2, iclass 8/6

Just to be sure... Are you using a generic kernel and if not,
do you have all the scsi tapestry compiled in?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


USB External harddrive

2006-06-23 Thread Ben House
Greetings,

I have an issue with trying to hookup a USB hard drive to an IBM Netfinity
3000 server.  The direct access (da) device does not appear in the /dev
directory.  It appears that the Western Digital drive is being recognized.
I am using a Generic kernel, 6.0 Release.

dmesg:
umass0: Western Digital External HDD, rev 2.00/6.02, addr 2
uhid0: Western Digital External HDD, rev 2.00/6.02, addr 2, iclass 8/6
umass0: at uhub0 port 1 (addr 2) disconnected
umass0: detached
uhid0: at uhub0 port 1 (addr 2) disconnected
uhid0: detached
umass0: Western Digital External HDD, rev 2.00/6.02, addr 2
uhid0: Western Digital External HDD, rev 2.00/6.02, addr 2, iclass 8/6

Thanks in advance for any suggestions.

Ben House

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


asda

2006-05-15 Thread Ben Haysom

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

Re: Upgrade 5.4 - 6.0 errors.

2006-05-15 Thread Ben Hacker Jr
Below is the instructions I followed which I copied from the current 
/usr/src/UPDATING file. 


Ben Hacker Jr wrote:



I am following the instructions from /usr/src/UPGRADING

To upgrade in-place from 5.x-stable or higher to 6.x-stable
---
make sure you have good level 0 dumps
make buildworld [9]
make kernel KERNCONF=YOUR_KERNEL_HERE   [8]
[1]
reboot in single user [3]
mergemaster -p  [5]
make installworld
mergemaster -i  [4]
reboot

I am still getting ...

. . .


Should these instructions be modified/updated to be:

   To upgrade in-place from 5.x-stable or higher to 6.x-stable
   ---
   make sure you have good level 0 dumps
   make buildworld [9]
   make buildkernel   KERNCONF=YOUR_KERNEL_HERE[8]
   make installkernel KERNCONF=YOUR_KERNEL_HERE
   [1]
   reboot in single user [3]
   mergemaster -p  [5]
   make installworld
   mergemaster -i  [4]
   reboot

I don't claim know enough about this to make instructions but after 
booting into single user mode  (and I am sure after the reboot) I 
found that I was still running my 5.4 kernel. 

I decided to try make installkernel and reboot again which fixed the 
version for me.


Just my two cents...


--
Ben Hacker, Jr.
Network Security Analyst
 strbenjr {at} yahoo.com
-- -- --


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


Re: Upgrade 5.4 - 6.0 errors.

2006-05-11 Thread Ben Hacker Jr

That was IT! ! !

--
 Kernel build for HACK06 completed on Thu May 11 07:54:10 EDT 2006
--

Thanks!!

Can someone add the word (-Required-) to the comments on that line 
please??   Like on device USB



Nick Withers wrote:


G'day Ben!

On Thu, 11 May, 2006 2:45 pm, Ben Hacker Jr wrote:
 


I have posted my complete Kernel config file below.
   



I _believe_ you need include the wlan device.

 


Maybe I need to enable the CAM infrastructure.??

Adi Pircalabu wrote:

   


On Wed, 10 May 2006 08:10:34 -0400 Ben Hacker Jr wrote:


 


linking kernel.debug
if_ural.o(.text+0x3bb): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:458: undefined reference to
`ieee80211_ieee2mhz'
if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined
reference to `ieee80211_ieee2mhz'


'm afraid you customized your config file by commenting a mandatory
device / option which is needed for building. Please post your complete
config file.
OTOH, can you build GENERIC?


# HACK06 -- Generic kernel configuration file for FreeBSD/i386
#
   



(snip)

 


## Wireless NIC cards
#device wlan # 802.11 support
#device an # Aironet 4500/4800 802.11 wireless NICs.
#device awi # BayStack 660 and others
#device ral # Ralink Technology RT2500 wireless NICs.
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
##device wl # Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory disks
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter

# USB support
device uhci # UHCI PCI-USB interface
device ohci # OHCI PCI-USB interface
#device ehci # EHCI PCI-USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
#device uhid # Human Interface Devices
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device ural # Ralink Technology RT2500USB wireless NICs
device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
## USB Ethernet, requires miibus
#device aue # ADMtek USB Ethernet
#device axe # ASIX Electronics USB Ethernet
#device cdce # Generic USB over Ethernet
#device cue # CATC USB Ethernet
#device kue # Kawasaki LSI USB Ethernet
#device rue # RealTek RTL8150 USB Ethernet

# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)

--
Ben Hacker, Jr.
Network Security Analyst
 strbenjr {at} yahoo.com
-- -- -- 
   


Ben Hacker, Jr.


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


Re: Upgrade 5.4 - 6.0 errors.

2006-05-10 Thread Ben Hacker Jr


I am following the instructions from /usr/src/UPGRADING

   To upgrade in-place from 5.x-stable or higher to 6.x-stable
   ---
   make sure you have good level 0 dumps
   make buildworld [9]
   make kernel KERNCONF=YOUR_KERNEL_HERE   [8]
   [1]
   reboot in single user [3]
   mergemaster -p  [5]
   make installworld
   mergemaster -i  [4]
   reboot

I am still getting the same error/failure when building the Kernel.  (I 
also tried make buildkernel...)


Subhro wrote:


On 5/9/06, Ben Hacker Jr [EMAIL PROTECTED] wrote:

Is there a way to clean out my /usr/src directory and start from 
scratch (cvsup)

in case it is corrupted some how??



rm -rf /usr/src/*

snip



$ su root -c make kernel KERNCONF=HACK06



The correct command is make buildkernel KERNCONF=HACK06
and not make kernel

You need to read the handbook :-)

snip


Thanks and Best Regards
Subhro

--
Subhro Kar
Security Engineer
iViZ Techno Solutions Pvt. Ltd.
eRevMax House, 1st Floor
Plot XI-16, Sector V
Salt Lake City
700091
India


[EMAIL PROTECTED] uname -a
FreeBSD hackserver.family.hom 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Sep 
12 08:18:05 EDT 2005 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/HACK05  i386


[EMAIL PROTECTED] su root -c make buildkernel KERNCONF=HACK06
...
MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh HACK06
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx 
-mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  vers.c

linking kernel.debug
if_ural.o(.text+0x3bb): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:458: undefined reference to 
`ieee80211_ieee2mhz'
if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined 
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x427):/usr/src/sys/dev/usb/if_ural.c:468: undefined 
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4bb):/usr/src/sys/dev/usb/if_ural.c:480: undefined 
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4e2):/usr/src/sys/dev/usb/if_ural.c:487: undefined 
reference to `ieee80211_ifattach'
if_ural.o(.text+0x513):/usr/src/sys/dev/usb/if_ural.c:493: undefined 
reference to `ieee80211_media_status'
if_ural.o(.text+0x51e):/usr/src/sys/dev/usb/if_ural.c:493: undefined 
reference to `ieee80211_media_init'
if_ural.o(.text+0x580):/usr/src/sys/dev/usb/if_ural.c:507: undefined 
reference to `ieee80211_announce'

if_ural.o(.text+0x628): In function `ural_detach':
/usr/src/sys/dev/usb/if_ural.c:535: undefined reference to 
`ieee80211_ifdetach'

if_ural.o(.text+0x73a): In function `ural_free_tx_list':
/usr/src/sys/dev/usb/if_ural.c:595: undefined reference to 
`ieee80211_free_node'

if_ural.o(.text+0x8f6): In function `ural_media_change':
/usr/src/sys/dev/usb/if_ural.c:673: undefined reference to 
`ieee80211_media_change'

if_ural.o(.text+0x9ac): In function `ural_next_scan':
/usr/src/sys/dev/usb/if_ural.c:699: undefined reference to 
`ieee80211_next_scan'

if_ural.o(.text+0xb17): In function `ural_task':
/usr/src/sys/dev/usb/if_ural.c:756: undefined reference to 
`ieee80211_beacon_alloc'

if_ural.o(.text+0xc77): In function `ural_txeof':
/usr/src/sys/dev/usb/if_ural.c:826: undefined reference to 
`ieee80211_free_node'

if_ural.o(.text+0xd9d): In function `ural_rxeof':
/usr/src/sys/dev/usb/if_ural.c:890: undefined reference to 
`ieee80211_find_rxnode'
if_ural.o(.text+0xdb3):/usr/src/sys/dev/usb/if_ural.c:893: undefined 
reference to `ieee80211_input'
if_ural.o(.text+0xdbb):/usr/src/sys/dev/usb/if_ural.c:896: undefined 
reference to `ieee80211_free_node'

if_ural.o(.text+0x1364): In function `ural_tx_data':
/usr/src/sys/dev/usb/if_ural.c:1218: undefined reference to 
`ieee80211_crypto_encap'

if_ural.o(.text+0x185c): In function `ural_start':
/usr/src/sys/dev/usb/if_ural.c:1321: undefined reference to 
`ieee80211_find_txnode'
if_ural.o(.text+0x1894):/usr/src/sys/dev/usb/if_ural.c:1328: undefined 
reference to `ieee80211_encap'
if_ural.o(.text+0x18a3):/usr/src/sys/dev/usb/if_ural.c:1330: undefined 
reference to `ieee80211_free_node'
if_ural.o(.text+0x18db):/usr/src/sys/dev/usb/if_ural.c:1338: undefined 
reference

Re: Upgrade 5.4 - 6.0 errors.

2006-05-10 Thread Ben Hacker Jr

I have posted my complete Kernel config file below.

Maybe I need to enable the CAM infrastructure.??

Adi Pircalabu wrote:


On Wed, 10 May 2006 08:10:34 -0400 Ben Hacker Jr wrote:
 


linking kernel.debug
if_ural.o(.text+0x3bb): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:458: undefined reference to 
`ieee80211_ieee2mhz'
if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined 
reference to `ieee80211_ieee2mhz'
   


I'm afraid you customized your config file by commenting a mandatory
device / option which is needed for building. Please post your complete
config file.
OTOH, can you build GENERIC?


#
# HACK06 -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.9 2006/04/30 17:39:42 
scottl Exp $


machine i386
#cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident HACK06

# To statically compile in device wiring instead of /boot/device.hints
#hints GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols

#options SCHED_ULE # ULE scheduler
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
#options INET6 # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT # Network Filesystem Client
options NFSSERVER # Network Filesystem Server
options NFS_ROOT # NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660 # ISO 9660 Filesystem
options PROCFS # Process filesystem (requires PSEUDOFS)
options PSEUDOFS # Pseudo-filesystem framework
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options ADAPTIVE_GIANT # Giant mutex is adaptive.

options SMP # Symmetric MultiProcessor Kernel

device apic # I/O APIC

# Bus support.
device eisa
device pci

# Floppy drives
device fdc

## ATA and ATAPI devices
#device ata
#device atadisk # ATA disk drives
#device ataraid # ATA RAID drives
#device atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
#options ATA_STATIC_ID # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
##device ispfw # Firmware for QLogic HBAs- normally a module
#device mpt # LSI-Logic MPT-Fusion
##device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters

#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt # Buslogic/Mylex MultiMaster SCSI adapters

#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50

# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#device amr # AMI MegaRAID
#device arcmsr # Areca SATA II RAID
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device ciss # Compaq Smart RAID 5*
#device dpt

Upgrade 5.4 - 6.0 errors.

2006-05-09 Thread Ben Hacker Jr
 reference to
   `ieee80211_ioctl'
   if_ural.o(.text+0x1f5c): In function `ural_set_chan':
   /usr/src/sys/dev/usb/if_ural.c:1606: undefined reference to
   `ieee80211_chan2ieee'
   *** Error code 1

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

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

   Stop in /usr/src.

=-=-=-=-=

Manually attempting to build my kernel will yield the following:

   hackserver$ su root
   Password:
   hackserver# pwd
   /usr/src/sys/i386/conf

   hackserver# config HACK06
   ERROR: version of config(8) does not match kernel!
   config version = 500013, version required = 63

   Make sure that /usr/src/usr.sbin/config is in sync
   with your /usr/src/sys and install a new config binary
   before trying this again.

   If running the new config fails check your config
   file against the GENERIC or LINT config files for
   changes in config syntax, or option/device naming
   conventions

   hackserver#   


Thanks!
Please reply to my address.  I am not subscribed to the list.  Thanks!

--
Ben Hacker, Jr.
Network Security Analyst
 strbenjr {at} yahoo.com
-- -- --


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


Re: Horrible: Apache corrupting files?

2006-05-01 Thread Ben Paley
On Friday 28 April 2006 10:25, Alex Zbyslaw wrote:


 Try sysutils/smartmontools or a disk checker from the disk
 manufacturer.  Most provide one.

smartmontools seems to confirm there's nothing wrong with the disk:


smartctl version 5.33 [i386-portbld-freebsd6.1] Copyright (C) 2002-4 Bruce 
Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Extended offlineCompleted without error   00%  3069 -
# 2  Extended offlineCompleted without error   00%  3064 -
# 3  Short offline   Completed without error   00%   492 -
# 4  Short offline   Completed without error   00% 0 -


Any more ideas?

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


Re: Horrible: Apache corrupting files?

2006-05-01 Thread Ben Paley
On Monday 01 May 2006 12:28, Nick Withers wrote:

 Understandably, too. Other files are served fine, to your
 knowledge?

I think something a little like it has happened before - but I was in a real 
rush to meet a deadline and didn't have time to take notice of the 
circumstances.

At the moment no other files are a problem.

 Maybe the NIC? Now I'm really starting to stab in the dark!

Do you mean the network card? Wow, that does seem desperate! But clutching at 
straws... how would I go about checking it?

But since it's only one file that this is happening to I'm inclined to look 
for the problem in something about the file. That's why I mentioned the long 
complicated journey it's been on in my first message - osx, freebsd, winnt, 
solaris and back again via ethernet, wireless, usb flash, ftp...

Running out of ideas and the will to live ;-)

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


Re: Horrible: Apache corrupting files?

2006-04-28 Thread Ben Paley
On Wednesday 26 April 2006 13:22, Bill Moran wrote:

 memtest86 is also available as a bootable CD.

So it is

 How long did you run it for?  I don't trust the results unless I let
 it run for at least 8 hours.  _Any_ errors are bad, especially on a
 server.  The bootable versions (CD or floppy) are better because they
 can test more of the machine's memory.

7:44 last night with no errors. Mem-map was set to 'auto' - when I set it 
to 'all' the screen immediately filled with errors and 'probe' froze the 
machine instantly. I think (hope?) these failures represent something odd, 
but not broken, in my laptop's bios rather than a real memory error, so I'm 
provisionally eliminating memory failure as the cause of my file corruption.

Any idea where I go from here? That file really does change. Could it be a 
hard disk problem on the exact spot where this file is? is fsck my friend in 
this instance? I'll go and rtfm right now...

Thanks,
Ben

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


Re: Horrible: Apache corrupting files?

2006-04-26 Thread Ben Paley
On Wednesday 26 April 2006 09:46, Thomas Ludwig wrote:
  If the problem is Apache, though, it doesn't explain the other problems
  I've been having, like the corrupted ftp uploads. Perhaps they are
  unrelated? Or perhaps Apache is not the problem?

 I recommend checking your hardware.  I had a similar problem with huge
 files, although unrelated to Apache.  Files bigger than ~2GB would
 *seem* to be corrupted.  I suspect its the hard disk drive, because
 lowering the ATA bus speed (atacontrol mode ad0 UDMA33) made this
 problem go away (the drive is a SAMSUNG SP1614N TM100-24).  This
 problem occurred with different motherboard chipsets and different
 versions of FreeBSD (5-stable, 6-PRERELEASE), so I really think it is
 the hard disk drive.

Thanks very much. In my case the files involved are very small, and it seems 
to be only one file at the moment, so I am hold out the hope that you're 
wrong - but I'll certainly check in case you're right.

Could anyone give me a hint as to how to get started checking the hardware? 
It's a Dell Inspiron 6000 laptop. I really don't have the foggiest idea what 
to look for or what to check - I've never had any problems with it before.

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


Re: Horrible: Apache corrupting files?

2006-04-26 Thread Ben Paley
On Wednesday 26 April 2006 10:24, Nick Withers wrote:
 On Wed, 26 Apr 2006 10:08:58 +

 Ben Paley [EMAIL PROTECTED] wrote:
  Could anyone give me a hint as to how to get started checking the
  hardware? It's a Dell Inspiron 6000 laptop. I really don't have the
  foggiest idea what to look for or what to check - I've never had any
  problems with it before.

 You might want to have a gander at Memtest86
 (http://www.memtest86.com/, /usr/ports/sysutils/memtest86) for
 memory testing, I reckon this should be your first port of call.

Thanks a lot for the advice. Unfortunately I can't run it as I have no floppy 
drive (unless there's another way? I seem to remember it's possible to make a 
bootable usb flash drive...). I ran sysutils/memtest with no errors, for 
whatever that's worth.

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


Re: Horrible: Apache corrupting files?

2006-04-25 Thread Ben Paley
On Friday 21 April 2006 00:31, Alex de Kruijff wrote:
 On Thu, Apr 20, 2006 at 10:17:47AM +, Ben Paley wrote:
  Hello,
 
  I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small
  office lan. Whenever one of the other machines (mostly Macs) makes a
  request for a certain page on my machine, it is delivered succesfully but
  the file itself is absolutely scrambled beyond recognition into a binary
  file. Subsequent requests rescramble it into a different but equally
  nonsense binary.
 
  I've looked with a binary editor and it really is completely messed up. I
  can restore the file from a good archive copy, but every time the same
  thing happens.
 
  The file was originally created on a mac by Flash (it's a 1.1k html file
  which just embeds a flash movie). Recently I copied it to and from a
  Solaris box via ftp from an Windows NT machine (although it wasn't opened
  afaik - a long story, clearly, which also involves a usb flash drive...).
 
  Anyone have any ideas? The file itself is inconsequential, but the fact
  of such blatant and relentless data corruption is very worrying to me! I
  don't know if it's the file or my system or some combination... I'd
  really appreciate some advice, I've been staring at it for two days and
  I'm starting to bite my nails...

 How about setting the permission so that the file can not be changed.
 Then access the file and see if a process complains about not being able
 to change the file?

 P.S. I find it hard to beleave apache2 does this. I run apache2 myself
 and don't have this.

I've set the permissions to 444 and I'm still seeing the same corruption, so 
it must be something running as root, or something quite low level. No 
console messages and I don't really know where to look for error logs - I 
think you're right and it's not apache.

I've started to notice some other strange corruptions - some php files seem to 
become binary on a remote machine, even though my local copies are fine. 
Perhaps it's the server... but we've never had this trouble before, and it 
seems a little too much like what's happening on my machine to be a 
coincidence. One file I tried uploading with two different gui ftp clients 
and via command line, in ascii, binary and auto mode, and again the same 
thing happened each time - my browser complained of unknown ascii characters 
and kate (text editor) told me it was a binary file even though it looked ok. 
I tried changing the encoding and that made no difference.

I am actually quite worried now. There seems to be something holding all these 
occurences together, but I can't quite work out what it is.

Does anyone have any ideas where to look? I'd really appreciate it!

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


Re: Horrible: Apache corrupting files?

2006-04-25 Thread Ben Paley
On Tuesday 25 April 2006 17:19, Dominique Goncalves wrote:

 What version of apache are you using?

apache-2.0.55_4

 I've already see corruption file when I was tried to share xml podcast
 between my FreeBSD 6.1 and Sony PSP, with Apache 2.2.0

 $ ls -l test.xml
 -r--r--r--  1 dom  dom  5725 Mar 11 17:47 test.xml

 before download
 $ md5 test.xml
 MD5 (test.xml) = 25ed4336e8906e64bd05ebea990d29a0

 after download
 $ md5 test.xml
 MD5 (test.xml) = ef0918bc4f7aa323eb6c41768092488e

 And after each access the MD5sum change ...

This sounds exactly like what is happening to me. Does it happen to every 
file, or just a few? Or just one?

If the problem is Apache, though, it doesn't explain the other problems I've 
been having, like the corrupted ftp uploads. Perhaps they are unrelated? Or 
perhaps Apache is not the problem?

Or maybe I've been cursed for having an operating system of which the logo is 
a devil ;-)

 Try to ask directly on the freebsd-apache mailing list.

OK, I'll try that too, thanks for the tip.

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


Horrible: Apache corrupting files?

2006-04-20 Thread Ben Paley
Hello,

I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small 
office lan. Whenever one of the other machines (mostly Macs) makes a request 
for a certain page on my machine, it is delivered succesfully but the file 
itself is absolutely scrambled beyond recognition into a binary file. 
Subsequent requests rescramble it into a different but equally nonsense 
binary.

I've looked with a binary editor and it really is completely messed up. I can 
restore the file from a good archive copy, but every time the same thing 
happens.

The file was originally created on a mac by Flash (it's a 1.1k html file which 
just embeds a flash movie). Recently I copied it to and from a Solaris box 
via ftp from an Windows NT machine (although it wasn't opened afaik - a long 
story, clearly, which also involves a usb flash drive...).

Anyone have any ideas? The file itself is inconsequential, but the fact of 
such blatant and relentless data corruption is very worrying to me! I don't 
know if it's the file or my system or some combination... I'd really 
appreciate some advice, I've been staring at it for two days and I'm starting 
to bite my nails...

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


SYSTEM HANG - NATD running FINE

2006-04-19 Thread Ben and Jen
My system has recently locked up after 65 days uptime, running only natd for 
my local network.  Natd still works fine and routes information properly - but 
I am no longer able to telnet or login to my machine even from a local 
console(alt f1-fx).  After I enter my root or user name at the login - it just 
hangs there.  When I telnet in, it does not even prompt me with a login.  

Anybody ever had this problem before?  Any suggestions on how to recover my 
system without rebooting? 

Any help appreciated.

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


Re: What's that filesystem for a usb flash drive?

2006-03-26 Thread Ben Paley

 On Sat, 25 Mar 2006, Saul Mena Avila wrote:
  Hello!. I've been trying to mount my flash memory but it just doesn't
  let me.
  I use (as root):
 
  mount -t msdosfs /dev/ad0 /flash

try 'msdos' instead of 'msdosfs'

 Are you sure that /dev/ad0 is actually your flash device? That doesn't
 look right to me. What is the physical interface to your flash memory?
 That is, is it USB, a PCMCIA card, or what?

My usb flash drives always show up as da devices, not ad. Have a look in /dev 
to see what nodes are actually there, and especially look at tty0 when you 
plug the drive in - you should get an informative console message and perhaps 
find its da1 or da2 even (depending on what other usb devices are attached, I 
think).

Also you may need to mount a slice, like da0s1, as I do. In summary, the 
command which works for me is:

# mount -t msdos /dev/da0s1 /flash

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


Re: tar segmentation fault

2006-02-22 Thread Ben Paley
On Tuesday 21 February 2006 19:12, Lowell Gilbert wrote:
 Ben Paley [EMAIL PROTECTED] writes:

  me$ pkg_info | grep tar
  gtar-1.15.1_1   GNU version of the traditional tar archiver

 You're obviously not *using* gnu tar, because you would be getting
 errors on the -l option if you were.

Well, I haven't got round to debugging bsdtar (it compiles without warning 
using 'make' in /usr/src/usr.bin/tar/), but it turns out gtar works fine, 
using -h instead of -L .

Thanks very much to both of you for pointing me towards a solution.

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


Re: tar segmentation fault

2006-02-21 Thread Ben Paley
On Tuesday 21 February 2006 19:12, Lowell Gilbert wrote:
 Ben Paley [EMAIL PROTECTED] writes:
  Sorry. left off some information that might come in handy!
 
  me$ uname -srm
  FreeBSD 6.0-STABLE i386
  me$ pkg_info | grep tar
  gtar-1.15.1_1   GNU version of the traditional tar archiver
  startup-notification-0.8_1 Library that supports startup notification
  spec from freede

 You're obviously not *using* gnu tar, because you would be getting
 errors on the -l option if you were.

Yup, looks like I'm using bsdtar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tar segmentation fault

2006-02-21 Thread Ben Paley
 From: Dieter [EMAIL PROTECTED]
 Subject: Re: tar segmentation fault
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]

 Now that you know which tar you're using, :-)
 time to drag out the standard debugging process for
 segmentation faults.

It's come to that, has it?

Oh well... thanks very much for your help, I'll be back in touch with more 
information soon!

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


RE: equivalent to linux cp -al

2006-02-20 Thread Ben House
What about cpio?  cpio -dplm should do what you need it to.

This operates in pass-through to give you a recreation of the directories
rather than an archive.  Input is from standard i/p.

HTH.

BH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger
Sent: Sunday, February 19, 2006 10:14 AM
To: Matias Surdi
Cc: freebsd-questions@freebsd.org
Subject: Re: equivalent to linux cp -al


Matias Surdi wrote:
 I've a script on a linux box wich makes backups, it uses the cp -al
 command to make hard links and preserve atributes.

 Is there an equivalent on FreeBSD?

cp -p comes reasonably close, but will duplicate files rather than
creating
hard links.  If you need to preserve hard links, consider using tar or maybe
rsync to do the copying instead.

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

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


tar segmentation fault

2006-02-20 Thread Ben Paley
Hello,

I want to backup certain parts of my system regularly, so I made a directory 
which reflects the filesystem:

backup/
etc/ - link to /etc
usr/
home/
me/
somefile - link to some specific file in my 
home directory
public_html/
various_links_to/ -
directories_which/ -
really_exist_in_my/ -
public_html/ -

Basically it's a collection of symlinks to stuff I want backed up. Then I run

tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/

When source/usr/home/me/public_html is empty then it runs fine. But when I put 
any links in, tar dies with a segmentation fault.

Has anyone got any ideas why?

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


6.0-release remote x application failure to open display

2006-02-20 Thread Ben Kaduk
Hi all,

I think this is probably a simple question, but I do not recall having
any difficulties on 5.2.1 or 5.3-beta3, which are the other versions
that I had run on this box.

I recently have performed a clean install of 6.0-release on this
machine, on a new hard drive, and then copied over the data and some
configuration files (ssh keys, etc.) from the old hard drive (it is a
slow machine, so I didn't want to build current).  Having done so, I
then tried to login remotely to this machine and run xmms (it is
mostly used as my music server), which failed with this error:
** CRITICAL **: Unable to open display
I have tried with passing the -X flag, and with passing the -Y flag to
ssh, but there is no change in behaviour.
Is there something that I have forgotten to enable, or is this unexpected?

Some information about the computer:
[EMAIL PROTECTED] uname -a
FreeBSD pleonasm.mooo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb
20 01:22:19 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLEONASM  i386

dmesg is attached (if it makes it through the list).

Thanks,

Ben Kaduk


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

Re: tar segmentation fault

2006-02-20 Thread Ben Paley
Sorry. left off some information that might come in handy!

me$ uname -srm
FreeBSD 6.0-STABLE i386
me$ pkg_info | grep tar
gtar-1.15.1_1   GNU version of the traditional tar archiver
startup-notification-0.8_1 Library that supports startup notification spec 
from freede
me$

Thanks,
Ben

 tar -cLvy -f /usr/home/me/backup/backup.tar.bz2 /usr/home/me/backup/source/

 When source/usr/home/me/public_html is empty then it runs fine. But when I
 put any links in, tar dies with a segmentation fault.

 Has anyone got any ideas why?

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


Asus P5MT-M and FreeBSD 6.0

2006-02-17 Thread Ben House
I am attempting to install 6.0 Stable on an Asus P5MT-M motherboard (Intel
ICH7R), which contains onboard SATA RAID bios (LSI MegaRAID).  Standard
sysinstall in call cases.  I am noticing several inconsistencies:

1) When SATA is in Enhanced mode, no drives are detected.  5.4 detects both
drives just fine

2) When SATA is in RAID mode, no drives are detected, 5.4 yields the same
results.

3) When SATA is in Compatible mode, *one* drive is detected, AND a raid
volume is also detected (but in degraded status).  5.4 detects these just
fine.

Ideally, installing 6.0 (or even 5.4) using the RAID function would be
preferred.

Any suggestions?




Ben House
Unified Network Services Inc.
(519)624-9405 Ext. 33
[EMAIL PROTECTED]


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


Re: OpenOffice.org 2.0.1 JDK issue

2006-02-10 Thread Ben Paley
 I know there has been a lot of activity on the mailing lists these  
 days regarding JDK and OOo. From what I could gather, most of it is  
 regarding keeping it working after the update of JDK14. In any event,  
 I was installing OOo-2.0 for the first time, and the build failed.  
 The error message is below and involves JDK-1.4. I figured that this  
 would either be fixable or it would give additional information that  
 could lead to solving some of the previously mentioned problems on  
 the list. Thank you all for your assistance. I am running FreeBSD 6.0-
 STABLE. A part of my script nuked the output after it failed, so I  
 only have the output from script.

My googling led me to believe that it's to do with a problem in jdk patchset 8 
for freebsd. Ive had exactly the same problem and ended up installing vi 
pkg_add :-(

Seems like the best solution would be to let it use jdk15, but it doesn't seem 
to want to play.

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


Re: OpenOffice.org 2.0.1 JDK issue

2006-02-10 Thread Ben Paley
On Friday 10 February 2006 13:04, Per olof Ljungmark wrote:

  Seems like the best solution would be to let it use jdk15, but it doesn't
  seem to want to play.

 Had same build failure as OP, now when i try the pkg from
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0.1/FreeBSD6/
 i get
 pkg_add OOo_2.0.1_FreeBSD60Intel_install_en-US.tbz
 pkg_add: could not find package openssl-beta-0.9.8a !

 How safe is it to install openssl-beta-0.9.8a? Does it not conflict with
 the base openssl?

It does conflict. I deinstalled openssl and installed openssl-beta until I'd 
installed OO, then got rid of openssl-beta and reinstalled openssl! It worked 
fine, although i don't know what the security inplications of that might be, 
if any.

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


Re: xine and missing libdpstk

2006-02-07 Thread Ben Paley
On Tuesday 07 February 2006 10:05, Ariff Abdullah wrote:

  Am I missing something? /usr/ports/UPDATING seems to be talking
  about  installed ports that complain at run time about missing
  libraries - that  isn't the problem here. The problem with libxine
  is that it won't compile in  the first place without libdpstk, so to
  reinstall as advised is impossible.

 If you have ImageMagick or transcode installed, recompile that first.

Both of them - and your solution works perfectly, thanks very much!

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


SSH Tunneling Configureation

2006-02-07 Thread Ben Siemon
I have a cvs server inside my home network. I am doing a project for school
and I thought it would be nice to have cvs access for my group. The trouble
is that cvs send passwords in the clear. So I want my groupmates to tunnel
to the server. I now know that they must genreate a public key to give to me
inorder for thier tunnel logins to work over cvs through ssh.

My question is where do these public keys go on a freebsd 6.0 box?
Is there any special stuff from an experienced user I should know?

I have found a great deal of info about everything but the location of the
public keys but any insight into the whole problem would be very much
appreciated.

--
cheers

Ben Siemon

254 723 6937

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


Re: xine and missing libdpstk

2006-02-06 Thread Ben Paley
 Am 05.02.2006 um 06:43 schrieb Gary Kline:
  I'm trying to build xine and find troubles with a missing
  library, libdpstk.  I'm clueless re this DPS lib.  Anybody?

 /usr/ports/UPDATING  entry 20060126

 regards
 tilman

Am I missing something? /usr/ports/UPDATING seems to be talking about 
installed ports that complain at run time about missing libraries - that 
isn't the problem here. The problem with libxine is that it won't compile in 
the first place without libdpstk, so to reinstall as advised is impossible.

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


kernel conf for vmware 5.5

2006-02-05 Thread Ben Siemon
Is there anyone that can share with me thier custom kernel conf for vmware
5.5?
--
cheers

Ben Siemon

254 723 6937

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


Firefox 1.5

2006-01-26 Thread Ben Siemon
So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
assumed that it was 1.5. The info on the web said that 1.5 was in the ports
collection but the source ball in the ports dir was for 1.0.7 and I have
seen people with questions about firefox 1.5. I have used each of the
methods suggested in the handbook for upgrading the ports tree but the
source has stayed for 1.0.7. Is this a case of have to install it from the
source on the mozilla web site? Is there any easy way to install firefox 1.5?
I have a feeling that I am missing some glaring fact that will solve this
but I have been unable to find it for a week. So I figured I would go crying
for help.

--
cheers

Ben Siemon

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


Re: FreeBSD 6.0 and VmWare 5

2005-11-22 Thread Ben Siemon
I was able to get it working fine after a few tries. I did have a
problem with the process timer getting out a sync though, but that
went away after the 2nd try.

On 11/15/05, Mário Gamito [EMAIL PROTECTED] wrote:
 Hi,

 Has any one around here tried to run FreeBSD 6.0 in VmWare 5 (Windows)
 with success ?

 FreeBSD's install reboots when it comes to package installation.

 Any help would be apreciated.

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



--
cheers

Ben Siemon

254 723 6937

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


Configuring ccd during install

2005-11-14 Thread Ben Siemon
I have an older machine I got from work that has several identical
scsi drives that I want to merge into one and mount it it as home. Can
this be done during install? If not how do I tell it to mount the new
thing I creat as home after the initial install? I have read the RAID
explanation on useing ccd and that all makes sense I jus do not see
how to mount the thing created with ccd in a usefull way outside of
/home/newDisks.
--
cheers

Ben Siemon

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


Suggestions for server hardware sub 800 dollars

2005-10-21 Thread Ben Siemon
I need to make a server box that will serve web pages ( light ), do
light file storage for my home network and allow me ssh access when I
am away from the apartment. I have read a great deal about this on the
site and looked at the manufactures sites. I see a great deal of
potential there but I have more fun building it up myself. I would be
glad for any suggestions any of you have.
--
cheers

Ben Siemon

254 723 6937

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


Compatible hardware

2005-10-07 Thread Ben Siemon
What would be a good set of hardware to run free bsd on?
Ideally I would like to have on motherboard raid and use of my dual head
nvidia agp card. And the AMD 939 chip.
Does anyone have and comparable systems?

--
cheers

Ben Siemon

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


Re: Is this possible? DHCP / DNS related.

2005-09-24 Thread Ben Racine
Well, I have permission to run the server, as I'm a CS major and it's
an independent project I'm working on,  so that's not a problem.  I
had already gone to dyndns.com and have a name associated with it that
way, I was just wondering if there was a way to make some sort of
end-run on the campus dns and get it listed as a subdomain without
adding a record in the campus dns.  But it doesn't look like there is 
Thanks though,

-Ben Racine

On 9/24/05, nawcom [EMAIL PROTECTED] wrote:
 I was having the same issue here at where I work at University of
 Michigan. We had a server that I personally set up for my work there,
 (static IP), but then we got a new net admin for  the building that
 changed some stuff - making the server ip dynamic which made the dns
 record useless. There are ways around this to make it work - but the
 admin wasn't willing to cooperate.

 well what im trying to get at in this email is i decided to grab a
 hostname from no-ip (http://www.no-ip.com) which is a free service that
 uses a program you install to keep their dns up to date when your ip
 expires or changes. They have mutiple domains you can pick from, or you
 can pay them to have your own. (I decided to pick the servebeer.com -
 http://lsupport.servebeer.com :-P)


 Ben Racine wrote:

 I have recently set up a web server on my college network.  It is
 behind  DNS and DHCP servers that are out of my control.  What I would
 like to do is be able to associate a name something like
 bsdserve..edu .  However, I'm fairly new at all this, but from
 what I've been able to gather, it seems as though the only way to do
 this would be to put a record in the campus DNS which isn't possible.
 Any insight?
 
 Thanks.
 
 -Ben Racine
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 


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


Is this possible? DHCP / DNS related.

2005-09-23 Thread Ben Racine
I have recently set up a web server on my college network.  It is
behind  DNS and DHCP servers that are out of my control.  What I would
like to do is be able to associate a name something like
bsdserve..edu .  However, I'm fairly new at all this, but from
what I've been able to gather, it seems as though the only way to do
this would be to put a record in the campus DNS which isn't possible. 
Any insight?

Thanks.

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


Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
Hello,

Anyone got any idea how I can access the built-in sd card reader on my dell 
inspiron 6000 laptop? There's no /dev/sda at the moment. I can't seem to find 
out how the card connects internally - neither usb nor scsi look very 
likely...

Any more ideas?

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


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 11:04, Roland Smith wrote:
 On Mon, Sep 05, 2005 at 10:36:40AM +0100, Ben Paley wrote:
  Anyone got any idea how I can access the built-in sd card reader on my
  dell inspiron 6000 laptop?

 Is there anything in /var/log/messages?

Not so far as I can see, nor in dmesg

 If not, try 'pciconf -lv', 

$ pciconf -lv
snip/
[EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 rev=0x17 
hdr=0x00
vendor   = 'Ricoh Co Ltd'
device   = 'SD Bus Host Adapter'
class= base peripheral

Is that it?

 'usbdevs

just four empty sockets there

 and 'camcontrol devlist -v' 

Nothing there apart from the optical drive.

 to see if it is on the PCI, USB or  
 SCSI bus respectively.

So, PCI then? How do I go about my kernel config to get it detected?

 If you can't get it to work, the SanDisk SDDR-93 sd card reader is
 supposed to work with Linux, so using it with FreeBSD should be possible.

I can get to the camera with its cable, though it's a bit slow - I just wanted 
the convenience of using the built-in reader, since it's there!

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


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 11:50, Roland Smith wrote:

  $ pciconf -lv
  snip/
  [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 
  rev=0x17
  hdr=0x00
  vendor   = 'Ricoh Co Ltd'
  device   = 'SD Bus Host Adapter'
  class= base peripheral
 
  Is that it?

 I think so. According to the following page,
 http://www.math.ucla.edu/~jimc/insp6000/p-proc.html#sd it is a Ricoh
 R5c576A chip. Looking at the Ricoh page for this chip,
 http://www.ricoh.com/LSI/product_pcif/pcc/5c576a/ there seems to be no
 programming info available.

 AFAICT, there is no Linux driver either, but someone seems to be working
 on it: http://list.drzeus.cx/pipermail/wbsd-devel/2005-March/000261.html
 You could try contacting this person to see how far his efforts have
 come, and who the FreeBSD kernel developer is who is working on this.

Thanks a lot for your advice - I shall follow it, even if it is slightly 
dispiriting. Perhaps I should learn C properly and start writing some 
drivers... :-)

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


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
...PS - 
Thanks not just for your advice, but for putting in the effort to find this 
stuff out - I wouldn't have known where to start!

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


Re: Internal SD card reader, Dell laptop

2005-09-05 Thread Ben Paley
On Monday 05 September 2005 17:03, Roland Smith wrote:

  Thanks a lot for your advice - I shall follow it, even if it is slightly
  dispiriting. Perhaps I should learn C properly and start writing some
  drivers... :-)

 Not that I want to discourage you, but that seems like a tall
 order. Apart from knowing C, you'd have to get familiar with the FreeBSD
 kernel and writing device drivers.

I'm not entirely serious - that is, it's certainly the Right Thing To Do, but 
I know my limitations as a programmer! Perhaps I'll start with something 
simpler.

 If you are serious about writing a driver, I would recommend reading
 The Design and Implementation of the FreeBSD Operating System by
 McKusick and Neville-Neil.

Good advice, once again! Thanks very much.

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


pccard modem unable to allocate fast interrupt

2005-08-08 Thread Ben Kaduk
Hi all

I have an IBM pcmcia data/fax modem (US Robotics technology) -- V.34
33.6 Kbps/56 Kbps with XJack Connector that probes in dmesg as sio4. 
However, the scan also yields the following message:
sio4: unable to activate interrupt in fast mode -- using normal mode

which seems to come from src/sys/dev/sio/sio.c, indicating that my
modem supports INTR_TYPE_TTY but not INTR_FAST.  What is the
significance of INTR_FAST, and could its absence cause any
difficulties in using ppp?
I don't really want to do much research at the moment since I'm on
dial-up, and I don't have local access to the src tree, only the
cgiweb applet. (Incedentally, my problem with ppp is that after
entering username and password, I get some info, such as an IP
address, but ppp does not return to a prompt -- it seems to hang; this
happens at 115200 and 38400 baud (or the recommended values near those
if my memory fails me), so I don't think it's a speed problem)

Sorry I don't have more info about the modem, but since WinXP can't
mount ufs, I don't have a good way to get, say, dmesg or pciconf
information about this card.  The numbers on the outside of the card
are:
10661AS723YF
IBM Modem FRU: 04K0054

Googling these didn't reveal anything terribly helpful, though it
implied that this chipset was actually a winmodem, which would be
surprising.

Thanks

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


Re: missing /dev/sequencer and /dev/midi under 5.4

2005-08-02 Thread Ben Paley
On Tuesday 02 August 2005 14:59, Lowell Gilbert wrote:
 Ben Paley [EMAIL PROTECTED] writes:

  I guess I need to enable midi in the kernel, but what device / options?

 I'm not sure that MIDI is supported by the kernel these days.
 Does anyone know for sure?

Not me, that's certain. I guess another approach is to put something 
in /boot/loader.conf...  but what? 

[EMAIL PROTECTED] locate snd | grep mid
[EMAIL PROTECTED] locate snd | grep seq
[EMAIL PROTECTED]

doesn't look too good, does it?

Well, I shall try audio/xmms-midi - from what I can gather, it plays midi 
files through whatever xmms normally uses, which will do, I suppose!

Thanks a lot for your help, I really appreciate a reply even if it's to let me 
know not to bother! ;-)

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


missing /dev/sequencer and /dev/midi under 5.4

2005-08-01 Thread Ben Paley
Hello,

I'm running FreeBSD 5.4 with a custom kernel on a Dell Inspiron 6000 - the 
Dell website only says SoundBlaster compatible for the sound card.

Normal sound stuff works fine (though I can't hear the cd player, actually, 
now that I think of it...) but midi doesn't work: kmidi complains 
that /dev/sequencer is busy, but actually it doesn't exist, and neither 
does /dev/midi.

I guess I need to enable midi in the kernel, but what device / options?

device pcm
device snd
device seq
device midi

all give me unknown device errors at compile time: here's the relevent 
section of my kernel config file:

device  sound   #   generic sound driver: these added...
device  snd_ad1816
device  snd_als4000
#device snd_au88x0
device  snd_cmi
device  snd_cs4281
device  snd_csa
device  snd_ds1
device  snd_emu10k1
device  snd_es137x
device  snd_ess
device  snd_fm801
device  snd_gusc
device  snd_ich
device  snd_maestro
device  snd_maestro3
device  snd_mss
device  snd_neomagic
device  snd_sb16
device  snd_sb8
device  snd_sbc
device  snd_solo
device  snd_t4dwave
device  snd_via8233
device  snd_via82c686
device  snd_vibes
#device snd_vortex1
device  snd_uaudio

I'm sure I don't need all this stuff in there, but I haven't got round to 
experimenting with what I can take out. Could that be my problem?

Thanks in anticipation for your help...

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


Start wpa_supplicant on boot without dhclient

2005-07-26 Thread Ben Jencks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It looks like wpa_supplicant is the right way to configure wireless as
of FreeBSD 6. I'd like to start it on boot. However, I can't figure out
how to start it without dhclient also running on boot. Since I don't
always boot near an AP, this isn't appropriate.

If I use
network_interfaces=lo0 ath0
ifconfig_ath0=WPA DHCP
then it starts wpa_supplicant, and immediately starts dhclient as well.

If I take out DHCP
network_interfaces=lo0 ath0
ifconfig_ath0=WPA
then wpa_supplicant doesn't start dhclient when it gets a connection

I can get something close to the right behavior by setting
network_interfaces=lo0
ifconfig_ath0=WPA DHCP
This way, wpa_supplicant doesn't start on boot, but I can start it after
boot with /etc/rc.d/wpa_supplicant start ath0 and get the right
behavior. Is there a way to get wpa_supplicant to start on boot, and
only start dhclient as a result of the link-state event, not directly
during boot?
- -- 
Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC5rs1pt3yYclAKVsRAsTWAJ9VhP9RtwXd3a0q1TPePr66rpEwxgCeIeZ7
JXOqziWjhb9ldWGHgok1N7o=
=+2gW
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum Bootstrap Help

2005-07-22 Thread Ben Craig
Hi All,
 
I've been trying to get a bootstrapped vinum volume up and running on a 5.4
release system (generic kernel, minimal install), based this How-to:
 
http://devel.reinikainen.net/docs/how-to/Vinum/
 
But I've managed to run into a problem that no amount of Googling, reading
the archive of this list, or reading the manual seems help me get by.
 
Basically, I have Vinum configured fine and can successfully run:
 
vinum  create -f /etc/vinum.conf
 
The Vinum volume is all fine and a vinum  list shows no problems.  I can
also successfully do a fsck on each of the mounts, which are:
 
/
/home
/tmp
/var
 
However, it appears that the vinum config isn't being saved, as rebooting
the machine can't find the vinum root partition, and after manually booting
to the pre-vinum root (ufs:ad0s1a) running vinum  list shows no volume
information.
 
During the reboot, vinum appears to load ok, but it can't find the root (as
shown by the last bit of the dmesg):
 
vinum: loaded
vinum: no drives found
Mounting root from ufs:/dev/vinum/root
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
 
The relevant config files look like this:
 
/etc/fstab
 
#DeviceMountpoint   FStypeOptionsDumpPass#
/dev/vinum/swapnoneswap   sw00
/dev/vinum/root  /ufsrw   1
1
/dev/vinum/home/homeufsrw2 2
/dev/vinum/tmp  /tmpufs   rw2
2
/dev/vinum/var   /var ufsrw2
2
/dev/acd0 /cdromcd9660  ro,noauto  00

 
 
/boot/loader.conf
 
vinum_load=YES
vinum.autostart=YES
 
Any suggestions as to how to sort this would be greatly appreciated.
 
Regards,
 
Ben Craig.
 
 
 
 
 
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount point's drwxrwxrwt permissions change when device is mounted (5.4-STABLE, amd64)

2005-07-21 Thread Ben Jencks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Conrad J. Sabatier [EMAIL PROTECTED] writes:

 Can anyone shed some light on this for me?  This is really most
 mystifying!

The way I have it set up is to allow my user to mount the usbdisk
directly. This means the user has to own the mountpoint (probably best
to put it in his homedir), have rw perms on /dev/da0s1, and
vfs.usermount has to be set to 1. Then the user will be able to use
mount_msdosfs without special privileges to mount /dev/da0s1. No fstab
entry needed.

The hard part is giving the user rw perms on /dev/da0s1. You have to
create a devfs ruleset in /etc/devfs.rules. Then you have to activate it
with the rc.conf knob devfs_system_ruleset. See devfs.rules(5) and
/etc/defaults/devfs.rules.
- -- 
Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC33Dspt3yYclAKVsRAmUjAJoDf20daxKIGNwjnW7HcXXqbdfwcwCbB+8z
wPx8arIqB5Eu6M+B8lhi4Ag=
=Xy2D
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   >