'freebsd-update upgrade' hosed system - rescuable?

2009-11-25 Thread cali clarke
I just updated to 8.0-RELEASE with freebsd-update.

I ran:

# freebsd-update -r 8.0-RELEASE upgrade
merge config files
# freebsd-update install

I was told to reboot and run freebsd-update install again to complete the
process.

I rebooted into single user mode, mounted /usr and /var and somehow forgot
to
mount / as read-write.

Of course, freebsd-update didn't check to see if it could actually write to
all the
directories it needed to write to first and catastrophically wrote half an
upgrade
(which it now appears to have deleted the source files for) and has broken
my
system (most of the stuff in /usr/bin now depends on libraries in /lib that
were
never written).

What's the quickest and cleanest way out of this mess?

I'll submit a PR if my system ever comes back up.

Please CC, i'm not subscribed.
___
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


ZFS pools gone?

2009-11-25 Thread cali clarke
I just did a clean install of 8.0-RELEASE.

I am _CERTAIN_ that the drives with ZFS on them were not touched by
the installer.

Having booted the system (with zfs enabled in rc.conf):

# zpool list
no pools available
# zfs list
no datasets available

Any assistance would be helpful.
___
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-update upgrade' hosed system - rescuable?

2009-11-25 Thread cali clarke
The installer eventually worked on the sixth attempt (I had to use the CD
to load the kernel and then yank the CD out amongst streams of
READ_TIMED_OUT errors).

May have made things worse, however.
___
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: ZFS pools gone?

2009-11-25 Thread cali clarke
Thanks for the replies, all.

An import and upgrade was all that was needed.
___
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


portsnap: metadata is corrupt

2009-11-25 Thread cali clarke
Last one from me today, I hope.

# rm -r /var/db/portsnap /usr/ports  mkdir /var/db/portsnap /usr/ports
# portsnap fetch extract
59mb download
Could not open sha256 string: no such file or directory
metadata is corrupt

I've tried all of the portsnap mirrors and have downloaded the same thing
about ten times now.

8.0-RELEASE amd64.

I've seen various reports of this problem around the web but no solutions.
___
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


binat problem with jail loopback addresses

2008-02-21 Thread cali clarke
Hi.

I'm trying to set up a jail running on a loopback IP connected to the
outside world with pf and binat.

My interfaces are configured like this:

 ifconfig lo1 inet 127.1.0.1 netmask 0xff00 up
 ifconfig lo1 alias 127.1.0.2 netmask 0xff00
 ifconfig lo1 alias 127.1.0.3 netmask 0xff00

 ifconfig fxp0 inet 192.168.2.5 netmask 0xff00 up
 ifconfig fxp0 alias 192.168.2.9 netmask 0xff00

$ jls
  JID  IP Address  Hostname  Path
5  127.1.0.3   wwwproxy  /usr/jail/wwwproxy

The idea is to have wwwproxy running on 127.1.0.3, with an externally
visible IP of 192.168.2.9 using pf binat.

Now, I have a pf ruleset like this:

#--#

nic0 = fxp0
lo0 = lo0
lo1 = lo1

dns = 192.168.3.10
me = 192.168.2.5

wwwproxy = 127.1.0.3
wwwproxy_e = 192.168.2.9

table net_priv { 192.168.2.0/24 }
table net_dmz { 192.168.3.0/24 }
table proxy_users { $me, $wwwproxy_e }

#--#

binat on $nic0 from $wwwproxy to any - $wwwproxy_e

#--#

block in log all
block out log all

# allow loopback
pass log quick on $lo0 from 127.0.0.1 to 127.0.0.1 modulate state

# allow wwwproxy to connect out and allow some connections in
pass out log quick proto udp from $wwwproxy_e to $dns port 53 keep state
pass out log quick proto tcp from $wwwproxy_e to any modulate state
pass in log quick proto tcp from proxy_users to $wwwproxy_e port
8080 modulate state

# allow me to connect out
pass out log quick on $nic0 proto udp from $me to any keep state
pass out log quick on $nic0 proto tcp from $me to any modulate state

#--#

I have an HTTP proxy running inside the jail:

$ netstat -f inet -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0  0  127.1.0.3.8080 *.*LISTEN

Inside the jail, I can connect to external sites:

wwwproxy% nc -z -v www.google.com 80
Connection to www.google.com 80 port [tcp/http] succeeded!

00 rule 8/0(match): pass out on fxp0: 192.168.2.9.62735 
192.168.3.10.53: UDP, length 32
001253 rule 8/0(match): pass out on fxp0: 192.168.2.9.61723 
192.168.3.10.53: UDP, length 32
000955 rule 9/0(match): pass out on fxp0: 192.168.2.9.64134 
66.249.91.104.80: tcp 0

