Panic: sleeping thread

2010-04-06 Thread Paul Halliday
-- Forwarded message --
From: Paul Halliday 
Date: Thu, Apr 1, 2010 at 8:38 AM
Subject: Re: panic: sleeping thread
To: questi...@freebsd.org


On Mon, Mar 22, 2010 at 9:28 AM, Paul Halliday  wrote:
> I have a couple VM's that randomly halt with this error:
>
> Sleeping thread (tid 10018, pid 1058) owns a non-sleepable lock
> panic: sleeping thread
> cpuid = 0
> Uptime 11h14m31s
> Cannot dump. Device not defined or unavailable.
>
> FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC
> 2009     r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> These systems run nightly Nessus scans and these halts are very
> sporadic; I can go a week w/o seeing one.
>
> What should I do to start to troubleshoot this?
>
> Thanks.
>

>> There was another panic this morning, different message this time though:

>> panic: vm_fault_copy_wired: page missing
>> cpuid = 1
>> Uptime: 9d16h58m29s
>> Cannot dump. Device not defined or unavailable.

Any suggestions?

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


Server choice.

2006-04-20 Thread Paul Halliday
Hi,

I am in the process of building a new database server and after
pricing up 2 Dell models I thought I would throw this out just to see
which choice would be better suited for FreeBSD.

The demands on the system will be mostly network -> disk I/O with a
hope of best performance on quickly servicing numerous reads; for
example when reports are generated using the data in the database.

The 2 choices (we dont have that much money and they have to be Dell)
are a poweredge 1850 and a poweredge 850.

850 specs.

Procsesor: Pentium(Dual Core) 830 @ 3.0GHz/2X1MB Cache 800MHz FSB
Memory: 2GB DDR2, 533MHz (2x1GB) Dual ranked DIMMs
Disks: SATA

1850 specs.
--
Processors: 2 @ Xeon @ 3.0GHz/2MB Cache 800MHz FSB
Memory: 2GB DDR2, 400MHz (4x512) Single ranked DIMMs
Disks: Ultra 320

The pricing is really close.

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


Re: hosts.allow

2005-10-08 Thread Paul Halliday
My guess, and this is a wild one, would be:

All \All\, a. [OE. al, pl. alle, AS. eal, pl. ealle,
 Northumbrian alle, akin to D. & OHG. al, Ger. all, Icel.
 allr. Dan. al, Sw. all, Goth. alls; and perh. to Ir. and
 Gael. uile, W. oll.]
 1. The whole quantity, extent, duration, amount, quality, or
degree of; the whole; the whole number of; any whatever;
every; as, all the wheat; all the land; all the year; all
the strength; all happiness; all abundance; loss of all
power; beyond all doubt; you will see us all (or all of
us).
[1913 Webster]

So,

Service(s) : Host(s) : Action

ALL(services(s)) : ALL (Hosts(s)) : Action


On 10/8/05, Chuck Robey <[EMAIL PROTECTED]> wrote:
> I shouldn't write this while I'm frustrated.  I just hope it doesn't
> leak out, I know I tend to do that.
>
> I'm having trouble getting my mounts to work with my newly attached
> Zaurus, to my trusty FreeBSD server.  I have gotten past several
> problems, began googling error messages, and hit the /etc/hosts.allow
> file.  Here I've hit a problem.  The file, both the internals of it
> (which is a mass of examples with nearly no explanations) and the man
> page, are either circular definitions, or missing ones, grossly
> missing.  One glaring example, in the man page, the single most commonly
> used token is "ALL" but even though it's used more than any other token,
> it's not defined, even slightly.  What does ALL mean?
>
> Hmm, howcome security info, which is the most important, is always the
> worst documented, and set up with the most complicated syntax?
>
> If you MUST use examples, they should only be used to illustrate items
> that have explanations, they should never ever be used as the primary
> explanation.  I can't figure out how to use /etc/hosts.allow.  I'm not
> sure if it is, or is not, affecting my rpcbind.
>
> Well, you be the judge, did I let my frustration out of the bag this time?
>
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


--
_
Paul Halliday
http://pintumbler.com/

"Diplomacy is the art of saying "Nice doggie!" till you can find a rock."
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Slattach

2004-12-24 Thread Paul Halliday
I am trying, rather unsuccessfully, to install 5.3 on my libretto. I
am attempting to do the install with slattach to a 5.2.1 machine. I
have done this successfully before so I am assuming I have the
semantics screwy somewhere.

box1# slattach -a -h -l -s 38400 /dev/cuaa0
box1# ifconfig sl0 up 10.10.10.1 10.10.10.2 netmask 255.0.0.0

box2# slattach -a -h -l -s 38400 /dev/cuaa0
box2# ifconfig sl0 up 10.10.10.2 10.10.10.1 netmask 255.0.0.0

Can anyone see what I have missed?
-- 
_
Paul Halliday
http://dp.penix.org

"Diplomacy is the art of saying "Nice doggie!" till you can find a rock."
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Technical Differences of *BSD and Linux

2003-01-24 Thread Paul Halliday
On Fri, 24 Jan 2003, Steve Kudlak wrote:
>
> If one really wanted to have fun, and I have
> thought of this. A "triple boot system" would
> be the real way to find out the differences and
> compare the *BSD, Linux and the Windows
> Universes.

 What a unique idea.

http://www.maximumpc.com/features/feature_2002-09-24.html

Paul H.
http://dp.penix.org
---


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



Re: usb keychain memory disk doesn't work on 4.7p3

2003-01-12 Thread Paul Halliday
On Sun, 12 Jan 2003, George Hartzell wrote:

> I can't make my little Lexar JumpDrive 128Mb USB keychain memory
> "disk" work.  The device works on a windows machine, and worked on
> this very laptop back when it was running Redhat Linux 7.2 w/
> RedHat's various updates.  I got the same failure trying to use the
> device on a Dell OptiPlex GX110.

Try newfs_msdos on the device first.


Paul Halliday.
http://dp.penix.org
---



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



biometrics

2002-12-12 Thread Paul Halliday

I was just wondering if anyone is working on any kind of support for
biometric devices, in this case a targus USB thumbprint authenticator.

Thanks.

Paul Halliday.
http://dp.penix.org
---
"And so your god bungled his work deliberately, in order to tempt or test
his creature - did he then not know, did he then not doubt what the result
would be?"



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



Itronix 6250.

2002-11-06 Thread Paul Halliday

I am trying to install free on this machine, as I have no
floppy/cdrom for this box I am restricted to installing via another laptop
then swapping the drive back.

Boot goes fine until:

ata0-master: no status, reselecting device
ata0-master: timeout sending command=ec s=ff e=00
ata0-master: ata identify failed

I put the drive back into the other laptop and added hw.ata.ata_dma="0"
and retried, again recieving the same errors.

For fun I tried NetBSD and the machine boots fine. For reference the drive
appears as:

wdc0 at isa0 port 0x1f0-0x1f7 irq14
wd0 at wdc0 channel 0 drive 0:(IBM-DDLA-21620)
wd0: drive supports 16 sector PIO transfers, LBA addressing
wd0: 1551MB, 3152 cyl, 16 heads, 63 sec, 512 bytes/sect x 3177216 sectors
wd0: drive supports PIO mode 4, DMA mode 2

What is it that is restricting Free from booting while allowing netbsd to
boot properly?

Any ideas would be greatly appreciated.

Note: the bios on this machine, although updated is very limited to drive
specific configuration options so anything I do modify must be on the OS
end.

Thanks.

Paul Halliday.
http://dp.penix.org
---
"And so your god bungled his work deliberately, in order to tempt or test
his creature - did he then not know, did he then not doubt what the result
would be?"



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



Re: freebsd<-802.11b->linux

2002-06-16 Thread Paul Halliday

On Sun, 16 Jun 2002, M. Warner Losh wrote:
> I've never ever seen this.  Ever.
>
> What wireless card is in the FreeBSD box?
> What driver does it use?
> Got a traceback?
>
> Warner

[12:22pm]-root@hidden~# uname -a
FreeBSD hidden.router.box 4.5-STABLE FreeBSD 4.5-STABLE #2: Wed Mar  6
12:59:48
EST 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/router_4.5  i386

->Card is an SMC 2632W (both machines)
  wi0:  at port 0x280-0x2bf irq 3 flags 0x1
  slot 1 on pccard1

[12:13pm]-root@hidden~# ifconfig wi0 up 192.168.0.6
(hangs for a while these errors appear (bright white)
wi0: init failed
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: watchdog timeout
(then kernel spews same lines but grey w/ date etc)
Jun 16 12:22:37 hidden /kernel: wi0: init failed
Jun 16 12:22:37 hidden /kernel: wi0: timeout in wi_seek to 0/0; last
status 4000
Jun 16 12:22:37 hidden /kernel: wi0: timeout in wi_seek to 0/44; last
status 4044
Jun 16 12:22:37 hidden /kernel: wi0: watchdog timeout
wi0: timeout in wi_seek to /0; last status 
wi0: timeout in wi_seek to /0; last status 
wi0: timeout in wi_seek to fc80/0; last status 
wi0: timeout in wi_seek to fc80/0; last status 
wi0: timeout in wi_seek to fc80/0; last status 
wi0: detached
pccard: card removed, slot 1
wi0: oversized packet received (wi_dat_len=12688, wi_status=0x4000)
wi0: oversized packet received (wi_dat_len=40912, wi_status=0x4000)

-> hangs for about 5 minutes then loops through the errors again until I
physically remove the NIC. It takes a while for the box to realize the
card has
been ejected, ~2-10 minutes.

if I startup the ipaq and bring up the wireless card -before-
the fbsd box everything is fine.

as for the panic, the box rebooted awfully quick, maybe coulda been
anything no kernel gdb sorry. and I have not been able to reproduce it as
of yet.
This behavior seems to affect openbsd the same way.
and for the record linux sucks. I would love to see the daemon
on my ipaq.
Paul H.



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



freebsd<-802.11b->linux

2002-06-15 Thread Paul Halliday

Hi.

I was just wondering if anyone else has experienced crashes due to
attempting to connect a linux box to fbsd via a wireless nic. Quite sad
actually that an ipaq can crash a fbsd or obsd box while it scans in
infrastructure mode.

Anyone have any ideas? the only solution as of yet is to literally
remove the wireless card from the bsd box until the ipaq has been properly
configured to work Ad-hoc. However upon a suspend/resume the ipaq easilly
takes the machine offline again.

Thanks

Paul H.



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



Re: GPS time.

2002-03-31 Thread Paul Halliday

On Sun, 31 Mar 2002, Mike Silbersack wrote:

>
> On Sat, 30 Mar 2002, Leo Bicknell wrote:
>
> > Your NTP servers are better.
> >
> > I tested a III Plus, and without a 1 PPS source (which that model
> > doesn't provide) it's accurate to about 100ms, give or take.  Since
> > real NTP servers are < 1ms, they really aren't that good.  It's
> > not that the time isn't accurate, it's that they were not designed
> > to communicate with that accuracy to an external device.
>
> OTOH, 100ms is pretty close; I doubt many people need time better than
> that.  The one big advantage I can see with using a GPS receiver vs NTP
> servers is security & reliability; I've always worried that my clock
> might start to drift to a misconfigured NTP server.  Taken to a paranoid
> level, you could worry that someone was faking NTP replies to throw your
> clocks off. :)

This is the answer I was kinda hoping for. I think that accuracy
to ~100ms from a known source is a little more comforting than <1ms from a
server that I have no control over. I am not maintaining a space program,
just a dozen machines in my room that really serve no other purpose than
personal entertainment.


Thanks for all the replies!
>
> So, even at 100ms accuracy, it might be better to use a local GPS unit.
>
> 
>
> Mike "Silby" Silbersack
>
>
Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org



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



GPS time.

2002-03-29 Thread Paul Halliday


Hi.

I just connected my gps (garmin gps III plus) to my serial port
and realized that simply cat'ing cua0 displays date/time/position of the
unit. (neato). Anyway, how accurate would it be to use the time from this
output for ntp as opposed to my current setup using ntp servers.

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org


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



Re: Need help!! Any FreeBSD users/hackers in Toronto??

2002-03-18 Thread Paul Halliday

umm..

I could prolly help. Let me know.

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org

On Sun, 17 Mar 2002, Rayson Ho wrote:

> Hi,
>
> The distributedfolding project (similar to SETI@home, it uses your free
> computer cycles to do something useful -- folding proteins) is planning
> to offer a FreeBSD client.
>
> However, they don't know how to setup a FreeBSD box. They are located
> in the Toronto area (Canada), so am I. But I don't have much FreeBSD
> experience. I installed a FreeBSD 4.3 box *without* networking support
> a while ago.
>
> Looks like there are some people planning to ship a FreeBSD box to
> them. However, I think the best would be having a person walking
> through the entire installation process, and answering questions
> related to FreeBSD.
>
> You can learn more about this project -- www.distributedfolding.org
>
> If no one is located in the Toronto area, then I will try my best to
> help. (I will find my 4.3 CD and do a clean reinstall on my own
> machine, and try to hook-up the Net -- but I know the help from you
> guys is always better)
>
> Thanks,
> Rayson
>
> P.S. The results from this project will be publicly available, and I am
> not directly related (employed) to this project.
>
>
>
> __
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>


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



Re: cannot get more than 32 PTYs in 4.4-RELEASE

2002-03-05 Thread Paul Halliday

On Mon, 4 Mar 2002, Patrick Thomas wrote:

>
> In my kernel, I have:
>
>   maxusers128
>
>   pseudo-device   pty 128
>

Not sure if the above steps are actually required. Actually, neither
matter.  I duplicated your steps anyway, and was greeted with the same
messages.

However,

> In my /dev directory, I have used `sh MAKEDEV` to make all 256 /dev/pty
> files.  They are all there, and all have correct major/minor numbers.  I
> know I won't be using all 256 of them, but I just made them all anyway.

I believe the above steps are wrong, looking at /dev/MAKEDEV:

pty*)
class=`expr $i : 'pty\(.*\)'`
case $class in
0) offset=0 name=p;;
1) offset=32 name=q;;
2) offset=64 name=r;;
3) offset=96 name=s;;

interestingly enough the command "./MAKEDEV pty3" will create (as
indicated) heh.. I was assuming too much, something is screwy here.

*confused*

it actually only created 64 terminals. Added the line:

4) offset=192 name=t;;

~# ./MAKEDEV pty4 && kill -HUP 1