Outside the jail (on the host machine), however, I cannot connect to the HTTP
proxy, despite pflog showing the connection being allowed:

$ nc -z -v 192.168.2.9 8080
nc: connect to 192.168.2.9 port 8080 (tcp) failed: Connection refused

3. 680214 rule 9/0(match): pass out on lo0: 192.168.2.9.60606 
192.168.2.9.8080: tcp 0
60 rule 10/0(match): pass in on lo0: 192.168.2.9.60606 
192.168.2.9.8080: tcp 0

It appears that binat isn't actually doing what I think it should (a connection
to 192.168.2.9:8080 should connect to 127.1.0.3:8080).

What am I doing wrong?

XW

(ps: please CC, I'm not subscribed)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: matlab mex files on FreeBSD

2005-06-25 Thread cali


- Original Message - 
From: cali [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Tuesday, June 21, 2005 4:47 PM
Subject: matlab mex files on FreeBSD


Has anyone managed to get matlab mex files compiling and running properly 
with matlab on FreeBSD?


I'm still interested in this question because I don't know if my solution 
below totally solves the problem.


I suppose the problem is that matlab is a Linux binary and matlab is 
running in Linux ABI mode, but the compiler is compiling to FreeBSD 
native, or something?


It's obvious that this was the problem, one can fix it by changing the 
compilers pointed to

in the glnx86 section of

/compat/linux/usr/local/matlab/bin/mexopts.sh

to

CC='/compat/linux/usr/bin/cc'
CXX='/compat/linux/usr/bin/g++'

and possibly

FC='/compat/linux/usr/bin/f77' (not sure if this is necessary because I 
didn't try compiling fortran files yet)


Just changing the compiler seems to work, at least for simple files anyway. 
If anyone else has experience, please let me know.


Cali 


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


Re: commandline audio volume?

2005-06-25 Thread cali

Silly question, I know, but I can't seem to find the commandline audio
volume adjustment command.


mixer volume L:R

to set the left volume to L and the right volume to R, note that a colon 
separates the L and the R. Also, just type mixer to see what else can be 
changed. This worked for me anyway, not sure if the interface has changed 
since.


cali 


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


Re: Explaining FreeBSD features

2005-06-23 Thread cali

Ah, but help on who's terms? Telling a newbie to RTFM for an answer that
he asks which is in the manual IS help.

Yes, it is help. But how dumb does a person have to be if this is of real 
help?


If they were like ultra-newbie, they might not even know how to access the 
manual, but this is improbable.


The idea is, the newbie gets repeatedly told RTFM, so that eventually they 
get the idea that they must work it out for themselves because they develop 
this inner fear of asking for help and being ridiculed, ie they don't want 
to portray themselves as a lamer. Usually it works.


Sometimes there are people who will spout RTFM willy-nilly. I have 
witnessed on several occassions (not on this list) of people spouting RTFM 
when the manual in question did not contain the answer to the question asked 
at all, thereby backfiring on the RTFM spouter and resulting in 
self-ridicule. In such cases I believe that the spouter has some self-esteem 
problem and likes to newbie-bash, or just hazards a guess that the answer 
must be in the manual and automatically spouts RTFM.


So the question bearer should state whether they have read the manual first. 
Then if it turns out that the answer is in the manual, they shall be 
ridiculed, resulting in them hopefully being much more careful next time 
when they read the manual.


Sometimes people ask simple questions, the answer is in the manual, but 
reading the manual to find the answer is akin to reading a book to discover 
how many pages it has. In such cases one feels that the information asked 
should be somewhere else, not buried in a big manual. It may be more useful 
in such cases to just answer the question so it ends up in the mailing 
archive and comes up when someone searches for it.


cali 


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


Re: Explaining FreeBSD features

2005-06-23 Thread cali

I'm not watching the entire thread, so what I write below may seem a bit
out of context.  On the other hand, this particular post shows some of
the few points I don't like about a stream of RTFM responses.

You seem to overvalue ridicule, IMHO.


I was trying to illustrate the ridicule case rather than explicitly advocate 
it, but perhaps I came across as being too strong of an advocate.


I'm assuming that the ridicule approach does work sometimes, personally I 
think it worked for me to some extent.


There is also the silent-ridicule approach, where it is not necessary to 
explicity ridicule the question bearer, under the assumption that the 
question bearer will eventually become self-aware of what is ridiculous, and 
hence self-ridicule and scutinise prior to posting. Clearly in some cases 
the ridicule approach can be an effective primer for this state of mind.


The ridicule approach may not be the most effective primer. In many cases 
the ridicule will result in an increase in frustration and possibly a 
reduction in the users capacity to work the answer out for themselves.


I think, that really only questions, whose answers cannot readily be found 
elsewhere, should be asked on this list.


Part of the question-bearers education, whether that be from the list, or 
from other documentation, should result in the installation of the the 
solve-it-yourself mindset in their head. So that they are more tentative in 
their approach to asking questions, they should also become better problem 
solvers and FreeBSD users as a consequence of having to think for 
themselves.


Part of the FreeBSD education should consist of informing the user how they 
can help themselves, and how they should seek help in the event that the 
self-help fails. If that education scheme was effectively employed, perhaps 
there wouldn't be as many stupid questions.


But then again, perhaps this is the education, the self-realisation of this 
information without it explicitly being enumerated in some accesible form.


Cali 


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


Re: Newbie - Trouble Installing Gnome2

2005-06-23 Thread cali

   Attempting to fetch from
ftp://ftp-FreeBSD.org/pub/FreeBSD/ports/distfiles/ghostscript/.
   fetch: ghostscripts-fonts-std-8.11.tar.gz: local modification
does not match remote
   = Couldn't find it - please try to retrieve this
   = port manually in /usr/ports/distfiles/ghostscript and try
again.



   ...so, what happened?


I did a search on google for the line local modification does not match 
remote, one of the responses was from the freebsd-questions mailing list


http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/030315.html

the end result was


On Mon, 2003-12-29 at 11:28, Michael A. Alestock wrote:
fetch: cvsup-snap-16.1h.tar.gz: local modification time does not match 
remote

Either



a) Remove file from /usr/ports/distfiles and try again



or



b) Fetch file manually into /usr/ports/distfiles



... in addition to (if checksum announced in ports is wrong, which
sometimes happen) possibly either a) making new checksum with `make
makesum` or b) remove distinfo file.



HTH


So the idea is that the remote file failed to match some security criteria 
so it was not downloaded, the resolution is explained correctly by the 
response from HTH repeated above for your convenience.


Google also returned:

http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089503.html

So in the future, I suggest, looking on the mailing list archive first 
because you might find the answer to your question there.


Cali 


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


matlab mex files on FreeBSD

2005-06-21 Thread cali
Has anyone managed to get matlab mex files compiling and running properly 
with matlab on FreeBSD?


I am too stupid to work it out.

I get this

ELF file OS ABI invalid

error

when I try to run stuff compiled using mex

I suppose the problem is that matlab is a Linux binary and matlab is running 
in Linux ABI mode, but the compiler is compiling to FreeBSD native, or 
something?


Cali 


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


Matlab on FreeBSD 5.3

2005-02-27 Thread cali
I've tried installing Matlab 13 on FBSD5.3 according to the handbook but I 
can't get it to work. This is pretty annoying since it cost a lot of money. 
I was really stupid, in that, I had a years technical support from 
Mathwords, but kind of gave up because their suggestions got me nowhere and 
it was quicker just to use a pirated copy on windows than follow their 
suggestions when really that was the perfect opportunity to continually 
badger them; since I was paying for it they were obliged to respond...

The problem is the license manager as far as I can tell, I can't seem to get 
it to start.

OK, there are a lot of different pieces of information I could post at this 
point, but I'm not sure which are most relevant. So, first of all, I think a 
sensible question I should ask is this:

Has anyone on this list got Matlab 13 (aka 6.5) running on FBSD5.3? If so, 
did you do this by following the instructions in the handbook verbatim, or 
some other way?

thanks
cali 

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


Re: Matlab on FreeBSD 5.3

2005-02-27 Thread cali
I just got it to work, thanks to the encouragement of Santo Natale.
One thing is the architechture, to fix this you can edit the matlab binary, 
which is actually a script

gvim /usr/local/bin/matlab
or whatever
if you read down you will see some stuff about
ARCH_LIST
go down below the fucntion check_archlist and at the bottom of it you will 
see two conditionals that say:

ARCH=
change these to
ARCH=glnx86
or whatever your architechture is (it might be that you only need to change 
one, but this isn't important)

Then another thing to make sure is that your hostname is set the same as the 
SERVER line
in your matlab license manager file so if my hostname was dork, then it 
would say

SERVER dork ID=XXX
where you replace XXX with your user ID
you also have to make sure that you setup your options file properly in your 
license file
you should have a line like:

DAEMON MLM /compat/linux/usr/local/matlab/etc/lm_matlab 
options=/compat/linux/usr/local/matlab/etc/MLM.opt

and in MLM.opt it needs to say:
INCLUDE MATLAB USER blah
where blah is your user, note that I'm assuming you have a standalone 
license

make sure you leave a blank line after the INCLUDE line, I know, sounds dumb 
but otherwise it doesn't work.

then you just start the flexlm (not as root)
/usr/local/etc/rc.d/flexlm.sh start
and then start matlab underthe user you were configured for
matlab
and it should work... well I only just got it working so hopefully 
everything works.

thanks
cali 

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


Re: Installation instructions for Firefox somewhere?

2005-02-27 Thread cali
- Original Message - 
From: John [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Monday, February 28, 2005 12:38 AM
Subject: Re: Installation instructions for Firefox somewhere?


On Mon, 28 Feb 2005 00:53:29 +0100, Anthony Atkielski wrote
Unless the OS is a Swiss cheese of bugs, constant updating is not
necessary.  If the OS is so insecure that you must constantly update
just to stay ahead of the kiddies, it's time to think of installing a
different OS.
Were we discussing the OS? I thought we were discussing ports in general 
and
firefox in particular. Ports have seperate security issues; they are not 
part
of the OS, hence the security message displayed after any port is 
installed.

Constant *vigilance* is neccesary - whether or not you update depends on 
the
situation and the reason. In my earlier posts I was just trying to 
indicate
how easy this would be with portupgrade. Now I find that there's something
even easier called porteasy, and you apparently don't need the entire 
ports
tree to use it.

this system is great :) so many different ways of accomplishing the same 
goal.
there is also portmanager :)
cali 

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


Re: Strange question about the logo?...

2005-01-30 Thread cali
Can you tell me why FreeBSD choosed a devil as logo?
Don't listen to those lies about it being a daemon, they are just trying to 
trick you. It really is a demon/devil, and FreeBSD is forged in the depths 
of hell itself. In fact FreeBSD really stands for Free(Burning Soul 
Destruction).

Isn't it suspicious that FreeBSD is so stable? Ever taken a close look at 
the kernel source? What do you think all those modulo 666 operations are 
for? Devil worship, thats what, downright devil worship!

Don't worry about this, but exactly 6 days, 6 hours, and 6 minutes after 
install, the system starts changing, you must type in a special mantra 6 
times a day and commit at least one inhumane act and/or sacrifice per week, 
otherwise unstability ensues.

A soul is a small price to pay for such ungodly stability and demonic 
operating speeds. You read the license agreement right?

cali 

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


Re: hardware testing / burn in software

2005-01-28 Thread cali
Hi List,
Is there any freebsd based p.c hardware / burn in testing software 
available ?

Someone suggested this to me when I had a suspected hardware problem earlier 
this month:

http://www.memtest86.com/
cali 

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


Re: making music

2005-01-28 Thread cali
- Original Message - 
From: Mikko Heiskanen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 1:36 PM
Subject: Re: making music


Gert Cuykens
Does freebsd has programs to make music ? like sonar or logic or 
fruityloops ?
If you know tracking, cheesetracker seems to be nice.
If you like tracking, checkout this FT2 style tracker (its as if FT2 never 
died):

http://www.metamacro.com/awezoom/skale/
it obviously has loads of cool modern features in addition
cali

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


Re: making music

2005-01-28 Thread cali
Gert Cuykens
Does freebsd has programs to make music ? like sonar or logic or 
fruityloops ?
If you know tracking, cheesetracker seems to be nice.
If you like tracking, checkout this FT2 style tracker (its as if FT2 never 
died):

http://www.metamacro.com/awezoom/skale/
it obviously has loads of cool modern features in addition
cali
I might have jumped the gun however, since I don't know if it works on 
FreeBSD, it is supposed to run on Linux, but I don't know whether they mean 
natively or under WINE or what... worth checking out though, for sure.

clai 

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


Re: BSD

2005-01-28 Thread cali
In this book I have called The Design and Implementation of the 4.4 BSD 
Operating System it says on page 8:

Software from Berkeley is released in Berkeley Software Distributions 
(BSD)

that's with an 's', that is also the name of the section in the book.
On page 10 it says:
The commerical variant most closely related to 4.4BSD is BSD/OS, produced 
by Berkeley Software Design, Inc. (BSDI). Early BSDI software releases were 
based on the Net2 release; the current BSDI release is based on 4.4BSD-Lite

Oh, sorry for not replying to all the people on reply-all, I accidently 
deleted the email so I'm just sending it to the list.

cali
P.S: That book is awesome if you have the time to read it, I still haven't 
read all of it yet though unfortunately. 

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


Re: image on website