interesting, now I have 96, but can only use 64. Reboot..



Anyone care to take over?


>
> In /etc/ptys, I didn't change anything, because all 256 pty entries are
> ALREADY in there:
>
> # Pseudo Terminals
> ttyp0 nonenetwork
> ttyp1 nonenetwork
> ...
> ttySu nonenetwork
> ttySv nonenetwork
>
> So those are all there.
>
> I have used `sysctl -a | grep maxuser` to verify that maxusers is indeed
> 128.
>
> BUT - if I log on via ssh and start screen, and start 31 new screen
> windows, then nobody else can log on to the system - I cannot create any
> more screen windows AND nobody else can ssh in - the machine has run out
> of ptys.
>
> I use `fstat` to inquire, and I am maxed out at exactly 32 ptys.
>
> SO THE question is, why am I stuck at 32 ptys ?  I have done it all -
> everything that is in any doc or news post, and everything I was told to
> do here and on -hackers, and yet I am still stuck at 32 !!!
>
> Please tell me the secret lore for getting more than 32 ptys in
> 4.4-RELEASE.
>
>
> thanks,
>
> PT
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>

Paul H.
___
http://dp.penix.org




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



Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Paul Halliday

On Sat, 2 Mar 2002, Joe Abley wrote:

>
> On Saturday, March 2, 2002, at 12:23 , Paul Halliday wrote:
>
> > Your not very bright are you?
>
> Hey, at least I can spell.
Thanks for comming out mike schiffman

you got me!

My previous email was actually in 'secret' code. I was hoping to throw you
outta the loop. My bad. Damn, I underestimated those 'operating on brain
stem only' indiviuals.

I am not so sure, but I believe that it was a 'grammatical error' you
would know best however.

I am actually sorry for replying to the intial email at all come to think
of it. Heaven forbid I should try and help someone, knowing that a
question of that calibre is usually ignored on such an 'elitist' list.
What was I thinking.

I was never looking for criticism towards my solution especially
considering the normal feedback from the prominent players on this list.
I guess this list has nothing to do with the intial question anyway, just
how you can cutup a solution to a problem that someone else has tried to
rectify.

heh. I know if I don't jot this down now that everyone will reply ' this
list is not for questions like that' read the charter... etc.

Unfortunately as long as this list exists, and there are players
irrelevent questions will always be posed here. I am certain that you are
all aware of this.

so what to do?

try not to be so damn ostentatious. take a breather, hug your wife,
remember what its all about..

and if you have a problem with that? go fuck your hat.

whatever works for you I guess.


Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org



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



Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Paul Halliday

On Sat, 2 Mar 2002, Joe Abley wrote:

> On Fri, Mar 01, 2002 at 09:51:22PM -0600, Paul Halliday wrote:
> > On Fri, 1 Mar 2002, Joe Abley wrote:
> >
> > >
> > > On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote:
> > >
> > > > In the last episode (Mar 02), Daniel O'Connor said:
> > > >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote:
> > > >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l
> > > >>>
> > > >>> is IMHO correct, ;-)
> > > >>
> > > >> Ach, of course :)
> > > >> I hope the original poster is satisfied 8-)
> > > >
> > > > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l"
> > >
> > > pstat -t | grep -ic 'tty[pqrs]'
> > >
> > > saves a fork. Since we're being silly.
> >
> > err.. we are not being silly..
>
> Oh yes we are.
>
> > not accurate (read last post)
> > your modification still produces erroneous results.
>
> My modification saves a fork from your modification, as specified.
> If there is a god, this thread will now die.
Your not very bright are you? for one, there is no god. Secondly you
failed to see what I introduced into the equation in the mod.. now pay
attention Mr. not walking erectus...

this was the line in question:
[00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | wc -l
10
my addition:
[00:12am]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | wc
-l
3
your solution:
[00:17am]-root@dissent~# pstat -t | grep -ic 'tty[pqrs]'
10

And the winner for number of terminals 'actually' open? definately not
yours Mr. save a fork.
Thanks for comming out though.

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org


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



Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Paul Halliday

On Fri, 1 Mar 2002, Joe Abley wrote:

>
> On Friday, March 1, 2002, at 05:49 , Dan Nelson wrote:
>
> > In the last episode (Mar 02), Daniel O'Connor said:
> >> On Fri, 2002-03-01 at 21:19, Danny Braniss wrote:
> >>> fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l
> >>>
> >>> is IMHO correct, ;-)
> >>
> >> Ach, of course :)
> >> I hope the original poster is satisfied 8-)
> >
> > Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l"
>
> pstat -t | grep -ic 'tty[pqrs]'
>
> saves a fork. Since we're being silly.

err.. we are not being silly.. not accurate (read last post)
your modification still produces erroneous results.

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org


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



Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Paul Halliday

On Fri, 1 Mar 2002, Dan Nelson wrote:

> In the last episode (Mar 02), Daniel O'Connor said:
> > On Fri, 2002-03-01 at 21:19, Danny Braniss wrote:
> > > fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]' | sort -u | wc -l
> > >
> > > is IMHO correct, ;-)
> >
> > Ach, of course :)
> > I hope the original poster is satisfied 8-)
>
> Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l"
Actually, you are missing a delimiter for your output in the 'State'
column for pstat. Dead terminals still appear but this flag changes.

Not very accurate as is, unless you grep the OCc.

[06:54pm]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | wc -l
   8
[06:54pm]-root@dissent~# pstat -t | grep 'tty[pqrsPQRS]' | grep OCc | wc
-l
   5
[06:54pm]-root@dissent~# fstat | awk '{print $8}' | egrep 'tty[pqrsPQRS]'
| sort -u | wc -l
   5
fstat is still the winner.

>
> --
>   Dan Nelson
>   [EMAIL PROTECTED]
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org



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



Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Paul Halliday

On Thu, 28 Feb 2002, Patrick Thomas wrote:

>
> (asked on -questions and got no response, also did a `sysctl -a | grep
> pty` and only saw error messages)
>
> I am trying to troubleshoot something - the bad thing that is happening is
> that I try to create new `screen` windows and I get 'No more PTYs'.  I
> know how to add more PTYs, etc., and I am not asking how to do that - I am
> simply asking:
>
> How do I, when I am told I have no more PTYs, know whether I just hit 32
> out of 32, or 128 out of 128, or what ?  I want to know how many PTYs I
> have available, and how many are in use.
>
> How do I do that ?

ls /dev | grep pty | wc -l
who | awk '{print $2}' | grep p | wc -l

;P

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org



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



d00t! d00t!

2002-02-25 Thread Paul Halliday

5 > 2.

Thank's for bringing it home folks!

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org


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



Re: Re: MAC address

2002-02-08 Thread Paul Halliday


NIC is an abbreviation sometimes used to describe a Network interface.
It is not an acronym.


Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org

On Sat, 9 Feb 2002, Vladislav V. Anikiev wrote:

>
>  Hello Brian,
>
>   The MAC address - I meen The Media Access Control address (i.e., ethernet
> hardware address, not IP address). I want to use the default hardware (not
> current physical ) address in my license management software.
>
>   Why did you write: "Depending on the NIC". The NIC means Network
> Information Center. Doesn't it ?
>
>  Vladislav
>
> --
> > Îò: Brian Reichert <[EMAIL PROTECTED]>
> > Êîìó: Vladislav V. Anikiev <[EMAIL PROTECTED]>
> > Êîïèÿ: [EMAIL PROTECTED]
> > Òåìà: Re: MAC address
> > Äàòà: 8 ôåâðàëÿ 2002 ã. 5:45
> >
> > On Thu, Feb 07, 2002 at 10:45:01PM +0300, Vladislav V. Anikiev wrote:
> > >
> > >   Hello everyone,
> > >
> > >  I'm writing some license management software. It needs to be
> node-locked.
> > > I would like to use an ethernet MAC address. There are two addresses
> > > (default hardware address and current physical address). I would prefer
> to
> > > use the default hardware address, because it can't be changed by
> setting in
> > > software.
> >
> > Depending on the NIC, the MAC address _can_ be changed.  Unless
> > I've completely misunderstood you...
> >
> > And, what if you have two NICs?
> >
> > >   How can I take  this default hardware address (I'm using FreeBSD 4.4
> > > curently)?
> >
> > The output from 'dmesg' seems to record the device's MAC address
> > before it mght get changed via ifconfig.  But, that's not preserved
> > forever...
> >
> > >   I've found out the way how it works in "ifconfig", but in this case
> I've
> > > got the current physical address, I think (right?), which can be
> changed.
> > >
> > >  Help me, please
> > >
> > >  Vladislav
> >
> > --
> > Brian 'you Bastard' Reichert<[EMAIL PROTECTED]>
> > 37 Crystal Ave. #303Daytime number: (603) 434-6842
> > Derry NH 03038-1713 USA Intel architecture: the left-hand path
> >
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>


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



Re: can I use other floppies in the FIXIT environment ?

2002-01-19 Thread Paul Halliday

On Sat, 19 Jan 2002, Joan Schunck wrote:

>
> I am in the FIXIT environment trying to solve a problem.  Unfortunately, I
> have to use some files on (floppy X).

What exactly is the problem?

Paul H.
http://dp.penix.org



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



burning a system.

2002-01-09 Thread Paul Halliday

Hi.

I am doing a little project on an old laptop I have. What I am trying to
do is generate as much heat as possible inside the unit. Can anyone
suggest some things that I can run that will max out the cpu, bus, and
keep the hd busy for ~20min?

I tried looking in benchmarks but none of those programs seem to do
exaclty what I need.

Any suggestions would be greatly appreciated.

Thanks.

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org


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



Re: userland program panics freebsd 4.3

2001-12-20 Thread Paul Halliday


On Thu, 20 Dec 2001, Kris Kennaway wrote:

> On Thu, Dec 20, 2001 at 09:08:36PM -0600, Paul Halliday wrote:
> >
> > On Thu, 20 Dec 2001, Kris Kennaway wrote:
> >
> > > On Thu, Dec 20, 2001 at 12:45:51PM -0500, Michael Scheidell wrote:
> > > > >
> > > > > I'm not aware of any services that broke between 4.3 and 4.4.  Care to
> > > > > elaborate?
> > > >
> > > > scan through freebsd-questions, freebsd-mobile and freebsd-ports
> > >
> > > That's completely non-helpful.  I read -questions and -ports, and
> > > don't recall complaints of massive breakage in 4.4.  Perhaps you'd
> > > care to be more specific so we can actually address the problems, if
> > > they exist?
> >
> > My soundcard on my lappy has been broken since 4.4. And to be
> > brutally honest, it's really starting to piss me off.
>
> Which PR contains your bug report?  I couldn't see one.
>
> Kris
>
Due to my limited intelligence and poor cognitive skills I
consider a PR to be a waste until someone that actually knows what they
are doing reports the same problem.

The card compiles, works like a charm. However, No mixer control
with any app that I have tried; aumix, xmms, etc. (which all worked before
the sup)


Whatever..

Paul H.



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



Re: userland program panics freebsd 4.3

2001-12-20 Thread Paul Halliday


On Thu, 20 Dec 2001, Kris Kennaway wrote:

> On Thu, Dec 20, 2001 at 12:45:51PM -0500, Michael Scheidell wrote:
> > >
> > > I'm not aware of any services that broke between 4.3 and 4.4.  Care to
> > > elaborate?
> >
> > scan through freebsd-questions, freebsd-mobile and freebsd-ports
>
> That's completely non-helpful.  I read -questions and -ports, and
> don't recall complaints of massive breakage in 4.4.  Perhaps you'd
> care to be more specific so we can actually address the problems, if
> they exist?

My soundcard on my lappy has been broken since 4.4. And to be
brutally honest, it's really starting to piss me off.

>
> > as for moving to fbsd 4.4 for a 'maybe' fix of something that might
> still > show up in 4.4 (according to other posts) > > this seems to be
> in the kernel anyway, so why would moving from a known > to an unknown
> be a good thing?
>
> Because there are dozens or even hundreds of kernel bugs fixed since
> 4.3, so there's a very good chance yours was one of them.
>
> Kris
>

Paul H.


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



Re: bash scripting help/suggestions.

2001-10-20 Thread Paul Halliday


on Sat, 20 Oct 2001, Rod Person wrote:

> I'm creating a bash script and I need to know if a directory exists
> and if it doesn't create it. So far the only why I can see to
> determine if a directory exists is to try to cd to it and if it
> doesn't exists trap the error. Is there a better way or a function
> that I am missing? If not how do you trap a error in bash, if at all

if [ -d $dir ]; then ;
else mkdir $dir;
fi


> possible.
>
> Rod
>
> http://storm.prohosting.com/osbeef/osbeef.htm
>
> 'musical rhythms can mess with your head...'
>  - T La Rock
>  "It's your's"
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>

Paul H.
"Don't underestimate the power of stupid people in large groups"
___
http://dp.penix.org



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



Re: connecting a FujiFinePix1400 (USB) ?

2001-08-01 Thread Paul Halliday

Frederique Rijsdijk wrote:

> Is it possible to connect a digital camera with a USB interface
> (FujiFinePix1400 in this case) to a FreeBSD (3.4-S) host to download
> the images?  
> 
> Thanks,
> 

heh.. freebsd usb sucks.
I have a handspring and a fujifilm finepix40i that are just sitting here 
collecting dust.


 From 3.4 - 4.3 S I have tried every available means, packages, patches 
to get either of them working with 0 luck.

If you do happen to get it up and running, please let me know how you 
achieved such a miraculous feat.

> 
> -- Frederique
> 


-- 
Paul H.
___
http://dp.penix.org


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



Re: Can someone verify this?

2001-07-11 Thread Paul Halliday

Thomas Moestl wrote:
> 
> If it was an audio CD you were trying to mount: this is a known
> problem. The attached patch fixes it for me by disallowing reading of
> partial blocks; this could also be fixed by setting the buffer size
> different from the transfer size in such a case.
> 
> - thomas
> 
>   
> 
>acd-stable.diffName: acd-stable.diff
>   Type: Plain Text (text/plain)


Worked like a charm. Thanks.


-- 
Paul H.
___ 
http://dp.penix.org

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



Can someone verify this?

2001-07-07 Thread Paul Halliday

FreeBSD dissent.p450.box 4.3-RC FreeBSD 4.3-RC #3: Sun Jun 10 22:27:47
EDT 2001 [EMAIL PROTECTED]:/usr/src/sys/compile/workstation 
i386

FreeBSD useless.dell.box 4.3-STABLE FreeBSD 4.3-STABLE #6: Fri Jul  6
18:57:08 EDT 2001
[EMAIL PROTECTED]:/usr/src/sys/compile/useless  i386

mount /dev/acd0c /cdrom > should obviously fail, yet causes...

panic: vm -fault  on nofault entry, addr: c3e1e000

reboot.

any ideas?

-- 
Paul H.
___ 
http://dp.penix.org

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



Re: kernel boot up problem

2001-05-11 Thread Paul Halliday

[EMAIL PROTECTED] wrote:
> 
> Thanks for the reply. I first tried to change the IRQ from the BIOS. I saw
> that the IRQ of both the cards changes together.

hmm.. the only other thing I could suggest is if possible is flashing
the eprom on
the T1 card. I am not sure if this card supports it or not but if it
came with some sort of utility disk
then this could be another possible fix.

good luck.

> The machine has 4 CPUs and
> I am booting from CPU #1. The bios shows 4 PCI slots. The "Plug and Play OS"
> entry in the BIOS is set to "No".
> Any help will be greatly appreciated.
> Thanks,
> --Ashish
> 


-- 
Paul Halliday.
http://dp.penix.org

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



Re: kernel boot up problem

2001-05-10 Thread Paul Halliday



[EMAIL PROTECTED] wrote:
> 
> Hi:
> I am using FreeBSD 3.3 on a proprietary machine. The problem is that a T1
> card (which is a PCI device) conflicts with an in-built PCI Intel Ethernet
> 10/100 card (fxp0). Please let me know me if I have to modify the T1 driver.

You can probably change the builtins defaults from your bios.

-- 
Paul H.
===
Don't underestimate the power of stupid people in large groups.

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



Re: no keyboard

2001-05-05 Thread Paul Halliday

Alfred Perlstein wrote:
> 
> * Ceri Storey <[EMAIL PROTECTED]> [010505 11:59] wrote:
> > On Sat, May 05, 2001 at 08:54:18PM +0200, Ingo Flaschberger wrote:
> > > > Note : this is a way to kill your keyboard : an AT keyboard is not
> > > > hot-plug compatible
> > >
> > > i have never killed a keyboard with un / plugging.
> > > at linux it works.
> > Well, it works, until your keyboard does actually break :)
> 
> It can actually fry the entire motherboard.  I doubt linux can
> prevent that.
> 

it would blow the inline fuse before it fries the mother board. 


> FreeBSD 4.3 allows hotswap again.
> 
> --
> -Alfred Perlstein - [[EMAIL PROTECTED]]
> http://www.egr.unlv.edu/~slumos/on-netbsd.html
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
Paul Halliday.
http://dp.penix.org

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



hi.

2001-04-27 Thread Paul Halliday


I am working on a little program and I am kinda stuck. I have attached
it just in case what I say isn't clear.
Basically I am having problems with the while loop in _monitor_state
(line 129).

For now I am using "trap _menu_state INT" which is most likely not
right. I want to exit this function and enter _menu_state yet keep it
running as a background process so that it is still recording data. What
would be the proper way
to access _menu_state, while not terminating the while loop in _monitor
state?

just a little push in the right direction would be appreciated.

-- 
Paul Halliday 
Carpenter, Electrician.
http://dp.penix.org
Lesson of the week: dropping your PDA on a concrete floor is a bad
thing.

#!/usr/local/bin/bash
# Lets begin..
# Initial system check. Take some records. What will we watch? for now lets
# examine filesystem structure and sizes and monitor memory and cpu usage. We 
# will also determine how many users their is, what terminal they are on, and 
# what they are up to. Note: this is designed for smaller system setups. 
# Most of the checks that are performed will take far too much time and resources
# to be practical on larger systems. ie. raid arrays, terabytes of
# disk space etc.

#---#

_clean_up ()
{
echo
echo 'Caught SIGnal.. Exiting cleanly..'
echo
exit 1
# add stuff in here to cleanup working dirs.
}
trap _clean_up TERM 
##

_first_state ()
{
start=$date
clear;
echo "[ spike v.01b ]"
echo
echo "The first time this program is run it must aquire a fingerprint"
echo "of the filesystem, this process will take about 5-10  minutes."
echo "A full system fingerprint like this will be taken once every"
echo -n "24 hours. "
check=1
while [ $check = 1 ]; do
echo -n "Do you wish to continue? [y/n]: "
read comply
case $comply in
[Nn]) echo Quit!;exit 1;;
[Yy]) check=2;;
   *) echo;echo -n "** Invalid entry! **";
sleep 1;_first_state;;
esac
done;
_init_state
}

#-#

# somehow break down the fs into smaller chunks!

_init_state ()
{
echo -n "=> checking filesystem..  "
echo "# Archived: `/bin/date` #" >spike.init
/bin/ls -aliTR /root >>spike.init && chmod 600 spike.init && chflags schg 
spike.init;
echo -n "done!"
_usr_state
}

##

_usr_state ()
{
trap _menu_state INT
echo "# Archived: `/bin/date` #" > $usf0
/usr/bin/who >>$usf0
echo " ">>$usf0
/bin/ps -aurx >>$usf0 && chmod 600 $usf0
_sys_state
}

##
_sys_state ()
{   
echo "# Archived: `/bin/date` #" > $ssfwb;
upt=(`/usr/bin/top -d 1 | sed -n 1p | tr -d ,`);
echo "Load:${upt[5]} ${upt[6]} ${upt[7]}" >>$ssfwb;
/usr/bin/top -d 3 0 | sed -n 18,20p  >>$ssfwb;
/bin/df -k >>$ssfwb;

# check to see how many fs's are mounted and grab a cumlative total of free.
# blocks. Ideally I would like to break it up for local and nfs but not now.

hdf=(`/bin/df -k`);
let hdc="${hdf[10]}"+"${hdf[16]}"+"${hdf[22]}"; 
echo "Blocks Available: $hdc" >>$ssfwb && chmod 600 $ssfwb;
if [ $test -eq "0" ];
then cp $ssfwb $ && chmod 600 $ && chflags schg $;
test=1;
fi;
_cycle_state;   
}

##