2005-01-28 Thread cali
On Sat, Jan 29, 2005 at 09:31:54AM +1100, Dave Horsfall wrote:
On Fri, 28 Jan 2005, Jerry McAllister wrote:
 Someone else has answered your specific question, but I can't help
 but wondering how an image of Beastie (BSD) swinging a large rubber
 mallet fits in your project on menstrual cycles, fertility and
 contraception.   My guesses might be a bit far afield.
Of course, you might have to be female to understand...
((Or married to one!))  :-)
OK, I think I get it now. The redness of beastie signifies the redness of 
the menstruation and also a person getting angry, swinging around a hammer 
corresponds to mood swings, and indicates the anger. In retrospect, it 
seems like quite a reasonable choice of image. Dunno about the rubber bit, 
maybe this has something to do with contraception, in summary:

anger - redness of beastie
menstruation - redness of beastie
mood swings - swinging of hammer
rubber - something to do with contraception, or co-incidence
cali 

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


Re: BSD

2005-01-28 Thread cali
with 4.4-LITE (I think that was the last
I think you're right, in the book on page 9 it says:
The last of the money in the CSRG coffers was used to produce a bug-fixed 
version of 4.4BSD-Lite, release 2, that was distributed in June 1995. This 
release was the true final distribution from the CSRG

So according to that the last CSRG release was 4.4BSD Lite-2
cali 

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


Re: Where I can find boot's dmesg

2005-01-27 Thread cali
Hi list,
  I'm currently use FreeBSD-5.2 and just wondered where I can
see the dmesg in the time I booted my box up.
In the time? You want it to occur with the same timing that it did at 
bootup?

otherwise just type
dmesg
but surely you know this since you know it is called dmesg?  are you asking 
for something else?

cali 

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


Re: Where I can find boot's dmesg

2005-01-27 Thread cali
Hi cali,
  Sorry for my bad English. I mean how can I find the booting message
that shown at boot time before login: prompt such as
CPU  MHz
Memory  KBytes

PCI .
ATA 
CDROM .

and  blah blah blah.
Type dmesg at the command prompt, obviously if you want to put it into a 
file, type

dmesg  file
If you are superuser you can also cat these files:
/var/log/dmesg.today
/var/log/dmesg.yesterday
and anybody can cat
/var/run/dmesg.boot
cali 

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


Re: Where I can find boot's dmesg

2005-01-27 Thread cali
On Thursday 27 January 2005 11:07:11, Supote Leelasupphakorn wrote:
Hi list,
   I'm currently use FreeBSD-5.2 and just wondered where I can
see the dmesg in the time I booted my box up.

Look into /var/run/dmesg.boot or use the Scroll-Lock key (it's between the
Print/Sys-Req and Pause/Break keys) to make the console display scrollable 
by
the Pageup/Pagedown and Up/Down keys.
or just type
dmesg | more
or
more /var/run/dmesg.boot
cali 

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


Re: portmanager loop?

2005-01-26 Thread cali
I had (have?) several packages in the ports collection that needed 
updating, and recently someone in the list was talking about using 
portmanager -u to save on problems with updating; it doesn't touch the 
ports database, it won't mess up the collection, it walks dependencies 
automagically, etc...should be as easy as portmanager -u and letting  it 
do it's magic, correct?
I read the same thing, and thought I'd give it a shot.
On the Dell 2650 this is running on (FBSD 4.9) *seems* to keep 
recompiling xfree86-4-server.  Is there a way to tell if it is stuck in  a 
loop?  I had to stop it yesterday after it had been upgrading for  several 
hours.
The same thing happened to me. Not sure where it was stuck but I was getting 
a distinct sense of deja-vu watching the output (I don't really mean deja-vu 
but I can't think of a better way to say it). I left it for 30 hours, and 
then cancelled it. I'm going to try and run it again today, I'd like to know 
also if it will eventually get out of the loop, i.e if it is really a loop 
or something different.

sorry that this post doesn't really help the situation
cali
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK 1.5 and 5.3

2005-01-24 Thread cali
Andrew Hall wrote:
snip
Any idea about the missing browser plugin?
Which browser? For Firefox one way to get a functional Java plugin is 
simply to install the JDK before you build Firefox.
I think on Konqueror you just need to set in the configurations the path to 
javac, well at least that seemed to work for me with jdk-1.4.2-p6...

cali 

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


Re: My computer keeps crashing

2005-01-21 Thread cali
- Original Message - 
From: Chris [EMAIL PROTECTED]
To: cali [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, January 21, 2005 12:14 AM
Subject: Re: My computer keeps crashing


cali wrote:
If this is the wrong mailing list, I apologise, suggestions to a more
appropriate mailing list will be appreciated.
Reasonably recently I upgraded my hardware to the following:
Soltek SL-NV400-64 Purple
Ray (Socket A) Motherboard
AMD Athlon Barton XP3200+
400FSB (Socket A) CPU - OEM
Asus DRW-0402P DVD-R/RW -
Retail
Adata 512MB DDR PC3200 CAS 2.5
Adata 512MB DDR PC3200 CAS 2.5
Zalman Flower CNPS6000-Cu
Silent Socket A CPU Cooler -
Antec Sonata Piano Black
Quiet Case - 380W TruePower
Silent PSU
Hyundai ImageQuest Q995 19''
Perfectly Flat CRT Monitor -
Black/Silver
Geforce FX 5200 graphics card
IBM 60GB HD
Western Digital 160GB HD
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the machine 
as it
is completely unresponsive, I was running an experiment in console mode 
and it showed me the kernel panic:

kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0xed7c:0x0
stack pointer   = 0x10:0xe529ed88
frame pointer   = 0x10:0x0
code segment= base 0xcc084, limit 0xaaec, type 0x0
   = DPL 0, pres 0, def32 0, gran 0
processor eflags= IOPL = 0
current process = 533 (maximumcut)
trap number = 9
panic: general protection fault
Uptime: 5m27s
and another time:
kernel trap 9 with interrupts disabled
kernel trap 9 with interrupts disabled
Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0x9d7c:0x0
stack pointer= 0x10:0xe7509d88
frame pointer   = 0x10:0x0
code segment  = base 0x8c084, limit 0x74ec, type 0x0
  = DPL 0, pres 0, def 32 0, gran 0
processor eflags  = IOPL = 0
currrentprocess   = 593 (maximumcut)
trap number = 9
panic: general protection fault
Uptime: 16m7s
I copied this manually so hopefully I copied it correctly.
I think the problem might be due to my bios settings running the CPU to 
fast although I do not think I am overclocking it. This might explain the 
strange timing of the problem, maybe the motherboard is unstable.

here is my dmesg:
Copyright (c) 1992-2005 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 5.3-STABLE #5: Thu Jan 13 12:34:13 GMT 2005
   XX:/usr/obj/usr/src/sys/GENERIC
mptable_probe: MP Config Table has bad signature: Mous
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 3200+ (2205.01-MHz 686-class CPU)
 Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE 
AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 1073676288 (1023 MB)
avail memory = 1036918784 (988 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: Nvidia AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.1 (no driver attached)
pci0: memory, RAM at device 0.2 (no driver attached)
pci0: memory, RAM at device 0.3 (no driver attached)
pci0: memory, RAM at device 0.4 (no driver attached)
pci0: memory, RAM at device 0.5 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xdb002000-0xdb002fff irq 22 
at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: OHCI (generic) USB controller mem 0xdb003000-0xdb003fff irq 21 
at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: OHCI (generic) USB controller on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: serial bus, USB at device 2.2 (no driver attached)
pci0: multimedia, audio at device 6.0 (no driver attached)
pcib1: ACPI PCI-PCI bridge at device 8.0 on pci0
pci1: ACPI PCI bus on pcib1

Re: My computer keeps crashing

2005-01-21 Thread cali
This sure smells like a hardware problem.
I think the problem might be due to my bios settings running the CPU to 
fast although I do not think I am overclocking it. This might explain the 
strange timing of the problem, maybe the motherboard is unstable.
If you are not explicitly overclocking, the BIOS should be smart enough to 
run the cpu at or below its rated speed.
Time to start checking the hardware. Here is what I would do. Check for 
stability after each step.
1. Wiggle  Giggle: Reseat all cables, cards and RAM. Inspect CPU cooling.
My Zalman cooler has an adjustable speed, at the moment it is on low, so I 
can turn this up to test it, I can also take off the side panel and so on. 
If I can get the CPU temperature monitor working then I can find out 
whereabouts it becomes unstable.

2. Turn off ACPI in BIOS. (someone correct me if I am crazy, I recall ACPI 
being problematic) Look for other weirdo BIOS settings.
I don't think it is ACPI, I've had ACPI problems before but they always 
occurred only when booting from a freebsd installation. But I don't know 
enough about ACPI in FreeBSD to rule it out however.

3. Underclock CPU. (I did once get a bum CPU that was not stable at its 
rated speed and produced similar problems. Unlikely, but possible.)
As mentioned in another reply, I ran the program on underclocked CPU last 
night and it is still running whereas with the CPU on its rated speed 
crashing was happening quite fast. I think the temperature hypothesis seems 
intuitively most reasonable and is the one I will test first. Of course, 
running the CPU at it's rated speed will presumably draw more voltage, this 
could then have compilated affects on other components, or could cause a PSU 
problem to manifest, I don't know but it seems like a reasonable hypothesis.

4. Swap in new RAM or run memtest86
5. Get rid of all peripherals, re-attach one at a time if this clears it 
up

6. Swap in new power supply (with that nice Antec this is unlikely... but 
not impossible... and a bad PSU can cause all KINDS of weirdness.)
I'm going to try temperature first, but if that doesn't work, I'll try as 
many of these other things as I can.

Thanks
cali 

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


Re: My computer keeps crashing

2005-01-21 Thread cali
Sometimes when I run CPU intensive applications  the system will
crash at seemingly unpredictable times, I have to hard reset the  machine 
as it
is completely unresponsive, I was running an experiment in console  mode 
and it showed me the kernel panic:

With those uptimes I would say your heat sink and fan(hsf) is to blame. 
The old idea about amds running hot is kind of crap, any cpu will run  hot 
if not installed correctly or overclocked.  You got that white  stuff 
between the cpu and hsf?
I think I recall putting the white stuff in.
I checked your hsf on the net and in silent mode it does not support  your 
cpu speed, though it does in normal higher speed fan mode.  If you  have 
the fan make sure to keep it in normal mode or it may bake your  cpu! 
http://www.zalman.co.kr/eng/product/view.asp?idx=33code=005009010
Damn! I should have researched this properly when I bought the heatsink. 
Thanks for that information, I'm lucky that you noticed this.

Try this command several times after you boot.  Then after you boot  your 
box do it while under load.

sysctl -a|grep thermal

That will tell you your cpu temp, you'll need acpi on.  If you did not  put 
the hsf on right it will go up and you get problems like after 5  minutes 
or less.  I set my bios heat alarm to go off and set a shutdown  temp too. 
You might want to check that stuff out in your bios too.  Go  to amd.com 
and get that pdf on how to install the hsf, I made a mistake  a month ago 
when I was switching out cpus and that was my problem.

Everything else looks good, but do you have some case fans?
OK, I think I had better invest in some, or some better cooling.
I moved a  120mm fan over near my cpu and my 100% load temp while folding 
droped  about 10C.  I am overclocked and it was maxing out at about 58C or 
less.  Now it hardly hits 50C, usaully 48C but it might go down to 45C  if 
it is cool in my room.  I wonder how it will do in the summer? :)
I used that sysctl command you suggested above and it says 55C-55.5C -- this 
is for when running underclocked.

I rebooted, put the CPU speed back to normal, left the fan on its 
dangerously low setting and then ran the program again, whilst checking the 
cpu temperature every second with:

while [ 1 ]; do sysctl -a | grep thermal; sleep 1; done
I observed the CPU temperature rise from a base of 50C at an approximately 
steady rate (I should have taken periodic readings too then I could have 
made a graph or something). It slowed down at about 57C (having took about 
3-4 minutes to get there) or so but carried on rising, 
58C...58.5C...59C...59.5C... kernel trap 11m33s (unfortunately I was setting 
up another process to run on another console so I never saw the final 
temperature).

This was with CPU thermal throttling enabled and set to 50% in my bios 
(although I'm not sure at which temperature it enables as it doesn't seem to 
say)

I turned the fan up to max, rebooted and ran the program again. The 
temperature seemed to stabilise around 52C.

Given this information I think it is highly likely that the temperature 
hypothesis is correct, and the reason for the crashing.

Thanks
cali 

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


Re: 1st degree verbal assault and battery hate crime at Applebees

2005-01-21 Thread cali
This is the wierdest spam I have ever seen, maybe it is to solicit responses 
to harvest email addresses for a particular kind of targeted advertising. Or 
maybe a ludicrous attempt at trolling.

cali

Hello [EMAIL PROTECTED],
Happy New Year to you.
Well, I ended 2004 by being called a nigger several times by a white 
terrorist in APPLEBEES on December 30.  The reason I'm posting you is to 
seek your advice as to what rights I have in a violent verbal assault, 
and hate crime situation like this. What would you do if something this 
devilish had happened to you?

This is the second time this has happened to me in the same Applebees. The 
first time was about five years ago when I overheard a professional person 
using the N word to a white woman friend of his as they sat across from 
me at the bar.

She was telling him that she had found a new boyfriend and thought that 
things were going to work out well for her. The fellow looked at her and 
then said I hope he's not a nigger I was astounded that he had said 
something so lowlife in a full club with about 20 people sitting at the 
bar and the rest of the tables nearby full as well.

The bartender had been living with an African American male for over five 
years at the time. She looked astounded, and turned to me as if she 
couldn't believe her ears. I turned to the white people on each side of 
me, and asked them if they were going to say something to the person. They 
are always saying that they are not prejudiced. so this would have been 
the perfect time for some of them to back up their words with action.

They did nothing! They just looked at each other in that silly HUH Head 
look that they utilize when they run into an idea that they had never 
considered before on the subject of race. The manager did come out and ask 
him to leave. He did so and to my knowledge he has never gone back. I have 
seen the fellow in other clubs where the clientele is more receptive to 
his modo di pensare. I did nothing official that time. This time I'm 
trying to determine what the best way to proceed would be. Here are most 
of the facts as to what occurred last Thursday, the 30th of December 2004.

I went out to Applebees here in Cape Girardeau, Missouri around 2100. I 
sat on the north end of the bar next to several young white women. One of 
them was named VanMater from the Buick family here. I talked to them 
about various subjects for about 30 minutes and bought them some 
Frangelico. They had never tasted it so I thought I would let them sample 
something different since they were kind enough to talk to me a 58 year 
young African American. Most whites won't.

Then they left and a friend of mine from Birmingham Alabama called me on 
his cell phone. We talked for about fifteen minutes about the state of the 
world and how savage, and inhumane so many Americans are in their thinking 
when it comes to how they view others around the world.

Out of the corner of my right eye, I notice the young blond white woman to 
my right pushing a picture of a cute bi-racial child towards me. I picked 
it up and looked at it. Then I complimented the female on having a little 
girl that was so cute. After a few more minutes of talking to my friend, I 
hung up and started talking to the young blonde white woman, her female 
friend next to her, and her Canadian boyfriend to her right.

The blonde's name was what it is. She said she was a hair stylist at a 
salon here.  I was telling them about how my cousin owned the Harlem 
Globetrotter basketball team, and how there had been a couple of streets 
named after my mothers family around here. I was basically giving them a 
quick history on some black folks who were highly respected in this area.

After about twenty minutes or so this 40ish white ball cap wearing, truck 
driver looking white fellow across the bar asked me when we had graduated 
from high school. I told him when I had graduated, and then N told him 
when she graduated. The white supremacist then said One of you is right, 
and one of you is a fucking nigger

I picked up my cell phone and called the police as the Applebees manager 
was not on the scene. I had no idea what that piece of white trash would 
do next. After a few minutes Ed, the manager came over to the WS, and told 
him that he had to leave the club.

The fellow got up and slowly walked toward the door selling wolf tickets 
all the way. The policeman arrived and he stood in the vestibule and 
talked to the manager of Applebees. He never came over and asked me 
anything; nor did he advise me of my rights in that situation.

I'm one of the charter members of Applebees here. I have been going there 
since about six months after they opened in 1991, and I've never had a 
serious incident like this one

So I went back to talking to the three people. Now of course we were 
talking about the white supremacist and his actions. One white 20ish 
female caught my eye, grinned and gave me the thumbs up sign

My computer keeps crashing

2005-01-20 Thread cali
, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:40:f4:7b:ac:f4
fwohci0: VIA Fire II (VT6306) port 0xc400-0xc47f mem 0xda001000-0xda0017ff 
irq 18 at device 7.0 on pci1
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:6b:29
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:11:06:00:6b:29
fwe0: Ethernet address: 02:11:06:00:6b:29
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: nVidia nForce2 UDMA133 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
nvidia0: GeForce FX 5200 mem 0xd000-0xd7ff,0xd800-0xd8ff 
irq 19 at device 0.0 on pci2
nvidia0: [GIANT-LOCKED]
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: Standard parallel printer port port 0x778-0x77b,0x378-0x37f irq 7 on 
acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: ISA Option ROM at iomem 0xd-0xd3fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 2205011080 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 58644MB IC35L060AVER07-0/ER6OA46A [119150/16/63] at ata0-master 
UDMA100
ad1: 152627MB WDC WD1600JB-00EVA0/15.05R15 [310101/16/63] at ata0-slave 
UDMA100
acd0: DVDR ASUS DVD-RW DRW-0402P/1.10 at ata1-master UDMA33
Mounting root from ufs:/dev/ad1s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /proc was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted

Does anyone have any idea why this crashing could be happening? Could it 
possibly be the bios settings?

I don't think it has anything to do with the program I am running as it does 
nothing out of the ordinary, I could send the program source code if 
necessary?

If it is the bios settings or an unstable motherboard, then how on earth 
does this manifest as a kernel panic? This really interests me.

regards
cali 

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