_cycle_state ()
{   
# This gives us our intial numbers and keeps/logs them. Test will
# return to its "0" state whenever records are sent out.

if [ $test0 -eq "0" ]; then 
load[2]=`sed -n 2p $| awk '{print $2}'`;
cpu[2]=`grep CPU $| awk '{print $11}'`;
#mem[2]=`grep Mem $| awk '{print $11}'`;
hd[2]=`grep Available $ | awk '{print $3}'`;
test0=1;
fi  

# This parses the files created by the other functions and cycles them.

load[1]=${load[0]}
load[0]=`sed -n 2p $ssfwb | awk '{print $2}'`
load[3]=$tload
cpu[1]=${cpu[0]}
cpu[0]=`grep CPU $ssfwb | awk 

Re: Dilemma.

2001-04-20 Thread Paul Halliday

Jordan Hubbard wrote:
> 
> You probably want to use the soft updates "snapshot" mechanism to take
> a frozen snapshot of the filesystem state and then run your
> checksumming/fingerprinting scan on that.
> 

Ok, that sounds like a good idea. Not really knowing what this was 
I went and read http://www.mckusick.com/softdep. Clever and interesting
however this doc seemed to pertain to theory only. I performed a little
browse on 
the mailing list and found nothing very relevent on softupdates ie.
semantics.
I checked /usr/src/sys/ufs/ffs and their was a softupdates readme that
just covers 
tunefs (enabling soft updates) and a URL which offered more theory.

So, just how would I create this snapshot? 
 
> - Jordan
> 
>

Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://dp.penix.org
Current Project: http://dp.penix.org/cl.html
Public Key available here: http://dp.penix.org/dp.txt


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



Re: Dilemma.

2001-04-19 Thread Paul Halliday

Troy Corbin wrote:
> 
> will your monitoring script be publicly available?
> 
> -troy
 
heh..
I doubt anyone would want it when it is complete. I have attached what I
have so far. Which isnt much.
you can see what it checks, I still need to add the check for running
processes. Anyway, when this is all done
the program will loop checking certain things every 5min, 1 hour, 12
hours, and full every 24 hours. all logs will be emailed to whatever
address and whenever there is a significant change somewhere, ambiguous
processes, logs etc  will be directed to the main terminal, if
unattended and depending on the severity of the situation processes will
be terminated or if valid yet drawing a lot of resources reniced,
firewall rules may be added or modified, shells destroyed, and if
something very serious, say a scenario such as there has been a
compromise somewhere, it was dealt with, checks increase on that area,
then same or similar occurs again and things are logged yet no action is
taken within set number of minutes or whatever the system will shutdown
to single user mode etc.. this of course only occuring when something
REALLY goes bad. The primary concern will be to make sure that all
binaries are ok and the the program itself is sane and recieving the
proper information. before you laugh, this is just an at home type of
thing.
 
something like that.


-- 
Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://dp.penix.org
Current Project: http://www3.sympatico.ca/transmogrify/cl.html
Public Key available here: http://dp.penix.org/dp.txt


#!/usr/local/bin/bash
# Lets begin..
# Initial system check. Take some records. What will we watch? for now lets
# examine filesystem structure and sizes and monitor memory and cpu usage. We 
# will also determine how many users their is, what terminal they are on, and 
# what they are up to. Note: this is designed for smaller system setups. 
# Most of the checks that are performed will take far too much time and resources
# to be practical on larger systems. ie. raid arrays, terabytes of
# disk space etc.

#---#
_clean_up ()
{
echo
echo 'Caught SIGnal.. Exiting cleanly..'
echo
exit 1
# add stuff in here to cleanup working dirs.
}
trap _clean_up 1 2 3 15 17
##
_init_state ()
{
echo
echo "[ spike v.01b ]"
echo
echo "The first time this program is run it must aquire a fingerprint" 
echo "of the filesystem, this process will take about 5-10  minutes."
echo "A full system fingerprint like this will be taken once every" 
echo -n "24 hours. "
check=1 
while [ $check = 1 ]; do
echo -n "Do you wish to continue? [y/n]: "
read comply
case $comply in
[Nn]) echo Quit!;exit 1;;
[Yy]) check=2;;  
   *) echo; echo "-- Invalid entry! --";echo;;
esac
done;
echo
echo -n "=> checking filesystem..  "
echo "# Archived: `/bin/date` #" >spike.init
/bin/ls -aliTR / >>spike.init; 
chmod 600 spike.init; 
chflags schg spike.init;
echo "done!"
_usr_state
}
##
_usr_state ()
{
echo -n "=> collecting user base.. "
echo "# Archived: `/bin/date` #" > spike.user
/usr/bin/who >>spike.user; 
chmod 600 spike.user; 
chflags schg spike.user
echo "done!"
_disk_state
}
##
_disk_state ()
{
echo -n "=> collecting HD, CPU and  memory usage..  "
echo "# Archived: `/bin/date` #" >spike.dcm;
echo "Load: `uptime|awk '{print $10}' | tr -d ,`" >>spike.dcm;
/usr/bin/top -d 3 0 | sed -n 18,20p  >>spike.dcm; 
/bin/df -h >>spike.dcm
chmod 600 spike.dcm;
chflags schg spike.dcm;
echo "done!"
#_check_state
}
#--#
# Time to begin with the checks. We will work hierarchically following that
# which we have covered so far. This will be a continuous loop until main 
# is called again or until we reach an alert state.

#_check_state ()
#{
#   last_date=
#}


#_spike_released () 

_init_state



Dilemma.

2001-04-19 Thread Paul Halliday

Hi.

I will try to make this quick. I am writting a little monitoring script
in bash and I have run into a little
stumbling block. Basically, one of the checks this program will perform
is to take a fingerprint of the entire filesystem.
For my needs this is only required every 24 hours as the other
procedures that use this as a template will do so in little chunks. Now,
I have a couple of concerns.

1) Is there a simpler and faster way to perform something equivalent to
"ls -aliTR /"?  This portion of output will
be queried with checks on inode numbers, last modified, and sizes at
random intervals and subsequently updated if valid.

2) The more I test the above, the more I realise that this is not
without loopholes. Even if my checks are every 5 minutes
there still exists the possibility and time for someone that has
compromised the system to modify date / inodes to match what was
existing. <- any input on this issue would be really great. ie: a field
that cannot be modified even by root. I have had some silly ideas such
as: changing kernel secure level and chflaging every file (probably not
even possible),or maybe using pgp in some way to sign the most important
files, /bin, /usr/bin, etc.

I hope to build enough superfluity into this baby so that the above
would just be another check not the backbone of this IDS idea. 

Any help, ideas, please send.


-- 
Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://dp.penix.org
Current Project: http://www3.sympatico.ca/transmogrify/cl.html
Public Key available here: http://dp.penix.org/dp.txt


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



Re: services...

2001-04-19 Thread Paul Halliday

leal wrote:
> 
> i don't know if this list is for me... but... i invited myself...
> well, i'm brazilian and i don't speak english very well.. :O)
> i hope you understand me.
> i work with wireless, and i use slack and red hat. But now i wanna true OS.
> I found the solution, FreeBSD. I installed it, and don't need configure my
> isa adapter because it configure itself. native.
> But the configuration files in red hat for example is in
> /etc/pcmcia/network.opts and config.opts. Where i put my configuration in
> FreeBSD??? station name, encryption... etc.. the parameters of my pccard???
> And, how can i manipulate the services of my box??? the sendmail is running
> and i don't know one adminstrative software for ativate and desativate
> services... or files that i must edit
> thanks for all.
> i come in
> :O)
> 

Leal

FreeBSD offers another forum for questions such as this,checkout
freebsd-questions.
Also, the answers to these questions can be easilly found at
www.freebsd.org. Checkout the handbook and the FAQ and you will be
quickly on your way.
-- 
Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://dp.penix.org
Current Project: http://dp.penix.org/cl.html
Public Key available here: http://dp.penix.org/dp.txt


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



re: windows tech article?

2001-04-10 Thread Paul Halliday

Taken from:
http://www.microsoft.com/technet/migration/hotmail/default.asp

"FreeBSD, a UNIX-like system similar to the Linux operating system, was
used to run the front-end Web servers that 
handled login, Microsoft Outlook® Express, and Web-based content
delivery tasks"

Is it just me or is this statement completely incorrect? A "Unix-like
system" I always thought It was UNIX. Similar to Linux? I always
believed that Linux was well, anything but UNIX. 

I also fail to see any similarities between FreeBSD and Linux.

Maybe they should have said: "FreeBSD, an advanced BSD UNIX operating
system, which you should not confuse with the silly penguin warez
available, was used to run the front-end Web servers that handled login,
Microsoft Outlook® Express, and Web-based content delivery tasks. We
decided that because we leech all the information that passes though
these servers anyway, that we may as well use M$ Windows 2000 server, a
patched yet still buggy version of Windows 3.1. Everyone expects
Mircosoft products to be unstable and they pay us to be beta testers so
why break the trend.

;P

-- 
Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://dp.penix.org
Current Project: http://www3.sympatico.ca/transmogrify/cl.html
Public Key available here: http://dp.penix.org/dp.txt


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



Job.

2001-03-30 Thread Paul Halliday

hi.

Hate to post this here but I need a job... like pronto, today, chop
chop.
Unfortunately I have zero connections and zero friends (actually two, so
they claim but they can't help)  so... please listen to my dilema.

I have worked in the construction industry for about 6 years working as
a commercial/industrial electrician and carpenter. I have finished a
maximum of three years of a CIS degree which as far as I was concerened
was a total waste of time, and money for that matter. And now have very
little to show for it. Anyway, work unfortunately dropped to a lame all
time low... 

Going back to school is not an option and I believe that getting a job
in this industry is my only hope to satisfy my soon to be wife. Not to
mention supporting our notion of beginning a family.

Bottom line, I have a huge fucken debt to pay and have a wedding date
already planned for the 18th of August.

Long and pathetic story short, I need coin in a big way and fast. IE (
for those that weren't completely listening ) A JOB!
I live in Toronto, Ontario and I am willing to pursue any type of work
that would be beneficial to any operative on this list that runs some
sort of commercial enterprise.


I know, FBSD, FBSD, FBSD, FBSD, FBSD, FBSD-ALPHA, FBSD, solaris, linux,
obsd, hpux, firewalls, C, BASH ( <-elite expressionist shit) and BASH
maybe a little ascend, cisco, etc. And probably PDA programming. You
name It I will do it. An if not learn it very quickly.


If anyone can PLEASE offer something aside from dice, monster, etc, I
would prolly lub j00 foreva.


Most Humbly ;P

-- 
Paul Halliday

Don't underestimate the power of stupid people in large groups.
Web: http://www3.sympatico.ca/transmogrify
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt


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



Re: if_fxp - the real point

2001-03-09 Thread Paul Halliday

Hi.

Of the 8 machines that I own, all of the NIC's work just fine. Thank
you for doing such a great job! To the rest of you: read the
hardware.txt. Use a supported card or go suck a rotten egg.

Bill Paul wrote:
> 
> Gr.
> 
> (Yes, that's a bad omen. Get the women and children to safety now.)
> 
> (On second thought, leave the women.)
> 
> I think there's one important point that a lot of you are missing here,
> which is GETTING DOCUMENTATION. I've seen a couple people suggest that
> they'd be willing to donate time/code/etc to fix the fxp driver, but I
> strongly suspect that most of these people don't have the slighest idea
> what's really involved. You can't just look at the driver code, poke at
> it for a while, and expect the answer to fall out: you need the damn
> manual for it. And you can't get that from Intel because they're NDA
> nazis. (Johnathan Lemon is the one exception to this since he apparently
> has ways to gain access to Intel documentation thanks to his job. I think
> he's still subject to NDAs though, so I question just how much help he
> can really provide. Not that I don't encourge him to do an end run around
> Intel wherever he can, of course.)
> 
> I see lots of finger-pointing here, yet nobody seems to be prepared to
> fault the real culprit, namely Intel. Nobody sends nasty e-mails to
> their Intel sales reps or other high mucky-mucks taking them to task over
> their nonsensical NDA requirements. Nobody makes any effort to explain to
> them just how much more sense it would make and how much more money they
> would earn by simply preparing some decent manuals for a change and not
> being so anal-retentive about releasing them. If everyone would concentate
> their energy on this for a change instead of sniping at each other, I would
> be a happy man.
> 
> (Alright, I'm exagerating. It would take significantly more than that to
> make me happy, but that's a rant for another day.)
> 
> Right now I'd like to be able to write some more NIC drivers, but I have
> the following problems:
> 
> Tigon 3:
> ---
> 3Com now owns Alteon's gigabit NIC business, and Alteon's open driver
> development program seems to have been killed off. To make matters worse,
> the Tigon 3 seems to actually be a Broadcom product called the BCM 5700.
> Broadcom an even bigger NDA nazi than Intel, if you can believe that, and
> 3Com usually has no idea what's going on with regards to hardware that it
> it didn't built itself. It also has a tendency to drag its feet when it
> comes to putting together decent manuals for release to non-NDA partners.
> 
> 3Com 3CR990
> ---
> This is 3Com's ARM-based 10/100 NIC that can do hardware encryption.
> I have no idea how to get programming info for this NIC out of 3Com without
> NDA.
> 
> Level1 LXT1000
> --
> This is a gigabit MAC which D-Link is shipping on their gigabit ethernet
> cards. Intel owns Level1 now, and documentation for the LXT1000 controller
> is nowhere to be found.
> 
> Broadcom 10mbps homePNA
> ---
> I tried navigating Broadcom's sales/support maze looking for info on
> this chip, they told me they weren't interested in releasing any info
> without NDA at this time. From what I've been told, this chip has some
> other functionality built into it which allows it to be used for more
> than just homePNA networking, and Broadcom simply doesn't want to tell
> people about it. I don't care one way or the other.
> 
> USB 802.11 wireless NICs
> -
> Somebody pointed one of these out to me recently, I think they're a
> D-Link product. Again, I don't know who makes them or where to find
> manuals. No documentation, no cookie.
> 
> There's probably other cases here that I've forgotten. Regardless, it
> really cheeses me off when people ask me "hey, I just saw such-and-such
> card that looks really neat; if I get you one, can you write a driver
> for it? I'd be happy to test it for you." Having a sample card doesn't
> do a damn thing for me THE STINKING PROGRAMMING MANUAL. If I *had* the
> manuals for these things, I'd be probably already be working on drivers!
> 
> "But Bill, you work for BSDi now. Can't they get you manuals?" Working for
> BSDi is irrelevant: I can't sign any NDAs if I want to release driver
> source, and I do want to release the source. And there isn't a designated
> person at BSDi that I can turn to to help turn up the heat on recalcitrant
> vendors. I'm not willing to go sneaking around and mooching these things
> from secret sources since it just perpetuates the officially sanctioned
> vendor stupidity. I don't want to have meetings, negotiations or "strategic
> partnerships," I just want the stupid programming manuals without NDAs.
> 
> A few other things while I'm here. D-Link, LinkSys and Netgear do *NOT*
> make their own 10/100 NIC controller chips. They buy them from other
> companies. In some cases, they buy the whole card and simply stamp their
> name on it. There were 

freezing freebsd.

2001-03-03 Thread Paul Halliday

While on the topic of crashing FreeBSD I would like to post this and
see if I can get any input on it. 
Let's assume that someones configuration happens to contain something
like this:

sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250

This is easily achieved if you have eliminated some ports via your bios
to juggle some irqs or, in the case that I first noticed it
a bad serial port on my gateway.

Anyway, 

[dp]-useless% cu -l cuaa0
Connected.




... and your system will be pretty much toast. I am not really sure what
is happening here. There is no reboot, no crash, the system just hangs.
SSH connection from another machine locks up and the machine seems to
dissapear from the network. Power cycling seems the only recourse.

I have tried this on two x86 machines runnning 4.2-stable and two
alpha's running 4.2-stable. I know this is probably something stupid
but, if someone could tell me why it does this, I would greatly
appreciate it.

thanks.  

-- 
Paul H.

Don't underestimate the power of stupid people in large groups.
Brute force is the last resort of the incompetent.
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F  D5EC 3D39 F274 4AA3 E8B9
Web: http://www3.sympatico.ca/transmogrify
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt


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



Handspring.

2001-02-09 Thread Paul Halliday


What are the chances of porting to this baby?

-- 
Paul H.

Don't underestimate the power of stupid people in large groups.
Brute force is the last resort of the incompetent.
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F  D5EC 3D39 F274 4AA3 E8B9
Web: http://www3.sympatico.ca/transmogrify/cl.html  <--NEW
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt



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



tasteless?

2001-01-16 Thread Paul Halliday

 



Keyboard problemo solved.

2000-12-23 Thread Paul Halliday

Hi.

Thanks for the suggestion on the fuse. There is in fact a fuse, 125v
3A, direct line fuse soldered to the mb. After checking around for
continuity around the plug this was easy to find. I grabbed an old 486,
soldered off a working one, then back to the p133. Voila! Thanks for all
of the suggestions, my gateway is back in action. :) 
-- 
Paul H.

Don't underestimate the power of stupid people in large groups.
Brute force is the last resort of the incompetent.
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F  D5EC 3D39 F274 4AA3 E8B9
Web: http://www3.sympatico.ca/transmogrify
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt



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



KB problemo.

2000-12-22 Thread Paul Halliday

Hi.

Off topic, but I figured my best chance for some input would be from
here. <-- I am sure most of you shudder upon hearing this 

My gateway is switched with one of my desktops ie. monitor / keyboard.
Unfortunately yesterday when I switched to check some stuff out I
realised that the keyboard would not work. On a reboot I get
bp, then keyboard not found or keyboard error. So, yes
as mentioned just recently on this list, hard switches are _BAD_. 
Now, aside from purchasing a new mb (it's only a p133, still fairly
new). Is there a way that I can either; a) break out the soldering gun
and replace the damaged components ex. being if it was just the actual
plug on the mb I am sure I could solder on a new one, or b) use either a
serial port or parellel port to get this machine back up?


Appreciated..

-- 
Paul H.

Don't underestimate the power of stupid people in large groups.
Brute force is the last resort of the incompetent.
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F  D5EC 3D39 F274 4AA3 E8B9
Web: http://www3.sympatico.ca/transmogrify
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt



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



Re: PC compatibility cards.

2000-08-09 Thread Paul Halliday



David Scheidt wrote:

> The ones I am familiar with were 486 somethings in PowerMac 6100s.  I have
> no idea if you could run FreeBSD on them;  they certainly wouldn't work *in*
> a PC, being PDS cards.  ARe the ones you have PCI?
> 
> David

As a matter of fact, they are. Or at least appear to be. 
-- 
Paul H.





Don't underestimate the power of stupid people in large groups.

Email: [EMAIL PROTECTED]

GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F D5EC 3D39 F274 4AA3 E8B9

Public Key available here: http://www3.sympatico.ca/transmogrify/dp.txt

Linux < FreeBSD 



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



PC compatibility cards.

2000-08-09 Thread Paul Halliday

Hi.

Kinda off topic, but maybe not.

I just aquired a few pc compatibility cards. From what I can ascertain
they have an onboard p166 processor, 16m ram, 2 meg ati video, 256k
cache, etc. Anyway, after a little reading i figured out what these
little buggers do. Now, has anyone ever tried to mod one of these things
and use it in a "pc"?, they are designed for Macs.

If anyone has played with one of these, any info would be greatly
appreciated.

Paul H.


Don't underestimate the power of stupid people in large groups.
Email: [EMAIL PROTECTED]
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F D5EC 3D39 F274 4AA3 E8B9
Public Key available here: http://www3.sympatico.ca/transmogrify/dp.asc
Linux < FreeBSD




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



Re: pcmcia copout.

2000-04-18 Thread Paul Halliday



Warner Losh wrote:
> 
> In message <[EMAIL PROTECTED]> Paul Halliday writes:
> : Any ideas?
> 
> Error messages?  Without them it is impossible to know what is going
> on.

Hence my need to submit this message, ei. there are none. The only way
of determining that the box is down is by pinging it from another box.
The device is comming down. And I have no idea why. The device is still
up, according to ifconfig, then I bring it down then back up again. Yet
when this is done, transfer begins again, then suddenly stops.
> 
> Warner

-- 

Paul H.

===
Don't underestimate the power of
stupid people in large groups.

Email: [EMAIL PROTECTED] & [EMAIL PROTECTED]
BIO: http://bling.dyn.dhs.org
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F D5EC 3D39 F274 4AA3E8B9
Public Key's available here: http://bling.dyn.dhs.org/texts/public.html
===


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



pcmcia copout.

2000-04-18 Thread Paul Halliday

Hi.

I have tried this in freebsd-questions twice now, so I guess I shall
try here.

This is a re-submission. I am still trying to do this install and from
what I can ascertain, none of the settings present during the install
will make
this card work properly.
Again, this card has been tested and is working. When this card was
working (3.4 stable) I had to explicitly specify its irq in the
pccard.conf, if i relied on auto negotiation it would come up but not
work correctly. So now, already somewhat knowing the answer to my own
question, how can I hax0r the boot disks to achieve this end, ie.
hardcode?

Original message...

Architecture: Dell Latitude Cpi i386.
OS: FreeBSD 4.0-RELEASE
NIC's: 3COM Etherlink III and 3COM Megahertz 56k modem.
Media: Floppy disks / FTP via local lan to the internet.

This box had 3.4-STABLE running without a hitch three days ago. I tried
to cvsup it to 4.0-STABLE
and for some reason while building, i decided to use the -k flag on make
installworld :( . After I finally got it running again I made some
backups i wiped the whole system clean. 

So with my shiny new install disks, the setup was goin fine, the card
inits and the installation begins. However within a meg or two of
transfer it dies. 

What I have tried:

1) all possible irq/memory configurations within sysinstalls limits.
Including the default recommendations, which did not work.
2) dissabling as many devices as possible via dell's BIO's, to try and
free up the pool.
3) tried the card in a different slot, and remove the other card.
4) a different server
5) set fire to my laptop.

 From the emergency shell if I bring the device down, then re-init, it
begins transfer again, but only for a few seconds. Ping requests lag to
around 300 until it goes down.

Any ideas?

Thanks.

-- 

Paul.
===
Don't underestimate the power of
stupid people in large groups.

Email: [EMAIL PROTECTED] & [EMAIL PROTECTED]
BIO: http://bling.dyn.dhs.org
GPG Key fingerprint: 2D7C A7E2 DB1F EA5F 8C6F D5EC 3D39 F274 4AA3E8B9
Public Key's available here: http://bling.dyn.dhs.org/texts/public.html
===


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